Summary of the invention
In order to eliminate or alleviate at least one above-mentioned technological deficiency, a kind of policy control method that the embodiment of the present application first aspect provides, comprising:
Obtain instruction strategy, described instruction strategy comprises strategy mark, for distinguish described circulation come into force instruction strategy and the acyclic instruction that comes into force tactful;
Judge that whether described instruction strategy is that circulation comes into force instruction strategy according to described strategy mark, if so, then obtain come into force executing rule corresponding to instruction strategy and described circulation of described circulation and come into force entry-into-force time of executing rule of instruction strategy correspondence;
Whether time and the described circulation of detection user access service come into force and indicate the entry-into-force time of executing rule corresponding to strategy to mate, if do not mate, then whether the time of continuation detection user access service comes into force with described circulation and indicates the entry-into-force time of executing rule corresponding to strategy to mate;
If coupling, then indicating according to coming into force with described circulation the executing rule that strategy is corresponding, performing described executing rule.
In the implementation that the first is possible, before the described instruction strategy of described acquisition, described method also comprises:
To reach the standard grade notice to strategy and charging regulation device transmission user, issue the instruction strategy corresponding with described user to make described strategy and charging regulation device; Described user reach the standard grade notice comprise credit control request answer message, for described in described strategy and the application of charging regulation device instruction strategy.
In conjunction with the first possible implementation of first aspect or first aspect, in the implementation that the second is possible, described method also comprises:
Obtain the entry-into-force time of executing rule corresponding to described instruction strategy;
Whether the entry-into-force time detecting executing rule corresponding to described instruction strategy is expired;
If the entry-into-force time of executing rule corresponding to described instruction strategy is expired, then judges whether described instruction strategy comprises and expiredly at once report instruction;
If described instruction strategy comprises and expiredly at once reports instruction, then the expired notice that reports of sending strategy is to described strategy and charging regulation device, triggers described strategy and charging regulation device re-issues instruction strategy.
In conjunction with the implementation that the second of first aspect is possible, in the implementation that the third is possible, if the entry-into-force time of the executing rule of described instruction strategy correspondence is expired, described method also comprises:
Judge whether described instruction strategy comprises extension and report instruction;
If described instruction strategy comprises described extension report instruction, then judge whether user conversation has data flow;
If described user conversation does not have data flow, then whether user conversation described in cycle criterion has data flow;
If described user conversation has data flow, then the expired notice that reports of sending strategy is to described strategy and charging regulation device, triggers described strategy and charging regulation device issues new instruction strategy.
A kind of policy control device that the embodiment of the present application second aspect provides, comprising:
Acquiring unit, for obtaining instruction strategy, described instruction strategy comprises strategy mark, for distinguish described circulation come into force instruction strategy and the acyclic instruction that comes into force tactful;
Judging unit, for judging that according to described strategy mark whether described instruction strategy is that the circulation instruction that comes into force is tactful;
Described acquiring unit, also for coming into force the judged result of instruction strategy for described circulation according to described instruction strategy, obtaining come into force executing rule corresponding to instruction strategy and described circulation of described circulation and coming into force entry-into-force time of executing rule corresponding to instruction strategy;
Monitoring unit; whether the time for detecting user's access service comes into force with described circulation and indicates the entry-into-force time of executing rule corresponding to strategy to mate; if do not mate, then whether the time of continuation detection user access service comes into force with described circulation and indicates the entry-into-force time of executing rule corresponding to strategy to mate;
Strategy execution unit, detect that the time of described user's access service and described circulation come into force the result indicating the entry-into-force time of executing rule corresponding to strategy to mate according to described monitoring unit, indicating according to coming into force with described circulation the executing rule that strategy is corresponding, performing described executing rule.
In conjunction with second aspect, in the implementation that the first is possible, described policy control device also comprises:
Transmitting element, for notice of reaching the standard grade to strategy and charging regulation device transmission user, issues the instruction strategy corresponding with described user to make described strategy and charging regulation device; Described user reach the standard grade notice comprise credit control request answer message, for described in described strategy and the application of charging regulation device instruction strategy.
In conjunction with the first possible implementation of second aspect or second aspect, in the implementation that the second is possible, described acquiring unit, also for obtaining the entry-into-force time of executing rule corresponding to described instruction strategy;
Described monitoring unit, whether the entry-into-force time also for detecting executing rule corresponding to described instruction strategy is expired;
Described judging unit, also for the notice that the entry-into-force time of the executing rule that described instruction strategy is corresponding is expired being detected according to described monitoring unit, judges whether described instruction strategy comprises and expiredly at once reports instruction;
Described transmitting element, also for comprising the expired judged result at once reporting instruction according to described instruction strategy, the expired notice that reports of sending strategy, to described strategy and charging regulation device, triggers described strategy and charging regulation device issues new instruction strategy.
In conjunction with the implementation that the second of second aspect is possible, in the implementation that the third is possible,
Described judging unit, also for judging whether described instruction strategy comprises extension and report instruction;
Described judging unit, also for comprising according to described instruction strategy the judged result that described extension reports instruction, judge whether user conversation has data flow, if described user conversation does not have data flow, then whether user conversation described in cycle criterion has data flow;
Described transmitting element, also for there being the judged result of data flow according to described user conversation, sending strategy is expired reports notice to described strategy and charging regulation device, triggers described strategy and charging regulation device issues new instruction strategy.
The third aspect of the embodiment of the present application provides a kind of computer-readable storage medium,
Described computer-readable storage medium can have program stored therein, and comprises the step as described in any one of claim l to 4 when this program performs.
The fourth aspect of the embodiment of the present application provides a kind of policy control device, comprising: input unit, output device and processor; Wherein, described processor performs following steps:
Obtain instruction strategy, described instruction strategy comprises strategy mark, for distinguish described circulation come into force instruction strategy and the acyclic instruction that comes into force tactful;
Judge that whether described instruction strategy is that circulation comes into force instruction strategy according to described strategy mark, if so, then obtain described circulation and come into force the executing rule of instruction strategy correspondence and the entry-into-force time of described executing rule;
Whether the time of detection user access service comes into force with described circulation and indicates the entry-into-force time of strategy to mate, if do not mate, then whether the time of continuation detection user access service comes into force with described circulation and indicates the entry-into-force time of executing rule corresponding to strategy to mate, if coupling, then indicating according to coming into force with described circulation the executing rule that strategy is corresponding, performing described executing rule.
In conjunction with the fourth aspect of the embodiment of the present application, in the implementation that the first is possible, described processor also performs following steps:
Before the described instruction strategy of described acquisition, to reach the standard grade notice to strategy and charging regulation device transmission user, issue the instruction strategy corresponding with described user to make described strategy and charging regulation device; Described user reach the standard grade notice comprise credit control request answer message, for described in described strategy and the application of charging regulation device instruction strategy.
In conjunction with the first possible implementation of fourth aspect or fourth aspect, in the implementation that the second is possible, described processor also performs following steps:
Obtain the entry-into-force time of executing rule corresponding to described instruction strategy; Whether the entry-into-force time detecting executing rule corresponding to described instruction strategy is expired; If the entry-into-force time of the executing rule that described instruction strategy is corresponding is expired, then judges whether described instruction strategy comprises and at once report instruction; If described instruction strategy comprises at once report instruction, then the expired notice that reports of sending strategy is to described strategy and charging regulation device, triggers described strategy and charging regulation device re-issues instruction strategy.
In conjunction with the implementation that the second of fourth aspect is possible, in the implementation that the third is possible, described processor also performs following steps:
Judge whether described instruction strategy comprises extension and report instruction according to the notice that the entry-into-force time of the executing rule of described instruction strategy correspondence is expired; If described instruction strategy comprises described extension report instruction, then judge whether user conversation has data flow; If described user conversation does not have data flow, then whether user conversation described in cycle criterion has data flow; If described user conversation has data flow, then the expired notice that reports of sending strategy is to described strategy and charging regulation device, triggers described strategy and charging regulation device issues new instruction strategy.
The embodiment of the present application the 5th aspect provides a kind of policy control device, comprising:
Transmitting element, the tactful instruction strategy identified is comprised to strategy and charging enabled devices for sending, described instruction strategy is obtained to make described strategy and charging enabled devices, judge that whether described instruction strategy is that the circulation instruction that comes into force is tactful to make described strategy and charging enabled devices according to described strategy mark, if, then obtain come into force executing rule corresponding to instruction strategy and described circulation of described circulation to come into force entry-into-force time of executing rule corresponding to instruction strategy, whether the time detecting user access service to make described subscriber equipment comes into force with described circulation and indicates the entry-into-force time of tactful corresponding executing rule to mate, if do not mate, then whether the time of continuation detection user access service comes into force with described circulation and indicates the entry-into-force time of executing rule corresponding to strategy to mate, if coupling, then subscriber equipment indicates according to coming into force with described circulation the executing rule that strategy is corresponding, performs described executing rule, wherein, described strategy mark for distinguish described circulation come into force instruction strategy and the acyclic instruction that comes into force tactful.
In conjunction with the 5th aspect, in the implementation that the first is possible, described policy control device also comprises:
Receiving element, the user sent for receiving described strategy and charging enabled devices reaches the standard grade notice, to reach the standard grade the notice transmission instruction strategy corresponding with described user according to described user very much; Described user reach the standard grade notice comprise credit control request answer message, for described in the application of described policy control device instruction strategy.
The embodiment of the present application the 6th aspect provides a kind of policy controlling system, comprising:
Strategy and charging regulation device, for issuing instruction strategy, described instruction strategy comprises strategy mark, for distinguish described circulation come into force instruction strategy and acyclic come into force indicate tactful;
Policy control device, for obtaining described instruction strategy, judge that whether described instruction strategy is that the circulation instruction that comes into force is tactful according to described strategy mark, the judged result of strategy is indicated for described circulation comes into force according to described instruction is tactful, obtain come into force executing rule corresponding to instruction strategy and described circulation of described circulation to come into force entry-into-force time of executing rule corresponding to instruction strategy, whether time and the described circulation of detection user access service come into force and indicate the entry-into-force time of executing rule corresponding to strategy to mate, if do not mate, then whether the time of continuation detection user access service comes into force with described circulation and indicates the entry-into-force time of executing rule corresponding to strategy to mate, and for according to detecting that the time of described user's access service and described circulation come into force the result indicating the entry-into-force time of tactful corresponding executing rule to mate, and indicate according to coming into force with described circulation the executing rule that strategy is corresponding, perform described executing rule.
In conjunction with the 6th aspect, in the implementation that the first is possible, described policy control device, also for notice of reaching the standard grade to described strategy and charging regulation device transmission user, issues the instruction strategy corresponding with described user to make described strategy and charging regulation device; Described user reach the standard grade notice comprise credit control request answer message, for described in described strategy and the application of charging regulation device instruction strategy;
Described strategy and charging regulation device, the described user also sent for receiving described policy control device reaches the standard grade notice, to issue the instruction strategy corresponding with described user extremely described policy control device.
In conjunction with the first possible implementation of the 6th aspect or the 6th aspect, in the implementation that the second is possible, described policy control device, also for obtaining the entry-into-force time of executing rule corresponding to described instruction strategy, whether the entry-into-force time detecting executing rule corresponding to described instruction strategy is expired, according to the notice that the entry-into-force time of the executing rule that described instruction strategy is corresponding is expired being detected, judge whether described instruction strategy comprises and expiredly at once report instruction, the expired judged result at once reporting instruction is comprised according to described instruction strategy, the expired notice that reports of sending strategy is to described strategy and charging regulation device, trigger described strategy and charging regulation device issues new instruction strategy,
Described strategy and charging regulation device, the described strategy also for receiving the transmission of described policy control device is expired reports notice, to issue new instruction strategy.
In conjunction with the implementation that the second of the 6th aspect is possible, in the implementation that the third is possible, described policy control device, also judge whether described instruction strategy comprises extension and report instruction for the notice that the entry-into-force time of the executing rule according to described instruction strategy correspondence is expired, the judged result that described extension reports instruction is comprised according to described instruction strategy, judge whether user conversation has data flow, if described user conversation does not have data flow, then whether user conversation described in cycle criterion has data flow, the judged result of data flow is had according to described user conversation, the expired notice that reports of sending strategy is to described strategy and charging regulation device, trigger described strategy and charging regulation device issues new instruction strategy,
Described strategy and charging regulation device, the described strategy also for receiving the transmission of described policy control device is expired reports notice, to issue new instruction strategy.
The policy control method that the application provides, Apparatus and system, according to instruction strategy comprising circulation come into force instruction strategy judged result with obtains circulation come into force instruction strategy entry-into-force time and circulation come into force instruction strategy correspondence executing rule.Wherein, the circulation instruction strategy that comes into force is used to indicate circulation and comes into force effective date of executing rule corresponding to instruction strategy, its effective date can flexible configuration, meet the execution of different user based on the multiple executing rule of timing separation, issue instruction strategy targetedly, the different demands of different user can be met, the multiple demand of same user can also be met, alleviate that user type is single causes message surge by otherness configuration multiple choices, cause the problem that network burden increases the weight of.
And, to come into force the notice indicating the entry-into-force time of strategy to mate according to time of user's access service and described circulation, and indicate according to coming into force with described circulation the executing rule that strategy is corresponding, perform this executing rule, in time having multiple executing rule to exist, for always online user, during the tactful scene come into force for the tactful scene come into force based on the periodicity time or same time, the instruction strategy of section sometime on the same day can be deleted, when the tactful scene that period generation strategy entry-into-force time point or same time of second day come into force, only need again apply for instruction strategy to strategy and charging regulation device, periodically whether mated with the entry-into-force time of instruction strategy by the monitoring module monitor user ' access service time, if coupling, then perform according to the executing rule that this instruction strategy is corresponding.If do not mated, and the instruction strategy that has strategy mark to distinguish and mark circulation comes into force, as long as then for circulation comes into force instruction strategy, and do not have expired, then do not delete it, this circulation instruction that comes into force can be recycled tactful.Avoid majority have the consistently online user of same demand same time to send application instruction strategy request and cause the phenomenon of message surge, and simple and high-performance achieve network operation function.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present application, be clearly and completely described the technical scheme in the embodiment of the present application, obviously, described embodiment is only some embodiments of the present application, instead of whole embodiments.Based on the embodiment in the application, those of ordinary skill in the art are not making the every other embodiment obtained under creative work prerequisite, all belong to the scope of the application's protection.
Below by specific embodiment, be described in detail respectively.
Refer to Fig. 1, the flow chart of a kind of policy control method that Fig. 1 provides for the application first embodiment.Wherein, the policy control method shown in Fig. 1 is that direction is described from PCEF equipment.Wherein, in the embodiment of the present embodiment and follow-up introduction, the execution content that described executing rule is corresponding can be the value of charge rate, also can be the grade of charge rate, can be bandwidth control or access control etc., the execution content that concrete executing rule is corresponding form the restriction to the embodiment of the present application yet.
As shown in Figure 1, the policy control method that the application provides comprises the steps:
S110, obtain instruction strategy, instruction strategy comprises strategy mark, for distinguish circulation come into force instruction strategy and the acyclic instruction that comes into force tactful;
S120, to judge that according to strategy mark whether instruction strategy is that circulation comes into force instruction strategy, if so, then execution step S130;
S130, obtain come into force executing rule corresponding to instruction strategy and circulation of circulation and come into force entry-into-force time of executing rule corresponding to instruction strategy;
Whether time and the circulation of S140, detection user access service come into force and indicate the entry-into-force time of executing rule corresponding to strategy to mate; If not, then whether the time of continuation detection user access service comes into force with circulation and indicates the entry-into-force time of executing rule corresponding to strategy to mate, and namely forwards step S140 to, if so, then performs step S150;
S150, basis come into force with circulation and indicate the executing rule that strategy is corresponding, perform described executing rule.
Wherein, circulating comes into force indicates the tactful entry-into-force time to be have periodically, indicates the tactful entry-into-force time different from acyclic coming into force, and circulation comes into force and indicates the tactful entry-into-force time to be the periodicity entry-into-force time.
When performing step S140, can circulation come into force instruction strategy entry-into-force time in regularly, irregularly, whether time of continuation or intermittent detection user access service to come into force with circulation and indicate the entry-into-force time of tactful corresponding executing rule to mate, if coupling, then perform this executing rule.
The policy control method that the embodiment of the present invention provides, comprising the come into force judged result of instruction strategy of circulation according to instruction strategy and coming into force the executing rule of instruction strategy correspondence to obtain come into force entry-into-force time of executing rule corresponding to instruction strategy and circulation of circulation.Wherein, the circulation instruction strategy that comes into force is used to indicate circulation and comes into force effective date of executing rule corresponding to instruction strategy, its effective date can flexible configuration, meet the executing rule of different user based on timing separation, issue instruction strategy targetedly, the different demands of different user can be met, the multiple demand of same user can also be met, alleviate that user type is single causes message surge by otherness configuration multiple choices, cause the problem that network burden increases the weight of.And, according to time and the notice coming into force and indicate the entry-into-force time of strategy to mate that circulates of user's access service, and indicate according to coming into force with circulation the executing rule that strategy is corresponding, perform described executing rule, in time having multiple executing rule to exist, for always online user, during the tactful scene come into force for the tactful scene come into force based on the periodicity time or same time, the instruction strategy of section sometime on the same day can be deleted, when the tactful scene that period generation strategy entry-into-force time point or same time of second day come into force, only need again apply for instruction strategy to strategy and charging regulation device, periodically whether mated with the entry-into-force time of instruction strategy by the monitoring module monitors user access service time, if coupling, then perform according to the executing rule that this instruction strategy is corresponding.If do not mated, and the instruction strategy that has strategy mark to distinguish and mark circulation comes into force, as long as then for circulation comes into force instruction strategy, and do not have expired, then do not delete it, this circulation instruction that comes into force can be recycled tactful.Avoid majority have the consistently online user of same demand same time to send application instruction strategy request and cause the phenomenon of message surge, and simple and high-performance achieve network operation function.
As the optional execution mode of one, before the step S110 shown in Fig. 1, method also comprises: send user to strategy and charging regulation device and to reach the standard grade notice, issues the instruction strategy corresponding with user to make tactful and charging regulation device.
Wherein, user's notice of reaching the standard grade comprises credit control request and answers message, for strategy and charging regulation device application instruction tactful.
Refer to Fig. 2, the flow chart of a kind of policy control method that Fig. 2 provides for the application second embodiment.Method step shown in Fig. 2 realizes based on the step shown in Fig. 1, and this policy control method is also for direction is described with PCEF equipment.As shown in Figure 2, after the step S150 shown in Fig. 1, policy control method also comprises the steps:
The entry-into-force time of the executing rule of S160, acquisition instruction strategy correspondence;
Whether the entry-into-force time of the executing rule of S170, detection instruction strategy correspondence is expired; If so, then step S180 is performed;
S180, judge whether instruction strategy comprises and expiredly at once report instruction; If so, then step S190 is performed;
The expired notice that reports of S190, sending strategy is to strategy and charging regulation device, and trigger policy and charging regulation device re-issue instruction strategy.
Wherein, the execution sequence of the step S150 performed by the present embodiment can perform after the step S110 shown in Fig. 1, can perform after the step s 150 or perform after step S140, unrestrictedly its specific execution sequence, namely concrete execution sequence form the restriction to the present embodiment yet.
As the optional execution mode of one, when performing the step S160 shown in Fig. 1 or Fig. 2, the entry-into-force time of the executing rule of instruction strategy correspondence can be obtained according to cycle regular hour.
Refer to Fig. 3, the flow chart of a kind of policy control method that Fig. 3 provides for the application the 3rd embodiment.Wherein, policy control method shown in Fig. 3, based on after the step S170 shown in Fig. 2, if it is expired to judge to indicate the entry-into-force time of the executing rule of strategy correspondence, then also can perform other steps, perform the step that flow process can be shown in Figure 3 particularly, this policy control method also comprises:
S171, judge whether instruction strategy comprises extension and report instruction; If instruction strategy comprises extension and reports instruction, then perform step S172;
S172, judge whether user conversation has data flow; If user conversation does not have data flow, then forward step S172 to, whether cycle criterion user conversation has data flow; If user conversation has data flow, then forward step S190 to.
The policy control method that present embodiment provides, extension can be carried out to the application of the not strategy instruction of controlling policy execution result to report, the strategy instruction application of the strategy instruction application of the importance of some users ground or not controlling policy execution result is avoided to take the new instruction strategy of a large amount of data flow applications in expired the same time, achieve the expired diversity reporting notice, avoid the serious problems that message surge causes network paralysis.
Understand above-mentioned execution mode for convenience, in concrete example, PCRF can to carrying above-mentioned instruction strategy during PCEF distributing policy, be used to indicate the date of circulating and coming into force, and PCEF can be indicated to get some strategy in the event of a failure, time delay can be carried out when the situation of user without data flow and report.The instruction strategy that PCEF obtains from PCRF can specifically comprise following content:
<CC-Answer>::=
Charging-Rule-Install
Charging-Rule-Definition
*[Rule-Activation-Month]
*[Rule-Activation-Day]
*[Rule-Activation-Week]
*[Rule-Activation-Period]
[Period-Start-Time]
[Period-Stop-Time]
[Idle-delay-support]
…
Specifically, Rule-Activation-Month, Rule-Activation-Day, Rule-Activation-Week, Rule-Activation-Period field in above-mentioned strategy is that some optional attribute values are to (attribute-valuepair, AVP), also can support to occur repeatedly, accordingly, Rule-Activation-Month, Rule-Activation-Day, Rule-Activation-Week, Rule-Activation-Period be respectively used to identify this strategy comes into force the moon/day/week/time period.If there is not above-mentioned field in strategy, then represent that this strategy is the acyclic strategy come into force.
The optional attribute value that the present embodiment provides is different to AVP from [Rule-Activation-Time] and [Rule-Deactivation-Time] in existing PCC standard, [Rule-Activation-Time] and [Rule-Deactivation-Time] in existing PCC standard, based on NTP (Network Time Protocol) (NetworkTimeProtocol, NTP) timetable is from universal coordinated time (CoordinatedUniversalTime, UTC) a time number of seconds of 0 beginning on January 1st, 1900, therefore date little Hour Minute Second is determined, and a rule can only specify at most one group of activationary time/out-of-service time, Rule-Activation-Time, Rule-Deactivation-Time, these two times can across sky, across the moon, across week, but what represent is one continuous print period.The optional attribute value then specified in existing PCC standard can only represent the section of coming into force to [Rule-Activation-Time] in AVP, if lost efficacy after across sky, week, or the moon still will by PCRF again unification re-issue strategy.
But, an instruction strategy in the application's execution mode can comprise multiple AVP value, can be [Rule-Activation-Month], [Rule-Activation-Day], [Rule-Activation-Week], [Rule-Activation-Period], [Period-Start-Time], any one or multiple combinations in [Period-Stop-Time], certain moon (1-12) that what the value of above-mentioned AVP represented respectively is in 1 year, certain sky (1-31) in one month, certain week (1-5) in one month, certain period (hhmmss) in one day, relative, namely formal definition is not the NTP time, namely a few skies of this instruction strategy in one month can be represented in the present embodiment, or a few week, or come into force in certain several phases-time of certain day, can simplify across sky, week, when the moon or time period, also need the process of the instruction strategy applying for again coming into force.
Optionally, whether the Idle-Delay-Support included by the AVP in above-mentioned strategy can be used for identifying and allows PCEF when session is without data flow, do not need to report PCRF immediately when the strategy fails time arrives, after PCEF can be indicated to take to exceed the out-of-service time for some instruction strategies, have the data flow mode that request instruction is tactful again again.
Accordingly, for the above-mentioned instruction strategy that PCRF issues, increase at PCEF the time monitoring mechanism of instruction strategy that comes into force to circulating and control the activation of corresponding strategy.
Refer to Fig. 4, the structure chart of a kind of policy control device that Fig. 4 provides for the application the 4th embodiment.As shown in Figure 4, the policy control device that the present embodiment provides comprises: acquiring unit 41, judging unit 42, monitoring unit 43 and strategy execution unit 44.
Wherein, acquiring unit 41, for obtaining instruction strategy, instruction strategy comprises strategy mark, for distinguish circulation come into force instruction strategy and the acyclic instruction that comes into force tactful.
Judging unit 42, for judging that according to strategy mark whether instruction strategy is that the circulation instruction that comes into force is tactful.
Acquiring unit 41, also for coming into force the judged result of instruction strategy for circulation according to instruction strategy, obtaining come into force executing rule corresponding to instruction strategy and circulation of circulation and coming into force entry-into-force time of executing rule corresponding to instruction strategy.
Monitoring unit 43, whether time and circulation for detecting user's access service come into force and indicates the entry-into-force time of tactful corresponding executing rule to mate.
Strategy execution unit 44, the time of user's access service is detected and the result coming into force and indicate the entry-into-force time of executing rule corresponding to strategy to mate that circulates according to monitoring unit 43, indicating according to coming into force with circulation the executing rule that strategy is corresponding, performing described executing rule.
Wherein, circulating comes into force indicates the tactful entry-into-force time to be have periodically, indicates the tactful entry-into-force time different from acyclic coming into force, and circulation comes into force and indicates the tactful entry-into-force time to be the periodicity entry-into-force time.
And monitoring unit 43 can circulation come into force instruction strategy entry-into-force time in regularly or irregularly, or whether the time of the detection user access service of continuation and circulation come into force and indicate the entry-into-force time of executing rule corresponding to strategy to mate, if coupling, then perform this executing rule.
The policy control device that the present embodiment provides, the instruction strategy acquired by acquiring unit 41, is obtained come into force entry-into-force time of executing rule corresponding to instruction strategy and circulation of circulation to come into force executing rule corresponding to instruction strategy to comprise the come into force judged result of instruction strategy of circulation according to instruction strategy.Wherein, the circulation instruction strategy that comes into force is used to indicate circulation and comes into force effective date of executing rule corresponding to instruction strategy, its effective date can flexible configuration, meet the executing rule of different user based on timing separation, issue instruction strategy targetedly, the different demands of different user can be met, the multiple demand of same user can also be met, alleviate that user type is single causes message surge by otherness configuration multiple choices, cause the problem that network burden increases the weight of.And, the time of user's access service is detected and the notice coming into force and indicate the entry-into-force time of strategy to mate that circulates according to monitoring unit 43, and trigger policy performance element 44 indicates according to coming into force with circulation the executing rule that strategy is corresponding, perform described executing rule, in time having multiple executing rule to exist, for always online user, during the tactful scene come into force for the tactful scene come into force based on the periodicity time or same time, the instruction strategy of section sometime on the same day can be deleted, when the tactful scene that period generation strategy entry-into-force time point or same time of second day come into force, only need again apply for instruction strategy to strategy and charging regulation device, periodically whether mated with the entry-into-force time of instruction strategy by the monitoring unit 43 monitor user ' access service time, if coupling, then charge according to the executing rule that this instruction strategy is corresponding.If do not mated, and the instruction strategy that has strategy mark to distinguish and mark circulation comes into force, as long as then for circulation comes into force instruction strategy, and do not have expired, then do not delete it, this circulation instruction that comes into force can be recycled tactful.Avoid majority have the consistently online user of same demand same time to send application instruction strategy request and cause the phenomenon of message surge, and simple and high-performance achieve network operation function.
As the optional execution mode of one, the policy control device that the present embodiment provides also comprises:
Transmitting element, for notice of reaching the standard grade to strategy and charging regulation device transmission user, issues the instruction strategy corresponding with user to make strategy and charging regulation device; User's notice of reaching the standard grade comprises credit control request and answers message, for strategy and charging regulation device application instruction tactful.
As the optional execution mode of one, the acquiring unit in the policy control device that the present embodiment provides, also for obtaining the entry-into-force time of executing rule corresponding to instruction strategy; Monitoring unit, whether the entry-into-force time also for detecting executing rule corresponding to instruction strategy is expired; Whether judging unit, also for the notice that the entry-into-force time of the executing rule that instruction strategy is corresponding is expired being detected according to monitoring unit, judge to indicate strategy to comprise and expiredly at once report instruction; Transmitting element, also for comprising the expired judged result at once reporting instruction according to instruction strategy, the expired notice that reports of sending strategy is to strategy and charging regulation device, and trigger policy and charging regulation device issue new instruction strategy.
As the optional execution mode of one, the judging unit in the policy control device that the present embodiment provides, also for judging whether instruction strategy comprises extension and report instruction; And judging unit, also for comprising the judged result delaying to report instruction according to instruction strategy, judge whether user conversation has data flow, if user conversation does not have data flow, then whether cycle criterion user conversation has data flow; Transmitting element, also for there being the judged result of data flow according to user conversation, the expired notice that reports of sending strategy is to strategy and charging regulation device, and trigger policy and charging regulation device issue new instruction strategy.
In present embodiment, judge whether instruction strategy comprises extension and report instruction by judging unit, if, then after reported event occurs, carry out extension when there being data flow to the application of the not strategy instruction of controlling policy execution result to report, the strategy instruction application of the strategy instruction application of the importance of some users ground or not controlling policy execution result is avoided to take the new instruction strategy of a large amount of data flow applications in expired the same time, achieve the expired diversity reporting notice, avoid the serious problems that message surge causes network paralysis.
Refer to Fig. 5, the structure chart of a kind of policy control device that Fig. 5 provides for fifth embodiment of the invention.As shown in Figure 5, this device comprises at least one processor 501, at least one network interface 504, memory 505, at least one communication bus 502 and user interface 503.
This communication bus 502 is for realizing the connection communication between said modules; This user interface 503 is for realizing and user interactions.Wherein, this memory 505 can store instruction, performs following flow process to make processor 501:
Obtain instruction strategy, instruction strategy comprises strategy mark, for distinguish circulation come into force instruction strategy and the acyclic instruction that comes into force tactful;
Judge that whether instruction strategy is that circulation comes into force instruction strategy according to strategy mark, if so, then obtain circulation and comes into force the executing rule of instruction strategy correspondence and the entry-into-force time of executing rule;
Whether the time detecting user access service comes into force with circulation and indicate the entry-into-force time of strategy to mate, if coupling, then according to indicating tactful corresponding executing rule with circulating to come into force, performs described executing rule.
Wherein, circulating comes into force indicates the tactful entry-into-force time to be have periodically, indicates the tactful entry-into-force time different from acyclic coming into force, and circulation comes into force and indicates the tactful entry-into-force time to be the periodicity entry-into-force time.
And processor 501 fill order, can circulation come into force instruction strategy entry-into-force time in regularly or irregularly, or whether the time of the detection user access service of continuation and circulation come into force and indicate the entry-into-force time of executing rule corresponding to strategy to mate, if coupling, then perform this executing rule.
The policy control device that the present embodiment provides, by processor 501 fill order, to acquire instruction strategy, comprising the come into force judged result of instruction strategy of circulation according to instruction strategy and obtaining come into force entry-into-force time of executing rule corresponding to instruction strategy and circulation of circulation and to come into force executing rule corresponding to instruction strategy.Wherein, the circulation instruction strategy that comes into force is used to indicate circulation and comes into force effective date of executing rule corresponding to instruction strategy, its effective date can flexible configuration, meet the executing rule of different user based on timing separation, issue instruction strategy targetedly, the different demands of different user can be met, the multiple demand of same user can also be met, alleviate that user type is single causes message surge by otherness configuration multiple choices, cause the problem that network burden increases the weight of.And, according to the time of user's access service being detected and the notice coming into force and indicate the entry-into-force time of strategy to mate that circulates, and indicate according to coming into force with circulation the executing rule that strategy is corresponding, perform described executing rule, in time having multiple executing rule to exist, for always online user, during the tactful scene come into force for the tactful scene come into force based on the periodicity time or same time, the instruction strategy of section sometime on the same day can be deleted, when the tactful scene that period generation strategy entry-into-force time point or same time of second day come into force, only need again apply for instruction strategy to strategy and charging regulation device, periodically whether the monitor user ' access service time mates with the entry-into-force time of instruction strategy by processor 501 only to need every day, if coupling, then charge according to the executing rule that this instruction strategy is corresponding.If do not mated, and the instruction strategy that has strategy mark to distinguish and mark circulation comes into force, as long as then for circulation comes into force instruction strategy, and do not have expired, then do not delete it, this circulation instruction that comes into force can be recycled tactful.Avoid majority have the consistently online user of same demand same time to send application instruction strategy request and cause the phenomenon of message surge, and simple and high-performance achieve network operation function.
As the optional execution mode of one, processor also performs following steps:
Before acquisition instruction strategy, send user to strategy and charging regulation device and to reach the standard grade notice, issue the instruction strategy corresponding with user to make tactful and charging regulation device; User's notice of reaching the standard grade comprises credit control request and answers message, for strategy and charging regulation device application instruction tactful.
As the optional execution mode of one, processor also performs following steps:
Obtain the entry-into-force time of executing rule corresponding to instruction strategy; Whether the entry-into-force time detecting executing rule corresponding to instruction strategy is expired; If the entry-into-force time of the executing rule that instruction strategy is corresponding is expired, then judges whether instruction strategy comprises and at once report instruction; If instruction strategy comprises at once report instruction, then the expired notice that reports of sending strategy is to strategy and charging regulation device, and trigger policy and charging regulation device re-issue instruction strategy.
As the optional execution mode of one, processor also performs following steps:
Judge whether instruction strategy comprises extension and report instruction according to the notice that the entry-into-force time of the executing rule of instruction strategy correspondence is expired; If instruction strategy comprises extension and reports instruction, then judge whether user conversation has data flow; If user conversation does not have data flow, then whether cycle criterion user conversation has data flow; If user conversation has data flow, then the expired notice that reports of sending strategy is to strategy and charging regulation device, and trigger policy and charging regulation device issue new instruction strategy.
In present embodiment, by processor fill order, to judge whether instruction strategy comprises extension and report instruction, if, then after reported event occurs, carry out extension when there being data flow to the application of the not strategy instruction of controlling policy execution result to report, the strategy instruction application of the strategy instruction application of the importance of some users ground or not controlling policy execution result is avoided to take the new instruction strategy of a large amount of data flow applications in expired the same time, achieve the expired diversity reporting notice, avoid the serious problems that message surge causes network paralysis.
Refer to Fig. 6, the structure chart of a kind of policy control device that Fig. 6 provides for the application the 6th embodiment.As shown in Figure 6, the policy control device that the present embodiment provides is a kind of PCRF equipment, and this policy control device comprises transmitting element 61.
Wherein, transmitting element 61, the tactful instruction strategy identified is comprised to strategy and charging enabled devices for sending, instruction strategy is obtained to make strategy and charging enabled devices, with make strategy and charging enabled devices according to strategy mark judge instruction strategy be whether circulation come into force indicate tactful, if, then obtain come into force executing rule corresponding to instruction strategy and circulation of circulation to come into force entry-into-force time of executing rule corresponding to instruction strategy, the entry-into-force time of executing rule corresponding to strategy is indicated whether to mate to make the time of user's equipment Inspection user access service and circulation come into force, if do not mate, then whether the time of continuation detection user access service comes into force with circulation and indicates the entry-into-force time of executing rule corresponding to strategy to mate, if coupling, then subscriber equipment indicates according to coming into force with circulation the executing rule that strategy is corresponding, performs described executing rule, wherein, strategy mark for distinguish circulation come into force instruction strategy and the acyclic instruction that comes into force tactful.
The policy control device that the present embodiment provides, send instruction strategy to strategy and charging enabled devices by transmitting element 61, comprise the come into force judged result of instruction strategy of circulation to make strategy and charging enabled devices according to instruction strategy and obtain come into force entry-into-force time of executing rule corresponding to instruction strategy and circulation of circulation and to come into force the executing rule of the tactful correspondence of instruction.Wherein, the circulation instruction strategy that comes into force is used to indicate circulation and comes into force effective date of executing rule corresponding to instruction strategy, its effective date can flexible configuration, meet the executing rule of different user based on timing separation, issue instruction strategy targetedly, the different demands of different user can be met, the multiple demand of same user can also be met, alleviate that user type is single causes message surge by otherness configuration multiple choices, cause the problem that network burden increases the weight of.And, in time having multiple executing rule to exist, for always online user, during the tactful scene come into force for the tactful scene come into force based on the periodicity time or same time, the instruction strategy of section sometime on the same day can be deleted, when the tactful scene that period generation strategy entry-into-force time point or same time of second day come into force, only need again apply for instruction strategy to strategy and charging regulation device, periodically whether the monitor user ' access service time mates with the entry-into-force time of instruction strategy, if coupling, then charge according to the executing rule that this instruction strategy is corresponding.If do not mated, and the instruction strategy that has strategy mark to distinguish and mark circulation comes into force, as long as then for circulation comes into force instruction strategy, and do not have expired, then do not delete it, this circulation instruction that comes into force can be recycled tactful.Avoid majority have the consistently online user of same demand same time to send application instruction strategy request and cause the phenomenon of message surge, and simple and high-performance achieve network operation function.
Wherein, the content of instruction included by strategy specifically see the description in the application second embodiment, can not repeat them here.
As the optional execution mode of one, the present embodiment is based on the policy control device shown in Fig. 6, also comprise receiving element, the user sent for receiving strategy and charging enabled devices reaches the standard grade notice, to reach the standard grade the instruction strategy notifying that transmission is corresponding with user according to user very much; User reach the standard grade notice comprise credit control request answer message, for the application of policy control device instruction strategy.
Refer to Fig. 7, the structure chart of a kind of policy controlling system that Fig. 7 provides for the application the 7th embodiment.As shown in Figure 7, the policy controlling system that the present embodiment provides comprises: strategy and charging regulation device 71, policy control device 72.
Wherein, strategy and charging regulation device 71, for issuing instruction strategy, instruction strategy comprises strategy mark, for distinguish circulation come into force instruction strategy and acyclic come into force indicate tactful;
Policy control device 72, for obtaining instruction strategy; And for judging that according to strategy mark whether instruction strategy is that the circulation instruction that comes into force is tactful; the judged result of strategy is indicated for circulation comes into force according to instruction is tactful; obtain come into force executing rule corresponding to instruction strategy and circulation of circulation to come into force entry-into-force time of executing rule corresponding to instruction strategy, whether the time detecting user's access service comes into force with circulation and indicates the entry-into-force time of tactful corresponding executing rule to mate; According to the time of user's access service being detected and the result coming into force and indicate the entry-into-force time of executing rule corresponding to strategy to mate that circulates, and indicating according to coming into force with circulation the executing rule that strategy is corresponding, performing described executing rule.
Wherein, circulating comes into force indicates the tactful entry-into-force time to be have periodically, indicates the tactful entry-into-force time different from acyclic coming into force, and circulation comes into force and indicates the tactful entry-into-force time to be the periodicity entry-into-force time.
And, policy control device 72 can circulation come into force instruction strategy entry-into-force time in regularly or irregularly, or whether the time of the detection user access service of continuation and circulation come into force and indicate the entry-into-force time of executing rule corresponding to strategy to mate, if coupling, then perform this executing rule.
The policy controlling system that the present embodiment provides, acquire instruction strategy by policy control device 72 from strategy and charging regulation device 71, comprising the come into force judged result of instruction strategy of circulation according to instruction strategy and obtaining come into force entry-into-force time of executing rule corresponding to instruction strategy and circulation of circulation and to come into force the executing rule of instruction strategy correspondence.Wherein, the circulation instruction strategy that comes into force is used to indicate circulation and comes into force effective date of executing rule corresponding to instruction strategy, its effective date can flexible configuration, meet the executing rule of different user based on timing separation, strategy and charging regulation device 71 is made to issue instruction strategy targetedly, the different demands of different user can be met, the multiple demand of same user can also be met, alleviate that user type is single causes message surge by otherness configuration multiple choices, cause the problem that network burden increases the weight of.And, according to the time of user's access service being detected and the notice coming into force and indicate the entry-into-force time of strategy to mate that circulates, and indicate according to coming into force with circulation the executing rule that strategy is corresponding, perform described executing rule, in time having multiple executing rule to exist, for always online user, during the tactful scene come into force for the tactful scene come into force based on the periodicity time or same time, the instruction strategy of section sometime on the same day can be deleted, when the tactful scene that period generation strategy entry-into-force time point or same time of second day come into force, only need again apply for instruction strategy to strategy and charging regulation device 71, only need be mated by policy control device 72 entry-into-force time that periodically whether the monitor user ' access service time is tactful with instruction, if coupling, then charge according to the executing rule that this instruction strategy is corresponding.If do not mated, and the instruction strategy that has strategy mark to distinguish and mark circulation comes into force, as long as then for circulation comes into force instruction strategy, and do not have expired, then do not delete it, this circulation instruction that comes into force can be recycled tactful.Avoiding majority has the consistently online user same time of same demand send application instruction strategy request to strategy and charging regulation device 71 and cause the phenomenon of message surge, and simply and high-performance achieve network operation function.
As the optional execution mode of one, policy control device, also for notice of reaching the standard grade to strategy and charging regulation device transmission user, issues the instruction strategy corresponding with user to make strategy and charging regulation device; User's notice of reaching the standard grade comprises credit control request and answers message, for strategy and charging regulation device application instruction tactful;
Strategy and charging regulation device, the user also for receiving the transmission of policy control device to reach the standard grade notice, to issue the instruction strategy corresponding with user to policy control device.
As the optional execution mode of one, policy control device, also for obtaining the entry-into-force time of executing rule corresponding to instruction strategy, whether the entry-into-force time detecting executing rule corresponding to instruction strategy is expired, according to the notice that the entry-into-force time of the executing rule that instruction strategy is corresponding is expired being detected, judge whether instruction strategy comprises and expiredly at once report instruction, the expired judged result at once reporting instruction is comprised according to instruction strategy, the expired notice that reports of sending strategy is to strategy and charging regulation device, and trigger policy and charging regulation device issue new instruction strategy;
Strategy and charging regulation device, the strategy also for receiving the transmission of policy control device is expired reports notice, to issue new instruction strategy.
As the optional execution mode of one, policy control device, also judge whether instruction strategy comprises extension and report instruction for the notice that the entry-into-force time of the executing rule according to instruction strategy correspondence is expired, the judged result delaying to report instruction is comprised according to instruction strategy, judge whether user conversation has data flow, if user conversation does not have data flow, then whether cycle criterion user conversation has data flow, the judged result of data flow is had according to user conversation, the expired notice that reports of sending strategy is to strategy and charging regulation device, trigger policy and charging regulation device issue new instruction strategy.
Strategy and charging regulation device, the strategy also for receiving the transmission of policy control device is expired reports notice, to issue new instruction strategy.
In present embodiment, judge whether instruction strategy comprises extension and report instruction by policy control device, if, then after reported event occurs, carry out extension when there being data flow to the application of the not strategy instruction of controlling policy execution result to report, the strategy instruction application of the strategy instruction application of the importance of some users ground or not controlling policy execution result is avoided to take the new instruction strategy of a large amount of data flow applications in expired the same time, achieve the expired diversity reporting notice, avoid the serious problems that message surge causes network paralysis.
In several embodiments that the application provides, should be understood that disclosed equipment and method can realize by another way.Such as, apparatus embodiments described above is only schematic, such as, the division of described module or unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or module can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.In addition, shown or discussed coupling each other or direct-coupling or communication connection can be indirect coupling by some interfaces, device, module or unit or communication connection, also can be electric, machinery or other form connect.
The described module that illustrates as separating component or unit or can may not be and physically separate, parts as module or unit display can be or may not be physical module or unit, namely can be positioned at a place, or also can be distributed on multiple mixed-media network modules mixed-media or unit.Some or all of module wherein or unit can be selected according to the actual needs to realize the object of embodiment of the present invention scheme.
In addition, each functional module in each embodiment of the present invention or unit can be integrated in a processing module or unit, also can be that the independent physics of modules or unit exists, also can be that two or more modules or unit are integrated in a module or unit.Above-mentioned integrated module or unit both can adopt the form of hardware to realize, and the form of SFU software functional unit also can be adopted to realize.
If described integrated module or unit using the form of software function module or unit realize and as independently production marketing or use time, can be stored in a computer read/write memory medium.Based on such understanding, technical scheme of the present invention is in essence in other words to the part that prior art contributes, or all or part of of this technical scheme can the form of software product embody, this computer software product is stored in a storage medium, comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, portable hard drive, read-only memory (ROM, Read-OnlyMemory), random access memory (RAM, RandomAccessMemory), magnetic disc or CD etc. various can be program code stored medium.
The above; be only the specific embodiment of the present invention; but protection scope of the present invention is not limited thereto; anyly be familiar with those skilled in the art in the technical scope that the present invention discloses; can expect amendment or the replacement of various equivalence easily, these amendments or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claim.