CN105792161A - Online charging method and system and SIM (Subscriber Identity Module) card device - Google Patents

Online charging method and system and SIM (Subscriber Identity Module) card device Download PDF

Info

Publication number
CN105792161A
CN105792161A CN201410806661.3A CN201410806661A CN105792161A CN 105792161 A CN105792161 A CN 105792161A CN 201410806661 A CN201410806661 A CN 201410806661A CN 105792161 A CN105792161 A CN 105792161A
Authority
CN
China
Prior art keywords
information
sim
service
quota
network equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410806661.3A
Other languages
Chinese (zh)
Inventor
曾平
曾一平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201410806661.3A priority Critical patent/CN105792161A/en
Publication of CN105792161A publication Critical patent/CN105792161A/en
Pending legal-status Critical Current

Links

Landscapes

  • Meter Arrangements (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses an online charging method. The method comprises that after a service use request initiated by a mobile terminal is received, an SIM card sends corresponding quota information to a network device; the network device controls the subscriber corresponding to the mobile terminal to carry out service use according to the quota information; after the service use finish notice of the subscriber is received, the SIM card notices the network device that the service use is finished; and the SIM card updates the charging information of the subscriber according to the service use information. The invention also discloses an SIM card device and an online charging system.

Description

A kind of online charging method, system and SIM equipment
Technical field
The present invention relates to charging field, particularly relate to a kind of online charging method, system and client identification module (SIM, SubscriberIdentityModule) card apparatus.
Background technology
At present in the online charging process under speech business flow process, point-to-point short message service flow process, data traffic operation flow, mobile terminal is when application business every time, the network equipment is required for sending quota application or accounting request to charge system, and charge system is required for when receiving request user carries out the operations such as remaining sum inspection, wholesale price, allocation of quota every time, what not only substantially increase between the network equipment and charge system is mutual, and substantially increases the pressure of charge system.
In addition, along with the development of Internet of Things brings again a large amount of mobile terminal, 1,000,000,000, even existing Online Charging System will be brought great impact by the mobile terminal of 10,000,000,000, hundred billion.
Summary of the invention
For solving the technical problem of existing existence, the embodiment of the present invention provides a kind of online charging method, system and SIM equipment.
Embodiments provide a kind of online charging method, be applied to SIM, including:
After receiving the service use request that mobile terminal is initiated, corresponding quota information is sent to the network equipment, so that the user that the described network equipment controls described mobile terminal corresponding according to described quota information services;
After receiving the notice that described customer service has used, notify that described network device services has used;
After receiving the service use information that the described network equipment returns, according to described service use information, update the charge information of described user.
In such scheme, described corresponding quota information is sent to the network equipment before, described method also includes:
Accounting-related information according to described user, carries out inverse process, obtains described quota information.
In such scheme, the described accounting-related information according to described user, carry out inverse process, obtain described quota information, including:
The traffic ID of request correspondence is used, it is determined that service priority according to described service;
According to the service priority determined, search corresponding order relations at self;
According to the accounting-related information that order relations is corresponding, it is determined that described quota information.
In such scheme, the described accounting-related information according to described user, carry out inverse process, obtain described quota information, including:
The traffic ID of request correspondence is used, it is determined that service priority according to described service;
According to the service priority determined, do not find the order relations of correspondence, and determine when the traffic ID of described correspondence exists corresponding standard rate, according to standard rate, it is determined that described quota information.
In such scheme, described update the charge information of described user according to described service use information, including:
According to described service use information, deduction is corresponding reserves quota and/or remaining sum;And update the quota in the described customer charging information self preserved and/or balance amount information.
In such scheme, described method also includes:
Receive charge system when being changed by the charge information for described user that the network equipment is initiated, update the accounting-related information of described user self preserved.
In such scheme, described SIM utilizes the key preserved, and adopts safety method and the described network equipment to interact.
The embodiment of the present invention additionally provides a kind of online charging method, including:
After receiving the service use request that mobile terminal is initiated, corresponding quota information is sent to the network equipment by SIM;
The described network equipment controls user corresponding to described mobile terminal according to described quota information and carries out service use;
After receiving the notice that described customer service has used, described SIM notifies that described network device services has used;
Described SIM, according to described service use information, updates the charge information of described user.
In such scheme, before corresponding quota information is sent to the network equipment by described SIM, described method also includes:
The described SIM accounting-related information according to described user, carries out inverse process, obtains described quota information.
In such scheme, the described accounting-related information according to described user, carry out inverse process, obtain described quota information, including:
The traffic ID of request correspondence is used, it is determined that service priority according to described service;
According to the service priority determined, search corresponding order relations at self;
According to the accounting-related information that order relations is corresponding, it is determined that described quota information.
In such scheme, the described accounting-related information according to described user, carry out inverse process, obtain described quota information, including:
The traffic ID of request correspondence is used, it is determined that service priority according to described service;
According to the service priority determined, do not find the order relations of correspondence, and determine when the traffic ID of described correspondence exists corresponding standard rate, according to standard rate, it is determined that described quota information.
In such scheme, described SIM, according to described service use information, updates the charge information of described user, including:
Described SIM is according to described service use information, and deduction is corresponding reserves quota and/or remaining sum;
Update the quota in described customer charging information and/or balance amount information.
In such scheme, described method also includes:
The charge information that charge system initiates described user by the described network equipment to described SIM changes;
Described SIM changes according to described charge information, updates the accounting-related information of the described user self preserved.
In such scheme, described SIM and the described network equipment utilize the key of the described user each preserved, and adopt safety method to interact.
The embodiment of the present invention provides again a kind of SIM equipment, including: receiver module, sending module and online charging module;Wherein,
Described receiver module, the service initiated for receiving mobile terminal uses request;And receive the notice that described customer service has used;And accept the service use information that the described network equipment returns;
Described sending module, corresponding quota information is sent to the network equipment after using request by the service initiated for receiving mobile terminal, so that the user that the described network equipment controls described mobile terminal corresponding according to described quota information services;And after receiving the notice that described customer service has used, notify that described network device services has used;
Described online charging module, after receiving the service use information that the described network equipment returns, according to described service use information, updates the charge information of described user.
In such scheme, described online charging module, before being additionally operable to corresponding quota information is sent to the network equipment, the accounting-related information according to described user, carry out inverse process, obtain described quota information.
In such scheme, described online charging module also includes: billing logic module, for the accounting-related information according to described user, carries out inverse process, obtains described quota information.
In such scheme, described online charging module also includes: remaining sum calculates logic module, and for according to described service use information, deduction is corresponding reserves quota and/or remaining sum;And update the quota in described customer charging information and/or balance amount information.
In such scheme, described online charging module, also include: memory module and information change module;Wherein,
Described information changes module, for receive charge system changed by the charge information for described user that the network equipment is initiated time, update the accounting-related information of described user of described memory module preservation.
In such scheme, described memory module, also storage has the key of described user;Described online charging module utilizes the key of described user so that described SIM equipment and the described network equipment adopt safety method to interact.
The embodiment of the present invention additionally provides a kind of line charge system, including: SIM and the network equipment;Wherein,
Described SIM, corresponding quota information is sent to the described network equipment after using request by the service initiated for receiving mobile terminal;After receiving the notice that described customer service has used, notify that described network device services has used;And after receiving the service use information that the described network equipment returns, according to described service use information, update the charge information of described user;
The described network equipment, carries out service use for controlling user corresponding to described mobile terminal according to described quota information;And after the described network device services receiving described SIM notice has used, return service use information to described SIM.
In such scheme, described SIM, before being additionally operable to corresponding quota information is sent to the network equipment, the accounting-related information according to described user, carry out inverse process, obtain described quota information.
In such scheme, described system also includes: charge system, changes for the charge information initiating described user to described SIM by the described network equipment;
Correspondingly, described SIM, it is additionally operable to change according to described charge information, updates the accounting-related information of the described user self preserved.
In such scheme, described SIM and the described network equipment utilize the key of the described user each preserved, and adopt safety method to interact.
Online charging method, system and the SIM equipment that the embodiment of the present invention provides, after receiving the service use request that mobile terminal is initiated, corresponding quota information is sent to the network equipment by SIM;The described network equipment controls user corresponding to described mobile terminal according to described quota information and carries out service use;After receiving the notice that described customer service has used, described SIM notifies that described network device services has used;After receiving the service use information that the described network equipment returns, described SIM is according to described service use information, update the charge information of described user, online charging is provided the user by SIM, so, that can greatly reduce between the network equipment and charge system is mutual, thus effectively alleviating the load of charge system.
Accompanying drawing explanation
In accompanying drawing (it is not necessarily drawn to scale), similar accompanying drawing labelling can at parts similar described in different views.The similar reference numerals with different letter suffix can represent the different examples of similar component.Accompanying drawing generally shows each embodiment discussed herein by way of example and not limitation.
Fig. 1 is the charging process schematic diagram in correlation technique in speech business flow process;
Fig. 2 is the charging process schematic diagram in correlation technique in point-to-point short message service flow process;
Fig. 3 is the charging process schematic diagram in correlation technique in data traffic flows;
Fig. 4 is one one kinds of online charging method flow schematic diagrams of the embodiment of the present invention;
Fig. 5 is embodiment of the present invention online charging modular structure schematic diagram;
Fig. 6 is that the inverse logic in embodiment of the present invention billing logic carries out inverse handling process schematic diagram;
Fig. 7 is the another kind of online charging method flow schematic diagram of the embodiment of the present invention one;
Fig. 8 is the embodiment of the present invention two SIM device structure schematic diagram;
Fig. 9 is the embodiment of the present invention two Online Charging System structural representation.
Detailed description of the invention
Below in conjunction with drawings and Examples, the present invention is described in further detail again.
Before the scheme introducing the embodiment of the present invention, first learn about current online charging flow process.Online charging process can be embodied in speech business flow process, point-to-point short message service flow process and data traffic operation flow.
As it is shown in figure 1, the charging process in speech business flow process, it is possible to comprise the following steps:
Step 101: user uses voice service, initiates service to mobile switching centre (MSC, MobileSwitchingCenter) and uses request;
After step 102:MSC receives request, according to attaching position register (HLR, HomeLocationRegister) CAMEL-Subscription-Information, initiates service authentication request for controlled users to service control point (SCP, ServiceControlPoint);
After step 103:SCP receives request, initiate Diameter diameter credit control (DCC, DiameterCreditControl) charging authentication request to gathering pretreatment system;
Step 104: gather pretreatment system and carry out protocol adaptation process, initiate charging authentication request according to routing iinformation to Online Charging System simultaneously;
Step 105: after Online Charging System receives request, according to subscriber data, product subscription information, product information etc., completes inverse and processes logic.
Step 106: Online Charging System initiates remaining sum reservation request to real-time balance computing system;
Step 107: after real-time balance computing system receives request, completes remaining sum reservation process logic;
Step 108: real-time balance computing system returns remaining sum reservation responses to Online Charging System;
Step 109: after Online Charging System receives response, comprises, to gathering pretreatment system return, the response message that can use business amount;
Step 110: the response message of Online Charging System is converted to DCC protocol responses message and is transmitted to SCP after receiving response by collection pretreatment system;
After step 111:SCP receives response message, control network element according to response message and continue or refuse call;
Step 112: in user's communication process, SCP and gather in pretreatment system between online acquisition point temporally sheet it may happen that repeatedly Update charging authentication request, response mutual;
Step 113: user's on-hook or user account balance depletion, MSC reports complete service to use message to SCP;
After step 114:SCP receives message, initiate final (Terminal) accounting request to gathering pretreatment system, report complete service to use message simultaneously;
Step 115: after collection pretreatment system receives request, reports complete service to use record according to routing iinformation to Online Charging System, initiates charging ending request, and discharges the Session Resources of SCP and switch immediately;
Step 116:MSC produces the service of user and uses record;
Step 117: Online Charging System uses the actually used information in record to complete just to calculate process logic according to user's complete service;
Step 118: Online Charging System initiates remaining sum freeze request to real-time balance computing system;
Step 119: real-time balance computing system completes to cancel remaining sum and reserves, and simultaneously completes remaining sum and freezes to process logic;
Step 120: real-time balance computing system returns response message to Online Charging System;
Step 121: Online Charging System returns response message to gathering pretreatment system;Gather pretreatment system and return response message to SCP;SCP returns response message to MSC;
Step 122: it is single in detail that Online Charging System is simultaneously generated online charging speech business, it is provided that checks to real-time ticket audit system;
Step 123: gather pretreatment system and gather original service log file, the pretreatment operation such as row format conversion, error-detection error-correction of going forward side by side from MSC, and be supplied to off-line accounting system process;
Step 124: the message registration carrying out online charging process, according to providing the correlated identities such as charge information (FCI, FurnishChargingInformation), is checked that wholesale price processes by off-line accounting system.
Here, offline charging is checked that the result of wholesale price and online charging ticket are compared by real-time ticket audit system, generates accounting checking form for checking.
As in figure 2 it is shown, the charging process in point-to-point short message service flow process, it is possible to comprise the following steps:
Step 201: user uses point-to-point short message service, initiates business to SMS service center (SMSC, ShortMessageServiceCenter)/Interworking gateway and uses request;
Step 202:SMSC/ Interworking gateway is to gathering initiation DCC charging authentication request in pretreatment system;
Step 203: gather pretreatment system and carry out protocol adaptation process, initiate charging authentication request according to routing iinformation to Online Charging System simultaneously;
Step 204: Online Charging System is initiated remaining sum authentication to real-time balance computing system, reduced request;
Step 205: real-time balance computing system completes the process logic that online charging is reduced;
Step 206: real-time balance computing system returns remaining sum to Online Charging System and reduces result;
Step 207: it is single in detail that Online Charging System generates point-to-point note online charging;
Step 208: online charging returns charging authentication responses message to gathering pretreatment system;
Step 209: gather pretreatment system and the response message of online charging is converted to DCC protocol responses message, and be transmitted to SMSC/ Interworking gateway;
Step 210: user sends point-to-point short message service.
Step 211: if short message sending success, the business that generates uses ticket writing;
Step 212: for note between net and international note, Interworking gateway can generate the state report of user's short message sending, is triggered to collection pretreatment system;Gather pretreatment system and transmission state success report is sent to Online Charging System;Online Charging System carries out user according to state success report and sends the coupling of record of deducting fees, and then initiates to deduct fees confirmation request to real-time balance computing system;
Step 213:SMSC/ Interworking gateway generates the business with On-line Control mark and uses record;Gather pretreatment system and gather original service log file from SMSC/ Interworking gateway, and the business with On-line Control mark of rejecting uses record;
Step 214: if short message sending failure, SMSC/ Interworking gateway can generate the state report of user's short message sending, is triggered to collection pretreatment system, but will not generate the successful short message sending record that can be used for charging;Gather pretreatment system and transmission state failure reporting is sent to Online Charging System;After online charging returns response, carry out user according to state failure reporting and send the coupling of record of deducting fees, then initiate extra money request to real-time balance computing system, and it is single in detail to generate online charging extra money.
As it is shown on figure 3, the charging process in data traffic flows, it is possible to comprise the following steps:
Step 301: user uses data traffic business, initiates service to GPRS serving GPRS support node (SGSN, ServingGPRSSupportNode) and uses request.
Step 302:SGSN, according to the HLR CAMEL-Subscription-Information downloaded, initiates service authentication request for online charging user to GGSN (GGSN, GatewayGPRSSupportingNode);
Step 303:GGSN initiates DCC charging authentication request to gathering online acquisition point in pretreatment system;
Here, GGSN can resolve and identify the identification information Rating-Group of the business that user uses, and this information is included in gathering in credit control request (CCR, the CreditControlRequest) message that in pretreatment system, online acquisition point sends.If GGSN identifies that this business tine is free, then do not send pre-payment amount authentication to online acquisition point.
Step 304: gather pretreatment system and carry out protocol adaptation process, initiate initial credit line application according to routing iinformation to Online Charging System simultaneously.
Step 305: Online Charging System, according to subscriber data, product subscription information, product information etc., completes inverse and processes logic;
Step 306: Online Charging System initiates remaining sum reservation request to real-time balance computing system;
Step 307: real-time balance computing system completes remaining sum reservation process logic;
Step 308: real-time balance computing system returns remaining sum reservation responses to Online Charging System;
Step 309: Online Charging System comprises, to gathering pretreatment system return, the response message that can use business amount;
Step 310: gather pretreatment system and the response message of Online Charging System is converted to DCC protocol responses message and is transmitted to GGSN;
Step 311:GGSN controls network element according to response message and continues or refuse online;
Step 312: user uses in business procedure, between GGSN and the online acquisition point gathered in pretreatment system it may happen that repeatedly Update charging authentication request, response mutual (according to time, flow burst);
Step 313: after service use completes, SGSN reports service use information to GGSN;
Step 314:GGSN initiates Terminal accounting request to gathering pretreatment system, and reports complete service to use information;
Step 315, collection pretreatment system are initiated to terminate accounting request to Online Charging System, and are reported complete session information, and discharge the Session Resources of GGSN and switch immediately.
Step 316:GGSN produces the service of user and uses record.
Step 317: Online Charging System is just calculated according to the actually used amount in complete service use information;
Step 318: Online Charging System is initiated reserved cancellation of remaining sum to real-time balance computing system and reduced request with remaining sum;
Step 319: real-time balance computing system completes the cancellation that remaining sum is reserved, simultaneously completes remaining sum and reduces process logic.
Step 320: real-time balance computing system returns response message to Online Charging System;
Step 321: Online Charging System returns response message, releasing session to gathering pretreatment system;
Step 322: it is single in detail that Online Charging System is simultaneously generated online charging data traffic business, using the foundation as user's QueryTicket, follow-up account relevant treatment;
Step 323: gather pretreatment system and gather original service log file, the pretreatment operation such as row format conversion, error-detection error-correction of going forward side by side from GGSN, and be supplied to off-line accounting system process;
Step 324: the message registration carrying out online charging process, according to correlated identities such as FCI, is checked that wholesale price processes by off-line accounting system.
Can be seen that in from the description above, in the online charging process under speech business flow process, point-to-point short message service flow process, data traffic operation flow, mobile terminal is when application business every time, the network equipment is required for sending quota application or accounting request to charge system, and charge system is required for when receiving request user carries out the operations such as remaining sum inspection, wholesale price, allocation of quota every time, what not only substantially increase between the network equipment and charge system is mutual, and substantially increases the pressure of charge system.
Based on this, in various embodiments of the present invention: after receiving the service use request that mobile terminal is initiated, corresponding quota information is sent to the network equipment by SIM;The described network equipment controls user corresponding to described mobile terminal according to described quota information and carries out service use;After receiving the notice that described customer service has used, described SIM notifies that described network device services has used;After receiving the service use information that the described network equipment returns, described SIM, according to described service use information, updates the charge information of described user.
Embodiment one
The present embodiment provides a kind of online charging method, is applied to SIM, and as shown in Figure 4, the method comprises the following steps:
Step 401: after receiving the service use request that mobile terminal is initiated, corresponding quota information is sent to the network equipment, so that the user that the described network equipment controls described mobile terminal corresponding according to described quota information services;
Here, described corresponding quota information is sent to the network equipment before, the method can also include:
Accounting-related information according to described user, carries out inverse process, obtains described quota information.During practical application, it is possible to set up online charging module in SIM, online charging module carry out inverse process.
Wherein, described accounting-related information may include that ordering information, rate parameter, favor information etc..
During practical application, the ordering information of storage can be as shown in table 1:
Table 1
Storage rate parameter, favor information can be as shown in table 2:
Table 2
The described accounting-related information according to described user, carries out inverse process, obtains described quota information and specifically includes:
The traffic ID of request correspondence is used, it is determined that service priority according to described service;
According to the service priority determined, search corresponding order relations at self;
According to the accounting-related information that order relations is corresponding, it is determined that described quota information.
Wherein, when according to the service priority determined, not finding the order relations of correspondence, and determine when the traffic ID of described correspondence exists corresponding standard rate, according to standard rate, it is determined that described quota information.Correspondingly, when the traffic ID determining described correspondence is absent from the standard rate of correspondence, refuses described service and use request.
During practical application, as it is shown in figure 5, described online charging module may include that billing logic 51, information change module 52, remaining sum calculates logic 53 and memory module 54;
Wherein, memory module 54 storage has ordering information, rate parameter, favor information and balance amount information etc..
Inverse process can be carried out by the inverse logic in billing logic in described online charging module, specifically, as shown in Figure 6, comprise the following steps:
Step 601: use the traffic ID of request correspondence according to described service, searches order relations ID corresponding to service priority N;
Here, during practical application, first begin look for from the highest service priority, and perform following steps.
Step 602: judge whether the order relations of correspondence, if it is present perform step 603, if it does not exist, then perform step 606;
Step 603: according to corresponding order relations, it is judged that whether the quota that described service uses request corresponding is enough, if enough, then performs step 604, otherwise, performs step 605;
Step 604: according to the corresponding tariff information of order relations, favor information, uses the reserved quota information of request for described service, performs step 609 afterwards;
Step 605: use the traffic ID of request correspondence according to described service, it is determined that when also having other service priority, perform step 602;
Step 606: judge whether the traffic ID that described service uses request corresponding exists standard rate, if it is, perform step 607, otherwise, performs step 608;
Step 607: according to standard rate, initiates the reserved flow process of remaining sum, obtains described quota information, perform step 609 afterwards;
Step 608: refuse described service and use request;
Step 609: return reserved result.
Step 402: after receiving the notice that described customer service has used, notifies that described network device services has used;
Step 403: after receiving the service use information that the described network equipment returns, according to described service use information, update the charge information of described user.
Here, correspondingly, it is possible to by described online charging module according to described service use information, update the charge information of described user.
Specifically, described remaining sum calculating the just calculation logic in logic 53 according to described service use information, deduction is corresponding reserves quota and/or remaining sum;And update the quota in described customer charging information and/or balance amount information.
The method can also include: receives charge system when being changed by the charge information for described user that the network equipment is initiated, updates the accounting-related information of described user self preserved.
And after renewal completes, it is possible to by the described network equipment to described charge system return information Notification of Changes.
It should be understood that during practical application, the key of described user preserved by described SIM, it is possible to use the key of described user so that described SIM and the described network equipment adopt safety method to interact.Wherein, when utilizing key to be encrypted, the algorithm of employing can be RSA Algorithm etc..
The present embodiment also provides for a kind of online charging method, as it is shown in fig. 7, the method comprises the following steps:
Step 701: after receiving the service use request that mobile terminal is initiated, corresponding quota information is sent to the network equipment by SIM;
Here, before corresponding quota information is sent to the network equipment by described SIM, the method can also include:
The described SIM accounting-related information according to described user, carries out inverse process, obtains described quota information.During practical application, it is possible to set up online charging module in SIM, online charging module carry out inverse process.
Wherein, described accounting-related information may include that ordering information, rate parameter, favor information etc..During practical application, the ordering information of storage can be as shown in table 1.Correspondingly, the rate parameter of storage, favor information can be as shown in table 2.
The described accounting-related information according to described user, carries out inverse process, obtains described quota information and specifically includes:
The traffic ID of request correspondence is used, it is determined that service priority according to described service;
According to the service priority determined, search corresponding order relations at self;
According to the accounting-related information that order relations is corresponding, it is determined that described quota information.
Wherein, when according to the service priority determined, not finding the order relations of correspondence, and determine when the traffic ID of described correspondence exists corresponding standard rate, according to standard rate, it is determined that described quota information.Correspondingly, when the traffic ID determining described correspondence is absent from the standard rate of correspondence, refuses described service and use request.
During practical application, it is possible to carried out inverse process by the inverse logic in billing logic in described online charging module, specifically, as shown in Figure 6, comprise the following steps:
Step 601: use the traffic ID of request correspondence according to described service, searches order relations ID corresponding to service priority N;
Here, during practical application, first begin look for from the highest service priority, and perform following steps.
Step 602: judge whether the order relations of correspondence, if it is present perform step 603, if it does not exist, then perform step 606;
Step 603: according to corresponding order relations, it is judged that whether the quota that described service uses request corresponding is enough, if enough, then performs step 604, otherwise, performs step 605;
Step 604: according to the corresponding tariff information of order relations, favor information, uses the reserved quota information of request for described service, performs step 609 afterwards;
Step 605: use the traffic ID of request correspondence according to described service, it is determined that when also having other service priority, perform step 602;
Step 606: judge whether the traffic ID that described service uses request corresponding exists standard rate, if it is, perform step 607, otherwise, performs step 608;
Step 607: according to standard rate, initiates the reserved flow process of remaining sum, obtains described quota information;
Step 608: refuse described service and use request;
Step 609: return reserved result.
Step 702: the described network equipment controls user corresponding to described mobile terminal according to described quota information and carries out service use;
Step 703: after receiving the notice that described customer service has used, described SIM notifies that described network device services has used;
Step 704: after receiving the service use information that the described network equipment returns, described SIM, according to described service use information, updates the charge information of described user.
Here, correspondingly, by described online charging module according to described service use information, the charge information of described user is updated.
Described SIM, according to described service use information, updates the charge information of described user, specifically includes:
According to described service use information, deduction is corresponding reserves quota and/or remaining sum;
Update the quota in described customer charging information and/or balance amount information.
The method can also include:
The charge information that charge system initiates described user by the described network equipment to described SIM changes;
Described SIM changes according to described charge information, updates the accounting-related information of the described user self preserved.
And after renewal completes, described SIM can by the described network equipment to described charge system return information Notification of Changes.
It should be understood that during practical application, the key of described user preserved by described SIM, the described network equipment preserves the key that described user is corresponding, it is possible to use the key of described user so that described SIM and the described network equipment adopt safety method to interact.Wherein, when utilizing key to be encrypted, the algorithm of employing can be RSA Algorithm etc..
During practical application, in order to ensure that the communication security between SIM and the network equipment, SIM and network side must assure that mobile terminal cannot illegally use business by means such as the communication informations that intercepts, forge between SIM and the network equipment.Client is when opening an account, and mobile operator can be written as key and the enciphering and deciphering algorithm that this user generates in SIM, to ensure secure communication between SIM and the network equipment.
The online charging method that the present embodiment provides, after receiving the service use request that mobile terminal is initiated, corresponding quota information is sent to the network equipment by SIM;The described network equipment controls user corresponding to described mobile terminal according to described quota information and carries out service use;After receiving the notice that described customer service has used, described SIM notifies that described network device services has used;After receiving the service use information that the described network equipment returns, described SIM is according to described service use information, update the charge information of described user, online charging is provided the user by SIM, so, that can greatly reduce between the network equipment and charge system is mutual, thus effectively alleviating the load of charge system.
It addition, utilize key that SIM preserves and the corresponding key that the network equipment preserves, described SIM and the described network equipment adopt safety method to interact, and so, it is ensured that the safety that information is mutual, improve Consumer's Experience.
Embodiment two
For realizing the method shown in Fig. 4, the present embodiment provides a kind of SIM equipment, and as shown in Figure 8, this SIM equipment includes: receiver module 81, sending module 82 and online charging module 83;Wherein,
Described receiver module 81, the service initiated for receiving mobile terminal uses request;And receive the notice that described customer service has used;And accept the service use information that the described network equipment returns;
Described sending module 82, corresponding quota information is sent to the network equipment after using request by the service initiated for receiving mobile terminal, so that the user that the described network equipment controls described mobile terminal corresponding according to described quota information services;And after receiving the notice that described customer service has used, notify that described network device services has used;
Described online charging module 83, after receiving the service use information that the described network equipment returns, according to described service use information, updates the charge information of described user.
Wherein, described online charging module 83, before being additionally operable to corresponding quota information is sent to the network equipment, the accounting-related information according to described user, carry out inverse process, obtain described quota information.
Wherein, described accounting-related information may include that ordering information, rate parameter, favor information etc..During practical application, the ordering information of storage can be as shown in table 1.
Storage rate parameter, favor information can be as shown in table 2.
The described accounting-related information according to described user, carries out inverse process, obtains described quota information and specifically includes:
Described online charging module 83 uses the traffic ID of request correspondence according to described service, it is determined that service priority;
Described online charging module 83, according to the service priority determined, searches corresponding order relations at self;
Described online charging module 83 is according to accounting-related information corresponding to order relations, it is determined that described quota information.
Wherein, when according to the service priority determined, not finding the order relations of correspondence, and determine that when the traffic ID of described correspondence exists corresponding standard rate, online charging module 83 is according to standard rate, it is determined that described quota information.Correspondingly, when the traffic ID determining described correspondence is absent from the standard rate of correspondence, online charging module 83 is refused described service and is used request.
During practical application, described online charging module 83 can also include: billing logic module, for the accounting-related information according to described user, carries out inverse process, obtains described quota information.Described billing logic module carries out the concrete handling process of inverse process and is referred to Fig. 6, repeats no more here.
Described online charging module 83 can also include: remaining sum calculates logic module, and for according to described service use information, deduction is corresponding reserves quota and/or remaining sum;And update the quota in described customer charging information and/or balance amount information.
Described online charging module 83, it is also possible to including: memory module and information change module;Wherein,
Described information changes module, for receive charge system changed by the charge information for described user that the network equipment is initiated time, update the accounting-related information of described user of described memory module preservation.
Described sending module 82, is additionally operable to after renewal completes, by the described network equipment to described charge system return information Notification of Changes.
It should be understood that during practical application, described memory module preserves the key of described user, and described online charging module 83 can utilize the key of described user so that described SIM equipment and the described network equipment adopt safety method to interact.Wherein, when utilizing key to be encrypted, the algorithm of employing can be RSA Algorithm etc..
During practical application, described receiver module 81 can be realized by the receiver in SIM equipment;Described sending module 82 can be realized by the transmitter in SIM equipment;Described online charging module 83, billing logic module, remaining sum calculate logic module and information change module can by the central processing unit (CPU in SIM equipment, CentralProcessingUnit), microprocessor (MCU, MicroControlUnit), digital signal processor (DSP, DigitalSignalProcessor) or programmable logic array (FPGA, Field-ProgrammableGateArray) realize;Described memory module can realize by the memorizer in useful SIM equipment.
For realizing the method shown in Fig. 7, the present embodiment additionally provides a kind of Online Charging System, as it is shown in figure 9, this system includes: SIM 91 and the network equipment 92;Wherein,
Described SIM 91, corresponding quota information is sent to the described network equipment 92 after using request by the service initiated for receiving mobile terminal;After receiving the notice that described customer service has used, notify that described network device services has used;And after receiving the service use information that the described network equipment 92 returns, according to described service use information, update the charge information of described user;
The described network equipment 92, carries out service use for controlling user corresponding to described mobile terminal according to described quota information;And after the described network device services receiving described SIM 91 notice has used, return service use information to described SIM 91.
Here, described SIM 91, before being additionally operable to corresponding quota information is sent to the network equipment, the accounting-related information according to described user, carry out inverse process, obtain described quota information.During practical application, it is possible to set up online charging module in SIM 91, online charging module carry out inverse process.
Wherein, described accounting-related information may include that ordering information, rate parameter, favor information etc..During practical application, the ordering information of storage can be as shown in table 1.Correspondingly, the rate parameter of storage, favor information can be as shown in table 2.
The described accounting-related information according to described user, carries out inverse process, obtains described quota information and specifically includes:
Described SIM 91 uses the traffic ID of request correspondence according to described service, it is determined that service priority;
Described SIM 91, according to the service priority determined, searches corresponding order relations at self;
Described SIM 91 is according to accounting-related information corresponding to order relations, it is determined that described quota information.
Wherein, when according to the service priority determined, not finding the order relations of correspondence, and determine that when the traffic ID of described correspondence exists corresponding standard rate, described SIM 91 is according to standard rate, it is determined that described quota information.Correspondingly, when the traffic ID determining described correspondence is absent from the standard rate of correspondence, described SIM 91 is refused described service and is used request.
During practical application, it is possible to carried out inverse process by the inverse logic in billing logic in described online charging module.Described billing logic module carries out the concrete handling process of inverse process and is referred to Fig. 6, repeats no more here.
Described according to described service use information, update the charge information of described user, specifically include:
Described SIM 91 is according to described service use information, and deduction is corresponding reserves quota and/or remaining sum;
Described SIM 91 updates the quota in described customer charging information and/or balance amount information.
This system can also include: charge system, changes for the charge information initiating described user to described SIM 91 by the described network equipment 92;
Correspondingly, described SIM 91, it is additionally operable to change according to described charge information, updates the accounting-related information of the described user self preserved.
Described SIM 91, it is also possible to after completing for renewal, by the described network equipment 92 to described charge system return information Notification of Changes;
Correspondingly, described charge system, it is additionally operable to receive described information change notifying.
It should be understood that during practical application, the key of described user preserved by described SIM 91, the described network equipment 92 preserves the key that described user is corresponding, it is possible to use the key of described user so that described SIM 91 and the described network equipment 92 adopt safety method to interact.Wherein, when utilizing key to be encrypted, the algorithm of employing can be RSA Algorithm etc..
During practical application, in order to ensure that the communication security between SIM and the network equipment, SIM and network side must assure that mobile terminal cannot illegally use business by means such as the communication informations that intercepts, forge between SIM and the network equipment.Client is when opening an account, and mobile operator can be written as key and the enciphering and deciphering algorithm that this user generates in SIM, to ensure secure communication between SIM and the network equipment.
The SIM equipment of the present embodiment offer and Online Charging System, after receiving the service use request that mobile terminal is initiated, corresponding quota information is sent to the network equipment by SIM;The described network equipment controls user corresponding to described mobile terminal according to described quota information and carries out service use;After receiving the notice that described customer service has used, described SIM notifies that described network device services has used;After receiving the service use information that the described network equipment returns, described SIM is according to described service use information, update the charge information of described user, online charging is provided the user by SIM, so, that can greatly reduce between the network equipment and charge system is mutual, thus effectively alleviating the load of charge system.
It addition, utilize key that SIM preserves and the corresponding key that the network equipment preserves, described SIM and the described network equipment adopt safety method to interact, and so, it is ensured that the safety that information is mutual, improve Consumer's Experience.
It should be understood that during practical application, the embodiment of the present invention one, two, difference according to application scenarios, the network equipment is different, such as: the network equipment under these several scenes differing under speech business scene, under point-to-point short message service scene, under data traffic business scenario.The network equipment concrete under different application scene is those skilled in the art's conventional techniques means, repeats no more here.
Those skilled in the art are it should be appreciated that embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt the form of hardware embodiment, software implementation or the embodiment in conjunction with software and hardware aspect.And, the present invention can adopt the form at one or more upper computer programs implemented of computer-usable storage medium (including but not limited to disk memory and optical memory etc.) wherein including computer usable program code.
The present invention is that flow chart and/or block diagram with reference to method according to embodiments of the present invention, equipment (system) and computer program describe.It should be understood that can by the combination of the flow process in each flow process in computer program instructions flowchart and/or block diagram and/or square frame and flow chart and/or block diagram and/or square frame.These computer program instructions can be provided to produce a machine to the processor of general purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device so that the instruction performed by the processor of computer or other programmable data processing device is produced for realizing the device of function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions may be alternatively stored in and can guide in the computer-readable memory that computer or other programmable data processing device work in a specific way, the instruction making to be stored in this computer-readable memory produces to include the manufacture of command device, and this command device realizes the function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, make on computer or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computer or other programmable devices provides for realizing the step of function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame.
The above, be only presently preferred embodiments of the present invention, is not intended to limit protection scope of the present invention.

Claims (24)

1. an online charging method, it is characterised in that being applied to SIM, described method includes:
After receiving the service use request that mobile terminal is initiated, corresponding quota information is sent to the network equipment, so that the user that the described network equipment controls described mobile terminal corresponding according to described quota information services;
After receiving the notice that described customer service has used, notify that described network device services has used;
After receiving the service use information that the described network equipment returns, according to described service use information, update the charge information of described user.
2. method according to claim 1, it is characterised in that described corresponding quota information is sent to the network equipment before, described method also includes:
Accounting-related information according to described user, carries out inverse process, obtains described quota information.
3. method according to claim 2, it is characterised in that the described accounting-related information according to described user, carries out inverse process, obtains described quota information, including:
The traffic ID of request correspondence is used, it is determined that service priority according to described service;
According to the service priority determined, search corresponding order relations at self;
According to the accounting-related information that order relations is corresponding, it is determined that described quota information.
4. method according to claim 2, it is characterised in that the described accounting-related information according to described user, carries out inverse process, obtains described quota information, including:
The traffic ID of request correspondence is used, it is determined that service priority according to described service;
According to the service priority determined, do not find the order relations of correspondence, and determine when the traffic ID of described correspondence exists corresponding standard rate, according to standard rate, it is determined that described quota information.
5. method according to claim 1, it is characterised in that described update the charge information of described user according to described service use information, including:
According to described service use information, deduction is corresponding reserves quota and/or remaining sum;And update the quota in the described customer charging information self preserved and/or balance amount information.
6. method according to claim 1, it is characterised in that described method also includes:
Receive charge system when being changed by the charge information for described user that the network equipment is initiated, update the accounting-related information of described user self preserved.
7. the method according to any one of claim 1 to 6, it is characterised in that described SIM utilizes the key preserved, adopts safety method and the described network equipment to interact.
8. an online charging method, it is characterised in that described method includes:
After receiving the service use request that mobile terminal is initiated, corresponding quota information is sent to the network equipment by SIM;
The described network equipment controls user corresponding to described mobile terminal according to described quota information and carries out service use;
After receiving the notice that described customer service has used, described SIM notifies that described network device services has used;
Described SIM, according to described service use information, updates the charge information of described user.
9. method according to claim 8, it is characterised in that before corresponding quota information is sent to the network equipment by described SIM, described method also includes:
The described SIM accounting-related information according to described user, carries out inverse process, obtains described quota information.
10. method according to claim 9, it is characterised in that the described accounting-related information according to described user, carries out inverse process, obtains described quota information, including:
The traffic ID of request correspondence is used, it is determined that service priority according to described service;
According to the service priority determined, search corresponding order relations at self;
According to the accounting-related information that order relations is corresponding, it is determined that described quota information.
11. method according to claim 9, it is characterised in that the described accounting-related information according to described user, carry out inverse process, obtain described quota information, including:
The traffic ID of request correspondence is used, it is determined that service priority according to described service;
According to the service priority determined, do not find the order relations of correspondence, and determine when the traffic ID of described correspondence exists corresponding standard rate, according to standard rate, it is determined that described quota information.
12. method according to claim 8, it is characterised in that described SIM, according to described service use information, updates the charge information of described user, including:
Described SIM is according to described service use information, and deduction is corresponding reserves quota and/or remaining sum;
Update the quota in described customer charging information and/or balance amount information.
13. method according to claim 8, it is characterised in that described method also includes:
The charge information that charge system initiates described user by the described network equipment to described SIM changes;
Described SIM changes according to described charge information, updates the accounting-related information of the described user self preserved.
14. according to Claim 8 to the method described in 13 any one, it is characterised in that described SIM and the described network equipment utilize the key of the described user each preserved, adopt safety method to interact.
15. a SIM equipment, it is characterised in that described SIM equipment includes: receiver module, sending module and online charging module;Wherein,
Described receiver module, the service initiated for receiving mobile terminal uses request;And receive the notice that described customer service has used;And accept the service use information that the described network equipment returns;
Described sending module, corresponding quota information is sent to the network equipment after using request by the service initiated for receiving mobile terminal, so that the user that the described network equipment controls described mobile terminal corresponding according to described quota information services;And after receiving the notice that described customer service has used, notify that described network device services has used;
Described online charging module, after receiving the service use information that the described network equipment returns, according to described service use information, updates the charge information of described user.
16. equipment according to claim 15, it is characterised in that described online charging module, before being additionally operable to corresponding quota information is sent to the network equipment, the accounting-related information according to described user, carry out inverse process, obtain described quota information.
17. equipment according to claim 16, it is characterised in that described online charging module also includes: billing logic module, for the accounting-related information according to described user, carry out inverse process, obtain described quota information.
18. equipment according to claim 17, it is characterised in that described online charging module also includes: remaining sum calculates logic module, for according to described service use information, deduction is corresponding reserves quota and/or remaining sum;And update the quota in described customer charging information and/or balance amount information.
19. equipment according to claim 17, it is characterised in that described online charging module, also include: memory module and information change module;Wherein,
Described information changes module, for receive charge system changed by the charge information for described user that the network equipment is initiated time, update the accounting-related information of described user of described memory module preservation.
20. equipment according to claim 19, it is characterised in that described memory module, also storage has the key of described user;Described online charging module utilizes the key of described user so that described SIM equipment and the described network equipment adopt safety method to interact.
21. a line charge system, it is characterised in that described system includes: SIM and the network equipment;Wherein,
Described SIM, corresponding quota information is sent to the described network equipment after using request by the service initiated for receiving mobile terminal;After receiving the notice that described customer service has used, notify that described network device services has used;And after receiving the service use information that the described network equipment returns, according to described service use information, update the charge information of described user;
The described network equipment, carries out service use for controlling user corresponding to described mobile terminal according to described quota information;And after the described network device services receiving described SIM notice has used, return service use information to described SIM.
22. system according to claim 21, it is characterised in that described SIM, before being additionally operable to corresponding quota information is sent to the network equipment, the accounting-related information according to described user, carry out inverse process, obtain described quota information.
23. system according to claim 21, it is characterised in that described system also includes: charge system, change for the charge information initiating described user to described SIM by the described network equipment;
Correspondingly, described SIM, it is additionally operable to change according to described charge information, updates the accounting-related information of the described user self preserved.
24. according to the system described in any one of claim 21 to 23, it is characterised in that described SIM and the described network equipment utilize the key of the described user each preserved, adopt safety method to interact.
CN201410806661.3A 2014-12-22 2014-12-22 Online charging method and system and SIM (Subscriber Identity Module) card device Pending CN105792161A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410806661.3A CN105792161A (en) 2014-12-22 2014-12-22 Online charging method and system and SIM (Subscriber Identity Module) card device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410806661.3A CN105792161A (en) 2014-12-22 2014-12-22 Online charging method and system and SIM (Subscriber Identity Module) card device

Publications (1)

Publication Number Publication Date
CN105792161A true CN105792161A (en) 2016-07-20

Family

ID=56385272

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410806661.3A Pending CN105792161A (en) 2014-12-22 2014-12-22 Online charging method and system and SIM (Subscriber Identity Module) card device

Country Status (1)

Country Link
CN (1) CN105792161A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109699016A (en) * 2017-10-23 2019-04-30 中国移动通信集团公司 A kind of method and device for Communication processing between SMSC and OCS

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101335629A (en) * 2007-06-29 2008-12-31 华为技术有限公司 Charging method and system, charging apparatus, related decision-making equipment and network appliance
CN101431422A (en) * 2008-12-12 2009-05-13 华为技术有限公司 Accounting method, accounting apparatus, accounting gateway and accounting system
CN102547640A (en) * 2010-12-10 2012-07-04 中兴通讯股份有限公司 Method and system for signing and executing consumption restriction business
WO2014012561A1 (en) * 2012-07-19 2014-01-23 Telefonaktiebolaget L M Ericsson (Publ) Technique for load balancing between cellular network subscriptions in a router having both short range and cellular communication interfaces
CN103906024A (en) * 2012-12-25 2014-07-02 中国移动通信集团公司 Business processing method, device, mobile communication terminal and SIM card

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101335629A (en) * 2007-06-29 2008-12-31 华为技术有限公司 Charging method and system, charging apparatus, related decision-making equipment and network appliance
CN101431422A (en) * 2008-12-12 2009-05-13 华为技术有限公司 Accounting method, accounting apparatus, accounting gateway and accounting system
CN102547640A (en) * 2010-12-10 2012-07-04 中兴通讯股份有限公司 Method and system for signing and executing consumption restriction business
WO2014012561A1 (en) * 2012-07-19 2014-01-23 Telefonaktiebolaget L M Ericsson (Publ) Technique for load balancing between cellular network subscriptions in a router having both short range and cellular communication interfaces
CN103906024A (en) * 2012-12-25 2014-07-02 中国移动通信集团公司 Business processing method, device, mobile communication terminal and SIM card

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109699016A (en) * 2017-10-23 2019-04-30 中国移动通信集团公司 A kind of method and device for Communication processing between SMSC and OCS
CN109699016B (en) * 2017-10-23 2020-09-11 中国移动通信集团公司 Method and device for communication processing between SMSC and OCS

Similar Documents

Publication Publication Date Title
CN100389561C (en) Charge network and charge agency device and charge method
CN101208943A (en) Controlling provision of services in a communications network
EP1871084A1 (en) Method and system for third party charging
CN103327464B (en) A kind of charging method and system, information processing entity of MTC communication
CN103442394B (en) A kind of network capacity control method and device
WO2019075899A1 (en) Methods and devices for selecting and obtaining soft sim card
CN101754162B (en) Method, system and device of controlling risk
US8971844B2 (en) Charging monitoring method, device and system
CN103186853B (en) A kind of server end and client method of mobile payment, Apparatus and system
RU2668083C2 (en) Method for real-time charging, gateway and device for real-time charging
CN106910053A (en) Method of mobile payment, relevant apparatus and system
CN102291704B (en) Charging method, charging device, exchange device and charging system
CN103856968A (en) PCC rule obtaining method and device after Gx interfaces break down
CN101730023A (en) Method and system for payment by using short messages
CN108696860B (en) Virtual SIM card implementation method and device, SIM server and terminal
JP2005502244A (en) Mobile phone system
CN101860847A (en) Cloned subscriber identity module card test method and system
CN105792161A (en) Online charging method and system and SIM (Subscriber Identity Module) card device
US9344582B2 (en) Terminal and mobile communication system
WO2014177098A1 (en) Application software online payment processing method and system
CN106303124A (en) A kind of method of recharging for mobile phone, Apparatus and system
CN104579701A (en) Real-time charging method, device and system
CN104519471B (en) The charging method and system of CDMA international roaming short message
CN109547956A (en) A kind of multi-service concurrent processing method
CN102238508B (en) Online charging method, device and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20160720

RJ01 Rejection of invention patent application after publication