CN105450423B - A kind of account status information calibration method and device - Google Patents
A kind of account status information calibration method and device Download PDFInfo
- Publication number
- CN105450423B CN105450423B CN201410430735.8A CN201410430735A CN105450423B CN 105450423 B CN105450423 B CN 105450423B CN 201410430735 A CN201410430735 A CN 201410430735A CN 105450423 B CN105450423 B CN 105450423B
- Authority
- CN
- China
- Prior art keywords
- status information
- account status
- ocs
- user identifier
- report
- 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.)
- Active
Links
Landscapes
- Meter Arrangements (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a kind of account status information calibration method and devices.For solving at present in the charging process to mobile data services, there are the nonsynchronous problems of account status information saved in the account status information saved in PCRF entity and OCS.In the embodiment of the present invention, the account status information report that PCRF entity is formulated is sent to OCS by PCEF entity, it is whether accurate to verify account status information reporting according to the corresponding account status information of the user identifier for including in account status information reporting by OCS, even if PCRF entity fails to receive the changed account status information of OCS transmission, the account status information that OCS also can have found that PCRF entity locally saves in time is wrong, with the account status synchronizing information for guaranteeing the account status information saved in PCRF entity and being saved in OCS, so as to the tactful correctness formulated by ensure that PCRF entity.
Description
Technical field
The present invention relates to field of communication technology more particularly to a kind of account status information calibration methods and device.
Background technique
With the fast development of development of Mobile Internet technology, mobile terminal user can any place be easily at any time
Various applications are accessed and downloaded, greatly have stimulated the use to mobile data.In order to meet ever-increasing data service need
It asks, third generation partner program (3GPP) develops comprehensive charging and policy control framework.
In current bandwidth control program, online charging system (Online Charging Server, OCS) is to user
The information such as the set meal flow, the duration that use are recorded, and are advised when reaching the full quota and needing to adjust bandwidth from OCS to strategy and charging
Then function (Policy and Charging Rules Function, PCRF) entity notification message transmission, by PCRF entity root
Strategy is reformulated according to the account status information carried in the notification information.For example, the various data released for operator
Service package packet service, if user can order a data service package packet, which includes certain stream
Amount or duration, then when user using the flow of the set meal packet or when grow to the limit of operator's setting when, need to using the set
The bandwidth or strategy of the user of meal is adjusted.For example, certain family order one the GPRS data business moon set meal packet, initial strip
Width is 400Kbps, wherein bandwidth is lowered to the 70% of initial bandwidth when the regulation moon is more than 30GB using flow accumulation, then should
User is accumulative in family needs to user's drop bandwidth when arriving 30GB using flow.
But since OCS and PCRF entity are mutually independent functional entity, when the corresponding account status information of user
(Policy-Counter-Status) when changing, OCS notifies changed account status information to give PCRF entity,
If the communication link at this time between OCS and PCRF entity breaks down or PCRF entity breaks down, OCS can not be known
The corresponding account status information of the above-mentioned user that PCRF entity locally saves.Therefore, there are PCRF entity sheets in charging process
The nonsynchronous situation of account status information saved in the account status information and OCS that ground saves makes strategy and charging execute function
Energy (Policy and Charging Enforcement Function, PCEF) entity still becomes according to account status information
Strategy before change carries out charging, to cause operator and the loss of user.
In conclusion there are the account shapes saved in PCRF entity at present in the charging process to mobile data services
The nonsynchronous problem of account status information saved in state information and OCS.
Summary of the invention
The embodiment of the present invention provides a kind of account status information calibration method and device, to solve at present to mobile number
According in the charging process of business, there are the account status information saved in the account status information saved in PCRF entity and OCS
Nonsynchronous problem.
Specific technical solution provided in an embodiment of the present invention is as follows:
In a first aspect, a kind of account status information calibration method is provided, including:To strategy and billing function PCRF entity hair
Send the first account status information report request;It is raw according to the first account status information report request to receive the PCRF entity
At the first account status information report;And the first account status information report is forwarded to online charging system OCS, with
Toilet state OCS determine the corresponding account status information of user identifier for including in the first account status information report with it is described
When the corresponding newest account status information difference of the user identifier saved in OCS, the newest account status information is sent out
It send to the PCRF entity.
With reference to first aspect, in the first possible implementation, when receiving new data service request, according to
The user identifier carried in the new data service request generates the first account status information report request;Alternatively, when described
When the corresponding authorization quota use of user identifier finishes, the first account status information report request is generated;By first account
Status information reporting request is sent to the PCRF entity by Gx interface.
The first possible implementation with reference to first aspect, in the second possible implementation, by described first
The report of account status information is forwarded to the OCS by Gy interface.
The first possible implementation or second of possible implementation with reference to first aspect, it is possible at the third
Implementation in, receive the PCRF entity receive send after the newest account status information re-authenticate request
RAR message generates the second account according to the user identifier and the newest account status information carried in the RAR message
Status information reporting request;And the second account status information report request is sent to the PCRF entity;And it receives
The second account status information that the PCRF entity is generated according to the second account status information report request reports, and by institute
It states the report of the second account status information and is forwarded to the OCS, the second account status information is verified by the OCS again and is reported
In include the corresponding newest account status information of the user identifier and the OCS in the user identifier that saves it is corresponding
Whether newest account status information is identical.
Second aspect provides a kind of account status information calibration method, including:It receives strategy and executes billing function PCEF
The first account status information report request that entity is sent;According to the first account status information report request, by generation
The report of first account status information is sent to the PCEF entity;By the PCEF entity by the first account status information report
Announcement is forwarded to online charging system OCS, so that the OCS judges the user's mark for including in the first account status information report
Know the corresponding newest account status information of the user identifier saved in corresponding account status information and the OCS whether phase
Together;The OCS is received when determining the first account status information report and the not identical newest account status information,
The corresponding newest account status information of the user identifier sent.
It is in the first possible implementation, corresponding newest when receiving the user identifier in conjunction with second aspect
After account status information, request RAR message is re-authenticated to PCEF entity transmission;The PCEF entity is received according to institute
State the second account status information report request of RAR message generation;It is taken according in the second account status information report request
The user identifier of band and the corresponding newest account status information of the user identifier generate the second account status information report
It accuses, is sent to the PCEF entity, and by the PCEF entity be forwarded to the second account status information report described
OCS verifies the user identifier pair saved in the second account status information report and the OCS by the OCS again
Whether the newest account status information answered is identical.
In conjunction with the third aspect, a kind of account status information calibration method is provided, including:It receives strategy and executes billing function
The account status information report that PCEF entity is sent;Wherein, account status information report is by the PCEF entity from strategy
And billing function PCRF entity obtains;According to the user identifier for including in account status information report, local save is obtained
The corresponding newest account status information of the user identifier;And when the newest account status information and the account status are believed
It, will the newest account status information transmission when the corresponding account status information difference of the user identifier for including in breath report
To the PCRF entity.
In conjunction with the third aspect, in the first possible implementation, there is the institute having built up when judgement current time
The corresponding Sy session of user identifier is stated, and when the Sy session has had subscribed proper account status information when establishing, led to
It crosses Sy interface and account status information report is sent to the PCRF entity.
Fourth aspect provides a kind of account status information checking device, including:Transmission unit is used for strategy and charging
Function PCRF entity sends the first account status information report request;Receiving unit, for receiving the PCRF entity according to institute
State the first account status information report of the first account status information report request generation;The transmission unit is also used to institute
It states the first account status information report that receiving unit receives and is forwarded to online charging system OCS, so that the OCS determines institute
It states the corresponding account status information of user identifier for including in the report of the first account status information and is saved in the OCS described
When the corresponding newest account status information difference of user identifier, it is real that the newest account status information is sent to the PCRF
Body.
In conjunction with fourth aspect, in the first possible implementation, the transmission unit is specifically used for:When receiving
When new data service request, according to the user identifier carried in the new data service request, the first account status is generated
Information report request;Alternatively, generating the first account status information when the corresponding authorization quota use of the user identifier finishes
Report request;The first account status information report request is sent to the PCRF entity by Gx interface.
The first possible implementation in conjunction with fourth aspect, in the second possible implementation, the transmission are single
Member is specifically used for:The first account status information is reported, the OCS is forwarded to by Gy interface.
The first possible implementation or second of possible implementation in conjunction with fourth aspect, it is possible at the third
Implementation in, the receiving unit is also used to:Receive the PCRF entity receive the newest account status information it
What is sent afterwards re-authenticates request RAR message.
The third possible implementation in conjunction with fourth aspect further includes in the fourth possible implementation generating
Unit is used for:The user identifier and the newest account carried in the RAR message received according to the receiving unit
Status information generates the second account status information report request.
In conjunction with the 4th kind of possible implementation of fourth aspect, in a fifth possible implementation, the transmission is single
Member is used for:The second account status information report request that the generation unit is generated is sent to the PCRF entity.
In conjunction with the 5th kind of possible implementation of fourth aspect, in a sixth possible implementation, the reception is single
Member is used for:The PCRF entity is received to be believed according to the second account status that the second account status information report request generates
Breath report.
In conjunction with the 6th kind of possible implementation of fourth aspect, in the 7th kind of possible implementation, the transmission is single
Member is used for:The second account status information report that the receiving unit receives is forwarded to the OCS, by the OCS
Again verify the corresponding newest account status information of the user identifier that includes in the second account status information report with
Whether the corresponding newest account status information of the user identifier saved in the OCS is identical.
5th aspect, a kind of account status information checking device, including:Receiving unit, based on receiving strategy and executing
Take the first account status information report request of function PCEF entity transmission;Transmission unit, for being connect according to the receiving unit
It is real to be sent to the PCEF by the first account status information report request received for the first account status information report of generation
Body;The first account status information report is forwarded to online charging system OCS by the PCEF entity, so as to the OCS
Judge the corresponding account status information of user identifier for including in the first account status information report and is saved in the OCS
The corresponding newest account status information of the user identifier it is whether identical;The receiving unit, for receiving the OCS true
When making the first account status information report and the not identical newest account status information, the user identifier of transmission
Corresponding newest account status information.
In conjunction with the 5th aspect, in the first possible implementation, the transmission unit is also used to:Work as receiving unit
After receiving the corresponding newest account status information of the user identifier, request is re-authenticated to PCEF entity transmission
RAR message.
In conjunction with the first possible implementation of the 5th aspect, in the second possible implementation, the reception
Unit is also used to:Receive the second account status information report request that the PCEF entity is generated according to the RAR message.
It further include generating in the third possible implementation in conjunction with the 5th second of possible implementation of aspect
Unit is used for:According to the user identifier and the user identifier pair carried in the second account status information report request
The newest account status information answered generates the report of the second account status information.
In conjunction with the 5th aspect the third possible implementation, in a sixth possible implementation, transmissions is singly
Member is also used to:The second account status information report that the generation unit generates is sent to the PCEF entity, and by described
Second account status information report is forwarded to the OCS by PCEF entity, verifies second account again by the OCS
Whether the corresponding newest account status information of the user identifier saved in status information reporting and the OCS is identical.
6th aspect, provides a kind of account status information checking device, including:Receiving unit, for receiving strategy and holding
The account status information report that row billing function PCEF entity is sent;Wherein, the account status information report is by the PCEF
Entity is obtained from strategy and billing function PCRF entity;Acquiring unit, the account shape for being received according to the receiving unit
The user identifier for including in the report of state information, obtains the corresponding newest account status information of the user identifier locally saved;
Transmission unit, the account shape that newest account status information and the receiving unit for obtaining when the acquiring unit receive
When the corresponding account status information difference of the user identifier for including in the report of state information, by the newest account status information
It is sent to the PCRF entity.
In conjunction with the 6th aspect, in the first possible implementation, the transmission unit is specifically used for:When current
The corresponding Sy session of the user identifier for existing and having built up is carved, and the Sy session has had subscribed accordingly when establishing
When account status information, account status information report is sent to by the PCRF entity by Sy interface.
In the embodiment of the present invention, when PCRF entity receive PCEF entity transmission account status information report request,
The account status information locally saved report is sent to PCEF entity by PCRF entity, by PCEF entity by account status information
Report is forwarded to OCS;OCS judges account status information report according to the account status information for including in account status information reporting
It whether correct accuses.Using technical solution of the present invention, the account status information report hair for being formulated PCRF entity by PCEF entity
It send to OCS, it is whether accurate by OCS verification account status information reporting, even if PCRF entity fails to receive the hair of OCS transmission
The account status information for changing, the account status information that OCS also can have found that PCRF entity locally saves in time is wrong, to guarantee
The account status synchronizing information saved in the account status information and OCS saved in PCRF entity, so as to by ensure that PCRF
The correctness for the strategy that entity is formulated.
Detailed description of the invention
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 during account status information checking 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 schematic diagram in the embodiment of the present invention.
Specific embodiment
In order to solve at present in the charging process to mobile data services, there are the account status saved in PCRF entity
The nonsynchronous problem of account status information saved in information and OCS.In the embodiment of the present invention, PCEF entity is by PCRF entity system
Fixed account status information report is sent to OCS, corresponding according to the user identifier for including in account status information reporting by OCS
Account status information it is whether accurate to verify account status information reporting, even if PCRF entity fails to receive OCS transmission
Changed account status information, the account status information that OCS also can have found that PCRF entity locally saves in time is wrong, with
The account status synchronizing information for guaranteeing the account status information saved in PCRF entity and being saved in OCS, so as to by ensure that
The correctness for the strategy that PCRF entity is formulated.
As shown in fig.1, the charge system includes that user sets for charge system configuration diagram in the embodiment of the present invention
Standby, PCEF entity, PCRF entity and OCS.Wherein, it is connected between PCEF entity and PCRF entity by Gx interface, PCRF entity
It is connected between OCS by Sy interface, is connected between OCS and PCEF entity by Gy interface.Specifically:
The corresponding user of user equipment is online charging user, which has subscribed certain resource in OCS;
PCRF entity is responsible for decision and authorization, according to carrier policy, user contracting data, the ongoing industry of user
The factors such as information of being engaged in and the information of user access network, formulate corresponding strategy, which is known as strategy and charging control
(Policy and Charging Control, PCC) rule.The PCC rule is sent to PCEF entity by PCRF entity, thus
Realize the control to business data flow;
PCEF entity implementation strategy and charge execution function realize detection, strategy execution and base comprising business data flow
In the billing function of stream.The functional entity is located at gateway, such as general packet radio service technology (General
PacketRadio Service, GPRS) Gateway GPRS Support Node (Gateway GPRS SupportNode, GGSN) net
Pass, packet data gateway (PDN GW, P-GW) of evolution group center (Evolved Packet Core, EPC) etc., can also be only
Vertical deployment;
OCS provides the credit control function based on user and business data flow.Mainly by online acquisition, charging control, batch
The module compositions such as valence, management of balance realize online charging function, and other charging network element equipment is cooperated to carry out real-time call control
System;
Gy interface completes PCEF entity to the online charging between OCS, online charging function be to provided business into
Row real time billing;
Sy interface is for PCRF entity when carrying out strategic decision-making to the Spending Limit (spending of OCS request user
limit).PCRF entity is subscribed to using policy counter name, and OCS is reported according to the subscription.
In above-mentioned charge system, PCEF entity is the user's application for carrying out data service to OCS by Gy interface in real time
Quota, OCS according to above-mentioned user identifier account amount of money corresponding with the user identifier will decide whether that the user is allowed to divide
Group data service carries out the real time down of user's quota to PCEF entity when allowing the user to be grouped data service.
OCS real-time tracking user identifier is to the service condition (data business volume) of ordered resource, in real time from the corresponding account of user identifier
Current cost of use is deducted in family, and is issued to PCRF according to the corresponding account status information of preset rules change user identifier
Entity formulates new policy distribution to PCEF entity according to the corresponding account status information of above-mentioned user identifier by PCRF entity;
Business is terminated when the fund in user account is used up or related prompt is carried out to user.
With reference to the accompanying drawings of the specification, the embodiment of the present invention is described in further detail.
As shown in fig.2, the report of account status information is forwarded to OCS by PCEF entity in the embodiment of the present invention, by
OCS carry out account status information checking process be:
Step 200:The first account status information report request is sent to PCRF entity.
In the embodiment of the present invention, when PCEF entity receives new data service request, i.e., according to above-mentioned new data
The user identifier carried in service request generates the first account status information report request;Alternatively, when PCEF entity determines arbitrarily
When the corresponding authorization quota use of one user identifier finishes, i.e., according to any one user identifier, generate the first account status letter
Cease report request;And the first account status information report request is sent to PCRF entity by Gx interface.Wherein, above-mentioned
One account status information report request can be by existing 3GPP about the credit control request in charge system related protocol
(Credit Control Request, CCR) message is realized.
By adopting the above technical scheme, current Gx interface is improved, Gx interface is enable to transmit account status information
Report, to extend the function of Gx interface.
Step 210:Receive the first account shape that PCRF entity is generated according to above-mentioned first account status information report request
The report of state information.
In the embodiment of the present invention, when PCRF entity receives the first account status information report request of PCEF entity transmission
When, i.e., according to the user identifier for including in the first account status information report request, obtain the user identifier locally saved
Corresponding account status information (Counter status), and the first account status information report is generated according to account status information
It accuses, and the first account status information report is sent to PCEF reality by the Gx interface between PCRF entity and PCEF entity
Body.Wherein, above-mentioned account status information is typically expressed as the corresponding Counter state of user identifier, generallys use Policy-
Counter-status=n indicates that n is to indicate Counter status information, and PCRF formulates the user according to the account book version number and marks
Know corresponding strategy;Also, the strategy includes the corresponding bandwidth of current time user identifier and expense and account status information
Report.
Optionally, above-mentioned account status information report may be embodied in tactful (PCC), and pass through existing charge system
In CCA message bearing.
Step 220:By it is above-mentioned state the first account status information report be forwarded to OCS, so that OCS determines the first account shape
The user identifier saved in the corresponding account status information of user identifier and OCS for including in the report of state information is corresponding newest
When account status information difference, above-mentioned newest account status information is sent to PCRF entity.
In the embodiment of the present invention, when PCEF entity receives the first account status information report of PCRF entity transmission,
Reported that the Gy interface between PCEF entity and OCS was sent to OCS for the first account status information;OCS receive this first
After the report of account status information, i.e., according to the user identifier for including in the first account status information report, locally looked into from OCS
The corresponding newest account status information of the user identifier is looked for, when the newest account status information and the first account status information are reported
In include account status information it is identical when, that is, illustrate the corresponding newest account status information of the user identifier saved in OCS with
The corresponding account status synchronizing information of the user identifier saved in PCRF entity, at this point, PCEF entity executes above-mentioned PCRF reality
The first account status information report that body issues;When the newest account status information and the first account status information report in include
Account status information difference when, that is, illustrate that the corresponding newest account status information of the user identifier saved in OCS and PCRF are real
The corresponding account status information of the user identifier saved in body is asynchronous, at this point, if having built up between OCS and PCRF entity
Sy session, and the corresponding account status information of user identifier has been had subscribed when establishing Sy session, then OCS marks above-mentioned user
Know corresponding newest account status information and PCRF entity is sent to by the Sy interface between OCS and PCRF entity.Wherein, above-mentioned
The first account status information that PCEF entity is sent to OCS reports the charge system Signalling exchange that can be formulated by existing 3GPP
Charging application (CCR) message in agreement is carried.
Further, after PCRF entity receives above-mentioned user identifier corresponding newest account status information, PCEF
What entity reception PCRF entity was sent re-authenticates request (Re-Auth-Request, RAR) message, raw according to the RAR message
At the second account status information report request;And the second account status information report request is sent to PCRF entity;PCRF
Entity obtains the above-mentioned user mark locally saved according to the user identifier for including in above-mentioned second account status information report request
Know corresponding newest account status information, the second account status is generated according to the corresponding latest edition status information of the user identifier
Information report, and the second account status information report is sent to PCEF entity;PCEF entity is by above-mentioned second account status
Information report is forwarded to OCS by Gy interface, whether correct verifies above-mentioned second account status information report again by OCS;If
It is incorrect, then the corresponding newest account status information of user identifier is sent to again by PCRF entity by OCS, until protecting in OCS
The user identifier saved in the corresponding newest account status information of the user identifier deposited and PCRF entity corresponding account status letter
Breath synchronizes.
Optionally, the account status information report that above-mentioned PCRF entity is sent to PCEF entity can be by the inclusion of following ginseng
Several signalings is realized:
Wherein, Policy-Counter-Identifier indicates user identifier, and Policy-Counter-Status is indicated
Account status information;Pending-Policy-Counter-Information indicates consumption status information, Pending-
Policy-Counter-Change-Time indicates the time come into force and consumption status correspondence relationship information, i.e., when received letter of acceptance
Between after, switch to the entry-into-force time corresponding consumption status.
By adopting the above technical scheme, Gy interface is improved, Gy interface is enable to transmit comprising account status information
Account status information report, to effectively extend the function of Gy interface;Also, PCRF entity is locally protected by PCEF entity
The account status information deposited is sent to OCS, avoids due to the link intermittent defect or PCRF between OCS and PCRF entity
PCRF entity caused by entity overload etc. can not make the problem of strategy according to newest account status information, ensure that OCS
The account status synchronizing information saved in the account status information and PCRF entity of middle preservation ensures that PCRF entity is formulated
Strategy accuracy and PCEF entity be able to carry out correct strategy, and then ensure that operator and the interests of user.
Further, when the corresponding newest account status information of the user identifier saved in OCS and PCRF entity are locally protected
The corresponding account status information of the user identifier deposited is identical, i.e. when the strategy that PCRF is formulated is correct, it is real that PCEF entity executes PCRF
The fixed strategy of system.
As shown in fig.3, the strategy notice locally formulated is carried out school to OCS by PCRF entity in the embodiment of the present invention
The process tested is:
Step 300:Receive the first account status information report request that PCEF entity is sent.
In the embodiment of the present invention, PCRF entity receives the first account status information report that PCEF entity is sent by Gx interface
Accuse request, wherein include user identifier in the first account status information report request.
Step 310:According to above-mentioned first account status information report request, generates the report of the first account status information and send
To PCEF entity;The first account status information report is forwarded to OCS by PCEF entity, so that OCS is according to first account
The user identifier saved in the corresponding account status information of the user identifier for including in status information reporting and OCS is corresponding most
Whether New Account status information is identical.
In the embodiment of the present invention, PCRF entity according to the user identifier carried in the first account status information report request,
From locally obtaining the corresponding account status information of the user identifier locally saved, and first is generated according to account status information
The report of account status information, and the first account status information is reported and is connect by the Gx between PCRF entity and PCEF entity
Mouth is sent to PCEF entity;And the report of above-mentioned first account status information is sent to OCS by PCEF entity, it should by OCS verification
Whether the report of the first account status information is correct.
Optionally, it is wrapped when in the corresponding newest account status information of the above-mentioned user identifier saved in OCS and the first strategy
When the account status information contained is identical, indicate that the report of the first account status information is correct;When the above-mentioned user identifier saved in OCS
When the account status information difference for including in corresponding newest account status information and the report of the first account status information, the is indicated
One account status information reports mistake.
Optionally, the account status information report that above-mentioned PCRF entity is sent to PCEF entity can be by the inclusion of following ginseng
Several signalings is realized:
Wherein, Policy-Counter-Identifier indicates user identifier, and Policy-Counter-Status is indicated
Account status information;Pending-Policy-Counter-Information indicates consumption status information, Pending-
Policy-Counter-Change-Time indicates the time come into force and consumption status correspondence relationship information, i.e., when received letter of acceptance
Between after, switch to the entry-into-force time corresponding consumption status.
It by adopting the above technical scheme, will be in the corresponding account status information of the user identifier that saved in PCRF entity and OCS
The corresponding account status information of the user identifier saved is compared, and judge to save in PCRF entity according to comparison result
Whether the corresponding account status information of user identifier is correct, and then determines whether just PCRF entity is issued to the strategy of PCEF entity
Really, the user identifier saved in the corresponding account status information of the user identifier saved in PCRF entity and OCS is therefore ensured that
Corresponding account status synchronizing information, to ensure that PCRF entity is issued to the corresponding strategy of the user identifier of PCEF entity
Correctly, the interests of user and operator is made not to be damaged.
Step 320:Receive OCS determine the first account status information report in include account status information with it is newest
When account status information is not identical, the corresponding newest account status information of the user identifier of transmission.
In the embodiment of the present invention, when the account status information for including in OCS judgement the first account status information report and most
When New Account status information is not identical, i.e., include into PCRF entity transmission OCS by the Sy interface between OCS and PCRF entity
The corresponding newest account status information of above-mentioned user identifier.
Further, when PCRF entity receives the corresponding newest account status information of user identifier that above-mentioned OCS is sent
Later, RAR message is sent to PCEF entity, instruction PCEF entity is re-authenticated;PCEF entity is according to the RAR message
The user identifier of middle carrying and the corresponding newest account status information of the user identifier generate the report of the second account status information
Request is sent to PCRF entity;PCRF entity according to the user identifier carried in the second account status information report request, from
It is local to obtain the corresponding newest account status information of user identifier, and according to the corresponding newest account status information of the user identifier
The report of the second account status information is generated, PCEF entity is sent to;PCEF entity passes through the second account status information report
Gy interface between PCEF entity and OCS is forwarded to OCS, is verified by OCS and is wrapped in above-mentioned second account status information report again
Whether the corresponding latest version information of the user identifier contained is correct.If the user identifier for including in the report of the second account status information
Corresponding latest version information is still incorrect, then the corresponding newest account status information of user identifier is sent to by OCS again
PCRF entity, until the user saved in the corresponding newest account status information of user identifier and PCRF entity that are saved in OCS
Identify corresponding account status synchronizing information.
By adopting the above technical scheme, the account status information that PCRF entity locally saves is sent to by PCEF entity
OCS avoids the PCRF as caused by the link intermittent defect or PCRF entity overload etc. between OCS and PCRF entity
Entity can not make the problem of strategy according to newest account status information, ensure that the account status information that is saved in OCS with
The account status synchronizing information saved in PCRF entity ensures that the accuracy for the strategy that PCRF entity is formulated, and
PCEF entity is able to carry out correct strategy, and then ensure that operator and the interests of user.
As shown in fig.4, in the embodiment of the present invention, the process by the account status information of the OCS verification local PCRF is:
Step 400:Receive the account status information report that PCEF entity is sent.
In the embodiment of the present invention, OCS passes through the account that the Gy interface PCEF entity between PCEF entity and OCS is sent
Status information reporting;Wherein, in the strategy (PCC) that account status information reporting can be sent by PCRF entity for PCEF entity
The content of acquisition can be sent directly to PCEF entity for PCRF entity.
By adopting the above technical scheme, Gy interface is improved, Gy interface is enable to transmit comprising account status information
Account status information report, to effectively extend the function of Gy interface.
Step 410:According to the user identifier for including in the report of above-mentioned account status information, the user locally saved is obtained
Identify corresponding newest account status information.
In the embodiment of the present invention, OCS locally preserves multiple user identifiers and the corresponding account of each user identifier
Status information;When OCS receives the account status information report of PCEF transmission, i.e., account shape is obtained from all user identifiers
The corresponding newest account status information of user identifier for including in the report of state information.Wherein, account status information can be use
Family identifies corresponding account version number, generallys use Policy-Counter-status=n expression, and n is to indicate Counter shape
State information.
Step 420:When the user identifier for including in above-mentioned newest account status information and the report of above-mentioned account status information
When corresponding account status information difference, above-mentioned newest account status information report is sent to PCRF entity.
In the embodiment of the present invention, the OCS corresponding newest account status information of above-mentioned user identifier that locally obtains of judgement with
Whether the corresponding account status information of the user identifier for including in the report of account status information is identical;When above-mentioned user identifier pair
When the account status information answered and the identical account status information for including in the report of above-mentioned account status information, above-mentioned account is indicated
Status information reporting is correct;When in the corresponding newest account status information of above-mentioned user identifier and the report of above-mentioned account status information
When the account status information difference for including, above-mentioned account status information report mistake is indicated.
Optionally, it is wrapped when in the corresponding newest account status information of above-mentioned user identifier and the report of above-mentioned account status information
The account status information contained is different, i.e., when the strategy that above-mentioned PCRF is formulated is wrong, judges that current time whether there is and have built up
The corresponding Sy session of above-mentioned user identifier (Sy Session), and whether the Sy session has had subscribed accordingly when establishing
Account status information;There is the corresponding Sy session of above-mentioned user identifier (Sy Session) having built up when current time, and
And the Sy session passes through the Sy interface between OCS and PCRF entity when having had subscribed proper account status information when establishing
The corresponding newest account status information of above-mentioned user identifier is sent to PCRF entity;Otherwise, OCS waits PCRF entity to establish Sy
The above process is executed after session.
Optionally, request (Spending-Limit-Request, SLR) message bearing PCRF reality can be limited by consumption
Whether body has had subscribed proper account status information when establishing in the corresponding Sy session of user identifier.In above-mentioned user identifier
Pass through consumption limitation response (Spending-Limit-Acknowledge, SNR) message bearing user in corresponding Sy session
Identify corresponding newest account status information.
By adopting the above technical scheme, the account status information report that PCRF entity generates is forwarded to by PCEF entity
OCS verifies the corresponding account status information of user identifier for including in the report of above-mentioned account status information by OCS, from
And it is real to avoid the PCRF as caused by the link intermittent defect or PCRF entity overload etc. between OCS and PCRF entity
Body can not make the problem of strategy according to newest account status information, ensure that the account status information that is saved in OCS with
The account status synchronizing information saved in PCRF entity ensures that PCEF entity is able to carry out correct strategy, Jin Erbao
The interests of Zheng Liao operator and user.
Based on the above-mentioned technical proposal, as shown in fig.5, in the embodiment of the present invention, in charge system between each entity
Signalling interactive process is:
Step 500:When PCEF entity detects the corresponding new data service request of any one user identifier, pass through Gx
Interface sends the first Gx CCR message to PCRF entity.
When the charge system Signalling exchange agreement formulated with existing 3GPP is corresponding, above-mentioned first Gx CCR message can be with
It is expressed as the first Gx:CCR-U.
Step 501:The first Gx CCR message that PCRF entity is sent according to PCEF entity generates the first Gx diameter credit control and rings
(Credit Control Acknowledge, CCA) message is answered to be sent to PCEF entity by Gx interface.
When the charge system Signalling exchange agreement formulated with existing 3GPP is corresponding, above-mentioned first Gx diameter credit control response
Message (CCA) can be expressed as the first Gx:CCA-U.
The corresponding plan of above-mentioned user identifier that PCRF is formulated is carried in the embodiment of the present invention, in above-mentioned first Gx CCA message
It slightly, include the corresponding account status information of user identifier in the strategy.Wherein, above-mentioned user identifier can pass through Policy
Counter name=a indicates that a is user identifier, if a is 01;Above-mentioned account status information can pass through Policy
Counter Status=n indicates that n indicates counter status information, such as n=2.
Step 502:After PCEF entity receives the first Gx CCA message, the corresponding account status letter of user identifier is obtained
Breath generates the first Gy CCR message, is sent to OCS by Gy interface.
In the embodiment of the present invention, the corresponding account status letter of above-mentioned user identifier is carried in above-mentioned first Gy CCR message
Breath.When the charge system Signalling exchange agreement formulated with existing 3GPP to it is corresponding when the first Gy CCR message can be expressed as Gy:
CCR-U。
Step 503:OCS sends the first Gy CCA message to PCEF entity by Gy interface.
When the charge system Signalling exchange agreement formulated with existing 3GPP to it is corresponding when above-mentioned first Gy CCR message can be with table
It is shown as Gy:CCA-U.
Step 504:OCS determine the corresponding account status information of user identifier carried in above-mentioned first Gy CCR message with
It is corresponding newest according to above-mentioned user identifier when the corresponding newest account status information difference of the user identifier that OCS is locally saved
Account status information generates SNR message, is sent to PCRF entity by Sy interface.
In the embodiment of the present invention, OCS obtains the user identifier carried in the first Gy CCR message, such as Policy Counter
Name=01 searches the corresponding newest account shape of user identifier that user identifier is 01 from all user identifiers locally saved
State information, and the corresponding account status of the user identifier carried in the newest account status information and the first Gy CCR message is believed
Breath is compared, if it is different, the corresponding newest account status information of the user identifier is then sent to PCRF entity.For example,
When Policy Counter name=01, the corresponding newest account status information of the user identifier 01 saved in OCS is Policy
Counter Status=3, and the corresponding account status information of user identifier carried in the first Gy CCR message is Policy
Counter Status=2, at this point, OCS is by corresponding newest account status information (the Policy Counter of user identifier 01
Status=3) it is sent to PCRF entity.
Step 505:PCRF entity according to the corresponding newest account status information of the user identifier carried in the SNR message,
The corresponding new strategy of user identifier is generated, and generates SNA message and OCS is sent to respond above-mentioned SNR message by Sy interface.
Step 506:PCRF entity sends RAR message to PCEF entity by Gx interface.
When the charge system Signalling exchange agreement formulated with existing 3GPP to it is corresponding when above-mentioned RAR message can be expressed as Gx:
RAR。
Step 507:PCEF entity re-authenticates response (RAA) message according to the generation of above-mentioned RAR message and is sent out by Gx interface
It send to PCRF entity.
When the charge system Signalling exchange agreement formulated with existing 3GPP to it is corresponding when above-mentioned RAA message can be expressed as Gx:
RAA。
Step 508:PCEF entity sends the 2nd Gx CCR message to PCRF entity by Gx interface.
Step 509:It is logical to generate the 2nd Gx CCA message for the 2nd Gx CCR message that PCRF entity is sent according to PCEF entity
It crosses Gx interface and is sent to PCEF entity.
The corresponding new strategy of user identifier, the new strategy are carried in the embodiment of the present invention, in the 2nd Gx CCA Messages Message
In include the corresponding newest account status information of user identifier.
Step 510:PCEF entity executes the corresponding new strategy of above-mentioned user identifier, and the newest account status information is added
It adds to the 2nd Gy CCR message and OCS is sent to by Gy interface.
When the charge system Signalling exchange agreement formulated with existing 3GPP to it is corresponding when above-mentioned 2nd Gy CCR message can be with table
It is shown as the 2nd Gy:CCR-U.
Step 511:OCS verify the corresponding account status information of user identifier that is carried in above-mentioned 2nd Gy CCR message with
When the corresponding account status information of the above-mentioned user identifier saved in OCS is identical, to the 2nd Gy CCA message of PCRF Entity feedback.
When the charge system Signalling exchange agreement formulated with existing 3GPP to it is corresponding when above-mentioned second charge response message can be with
It is expressed as the 2nd Gy:CCA-U.
By adopting the above technical scheme, increase account status information checking mechanism in existing charge system, as OCS and PCRF
The corresponding account of any one user identifier that the larger untreated OCS of link failure or PCRF entity load between entity is sent
When status information, avoid PCRF entity will the corresponding original account status information of any one user identifier be sent to PCEF,
To ensure that the user identifier pair saved in the corresponding account status information of the user identifier saved in PCRF entity and OCS
The account status synchronizing information answered, the strategy newest account status information corresponding with user identifier for formulating PCRF entity
Match, and then ensure that operator and the interests of user;Also, using what is formulated in existing 3GPP charge system Signalling exchange agreement
Signaling carries out the transmission of signaling in above-mentioned checking procedure, convenient for the realization of checking procedure.
Based on the above-mentioned technical proposal, as shown in fig.6, the embodiment of the present invention also provides a kind of account status information checking dress
It sets, including transmission unit 60 and receiving unit 61, wherein:
Transmission unit 60, for sending the first account status information report request to PCRF entity;
Receiving unit 61 is generated according to the first account status information report request for receiving the PCRF entity
The report of first account status information;
Transmission unit 60, the first account status information report for being also used to receive the receiving unit 61 are forwarded to
OCS, so that the OCS determines the corresponding account status information of user identifier for including in the first account status information report
When newest account status information difference corresponding with the user identifier saved in the OCS, by the newest account status
Information is sent to the PCRF entity.
Optionally, the transmission unit 60, is specifically used for:When receiving new data service request, according to described new
Data service request in the user identifier that carries, generate the first account status information report request;Alternatively, when the user marks
When knowing corresponding authorization quota use and finishing, the first account status information report request is generated;First account status is believed
It ceases report request and the PCRF entity is sent to by Gx interface.
Optionally, the transmission unit 60, is specifically used for:First account status information report is turned by Gy interface
It is sent to the OCS.
Optionally, the receiving unit 61, is also used to:It receives the PCRF entity and receives the newest account status letter
The RAR message sent after breath.
Further, above-mentioned apparatus further includes generation unit 62, is used for:Described in being received according to the receiving unit 61
The user identifier and the newest account status information carried in RAR message generates the second account status information report request.
Optionally, the transmission unit 60, is used for:The second account status information report that the generation unit 62 is generated
Request is sent to the PCRF entity.
Optionally, the receiving unit 61, is used for:The PCRF entity is received according to the second account status information report
Accuse the second account status information report that request generates.
Optionally, the transmission unit 60, is used for:Second account status letter that the receiving unit 61 is received
Breath report is forwarded to the OCS, verifies the user for including in the second account status information report again by the OCS
Identify the corresponding newest account status information of the user identifier saved in corresponding newest account status information and the OCS
It is whether identical.
Based on the above-mentioned technical proposal, as shown in fig.7, the embodiment of the present invention also provides a kind of account status information checking dress
It sets, including receiving unit 70 and transmission unit 71, wherein:
Receiving unit 70, for receiving the first account status information report request of PCEF entity transmission;
Transmission unit 71, the first account status information report request for being received according to the receiving unit 70 will
The the first account status information report generated is sent to the PCEF entity;By the PCEF entity by first account status
Information report is forwarded to OCS, so that the OCS judges that the user identifier for including in the first account status information report is corresponding
Account status information and the OCS in the corresponding newest account status information of the user identifier that saves it is whether identical;
The receiving unit 70, for receive the OCS determine the first account status information report with it is described
When newest account status information is not identical, the corresponding newest account status information of the user identifier of transmission.
Optionally, the transmission unit 71, is also used to:When to receive the user identifier corresponding newest for receiving unit 70
After account status information, RAR message is sent to the PCEF entity.
Optionally, the receiving unit 70, is also used to:Receive the PCEF entity is generated according to the RAR message
Two account status information report requests.
Optionally, above-mentioned apparatus further includes generation unit 72, is used for:According to the second account status information report request
The user identifier of middle carrying and the corresponding newest account status information of the user identifier generate the second account status letter
Breath report.
Optionally, the transmission unit 71, is also used to:The second account status information report that the generation unit 72 is generated
Announcement is sent to the PCEF entity, and the second account status information report is forwarded to the OCS by the PCEF entity,
It is corresponding with the user identifier saved in the OCS that the second account status information report is verified by the OCS again
Whether newest account status information is identical.
Based on the above-mentioned technical proposal, as shown in fig.8, the embodiment of the present invention provides a kind of account status information checking dress
It sets, including receiving unit 80, acquiring unit 81 and transmission unit 82, wherein:
Receiving unit 80, for receiving the account status information report of PCEF entity transmission;Wherein, the account status letter
Breath report is obtained by the PCEF entity from strategy and billing function PCRF entity;
Acquiring unit 81, for being received according to the receiving unit 80 account status information report in include user
Mark obtains the corresponding newest account status information of the user identifier locally saved;
Transmission unit 82, newest account status information and the receiving unit 80 for being obtained when the acquiring unit 81
When the corresponding account status information difference of the user identifier for including in the account status information report received, will it is described most
New Account status information is sent to the PCRF entity.
Optionally, the transmission unit 82, is specifically used for:There is the user identifier pair having built up when current time
The Sy session answered, and when the Sy session has had subscribed proper account status information when establishing, by Sy interface by institute
It states the report of account status information and is sent to the PCRF entity.
Based on the above-mentioned technical proposal, as shown in fig.9, the embodiment of the present invention also provides a kind of PCEF entity, including transmitting-receiving
Device 90 and processor 91, wherein:
Transceiver 90, for sending the first account status information report request to PCRF entity;
Transceiver 90 is also used to receive what the PCRF entity was generated according to the first account status information report request
The report of first account status information, and the first account status information report is forwarded to OCS, so as to OCS judgement
The corresponding account status information of user identifier for including in the first account status information report and the institute saved in the OCS
When stating the corresponding newest account status information difference of user identifier, it is real that the newest account status information is sent to the PCRF
Body.
Optionally, transceiver 90 are specifically used for:When receiving new data service request, according to the new data
The user identifier carried in service request generates the first account status information report request;Alternatively, when the user identifier is corresponding
Authorization quota use when finishing, generate the first account status information report request;The first account status information is reported
Request is sent to the PCRF entity by Gx interface.
Optionally, transceiver 90 are specifically used for:The first account status information is reported, institute is forwarded to by Gy interface
State OCS.
Optionally, transceiver 90 are also used to:It receives after the PCRF entity receives the newest account status information
The RAR message of transmission.
Further, processor 91 are used for:The use carried in the RAR message received according to the transceiver 90
Family mark and the newest account status information, generate the second account status information report request.
Optionally, transceiver 90 are used for:The second account status information report request that the processor 91 is generated is sent
To the PCRF entity.
Optionally, transceiver 90 are used for:The PCRF entity is received according to the second account status information report request
The the second account status information report generated, and the second account status information report is forwarded to the OCS, by described
OCS verifies the corresponding newest account status information of the user identifier for including in the second account status information report again
Whether newest account status information corresponding with the user identifier saved in the OCS is identical.
Based on the above-mentioned technical proposal, as shown in fig.10, the embodiment of the present invention also provides a kind of PCRF, including transceiver
100 and processor 101, wherein:
Transceiver 100, for receiving the first account status information report request of PCEF entity transmission;
Transceiver 100, for according to the first account status information report request, the first account status of generation to be believed
Breath report is sent to the PCEF entity;The first account status information report is forwarded to OCS by the PCEF entity, with
Toilet state OCS judge the corresponding account status information of user identifier for including in the first account status information report with it is described
Whether the corresponding newest account status information of the user identifier saved in OCS is identical;
Transceiver 100, be also used to receive the OCS determine the first account status information report with it is described newest
When account status information is not identical, the corresponding newest account status information of the user identifier of transmission.
Optionally, transceiver 100 are also used to:When receive the corresponding newest account status information of the user identifier it
Afterwards, RAR message is sent to the PCEF entity.
Optionally, transceiver 100 are also used to:Receive the second account that the PCEF entity is generated according to the RAR message
Status information reporting request.
Optionally, processor 101 are used for:According to the user's mark carried in the second account status information report request
Know and the corresponding newest account status information of the user identifier generates the report of the second account status information.
Optionally, transceiver 100 are also used to:The second account status information report that the processor 101 is generated is sent
The extremely PCEF entity, and the second account status information report is forwarded to the OCS by the PCEF entity, by described
OCS verifies the second account status information again and reports newest account corresponding with the user identifier saved in the OCS
Whether family status information is identical.
Based on the above-mentioned technical proposal, refering to fig. 1 shown in 1, the embodiment of the present invention provides a kind of OCS, including transceiver 110,
And processor 111, wherein:
Transceiver 110, for receiving the account status information report of PCEF entity transmission;Wherein, the account status letter
Breath report is obtained by the PCEF entity from strategy and billing function PCRF entity;
Processor 111, for being received according to the transceiver 110 account status information report in include user mark
Know, obtains the corresponding newest account status information of the user identifier locally saved;
Transceiver 110, for working as the newest account status information that the processor 111 obtains and the account status received
It, will the newest account status information hair when the corresponding account status information difference of the user identifier for including in information report
It send to the PCRF entity.
Optionally, the transceiver 110, is specifically used for:There is the user identifier pair having built up when current time
The Sy session answered, and when the Sy session has had subscribed proper account status information when establishing, by Sy interface by institute
It states the report of account status information and is sent to the PCRF entity.
In conclusion PCRF entity receives the account status information report request of PCEF transmission in the embodiment of the present invention,
The report of account status information is generated according to the account status information locally saved and is sent to OCS;OCS is according to above-mentioned account status
The user identifier for including in information report, obtains the corresponding newest account status information of the user identifier locally saved;Work as OCS
Determine the corresponding account status of user identifier for including in above-mentioned newest account status information and the report of above-mentioned account status information
When information difference, above-mentioned newest account status information report is sent to PCRF entity.Using technical solution of the present invention, PCEF is real
The account status information report that PCRF entity is formulated is sent to OCS by body, includes according in account status information reporting by OCS
The corresponding account status information of user identifier it is whether accurate to verify account status information reporting, even if PCRF entity fails
The changed account status information of OCS transmission is received, OCS can also have found the account shape that PCRF entity locally saves in time
State information is wrong, to guarantee the account status synchronizing information saved in the account status information saved in PCRF entity and OCS, from
And it reliably ensure that the correctness for the strategy that PCRF entity is formulated.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention
Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more,
The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces
The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic
Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as
It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, those skilled in the art can carry out various modification and variations without departing from this hair to the embodiment of the present invention
The spirit and scope of bright embodiment.In this way, if these modifications and variations of the embodiment of the present invention belong to the claims in the present invention
And its within the scope of equivalent technologies, then the present invention is also intended to include these modifications and variations.
Claims (16)
1. a kind of account status information calibration method, which is characterized in that including:
The first account status information report request is sent to strategy and billing function PCRF entity;
Receive the first account status information report that the PCRF entity is generated according to the first account status information report request
It accuses;And
First account status information report is forwarded to online charging system OCS, so that the OCS determines first account
The user identifier saved in the corresponding account status information of the user identifier for including in the status information reporting of family and the OCS
When corresponding newest account status information difference, the newest account status information is sent to the PCRF entity.
2. the method as described in claim 1, which is characterized in that send the report of the first account status information to the PCRF entity
Request, specifically includes:
When receiving new data service request, according to the user identifier carried in the new data service request, generate
First account status information report request;Alternatively, generating first when the corresponding authorization quota use of the user identifier finishes
Account status information report request;
The first account status information report request is sent to the PCRF entity by Gx interface.
3. method according to claim 2, which is characterized in that the first account status information report is forwarded to OCS, is had
Body includes:
The first account status information is reported, the OCS is forwarded to by Gy interface.
4. the method according to claim 1, which is characterized in that further include:
Receive the PCRF entity receive send after the newest account status information re-authenticate request RAR message,
According to the user identifier and the newest account status information carried in the RAR message, the second account status information is generated
Report request;And
The second account status information report request is sent to the PCRF entity;And
Receive the second account status information report that the PCRF entity is generated according to the second account status information report request
It accuses, and the second account status information report is forwarded to the OCS, the second account shape is verified by the OCS again
The corresponding newest account status information of the user identifier for including in the report of state information and the user saved in the OCS
Whether identical identify corresponding newest account status information.
5. a kind of account status information calibration method, which is characterized in that including:
It receives strategy and executes the first account status information report request that billing function PCEF entity is sent;
According to the first account status information report request, the first account status information report of generation is sent to described
PCEF entity;The first account status information report is forwarded to online charging system OCS by the PCEF entity, with toilet
It states OCS and judges the corresponding account status information of user identifier for including in the first account status information report and the OCS
Whether the corresponding newest account status information of the user identifier of middle preservation is identical;
Receive account status information that the OCS includes in determining the first account status information report with it is described newest
When account status information is not identical, the corresponding newest account status information of the user identifier of transmission.
6. method as claimed in claim 5, which is characterized in that when receiving the corresponding newest account status of the user identifier
After information, further comprise:
Request RAR message is re-authenticated to PCEF entity transmission;
Receive the second account status information report request that the PCEF entity is generated according to the RAR message;
According to the corresponding institute of user identifier and the user identifier carried in the second account status information report request
It states newest account status information and generates the report of the second account status information, be sent to the PCEF entity, and real by the PCEF
Second account status information report is forwarded to the OCS by body, is verified second account status again by the OCS and is believed
Breath reports whether newest account status information corresponding with the user identifier saved in the OCS is identical.
7. a kind of account status information calibration method, which is characterized in that including:
It receives strategy and executes the account status information report that billing function PCEF entity is sent;Wherein, the account status letter
Breath report is obtained by the PCEF entity from strategy and billing function PCRF entity;
According to the user identifier for including in account status information report, it is corresponding to obtain the user identifier locally saved
Newest account status information;And
When the corresponding account of the user identifier for including in the newest account status information and account status information report
When the status information difference of family, the newest account status information is sent to the PCRF entity.
8. the method for claim 7, which is characterized in that it is real that the newest account status information is sent to the PCRF
Body specifically includes:
There is the corresponding Sy session of the user identifier having built up when judgement current time, and the Sy session is being established
When having had subscribed proper account status information, account status information report is sent to by the PCRF by Sy interface
Entity.
9. a kind of account status information checking device, which is characterized in that including:
Transmission unit, for sending the first account status information report request to strategy and billing function PCRF entity;
Receiving unit, the first account generated for receiving the PCRF entity according to the first account status information report request
Family status information reporting;
The transmission unit, the first account status information report for being also used to receive the receiving unit are forwarded to online meter
Charge system OCS, so that the OCS determines the corresponding account shape of user identifier for including in the first account status information report
When the corresponding newest account status information difference of the user identifier saved in state information and the OCS, by the newest account
Family status information is sent to the PCRF entity.
10. device as claimed in claim 9, which is characterized in that described to send first to strategy and billing function PCRF entity
Account status information report request, specifically includes:
When receiving new data service request, according to the user identifier carried in the new data service request, generate
First account status information report request;Alternatively, generating first when the corresponding authorization quota use of the user identifier finishes
Account status information report request;The first account status information report request is sent to the PCRF reality by Gx interface
Body.
11. device as claimed in claim 10, which is characterized in that the first account shape for receiving the receiving unit
The report of state information goes to online charging system OCS, specially:
The first account status information is reported, the OCS is forwarded to by Gy interface.
12. such as the described in any item devices of claim 9-11, which is characterized in that the receiving unit is also used to:Described in reception
PCRF entity receive send after the newest account status information re-authenticate request RAR message;
Described device further includes generation unit, is used for:The use carried in the RAR message received according to the receiving unit
Family mark and the newest account status information, generate the second account status information report request;
The transmission unit is also used to:The second account status information report request that the generation unit is generated is sent to described
PCRF entity;
The receiving unit is also used to:Receive what the PCRF entity was generated according to the second account status information report request
The report of second account status information;
The transmission unit is also used to:The second account status information report that the receiving unit receives is forwarded to institute
OCS is stated, it is corresponding newest to verify the user identifier for including in the second account status information report again by the OCS
Whether the corresponding newest account status information of the user identifier saved in account status information and the OCS is identical.
13. a kind of account status information checking device, which is characterized in that including:
Receiving unit is asked for receiving strategy and executing the first account status information report that billing function PCEF entity is sent
It asks;
Transmission unit, the first account status information report request for being received according to the receiving unit, by the of generation
The report of one account status information is sent to the PCEF entity;The first account status information is reported by the PCEF entity
It is forwarded to online charging system OCS, so that the OCS judges the user identifier for including in the first account status information report
The corresponding newest account status information of the user identifier saved in corresponding account status information and the OCS whether phase
Together;
The receiving unit is also used to receive the account that the OCS includes in determining the first account status information report
When family status information and the not identical newest account status information, the corresponding newest account status of the user identifier of transmission
Information.
14. device as claimed in claim 13, which is characterized in that the transmission unit is also used to:When receiving unit receives
After the corresponding newest account status information of the user identifier, request RAR message is re-authenticated to PCEF entity transmission;
The receiving unit is also used to:Receive the second account status information that the PCEF entity is generated according to the RAR message
Report request;
Described device further includes generation unit, is used for:According to the user carried in the second account status information report request
Mark and the corresponding newest account status information of the user identifier generate the report of the second account status information;
The transmission unit is also used to:The second account status information report that the generation unit generates is sent to the PCEF
Entity, and the second account status information report is forwarded to the OCS by the PCEF entity, by the OCS again school
It tests the second account status information and reports newest account status information corresponding with the user identifier saved in the OCS
It is whether identical.
15. a kind of account status information checking device, which is characterized in that including:
Receiving unit is reported for receiving strategy and executing the account status information that billing function PCEF entity is sent;Wherein, institute
It states the report of account status information and is obtained by the PCEF entity from strategy and billing function PCRF entity;
Acquiring unit, for being received according to the receiving unit account status information report in include user identifier, obtain
Take the corresponding newest account status information of the user identifier locally saved;
Transmission unit, the account that newest account status information and the receiving unit for obtaining when the acquiring unit receive
When the corresponding account status information difference of the user identifier for including in the status information reporting of family, by the newest account status
Information is sent to the PCRF entity.
16. device as claimed in claim 15, which is characterized in that it is described the newest account status message is sent to it is described
PCRF entity, specially:
When there is the corresponding Sy session of the user identifier that has built up in current time, and the Sy session when establishing
When being had subscribed proper account status information, account status information report is sent to by the PCRF reality by Sy interface
Body.
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 CN105450423A (en) | 2016-03-30 |
CN105450423B true 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 (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103166767A (en) * | 2013-03-21 | 2013-06-19 | 华为技术有限公司 | Charging and bandwidth controlling method, entities and system |
CN103843374A (en) * | 2011-10-03 | 2014-06-04 | 阿尔卡特朗讯公司 | SY based integrated policy and charging control |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2013103960A1 (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 |
US8995305B2 (en) * | 2012-08-29 | 2015-03-31 | Alcatel Lucent | Sy session creation and recovering from inconsistent session state between PCRF and OCS |
-
2014
- 2014-08-28 CN CN201410430735.8A patent/CN105450423B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103843374A (en) * | 2011-10-03 | 2014-06-04 | 阿尔卡特朗讯公司 | SY based integrated policy and charging control |
CN103166767A (en) * | 2013-03-21 | 2013-06-19 | 华为技术有限公司 | Charging and bandwidth controlling method, entities and system |
Non-Patent Citations (2)
Title |
---|
Comparison between alternative solutions for key issue #3;Ericsson等;《3GPP TSG SA2 Meeting #83,TD S2-110340》;20110225;全文 * |
Time Based Sy Controls;Openet等;《SA WG2 Meeting #94,S2-124639》;20121116;全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN105450423A (en) | 2016-03-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2801171B1 (en) | Methods, systems, and computer readable media for utilizing quota usage policy control in a diameter-based communication network | |
CN103843374B (en) | Integrated strategy and charging control based on SY | |
CN106465084B (en) | Charging method, network equipment and charging system | |
CN105101136B (en) | A kind of charging method of data service, apparatus and system | |
US10182161B2 (en) | Modifying a quality of a connection between a terminal and an application server | |
CN107969169A (en) | For the method and apparatus charge associated with the service layer of bottom-layer network | |
CN108702598A (en) | Communication device, communication means, communication system and node apparatus | |
EP2805452A1 (en) | Method and apparatus for performing charging control to application- layer data | |
CN104955013A (en) | Usage monitoring method, apparatus and system | |
US20170244842A1 (en) | Method, system and apparatus for managing communication sessions using joint storage | |
CN106936603A (en) | A kind of data service billing method, device and system | |
CN107370615A (en) | A kind of network strategy control method and equipment | |
CN104506328B (en) | LTE core network charging method, gateway device, core network element and server | |
CN105450423B (en) | A kind of account status information calibration method and device | |
CN105848125A (en) | Charging method and device | |
CN105722049B (en) | Charge on traffic, record control, application message sending method, apparatus and system | |
CN104254060B (en) | Strategy and charging control rule delivery method and equipment | |
JP6736956B2 (en) | Information processing system | |
CN101945367A (en) | Charging method and device for evolved packet system | |
CN109963260A (en) | A kind of method and device that determining business terminates | |
JP6662176B2 (en) | Information processing apparatus, information processing system, information processing method and program | |
CN103957168B (en) | Scheduling method of PCC rules in EPS system | |
CN104378791B (en) | QoS control method and apparatus and system | |
CN104980907B (en) | A kind of charge on traffic method and apparatus | |
CN106998543A (en) | Third-party application access method and device |
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 |