Embodiment
For the advantage that makes technical solution of the present invention is clearer, below in conjunction with drawings and Examples the present invention is elaborated.
Embodiment one
Present embodiment provides a kind of authentication control method of data service, and as shown in Figure 1, described method comprises:
101, receive the data service message that business network element sends.
102, add up in the predetermined amount of time and the actual interaction times between the business network element.
Wherein, described predetermined amount of time can be set to 24 * 3600 seconds.
103, when described actual interaction times surpasses the specified number of times set in advance, calculate the actual grant amount and authorize with described actual grant amount, wherein, the standard warrant quantity * actual interaction times/described specified number of times of described actual grant amount=set in advance.
Wherein, described specified number of times is set in advance by system, is the normal interaction times in the predetermined amount of time and between the business network element.
Further, described method can also comprise:
When network environment is affected, described actual grant amount is adjusted into: actual grant amount=web influence weights * standard warrant quantity * actual interaction times/specified number of times.
Further, after described calculating actual grant amount, described method can also comprise:
Calculate user balance, when described user balance can be paid described actual grant amount, authorize with described actual grant amount.
Further, described method can also comprise:
When described actual interaction times reverts to specified number of times, described actual grant amount is returned to described standard warrant quantity, authorize with described standard warrant quantity.
The authentication control method of the data service that the embodiment of the invention provides, behind the data service message that receives the business network element transmission, add up in the predetermined amount of time and the actual interaction times between the business network element, when described actual interaction times surpasses specified number of times, calculate the actual grant amount and authorize with described actual grant amount, wherein, described actual grant amount=standard warrant quantity * actual interaction times/specified number of times.Compared with prior art, the embodiment of the invention can reach the effect of reasonable disposition resource according to the mutual frequency of business network element the warrant quantity of data business dynamically being adjusted, prevent because of the too fast system burden that causes of user's request rate overweight.
Embodiment two
Present embodiment provides a kind of authentication control method of data service, in the present embodiment, is example with the authorization control of carrying out data service in PS (Packet Switching, packet switching) network, and as shown in Figure 2, described method comprises:
When 201, the user used business, GGSN trigger data service message was to OCS.
202, after the OCS charging authentication, the message number of times in the statistics predetermined amount of time.
Predetermined amount of time arranges 24 * 3600 seconds.
203, at the fixed time in the section, the actual interaction times between GGSN and the OCS becomes original X doubly, and OCS is adjusted into original Y doubly according to the variation of actual interaction times with warrant quantity.
When actual interaction times surpasses the specified number of times that sets in advance, calculate the actual grant amount and authorize with described actual grant amount, wherein, described actual grant amount=standard warrant quantity * actual interaction times/specified number of times, at this moment, the actual interaction times of Y=X=/specified number of times.
Further, when network environment has than great fluctuation process, for example: network environment is subjected to communication network quality, concurrent Internet user's quantity, when other business influence taking of computational resource and storage resources, the actual grant amount need be adjusted into: actual grant amount=web influence weights * standard warrant quantity * actual interaction times/specified number of times, at this moment, Y=Z * X=web influence weights * actual interaction times/specified number of times, wherein, Z is the web influence weights.
204, OCS authorizes with the actual grant amount.
205, when interaction times reverts to specified number of times, OCS returns to described standard warrant quantity with described actual grant amount.
206, OCS authorizes with described standard warrant quantity.
The authentication control method of the data service that the embodiment of the invention provides, behind the data service message that receives the business network element transmission, add up in the predetermined amount of time and the actual interaction times between the business network element, when described actual interaction times surpasses specified number of times, calculate the actual grant amount and authorize with described actual grant amount, wherein, described actual grant amount=standard warrant quantity * actual interaction times/specified number of times, when network environment is affected, described actual grant amount=web influence weights * standard warrant quantity * actual interaction times/specified number of times.Compared with prior art, the embodiment of the invention can reach the effect of reasonable disposition resource according to the mutual frequency of business network element the warrant quantity of data business dynamically being adjusted, prevent because of the too fast system burden that causes of user's request rate overweight.
Embodiment three
Present embodiment provides a kind of authentication control method of data service, in the present embodiment, is example with the authorization control of carrying out data service in IMS (IP Multimedia System, IP Multimedia Subsystem) network.In the IMS network, NGN (next generation network, Next Generation Network) by SIP (conversation initialized protocol, Session Initiation Protocol) agreement reports authentication/charging request of GPRS, after SCP (service control point, Service Control Point) receives the request of charging, send the request of charging to OCS, return CCA (Credit Control Answer, Credit Control Answer) after OCS finishes dealing with and give SCP, SCP is again by SIP signaling control NGN.
As shown in Figure 3, described method comprises:
When 301, the user used business, SCP trigger data service message was to OCS.
302, after the OCS charging authentication, the message number of times in the statistics predetermined amount of time.
Predetermined amount of time is set to 24 * 3600 seconds.
303, at the fixed time in the section, the actual interaction times between SCP and the OCS becomes original X doubly, and OCS is adjusted into original Y doubly according to the variation of actual interaction times with warrant quantity.
When actual interaction times surpasses specified number of times, calculate the actual grant amount and authorize with described actual grant amount, wherein, described actual grant amount=standard warrant quantity * actual interaction times/specified number of times, at this moment, the actual interaction times of Y=X=/specified number of times.
Further, when network environment has than great fluctuation process, for example: network environment is subjected to communication network quality, concurrent Internet user's quantity, when other business influence taking of computational resource and storage resources, the actual grant amount need be adjusted into: actual grant amount=web influence weights * standard warrant quantity * actual interaction times/specified number of times, at this moment, Y=Z * X=web influence weights * actual interaction times/specified number of times, wherein, Z is the web influence weights.
304, OCS authorizes with the actual grant amount.
305, when interaction times reverts to specified number of times, OCS returns to described standard warrant quantity with described actual grant amount.
306, OCS authorizes with described standard warrant quantity.
The authentication control method of the data service that the embodiment of the invention provides, behind the data service message that receives the business network element transmission, add up in the predetermined amount of time and the actual interaction times between the business network element, when described actual interaction times surpasses specified number of times, calculate the actual grant amount and authorize with described actual grant amount, wherein, described actual grant amount=standard warrant quantity * actual interaction times/specified number of times, when network environment is affected, described actual grant amount=web influence weights * standard warrant quantity * actual interaction times/specified number of times.Compared with prior art, the embodiment of the invention can reach the effect of reasonable disposition resource according to the mutual frequency of business network element the warrant quantity of data business dynamically being adjusted, prevent because of the too fast system burden that causes of user's request rate overweight.
Embodiment four
Present embodiment provides a kind of authentication control method of data service, in the present embodiment, is example with the authorization control of carrying out data service in CS (circuit switching, Circuit Switching) network.In the CS network, SGSN (GPRS supporting node, Serving GPRS Support Node) ((user that mobile network strengthens logic uses CAMEL by CAP, Customised Applications for Mobile networks Enhanced Logic) Application Protocol, the CAMEL application procedures) agreement reports authentication/charging request of GPRS, after SCP receives the request of charging, send the request of charging to OCS, return CCA after OCS finishes dealing with and reply to SCP, SCP is again by CAP signaling control SGSN.
As shown in Figure 4, described method comprises:
When 401, the user used business, SCP trigger data service message was to OCS.
402, after the OCS charging authentication, the message number of times in the statistics predetermined amount of time.
Predetermined amount of time arranges 24 * 3600 seconds.
403, at the fixed time in the section, the actual interaction times between SCP and the OCS becomes original X doubly, and OCS is adjusted into original Y doubly according to the variation of actual interaction times with warrant quantity.
When actual interaction times surpasses specified number of times, calculate the actual grant amount and authorize with described actual grant amount, wherein, described actual grant amount=standard warrant quantity * actual interaction times/specified number of times, at this moment, the actual interaction times of Y=X=/specified number of times.
Further, when network environment has than great fluctuation process, for example: network environment is subjected to communication network quality, concurrent Internet user's quantity, when other business influence taking of computational resource and storage resources, the actual grant amount need be adjusted into: actual grant amount=web influence weights * standard warrant quantity * actual interaction times/specified number of times, at this moment, Y=Z * X=web influence weights * actual interaction times/specified number of times, wherein, Z is the web influence weights.
404, OCS authorizes with the actual grant amount.
405, when interaction times reverts to specified number of times, OCS returns to described standard warrant quantity with described actual grant amount.
406, OCS authorizes with described standard warrant quantity.
The authentication control method of the data service that the embodiment of the invention provides, behind the data service message that receives the business network element transmission, add up in the predetermined amount of time and the actual interaction times between the business network element, when described actual interaction times surpasses specified number of times, calculate the actual grant amount and authorize with described actual grant amount, wherein, described actual grant amount=standard warrant quantity * actual interaction times/specified number of times, when network environment is affected, described actual grant amount=web influence weights * standard warrant quantity * actual interaction times/specified number of times.Compared with prior art, the embodiment of the invention can reach the effect of reasonable disposition resource according to the mutual frequency of business network element the warrant quantity of data business dynamically being adjusted, prevent because of the too fast system burden that causes of user's request rate overweight.
Embodiment five
Present embodiment provides a kind of authorization control device of data service, and as shown in Figure 5, described device comprises:
Message sink module 501 is used for receiving the data service message that business network element sends;
Statistical module 502 is used in the statistics predetermined amount of time and the actual interaction times between the business network element;
Authorization control module 503, be used for when described actual interaction times surpasses the specified number of times that sets in advance, calculate the actual grant amount and authorize with described actual grant amount, wherein, the standard warrant quantity * actual interaction times/specified number of times of described actual grant amount=set in advance.
Wherein, described predetermined amount of time can be set to 24 * 3600 seconds.
Embodiment six
Present embodiment provides a kind of authorization control device of data service, and as shown in Figure 6, described device comprises:
Message sink module 601 is used for receiving the data service message that business network element sends;
Statistical module 602 is used in the statistics predetermined amount of time and the actual interaction times between the business network element;
Authorization control module 603, be used for when described actual interaction times surpasses the specified number of times that sets in advance, calculate the actual grant amount and authorize with described actual grant amount, wherein, the standard warrant quantity * actual interaction times/specified number of times of described actual grant amount=set in advance.
Wherein, described predetermined amount of time can be set to 24 * 3600 seconds.
In addition, the authorization control device of the data service that present embodiment provides also comprises authoritative restore module 604, be used for when described actual interaction times reverts to specified number of times, described actual grant amount being returned to described standard warrant quantity, authorize with described standard warrant quantity.
Further, described authorization control module 603 also is used for calculating user balance after calculating the actual grant amount, when described user balance can be paid described actual grant amount, authorizes with described actual grant amount.
Further, described authorization control module 603 also is used for described actual grant amount being adjusted into: actual grant amount=web influence weights * standard warrant quantity * actual interaction times/specified number of times when network environment is affected.
In the present embodiment, the authorization control device of described data service can be OCS, but is not limited only to this.
The authorization control device of the data service that the embodiment of the invention provides, message sink module 601 is behind the data service message that receives the business network element transmission, statistical module 602 is added up in the predetermined amount of time and the actual interaction times between the business network element, when described actual interaction times surpasses specified number of times, authorization control module 603 is calculated the actual grant amount and is authorized with described actual grant amount, wherein, described actual grant amount=standard warrant quantity * actual interaction times/specified number of times.Compared with prior art, the embodiment of the invention can reach the effect of reasonable disposition resource according to the mutual frequency of business network element the warrant quantity of data business dynamically being adjusted, prevent because of the too fast system burden that causes of user's request rate overweight.
The above-mentioned method embodiment that provides can be provided the authorization control device of the data service that the embodiment of the invention provides, and concrete function realizes seeing also the explanation among the method embodiment, does not repeat them here.The authentication control method of the data service that the embodiment of the invention provides and device go for carrying out the authorization control of data service in PS network, CS network, IMS network, but are not limited only to this.
One of ordinary skill in the art will appreciate that all or part of flow process that realizes in above-described embodiment method, be to instruct relevant hardware to finish by computer program, described program can be stored in the computer read/write memory medium, this program can comprise the flow process as the embodiment of above-mentioned each side method when carrying out.Wherein, described storage medium can be magnetic disc, CD, read-only storage memory body (Read-Only Memory, ROM) or at random store memory body (Random Access Memory, RAM) etc.
The above; only be the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily 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.