CN107027109A - A kind of method, Online Charging System and gateway for adjusting customer flow quota - Google Patents
A kind of method, Online Charging System and gateway for adjusting customer flow quota Download PDFInfo
- Publication number
- CN107027109A CN107027109A CN201610077175.1A CN201610077175A CN107027109A CN 107027109 A CN107027109 A CN 107027109A CN 201610077175 A CN201610077175 A CN 201610077175A CN 107027109 A CN107027109 A CN 107027109A
- Authority
- CN
- China
- Prior art keywords
- carrying
- flow quota
- ocs
- gateway
- flow
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/24—Accounting or billing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M15/00—Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
- H04M15/64—On-line charging system [OCS]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M15/00—Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
- H04M15/80—Rating or billing plans; Tariff determination aspects
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M15/00—Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
- H04M15/80—Rating or billing plans; Tariff determination aspects
- H04M15/8027—Rating or billing plans; Tariff determination aspects based on network load situation
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiment of the invention discloses a kind of method for adjusting customer flow quota, including:The corresponding flow quota application information of the first carrying for the first terminal that gateway is sent is received, flow quota application information includes quantity of first carrying to the carrying of all terminals activation of mean consumption speed and the gateway connection of flow quota;Obtain the gateway quantity for accessing OCS, and each quantity of the carrying of all terminals activation of gateway connection;According to the flow quota application information, the flow quota obtained as the first carrying distribution is calculated;To gateway transmitted traffic quota response message, flow quota response message includes the flow quota for the first carrying distribution.Further, the embodiment of the invention also discloses a kind of Online Charging System, the method for another adjustment customer flow quota, and a kind of gateway.
Description
Technical field
The present invention relates to the flow configuring technical of the communications field, more particularly to a kind of method for adjusting customer flow quota,
Online Charging System and gateway.
Background technology
With the development of cordless communication network, the high-speed transfer of data is realized between network and terminal so that online to see
See that the popularization of the big flow such as video, handheld game mobile terminal application is possibly realized.
In the prior art, by increasing Online Charging System (OnlineChargingSystem, OCS) in a communication network
Network element realizes distribution and charging to terminal flow, and the terminal of prepaid user is when each online creates carrying, it is necessary to OCS
Transmitted traffic quota application, OCS is after flow quota application is received, to the gateway transmitted traffic quota response message, the stream
Amount quota response message includes firm discharge quotas of the OCS for the carrying distribution, then each in gateway meeting monitoring terminal
The situation of consumed flow is carried, when its surplus value is reduced to threshold value, the flow quota application process of triggering next time.
But, the ability of the different bearer consumed flow of terminal is different, if for example, terminal carries out high-definition movie online
Download, then the consumption to flow is very fast;If terminal uses instant communication software, the consumption to flow is slower.Discounting for
The otherness of different bearer, OCS is each carrying distribution identical flow quota, then can cause the faster carrying of flow consumption
Frequently to OCS transmitted traffic quota applications, cause signaling network load higher, be easily caused the delay of flow quota response message,
And then causing speed jitter phenomenon serious, Consumer's Experience is poor.
The content of the invention
In order to solve the above technical problems, the embodiment of the present invention expect provide it is a kind of adjust customer flow quota method,
Line charge system and gateway, can adaptively adjust the flow quota for distributing to carrying, reduce signaling network load, meanwhile, reduce
Speed jitter phenomenon, improves Consumer's Experience.
The technical proposal of the invention is realized in this way:
In a first aspect, the embodiment of the present invention provides a kind of method for adjusting customer flow quota, applied to online charging system
Unite OCS, including:
Receive the corresponding flow quota application information of the first carrying for the first terminal that gateway is sent, the flow quota Shen
Please information include all terminals activation that the described first carrying is connected to the mean consumption speed of flow quota and the gateway
The quantity of carrying;
Obtain the gateway quantity for accessing the OCS, and each quantity of the carrying of all terminals activation of gateway connection;
According to mean consumption speed of described first carrying to flow quota, all terminals activation of the gateway is connected
The quantity of carrying, the gateway quantity of the access OCS accesses all terminals activation of all gateways connection of the OCS
Carrying quantity sum, and the OCS each seconds signaling message disposal ability, calculating obtain for described first carrying point
The flow quota matched somebody with somebody;
To the gateway transmitted traffic quota response message, the flow quota response message is included for the described first carrying
The flow quota of distribution.
Optionally, the calculating obtains including for the flow quota of the described first carrying distribution:
According to formula (1), the flow quota ζ of the first carrying distribution is calculated as;
The formula (1) isWherein described v ' is the described first carrying to flow quota
Mean consumption speed, the N is the gateway quantity for accessing the OCS, the ωiFor all of i-th of gateway connection
The carrying quantity of terminal activation, the γ is less than the signaling message disposal ability of the OCS each seconds.
Optionally, the flow quota application information is also included in the maximum that the first terminal is contracted with the core net
The gateway obtains the flow quota response message of the OCS transmissions most in downlink transmission rate sum and preset time period
Long time delay;
Methods described also includes:
The maximum downstream transmission speed sum and preset time contracted according to the first terminal and the core net
The gateway obtains the maximum delay for the flow quota response message that the OCS is sent in section, and calculating obtains first carrying
Flow quota application activation threshold value;
The flow quota response message also includes the flow quota application activation threshold value of the described first carrying.
Optionally, the calculating, which obtains the described first flow quota application activation threshold value carried, includes:
According to formula (2), the flow quota application activation threshold value η of first carrying is calculated;
The formula (2) is η=v* τ;Wherein, the v is in the maximum that the first terminal is contracted with the core net
Downlink transmission rate sum, the τ is that the gateway obtains the flow quota response that the OCS is sent in the preset time period
The maximum delay of information.
Second aspect, the embodiment of the present invention provides a kind of Online Charging System OCS, including:
Receiving unit, the corresponding flow quota application information of the first carrying of the first terminal for receiving gateway transmission,
The flow quota application information includes what the described first carrying was connected to the mean consumption speed of flow quota and the gateway
The quantity of the carrying of all terminal activation;
First acquisition unit, the gateway quantity of the OCS, and all terminals that each gateway is connected are accessed for obtaining
The quantity of the carrying of activation;
First computing unit, for according to mean consumption speed of described first carrying to flow quota, connecting the net
The quantity of the carrying for all terminals activation closed, the gateway quantity of the access OCS accesses all gateways of the OCS
Connection all terminals activation carrying quantity sum, and the OCS each seconds signaling message disposal ability, calculate
To the flow quota for the described first carrying distribution;
Transmitting element, for the gateway transmitted traffic quota response message, the flow quota response message to include
For the flow quota of the described first carrying distribution.
Optionally, first computing unit specifically for:
According to formula (1), the flow quota ζ of the first carrying distribution is calculated as;
The formula (1) isWherein described v ' is the described first carrying to flow quota
Mean consumption speed, the N is the gateway quantity for accessing the OCS, the ωiFor all of i-th of gateway connection
The carrying quantity of terminal activation, the γ is less than the signaling message disposal ability of the OCS each seconds.
Optionally, the flow quota application information is also included in the maximum that the first terminal is contracted with the core net
The gateway obtains the flow quota response message of the OCS transmissions most in downlink transmission rate sum and preset time period
Long time delay;
The OCS also includes:
Second computing unit, for the maximum downstream transmission speed contracted according to the first terminal and the core net
The gateway obtains the maximum delay for the flow quota response message that the OCS is sent in sum and preset time period, calculates
Obtain the flow quota application activation threshold value of first carrying;
The flow quota response message that the transmitting element is sent also includes the flow quota Shen of the described first carrying
Please activation threshold value.
Optionally, it is described according to the second computing unit specifically for:
According to formula (2), the flow quota application activation threshold value η of first carrying is calculated;
The formula (2) is η=v* τ;Wherein, the v is in the maximum that the first terminal is contracted with the core net
Downlink transmission rate sum, the τ is that the gateway obtains the flow quota response that the OCS is sent in the preset time period
The maximum delay of information.
The third aspect, the embodiment of the present invention provides a kind of method for adjusting customer flow quota, including:
The corresponding flow quota application information of the first carrying of first terminal, the stream are sent to Online Charging System OCS
Measuring quota application information includes all ends that the described first carrying is connected to the mean consumption speed of flow quota and the gateway
Hold the quantity of the carrying of activation.
The flow quota response message that the OCS is sent is received, the flow quota response message includes being described first
Carry the flow quota of distribution.
Optionally, the flow quota application information is also included in the maximum that the first terminal is contracted with the core net
The gateway obtains the flow quota response message of the OCS transmissions most in downlink transmission rate sum and preset time period
Long time delay;
The flow quota response message also includes the flow quota application activation threshold value of the described first carrying.
Fourth aspect, the embodiment of the present invention provides a kind of gateway, including:
Transmitting element, the corresponding flow quota Shen of the first carrying for sending first terminal to Online Charging System OCS
Please information, the flow quota application information includes the described first carrying to the mean consumption speed and the gateway of flow quota
The quantity of the carrying of all terminals activation of connection.
Receiving unit, for receiving the flow quota response message that the OCS is sent, the flow quota response packet
Include the flow quota for the described first carrying distribution.
Optionally, the flow quota application information is also included in the maximum that the first terminal is contracted with the core net
The gateway obtains the flow quota response message of the OCS transmissions most in downlink transmission rate sum and preset time period
Long time delay;
The flow quota response message also includes the flow quota application activation threshold value of the described first carrying.
It is described the embodiments of the invention provide a kind of method, Online Charging System and gateway for adjusting customer flow quota
The method of adjustment customer flow quota includes:Receive the corresponding flow quota application of the first carrying for the first terminal that gateway is sent
Information, the flow quota application information includes the described first carrying and the mean consumption speed of flow quota and the gateway is connected
The quantity of the carrying of all terminals activation connect;Acquisition access OCS gateway quantity, and each gateway connection are all
The quantity of the carrying of terminal activation;According to mean consumption speed of described first carrying to flow quota, the gateway is connected
The quantity of the carrying of all terminal activation, the gateway quantity of the access OCS accesses all gateways connection of the OCS
All terminals activation carrying quantity sum, and the OCS each seconds signaling message disposal ability, calculating obtain for
The flow quota of the first carrying distribution;To the gateway transmitted traffic quota response message, the flow quota response letter
Breath includes the flow quota for the described first carrying distribution.Compared to prior art, due to can be according to carrying to flow quota
Depletion rate, the total coactivated carrying quantity of OCS, and OCS signaling processing ability are carrying distribution flow quota, can be with
The size of the adaptive flow quota for being adjusted to each carrying distribution so that the flow that depletion rate carries distribution faster is matched somebody with somebody
Volume is more, reduces depletion rate and carries the number of times of application flow quota faster, and then reduces signaling network load, meanwhile,
Due to reducing signaling network load so that OCS answer speed is improved, therefore speed jitter phenomenon is also reduced, carried
High Consumer's Experience.
Brief description of the drawings
Fig. 1 is a kind of flow chart 1 for the method for adjusting customer flow quota provided in an embodiment of the present invention;
Fig. 2 is a kind of interaction figure for the method for adjusting customer flow quota provided in an embodiment of the present invention;
Fig. 3 is a kind of structural representation Fig. 1 of Online Charging System provided in an embodiment of the present invention;
Fig. 4 is a kind of structural representation Fig. 2 of Online Charging System provided in an embodiment of the present invention;
Fig. 5 is a kind of flow chart 2 for the method for adjusting customer flow quota provided in an embodiment of the present invention;
Fig. 6 is a kind of structural representation of gateway provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described.
The embodiment of the present invention provides a kind of method for adjusting customer flow quota, applied to Online Charging System
(OnlineChargingSystem, OCS), as shown in figure 1, including:
Step 101, the corresponding flow quota application information of the first carrying for receiving the first terminal that gateway is sent, the stream
Measuring quota application information includes all ends that the described first carrying is connected to the mean consumption speed of flow quota and the gateway
Hold the quantity of the carrying of activation.
Example, the gateway can be GGSN (Gateway GPRS Support Node, gateway in core net
GPRS Support Node) or SAEGW (System Architecture Evolution Gateway, system architecture evolution net
Close), the first terminal can be mobile phone, tablet personal computer, or wireless Internet card etc., and the embodiment of the present invention is not limited this.
The carrying can be understood as a core net to UE logical path, such as the carrying of UE to core net is referred to as drilling in 4G networks
The grouping system carrying (Evolved Packet System bearer, EPS bearer) entered.One terminal can activate many
Bar is carried, such as when terminal carries out online high-definition movie download, can activate a carrying, terminal is carried out using data core net
During VOLTE (Voice over LTE) voice call, another carrying can be activated, the VOLTE is a kind of based on IMS (IP
Multimedia Subsystem, IP multimedia subsystem) speech business.OCS is to be based on holding for the distribution of flow quota
Load, i.e. OCS is the corresponding flow quota of each carrying distribution, and the flow quota of distribution is consumed into activation threshold value when carrying
When, again to OCS application distribution flow quotas.
Specifically, the embodiment of the present invention is illustrated by taking the first carrying of first terminal as an example, the first terminal is institute
Any one terminal in all terminals of gateway connection is stated, described first is carried as multiple carryings of the first terminal activation
In any one carrying.When first terminal, which creates first, to be carried, bearing activation request is sent to gateway, gateway is held according to this
Carry activation request and send the corresponding flow quota application information of the first carrying to OCS;Or the flow that gateway monitors first are carried
Service condition, when the flow quota distributed in last flow allocation of quota flow is consumed to activation threshold value by the first carrying,
Gateway sends the corresponding flow quota application information of the first carrying to OCS.The flow quota application information includes described first
The quantity of the carrying of all terminals activation connected to the mean consumption speed of flow quota and the gateway is carried, in order to
OCS calculates the flow quota that the first carrying is distributed in this flow allocation of quota flow, and first carrying is to flow quota
Mean consumption speed can be that being averaged for flow quota of the first carrying distribution disappears in last flow allocation of quota flow
Consume speed.Due to when first terminal, which creates first, to be carried, matching somebody with somebody in the absence of the flow distributed in last flow allocation of quota flow
Volume, can now include the maximum downstream transmission speed sum that first terminal is contracted with core net in flow quota application information
The quantity of the carrying of all terminals activation of (AMBR, Aggregate Maximum Bit Rate) and the gateway connection,
If user does not contract with core net, the maximum up-downgoing that general core net is contracted can be included in flow quota application information
The quantity of the carrying of all terminals activation of quantity sum and gateway connection.
Step 102, obtain the gateway quantity for accessing the OCS, and all terminals activation of each gateway connection is held
The quantity of load.
Example, multiple OCS, each OCS can be set to be responsible for the charging of the flow in a region in the core net.Often
Individual region includes multiple gateways, and each gateway includes corresponding gateway in the flow quota application information sent to OCS and connected
All terminals activation carrying quantity.OCS can pre-set carrying quantity list, be recorded in the carrying quantity list
Access the gateway quantity of the OCS, and each gateway connection terminal activation carrying quantity, and according to every time receiving
Flow quota application information be updated.When OCS need obtain gateway quantity, and carrying quantity when, can pass through inquiry
The carrying quantity list is obtained.
Step 103, according to the described first carrying to the mean consumption speed of flow quota, connect all ends of the gateway
The quantity of the carrying of activation is held, the quantity sum of the carrying of all terminals activation of all gateways connection of the OCS is accessed, with
And the signaling message disposal ability of the OCS each seconds, calculate the flow quota obtained as the described first carrying distribution.
Example, the flow quota ζ of the first carrying distribution according to formula (1), can be calculated as;The formula (1)
ForWherein described v ' is the described first carrying to the mean consumption speed of flow quota, the N
For the gateway quantity for accessing the OCS, the ωiFor the carrying quantity of all terminals activation of i-th of gateway connection, institute
State the signaling message disposal ability that γ is less than the OCS each seconds.
Step 104, to the gateway transmitted traffic quota response message, it is described that the flow quota response message, which includes,
The flow quota of first carrying distribution.
Example, OCS can generate flow quota after the flow quota for the described first carrying distribution is calculated
Response message, the flow quota response message includes the flow quota for the described first carrying distribution, and the flow is matched somebody with somebody
Volume response message is sent to gateway, and gateway is after flow quota response message is received, it is allowed to which the first carrying continues to access industry
Business, and the service condition of the flow quota of the first carrying is monitored.
So, due to can be according to carrying to the depletion rate of flow quota, the total coactivated carrying quantity of OCS,
And OCS signaling processing ability is carrying distribution flow quota, the flow of each carrying distribution can be adaptively adjusted to
The size of quota so that the flow quota that depletion rate carries distribution faster is more, reduces depletion rate and carries faster
Apply for the number of times of flow quota, and then reduce signaling network load, simultaneously as reducing signaling network load so that OCS's should
Answer speed to be improved, therefore also reduce speed jitter phenomenon, improve Consumer's Experience.
Further, the flow quota application information can also include what the first terminal was contracted with the core net
The gateway obtains the flow quota response letter that the OCS is sent in maximum downstream transmission speed sum and preset time period
The maximum delay of breath.The maximum downstream transmission speed that OCS can also contract according to the first terminal and the core net it
With and preset time period in the gateway obtain the maximum delay of the flow quota response message that the OCS is sent, calculate
To the flow quota application activation threshold value of the described first carrying, and the flow quota application activation threshold value hair that described first is carried
Gateway is given, for example, the flow quota response message that OCS is sent to gateway can also include the flow quota of the described first carrying
Apply for activation threshold value.Wherein, gateway obtains the time delay for the flow quota response message that the OCS is sent and matched somebody with somebody for gateway transmitted traffic
Time delay between volume application information to the flow quota response message for receiving OCS transmissions.In practical application, preset time period can
To be adjusted as the case may be, the embodiment of the present invention is not limited this.
Example, OCS is the first carrying distribution flow amount according to the flow quota consumption degree of the first carrying, in order to keep away
Exempt from the speed jitter phenomenon caused when the flow quota of application is waited flow quota next time by the first carrying after depleted,
OCS is provided with flow quota application activation threshold value, when the flow quota distributed is consumed to flow quota application by the first carrying
During activation threshold value, the flow Expenditure Levels that the flow of flow allocation of quota next time, i.e. gateway monitors first are carried are triggered, when first
Carrying is by the flow quota distributed when being consumed to flow quota application activation threshold value, and gateway is to OCS transmitted traffic quota applications
Information, in order to which OCS is again the first carrying distribution flow quota.But in the prior art, the flow quota Shen each carried
Please activation threshold value be all identical, do not account between each carrying because the difference caused to the depletion rate difference of flow
Property.If the setting of flow quota application activation threshold value is relatively low, it is easily caused the faster wait flow that is carried on of flow consumption and divides
There is speed shake in timing;If the setting of flow quota application activation threshold value is higher, it is easily caused flow and consumes slower hold
Carry and be allocated more flow, and flow consumption is carried without the available situation of flow faster.
For the flow quota application activation threshold value that adaptive adjustment first is carried, gateway is matched somebody with somebody to OCS transmitted traffics
During volume application information, the maximum downstream transmission speed sum of first terminal and core net signing can be carried and preset
The gateway obtains the maximum delay for the flow quota response message that the OCS is sent in period, in order to which OCS is according to first
The gateway obtains described in the maximum downstream transmission speed sum and preset time period that terminal is contracted with the core net
The maximum delay for the flow quota response message that OCS is sent, determines the flow quota application activation threshold value of the first carrying, and by institute
The flow quota application activation threshold value carrying for stating the first carrying is sent to gateway in flow quota response message, and gateway is to first
The service condition of the flow quota of carrying is monitored.When residual flow is reduced to the flow quota application firing level of the first carrying
During value, again to OCS transmitted traffic quota application informations.
Optionally, the flow quota application activation threshold value η of first carrying can according to formula (2), be calculated;The public affairs
Formula (2) is η=v* τ;Wherein, the v be the maximum downstream transmission speed contracted of the first terminal and the core net it
When with, the τ being that the gateway obtains the maximum for the flow quota response message that the OCS is sent in the preset time period
Prolong.
The embodiments of the invention provide a kind of method for adjusting customer flow quota, including:Receive gateway is sent first
The corresponding flow quota application information of the first carrying of terminal, the flow quota application information includes the described first carrying convection current
Measure the quantity of the carrying of the mean consumption speed of quota and all terminals activation of gateway connection;The first terminal is institute
Any one terminal in all terminals of gateway connection is stated, described first is carried as multiple carryings of the first terminal activation
In any one carrying;Obtain the gateway quantity for accessing the OCS, and all terminals activation of each gateway connection is held
The quantity of load;According to mean consumption speed of described first carrying to flow quota, all terminals activation of the gateway is connected
Carrying quantity, the gateway quantity of the access OCS, all terminals for accessing all gateways connection of the OCS swash
The quantity sum of carrying living, and the OCS each seconds signaling message disposal ability, calculating obtain for described first carrying
The flow quota of distribution.Compared to prior art, due to can altogether be swashed according to depletion rate of the carrying to flow quota, OCS
Carrying quantity living, and OCS signaling processing ability are carrying distribution flow quota, can adaptively be adjusted to each hold
Carry the size of the flow quota of distribution so that the flow quota that depletion rate carries distribution faster is more, reduce consumption speed
The number of times of the faster carrying application flow quota of degree, and then signaling network load is reduced, born simultaneously as reducing signaling network
Lotus so that OCS answer speed is improved, therefore speed jitter phenomenon is also reduced, improve Consumer's Experience.
The embodiment of the present invention provides a kind of method for adjusting customer flow quota, is that GGSN or SAEGW is using the gateway
Example is illustrated.As shown in Fig. 2 the method for the adjustment customer flow quota includes:
Step 201, first terminal are asked to the GGSN/SAEGW bearing activations for sending the first carrying.
Example, it is assumed that first terminal carries out needing activation first to carry during high-definition movie download online, now, first eventually
The bearing activation request that the first carrying is sent to GGSN/SAEGW is held, the bearing activation request can be signaling " Activate
PDP Context Requset”。
Step 202, GGSN/SAEGW ask to send the corresponding flow quota application of the first carrying to OCS according to bearing activation
Information.
Example, GGSN/SAEGW is after the bearing activation request of first terminal transmission is received, according to bearing activation
Ask to send the corresponding flow quota application information of the first carrying to OCS, it is described that the flow quota application information includes connection
The quantity of the carrying of GGSN/SAEGW all terminals activation, the maximum up-downgoing that the first terminal is contracted with the core net
When the gateway obtains the maximum for the flow quota response message that the OCS is sent in transmission rate sum and preset time period
Prolong, the flow quota of the first carrying distribution and the flow quota application activation threshold value of the first carrying are calculated as in order to OCS.
The flow quota application information can be CCR-I.If user does not contract with core net, flow quota application information includes
The number of the carrying of the maximum up-downgoing quantity sum of general core net signing and all terminals activation of gateway connection
Amount.
Example, the quantity of the carrying of all terminals activation of the GGSN/SAEGW connections can be 300000, first
The maximum downstream transmission speed sum that terminal is contracted with the core net can be in 20M/s (million is per second), preset time period
The maximum delay that the gateway obtains the flow quota response message that the OCS is sent is 150ms (millisecond)., can during initialization
With the form of preset flow quota application information, such as first group of data in flow quota application information are described for indicating
The quantity of the carrying of all terminals activation of GGSN/SAEGW connections, second group of data are used to indicate first terminal and the core
The maximum downstream transmission speed sum of signing is netted, the 3rd group of data are used to indicate that the GGSN/SAEGW is obtained in preset time period
The maximum delay for the flow quota response message that the OCS is sent is obtained, now flow quota application information can include 300000,
20,150, OCS be the meaning that can determine that each data after flow quota application information is received, according to the position of data.Wherein,
The preset time period can be 10s (second), or 5s, can be set as the case may be in practical application, the present invention is real
Example is applied not limit this.
Step 203, OCS obtain current accessed OCS GGSN/SAEGW quantity and each GGSN/SAEGW connections
The quantity of the carrying of all terminal activation.
Example, during initialization, OCS can pre-set carrying quantity list, and the carrying quantity list is used to record
The gateway quantity of the OCS, and each quantity of the carrying of the terminal activation of gateway connection are accessed, OCS is sent to due to each
Flow quota application information in terminal activation all including corresponding GGSN/SAEGW connections carrying quantity, therefore OCS
A flow quota application information is often received, the end for the GGSN/SAEGW connections that the flow quota application information is included
The quantity record of carrying of activation is held in the carrying quantity list, and according to the flow quota application information received every time
Carrying quantity list is updated., can be described by inquiry when OCS needs to obtain gateway quantity, and during carrying quantity
Carrying quantity list is obtained.
Step 204, OCS are retrieved as the flow quota of the first carrying distribution.
Optionally, the maximum downstream transmission speed that OCS can contract according to the first terminal and the core net it
With, the quantity of the carrying of the GGSN/SAEGW of OCS quantity and all terminals activation of each GGSN/SAEGW connections is accessed,
It is retrieved as the flow quota of the first carrying distribution.Specifically, first carrying point can be calculated as according to formula (1)
The flow quota ζ matched somebody with somebody;The formula (1) isWherein, because the first carrying is first establishment,
Therefore the maximum downstream transmission speed sum that the v ' can contract for v, i.e. first terminal with the core net, if user is not
Contracted with core net, the maximum up-downgoing quantity sum that the v ' can also contract for general core net, the N is the core
The gateway quantity of the OCS, the ω are accessed in heart netiFor the carrying quantity of all terminals activation of i-th of gateway connection, institute
State the signaling message disposal ability that γ is less than the OCS each seconds.
For example, the GGSN/SAEGW for accessing the OCS has 3, i.e. N=3.Wherein, first GGSN/SAEGW
The carrying quantity of all terminals activation of connection is 300000, i.e. ω1=300000;Second GGSN/SAEGW connection it is all
The carrying quantity of terminal activation is 330000, i.e. ω2=330000;All terminals activation of 3rd GGSN/SAEGW connection
It is 315000, i.e. ω to carry quantity3=315000.The maximum downstream transmission speed that the first terminal is contracted with the core net
Rate sum is 20M/s, i.e. v=20M/s, and the γ value relatively low by setting can reach the purpose of reduction signaling network load, preferably
, γ is less than or equal to the 50% of the signaling message disposal ability of OCS each seconds.Preferably, γ can be the letter of OCS each seconds
Make γ=200000 in the 30%~40% of message handling ability, the embodiment of the present invention.It is now the described first carrying distribution
Flow quota
That is OCS is that the flow quota of the first carrying distribution is 94.5M.
Step 205, OCS obtain the flow quota application activation threshold value of first carrying.
Optionally, the maximum downstream transmission speed that OCS can contract according to the first terminal and the core net it
With and preset time period in the gateway obtain the maximum delay of the flow quota response message that the OCS is sent, obtain institute
State the flow quota application activation threshold value of the first carrying.Specifically, the stream of first carrying according to formula (2), can be calculated
Measure quota application activation threshold value η;The formula (2) is η=v* τ;Wherein, the v is the first terminal and the core net
The maximum downstream transmission speed sum of signing, the τ is that the gateway obtains what the OCS was sent in the preset time period
The maximum delay of flow quota response message.
Example, first terminal is 20M/s, i.e. v=with the maximum downstream transmission speed sum that the core net is contracted
The maximum delay for the flow quota response message that the gateway acquisition OCS is sent is in 20M/s, the preset time period
150ms, i.e. τ=150ms=0.15s.Now first carrying flow quota application activation threshold value η=v* τ=20*0.15=
3M。
Step 206, OCS are to GGSN/SAEGW transmitted traffic quota response messages.
Example, OCS is calculating the flow quota for the described first carrying distribution and the flow quota of the first carrying
Apply after activation threshold value, can generate flow quota response message, the flow quota response message includes being described first
The flow quota of distribution and the flow quota application activation threshold value of first carrying are carried, and the flow quota response is believed
Breath is sent to GGSN/SAEGW, and the flow quota response message can be CCA-I.
In practical application, the form of flow quota response message can be preset, such as first group data are used to represent
For the flow quota of the described first carrying distribution, second group of data is used for the flow quota application triggering for representing first carrying
Threshold value, i.e., described flow quota response message includes 94.5,3, GGSN/SAEGW after flow quota response message is received, root
It is the meaning that can determine that each data according to the position of data.
The session establishment that step 207, GGSN/SAEGW send the first carrying to first terminal is responded.
Example, after GGSN/SAEGW receives flow quota response message, illustrate that OCS is assigned with pair for the first carrying
The flow quota answered, the first carrying can be using flow quota progress Operational Visit, and now GGSN/SAEGW can be to the
One terminal sends the session establishment response of the first carrying, has been activated for indicating that first terminal first is carried, can carry out business
Access, the session establishment response can be signaling " Activate PDP Context Accept ".
Access service request is initiated in step 208, the first carrying of first terminal.
Example, first terminal can make in the session establishment response for the first carrying for receiving GGSN/SAEGW transmissions
With the flow quota for the first carrying distribution, for example, online high-definition movie downloading service, the access service can be proceeded by
Request can be signaling " Service Start Requset ".
Step 209, the flow consumption of the carrying of GGSN/SAEGW monitoring first, when the flow of the described first carrying is consumed to stream
When measuring quota application activation threshold value, again to OCS transmitted traffic quota application informations.
Example, when the first city of first terminal is in access service, the flow of the carrying of GGSN/SAEGW monitoring first disappears
Consumption situation, when the flow of the first carrying is consumed to flow quota application activation threshold value, illustrates that the flow quota of the first carrying will
Use, it is necessary to apply for flow quota to OCS again, now GGSN/SAEGW can be again to transmitted traffic quota letter of application
Breath, the flow quota application information includes being that the flow that first carrying is distributed is matched somebody with somebody in last flow allocation of quota flow
The mean consumption speed of volume, the GGSN/SAEGW connections all terminals activation carrying quantity, the first terminal with
The gateway obtains the OCS and sent in the maximum downstream transmission speed sum and preset time period of the core net signing
Flow quota response message maximum delay, be easy to OCS be calculated as again the first carrying distribution flow quota and first hold
The flow quota application activation threshold value of load, the flow quota application information can be CCR-U.
For example, being the mean consumption speed of the flow quota of the first carrying distribution in last flow allocation of quota flow
V '=(ζ-η)/t is spent, the t is the time interval of the adjacent quota application of transmitted traffic twice.Wherein ζ=94.5M, η=3M, t
=7s, then v '=(94.5-3)/7=13.1M/s.The quantity of carrying of all terminals activation of the GGSN/SAEGW connections is
300000, the first terminal is 20M/s, preset time period with the maximum downstream transmission speed sum that the core net is contracted
The maximum delay that the interior gateway obtains the flow quota response message that the OCS is sent is 160ms.
The quantity and each GGSN/SAEGW that step 210, OCS obtain current accessed OCS GGSN/SAEGW again connect
The quantity of the carrying of all terminals activation connect.
Example, OCS can carry quantity list again by inquiry, obtain current accessed OCS GGSN/SAEGW
Quantity and each GGSN/SAEGW connections all terminals activation carrying quantity, pass through inquiry, the N=3.Its
In, ω1=300000, ω2=330000, ω3=315000.
Step 211, OCS are retrieved as the flow quota of the first carrying distribution again.
Example, OCS can according to be in last flow allocation of quota flow it is described first carrying distribution flow match somebody with somebody
The mean consumption speed of volume, accesses the GGSN/SAEGW of OCS quantity and all terminals of each GGSN/SAEGW connections swash
The quantity of carrying living, is retrieved as the flow quota of the first carrying distribution again.Specifically, OCS can be again according to public affairs
Formula (1) calculates the current flow quota for the first carrying distribution, i.e. the flow quotas of OCS again for the first carrying distributionThat is OCS
The flow quota for being again the first carrying distribution is 63.21M.
Step 212, OCS obtain the flow quota application activation threshold value of first carrying again.
Example, the maximum downstream transmission speed that OCS can contract according to the first terminal and the core net it
With and preset time period in the gateway obtain the maximum delay of the flow quota response message that the OCS is sent, obtain again
Take the flow quota application activation threshold value of first carrying.Specifically, OCS can calculate described the again according to formula (2)
The flow quota application activation threshold value of one carrying, i.e., flow quota application activation threshold value η=v* τ=20* of described first carrying
0.16=3.2M.
Step 213, OCS are again to GGSN/SAEGW transmitted traffic quota response messages.
Example, OCS gets the flow quota for the described first carrying distribution and the flow quota of the first carrying again
, can be again to the GGSN/SAEGW transmitted traffics quota response message after application activation threshold value, the flow quota should
Answering information includes the flow quota of the OCS carryings of flow quota 63.21M and first for the described first carrying distribution obtained again
Apply for activation threshold value 3.2M.The flow quota response message can be CCA-U.
It should be noted that because first terminal has the limitation of flow bag, when what OCS was obtained again carries for described first
When the flow quota of distribution is more than the residual flow of the flow bag of first terminal, what the flow quota response message included is
The flow quota of first carrying distribution is the residual flow of the flow bag of first terminal.For example, OCS obtain again for described
The flow quota of one carrying distribution is 64.5M, and the residual flow of the flow bag of first terminal is 20M, now the flow quota
The flow quota for the first carrying distribution of response message is 20M.
Step 214, GGSN/SAEGW allow the first carrying to continue access service.
Example, after GGSN/SAEGW receives the flow quota response message of OCS transmissions, it is first again to represent OCS
Carrying is assigned with flow amount, and GGSN/SAEGW can allow the first carrying to continue access service.Also, GGSN/SAEGW continues
The Expenditure Levels of the flow quota of the carrying of monitoring first, when the flow for being consumed to the first carrying of the flow quota of the first carrying is matched somebody with somebody
During volume application activation threshold value, flow quota application process of setting out again.
Step 215, first terminal send load bearing deactivation request to GGSN/SAEGW.
Example, when first terminal stops using the first carrying access service, carrying can be sent to GGSN/SAEGW and gone
Activation request, the load bearing deactivation request can be signaling " Deactivate PDP Context Requset ".
Step 216, GGSN/SAEGW send load bearing deactivation response to first terminal.
Example, GGSN/SAEGW is received after the load bearing deactivation request of first terminal transmission, can be to first eventually
End sends load bearing deactivation response, and the Operational Visit for notifying first terminal first to carry has terminated, the load bearing deactivation
Response can be signaling " Deactivate PDP Context Accept ".
Step 217, GGSN/SAEGW terminate the business of the first carrying.
Example, the load bearing deactivation that GGSN/SAEGW is sent according to first terminal is asked, and stops first carrying
Operational Visit process.
Step 218, GGSN/SAEGW send diameter credit control ending request to OCS.
Example, the diameter credit control ending request includes the residual flow of the flow quota of the first carrying.Assuming that last
OCS is that the first carrying is assigned with 64.21M flow quotas, but the first carrying only used 25M, remaining 64.21-25=
39.21M is not used, and now GGSN/SAEGW can send diameter credit control ending request to OCS, and the diameter credit control terminates please
The residual flow 39.21M of the flow quota including the first carrying is sought, the diameter credit control ending request can be CCR-T.
Step 219, OCS according to first carrying flow quota residual flow, in the flow bag of the first terminal
Increase the residual flow.
Example, OCS learns the first carrying also after the diameter credit control ending request of GGSN/SAEGW transmissions is received
The flow quota for having 39.21M is not used, i.e., the first carrying uses (94.5+25) M flow altogether.Assuming that first terminal is being set up
Flow bag there remains 500M flows before first carrying, after first time flow allocation of quota, the flow bag residue (500-
94.5)=405.5M flows, after second of assignment of traffic, the flow bag there remains (500-94.5-64.21)=
341.29M flows, because the residual flow for having 39.21M in the flow quota of the second sub-distribution is not used, therefore first terminal
Flow bag there remains (341.29+39.21)=380.5M flows and be available for other carryings to use after being carried using first.
Step 220, OCS are sent to GGSN/SAEGW terminates success response.
Example, the end success response can be CCA-T.
It should be noted that the sequencing of the method and step of adjustment customer flow quota provided in an embodiment of the present invention can
Suitably to be adjusted, step according to circumstances can also accordingly be increased and decreased, and any one skilled in the art exists
The invention discloses technical scope in, the method that can readily occur in change should be all included within the scope of the present invention, because
This is repeated no more.
The embodiments of the invention provide a kind of method for adjusting customer flow quota, compared to prior art, due to can be with
According to depletion rate of the carrying to flow quota, the total coactivated carrying quantity of OCS, and OCS signaling processing ability is to hold
Carry distribution flow quota, can adaptively be adjusted to it is each carrying distribute flow quota size so that depletion rate compared with
The flow quota of fast carrying distribution is more, reduces depletion rate and carries the number of times of application flow quota faster, and then subtracts
Small signaling network load, simultaneously as reducing signaling network load so that OCS answer speed is improved, therefore also subtracts
Small speed jitter phenomenon, improves Consumer's Experience.
The embodiment of the present invention provides a kind of Online Charging System OCS 30, as shown in figure 3, including:
Receiving unit 301, the corresponding flow quota letter of application of the first carrying of the first terminal for receiving gateway transmission
Breath, the flow quota application information includes the described first carrying and the mean consumption speed of flow quota and the gateway is connected
All terminals activation carrying quantity.
Wherein, the first terminal is any one terminal in all terminals that the gateway is connected, and described first holds
Carry any one carrying in the multiple carryings activated for the first terminal.
First acquisition unit 302, the gateway quantity of the OCS 30, and the institute that each gateway is connected are accessed for obtaining
There is the quantity of the carrying of terminal activation.
First computing unit 303, for according to mean consumption speed of described first carrying to flow quota, connection to be described
The quantity of the carrying of all terminals activation of gateway, the gateway quantity of the access OCS accesses all nets of the OCS
Correlate connect all terminals activation carrying quantity sum, and the OCS each seconds signaling message disposal ability, calculate
Obtain the flow quota for the described first carrying distribution.
Transmitting element 304, for the gateway transmitted traffic quota response message, the flow quota response packet
Include the flow quota for the described first carrying distribution.
So, due to can be according to carrying to the depletion rate of flow quota, the total coactivated carrying quantity of OCS,
And OCS signaling processing ability is carrying distribution flow quota, the flow of each carrying distribution can be adaptively adjusted to
The size of quota so that the flow quota that depletion rate carries distribution faster is more, reduces depletion rate and carries faster
Apply for the number of times of flow quota, and then reduce signaling network load, simultaneously as reducing signaling network load so that OCS's should
Answer speed to be improved, therefore also reduce speed jitter phenomenon, improve Consumer's Experience.
Optionally, first computing unit 303 is distributed specifically for according to formula (1), being calculated as first carrying
Flow quota ζ.
The formula (1) isWherein described v ' is the described first carrying to flow quota
Mean consumption speed, the N is the gateway quantity for accessing the OCS, the ωiFor all of i-th of gateway connection
The carrying quantity of terminal activation, the γ is less than the signaling message disposal ability of the OCS each seconds.
Optionally, the flow quota application information is also included in the maximum that the first terminal is contracted with the core net
The gateway obtains the flow quota response message of the OCS transmissions most in downlink transmission rate sum and preset time period
Long time delay.
As shown in figure 4, the OCS 30 also includes:Second computing unit 305, for according to the first terminal with it is described
The gateway obtains the stream that the OCS is sent in the maximum downstream transmission speed sum and preset time period of core net signing
The maximum delay of quota response message is measured, the flow quota application activation threshold value for obtaining first carrying is calculated.Now, it is described
The flow quota response message that transmitting element 304 is sent also includes the flow quota application firing level of the described first carrying
Value.
Optionally, it is described according to the second computing unit 305 specifically for according to formula (2), calculating first carrying
Flow quota application activation threshold value η.
The formula (2) is η=v* τ;Wherein, the v is in the maximum that the first terminal is contracted with the core net
Downlink transmission rate sum, the τ is that the gateway obtains the flow quota response that the OCS is sent in the preset time period
The maximum delay of information.
It should be noted that first, it is apparent to those skilled in the art that, convenience and letter for description
Clean, the OCS of foregoing description system and the specific work process of unit may be referred to corresponding in preceding method embodiment
Journey, will not be repeated here.
Second, in actual applications, the first acquisition unit 302, the first computing unit 303 and the second computing unit
305 can be by the central processing unit (Central Processing Unit, CPU) in Online Charging System OCS 30, micro-
Processor (Micro Processor Unit, MPU), digital signal processor (Digital Signal Processor,
) or field programmable gate array (Field Programmable Gate Array, FPGA) etc. is realized DSP.It is described to receive single
Member 301 can be realized by the wireless receiving module in Online Charging System OCS 30 or cable network reception module.It is described to send single
Member 304 can be realized by the wireless sending module in Online Charging System OCS 30 or wired sending module.
The embodiments of the invention provide a kind of OCS, including:Receiving unit, for receiving the first terminal that gateway is sent
The corresponding flow quota application information of first carrying, the flow quota application information includes the described first carrying to flow quota
Mean consumption speed and the gateway connection all terminals activation carrying quantity;First acquisition unit, for obtaining
Access the gateway quantity of the OCS, and each quantity of the carrying of all terminals activation of gateway connection;First calculates single
Member, for according to mean consumption speed of described first carrying to flow quota, connecting all terminals activation of the gateway
The quantity of carrying, the gateway quantity of the access OCS accesses all terminals activation of all gateways connection of the OCS
Carrying quantity sum, and the OCS each seconds signaling message disposal ability, calculating obtain for described first carrying point
The flow quota matched somebody with somebody;Transmitting element, for the gateway transmitted traffic quota response message, the flow quota response message
Including the flow quota for the described first carrying distribution.Compared to prior art, due to can be according to carrying to flow quota
Depletion rate, the total coactivated carrying quantity of OCS, and OCS signaling processing ability are carrying distribution flow quota, can be certainly
What is adapted to is adjusted to the size of the flow quota of each carrying distribution so that depletion rate carries the flow quota of distribution faster
It is more, reduce depletion rate and carry the number of times of application flow quota faster, and then signaling network load is reduced, meanwhile, by
In reducing signaling network load so that OCS answer speed is improved, therefore also reduces speed jitter phenomenon, improve
Consumer's Experience.
The embodiment of the present invention provides a kind of method for adjusting customer flow quota, applied to gateway, as shown in figure 5, including:
Step 501, the corresponding flow quota application information of the first carrying to OCS transmission first terminals, the flow are matched somebody with somebody
Volume application information includes the described first carrying and all terminals of the mean consumption speed of flow quota and gateway connection is swashed
The quantity of carrying living.
Example, the embodiment of the present invention is illustrated by taking the first of first terminal the carrying as an example, when first terminal creates the
During one carrying, bearing activation request is sent to gateway, gateway asks corresponding to the carrying of OCS transmissions first according to the bearing activation
Flow quota application information, gateway sends the corresponding flow quota application information of the first carrying to OCS.The flow quota application
Information includes holding for all terminals activation that the described first carrying is connected to the mean consumption speed of flow quota and the gateway
The quantity of load, the flow quota of the first carrying is distributed in order to which OCS is calculated in this flow allocation of quota flow, and described first
Carry to the mean consumption speed of flow quota can be the first carrying distribution in last flow allocation of quota flow stream
Measure the mean consumption speed of quota.Due to when first terminal, which creates first, to be carried, in the absence of last flow allocation of quota flow
The flow quota of middle distribution, can now be included in flow quota application information above and below the maximum that first terminal is contracted with core net
Row transmission rate sum (AMBR, Aggregate Maximum Bit Rate) and all terminals activation of gateway connection
Carrying quantity, if user does not contract with core net, general core net label can be included in flow quota application information
Maximum up-downgoing quantity sum and the quantity of the carrying of all terminals activation of gateway connection about.
Step 502, the flow quota response message for receiving the OCS transmissions, the flow quota response message is including being
The flow quota of the first carrying distribution.
Example, OCS can generate flow quota after the flow quota for the described first carrying distribution is calculated
Response message, the flow quota response message includes the flow quota for the described first carrying distribution, and the flow is matched somebody with somebody
Volume response message is sent to gateway, and gateway is after flow quota response message is received, it is allowed to the first carrying access service, and
Service condition to the flow quota of the first carrying is monitored.
So, due to can adaptively be adjusted to the size for the flow quota that each carrying is distributed so that consumption
The flow quota of the carrying distribution of speed is more, reduces the number of times that depletion rate carries application flow quota faster,
And then signaling network load is reduced, simultaneously as reducing signaling network load so that OCS answer speed is improved, because
This also reduces speed jitter phenomenon, improves Consumer's Experience.
Further, the flow quota application information can also include what the first terminal was contracted with the core net
The gateway obtains the flow quota response letter that the OCS is sent in maximum downstream transmission speed sum and preset time period
The maximum delay of breath.Now, OCS is sent to the flow quota response message of gateway also including the described first flow quota carried
Apply for activation threshold value.
Example, in order to avoid the first carrying by the flow quota of application it is depleted after wait flow quota next time
Shi Zaocheng speed jitter phenomenon, OCS is provided with flow quota application activation threshold value, when the flow distributed is matched somebody with somebody in the first carrying
When volume is consumed to flow quota application activation threshold value, the triggering flow of flow allocation of quota next time, i.e. gateway monitors first are carried
Flow Expenditure Levels, when first carrying the flow quota distributed is consumed to flow quota application activation threshold value when, gateway
To OCS transmitted traffic quota application informations, in order to which OCS is again the first carrying distribution flow quota.For adaptive tune
The flow quota application activation threshold value of whole first carrying, gateway can carry the when to OCS transmitted traffic quota application informations
The gateway obtains institute in the maximum downstream transmission speed sum and preset time period that one terminal is contracted with the core net
The maximum delay of the flow quota response message of OCS transmissions is stated, in order to which OCS determines the flow quota application triggering of the first carrying
Threshold value.
The embodiment of the present invention provides a kind of method for adjusting customer flow quota, including:Sent to Online Charging System OCS
The corresponding flow quota application information of the first carrying of first terminal, the flow quota application information includes the described first carrying
The quantity of the carrying of all terminals activation of mean consumption speed and gateway connection to flow quota.Receive the OCS
The flow quota response message of transmission, the flow quota response message includes the flow quota for the described first carrying distribution.
Compared to prior art, the size of the flow quota due to can adaptively be adjusted to each carrying distribution so that consumption speed
The flow quota of the faster carrying distribution of degree is more, reduces the number of times that depletion rate carries application flow quota faster, enters
And signaling network load is reduced, simultaneously as reducing signaling network load so that OCS answer speed is improved, therefore
Speed jitter phenomenon is also reduced, Consumer's Experience is improved.
The embodiment of the present invention provides a kind of gateway 60, as shown in fig. 6, including:
Transmitting element 601, the corresponding flow quota of the first carrying for sending first terminal to Online Charging System OCS
Application information, the flow quota application information includes mean consumption speed and the net of described first carrying to flow quota
Close the quantity of the carrying of all terminals activation of 60 connections.
Receiving unit 602, for receiving the flow quota response message that the OCS is sent, the flow quota response letter
Breath includes the flow quota for the described first carrying distribution.
Further, the flow quota application information can also include what the first terminal was contracted with the core net
The gateway 60 obtains the flow quota response that the OCS is sent in maximum downstream transmission speed sum and preset time period
The maximum delay of information.Now, the flow quota response message also includes the flow quota application triggering of the described first carrying
Threshold value.
It should be noted that first, it is apparent to those skilled in the art that, convenience and letter for description
Clean, the system of the gateway of foregoing description and the specific work process of unit may be referred to corresponding in preceding method embodiment
Journey, will not be repeated here.
Second, in actual applications, the transmitting element 601 can be by the wireless sending module in gateway 60 or wired
Sending module is realized.Receiving unit 602 can be realized by the wireless receiving module in gateway 60 or cable network reception module.
The embodiment of the present invention provides a kind of gateway, including:Transmitting element, for sending first to Online Charging System OCS
The corresponding flow quota application information of the first carrying of terminal, the flow quota application information includes the described first carrying convection current
Measure the quantity of the carrying of the mean consumption speed of quota and all terminals activation of gateway connection.Receiving unit, for connecing
The flow quota response message that the OCS is sent is received, the flow quota response message is included for the described first carrying distribution
Flow quota.So, due to can adaptively be adjusted to the size for the flow quota that each carrying is distributed so that consumption
The flow quota of the carrying distribution of speed is more, reduces the number of times that depletion rate carries application flow quota faster,
And then signaling network load is reduced, simultaneously as reducing signaling network load so that OCS answer speed is improved, because
This also reduces speed jitter phenomenon, improves Consumer's Experience.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the scope of the present invention.
Claims (12)
1. a kind of method for adjusting customer flow quota, applied to Online Charging System OCS, it is characterised in that including:
Receive the corresponding flow quota application information of the first carrying for the first terminal that gateway is sent, the flow quota letter of application
Breath includes the carrying for all terminals activation that first carrying is connected to the mean consumption speed of flow quota and the gateway
Quantity;
Obtain the gateway quantity for accessing the OCS, and each quantity of the carrying of all terminals activation of gateway connection;
According to mean consumption speed of described first carrying to flow quota, the carrying of all terminals activation of the gateway is connected
Quantity, the gateway quantity of the access OCS, all terminals activation for accessing all gateways connection of the OCS holds
The quantity sum of load, and the OCS each seconds signaling message disposal ability, calculate obtain for described first carrying distribution
Flow quota;
To the gateway transmitted traffic quota response message, the flow quota response message is included for the described first carrying distribution
Flow quota.
2. the method according to the claim 1, it is characterised in that the calculating is obtained as the described first carrying distribution
Flow quota includes:
According to formula (1), the flow quota ζ of the first carrying distribution is calculated as;
The formula (1) isWherein described v ' is that the described first carrying is put down to flow quota
Equal depletion rate, the N is the gateway quantity for accessing the OCS, the ωiFor all terminals of i-th of gateway connection
The carrying quantity of activation, the γ is less than the signaling message disposal ability of the OCS each seconds.
3. the method according to the claim 1 or 2, it is characterised in that
The flow quota application information also includes the maximum downstream transmission speed that the first terminal is contracted with the core net
The gateway obtains the maximum delay for the flow quota response message that the OCS is sent in rate sum and preset time period;
Methods described also includes:
In the maximum downstream transmission speed sum and preset time period contracted according to the first terminal and the core net
The gateway obtains the maximum delay for the flow quota response message that the OCS is sent, and calculates the stream for obtaining first carrying
Measure quota application activation threshold value;
The flow quota response message also includes the flow quota application activation threshold value of the described first carrying.
4. the method according to the claim 3, it is characterised in that the flow that the calculating obtains first carrying is matched somebody with somebody
Volume application activation threshold value includes:
According to formula (2), the flow quota application activation threshold value η of first carrying is calculated;
The formula (2) is η=v* τ;Wherein, the v is the maximum up-downgoing that the first terminal is contracted with the core net
Transmission rate sum, the τ is that the gateway obtains the flow quota response message that the OCS is sent in the preset time period
Maximum delay.
5. a kind of Online Charging System OCS, it is characterised in that including:
Receiving unit, the corresponding flow quota application information of the first carrying of the first terminal for receiving gateway transmission is described
Flow quota application information includes the described first carrying to owning that the mean consumption speed of flow quota and the gateway are connected
The quantity of the carrying of terminal activation;
First acquisition unit, the gateway quantity of the OCS is accessed for obtaining, and all terminals of each gateway connection are activated
Carrying quantity;
First computing unit, for according to mean consumption speed of described first carrying to flow quota, connecting the gateway
The quantity of the carrying of all terminal activation, the gateway quantity of the access OCS accesses all gateways connection of the OCS
All terminals activation carrying quantity sum, and the OCS each seconds signaling message disposal ability, calculating obtain for
The flow quota of the first carrying distribution;
Transmitting element, for the gateway transmitted traffic quota response message, the flow quota response message to be included for institute
State the flow quota of the first carrying distribution.
6. the OCS according to the claim 5, it is characterised in that
First computing unit specifically for:
According to formula (1), the flow quota ζ of the first carrying distribution is calculated as;
The formula (1) isWherein described v ' is that the described first carrying is put down to flow quota
Equal depletion rate, the N is the gateway quantity for accessing the OCS, the ωiFor all terminals of i-th of gateway connection
The carrying quantity of activation, the γ is less than the signaling message disposal ability of the OCS each seconds.
7. the OCS according to the claim 5 or 6, it is characterised in that
The flow quota application information also includes the maximum downstream transmission speed that the first terminal is contracted with the core net
The gateway obtains the maximum delay for the flow quota response message that the OCS is sent in rate sum and preset time period;
The OCS also includes:
Second computing unit, for the maximum downstream transmission speed sum contracted according to the first terminal and the core net
And the gateway obtains the maximum delay for the flow quota response message that the OCS is sent in preset time period, calculating is obtained
The flow quota application activation threshold value of first carrying;
The flow quota application that the flow quota response message that the transmitting element is sent also includes the described first carrying is touched
Send out threshold value.
8. the OCS according to the claim 7, it is characterised in that
It is described according to the second computing unit specifically for:
According to formula (2), the flow quota application activation threshold value η of first carrying is calculated;
The formula (2) is η=v* τ;Wherein, the v is the maximum up-downgoing that the first terminal is contracted with the core net
Transmission rate sum, the τ is that the gateway obtains the flow quota response message that the OCS is sent in the preset time period
Maximum delay.
9. a kind of method for adjusting customer flow quota, it is characterised in that including:
The corresponding flow quota application information of the first carrying of first terminal is sent to Online Charging System OCS, the flow is matched somebody with somebody
Volume application information includes the described first carrying and all terminals of the mean consumption speed of flow quota and gateway connection is swashed
The quantity of carrying living.
The flow quota response message that the OCS is sent is received, the flow quota response message is included for the described first carrying
The flow quota of distribution.
10. method according to claim 9, it is characterised in that the flow quota application information also includes described first
The gateway obtains described in the maximum downstream transmission speed sum and preset time period that terminal is contracted with the core net
The maximum delay for the flow quota response message that OCS is sent;
The flow quota response message also includes the flow quota application activation threshold value of the described first carrying.
11. a kind of gateway, it is characterised in that including:
Transmitting element, the corresponding flow quota letter of application of the first carrying for sending first terminal to Online Charging System OCS
Breath, the flow quota application information includes the described first carrying and the mean consumption speed of flow quota and the gateway is connected
All terminals activation carrying quantity.
Receiving unit, for receiving the flow quota response message that the OCS is sent, the flow quota response message is including being
The flow quota of the first carrying distribution.
12. gateway according to claim 11, it is characterised in that the flow quota application information also includes described first
The gateway obtains described in the maximum downstream transmission speed sum and preset time period that terminal is contracted with the core net
The maximum delay for the flow quota response message that OCS is sent;
The flow quota response message also includes the flow quota application activation threshold value of the described first carrying.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610077175.1A CN107027109B (en) | 2016-02-02 | 2016-02-02 | Method for adjusting user flow quota, online charging system and gateway |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610077175.1A CN107027109B (en) | 2016-02-02 | 2016-02-02 | Method for adjusting user flow quota, online charging system and gateway |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107027109A true CN107027109A (en) | 2017-08-08 |
CN107027109B CN107027109B (en) | 2020-03-17 |
Family
ID=59524007
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610077175.1A Active CN107027109B (en) | 2016-02-02 | 2016-02-02 | Method for adjusting user flow quota, online charging system and gateway |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107027109B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110519336A (en) * | 2019-08-01 | 2019-11-29 | 北京浪潮数据技术有限公司 | Distributed memory system quota state updating method and distributed memory system |
CN111314869A (en) * | 2020-02-18 | 2020-06-19 | 中国联合网络通信集团有限公司 | Flow quota distribution method and device, electronic equipment and storage medium |
CN111356103A (en) * | 2018-12-21 | 2020-06-30 | ***通信集团山西有限公司 | Flow quota distribution method and device, server and computer storage medium |
CN111788792A (en) * | 2017-12-21 | 2020-10-16 | 瑞典爱立信有限公司 | Method and system for automatic quota determination based on resource selection in online charging system |
CN113068277A (en) * | 2021-03-18 | 2021-07-02 | 国网浙江省电力有限公司宁波供电公司 | Power system communication gateway based on 5G module |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101783846A (en) * | 2009-01-15 | 2010-07-21 | 中兴通讯股份有限公司 | Charging service processing method and charging gateway |
CN102612086A (en) * | 2012-04-06 | 2012-07-25 | 华为技术有限公司 | Method, device and system for authorizing data service flow of terminal |
CN103929316A (en) * | 2013-01-11 | 2014-07-16 | 阿尔卡特朗讯 | Communication quota distribution method and corresponding on-line billing system |
CN103974221A (en) * | 2013-01-25 | 2014-08-06 | ***通信集团广东有限公司 | Method and device for distributing packet domain real-time charging flow quotas |
-
2016
- 2016-02-02 CN CN201610077175.1A patent/CN107027109B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101783846A (en) * | 2009-01-15 | 2010-07-21 | 中兴通讯股份有限公司 | Charging service processing method and charging gateway |
CN102612086A (en) * | 2012-04-06 | 2012-07-25 | 华为技术有限公司 | Method, device and system for authorizing data service flow of terminal |
CN103929316A (en) * | 2013-01-11 | 2014-07-16 | 阿尔卡特朗讯 | Communication quota distribution method and corresponding on-line billing system |
CN103974221A (en) * | 2013-01-25 | 2014-08-06 | ***通信集团广东有限公司 | Method and device for distributing packet domain real-time charging flow quotas |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111788792A (en) * | 2017-12-21 | 2020-10-16 | 瑞典爱立信有限公司 | Method and system for automatic quota determination based on resource selection in online charging system |
US20200374144A1 (en) * | 2017-12-21 | 2020-11-26 | Telefonaktiebolaget Lm Ericsson (Publ) | Methods and systems for automated quota determination based on resource selection in online charging systems |
US11949524B2 (en) * | 2017-12-21 | 2024-04-02 | Telefonaktiebolaget Lm Ericsson (Publ) | Methods and systems for automated quota determination based on resource selection in online charging systems |
CN111356103A (en) * | 2018-12-21 | 2020-06-30 | ***通信集团山西有限公司 | Flow quota distribution method and device, server and computer storage medium |
CN111356103B (en) * | 2018-12-21 | 2021-08-31 | ***通信集团山西有限公司 | Flow quota distribution method and device, server and computer storage medium |
CN110519336A (en) * | 2019-08-01 | 2019-11-29 | 北京浪潮数据技术有限公司 | Distributed memory system quota state updating method and distributed memory system |
CN111314869A (en) * | 2020-02-18 | 2020-06-19 | 中国联合网络通信集团有限公司 | Flow quota distribution method and device, electronic equipment and storage medium |
CN113068277A (en) * | 2021-03-18 | 2021-07-02 | 国网浙江省电力有限公司宁波供电公司 | Power system communication gateway based on 5G module |
Also Published As
Publication number | Publication date |
---|---|
CN107027109B (en) | 2020-03-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107027109A (en) | A kind of method, Online Charging System and gateway for adjusting customer flow quota | |
CN103460642B (en) | Method and apparatus for controlling the service business in communication network | |
US8964544B2 (en) | Quality of service adjustments to improve network utilization | |
US8942096B2 (en) | Congestion-based traffic metering | |
EP2671344B1 (en) | Method and apparatus for online charging in an ip multimedia subsystem | |
EP2944060B1 (en) | Communication quota allocation method and corresponding online charging system | |
EP2997695B1 (en) | Advanced policy and charging control methods, network nodes and computer programs for sponsored data connectivity by peers | |
KR20060060617A (en) | Ims gateway systems and methods for online charging in ims networks | |
US20130194937A1 (en) | Method and apparatus for providing intelligent codec rate adaptation for wireless users | |
CN101543131A (en) | Detection for end of service using dynamic inactivity timer thresholds | |
CN103404102A (en) | Bearing creating method, device and system | |
GB0506285D0 (en) | Telecommunications system and method | |
JP2017527158A (en) | Controlling supplemental content in the data flow | |
EP2852213A1 (en) | Method, device and system for obtaining qos control information | |
CN103475595A (en) | System and method for overload control of Parlay X gateway | |
CN101420361A (en) | Method, terminal, server and customer terminal for terminating session | |
Sou et al. | Modeling credit reservation procedure for UMTS online charging system | |
CN110493479B (en) | Method, communication equipment and system for realizing video color ring | |
CN106797321B (en) | A kind of background traffic method for down loading, equipment and system | |
CN103888230B (en) | timer dynamic setting method and device | |
CN106685672B (en) | A kind of online charging method and device | |
WO2006004157A1 (en) | Communication device | |
CN110621084B (en) | Method and device for establishing pre-established session, electronic equipment and storage medium | |
Sou et al. | Reducing credit re-authorization cost in UMTS online charging system | |
RU2359428C2 (en) | Method for transfer of mm4 interface messages in system of multimedia messages |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |