CN101541100B - Method and device for deleting strategy session - Google Patents

Method and device for deleting strategy session Download PDF

Info

Publication number
CN101541100B
CN101541100B CN200810086214XA CN200810086214A CN101541100B CN 101541100 B CN101541100 B CN 101541100B CN 200810086214X A CN200810086214X A CN 200810086214XA CN 200810086214 A CN200810086214 A CN 200810086214A CN 101541100 B CN101541100 B CN 101541100B
Authority
CN
China
Prior art keywords
strategy
session
strategy session
pcrf
information
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.)
Expired - Fee Related
Application number
CN200810086214XA
Other languages
Chinese (zh)
Other versions
CN101541100A (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 CN200810086214XA priority Critical patent/CN101541100B/en
Publication of CN101541100A publication Critical patent/CN101541100A/en
Application granted granted Critical
Publication of CN101541100B publication Critical patent/CN101541100B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The embodiment of the invention discloses a method and a device for deleting strategy session. The method comprises the following steps: judging whether strategy session connection between strategy implementation entities is ended or not; sending a strategy session information instruction corresponding to the strategy session connection deleting to the Diameter domain routing agent DRA when the strategy session connection is ended; and receiving the response that the DRA deletes the strategy session information. By the invention, the DRA can delete the useless strategy session information and connection relation information in time so as to avoid adverse influence on normal strategy connection by useless redundant information and improve the communication service quality.

Description

A kind of deleting strategy session method and apparatus
Technical field
The present invention relates to communication technical field, particularly relate to a kind of deleting strategy session method and apparatus.
Background technology
The carrying of next generation communication network has begun to use instead IP comprehensively.From the development of communication network, experienced the IP packet network of carry separating again to the such evolution process of the multi-media network of all-IP from the legacy circuit-switched networks network to control.In the complete IP network evolution process, need to consider the end-to-end QoS problem again, so that the business that makes customer satisfaction (particularly class is professional in real time) to be provided.Because IP network can provide a greater variety of business (like multimedia call, file is downloaded, web page browsing etc.), so need network can detect different service streams and statistic flow, charge informations such as duration are to report the charging center.In order to solve above-mentioned QoS and based on relevant issues such as flow based charging; Strategy and charging control architecture have been defined in the current communication network; The strategy and the charging control PCC framework that for example define at 3GPP, and the dynamic QoS subsystem architecture that in WIMAX, defines can be so that different service streams be arrived in network measuring through this framework; And to Business Stream realization QoS control, demands such as the statistics of chargeing.Strategy and charging control architecture mainly comprise policy development functional entity and policy execution entity.During the for example current 3GPP network architecture strengthens; As shown in Figure 1; Introduced the PCC strategic process that a plurality of new functional entitys (P-GW/Non 3GPP GW/S-GW/ePDG etc.) participate in network, this just requires a plurality of functional entitys to set up the PCC strategy session with PCRF (strategy and charging controlled function entity).Wherein, PCRF is used for dynamically generating according to operation strategy, service application information etc. the QoS and the charging regulation of a user traffic flow; Client (P-GW/Non3GPP GW/S-GW/ePDG) is the functional entity of implementation strategy control law; A professional connection is initiated in the network service (for example IMS) that user terminal needs access operator to provide.
In the policy control network; Can dispose a plurality of strategies and charging controlled function entity PCRF; When user terminal is connected to a policy control network, can therefrom select a PCRF, after selected; Before the strategy to this policy control network connects disconnection, the policy control server that all can use this PCRF to connect as this strategy.Owing in network, there is the execution functional entity of a plurality of policy control rules need be same tactful connected reference PCRF; So the policy control network has been introduced policy development server admin entity DRA; Leading subscriber arrives the strategy connection of policy control network and is the corresponding relation of the PCRF of this strategy Connection Service; When not carrying purpose PCRF information in the strategy control requesting information that any one gateway sends; This strategy control requesting information all need be passed through DRA, is connected with the corresponding relation that is the PCRF of this strategy Connection Service according to the strategy of preserving in advance by DRA and obtains purpose PCRF, and strategy control requesting information is sent to purpose PCRF; Thereby when guaranteeing that different gateways are same tactful connection request distribution server, can use same PCRF as the policy development entity.
When the functional entity of implementation strategy control law and policy development entity connect for the first time; Need DRA to select certain available strategy and charging controlled function entity and return the information of selected policy development entity to the functional entity of implementation strategy control law, Write strategy connects and the corresponding relation of this policy development entity simultaneously.According to record, generate a strategy and connect the mapping table with this policy development entity, wherein strategy comprises ID in connecting, the PDN sign, (the IP address comprises HoA, message such as CoA) in the IP address.
The functional entity of implementation strategy control law be connected with strategy between the policy development entity set up successfully after; Can be retrieved as the IP address that this strategy connects the PCRF that service is provided; After this just can be routed to the PCRF that the corresponding with service strategy connects in the information interaction through the IP address of PCRF, in the strategy control requesting information that the policy development entity sends, just carry purpose PCRF information again such as the functional entity of this implementation strategy control law.Equally, when strategy connects release, also carry purpose PCRF information in the strategy control requesting information that the connection of indication strategy discharges, so also without DRA.For these reasons, this user connect to the strategy of policy control network discharged after, DRA last also in store should the strategy connection and be the corresponding relation of the PCRF of this strategy Connection Service.
In order to guarantee to exist under the situation of a plurality of PCRF in the inside, a Diameter zone, strategy connects the policy execution entity that relates to can be associated with the PCRF that service strategy connects, and has introduced policy development server admin entity DRA, like Fig. 2.Only exist a DRA to handle discovery and the selection course that realizes PCRF in the inside, same Diameter territory simultaneously.In Fig. 2, the terminal is connected to DRA through each client connection has constituted the strategy session connection that initiate at this terminal as branch.
Policy execution entity comes to connect with the PCRF of tactful Connection Service through the DRA administrative mechanism, but does not formulate the flow process of the corresponding relation between the PCRF of PCC strategy session information that the DRA deletion preserves in advance and tactful Connection Service in the current network agreement.
Summary of the invention
The problem that the embodiment of the invention will solve provides a kind of deleting strategy session method; Set up the flow process of the corresponding relation between the PCRF of strategy session information that DRA deletion preserves in advance and tactful Connection Service; Thereby make DRA useless strategy session information and the connection relation information of deletion in time; Avoid invalid redundant information to the adverse effect that normal strategy connects, improve data transmission quality.
For achieving the above object, the embodiment of the invention proposes a kind of deleting strategy session method on the one hand, may further comprise the steps:
Whether the strategy session connection that determination strategy is carried out inter-entity terminates;
When said strategy session discharges fully, send the instruction that the said strategy session of deletion connects the corresponding strategy session information to the Diameter territory DRA of route agent;
When said strategy session did not discharge fully, the optional strategy of notifying said DRA deletion/renewal to preserve in advance connected the partial content in the corresponding relation tabulation that is connected with this strategy of this service;
Receive the response that said DRA deletes said strategy session information.
On the other hand, the embodiment of the invention also provides a kind of deleting strategy session method, may further comprise the steps:
Receive the strategy session connection management message that comprises sequence number that PCRF sends;
When said sequence number generation mutation, judge that the corresponding PCRF of said strategy session connection management message restarts;
Corresponding strategy session information before deletion is restarted with said PCRF.
On the other hand, the embodiment of the invention also provides a kind of PCRF, comprising:
The session status judge module, whether the strategy session connection that is used for determination strategy execution inter-entity terminates;
The delete instruction sending module is used for when said session status judge module judges that said strategy session discharges fully, sends the instruction that the said strategy session of deletion connects the corresponding strategy session information to DRA; When said strategy session did not discharge fully, the optional strategy of notifying said DRA deletion/renewal to preserve in advance connected the partial content in the corresponding relation tabulation that is connected with this strategy of this service;
The response message receiver module is used to receive the response that said DRA deletes said strategy session information.
On the other hand, the embodiment of the invention also provides a kind of DRA, comprising:
The delete instruction receiver module is used to receive the instruction of deletion strategy session connection corresponding strategy session information, or the instruction of deletion branch corresponding strategy session information;
The session information matching module, the pairing strategy session information of said instruction is confirmed in the instruction that is used for said delete instruction receiver module is received or delete branch's relative strategy information instruction and the strategy session information among the DRA and carry out relatedly;
The session information removing module; Be used for matching result according to said session information matching module; Delete said strategy session and connect the corresponding strategy session information, when strategy session even discharges fully, delete the instruction that said strategy session connects the corresponding strategy session information; When said strategy session did not discharge fully, the strategy that optional deletion/renewal is preserved in advance connected the partial content in the corresponding relation tabulation that is connected with this strategy of this service;
Deletion response sending module is used to send acknowledge message.
On the other hand, the embodiment of the invention also provides a kind of DRA, comprising:
Timer module is used to detect the lasting duration that the strategy session of current storage connects, the life cycle that is connected with the strategy session that current storage is set;
The session status enquiry module; Be used for after said timer module detects lasting duration that the strategy session of current storage connects and surpasses the life cycle that said timer module is provided with, sending the instruction of the strategy session connection status of the said current storage of inquiry to PCRF;
The conversation strategy update module is used for feeding back the state that said strategy session connects according to said PCRF, deletes or upgrade the strategy session information of the strategy session connection of said current storage.
On the other hand, the embodiment of the invention also provides a kind of DRA, comprising:
The administrative messag receiver module is used to receive the session connection administrative messag that comprises sequence number that PCRF sends;
When session status judge module, the sequence number generation mutation of the session connection administrative messag that is used for receiving, judge that the corresponding PCRF of said strategy session connection management message restarts when said administrative messag receiver module;
The deleting strategy session module is used for when the session status judge module judges that said PCRF is restarted, corresponding strategy session information before deletion is restarted with said PCRF;
Deletion is feedback module as a result, is used to send acknowledge message.
The technical scheme of the embodiment of the invention has the following advantages; Because adopted through detecting strategy session connection situation and found out useless strategy session information and the method for deleting; Thereby; Make DRA can in time delete useless strategy session information and connection relation information, reached the redundant information of avoiding invalid, improve the effect of communication transmission quality the adverse effect that normal strategy connects.
Description of drawings
Fig. 1 is the structural representation that the 3GPP network architecture strengthens framework in the prior art;
Fig. 2 is a plurality of PCRF and regional structural representation of a Diameter that DRA forms in the prior art;
Fig. 3 is the embodiment of the invention one, and a kind of strategy session connects the deleting strategy session method flow sketch map that the PCRF under the situation about terminating fully initiatively initiates
Fig. 4 is the embodiment of the invention one, and a kind of strategy session connects the deleting strategy session method flow sketch map that the PCRF under the situation about not terminating fully initiatively initiates;
Fig. 5 is the embodiment of the invention two, the deleting strategy session method flow sketch map that the PCRF under a kind of non-roaming state initiatively initiates;
Fig. 6 is the embodiment of the invention three, the deleting strategy session method flow sketch map that the PCRF under a kind of roaming state initiatively initiates;
Fig. 7 is the embodiment of the invention four, the deleting strategy session method flow sketch map that the PCRF among a kind of Non-3GPP under the non-roaming state initiatively initiates;
Fig. 8 is the embodiment of the invention five, the structural representation of a kind of PCRF;
Fig. 9 is the embodiment of the invention six, the structural representation of a kind of DRA;
Figure 10 is the embodiment of the invention seven, and a kind of DRA detects the method flow sketch map that carries out deleting strategy session automatically according to life cycle;
Figure 11 is the embodiment of the invention eight, the structural representation of a kind of DRA;
Figure 12 is the embodiment of the invention nine, and a kind of DRA detects the method flow sketch map that carries out deleting strategy session according to the sequence number mutation;
Figure 13 is the embodiment of the invention ten, the structural representation of a kind of DRA;
Figure 14 is the embodiment of the invention 11, a kind of method flow sketch map that in the WIMAX network, carries out deleting strategy session.
Embodiment
Owing in the current network agreement, do not formulate strategy session information that DRA deletion preserves in advance and be the flow process of the corresponding relation between the PCRF of this strategy session Connection Service.DRA is according to the each business of initiating of user, buffer memory the strategy session information of user's related service.Current DRA does not have the information deletion flow process, possibly cause service-user after professional a period of time, the strategy session message of DRA possibility buffer memory a large number of users, and the problem that specifically causes is following:
1, the user's of DRA buffer memory strategy session information surpasses DRA internal memory setting, directly causes user's strategy that can't receive communication service network and charge information, thereby can't set up communication service with communication network.
2, DRA maybe be because the pleonasm information of buffer memory; To the functional entity of implementation strategy control law to the association that makes a mistake of PCRF request for allocation; Cause the user to receive the strategy and the charge information of wrong communication service network, cause and communication network between communication service can't normally set up.
3, DRA can't realize the renewal of the operating state of PCRF in its institute's management domain, thereby can not implement management to PCRF in the territory effectively, and what PCRF can't satisfy in the territory reaches the dynamic load leveling demand according to the traffic amount.
Therefore; The embodiment of the invention provides a kind of deleting strategy session method; Flow process in order to the corresponding relation between the PCRF that sets up strategy session information that DRA deletion preserves in advance and tactful Connection Service; Thereby make DRA useless strategy session information and the connection relation information of deletion in time, avoid invalid redundant information, improve telecommunication service quality the adverse effect that normal strategy connects.
Below in conjunction with accompanying drawing and embodiment, specific embodiments of the invention describes in further detail:
The embodiment of the invention one, the deleting strategy session method that provides a kind of PCRF initiatively to initiate is convenient explanation, adopts session connection to terminate fully respectively and session connection branch two kinds of situation of termination describe:
It is pointed out that in the session connection to comprise a plurality of branches, as shown in Figure 2; In concrete practice process; One or more branches that a session connection can occur interrupt, and still have one or more branches to keep situation about connecting simultaneously, cause session connection not terminate fully; Have only when all branches of a session connection all interrupt, this session connection is just interrupted fully.
As shown in Figure 3, connect the schematic flow sheet of the deleting strategy session method that PCRF initiatively initiates under the situation of termination fully for strategy session, may further comprise the steps:
Whether the strategy session connection that step S301, determination strategy are carried out inter-entity terminates.
Customer end A is in roaming state; All set up tactful the connection with the V-PCRF in visit territory with H-PCRF in the territory, local; And corresponding session information and connection strategy information have been preserved through V-DRA and H-DRA; Through judging, the policy control session between customer end A and V-PCRF and the H-PCRF now terminates fully.
Step S302, V-PCRF send the instruction of the corresponding conversation strategy of deletion strategy session connection to V-DRA.
The corresponding V-PCRF of customer end A discharges according to the policy information judges strategy session that belongs to the territory fully; So; The strategy that directly sends administrative messag notice V-DRA deletion preservation in advance connects the corresponding relation of the PCRF that is connected with this strategy of service, promptly deletes the corresponding relation between customer end A and the V-PCRF.
Step S303, V-PCRF receive the response of this conversation strategy of V-DRA deletion.
The strategy that the V-DRA deletion is preserved in advance connects the corresponding relation of the PCRF that is connected with this strategy of service.And really return acknowledge message Ack and give V-PCRF.
Step S304, H-PCRF send the instruction of the corresponding conversation strategy of deletion strategy session connection to H-DRA;
The H-PCRF that service strategy connects in the territory, local of customer end A correspondence discharges according to the policy information judges strategy session in territory, place fully; So; H-PCRF sends administrative messag notice H-DRA and deletes the corresponding relation that the strategy of preserving in advance connects the PCRF that is connected with this strategy of service, promptly deletes the corresponding relation between customer end A and the H-PCRF.
Step S305, H-PCRF receive the response of this conversation strategy of H-DRA deletion.
The strategy that the H-DRA deletion is preserved in advance connects the corresponding relation of the PCRF that is connected with this strategy of service, and really returns acknowledge message Ack and give H-PCRF.
It is pointed out that between above-mentioned steps S302-S303 and the S304-S305 does not have precedence relationship, and promptly V-PCRF and H-PCRF are the conversation strategy deletion work of carrying out corresponding DRA simultaneously, and the variation of order does not influence the protection range of the embodiment of the invention.
As shown in Figure 4, be the session connection schematic flow sheet of the deleting strategy session method initiatively initiated of PCRF under the situation of termination fully not, may further comprise the steps:
Whether the strategy session connection that step S401, determination strategy are carried out inter-entity terminates.
Customer end A is in roaming state; All set up tactful the connection with the V-PCRF in visit territory with H-PCRF in the territory, local, and preserved corresponding session information and connection strategy information, the warp judgement through V-DRA and H-DRA; Now customer end A with visit the territory in policy control session termination between the V-PCRF that is connected of service strategy; And and the termination not of the policy control session between the H-PCRF in the territory, local, i.e. the termination of session connection branch between customer end A and the V-PCRF, and and the termination not of the session connection branch between the H-PCRF; Judge that in view of the above the strategy session of customer end A connects not termination fully.
Step S402, V-PCRF send the instruction of deletion and this branch's corresponding strategy session information to V-DRA;
The H-PCRF that service strategy is connected in the corresponding V-PCRF of customer end A and the territory, local is according to release fully of the policy information judges strategy session that belongs to the territory; So; V-PCRF sends administrative messag notice V-DRA and does not change the corresponding relation that the strategy of preserving in advance connects the PCRF that is connected with this strategy of service; But selectively removing partial strategy session information, such as, the policy control session related information between deletion customer end A and the V-PCRF.
Step S403, V-PCRF receive the response of this this branch's corresponding strategy session information of V-DRA deletion.
The corresponding relation of the V-PCRF that the strategy connection that the indication of carrying in the administrative messag of V-DRA according to the V-PCRF transmission, deletion, renewal or reservation are preserved in advance is connected with this strategy of service, and return acknowledge message Ack to V-PCRF.
Step S404, H-PCRF send the instruction of processing policy session information to H-DRA;
The H-PCRF that service strategy is connected in the corresponding V-PCRF of customer end A and the territory, local is according to release fully of the policy information judges strategy session that belongs to the territory; So H-PCRF sends administrative messag notice H-DRA and does not change the corresponding relation that the strategy of preserving in advance connects the PCRF that is connected with this strategy of service, and; Because the policy control session between customer end A and the H-PCRF is termination not; So, need not to delete the policy control session related information between customer end A and the H-PCRF, but if desired; Can upgrade like the session information relevant what wherein change with V-PCRF.
Step S405, H-PCRF receive the response of H-DRA processing policy session information.
The indication of carrying in the administrative messag that H-DRA sends according to H-PCRF is upgraded or is kept the corresponding relation that the strategy of preserving in advance connects the H-PCRF that is connected with this strategy of service, and returns acknowledge message Ack to H-PCRF.
It is to be noted; There is not precedence relationship between above-mentioned steps S402-S403 and the S404-S405; Be that V-PCRF and H-PCRF are strategy session strategy deletion or the work of renewal of carrying out corresponding DRA simultaneously, the variation of order does not influence the protection range of the embodiment of the invention.
In conjunction with concrete true scene, the session delet method that the PCRF that the embodiment of the invention one is provided initiatively initiates can specify through following two embodiment:
As shown in Figure 5, be the embodiment of the invention two, the session delet method that the PCRF under a kind of non-roaming state initiatively initiates may further comprise the steps:
In non-roaming state 3GPP, be connected with the GTP agreement between S-GW and the P-GW.Interactive information on the GTP agreement comprises serves the ID that strategy connects, PDN sign, and IP address.
Step S501, termination strategy connect.
Strategy connects corresponding P-GW and accomplishes strategy through the S5 interface and connect and terminate in S-GW and the territory.
Step S502 is connected termination with strategy session between the PCRF.
Between the PCRF that this strategy of service is connected in P-GW and the territory through S7 interface completion policy control session termination.
Step S503, judge that whether fully PCRF is connected termination with strategy session between the terminal.
Whether PCRF discharges according to the policy information judges PCC strategy session in territory, place fully.
If the PCC strategy session discharges fully, the strategy that notice DRA deletion is preserved in advance connects the corresponding relation of the PCRF that is connected with this strategy of service.
If the PCC strategy session does not discharge (also having other strategy session branches) fully; For example, shown in Fig. 2, there are two to terminate in three branches that initiate at the terminal; And have one still to be held, think that then the PCC strategy session that initiate at this terminal does not discharge fully.The strategy that DRA does not then delete original preservation connects the corresponding relation of the PCRF that is connected with this strategy of service, but the strategy that the optional notice DRA deletion/renewal of PCRF is preserved in advance connection and partial content during the corresponding relation of serving the PCRF that this strategy is connected is tabulated.
Step S504, PCRF send administrative messag to DRA.
PCRF sends the PCRF administrative messag to DRA, carries ID in this message, PDN sign and IP address information.Content during the strategy connection that this message indication DRA deletes all or deletion/updated portion are preserved is in advance tabulated with the corresponding relation of PCRF.PCRF also can select different message to indicate the deletion of DRA or the action of deletion/renewal.
Step S505, PCRF receive the operational feedback of DRA.
The strategy that the indication deletion/renewal of carrying in the administrative messag of DRA according to the PCRF transmission is preserved in advance connects the corresponding relation of the PCRF that is connected with this strategy of service.And return acknowledge message and give PCRF.
As shown in Figure 6, be the embodiment of the invention three, the session delet method that the PCRF under a kind of roaming state initiatively initiates may further comprise the steps:
In roaming state 3GPP, be connected with the PMIP agreement between S-GW and the P-GW.And S-GW be positioned at the visit territory, P-GW is positioned at the territory, local.Interactive information on the PMIP agreement comprises serves the ID that strategy connects, PDN sign, and IP address.
The V-PCRF that this strategy of service is connected in step S601, S-GW and the visit territory is through S7c interface completion policy control session termination.
The V-PCRF in step S602, visit territory accomplishes the policy control session termination with the corresponding H-PCRF that this strategy of service in the territory, local connects.
The H-PCRF that service strategy is connected in step S603, corresponding V-PCRF and the territory, local is according to the release fully of policy information judges strategy session in territory, place.Notice V-DRA (H-DRA) does not change the corresponding relation that the strategy of preserving in advance connects the PCRF that is connected with this strategy of service.The partial content during but the corresponding relation that can indicate the DRA deletion strategy to connect the PCRF that is connected with this strategy of service is tabulated is such as information such as CoA.
Step S604, V-PCRF (H-PCRF) send the PCRF administrative messag to V-DRA (H-DRA), carry ID in this message, PDN sign, IP address (HoA, CoA) information.
The strategy that the indication renewal/reservation of carrying in step S605, the administrative messag of V-DRA (H-DRA) according to the PCRF transmission is preserved in advance connects the corresponding relation of the PCRF that is connected with this strategy of service.And return acknowledge message and give V-PCRF (H-PCRF).
The H-PCRF that this strategy of service is connected in step S606, P-GW and the territory, local is through S7 interface completion policy control session termination.
Step S607, H-PCRF judges strategy session discharge fully.
Step S608, H-PCRF send the PCRF administrative messag to H-DRA, carry the indication strategy session in this message and discharge information of successful.Carry ID in this message, the PDN sign, the IP address (HoA, CoA) information..
The strategy that the indication deletion of carrying in step S609, the administrative messag of H-DRA according to the H-PCRF transmission is preserved in advance connects the corresponding relation of the PCRF that is connected with this strategy of service.And return acknowledge message and give H-PCRF.
The V-PCRF in the visit territory that step S610, this strategy of H-PCRF and service are connected accomplishes the policy control session termination through the S9 interface.
Step S611, V-PCRF judges strategy session discharge fully.
Step S612, V-PCRF send the PCRF administrative messag to V-DRA, carry the indication strategy session in this message and discharge information of successful.Carry ID in this message, PDN sign, IP address (HoA, CoA) information.
The strategy that the indication deletion of carrying in step S613, the administrative messag of V-DRA according to the V-PCRF transmission is preserved in advance connects the corresponding relation of the PCRF that is connected with this strategy of service.And return acknowledge message and give V-PCRF.
The above embodiment of the invention two all is to describe with the embodiment under 3GPP with the embodiment of the invention three; But need further be pointed out that; The protection range of the embodiment of the invention is not limited in 3GPP, and the embodiment of the invention can realize equally under other procotols, in view of the above; Under other procotols, the technical scheme that realizes according to the technological thought that the embodiment of the invention provided also should belong to protection scope of the present invention.
As shown in Figure 7, be the embodiment of the invention four, the session delet method that the PCRF among a kind of Non-3GPP under the non-roaming state initiatively initiates may further comprise the steps:
In non-roaming N state on-3GPP, be connected with the CMIP agreement between the Access-GW in the territory, local that coexists and the P-GW.Interactive information on the CMIP agreement comprises serves the ID that strategy connects, PDN sign, and IP address.
Strategy connects corresponding PCRF through S7 interface completion policy control session termination in step S701, P-GW and the territory.
Step S702, PCRF partly discharge according to the policy information judges strategy session in territory, place.
Step S703, PCRF send the PCRF administrative messag to DRA, carry the indication strategy session in this message and partly discharge.And in message, carry ID, PDN sign, IP address (HoA, CoA) information.
The strategy that the indication deletion of carrying in step S704, the administrative messag of DRA according to the PCRF transmission is preserved in advance connects the corresponding relation of the PCRF that is connected with this strategy of service, and returns acknowledge message to PCRF.
Because be that strategy session partly discharges, so, only deletion and the corresponding PCRF corresponding relation of strategy session that has discharged, and the corresponding PCRF corresponding relation of strategy session that does not discharge still is retained.
It is pointed out that if the judges strategy session discharges fully among the step S702, then need corresponding whole session informations and the conversation strategy of this strategy session of deletion among the step S704.
The PCRF that this strategy of service is connected in step S705, Access-GW and the territory is through S7a interface completion policy control session termination.
Step S706, corresponding PCRF discharge according to the policy information judges strategy session that belongs to the territory fully.Notice DRA does not change the corresponding relation that the strategy of preserving in advance connects the PCRF that is connected with this strategy of service.But can selectively removing partial strategy session information, such as with the policy control session related information.
Step S707, PCRF send the PCRF administrative messag to DRA, carry ID in this message, PDN sign, IP address (HoA, CoA) information.
The corresponding relation of the PCRF that the strategy connection that the indication of carrying in step S708, the administrative messag of DRA according to the PCRF transmission, deletion, renewal or reservation are preserved in advance is connected with this strategy of service.And return acknowledge message and give PCRF.
Because be that strategy session partly discharges, so, only deletion and the corresponding PCRF corresponding relation of strategy session that has discharged, and the corresponding PCRF corresponding relation of strategy session that does not discharge still is retained.
It is pointed out that if the judges strategy session discharges fully among the step S706, then need corresponding whole session informations and the conversation strategy of this strategy session of deletion among the step S708.
For the above-mentioned embodiment of the invention one to four, through the embodiment of the invention five a kind of PCRF is provided also, be used to realize above-mentioned session delet method, as shown in Figure 8, comprising:
Session status judge module 1, whether the strategy session connection that is used for determination strategy execution inter-entity terminates, or whether the branch that the strategy session of determination strategy execution inter-entity connects terminates;
Delete instruction sending module 2; Be used for when the 1 determination strategy session connection of session status judge module terminates; Send the instruction of deletion strategy session connection corresponding strategy session information to DRA; Or when the branch in the strategy session connection of session status judge module determination strategy execution inter-entity terminates, the instruction of sending the deletion session information corresponding to DRA with branch;
Response message receiver module 3 is used to receive the response of the corresponding session information of DRA deletion strategy session information or branch.
Wherein, delete instruction sending module 2 also comprises:
Identification information adds submodule 21, is used for the instruction at deletion strategy session connection corresponding strategy session information, or adds ID, PDN sign and IP address information in the instruction of deletion branch corresponding strategy session information.
As shown in Figure 9, be the embodiment of the invention six, the structural representation of a kind of DRA comprises:
Delete instruction receiver module 1 is used to receive the instruction of deletion strategy session connection corresponding strategy session information, or the instruction of deletion branch corresponding strategy session information;
Session information matching module 2; ID, PDN sign and IP address information in the strategy session information among the ID of the instruction that is used for delete instruction receiver module 1 is received, PDN sign and IP address information and the DRA carried out related, confirms to instruct pairing strategy session information;
Session information removing module 3 is used for the matching result according to session information matching module 2, deletion strategy session connection corresponding strategy session information, or deletion branch corresponding strategy session information;
Deletion is feedback module 4 as a result, is used to feed back the result of deletion strategy session information.
Wherein, session information matching module 2 also comprises:
Identification information recognin module 21 is used for discerning ID, PDN sign and the IP address information of the instruction that delete instruction receiver module 1 received.
Shown in figure 10, be the embodiment of the invention seven, a kind of DRA detects the method for carrying out the session deletion automatically according to life cycle, may further comprise the steps:
Step S1001, generate the index information of session connection in chronological order.
Foundation according to session connection generates index information in proper order.
Step S1002, according to index information, send the instruction of the state that inquiry session connects to PCRF.
Notify corresponding PCRF successively according to the index information of time-sequencing, inquire about the corresponding session of current retrieving information and whether discharge success in the tabulation the inside.
DRA regularly inquires about the duration of the strategy session message of storage automatically according to the timer of configuration.And the notice PCRF corresponding above the strategy session message of timer regulation duration removes to inquire about this strategy session and connects whether discharge success.The PCRF Query Information comprises ID, PDN sign, and IP address.
The strategy session connection status feedback of step S1003, reception PCRF feedback.
Whether the corresponding PCRF notice strategy session that DRA inquired about connection in replying message discharges.
Step S1004, the state that connects when the PCRF feeding back conversation when terminating, the conversation strategy of deletion current sessions connection.
Whether the PCRF of correspondence notifies the tactful connection session that DRA inquired about to discharge in replying message, the corresponding relation of the PCRF that indication deletion, renewal of carrying in the response message of DRA according to the PCRF transmission or the strategy connection that keeps preservation in advance are connected with this strategy of service.If do not receive the response message of the PCRF of step S1003, repeating step S1002 then.If repeating step S1002 (such as 7 times) repeatedly, PCRF never reply and reply.Then DRA is defaulted as PCRF and breaks down the tactful link information of this PCRF service that automatic deletion is preserved in tabulation.
For realizing the invention described above embodiment seven, through the embodiment of the invention eight, a kind of DRA is provided, shown in figure 11, comprising:
Timer module 1 is used to detect the lasting duration that the strategy session of current storage connects, the life cycle that is connected with the strategy session that current storage is set;
Session status enquiry module 2 is used for after timer module 1 detects lasting duration that the strategy session of current storage connects and surpasses the life cycle that timer module 1 is provided with, sending the instruction of the strategy session connection status of the current storage of inquiry to PCRF;
Conversation strategy update module 3 is used for the state according to the strategy session connection of PCRF feedback, deletes or upgrade the strategy session information of the strategy session connection of current storage.
Wherein, timer module 1 specifically comprises:
Continue duration detection sub-module 11, be used to detect the lasting duration that the strategy session of current storage connects;
Life cycle is provided with submodule 12, is used to be provided with the life cycle that the strategy session of current storage connects.
Shown in figure 12; Be the embodiment of the invention nine; A kind of DRA detects the method carry out the session deletion according to the sequence number mutation, when DRA sends management request message, carries out sequence number at PCRF and detects, if DRA detects the sequence number generation abnormal change (PCRF restarts) of the administrative messag that PCRF reports; Then the automatic strategy of preserving in advance of deleting of DRA connects corresponding relation with it, specifically may further comprise the steps:
Step S1201, PCRF send administrative messag to DRA.Whether comprise the session of notice DRA subscriber policy in this message discharges fully.
Step S1202, DRA detect the sequence number generation abnormal change that carries in the administrative messag of PCRF transmission, the deletion session information.
DRA detects the administrative messag that PCRF reports.If detect the sequence number generation abnormal change that PCRF reports administrative messag.The PCRF that then decision plan session connection administrative messag is corresponding is restarted, and judges that further the strategy session information before this PCRF terminates fully, and DRA deletes the strategy of preserving in advance automatically and connects corresponding relation with it.
Step S1203, return the response message that management accomplishes and give PCRF.
For realizing the invention described above embodiment nine, through the embodiment of the invention ten, a kind of DRA is provided, shown in figure 13, comprising:
Administrative messag receiver module 1 is used to receive the session connection administrative messag that comprises sequence number that PCRF sends;
When session status judge module 2, the sequence number generation mutation of the session connection administrative messag that is used for receiving when administrative messag receiver module 1, the PCRF that decision plan session connection administrative messag is corresponding is restarted;
Deleting strategy session module 3 is used for when session status judge module 2 judges that PCRF is restarted, corresponding strategy session information before deletion is restarted with PCRF;
Deletion is feedback module 4 as a result, is used to feed back the result of deletion strategy session information.
Wherein, administrative messag receiver module 1 also comprises:
Sequence number recognin module 11 is used for discerning the sequence number that session connection administrative messag that PCRF sends comprises whether mutation takes place.
Need be pointed out that further that under other procotols, the technical scheme about the session deletion that method produced of using the embodiment of the invention also should belong to protection scope of the present invention.Of the embodiment of the invention 11, a kind of method of in the WIMAX network, carrying out the session deletion is provided, shown in figure 14 by DRA management A-PCEF and C-PCEF and PDF/PCRF corresponding relation in the present embodiment, may further comprise the steps:
Step S1401, A-PCEF connect corresponding PDF/PCRF with strategy and accomplish the tactful termination that connects of ASN through the R3-PCC interface.
Accomplish the CSN strategy through R3-PCC between the PDF/PCRF that step S1402, this strategy of C-PCEF and service are connected and connect termination.
Whether step S1403, PDF/PCRF discharge according to the policy information judges dynamic QoS strategy session in territory, place fully.If user's dynamic QoS strategy session discharges fully, the strategy that notice DRA deletion is preserved in advance connects the corresponding relation of the PCRF that is connected with this strategy of service.If user's dynamic QoS strategy session does not discharge (also having other strategy session branches) fully; DRA does not then delete in advance the corresponding relation that the strategy of preserving connects the PCRF that is connected with this strategy of service, but tactful in advance connection that optional notice DRA deletion/renewals of PCRF preserved and partial content during the corresponding relation of serving the PCRF that this strategy is connected is tabulated.
Step S1404, PCRF send the PCRF administrative messag to DRA, carry ID in this message, information such as PDN sign and IP address.Content during the strategy connection that this message indication DRA deletes all or deletion/updated portion are preserved is in advance tabulated with the corresponding relation of PCRF.PCRF also can select different message to indicate the deletion of DRA or the action of deletion/renewal.
The strategy that the indication deletion/renewal of carrying in step S1405, the administrative messag of DRA according to the PCRF transmission is preserved in advance connects the corresponding relation of the PCRF that is connected with this strategy of service, and returns acknowledge message and give PCRF.
For the administrative messag described in the above embodiment of the present invention one to 11 can be a kind of message that is provided with separately; Also can be the instruction of the corresponding conversation strategy of the deletion strategy session connection described in the embodiment of the invention one, or deletion be connected the instruction of branch's corresponding strategy session information with strategy session.
The technical scheme of the embodiment of the invention has the following advantages; Because adopted through detecting strategy session connection situation and found out useless strategy session information and the method for deleting; Thereby; Make DRA can in time delete useless strategy session information and connection relation information, reached the redundant information of avoiding invalid, improve the effect of telecommunication service quality the adverse effect that normal strategy connects.
Through the description of above execution mode, those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential general hardware platform, can certainly pass through hardware, but the former is better execution mode under a lot of situation.Based on such understanding; The part that technical scheme of the present invention contributes to prior art in essence in other words can be come out with the embodied of software product; This computer software product is stored in the storage medium, comprise some instructions with so that a station terminal equipment (can be mobile phone, personal computer; Server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
The above only is a preferred implementation of the present invention; Should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; Can also make some improvement and retouching, these improvement and retouching also should be looked protection scope of the present invention.

Claims (20)

1. a deleting strategy session method is characterized in that, may further comprise the steps:
Whether the determination strategy session connection terminates;
When said strategy session discharges fully, send the instruction of deletion strategy session connection corresponding strategy session information to the Diameter territory DRA of route agent;
When said strategy session does not discharge fully, the partial content in strategy that the strategy connection of notifying said DRA deletion/renewal to preserve in advance is connected with this strategy of service and the corresponding relation tabulation of charging controlled function entity PCRF;
Receive the response that said DRA deletes said strategy session information.
2. deleting strategy session method according to claim 1 is characterized in that, also comprises:
When the branch in strategy session connects terminates, send the instruction of the said branch of deletion corresponding strategy session information to said DRA.
3. like the said deleting strategy session method of claim 2, it is characterized in that, also comprise:
Said DRA receives the instruction of said deletion strategy session connection corresponding strategy session information; Or after the instruction of deletion branch corresponding strategy session information; Delete said strategy session according to said indication and connect the corresponding strategy session information, or delete said branch corresponding strategy session information.
4. deleting strategy session method according to claim 1; It is characterized in that; Strategy session information among the said DRA is that the strategy session preserved in advance connects and serves strategy that said strategy session is connected and the corresponding relation of charging controlled function entity PCRF, specifically comprises:
ID, packet data network PDN sign and IP address information.
5. like the said deleting strategy session method of claim 2; It is characterized in that; The instruction of said deletion strategy session connection corresponding strategy session information, or comprise ID, PDN sign and IP address information in the instruction of deletion branch corresponding strategy session information.
6. like any said deleting strategy session method in claim 3 or 5, it is characterized in that, said according to the said strategy session connection of indication deletion corresponding strategy session information, or delete said branch corresponding strategy session information, also comprise:
Instruction with said deletion strategy session connection corresponding strategy session information; Or ID, PDN in the strategy session information among the ID in the instruction of deletion branch corresponding strategy session information, PDN sign and IP address information and the said DRA identify and the IP address information is carried out relatedly, confirm the pairing strategy session information of said instruction.
7. deleting strategy session method according to claim 1 is characterized in that said strategy session is specially:
In the 3GPP system, said strategy session is strategy and charging control PCC session; Or,
In the WIMAX system, said strategy session is dynamic quality of service QoS session.
8. like the said deleting strategy session method of claim 2, it is characterized in that the instruction of said deletion strategy session connection corresponding strategy session information, or the instruction of deletion branch corresponding strategy session information are specially:
Carry same a kind of message of different parameters; Or,
Message not of the same race.
9. like claim 1 to 3, any said deleting strategy session method in 5 is characterized in that said instruction or message all are Diameter message.
10. a deleting strategy session method is characterized in that, may further comprise the steps:
Receive the strategy session connection management message that comprises sequence number that PCRF sends;
When said sequence number generation mutation, judge that the corresponding PCRF of said strategy session connection management message restarts;
Corresponding strategy session information before deletion is restarted with said PCRF.
11., it is characterized in that said strategy session information is specially like the said deleting strategy session method of claim 10:
The strategy session of preserving in advance connects the corresponding relation of the PCRF that is connected with the said strategy session of service.
12. a PCRF is characterized in that, comprising:
The session status judge module, whether the strategy session connection that is used for determination strategy execution inter-entity terminates;
The delete instruction sending module is used for when said session status judge module judges that said strategy session connection discharges fully, sending the instruction that the said strategy session of deletion connects the corresponding strategy session information to DRA; When said strategy session does not discharge fully, the partial content in the corresponding relation tabulation of the PCRF that the strategy connection of notifying said DRA deletion/renewal to preserve in advance is connected with this strategy of service;
The response message receiver module is used to receive the response that said DRA deletes said strategy session information.
13. like the said PCRF of claim 12, it is characterized in that, also comprise:
Said session status judge module, whether the branch that also is used for the strategy session connection of determination strategy execution inter-entity terminates;
Said delete instruction sending module also is used for when said session status judge module determination strategy carries out that the strategy session of inter-entity connects branch termination the instruction of sending the deletion session information corresponding with said branch to said DRA.
14., it is characterized in that said delete instruction sending module also comprises like the said PCRF of claim 12:
Identification information adds submodule, is used for the instruction at said deletion strategy session connection corresponding strategy session information, or adds ID, PDN sign and IP address information in the instruction of deletion branch corresponding strategy session information.
15. a DRA is characterized in that, comprising:
The delete instruction receiver module is used to receive the instruction of deletion strategy session connection corresponding strategy session information, or the instruction of deletion branch corresponding strategy session information;
Session information matching module, the instruction that is used for said delete instruction receiver module is received and the strategy session information of DRA carry out related, confirm the pairing strategy session information of said instruction;
The session information removing module; Be used for matching result according to said session information matching module; Delete said strategy session and connect the corresponding strategy session information, when the strategy session connection discharges fully, delete said strategy session and connect the corresponding strategy session information; When said strategy session does not discharge fully, the partial content in strategy that the strategy connection that deletion/renewal is preserved in advance is connected with this strategy of service and the corresponding relation tabulation of charging controlled function entity PCRF;
Deletion is sending module as a result, is used to send acknowledge message.
16., it is characterized in that said session information matching module also comprises like the said DRA of claim 15:
Identification information recognin module is used for discerning ID, PDN sign and the IP address information of the instruction that said delete instruction receiver module received.
17. a DRA is characterized in that, comprising:
Timer module is used to detect the lasting duration that the strategy session of current storage connects, the life cycle that is connected with the strategy session that current storage is set;
The session status enquiry module; Be used for after said timer module detects lasting duration that the strategy session of current storage connects and surpasses the life cycle that said timer module is provided with, sending the instruction of the strategy session connection status of the said current storage of inquiry to PCRF;
The conversation strategy update module is used for feeding back the state that said strategy session connects according to said PCRF, deletes or upgrade the strategy session information of the strategy session connection of said current storage.
18., it is characterized in that said timer module specifically comprises like the said DRA of claim 17:
Continue the duration detection sub-module, be used to detect the lasting duration that the strategy session of current storage connects;
Life cycle is provided with submodule, is used to be provided with the life cycle that the strategy session of current storage connects.
19. a DRA is characterized in that, comprising:
The administrative messag receiver module is used to receive the session connection administrative messag that comprises sequence number that PCRF sends;
When session status judge module, the sequence number generation mutation of the session connection administrative messag that is used for receiving when said administrative messag receiver module, the PCRF that decision plan session connection administrative messag is corresponding is restarted;
The deleting strategy session module is used for when the session status judge module judges that said PCRF is restarted, corresponding strategy session information before deletion is restarted with said PCRF;
Deletion is feedback module as a result, is used to send acknowledge message.
20., it is characterized in that said administrative messag receiver module also comprises like the said DRA of claim 19:
Sequence number recognin module is used for discerning the sequence number that session connection administrative messag that said PCRF sends comprises whether mutation takes place.
CN200810086214XA 2008-03-17 2008-03-17 Method and device for deleting strategy session Expired - Fee Related CN101541100B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200810086214XA CN101541100B (en) 2008-03-17 2008-03-17 Method and device for deleting strategy session

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200810086214XA CN101541100B (en) 2008-03-17 2008-03-17 Method and device for deleting strategy session

Publications (2)

Publication Number Publication Date
CN101541100A CN101541100A (en) 2009-09-23
CN101541100B true CN101541100B (en) 2012-07-04

Family

ID=41123998

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200810086214XA Expired - Fee Related CN101541100B (en) 2008-03-17 2008-03-17 Method and device for deleting strategy session

Country Status (1)

Country Link
CN (1) CN101541100B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102694841A (en) * 2011-03-21 2012-09-26 中兴通讯股份有限公司 Method and system for deleting binding information in Diameter routing agent
CN102802143B (en) * 2011-05-26 2015-05-27 华为软件技术有限公司 Service restoring method, relevant device and system
CN106302638B (en) * 2016-07-27 2020-02-14 华为技术有限公司 Data management method, forwarding equipment and system
EP3525502A4 (en) 2016-11-08 2019-10-30 Huawei Technologies Co., Ltd. Integrated controller selection method, device and system
CN106506669B (en) * 2016-11-21 2019-12-13 中国移动通信集团江苏有限公司 Method, device and system for processing session information
CN110944361B (en) 2018-09-21 2022-02-11 华为技术有限公司 Method and network element for load balancing
CN112491941A (en) * 2019-09-12 2021-03-12 华为技术有限公司 Data management method, related product and communication system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1468480A (en) * 2000-08-18 2004-01-14 ����ɭ�绰�ɷ����޹�˾ System and method of monitoring and reporting accounting data based on volume
CN1802817A (en) * 2003-07-03 2006-07-12 艾利森电话股份有限公司 Method and network for WLAN session control
CN101217383A (en) * 2008-01-04 2008-07-09 中兴通讯股份有限公司 A deletion method of functional association relation of strategy and charging rules

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1468480A (en) * 2000-08-18 2004-01-14 ����ɭ�绰�ɷ����޹�˾ System and method of monitoring and reporting accounting data based on volume
CN1802817A (en) * 2003-07-03 2006-07-12 艾利森电话股份有限公司 Method and network for WLAN session control
CN101217383A (en) * 2008-01-04 2008-07-09 中兴通讯股份有限公司 A deletion method of functional association relation of strategy and charging rules

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
3GPP TSG SSA.Policy and charging control architecture(Release 8).《3GPP TS 23.203 V8.0.0》.2007, *
ZTE.CR for information storage in DRA.《3GPP TSG-SA WG2 Meeting #62 S2-080925》.2008, *

Also Published As

Publication number Publication date
CN101541100A (en) 2009-09-23

Similar Documents

Publication Publication Date Title
CN101541100B (en) Method and device for deleting strategy session
CN101583112B (en) Method and device for marking session information
CN100358321C (en) Method for implementing user requiring mode resource preretention in net network
CN100466600C (en) Method for implementing resource preretention of inserted allocation mode in next network
US8885568B2 (en) Policy application method for machine type communication, and policy and charging enforcement function
CN101841797B (en) Charging method and system for terminal access through multiple access networks and reporting method
CN105828315B (en) Gateway selection method and system
CN101242568B (en) A method and system for service quality negotiation in wireless communication network
US8532125B2 (en) Method, system and apparatus for session association
CN102075894B (en) Selection method and system for policy and charging rules function entity
CN107919969A (en) Policy control method and device
CN102238507B (en) Determine the method and system of "Policy and Charging Rules Function
CN104145505B (en) Access processing method, device and system
CN102647699A (en) Policy and charging control method, V-PCRF (policy and charging rules function) and V-OCS (office communications server)
CN108259434A (en) A kind of opening method and server of user side QoS supportabilitys
CN102868988B (en) Based on the method for processing business of policy and charging control and system in wireless network
EP2676400A1 (en) Method and apparatus of determining policy and charging rules based on network resource utilization information
CN105939527A (en) Congestion mitigation for roamers
CN102238632A (en) Distribution processing method, system and equipment
CN102577449B (en) Method, device and system for activation and deactivation of priority service
CN110351899A (en) Discharge the method and apparatus of user plane functions network element
CN101483584B (en) Method and apparatus for policy and charging rule functional entity information maintenance
CN102752722A (en) Method, system and equipment for providing perpetual online capacity
CN105009673B (en) Business continuance judgment method and equipment
CN102006673B (en) Method, device and system for releasing connection

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20120704

Termination date: 20130317