Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Device and method for processing charging requests

A technology of charging request and charging request message, which is applied in the computer field and can solve the problems of charging request processing conflict, timeout, and prolongation of charging request processing time.

Active Publication Date: 2016-07-20
HUAWEI TECH CO LTD
View PDF3 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] In the process of maintaining the database of shared accounts, the billing system needs to write to the database in order to maintain the ACID characteristics of the database (atomicity or indivisibility Atomicity, consistency Consistency, isolation or independence Isolation and persistence Durability) Locking, due to the non-parallel processing feature of the lock, multiple billing requests cannot be processed in parallel, and need to be processed one by one online, so there will be a delay in processing the billing request
Especially when it is necessary to perform high-concurrency reservations or chargebacks on the shared account database, due to the large number of reservation or chargeback requests that need to be processed, the processing response delay is long or timed out, which leads to the failure of the call connection on the core network side to be established Or the established communication connection is interrupted. For the end user, the direct experience is that the phone cannot be connected or the call is interrupted during the call.
[0010] To sum up, when the existing technology is used to process the billing processing request of the shared account and maintain the database of the shared account, since a large number of concurrent billing processing requests cannot be processed in parallel, there will be conflicts in the billing request processing, and the billing request long processing time

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Device and method for processing charging requests
  • Device and method for processing charging requests
  • Device and method for processing charging requests

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0073] Such as Figure 5 As shown, the embodiment of the present invention provides an apparatus for processing a charging request, including:

[0074] A request receiving unit 51, configured to receive at least two charging request messages from the same shared account, where the charging request messages include a charging request type and a specific value corresponding to the charging request type;

[0075] The reservation group selection unit 52 is configured to, for any charging request message received by the request receiving unit 51, select one of the book reservation quota cache tables according to the corresponding relationship between the charging request type and the priority of the reservation group A reserved group, the book reserved quota cache table includes quota configurations of multiple reserved groups corresponding to the same shared account;

[0076] The calculation unit 53 is configured to determine the calculation type according to the charging request...

Embodiment 2

[0092] Corresponding to the device described in Embodiment 1, such as Figure 6 As shown, the embodiment of the present invention provides a method for processing a charging request, including:

[0093] S61. Receive at least two charging request messages from the same shared account, where the charging request messages include a specific value corresponding to the charging request type corresponding to the charging request type;

[0094] S62. For any charging request message received, according to the corresponding relationship between the charging request type and the priority of the reserved group, select a reserved group in the account book reserved quota cache table, and the account book reserved quota cache table Including the quota configuration of multiple reservation groups corresponding to the same shared account;

[0095] S63. Determine the calculation type according to the charging request type, and perform calculation on the current value and the specific value of...

example 1

[0123] Example 1: The billing request type is deduction

[0124] Such as Figure 8 As shown, when the billing request type is deduction and the specific value is 10, select the high-priority reservation group G03 in the book reservation quota cache table, and in the reservation quota cache table, the deduction items of the reservation group G03 Add 10 to the current value of , and subtract 10 from the current value of the available reservation quota of reservation group G03.

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a device and method for processing charging requests. The device and the method are used for parallelly processing massive concurrent charging processing requests from a same shared account and reducing the processing delay of the charging requests. The method comprises following steps of receiving at least two charging request messages from the same shared account, wherein the charging request messages comprise charging request types and specific numerical values corresponding charging request types; for any one received charging request message, according to corresponding relationships of the charging request types and priorities of reserved groups, selecting a reserved group from an account book reserved quota cache table; determining an operation type according to the charging request type; according to the determined operation type, operating the quota configuration current value and the specific numeral value of the selected reserved group in the account book reserved quota cache table, thus obtaining an operation result; and according to the operation result, adjusting the quota configuration current value of the selected reserved group in the reserved quota cache table of the account book.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a device and method for processing billing requests. Background technique [0002] A shared account means that many users share the resources of the same account. For example, in the IoT (Machine to Machine, M2M) scenario, a shared account covers many Subscriber Identity Module (SIM) cards, and the shared account pays for all SIM cards uniformly. All SIM cards share the resources and balance of the shared account, such shared accounts are Phone 800 and Phone 400, for example. [0003] in such as figure 1 In the charging system of the shared account shown, when the balance management function (AccountBalanceManagementFunction, ABMF) module receives a plurality of charging request messages sent by the online charging function (OnlineChargingFunctionOCF) module through the online charging system interface Rc, the ABMF passes through The load balancer distributes the billing requ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): H04W4/24H04L12/14
Inventor 马恩祥
Owner HUAWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products