CN105991360A - Real-time PS domain flow monitoring method and related equipment - Google Patents
Real-time PS domain flow monitoring method and related equipment Download PDFInfo
- Publication number
- CN105991360A CN105991360A CN201510067042.1A CN201510067042A CN105991360A CN 105991360 A CN105991360 A CN 105991360A CN 201510067042 A CN201510067042 A CN 201510067042A CN 105991360 A CN105991360 A CN 105991360A
- Authority
- CN
- China
- Prior art keywords
- data service
- user
- ocs
- control parameter
- 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.)
- Withdrawn
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/40—Support for services or applications
Abstract
The invention provides a real-time PS domain flow monitoring method and related equipment. Processes executed on an on-line charging system (OCS) side comprise steps of the OCS pre-storing a data traffic control parameter of a user with the traffic control parameter comprising a traffic threshold value; and the OCS monitoring the process that the user uses a data traffic, and giving a prompt of a monitoring result to the user by means of a charging gateway when the OCS monitors that the data traffic used by the user reaches the traffic threshold value. According to the invention, the flow monitoring function is executed in the OCS, the user can know the data traffic condition of himself or herself accurately and timely, and use of the data traffic is controlled effectively; and for a service provider, complaints about traffic can be reduced, and system problems caused by too much message interaction at the end of a month are reduced.
Description
Technical field
The present invention relates to communication technical field, (Packet Switching Domain divides to particularly relate to a kind of PS
Group switching domain) method that monitors in real time of flow and relevant device.
Background technology
CS (Circuit Switching Domain, circuit commutative field) intersection of can not conversing of making a phone call, often
The rate of minute are also fixing, so user is to know oneself has consumed how many, fund source is controlled.
And entering PS territory, data service can be concurrent with multi-service, and the use of flow does not possess intuitively at present
Property, therefore, user cannot accurately know oneself has used how many flows on earth.So just there will be sky-high price ticket,
Rate problem complaint etc..
For example: one month set meal flow of certain operator's mobile phone is 500M, made a call at several days of the end of month query flows or
Person look on website residual flow residue 30M, can download one mark 28M application after, after a time after
Note can be received and say that flow has exceeded set meal, have more part according to what rate is deducted fees.Reason is for OCS
Charging for (Online Charging System, Online Charging System) is real-time, but OCS generates
Ticket be not but real-time, need until clocked flip or user deactivate generate ticket.Only generate
After ticket, front desk service or note system just can inquire user is used for how many flows.Thus
Cause charging prompting time delay, misguide the consumer.
Have some solutions at present: mobile phone or be provided with that third party provides for traffic monitoring
Application APP, can arrange flow and remind and use threshold values, but drawback is obvious:
First: flow-control is all according to mobile phone transceiving data, and the IP fragmentation and reassembly in network development process, re-transmission
Etc. being that perception is less than traffic statistics are inaccurate;
Second: these software operations business does not approves, it is impossible to as deducting fees and complaining foundation, billing issues occurs,
It still is as the criterion process according to operator's charging;
3rd: for coin free service, only OCS just knows, service operation classification is the application nothing in mobile phone
Method perception, mobile phone Taobao of for example a few province flow is free.
So the flow-control application in current phone, error and leak are all very big.
Content of the invention
The technical problem to be solved in the present invention is to provide method and the relevant device that a kind of PS flow monitors in real time,
Make the service condition that user is accurate, recognize oneself data service flow timely.
The technical solution used in the present invention is, the method that described PS flow monitors in real time, Online Charging System
The flow process that OCS side performs includes:
OCS prestores the data service flow control parameter of user;Described flow control parameter, comprising:
Flow threshold values;
User is used the process of data service flow to be monitored by OCS, when the data monitoring user's use
When service traffics reach described flow threshold values, by charging gateway, monitoring result is prompted to user.
Further, described flow control parameter, also includes: the granularity of flow-control, described flow threshold values
For the flow threshold values in described granularity;
Or, described flow control parameter, also include: the time period of flow-control;
In the case that flow control parameter includes the flow threshold values in the granularity of flow-control and described granularity:
The process using data service flow to user of the granularity period with described flow-control for the OCS is carried out
Monitoring, whenever the flow threshold values that the data service flow monitoring user's use reaches in described granularity, logical
Cross charging gateway and be prompted to user.
Further, described OCS prestores the data service flow control parameter of user, comprising:
OCS receive user by charging gateway send for network authentication CCR-I message when, from institute
State and CCR-I message extract data service flow control parameter, described data service flow control parameter with
The AVP structure of Diameter inserts the circuit domain letter under the information on services carrying in described CCR-I message
In breath.
It is further, described when the data service flow monitoring user's use reaches described flow threshold values,
By charging gateway, monitoring result is prompted to user, comprising:
When receive user by charging gateway send for the flow quota application of any data business when,
Judge whether the data service flow that user uses reaches described flow threshold values;If so, charging gateway is then passed through
Will determine that result is prompted to user;It is otherwise described data service sending flow rate quota, and this is issued
Flow quota add up access customer use data service flow, for follow-up judgement.
Further, the flow process that described OCS side performs, also includes: when the data industry monitoring user's use
When business flow reaches described flow threshold values, terminated the data of user's present application flow quota by charging gateway
Business.
Further, it is described data service sending flow rate quota, comprising:
Judge data service flow that whether the flow quota preset use more than described flow threshold values and user it
Difference, if so, then the difference of the data service flow that described flow threshold values and user use is joined as this flow
Volume issues, and otherwise issues according to default flow quota.
Further, the flow process that described OCS side performs, also includes:
OCS receives the renewal to described data service flow control parameter that user is initiated by charging gateway
During request, the data service flow control parameter of the described user preserving is updated.
Further, described OCS receives more newly requested to described data service flow control parameter of user
When, the data service flow control parameter of the described user preserving is updated, comprising:
When OCS receives the CCR-U message that user is sent by charging gateway, if based on described CCR-U
Flag bit in message determines and carries new data service flow control parameter in described CCR-U message,
Then new data service flow control parameter is substituted the data service flow-control ginseng of original described user
Number;Described new data service flow control parameter inserts described with the AVP structure of Diameter
In circuit domain information under the information on services carrying in CCR-U message.
Further, the flow process that described OCS side performs, also includes:
The data that the flow threshold values in described data service flow control parameter after updating uses less than user
During service traffics, terminated ongoing all data services of described user by charging gateway, and point out
To user.
Further, described OCS receives more newly requested to described data service flow control parameter of user
When, the data service flow control parameter of the described user preserving is updated, also includes:
When OCS receives the CCR-U message that user is sent by charging gateway, if based on described CCR-U
Flag bit in message determine described CCR-U message carries new data service flow control parameter,
And the numerical value of flow threshold values is 0 in new data service flow control parameter, then empty the described user's of preservation
Data service flow control parameter, follow-up no longer carries out data service traffic monitoring to described user.
The present invention also provides a kind of method that PS flow monitors in real time, and the flow process performing in charging gateway side includes:
When user asks to network, at described CCR-I when OCS sends the CCR-I message for the authentication that networks
Message is carried data service flow control parameter, preserves described data service flow control parameter for OCS
And use the process of data service flow to be monitored described user based on data service flow control parameter,
When the data service flow that OCS monitors user's use reaches described flow threshold values, the prison that OCS is sent
Survey result and be prompted to user;
Described data service flow control parameter and described new data service flow control parameter all with
The AVP structure of Diameter inserts the circuit domain letter under the information on services carrying in described CCR-U message
In breath.
Further, the flow process performing in charging gateway side, also includes:
When user initiates to described data service flow control parameter more newly requested, by described more newly requested
It is sent to OCS with the form of CCR-U message;Flag bit in described CCR-U message reflects described
Whether CCR-U message carries new data service flow control parameter.
The present invention also provides a kind of method that PS flow monitors in real time, and the flow process performing in subscriber terminal side includes:
The networking request of user is sent to OCS by charging gateway, in the request of networking, carries data service
Flow control parameter, sends described data service flow control parameter to OCS by charging gateway, for
OCS preserves described data service flow control parameter and based on data service flow control parameter to described user
Use data service flow process be monitored, when OCS monitor user use data service flow reach
During to described flow threshold values, receive the monitoring result that OSC sent by charging gateway and be prompted to user;
Described the more newly requested of data service flow control parameter is sent to by user by charging gateway
OCS, is updated for the data service flow control parameter to the described user preserving for the OCS.
Further, the flow process performing in subscriber terminal side, also includes:
By described more newly requested be sent to OCS by charging gateway before, user terminal judge described update please
Whether meet the condition setting the transmission opportunity asked, if so, then more newly requested sent out described by charging gateway
Give OCS, otherwise forbid described in transmission more newly requested;
The condition of described setting, comprising: allow frequency range more newly requested described in sending, and/or, it is allowed to
Time period more newly requested described in transmission.
The present invention also provides a kind of line charge system OCS, comprising:
Memory, for prestoring the data service flow control parameter of user;Described flow control parameter,
Including: flow threshold values;
Processor, uses the process of data service flow to be monitored for OCS to user, when monitoring use
When the data service flow that family uses reaches described flow threshold values, by charging gateway, monitoring result is prompted to
User.
The present invention also provides a kind of charging gateway, including a processor;
Described processor, for when user asks to network, sending the CCR-I for the authentication that networks to OCS
Carry data service flow control parameter in described CCR-I message during message, preserve described number for OCS
According to service traffics control parameter and based on data service flow control parameter, data service stream is used to described user
Amount process be monitored, when OCS monitor user use data service flow reach described flow threshold values
When, the monitoring result sending OCS is prompted to user.
Further, described processor, is additionally operable to: when user initiates to join described data service flow-control
Number more newly requested when, the described more newly requested form with CCR-U message is sent to OCS, for OCS
The data service flow control parameter preserving is updated;Flag bit in described CCR-U message reflects
Whether described CCR-U message carries new data service flow control parameter.
The present invention also provides a kind of user terminal, including a processor;
Described processor, for the networking of user request is sent to OCS by charging gateway, please networking
Data service flow control parameter is carried, by charging gateway by described data service flow control parameter in asking
Send OCS to, preserve described data service flow control parameter and based on data service flow control for OCS
Described user is used the process of data service flow to be monitored by parameter processed, uses when OCS monitors user
Data service flow when reaching described flow threshold values, receive the monitoring result that OSC is sent by charging gateway
And it is prompted to user.
Further, described processor, is additionally operable to: by user to described data service flow control parameter
It more newly requested is sent to OCS by charging gateway, for the data service stream to the described user preserving for the OCS
Amount control parameter is updated.
Using technique scheme, the present invention at least has the advantage that
Method that PS flow of the present invention monitors in real time and relevant device, owing to setting the function of traffic monitoring
Put and perform at the OCS of carrier side, it is possible to use oneself data service stream is recognized at family accurately, timely
The service condition of amount, and the use to data service traffics effectively controls;For operator,
Then can reduce the complaint that problems of liquid flow causes, reduce the system problem etc. that the end of month, interacting message too much caused.
Brief description
Fig. 1 is the flow chart performing in OCS side of first embodiment of the invention;
Fig. 2 is the flow chart performing in OCS side of second embodiment of the invention;
Fig. 3 is the flow chart performing in charging gateway side of fourth embodiment of the invention;
Fig. 4 is the flow chart performing in subscriber terminal side of fifth embodiment of the invention;
Fig. 5 is the composition schematic diagram of the OCS of sixth embodiment of the invention;
Fig. 6 is the composition schematic diagram of the charging gateway of seventh embodiment of the invention;
Fig. 7 is the composition schematic diagram of the user terminal of eighth embodiment of the invention;
Fig. 8 be ninth embodiment of the invention charge system in message interaction process between each functional entity
Figure.
Detailed description of the invention
By further illustrating the technological means and effect that the present invention taked by reaching predetermined purpose, below tie
Close accompanying drawing and preferred embodiment, after the present invention is described in detail such as.
Owing to OCS side can interpolate that out that situation is sorted out in the operation of the data service that user asked, for freely
Data service for, it is not necessary to carrying out charging, therefore not being the object that the present invention pays close attention to, present invention below is real
Execute the data service involved by example and each mean non-free data service.
First embodiment of the invention, a kind of method that PS flow monitors in real time, as it is shown in figure 1, online charging
The flow process that system OCS side performs, including step in detail below:
Step 101, OCS prestores the data service flow control parameter of user;Described flow-control is joined
Number, comprising: flow threshold values;
Concrete, in a step 101, OCS prestores the data service flow control parameter of user, bag
Include:
OCS receive user by charging gateway send for network authentication CCR-I message when, from institute
State and CCR-I message extract data service flow control parameter, described data service flow control parameter with
The AVP structure of Diameter inserts the circuit domain letter under the information on services carrying in described CCR-I message
In breath.Flow Monitor-Value attribute is used to carry flow threshold values in flow control parameter.
Step 102, user is used the process of data service flow to be monitored by OCS, when monitoring user
When the data service flow using reaches described flow threshold values, by charging gateway, monitoring result is prompted to use
Family.
Concrete, in a step 102, when the data service flow monitoring user's use reaches described flow
During threshold values, by charging gateway, monitoring result is prompted to user, comprising:
When receive user by charging gateway send for the flow quota application of any data business when,
Judge whether the data service flow that user uses reaches described flow threshold values;If so, charging gateway is then passed through
Will determine that result is prompted to user;It is otherwise described data service sending flow rate quota, and this is issued
Flow quota add up access customer use data service flow, for follow-up judgement.
The data service flow that user uses is the flow quota being dispensed for each data service every time by OCS
Cumulative obtaining, the initial value of the data service flow that user uses is 0.
Further, it is described data service sending flow rate quota, comprising:
Judge whether the flow quota preset deducts, more than described flow threshold values, the data service flow that user uses
Difference, if so, then with described flow threshold values deduct user use data service flow difference as this
Flow quota issues, and otherwise issues according to default flow quota.
Preferably, when the data service flow monitoring user's use reaches described flow threshold values, passing through
While charging gateway is prompted to user, terminate the number of user's present application flow quota also by charging gateway
According to business.Further, while terminating the data service of user's present application flow quota, all right
Redirect, such as: jump to a webpage setting to point out this business of user to terminate.
Second embodiment of the invention, a kind of method that PS flow monitors in real time, method described in the present embodiment and the
One embodiment is roughly the same, and difference is, the flow control parameter of the present embodiment includes the granularity of flow-control
With the flow threshold values in described granularity, therefore, referenced according to different when OCS does traffic monitoring.
The method that the PS flow of this enforcement monitors in real time, as in figure 2 it is shown, Online Charging System OCS side is held
The flow process of row, including step in detail below:
Step 201, OCS prestores the data service flow control parameter of user;Described flow-control is joined
Number, comprising: the flow threshold values in the granularity of flow-control and described granularity;
Concrete, the granularity of this flow-control can be day, week, the moon, it is preferred that all right in granularity
With the time period setting, such as: the 8:00~23:59 of every day is set as flow-control granularity, will weekly
Within first day, 8:00~seven day 23:59 is set as flow-control granularity.
In step 201, OCS prestores the data service flow control parameter of user, comprising:
OCS receive user by charging gateway send for network authentication CCR-I message when, from institute
State and CCR-I message extract data service flow control parameter, described data service flow control parameter with
The AVP structure of Diameter inserts the circuit domain letter under the information on services carrying in described CCR-I message
In breath.Use Flow Monitor-Type attribute and Flow Monitor-Value in Flow Monitor AVP group
Attribute carries the flow threshold values in the granularity of flow-control and described granularity respectively.
Step 202, OCS uses data service flow with the granularity period of described flow-control to user
Process be monitored, whenever monitor user use data service flow reach the flow in described granularity
During threshold values, by charging gateway, monitoring result is prompted to user.
Concrete, in step 202., in a granularity period, when the data industry monitoring user's use
When business flow reaches described flow threshold values, by charging gateway, monitoring result is prompted to user, comprising:
When receive user by charging gateway send for the flow quota application of any data business when,
Judge whether the data service flow that user uses reaches described flow threshold values;If so, charging gateway is then passed through
Will determine that result is prompted to user, it is preferred that will determine that result is prompted to the same of user by charging gateway
When, the data service of user's present application flow quota can also be terminated by charging gateway;It is otherwise described
Data service sending flow rate quota, and the flow quota that this is issued add up access customer use data service
Flow, judges for follow-up.
Optionally, technical solution of the present invention also can be not limited to periodically perform, but disposably performs,
Now, described flow control parameter, also includes: the time period of flow-control and flow threshold values, its concrete reality
Now may refer to the situation in the cycle during above-mentioned periodicity performs.
Third embodiment of the invention, a kind of method that PS flow monitors in real time, method described in the present embodiment and the
One embodiment or the second embodiment are roughly the same, and difference is, the Online Charging System OCS side of the present embodiment
The flow process performing, also includes:
OCS receives the renewal to described data service flow control parameter that user is initiated by charging gateway
During request, the data service flow control parameter of the described user preserving is updated.
Concrete, when OCS receives the CCR-U message that user is sent by charging gateway, if based on described
Flag bit in CCR-U message determines and carries new data service flow control in described CCR-U message
Parameter processed, then substitute the data service flow of original described user by new data service flow control parameter
Control parameter;Described new data service flow control parameter inserts institute with the AVP structure of Diameter
State in the circuit domain information under the information on services carrying in CCR-U message.
This flag bit can select the Triggle-Type AVP below Triggle-AVP, and its value is set as one
Individual reserved numerical value, such as: the value of Triggle-Type AVP is set as 77.
Preferably, the flow process that OCS side described in the present embodiment performs, also includes:
The data that the flow threshold values in described data service flow control parameter after updating uses less than user
During service traffics, terminated ongoing all data services of described user by charging gateway, and point out
To user.
Optionally, based on above-mentioned preferred embodiment, flow process that OCS side described in the present embodiment performs, also
Including:
After terminating ongoing all data services of described user, send when receiving charging gateway
Wake up the data service being terminated up request when, OCS judges whether the data service flow that user uses reaches
To described flow threshold values;If so, it is then prompted to user by charging gateway;Otherwise under described data service
Send out flow quota, and the flow quota that this is issued add up access customer use data service flow, for after
Continuous judgement uses.
In addition, the embodiment of the present invention can also comprise the process that service traffics monitoring is exited in user's actively application,
Concrete implementation mode is:
When OCS receives the CCR-U message that user is sent by charging gateway, if based on described CCR-U
Flag bit in message determine described CCR-U message carries new data service flow control parameter,
And the numerical value of flow threshold values is 0 in new data service flow control parameter, then empty the described user's of preservation
Data service flow control parameter, follow-up no longer carries out data service traffic monitoring to described user.
Fourth embodiment of the invention, a kind of method that PS flow monitors in real time, as it is shown on figure 3, and OCS
The flow process that side performs is corresponding, the flow process performing in charging gateway side, including step in detail below:
Step 301, when user asks to network, when OCS sends the CCR-I message for the authentication that networks
Carry data service flow control parameter in described CCR-I message, preserve described data service for OCS
Flow control parameter the mistake using data service flow based on data service flow control parameter to described user
Journey is monitored, when the data service flow that OCS monitors user's use reaches described flow threshold values, and will
The monitoring result that OCS sends is prompted to user;
Described data service flow control parameter and described new data service flow control parameter all with
The AVP structure of Diameter inserts the circuit domain letter under the information on services carrying in described CCR-U message
In breath.
Preferably, the flow process performing in charging gateway side, also includes:
Step 302, when user initiates data service request, charging gateway sends for described number to OCS
According to the flow quota application of business, the flow quota of OCS approval is handed down to user and uses.
Step 303, when user initiates to described data service flow control parameter more newly requested, by described
The more newly requested form with CCR-U message is sent to OCS, for OCS to the data service flow preserving
Control parameter is updated;Flag bit in described CCR-U message reflects in described CCR-U message
No carry new data service flow control parameter.
It should be noted that step 302 and step 303 time of origin do not have strict sequencing, as wanted
Step 301, just can perform follow-up step according to the triggering of user after user-network access.
In addition, terminate ongoing all data services of described user based on OCS in the 3rd embodiment
Afterwards, charging gateway can be with the information of the data service of the end of record, the follow-up described data based on record
The information of business, timing wakes up corresponding data service up to OCS request.
Fifth embodiment of the invention, a kind of method that PS flow monitors in real time, as shown in Figure 4, real with first
Execute the flow process that in the flow process that in example, OCS side performs and the 4th embodiment, charging gateway side performs corresponding,
In the flow process that subscriber terminal side performs, including step in detail below:
The networking request of user is sent to OCS by charging gateway, takes in the request of networking by step 401
Described data service flow control parameter is sent to by band data service flow control parameter by charging gateway
OCS, preserves described data service flow control parameter and based on data service flow control parameter for OCS
The process using data service flow to described user is monitored, when OCS monitors the data that user uses
When service traffics reach described flow threshold values, receive the monitoring result that OSC sent by charging gateway and point out
To user;
Described the more newly requested of data service flow control parameter is sent out by step 402 by user by charging gateway
Give OCS, be updated for the data service flow control parameter to the described user preserving for the OCS.
Preferably, the flow process that the present embodiment performs in subscriber terminal side, also includes:
By described more newly requested be sent to OCS by charging gateway before, user terminal judge described update please
Whether meet the condition setting the transmission opportunity asked, if so, then more newly requested sent out described by charging gateway
Give OCS, otherwise forbid described in transmission more newly requested;
The condition of described setting, comprising: allow frequency range more newly requested described in sending, and/or, it is allowed to
Time period more newly requested described in transmission.Data service flow so arbitrarily can be frequently changed to user terminal
The behavior of control parameter reasonably limits, and makes charging gateway and Online Charging System without processing frequently
The request sent due to more new data service flow control parameter, saves network processes resource.
Sixth embodiment of the invention, a kind of line charge system OCS, can understand as entity apparatus, as
Shown in Fig. 5, including consisting of part:
Memory 100, for prestoring the data service flow control parameter of user;Described flow-control is joined
Number, comprising: flow threshold values;
Processor 200, uses to user the process of data service flow to be monitored for OCS, works as monitoring
To user use data service flow reach described flow threshold values when, by charging gateway, monitoring result is carried
Show to user.
On the function detail that in the present embodiment, processor 200 is completed with first embodiment, the second embodiment,
Or the 3rd the concrete steps involved by flow process of OCS side in embodiment corresponding.
Seventh embodiment of the invention, a kind of charging gateway, can understand as entity apparatus, such as Fig. 6 institute
Show, including consisting of part:
First processor 300, for when user asks to network, sending for the authentication that networks to OCS
Carry data service flow control parameter in described CCR-I message during CCR-I message, preserve for OCS
Described data service flow control parameter simultaneously uses data based on data service flow control parameter to described user
The process of service traffics is monitored, when OCS monitor user use data service flow reach described stream
During amount threshold values, the monitoring result sending OCS is prompted to user.
Optionally, first processor 300, are additionally operable to: when user initiates to join described data service flow-control
Number more newly requested when, the described more newly requested form with CCR-U message is sent to OCS, for OCS
The data service flow control parameter preserving is updated;Flag bit in described CCR-U message reflects
Whether described CCR-U message carries new data service flow control parameter.
With charging gateway in the 4th embodiment on the function detail that in the present embodiment, first processor 300 is completed
Concrete steps involved by the flow process of side are corresponding.
Eighth embodiment of the invention, a kind of user terminal, can understand as entity apparatus, such as Fig. 7 institute
Show, including consisting of part:
Second processor 400, for the networking of user request is sent to OCS by charging gateway, is entering
Net request carries data service flow control parameter, by charging gateway by described data service flow-control
Parameter sends OCS to, preserves described data service flow control parameter and based on data service stream for OCS
Described user is used the process of data service flow to be monitored, when OCS monitors user by amount control parameter
When the data service flow using reaches described flow threshold values, receive the monitoring that OSC is sent by charging gateway
Result is simultaneously prompted to user.
Optionally, the second processor 400, is additionally operable to: by user to described data service flow control parameter
It more newly requested is sent to OCS by charging gateway, for the data service stream to the described user preserving for the OCS
Amount control parameter is updated.
With user terminal in the 5th embodiment on the function detail that in the present embodiment, the second processor 400 is completed
Concrete steps involved by the flow process of side are corresponding.
Ninth embodiment of the invention, the present embodiment is on the basis of above-described embodiment, introduces in conjunction with accompanying drawing 8
The application example of one present invention.
Fig. 8 be the present embodiment charge system in message interaction process figure between each functional entity.Such as Fig. 8
Shown in, the functional entity that this charge system mainly includes is user terminal, charging gateway and Online Charging System
OCS.Wherein, the request message that the function of user terminal initiates the request of access network and new business reaches;
The function of charging gateway is to determine that rate, the duration calculating use and flow, preservation are abnormal/normal by OCS
Ticket etc.;User is carried out authenticating, authorizes, enters according to the flow that user uses by the function of Online Charging System
Row real time billing etc..The business of the present embodiment indication each means data service.
Current embodiment require that Diameter charging mutual between charging gateway and Online Charging System disappears
Breath structure increases newly the Flow-Monitor AVP group for presentation data service traffics control parameter, increases newly
Below the Service-Information/PS-Information of CCR-I message or CCR-U message,
Flow-Monitor AVP group Flow included below Monitor-Type and Flow Monitor-Value the two
Attribute, in the granularity of the flow-control being respectively intended in placement data service flow control parameter and described granularity
Flow threshold values.
The granularity of flow-control can be day, week or the moon, for example: day, to represent the time point of current setting
-23:59:59;In week, represent the 23:59:59 of time point-current all end of day of current setting;Month, represent and work as
The 23:59:59 of the time point of the front setting-current last day moon.
The concrete ABNF grammer of Flow-Monitor AVP group is as follows:
In addition, at charging gateway in the CCR-U message that Online Charging System sends, at Trigger-AVP
Whether added value is the Trigger-Type AVP attribute of 77 below, for as flag bit, reflect currently
Data service flow control parameter is had to change.If there being Trigger-Type AVP to be 77, then illustrate
CCR-U message also carries the data service flow control parameter for updating.
In the charge system of the present embodiment, the message interaction process between each functional entity, is described in detail as follows.
S601: user terminal initiates user's access request message, and i.e. network request;
S602: charging gateway receives subscription request message, sends CCR-I message to Online Charging System,
Message is carried Flow-Monitor AVP group;
S603: Online Charging System authenticates, authenticates successfully, then preserve Flow-Monitor AVP group;
S604: Online Charging System sends diameter credit control response CCA-I message to charging gateway;
S605: charging gateway sends user to user terminal and accesses response message;
S606: user terminal initiates the access request of new business A;
S607: charging gateway sends CCR-U message to Online Charging System, and this message will not be carried
Flow-Monitor AVP group;
S608: Online Charging System carries out wholesale price process;
S609: Online Charging System sends CCA-U message to charging gateway, carries GSU in CCA-U message
Relevant information, deposit in GSU is the stream that Online Charging System issues to user terminal after wholesale price process
Amount quota, such as: each 5M (million);
S610: business A continues;
It is that this flow quota is used up that S611: business A quota reaches, and sends CCR-U to Online Charging System
Message, does not carry Flow-Monitor AVP group in message;
S612: Online Charging System carries out wholesale price;
S613: Online Charging System sends CCA-U message to charging gateway, and Command layer result code is
4012 arrearage result codes, issue the information such as FUI, and the action of FUI can be that business terminates, business redirects
Deng;
S614: business A is redirected;
It is more newly requested that S615: user terminal initiates traffic monitoring;
S616: charging gateway sends CCR-U message to Online Charging System, carries Trigger-Type in message
Value be 77, carry Flow-Monitor AVP group;
The response of S617: charging gateway is more newly requested;
S618: Online Charging System updates Flow-Monitor relevant parameter, it is judged that flow threshold values is by little
Increase, and the data service flow that the accumulated user obtaining uses is less than new flow threshold values;
S619: Online Charging System sends CCA-U message to charging gateway, carries the letters such as GSU in message
Breath;
S620: business A continues;
It is more newly requested that S621: user terminal initiates traffic monitoring, i.e. to data service traffics control parameter more
Newly requested;
S622: charging gateway sends CCR-U message to Online Charging System, carries Trigger-Type in message
Value be 77, carry Flow-Monitor AVP group;
The response of S623: charging gateway is more newly requested;
S624: Online Charging System updates Flow-Monitor relevant parameter, it is judged that flow threshold values is by greatly
Reduce, and the data service flow that the cumulative user obtaining uses is more than new flow threshold values;
S625: Online Charging System sends CCA-U message to charging gateway, and Command layer result code is
4XXX terminates all business of this user;4XXX represents with four result codes of 4 beginnings, typically each represents
Business terminates and redirects.
S626: business A is terminated;
S627: charging gateway sends RAR request message to Online Charging System, for waking up the industry being terminated up
Business;
S628: Online Charging System sends RAA response message to charging gateway;
S629: charging gateway sends CCR-U message to Online Charging System, comprises the institute of this user in message
There is business;
S630: Online Charging System wholesale price;
S631: Online Charging System sends CCA-U message to charging gateway, carries GSU in message, or
Person, when in this message without GSU, issues 4012 result codes, FUI etc.;
It is more newly requested that S632: user terminal initiates traffic monitoring;
S633: charging gateway sends CCR-U message to Online Charging System, carries Trigger-Type in message
Value be 77, carry Flow-Monitor AVP group, Flow Monitor-Value value is 0 (to represent user to think
Traffic monitoring to be exited);
The response of S634: charging gateway is more newly requested;
S635: Online Charging System carries out wholesale price, removes traffic monitoring;
S636: Online Charging System sends CCA-U message to charging gateway, issues GSU;
S637: business A continues;
S638: user terminal initiates deactivation message;
S639: charging gateway sends CCR-T message to Online Charging System;
S640: Online Charging System carries out wholesale price, deducts fees;
S641: Online Charging System sends CCA-T message to charging gateway;
S642: charging gateway sends user to user terminal and deactivates response message.
Further, above-mentioned a part of step is illustrated:
It in step S612, is the same to the wholesale price of business every time due to Online Charging System, it is judged that flow valve
Whether the difference that value deducts the data service flow that the current cumulative user obtaining uses (compares less than the quota of wholesale price
As: each 5M), if so, then deduct, according to flow threshold values, the data industry that the current cumulative user obtaining uses
The difference sending flow rate quota of business flow, the flow quota otherwise setting according to Online Charging System issues.
In step S618, it is also possible to occur that the data service flow that the current cumulative user obtaining uses is more than
The situation of new traffic monitoring threshold values, if there is then according to the process of step S624.
In sum.The scheme of the present embodiment does not increase message count, only increases the Diameter of message
AVP field.User terminal is arranged flow control parameter, embodies flexibility;Online Charging System is carried out
Monitoring, has accomplished again accuracy in real time.Therefore, it can solve the inaccurate problem of current flux control very well.
Method that PS flow described in the embodiment of the present invention monitors in real time and relevant device, due to by traffic monitoring
Function setting performs at the OCS of carrier side, it is possible to use oneself data is recognized at family accurately, timely
The service condition of service traffics, and the use to data service traffics effectively controls;For operation
For business, then can reduce the complaint that problems of liquid flow causes, reduce the system that the end of month, interacting message too much caused
Problem etc..
By the explanation of detailed description of the invention, it should can be to the present invention by reaching the technology that predetermined purpose is taked
Means and effect are able to more go deep into and concrete understanding, but appended diagram is only to provide reference and explanation
With not for the present invention is any limitation as.
Claims (19)
1. the method that a packet-switched domain PS flow monitors in real time, it is characterised in that Online Charging System
The flow process that OCS side performs includes:
OCS prestores the data service flow control parameter of user;Described flow control parameter, comprising:
Flow threshold values;
User is used the process of data service flow to be monitored by OCS, when the data monitoring user's use
When service traffics reach described flow threshold values, by charging gateway, monitoring result is prompted to user.
2. the method that PS flow according to claim 1 monitors in real time, it is characterised in that described stream
Amount control parameter, also include: the granularity of flow-control, described flow threshold values be described granularity in flow valve
Value;
Or, described flow control parameter, also include: the time period of flow-control;
In the case that flow control parameter includes the flow threshold values in the granularity of flow-control and described granularity:
The process using data service flow to user of the granularity period with described flow-control for the OCS is carried out
Monitoring, whenever the flow threshold values that the data service flow monitoring user's use reaches in described granularity, logical
Cross charging gateway and be prompted to user.
3. the method that PS flow according to claim 1 monitors in real time, it is characterised in that described OCS
Prestore the data service flow control parameter of user, comprising:
OCS receive user by charging gateway send for network authentication CCR-I message when, from institute
State and CCR-I message extract data service flow control parameter, described data service flow control parameter with
The AVP structure of Diameter inserts the circuit domain letter under the information on services carrying in described CCR-I message
In breath.
4. the method that PS flow according to claim 1 monitors in real time, it is characterised in that described work as
Monitor the data service flow that user uses when reaching described flow threshold values, by charging gateway by monitoring knot
Fruit is prompted to user, comprising:
When receive user by charging gateway send for the flow quota application of any data business when,
Judge whether the data service flow that user uses reaches described flow threshold values;If so, charging gateway is then passed through
Will determine that result is prompted to user;It is otherwise described data service sending flow rate quota, and this is issued
Flow quota add up access customer use data service flow, for follow-up judgement.
5. the method that PS flow according to claim 4 monitors in real time, it is characterised in that described OCS
The flow process that side performs, also includes: when the data service flow monitoring user's use reaches described flow threshold values
When, terminated the data service of user's present application flow quota by charging gateway.
6. the method that PS flow according to claim 4 monitors in real time, it is characterised in that be described
Data service sending flow rate quota, comprising:
Judge data service flow that whether the flow quota preset use more than described flow threshold values and user it
Difference, if so, then the difference of the data service flow that described flow threshold values and user use is joined as this flow
Volume issues, and otherwise issues according to default flow quota.
7. the method that PS flow according to claim 1 monitors in real time, it is characterised in that described OCS
The flow process that side performs, also includes:
OCS receives the renewal to described data service flow control parameter that user is initiated by charging gateway
During request, the data service flow control parameter of the described user preserving is updated.
8. the method that PS flow according to claim 7 monitors in real time, it is characterised in that described OCS
When receiving user to described data service flow control parameter more newly requested, to the described user's preserving
Data service flow control parameter is updated, comprising:
When OCS receives the CCR-U message that user is sent by charging gateway, if based on described CCR-U
Flag bit in message determines and carries new data service flow control parameter in described CCR-U message,
Then new data service flow control parameter is substituted the data service flow-control ginseng of original described user
Number;Described new data service flow control parameter inserts described with the AVP structure of Diameter
In circuit domain information under the information on services carrying in CCR-U message.
9. the method that PS flow according to claim 7 monitors in real time, it is characterised in that described OCS
The flow process that side performs, also includes:
The data that the flow threshold values in described data service flow control parameter after updating uses less than user
During service traffics, terminated ongoing all data services of described user by charging gateway, and point out
To user.
10. the method that PS flow according to claim 8 monitors in real time, it is characterised in that described
When OCS receives user to described data service flow control parameter more newly requested, to the described use preserving
The data service flow control parameter at family is updated, and also includes:
When OCS receives the CCR-U message that user is sent by charging gateway, if based on described CCR-U
Flag bit in message determine described CCR-U message carries new data service flow control parameter,
And the numerical value of flow threshold values is 0 in new data service flow control parameter, then empty the described user's of preservation
Data service flow control parameter, follow-up no longer carries out data service traffic monitoring to described user.
The method that 11. 1 kinds of PS flows monitor in real time, it is characterised in that the flow process performing in charging gateway side
Including:
When user asks to network, at described CCR-I when OCS sends the CCR-I message for the authentication that networks
Message is carried data service flow control parameter, preserves described data service flow control parameter for OCS
And use the process of data service flow to be monitored described user based on data service flow control parameter,
When the data service flow that OCS monitors user's use reaches described flow threshold values, the prison that OCS is sent
Survey result and be prompted to user;
Described data service flow control parameter and described new data service flow control parameter all with
The AVP structure of Diameter inserts the circuit domain letter under the information on services carrying in described CCR-U message
In breath.
The method that 12. PS flows according to claim 11 monitor in real time, it is characterised in that at meter
Take the flow process that gateway side performs, also include:
When user initiates to described data service flow control parameter more newly requested, by described more newly requested
It is sent to OCS with the form of CCR-U message;Flag bit in described CCR-U message reflects described
Whether CCR-U message carries new data service flow control parameter.
The method that 13. 1 kinds of PS flows monitor in real time, it is characterised in that in the flow process that subscriber terminal side performs
Including:
The networking request of user is sent to OCS by charging gateway, in the request of networking, carries data service
Flow control parameter, sends described data service flow control parameter to OCS by charging gateway, for
OCS preserves described data service flow control parameter and based on data service flow control parameter to described user
Use data service flow process be monitored, when OCS monitor user use data service flow reach
During to described flow threshold values, receive the monitoring result that OSC sent by charging gateway and be prompted to user;
Described the more newly requested of data service flow control parameter is sent to by user by charging gateway
OCS, is updated for the data service flow control parameter to the described user preserving for the OCS.
The method that 14. PS flows according to claim 13 monitor in real time, it is characterised in that with
The flow process that family end side performs, also includes:
By described more newly requested be sent to OCS by charging gateway before, user terminal judge described update please
Whether meet the condition setting the transmission opportunity asked, if so, then more newly requested sent out described by charging gateway
Give OCS, otherwise forbid described in transmission more newly requested;
The condition of described setting, comprising: allow frequency range more newly requested described in sending, and/or, it is allowed to
Time period more newly requested described in transmission.
15. 1 kinds of line charge systems OCS, it is characterised in that the flow process performing in subscriber terminal side includes:
Memory, for prestoring the data service flow control parameter of user;Described flow control parameter,
Including: flow threshold values;
Processor, uses the process of data service flow to be monitored for OCS to user, when monitoring use
When the data service flow that family uses reaches described flow threshold values, by charging gateway, monitoring result is prompted to
User.
16. 1 kinds of charging gateways, it is characterised in that, including a processor;
Described processor, for when user asks to network, sending the CCR-I for the authentication that networks to OCS
Carry data service flow control parameter in described CCR-I message during message, preserve described number for OCS
According to service traffics control parameter and based on data service flow control parameter, data service stream is used to described user
Amount process be monitored, when OCS monitor user use data service flow reach described flow threshold values
When, the monitoring result sending OCS is prompted to user.
17. charging gateways according to claim 16, it is characterised in that described processor, are additionally operable to:
When user initiates to described data service flow control parameter more newly requested, by described more newly requested with
The form of CCR-U message is sent to OCS, enters, for OCS, the data service flow control parameter preserving
Row updates;Flag bit in described CCR-U message reflects whether carry in described CCR-U message newly
Data service flow control parameter.
18. 1 kinds of user terminals, it is characterised in that include a processor;
Described processor, for the networking of user request is sent to OCS by charging gateway, please networking
Data service flow control parameter is carried, by charging gateway by described data service flow control parameter in asking
Send OCS to, preserve described data service flow control parameter and based on data service flow control for OCS
Described user is used the process of data service flow to be monitored by parameter processed, uses when OCS monitors user
Data service flow when reaching described flow threshold values, receive the monitoring result that OSC is sent by charging gateway
And it is prompted to user.
19. user terminals according to claim 18, it is characterised in that described processor, are additionally operable to:
User is sent to OCS to described the more newly requested of data service flow control parameter by charging gateway, with
It is updated for the data service flow control parameter to the described user preserving for the OCS.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510067042.1A CN105991360A (en) | 2015-02-09 | 2015-02-09 | Real-time PS domain flow monitoring method and related equipment |
PCT/CN2015/089354 WO2016127638A1 (en) | 2015-02-09 | 2015-09-10 | Method for real-time monitoring of ps domain traffic, and related device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510067042.1A CN105991360A (en) | 2015-02-09 | 2015-02-09 | Real-time PS domain flow monitoring method and related equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105991360A true CN105991360A (en) | 2016-10-05 |
Family
ID=56615326
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510067042.1A Withdrawn CN105991360A (en) | 2015-02-09 | 2015-02-09 | Real-time PS domain flow monitoring method and related equipment |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN105991360A (en) |
WO (1) | WO2016127638A1 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108337527B (en) * | 2017-12-18 | 2021-10-15 | 武汉烽火众智智慧之星科技有限公司 | Access gateway and access method |
CN111132048B (en) * | 2019-11-27 | 2021-03-05 | 中国联合网络通信集团有限公司 | Fee sending method, device, equipment and storage medium based on flow use |
CN111586127B (en) * | 2020-04-28 | 2023-04-28 | 深圳市爱路恩济能源技术有限公司 | Working condition data processing method based on Internet of things system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102547640A (en) * | 2010-12-10 | 2012-07-04 | 中兴通讯股份有限公司 | Method and system for signing and executing consumption restriction business |
CN102984768A (en) * | 2012-11-09 | 2013-03-20 | 华为技术有限公司 | Method and device of real-time adjustment of on-line user bandwidth under shared charge rule |
US20130258849A1 (en) * | 2012-03-28 | 2013-10-03 | Ranjan Sharma | Closed-loop qos control using charging groups |
CN103812897A (en) * | 2012-11-12 | 2014-05-21 | 中国移动通信集团山东有限公司 | Network flow control method and device |
CN103905968A (en) * | 2012-12-24 | 2014-07-02 | 中国移动通信集团公司 | Method and system for traffic reminding |
-
2015
- 2015-02-09 CN CN201510067042.1A patent/CN105991360A/en not_active Withdrawn
- 2015-09-10 WO PCT/CN2015/089354 patent/WO2016127638A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102547640A (en) * | 2010-12-10 | 2012-07-04 | 中兴通讯股份有限公司 | Method and system for signing and executing consumption restriction business |
US20130258849A1 (en) * | 2012-03-28 | 2013-10-03 | Ranjan Sharma | Closed-loop qos control using charging groups |
CN102984768A (en) * | 2012-11-09 | 2013-03-20 | 华为技术有限公司 | Method and device of real-time adjustment of on-line user bandwidth under shared charge rule |
CN103812897A (en) * | 2012-11-12 | 2014-05-21 | 中国移动通信集团山东有限公司 | Network flow control method and device |
CN103905968A (en) * | 2012-12-24 | 2014-07-02 | 中国移动通信集团公司 | Method and system for traffic reminding |
Also Published As
Publication number | Publication date |
---|---|
WO2016127638A1 (en) | 2016-08-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101061471B1 (en) | Telecom network subscription control | |
US20150223042A1 (en) | Independent roaming charging for a roaming user equipment in a visited network | |
EP2553949B1 (en) | Local roaming charging in lte/epc networks | |
WO2018107822A1 (en) | Traffic accounting method and system, and control server | |
US9407512B2 (en) | Method and apparatus for controlling terminal's access to a wireless network | |
MX2010010973A (en) | Online charging for roaming users in a proxy online charging system of a visited network. | |
KR20140062491A (en) | System and method for provisioning internet access to a computing device | |
KR20110042102A (en) | Online charging correlation in ims networks | |
CN104735635B (en) | A kind of policy control method and device | |
CN104363572A (en) | Redirecting method, charging device, access device and redirecting system | |
EP3087724B1 (en) | Server, electronic device, computer programs and methods to push toll-free applications to a user device | |
CN105991360A (en) | Real-time PS domain flow monitoring method and related equipment | |
KR101418097B1 (en) | Mobile terminal one touch control method for communication mode | |
WO2007096754A1 (en) | Context-based processing of data flows for differentiated charging | |
US20080144789A1 (en) | Method for Awarding Discount and Promotions for Delayed Services to Subscribers Charged in Real time | |
US20120284208A1 (en) | Systems and/or Methods For Delivering Notifications On A Communications Network | |
CN103052048B (en) | A kind of charging method of link building messages and device | |
US10609224B2 (en) | Method and system for dynamically allocating operator specific billing rules for data exchange by an application on a user equipment | |
CN108270580B (en) | Reminding method, device and system for online charging | |
JP4571942B2 (en) | Method for measuring effective time of data transmission in network | |
CN115022475A (en) | Call bill trigger control method and device and electronic equipment | |
KR20050087317A (en) | Cellular phone providing charge and method the same | |
KR20170042864A (en) | Apparatus and method for charging for communicating service | |
OA18992A (en) | Method to push toll-free applications to a user device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
WW01 | Invention patent application withdrawn after publication | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20161005 |