CN105450423A - Account status information calibration method and account status information calibration device - Google Patents

Account status information calibration method and account status information calibration device Download PDF

Info

Publication number
CN105450423A
CN105450423A CN201410430735.8A CN201410430735A CN105450423A CN 105450423 A CN105450423 A CN 105450423A CN 201410430735 A CN201410430735 A CN 201410430735A CN 105450423 A CN105450423 A CN 105450423A
Authority
CN
China
Prior art keywords
status information
account status
user
ocs
date
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.)
Granted
Application number
CN201410430735.8A
Other languages
Chinese (zh)
Other versions
CN105450423B (en
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201410430735.8A priority Critical patent/CN105450423B/en
Publication of CN105450423A publication Critical patent/CN105450423A/en
Application granted granted Critical
Publication of CN105450423B publication Critical patent/CN105450423B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Meter Arrangements (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses an account status information calibration method and an account status information calibration device in order to solve the problem that the account status information stored in a PCRF (Policy and Charging Rules Function) entity and the account status information stored in an OCS (Online Charging Server) are not synchronized in the billing process of mobile data services currently. According to an embodiment of the invention, the PCRF entity sends an account status information report made thereby to the OCS, and the OCS calibrates whether the account status information report is accurate according to the account status information corresponding to a user identifier contained in the account status information report. Even if the PCRF entity does not receive changed account status information sent by the OCS, the OCS can timely find out that the account status information locally stored in the PCRF entity is wrong. Thus, the account status information stored in the PCRF entity and the account status information stored in the OCS are synchronized, and the correctness of the policy made by the PCRF entity is guaranteed reliably.

Description

A kind of account status information calibration method and device
Technical field
The present invention relates to communication technical field, particularly relate to a kind of account status information calibration method and device.
Background technology
Along with the fast development of development of Mobile Internet technology, mobile phone users can be accessed easily and download various application in any place at any time, greatly have stimulated the use to Mobile data.In order to meet ever-increasing data traffic requirement, third generation partner program (3GPP) develops comprehensive charging and policy control framework.
In current bandwidth control program, Online Charging System (OnlineChargingServer, OCS) record is carried out to the information such as set meal flow, duration that user uses, need when reaching the full quota adjustment bandwidth time by OCS to "Policy and Charging Rules Function (PolicyandChargingRulesFunction, PCRF) entity notification message transmission, reformulates strategy by PCRF entity according to the account status information of carrying in this announcement information.Such as, for the various data service set meal bag service that operator all releases, if user can order a data service package bag, this data service set meal handbag draws together certain flow or duration, then when user use the flow of this set meal bag or time grow to the limit that operator arranges time, need the bandwidth of user or strategy to using this set meal to adjust.Such as, certain family orders a GPRS data business moon set meal bag, and initial bandwidth is 400Kbps, when wherein the regulation moon, use traffic accumulation was more than 30GB, bandwidth is lowered to 70% of initial bandwidth, then in this family, user adds up use traffic to needing during 30GB to fall bandwidth to user.
But, due to the functional entity that OCS and PCRF entity is separate, when the account status information (Policy-Counter-Status) that user is corresponding changes, OCS by the account status message notice that changes to PCRF entity, if the communication link now between OCS and PCRF entity breaks down, or PCRF entity breaks down, OCS cannot know the account status information that the above-mentioned user of PCRF entity this locality preservation is corresponding.Therefore, the nonsynchronous situation of account status information of preserving in the account status information and OCS of preserving PCRF entity this locality is there is in charging process, make strategy and charge execution function (PolicyandChargingEnforcementFunction, PCEF) entity still carries out charging according to the strategy before account status information changes, thus causes the loss of operator and user.
In sum, at present in the charging process of mobile data services, there is the nonsynchronous problem of account status information of preserving in the account status information and OCS of preserving in PCRF entity.
Summary of the invention
The embodiment of the present invention provides a kind of account status information calibration method and device, in order to solve at present in the charging process of mobile data services, there is the nonsynchronous problem of account status information of preserving in the account status information and OCS of preserving in PCRF entity.
The concrete technical scheme that the embodiment of the present invention provides is as follows:
First aspect, provides a kind of account status information calibration method, comprising: send the first account status information report request to strategy and billing function PCRF entity; Receive the first account status information reporting that described PCRF entity generates according to described first account status information report request; And described first account status information reporting is forwarded to Online Charging System OCS, when described OCS judges that account status information corresponding to the user ID that comprises in the described first account status information reporting up-to-date account status information corresponding from the described user ID of preserving in described OCS is different, described up-to-date account status information is sent to described PCRF entity.
In conjunction with first aspect, in the implementation that the first is possible, when receiving new data service request, according to the user ID of carrying in described new data service request, generate the first account status information report request; Or, when the mandate quota that described user ID is corresponding is finished using, generate the first account status information report request; Described first account status information report request is sent to described PCRF entity by Gx interface.
In conjunction with the first possible implementation of first aspect, in the implementation that the second is possible, described first account status information reporting is forwarded to described OCS by Gy interface.
In conjunction with the first possible implementation of first aspect or the possible implementation of the second, in the implementation that the third is possible, receive the request that the re-authenticates RAR message sent after described PCRF entity receives described up-to-date account status information, according to the user ID of carrying in described RAR message and described up-to-date account status information, generate the second account status information report request; And described second account status information report request is sent to described PCRF entity; And receive the second account status information reporting of described PCRF entity according to described second account status information report request generation, and described second account status information reporting is forwarded to described OCS, whether the up-to-date account status information again verifying up-to-date account status information corresponding to the described user ID that comprises in described second account status information reporting corresponding with the described user ID of preserving in described OCS by described OCS is identical.
Second aspect, provides a kind of account status information calibration method, comprising: the first account status information report request receiving strategy and the transmission of execution billing function PCEF entity; According to described first account status information report request, the first account status information reporting generated is sent to described PCEF entity; By described PCEF entity, described first account status information reporting is forwarded to Online Charging System OCS, so that whether described OCS is identical according to the up-to-date account status information that the account status information that the user ID comprised in described first account status information reporting is corresponding is corresponding with the described user ID of preserving in described OCS; Receive described OCS when determining that described first account status information reporting is not identical with described up-to-date account status information, the up-to-date account status information that the described user ID of transmission is corresponding.
In conjunction with second aspect, in the implementation that the first is possible, after receiving up-to-date account status information corresponding to described user ID, send to described PCEF entity and re-authenticate request RAR message; Receive the second account status information report request that described PCEF entity generates according to described RAR message; According to the user ID of carrying in described second account status information report request, and described up-to-date account status information corresponding to described user ID generates the second account status information reporting, be sent to described PCEF entity, and by described PCEF entity, described second account status information reporting is forwarded to described OCS, whether the up-to-date account status information again verifying described second account status information reporting corresponding with the described user ID of preserving in described OCS by described OCS is identical.
In conjunction with the third aspect, a kind of account status information calibration method is provided, comprises: the account status information reporting receiving strategy and the transmission of execution billing function PCEF entity; Wherein, described account status information reporting is obtained from strategy and billing function PCRF entity by described PCEF entity; According to the user ID comprised in described account status information reporting, obtain the up-to-date account status information that local described user ID of preserving is corresponding; And when the account status information that described up-to-date account status information is corresponding from the described user ID comprised in described account status information reporting is different, described up-to-date account status information is sent to described PCRF entity.
In conjunction with the third aspect, in the implementation that the first is possible, when judging that current time exists Sy session corresponding to the described user ID set up, and described Sy session have subscribed proper account state information during when setting up, by Sy interface, described account status information reporting is sent to described PCRF entity.
Fourth aspect, provides a kind of account status information checking device, comprising: transmitting element, for sending the first account status information report request to strategy and billing function PCRF entity; Receiving element, for receiving the first account status information reporting that described PCRF entity generates according to described first account status information report request; Described transmitting element, the first account status information reporting also for being received by described receiving element is forwarded to Online Charging System OCS, when described OCS judges that account status information corresponding to the user ID that comprises in the described first account status information reporting up-to-date account status information corresponding from the described user ID of preserving in described OCS is different, described up-to-date account status information is sent to described PCRF entity.
In conjunction with fourth aspect, in the implementation that the first is possible, described transmitting element, specifically for: when receiving new data service request, according to the user ID of carrying in described new data service request, generate the first account status information report request; Or, when the mandate quota that described user ID is corresponding is finished using, generate the first account status information report request; Described first account status information report request is sent to described PCRF entity by Gx interface.
In conjunction with the first possible implementation of fourth aspect, in the implementation that the second is possible, described transmitting element, specifically for: described first account status information reporting is forwarded to described OCS by Gy interface.
In conjunction with the first possible implementation of fourth aspect or the possible implementation of the second, in the implementation that the third is possible, described receiving element, also for: receive the request that the re-authenticates RAR message sent after described PCRF entity receives described up-to-date account status information.
In conjunction with the third possible implementation of fourth aspect, in the 4th kind of possible implementation, also comprise generation unit, for: according to the user ID of carrying in the described RAR message that described receiving element receives and described up-to-date account status information, generate the second account status information report request.
In conjunction with fourth aspect the 4th kind of possible implementation, in the 5th kind of possible implementation, described transmitting element, for: the second account status information report request generated by described generation unit is sent to described PCRF entity.
In conjunction with fourth aspect the 5th kind of possible implementation, in the 6th kind of possible implementation, described receiving element, for: receive the second account status information reporting that described PCRF entity generates according to described second account status information report request.
In conjunction with fourth aspect the 6th kind of possible implementation, in the 7th kind of possible implementation, described transmitting element, for: the described second account status information reporting received by described receiving element is forwarded to described OCS, and whether the up-to-date account status information again verifying up-to-date account status information corresponding to the described user ID that comprises in described second account status information reporting corresponding with the described user ID of preserving in described OCS by described OCS is identical.
5th aspect, a kind of account status information checking device, comprising: receiving element, for receiving the first account status information report request of strategy and the transmission of execution billing function PCEF entity; Transmitting element, for the first account status information report request received according to described receiving element, is sent to described PCEF entity by the first account status information reporting generated; By described PCEF entity, described first account status information reporting is forwarded to Online Charging System OCS, so that whether described OCS is identical according to the up-to-date account status information that the account status information that the user ID comprised in described first account status information reporting is corresponding is corresponding with the described user ID of preserving in described OCS; Described receiving element, for receiving described OCS when determining that described first account status information reporting is not identical with described up-to-date account status information, the up-to-date account status information that the described user ID of transmission is corresponding.
In conjunction with the 5th aspect, in the implementation that the first is possible, described transmitting element, also for: after receiving element receives up-to-date account status information corresponding to described user ID, send to described PCEF entity and re-authenticate request RAR message.
In conjunction with the first possible implementation of the 5th aspect, in the implementation that the second is possible, described receiving element, also for: receive the second account status information report request that described PCEF entity generates according to described RAR message.
In conjunction with the implementation that the 5th aspect the second is possible, in the implementation that the third is possible, also comprise generation unit, for: according to the user ID of carrying in described second account status information report request, and described up-to-date account status information corresponding to described user ID generates the second account status information reporting.
In conjunction with the third possible implementation of the 5th aspect, in the 6th kind of possible implementation, described transmitting element, also for: the second account status information reporting generated by described generation unit is sent to described PCEF entity, and by described PCEF entity, described second account status information reporting is forwarded to described OCS, whether the up-to-date account status information again verifying described second account status information reporting corresponding with the described user ID of preserving in described OCS by described OCS is identical.
6th aspect, provides a kind of account status information checking device, comprising: receiving element, for receiving the account status information reporting of strategy and the transmission of execution billing function PCEF entity; Wherein, described account status information reporting is obtained from strategy and billing function PCRF entity by described PCEF entity; Acquiring unit, for the user ID comprised in the account status information reporting that receives according to described receiving element, obtains the up-to-date account status information that local described user ID of preserving is corresponding; Transmitting element, time different for the account status information corresponding from the described user ID comprised in the account status information reporting that described receiving element receives when the up-to-date account status information that described acquiring unit obtains, described up-to-date account status information is sent to described PCRF entity.
In conjunction with the 6th aspect, in the implementation that the first is possible, described transmitting element, specifically for: when current time exists Sy session corresponding to the described user ID set up, and described Sy session have subscribed proper account state information during when setting up, by Sy interface, described account status information reporting is sent to described PCRF entity.
In the embodiment of the present invention, when PCRF entity receives the account status information report request of PCEF entity transmission, the account status information reporting that this locality is preserved by PCRF entity is sent to PCEF entity, by PCEF entity, account status information reporting is forwarded to OCS; According to the account status information comprised in account status information reporting, OCS judges that whether account status information reporting is correct.Adopt technical solution of the present invention, by PCEF entity, the account status information reporting that PCRF entity is formulated is sent to OCS, whether accurate by OCS verification account status information reporting, even if PCRF entity fails to receive the account status information changed that OCS sends, OCS also can Timeliness coverage PCRF entity this locality preserve account status information wrong, ensureing the account status synchronizing information preserved in the account status information of preserving in PCRF entity and OCS, thus the correctness of strategy that Reliable guarantee PCRF entity is formulated.
Accompanying drawing explanation
Fig. 1 is charge system configuration diagram in the embodiment of the present invention;
Fig. 2 is account status information calibration method flow chart one in the embodiment of the present invention;
Fig. 3 is account status information calibration method flowchart 2 in the embodiment of the present invention;
Fig. 4 is account status information calibration method flow chart 3 in the embodiment of the present invention;
Fig. 5 is Signalling exchange schematic diagram in account status information checking process in the embodiment of the present invention;
Account status information checking apparatus structure schematic diagram one in Fig. 6 embodiment of the present invention;
Fig. 7 is account status information checking apparatus structure schematic diagram two in the embodiment of the present invention;
Fig. 8 is account status information checking apparatus structure schematic diagram three in the embodiment of the present invention;
Fig. 9 is PECF entity structure schematic diagram in the embodiment of the present invention;
Figure 10 is PCRF entity structure schematic diagram in the embodiment of the present invention;
Figure 11 is OCS structural representation in the embodiment of the present invention.
Embodiment
In order to solve at present in the charging process of mobile data services, there is the nonsynchronous problem of account status information of preserving in the account status information and OCS of preserving in PCRF entity.In the embodiment of the present invention, the account status information reporting that PCRF entity is formulated is sent to OCS by PCEF entity, whether accurately account status information reporting is verified by the account status information that OCS is corresponding according to the user ID comprised in account status information reporting, even if PCRF entity fails to receive the account status information changed that OCS sends, OCS also can Timeliness coverage PCRF entity this locality preserve account status information wrong, to ensure the account status synchronizing information preserved in the account status information of preserving in PCRF entity and OCS, thus the correctness of strategy that Reliable guarantee PCRF entity is formulated.
Consult shown in Fig. 1, be charge system configuration diagram in the embodiment of the present invention, this charge system comprises subscriber equipment, PCEF entity, PCRF entity and OCS.Wherein, connected by Gx interface between PCEF entity and PCRF entity, connected by Sy interface between PCRF entity and OCS, connected by Gy interface between OCS and PCEF entity.Concrete:
The user that subscriber equipment is corresponding is online charging user, and this user have subscribed certain resource in OCS;
PCRF entity is responsible for decision-making and mandate, it is according to factors such as the information of carrier policy, user contracting data, the ongoing business information of user and user access network, formulate corresponding strategy, this strategy is called that strategy and charging control (PolicyandChargingControl, PCC) rule.This PCC rule is sent to PCEF entity by PCRF entity, thus realizes the control to business data flow;
PCEF entity implementation strategy and charge execution function, realize comprising the detection of business data flow, strategy execution and the billing function based on stream.This functional entity is positioned at gateway, such as general packet radio service technology (GeneralPacketRadioService, GPRS) Gateway GPRS Support Node (GatewayGPRSSupportNode, GGSN) gateway, evolution group center (EvolvedPacketCore, EPC) packet data gateway (PDNGW, P-GW) etc., also can independently dispose;
OCS provides the credit control function based on user and business data flow.Primarily of module compositions such as online acquisition, charging control, wholesale price, management of balances, achieve online charging function, and coordinate other charging network element equipment to carry out real-time call control;
Gy interface completes the online charging between PCEF entity to OCS, and online charging function is for carrying out real time billing to provided business;
Sy interface is used for PCRF entity asks user to OCS Spending Limit (spendinglimit) when carrying out strategic decision-making.PCRF entity uses policycountername to subscribe to, and OCS reports according to this subscription.
In above-mentioned charge system, PCEF entity by Gy interface to OCS in real time for carrying out user's quota application of data service, the account amount of money corresponding according to above-mentioned user ID and this user ID is determined whether allow this user to carry out Packet data service by OCS, when allowing this user to carry out Packet data service, PCEF entity is carried out to the real time down of user's quota.OCS real-time tracking user ID is to the service condition (data business volume) of ordered resource, current cost of use is deducted the real-time account corresponding from user ID, and be issued to PCRF entity according to the account status information that preset rules change user ID is corresponding, formulate new policy distribution to PCEF entity by the account status information that PCRF entity is corresponding according to above-mentioned user ID; Stop business when the fund in user account is used up or relevant prompting is carried out to user.
Below in conjunction with Figure of description, the embodiment of the present invention is described in further detail.
Consult shown in Fig. 2, in the embodiment of the present invention, by PCEF entity, account status information reporting is forwarded to OCS, the process of being carried out account status information checking by OCS is:
Step 200: send the first account status information report request to PCRF entity.
In the embodiment of the present invention, when PCEF entity receives new data service request, namely according to the user ID of carrying in above-mentioned new data service request, generate the first account status information report request; Or, when PCEF entity determines that mandate quota corresponding to any user ID is finished using, namely according to this any user ID, generate the first account status information report request; And this first account status information report request is sent to PCRF entity by Gx interface.Wherein, above-mentioned first account status information report request can be realized about credit control request (CreditControlRequest, the CCR) message in charge system related protocol by existing 3GPP.
Adopt technique scheme, current Gx interface is improved, enables Gx interface transmit account status information reporting, thus extend the function of Gx interface.
Step 210: receive the first account status information reporting that PCRF entity generates according to above-mentioned first account status information report request.
In the embodiment of the present invention, when PCRF entity receives the first account status information report request of PCEF entity transmission, namely according to the user ID comprised in this first account status information report request, obtain the account status information (Counterstatus) that local this user ID of preserving is corresponding, and generate the first account status information reporting according to account state information, and this first account status information reporting is sent to PCEF entity by the Gx interface between PCRF entity and PCEF entity.Wherein, above-mentioned account status information is typically expressed as Counter state corresponding to user ID, usual employing Policy-Counter-status=n represents, n is for representing Counter state information, and PCRF formulates strategy corresponding to this user ID according to this account book version number; Further, this strategy comprises bandwidth sum expense corresponding to current time user ID, and account status information reporting.
Optionally, above-mentioned account status information reporting can be included in the middle of strategy (PCC), and by the CCA message bearing in existing charge system.
Step 220: above-mentioned first account status information reporting of stating is forwarded to OCS, when OCS judges that account status information corresponding to the user ID that comprises in this first account status information reporting up-to-date account status information corresponding from this user ID of preserving in OCS is different, above-mentioned up-to-date account status information is sent to PCRF entity.
In the embodiment of the present invention, when PCEF entity receives the first account status information reporting of PCRF entity transmission, the Gy interface that this first account status information reporting is crossed between PCEF entity and OCS is sent to OCS, after OCS receives this first account status information reporting, namely according to the user ID comprised in this first account status information reporting, up-to-date account status information corresponding to this user ID is searched from OCS this locality, when this up-to-date account status information is identical with the account status information comprised in the first account status information reporting, namely the account status synchronizing information that up-to-date account status information corresponding to the user ID of preserving is corresponding with this user ID of preserving in PCRF entity is described in OCS, now, PCEF entity performs the first account status information reporting that above-mentioned PCRF entity issues, when this up-to-date account status information is different from the account status information comprised in the first account status information reporting, namely illustrate in OCS that up-to-date account status information corresponding to the user ID of the preserving account status information corresponding with this user ID of preserving in PCRF entity is asynchronous, now, if set up Sy session between OCS and PCRF entity, and account status information corresponding to user ID has been have subscribed when setting up Sy session, then up-to-date account status information corresponding for above-mentioned user ID is sent to PCRF entity by the Sy interface between OCS and PCRF entity by OCS.Wherein, charging application (CCR) message in the charge system Signalling exchange agreement that the first account status information reporting that above-mentioned PCEF entity is sent to OCS can be formulated by existing 3GPP carries.
Further, after PCRF entity receives up-to-date account status information corresponding to above-mentioned user ID, PCEF entity receives the request that the re-authenticates (Re-Auth-Request that PCRF entity sends, RAR) message, according to this RAR message, generate the second account status information report request; And this second account status information report request is sent to PCRF entity; PCRF entity is according to the user ID comprised in above-mentioned second account status information report request, obtain the up-to-date account status information that local above-mentioned user ID of preserving is corresponding, the latest edition state information corresponding according to this user ID generates the second account status information reporting, and this second account status information reporting is sent to PCEF entity; Above-mentioned second account status information reporting is forwarded to OCS by Gy interface by PCEF entity, whether correct again verifies above-mentioned second account status information reporting by OCS; If incorrect, then again up-to-date account status information corresponding for user ID is sent to PCRF entity by OCS, until the account status synchronizing information that up-to-date account status information corresponding to the user ID of preserving in OCS is corresponding with the user ID of preserving in PCRF entity.
Optionally, above-mentioned PCRF entity be sent to PCEF entity account status information reporting can by comprise following parameter signaling realize:
Wherein, Policy-Counter-Identifier represents user ID, and Policy-Counter-Status represents account status information; Pending-Policy-Counter-Information represents consumption status information, Pending-Policy-Counter-Change-Time represents the time and consumption status correspondence relationship information of coming into force, namely when after the received letter of acceptance time, consumption status corresponding to this entry-into-force time is switched to.
Adopt technique scheme, Gy interface is improved, enable Gy interface transmission package containing the account status information reporting of account status information, thus effectively extend the function of Gy interface; And, by PCEF entity, the account status information that PCRF entity this locality is preserved is sent to OCS, the PCRF entity that link intermittent defect between avoiding due to OCS and PCRF entity or the overload of PCRF entity etc. cause cannot make the problem of strategy according to up-to-date account status information, ensure that the account status synchronizing information preserved in the account status information and PCRF entity of preserving in OCS, thus ensure that the accuracy of the strategy that PCRF entity is formulated, and PCEF entity can perform correct strategy, and then ensure that the interests of operator and user.
Further, the account status information corresponding with the user ID that PCRF entity this locality is preserved when the up-to-date account status information that the user ID of preserving in OCS is corresponding is identical, namely, when the strategy of PCRF formulation is correct, PCEF entity performs this strategy that PCRF entity is formulated.
Consult shown in Fig. 3, in the embodiment of the present invention, the strategy that this locality is formulated being informed to by PCRF entity the process that OCS carries out verifying is:
Step 300: receive the first account status information report request that PCEF entity sends.
In the embodiment of the present invention, PCRF entity receives the first account status information report request that PCEF entity is sent by Gx interface, wherein, comprises user ID in this first account status information report request.
Step 310: according to above-mentioned first account status information report request, generates the first account status information reporting and is sent to PCEF entity; By PCEF entity, this first account status information reporting is forwarded to OCS, so that whether OCS is identical according to the up-to-date account status information that the account status information that the user ID comprised in this first account status information reporting is corresponding is corresponding with this user ID of preserving in OCS.
In the embodiment of the present invention, PCRF entity is according to the user ID of carrying in the first account status information report request, the account status information that local this user ID of preserving is corresponding is obtained from this locality, and generate the first account status information reporting according to account state information, and this first account status information reporting is sent to PCEF entity by the Gx interface between PCRF entity and PCEF entity; And by PCEF entity, above-mentioned first account status information reporting is sent to OCS, whether correctly verify this first account status information reporting by OCS.
Optionally, when the up-to-date account status information that the above-mentioned user ID of preserving in OCS is corresponding is identical with the account status information comprised in the first strategy, represent that the first account status information reporting is correct; When the up-to-date account status information that the above-mentioned user ID of preserving in OCS is corresponding is different from the account status information comprised in the first account status information reporting, represent the first account status information reporting mistake.
Optionally, above-mentioned PCRF entity be sent to PCEF entity account status information reporting can by comprise following parameter signaling realize:
Wherein, Policy-Counter-Identifier represents user ID, and Policy-Counter-Status represents account status information; Pending-Policy-Counter-Information represents consumption status information, Pending-Policy-Counter-Change-Time represents the time and consumption status correspondence relationship information of coming into force, namely when after the received letter of acceptance time, consumption status corresponding to this entry-into-force time is switched to.
Adopt technique scheme, the account status information that account status information corresponding for the user ID of preserving in PCRF entity is corresponding with this user ID of preserving in OCS compares, and judge that whether account status information corresponding to the user ID of preserving in PCRF entity is correct according to comparative result, and then whether determine that PCRF entity is issued to the strategy of PCEF entity correct, guarantee the account status synchronizing information that account status information corresponding to the user ID of preserving in PCRF entity is corresponding with this user ID of preserving in OCS thus, thus ensure that the strategy that PCRF entity is issued to this user ID of PCEF entity corresponding is correct, the interests of user and operator are not all suffered damage.
Step 320: receive OCS when determining that the account status information comprised in the first account status information reporting is not identical with up-to-date account status information, the up-to-date account status information that the user ID of transmission is corresponding.
In the embodiment of the present invention, when OCS judges that the account status information that comprises in the first account status information reporting is not identical with up-to-date account status information, namely send up-to-date account status information corresponding to the above-mentioned user ID that comprises in OCS by the Sy interface between OCS and PCRF entity to PCRF entity.
Further, after PCRF entity receives up-to-date account status information corresponding to user ID that above-mentioned OCS sends, send RAR message to PCEF entity, instruction PCEF entity needs to re-authenticate; PCEF entity, according to the user ID of carrying in this RAR message and up-to-date account status information corresponding to this user ID, generates the second account status information report request and is sent to PCRF entity; PCRF entity is according to the user ID of carrying in this second account status information report request, up-to-date account status information corresponding to user ID is obtained from this locality, and the up-to-date account status information corresponding according to this user ID generates the second account status information reporting, is sent to PCEF entity; This second account status information reporting is forwarded to OCS by the Gy interface between PCEF entity and OCS by PCEF entity, and whether the latest version information again verifying the user ID that comprises in above-mentioned second account status information reporting corresponding by OCS is correct.If latest version information corresponding to the user ID comprised in the second account status information reporting is still incorrect, then up-to-date account status information corresponding for user ID is sent to PCRF entity by OCS again, until the account status synchronizing information that up-to-date account status information corresponding to the user ID of preserving in OCS is corresponding with the user ID of preserving in PCRF entity.
Adopt technique scheme, by PCEF entity, the account status information that PCRF entity this locality is preserved is sent to OCS, the PCRF entity that link intermittent defect between avoiding due to OCS and PCRF entity or the overload of PCRF entity etc. cause cannot make the problem of strategy according to up-to-date account status information, ensure that the account status synchronizing information preserved in the account status information and PCRF entity of preserving in OCS, thus ensure that the accuracy of the strategy that PCRF entity is formulated, and PCEF entity can perform correct strategy, and then ensure that the interests of operator and user.
Consult shown in Fig. 4, in the embodiment of the present invention, the process being verified the account status information of PCRF this locality by OCS is:
Step 400: receive the account status information reporting that PCEF entity sends.
In the embodiment of the present invention, the account status information reporting that OCS is sent by the Gy interface PCEF entity between PCEF entity and OCS; Wherein, the content obtained in the account status information reporting strategy (PCC) that can be sent by PCRF entity for PCEF entity, can directly be sent to PCEF entity for PCRF entity.
Adopt technique scheme, Gy interface is improved, enable Gy interface transmission package containing the account status information reporting of account status information, thus effectively extend the function of Gy interface.
Step 410: according to the user ID comprised in above-mentioned account status information reporting, obtains the up-to-date account status information that local this user ID of preserving is corresponding.
In the embodiment of the present invention, OCS preserves this locality multiple user ID and account status information corresponding to each user ID; When OCS receives the account status information reporting that PCEF sends, from all user ID, namely obtain the up-to-date account status information that the user ID that comprises in account status information reporting is corresponding.Wherein, the account state information can be account version number corresponding to user ID, usually adopt Policy-Counter-status=n to represent, n is for representing Counter state information.
Step 420: when the account status information that above-mentioned up-to-date account status information is corresponding from the user ID comprised in above-mentioned account status information reporting is different, above-mentioned up-to-date account status information reporting is sent to PCRF entity.
In the embodiment of the present invention, OCS judges that whether up-to-date account status information corresponding to the local above-mentioned user ID the obtained account status information corresponding with this user ID comprised in account status information reporting is identical; When the account status information that above-mentioned user ID is corresponding is identical with the account status information comprised in above-mentioned account status information reporting, represent that above-mentioned account status information reporting is correct; When the up-to-date account status information that above-mentioned user ID is corresponding is different from the account status information comprised in above-mentioned account status information reporting, represent above-mentioned account status information reporting mistake.
Optionally, the up-to-date account status information corresponding when above-mentioned user ID is different from the account status information comprised in above-mentioned account status information reporting, namely above-mentioned PCRF formulate strategy mistake time, judge whether current time exists Sy session (SySession) corresponding to the above-mentioned user ID set up, and whether this Sy session have subscribed proper account state information when setting up; When current time exists Sy session (SySession) corresponding to the above-mentioned user ID set up, and this Sy session have subscribed proper account state information during when setting up, by the Sy interface between OCS and PCRF entity, up-to-date account status information corresponding for above-mentioned user ID is sent to PCRF entity; Otherwise OCS waits for that PCRF entity performs said process after setting up Sy session.
Optionally, whether proper account state information can have been have subscribed in the Sy session that user ID is corresponding when setting up by consumption limit request (Spending-Limit-Request, SLR) message bearing PCRF entity.Up-to-date account status information corresponding to this user ID of (Spending-Limit-Acknowledge, SNR) message bearing is responded by consumption restriction in the Sy session that above-mentioned user ID is corresponding.
Adopt technique scheme, by PCEF entity, the account status information reporting of PCRF solid generation is forwarded to OCS, the account status information corresponding to the user ID comprised in above-mentioned account status information reporting by OCS verifies, thus the PCRF entity that link intermittent defect between avoiding due to OCS and PCRF entity or the overload of PCRF entity etc. cause cannot make the problem of strategy according to up-to-date account status information, ensure that the account status synchronizing information preserved in the account status information and PCRF entity of preserving in OCS, thus ensure that PCEF entity can perform correct strategy, and then ensure that the interests of operator and user.
Based on technique scheme, consult shown in Fig. 5, in the embodiment of the present invention, the signalling interactive process in charge system between each entity is:
Step 500: when PCEF entity detection is to the new data service request that any user ID is corresponding, send a GxCCR message by Gx interface to PCRF entity.
When corresponding with the charge system Signalling exchange agreement that existing 3GPP formulates, an above-mentioned GxCCR message can be expressed as a Gx:CCR-U.
The GxCCR message that step 501:PCRF entity sends according to PCEF entity, generates Gx diameter credit control response (CreditControlAcknowledge, a CCA) message and is sent to PCEF entity by Gx interface.
When corresponding with the charge system Signalling exchange agreement that existing 3GPP formulates, an above-mentioned Gx diameter credit control response message (CCA) can be expressed as a Gx:CCA-U.
In the embodiment of the present invention, carry the strategy that the above-mentioned user ID of PCRF formulation is corresponding in an above-mentioned GxCCA message, in this strategy, comprise the account status information that user ID is corresponding.Wherein, above-mentioned user ID can be represented by PolicyCountername=a, and a is user ID, if a is 01; Above-mentioned account status information can be represented by PolicyCounterStatus=n, and n represents counter state information, as n=2.
After step 502:PCEF entity receives a GxCCA message, obtain account status information corresponding to user ID and generate a GyCCR message, be sent to OCS by Gy interface.
In the embodiment of the present invention, in an above-mentioned GyCCR message, carry account status information corresponding to above-mentioned user ID.When being expressed as Gy:CCR-U with the charge system Signalling exchange agreement that existing 3GPP formulates to the one GyCCR message time corresponding.
Step 503:OCS sends a GyCCA message by Gy interface to PCEF entity.
When being expressed as Gy:CCA-U with the charge system Signalling exchange agreement that existing 3GPP formulates to a GyCCR message above-mentioned time corresponding.
When step 504:OCS judges that account status information corresponding to the user ID of carrying in an above-mentioned GyCCR message up-to-date account status information corresponding with the local user ID of preserving of OCS is different, the up-to-date account status information corresponding according to above-mentioned user ID generates SNR message, is sent to PCRF entity by Sy interface.
In the embodiment of the present invention, OCS obtains the user ID of carrying in a GyCCR message, as PolicyCountername=01, up-to-date account status information corresponding to user ID that user ID is 01 is searched from all user ID that this locality is preserved, and the account status information that this up-to-date account status information is corresponding with the user ID of carrying in a GyCCR message is compared, if different, then up-to-date account status information corresponding for this user ID is sent to PCRF entity.Such as, during PolicyCountername=01, the up-to-date account status information of user ID 01 correspondence of preserving in OCS is PolicyCounterStatus=3, and account status information corresponding to the user ID of carrying in a GyCCR message is PolicyCounterStatus=2, now, the up-to-date account status information (PolicyCounterStatus=3) of user ID 01 correspondence is sent to PCRF entity by OCS.
The up-to-date account status information that step 505:PCRF entity is corresponding according to the user ID of carrying in this SNR message, generates New Policy corresponding to user ID, and generates SNA message and be sent to OCS to respond above-mentioned SNR message by Sy interface.
Step 506:PCRF entity sends RAR message by Gx interface to PCEF entity.
When being expressed as Gx:RAR with the charge system Signalling exchange agreement that existing 3GPP formulates to RAR message above-mentioned time corresponding.
Step 507:PCEF entity re-authenticates response (RAA) message according to above-mentioned RAR message generation and is sent to PCRF entity by Gx interface.
When being expressed as Gx:RAA with the charge system Signalling exchange agreement that existing 3GPP formulates to RAA message above-mentioned time corresponding.
Step 508:PCEF entity sends the 2nd GxCCR message by Gx interface to PCRF entity.
The 2nd GxCCR message that step 509:PCRF entity sends according to PCEF entity, generates the 2nd GxCCA message and is sent to PCEF entity by Gx interface.
In the embodiment of the present invention, in the 2nd GxCCA Messages Message, carry New Policy corresponding to user ID, in this New Policy, comprise the up-to-date account status information that user ID is corresponding.
Step 510:PCEF entity performs New Policy corresponding to above-mentioned user ID, and this up-to-date account status information is added into the 2nd GyCCR message is sent to OCS by Gy interface.
When being expressed as the 2nd Gy:CCR-U with the charge system Signalling exchange agreement that existing 3GPP formulates to 2nd GyCCR message above-mentioned time corresponding.
Step 511:OCS verify in above-mentioned 2nd GyCCR message account status information corresponding to the user ID of the carrying account status information corresponding with the above-mentioned user ID of preserving in OCS identical time, to PCRF Entity feedback the 2nd GyCCA message.
When being expressed as the 2nd Gy:CCA-U with the charge system Signalling exchange agreement that existing 3GPP formulates to second charge response message above-mentioned time corresponding.
Adopt technique scheme, account status information checking mechanism is increased in existing charge system, during account status information corresponding to any user ID that the link failure between OCS and PCRF entity or the larger untreated OCS of PCRF entity load send, avoid PCRF entity original account status information corresponding to this any user ID will be sent to PCEF, thus ensure that the account status synchronizing information that account status information corresponding to the user ID of preserving in PCRF entity is corresponding with this user ID of preserving in OCS, the up-to-date account status information matches that the strategy that PCRF entity is formulated is corresponding with user ID, and then ensure that the interests of operator and user, further, adopt the signaling formulated in existing 3GPP charge system Signalling exchange agreement to carry out the transmission of signaling in above-mentioned checking procedure, be convenient to the realization of checking procedure.
Based on technique scheme, consult shown in Fig. 6, the embodiment of the present invention also provides a kind of account status information checking device, comprises transmitting element 60 and receiving element 61, wherein:
Transmitting element 60, for sending the first account status information report request to PCRF entity;
Receiving element 61, for receiving the first account status information reporting that described PCRF entity generates according to described first account status information report request;
Transmitting element 60, the first account status information reporting also for being received by described receiving element 61 is forwarded to OCS, when described OCS judges that account status information corresponding to the user ID that comprises in the described first account status information reporting up-to-date account status information corresponding from the described user ID of preserving in described OCS is different, described up-to-date account status information is sent to described PCRF entity.
Optionally, described transmitting element 60, specifically for: when receiving new data service request, according to the user ID of carrying in described new data service request, generate the first account status information report request; Or, when the mandate quota that described user ID is corresponding is finished using, generate the first account status information report request; Described first account status information report request is sent to described PCRF entity by Gx interface.
Optionally, described transmitting element 60, specifically for: described first account status information reporting is forwarded to described OCS by Gy interface.
Optionally, described receiving element 61, also for: receive the RAR message sent after described PCRF entity receives described up-to-date account status information.
Further, said apparatus also comprises generation unit 62, for: according to the user ID of carrying in the described RAR message that described receiving element 61 receives and described up-to-date account status information, generate the second account status information report request.
Optionally, described transmitting element 60, for: the second account status information report request generated by described generation unit 62 is sent to described PCRF entity.
Optionally, described receiving element 61, for: receive the second account status information reporting that described PCRF entity generates according to described second account status information report request.
Optionally, described transmitting element 60, for: the described second account status information reporting received by described receiving element 61 is forwarded to described OCS, and whether the up-to-date account status information again verifying up-to-date account status information corresponding to the described user ID that comprises in described second account status information reporting corresponding with the described user ID of preserving in described OCS by described OCS is identical.
Based on technique scheme, consult shown in Fig. 7, the embodiment of the present invention also provides a kind of account status information checking device, comprises receiving element 70, and transmitting element 71, wherein:
Receiving element 70, for receiving the first account status information report request that PCEF entity sends;
Transmitting element 71, for the first account status information report request received according to described receiving element 70, is sent to described PCEF entity by the first account status information reporting generated; By described PCEF entity, described first account status information reporting is forwarded to OCS, so that whether described OCS is identical according to the up-to-date account status information that the account status information that the user ID comprised in described first account status information reporting is corresponding is corresponding with the described user ID of preserving in described OCS;
Described receiving element 70, for receiving described OCS when determining that described first account status information reporting is not identical with described up-to-date account status information, the up-to-date account status information that the described user ID of transmission is corresponding.
Optionally, described transmitting element 71, also for: after receiving element 70 receives up-to-date account status information corresponding to described user ID, send RAR message to described PCEF entity.
Optionally, described receiving element 70, also for: receive the second account status information report request that described PCEF entity generates according to described RAR message.
Optionally, said apparatus also comprises generation unit 72, for: according to the user ID of carrying in described second account status information report request, and described up-to-date account status information corresponding to described user ID generates the second account status information reporting.
Optionally, described transmitting element 71, also for: the second account status information reporting generated by described generation unit 72 is sent to described PCEF entity, and by described PCEF entity, described second account status information reporting is forwarded to described OCS, whether the up-to-date account status information again verifying described second account status information reporting corresponding with the described user ID of preserving in described OCS by described OCS is identical.
Based on technique scheme, consult shown in Fig. 8, the embodiment of the present invention provides a kind of account status information checking device, comprises receiving element 80, acquiring unit 81, and transmitting element 82, wherein:
Receiving element 80, for receiving the account status information reporting that PCEF entity sends; Wherein, described account status information reporting is obtained from strategy and billing function PCRF entity by described PCEF entity;
Acquiring unit 81, for the user ID comprised in the account status information reporting that receives according to described receiving element 80, obtains the up-to-date account status information that local described user ID of preserving is corresponding;
Transmitting element 82, time different for the account status information corresponding from the described user ID comprised in the account status information reporting that described receiving element 80 receives when the up-to-date account status information that described acquiring unit 81 obtains, described up-to-date account status information is sent to described PCRF entity.
Optionally, described transmitting element 82, specifically for: when current time exists Sy session corresponding to the described user ID set up, and described Sy session have subscribed proper account state information during when setting up, by Sy interface, described account status information reporting is sent to described PCRF entity.
Based on technique scheme, consult shown in Fig. 9, the embodiment of the present invention also provides a kind of PCEF entity, comprises transceiver 90 and processor 91, wherein:
Transceiver 90, for sending the first account status information report request to PCRF entity;
Transceiver 90, also for receiving the first account status information reporting that described PCRF entity generates according to described first account status information report request, and described first account status information reporting is forwarded to OCS, when described OCS judges that account status information corresponding to the user ID that comprises in the described first account status information reporting up-to-date account status information corresponding from the described user ID of preserving in described OCS is different, described up-to-date account status information is sent to described PCRF entity.
Optionally, transceiver 90, specifically for: when receiving new data service request, according to the user ID of carrying in described new data service request, generate the first account status information report request; Or, when the mandate quota that described user ID is corresponding is finished using, generate the first account status information report request; Described first account status information report request is sent to described PCRF entity by Gx interface.
Optionally, transceiver 90, specifically for: described first account status information reporting is forwarded to described OCS by Gy interface.
Optionally, transceiver 90, also for: receive the RAR message sent after described PCRF entity receives described up-to-date account status information.
Further, processor 91, for: according to the user ID of carrying in the described RAR message that described transceiver 90 receives and described up-to-date account status information, generate the second account status information report request.
Optionally, transceiver 90, for: the second account status information report request generated by described processor 91 is sent to described PCRF entity.
Optionally, transceiver 90, for: receive the second account status information reporting that described PCRF entity generates according to described second account status information report request, and described second account status information reporting is forwarded to described OCS, whether the up-to-date account status information again verifying up-to-date account status information corresponding to the described user ID that comprises in described second account status information reporting corresponding with the described user ID of preserving in described OCS by described OCS is identical.
Based on technique scheme, consult shown in Figure 10, the embodiment of the present invention also provides a kind of PCRF, comprises transceiver 100, and processor 101, wherein:
Transceiver 100, for receiving the first account status information report request that PCEF entity sends;
Transceiver 100, for according to described first account status information report request, is sent to described PCEF entity by the first account status information reporting generated; By described PCEF entity, described first account status information reporting is forwarded to OCS, so that whether described OCS is identical according to the up-to-date account status information that the account status information that the user ID comprised in described first account status information reporting is corresponding is corresponding with the described user ID of preserving in described OCS;
Transceiver 100, also for receiving described OCS when determining that described first account status information reporting is not identical with described up-to-date account status information, the up-to-date account status information that the described user ID of transmission is corresponding.
Optionally, transceiver 100, also for: after receiving up-to-date account status information corresponding to described user ID, send RAR message to described PCEF entity.
Optionally, transceiver 100, also for: receive the second account status information report request that described PCEF entity generates according to described RAR message.
Optionally, processor 101, for: according to the user ID of carrying in described second account status information report request, and described up-to-date account status information corresponding to described user ID generates the second account status information reporting.
Optionally, transceiver 100, also for: the second account status information reporting generated by described processor 101 is sent to described PCEF entity, and by described PCEF entity, described second account status information reporting is forwarded to described OCS, whether the up-to-date account status information again verifying described second account status information reporting corresponding with the described user ID of preserving in described OCS by described OCS is identical.
Based on technique scheme, consult shown in Figure 11, the embodiment of the present invention provides a kind of OCS, comprises transceiver 110, and processor 111, wherein:
Transceiver 110, for receiving the account status information reporting that PCEF entity sends; Wherein, described account status information reporting is obtained from strategy and billing function PCRF entity by described PCEF entity;
Processor 111, for the user ID comprised in the account status information reporting that receives according to described transceiver 110, obtains the up-to-date account status information that local described user ID of preserving is corresponding;
Transceiver 110, time different for the account status information corresponding from the described user ID comprised in the account status information reporting received when the up-to-date account status information that described processor 111 obtains, described up-to-date account status information is sent to described PCRF entity.
Optionally, described transceiver 110, specifically for: when current time exists Sy session corresponding to the described user ID set up, and described Sy session have subscribed proper account state information during when setting up, by Sy interface, described account status information reporting is sent to described PCRF entity.
In sum, in the embodiment of the present invention, PCRF entity receives the account status information report request that PCEF sends, and the account status information of namely preserving according to this locality generates account status information reporting and is sent to OCS; OCS, according to the user ID comprised in above-mentioned account status information reporting, obtains the up-to-date account status information that local this user ID of preserving is corresponding; When OCS determines that the above-mentioned up-to-date account status information account status information corresponding from the user ID comprised in above-mentioned account status information reporting is different, above-mentioned up-to-date account status information reporting is sent to PCRF entity.Adopt technical solution of the present invention, the account status information reporting that PCRF entity is formulated is sent to OCS by PCEF entity, whether accurately account status information reporting is verified by the account status information that OCS is corresponding according to the user ID comprised in account status information reporting, even if PCRF entity fails to receive the account status information changed that OCS sends, OCS also can Timeliness coverage PCRF entity this locality preserve account status information wrong, to ensure the account status synchronizing information preserved in the account status information of preserving in PCRF entity and OCS, thus the correctness of strategy that Reliable guarantee PCRF entity is formulated.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the present invention can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disc store, CD-ROM, optical memory etc.) of computer usable program code.
The present invention describes with reference to according to the flow chart of the method for the embodiment of the present invention, equipment (system) and computer program and/or block diagram.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block diagram and/or square frame and flow chart and/or block diagram and/or square frame.These computer program instructions can being provided to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the processor of computer or other programmable data processing device produce device for realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame 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 is provided for the step realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
Although describe the preferred embodiments of the present invention, those skilled in the art once obtain the basic creative concept of cicada, then can make other change and amendment to these embodiments.So claims are intended to be interpreted as comprising preferred embodiment and falling into all changes and the amendment of the scope of the invention.
Obviously, those skilled in the art can carry out various change and modification to the embodiment of the present invention and not depart from the spirit and scope of the embodiment of the present invention.Like this, if these amendments of the embodiment of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.

Claims (16)

1. an account status information calibration method, is characterized in that, comprising:
The first account status information report request is sent to strategy and billing function PCRF entity;
Receive the first account status information reporting that described PCRF entity generates according to described first account status information report request; And
Described first account status information reporting is forwarded to Online Charging System OCS, when described OCS judges that account status information corresponding to the user ID that comprises in the described first account status information reporting up-to-date account status information corresponding from the described user ID of preserving in described OCS is different, described up-to-date account status information is sent to described PCRF entity.
2. the method for claim 1, is characterized in that, sends the first account status information report request, specifically comprise to described PCRF entity:
When receiving new data service request, according to the user ID of carrying in described new data service request, generate the first account status information report request; Or, when the mandate quota that described user ID is corresponding is finished using, generate the first account status information report request;
Described first account status information report request is sent to described PCRF entity by Gx interface.
3. method as claimed in claim 2, is characterized in that, described first account status information reporting is forwarded to OCS, specifically comprises:
Described first account status information reporting is forwarded to described OCS by Gy interface.
4. the method as described in any one of claim 1-3, is characterized in that, also comprises:
Receive the request that the re-authenticates RAR message sent after described PCRF entity receives described up-to-date account status information, according to the user ID of carrying in described RAR message and described up-to-date account status information, generate the second account status information report request; And
Described second account status information report request is sent to described PCRF entity; And
Receive the second account status information reporting that described PCRF entity generates according to described second account status information report request, and described second account status information reporting is forwarded to described OCS, whether the up-to-date account status information again verifying up-to-date account status information corresponding to the described user ID that comprises in described second account status information reporting corresponding with the described user ID of preserving in described OCS by described OCS is identical.
5. an account status information calibration method, is characterized in that, comprising:
Receive the first account status information report request of strategy and the transmission of execution billing function PCEF entity;
According to described first account status information report request, the first account status information reporting generated is sent to described PCEF entity; By described PCEF entity, described first account status information reporting is forwarded to Online Charging System OCS, so that whether described OCS is identical according to the up-to-date account status information that the account status information that the user ID comprised in described first account status information reporting is corresponding is corresponding with the described user ID of preserving in described OCS;
Receive described OCS when determining that the account status information comprised in described first account status information reporting is not identical with described up-to-date account status information, the up-to-date account status information that the described user ID of transmission is corresponding.
6. method as claimed in claim 5, is characterized in that, after receiving up-to-date account status information corresponding to described user ID, comprise further:
Send to described PCEF entity and re-authenticate request RAR message;
Receive the second account status information report request that described PCEF entity generates according to described RAR message;
According to the user ID of carrying in described second account status information report request, and described up-to-date account status information corresponding to described user ID generates the second account status information reporting, be sent to described PCEF entity, and by described PCEF entity, described second account status information reporting is forwarded to described OCS, whether the up-to-date account status information again verifying described second account status information reporting corresponding with the described user ID of preserving in described OCS by described OCS is identical.
7. an account status information calibration method, is characterized in that, comprising:
Receive the account status information reporting of strategy and the transmission of execution billing function PCEF entity; Wherein, described account status information reporting is obtained from strategy and billing function PCRF entity by described PCEF entity;
According to the user ID comprised in described account status information reporting, obtain the up-to-date account status information that local described user ID of preserving is corresponding; And
When the account status information that described up-to-date account status information is corresponding from the described user ID comprised in described account status information reporting is different, described up-to-date account status information is sent to described PCRF entity.
8. method as claimed in claim 7, is characterized in that, described up-to-date account status information is sent to described PCRF entity, specifically comprises:
When judging that current time exists Sy session corresponding to the described user ID set up, and described Sy session have subscribed proper account state information during when setting up, by Sy interface, described account status information reporting is sent to described PCRF entity.
9. an account status information checking device, is characterized in that, comprising:
Transmitting element, for sending the first account status information report request to strategy and billing function PCRF entity;
Receiving element, for receiving the first account status information reporting that described PCRF entity generates according to described first account status information report request;
Described transmitting element, the first account status information reporting also for being received by described receiving element is forwarded to Online Charging System OCS, when described OCS judges that account status information corresponding to the user ID that comprises in the described first account status information reporting up-to-date account status information corresponding from the described user ID of preserving in described OCS is different, described up-to-date account status information is sent to described PCRF entity.
10. device as claimed in claim 9, is characterized in that, described transmitting element, specifically for:
When receiving new data service request, according to the user ID of carrying in described new data service request, generate the first account status information report request; Or, when the mandate quota that described user ID is corresponding is finished using, generate the first account status information report request; Described first account status information report request is sent to described PCRF entity by Gx interface.
11. devices as claimed in claim 10, is characterized in that, described transmitting element, specifically for:
Described first account status information reporting is forwarded to described OCS by Gy interface.
12. devices as described in any one of claim 9-11, is characterized in that, described receiving element also for: receive the request that the re-authenticates RAR message sent after described PCRF entity receives described up-to-date account status information;
Described device also comprises generation unit, for: according to the user ID of carrying in the described RAR message that described receiving element receives and described up-to-date account status information, generate the second account status information report request;
Described transmitting element also for: the second account status information report request generated by described generation unit is sent to described PCRF entity;
Described receiving element also for: receive described PCRF entity according to described second account status information report request generate the second account status information reporting;
Described transmitting element also for: the described second account status information reporting received by described receiving element is forwarded to described OCS, and whether the up-to-date account status information again verifying up-to-date account status information corresponding to the described user ID that comprises in described second account status information reporting corresponding with the described user ID of preserving in described OCS by described OCS identical.
13. 1 kinds of account status information checking devices, is characterized in that, comprising:
Receiving element, for receiving the first account status information report request of strategy and the transmission of execution billing function PCEF entity;
Transmitting element, for the first account status information report request received according to described receiving element, is sent to described PCEF entity by the first account status information reporting generated; By described PCEF entity, described first account status information reporting is forwarded to Online Charging System OCS, so that whether described OCS is identical according to the up-to-date account status information that the account status information that the user ID comprised in described first account status information reporting is corresponding is corresponding with the described user ID of preserving in described OCS;
Described receiving element, also for receiving described OCS when determining that the account status information comprised in described first account status information reporting is not identical with described up-to-date account status information, the up-to-date account status information that the described user ID of transmission is corresponding.
14. devices as claimed in claim 13, is characterized in that, described transmitting element also for: after receiving element receives up-to-date account status information corresponding to described user ID, send to described PCEF entity and re-authenticate request RAR message;
Described receiving element also for: receive the second account status information report request that described PCEF entity generates according to described RAR message;
Described device also comprises generation unit, for: according to the user ID of carrying in described second account status information report request, and described up-to-date account status information corresponding to described user ID generates the second account status information reporting;
Described transmitting element also for: the second account status information reporting generated by described generation unit is sent to described PCEF entity, and by described PCEF entity, described second account status information reporting is forwarded to described OCS, whether the up-to-date account status information again verifying described second account status information reporting corresponding with the described user ID of preserving in described OCS by described OCS is identical.
15. 1 kinds of account status information checking devices, is characterized in that, comprising:
Receiving element, for receiving the account status information reporting of strategy and the transmission of execution billing function PCEF entity; Wherein, described account status information reporting is obtained from strategy and billing function PCRF entity by described PCEF entity;
Acquiring unit, for the user ID comprised in the account status information reporting that receives according to described receiving element, obtains the up-to-date account status information that local described user ID of preserving is corresponding;
Transmitting element, time different for the account status information corresponding from the described user ID comprised in the account status information reporting that described receiving element receives when the up-to-date account status information that described acquiring unit obtains, described up-to-date account status information is sent to described PCRF entity.
16. devices as claimed in claim 15, is characterized in that, described transmitting element, specifically for:
When current time exists Sy session corresponding to the described user ID set up, and described Sy session have subscribed proper account state information during when setting up, by Sy interface, described account status information reporting is sent to described PCRF entity.
CN201410430735.8A 2014-08-28 2014-08-28 A kind of account status information calibration method and device Active CN105450423B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410430735.8A CN105450423B (en) 2014-08-28 2014-08-28 A kind of account status information calibration method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410430735.8A CN105450423B (en) 2014-08-28 2014-08-28 A kind of account status information calibration method and device

Publications (2)

Publication Number Publication Date
CN105450423A true CN105450423A (en) 2016-03-30
CN105450423B CN105450423B (en) 2018-11-16

Family

ID=55560235

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410430735.8A Active CN105450423B (en) 2014-08-28 2014-08-28 A kind of account status information calibration method and device

Country Status (1)

Country Link
CN (1) CN105450423B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103166767A (en) * 2013-03-21 2013-06-19 华为技术有限公司 Charging and bandwidth controlling method, entities and system
US20130176908A1 (en) * 2012-01-05 2013-07-11 Tekelec, Inc. Methods, systems, and computer readable media for utilizing quota usage policy control in a diameter-based communication network
US20140064151A1 (en) * 2012-08-29 2014-03-06 Alcatel-Lucent Canada, Inc. Sy session creation and recovering from inconsistent session state between pcrf and ocs
CN103843374A (en) * 2011-10-03 2014-06-04 阿尔卡特朗讯公司 SY based integrated policy and charging control

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103843374A (en) * 2011-10-03 2014-06-04 阿尔卡特朗讯公司 SY based integrated policy and charging control
US20130176908A1 (en) * 2012-01-05 2013-07-11 Tekelec, Inc. Methods, systems, and computer readable media for utilizing quota usage policy control in a diameter-based communication network
US20140064151A1 (en) * 2012-08-29 2014-03-06 Alcatel-Lucent Canada, Inc. Sy session creation and recovering from inconsistent session state between pcrf and ocs
CN103166767A (en) * 2013-03-21 2013-06-19 华为技术有限公司 Charging and bandwidth controlling method, entities and system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
ERICSSON等: "Comparison between alternative solutions for key issue #3", 《3GPP TSG SA2 MEETING #83,TD S2-110340》 *
OPENET等: "Time Based Sy Controls", 《SA WG2 MEETING #94,S2-124639》 *

Also Published As

Publication number Publication date
CN105450423B (en) 2018-11-16

Similar Documents

Publication Publication Date Title
US11601555B2 (en) Methods and apparatuses for service layer charging correlation with underlying networks
CN107646197A (en) Small data use in 3GPP networks allows to
CN103843374B (en) Integrated strategy and charging control based on SY
CN102497379B (en) Network access method, system and equipment
US20140376412A1 (en) Method and apparatus for performing charging control to application-layer data
US10182161B2 (en) Modifying a quality of a connection between a terminal and an application server
CN105101136B (en) A kind of charging method of data service, apparatus and system
CN103957542A (en) Method and apparatus for establishing service bearer
US20170244842A1 (en) Method, system and apparatus for managing communication sessions using joint storage
CN104185138B (en) The data of mechanical type communication terminal report and handle, storage method and equipment
CN104506328B (en) LTE core network charging method, gateway device, core network element and server
EP3163795B1 (en) Charging methods, access device, and charging device
US11223492B2 (en) Wireless communication method and device
WO2017084394A1 (en) Roaming charging method, relevant apparatus, and online charging system
CN103117953B (en) A kind of QoS collocation method and equipment
US20210304215A1 (en) Adaptive m2m billing
US10326890B2 (en) Method, system and apparatus for data session management in core mobile networks
CN104254060A (en) Policy and charging control rule issuing method and equipment
CN105450423A (en) Account status information calibration method and account status information calibration device
CN108075902A (en) Addressing method, the apparatus and system of routing
CN103596166B (en) A kind of identity map method and apparatus and policy control method and system
CN112738743A (en) Business service, real-time charging method, device, edge server and charging system
US20240236831A9 (en) Network service plan selection for delivery of network services
US20240137852A1 (en) Network service plan selection for delivery of network services
US20240015250A1 (en) Method and apparatus for providing a pre-paid service in a cellular communication network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant