CN106712972A - Charging rule updating method, device and system - Google Patents
Charging rule updating method, device and system Download PDFInfo
- Publication number
- CN106712972A CN106712972A CN201510451171.0A CN201510451171A CN106712972A CN 106712972 A CN106712972 A CN 106712972A CN 201510451171 A CN201510451171 A CN 201510451171A CN 106712972 A CN106712972 A CN 106712972A
- Authority
- CN
- China
- Prior art keywords
- charging regulation
- gateway
- packet gateway
- matching
- matching times
- 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
Abstract
The invention discloses a charging rule updating method, device and system, and aims at solving the problem that a present charging rule distribution schemes cannot realize real-time optimal configuration of the charging rules. The method comprises that a first matching frequency, sent by at least one packet gateway, of each charging rule configured in the packet gateway in a preset period is received; according to the first matching frequency, a second matching frequency of each charging rule configured in external equipment in the preset period and an original matching frequency of each charging rule in the whole charging rule set, a newest matching frequency of each charging rule in the whole charging rule set is determined; and when an update request from any a packet gateway is received, the charging rules satisfying the preset condition are selected from the whole charging rule set and sent to the packet gateway which sends the update request according to the newest matching frequency, so that the packet gateway which sends the update request updates configured charging rules according to the received charging rules.
Description
Technical field
The present invention relates to network communication technology field, more particularly to a kind of update method of charging regulation, device
With system.
Background technology
When flow system pair business refers to that individual client passes through 2G/3G/4G network access specific websites, generation
Data traffic expense is examined and made cuts by operator, and carries out the business that backward system is paid by group customer.Flow is united
The business of paying possesses user and is directly benefited, is beneficial to operator's flow increment and is beneficial to content supplier's product
The various advantages such as extra earning, thus be it is a kind of be easy to for user, operator and content supplier receive
Business model.
At present, the core concept of the implementation that flow system pays business is by packet gateway (such as PGW (PDN
GateWay, PDN Gateway) or GGSN (Gateway GPRS Support Node, gateway general packet
Wireless service technical support node)) on charging regulation matching it is external with management function, i.e., in original system
On the basis of, a charging regulation matching and management equipment (collectively referred to hereinafter as external device) are set up, with
Mitigate the burden of packet gateway, while the centralized management of magnanimity charging regulation can also be supported, simplify network side
Management service amount, no longer limited by packet gateway performance and memory space.
In order to the charging regulation for ensureing peak efficiency is matched, the friendship between packet gateway and external device is reduced
Mutually, currently existing scheme is typically all rule of thumb or operation analysis system and form etc. are periodically to the meter of whole net
Expense rule is analyzed and assesses, and according to analysis and the result assessed on packet gateway and external device
Charging regulation is allocated, and temperature charging regulation high is configured on packet gateway.Wherein, temperature is determined
The number of times (i.e. matching times) that justice is matched for charging regulation in a measurement period, matching times are more,
Temperature is higher.
By manually periodically adjusting the configuration of charging regulation, not only very complicated in flow, lacks spirit to said process
Activity, and due to charging regulation temperature may over time, the change of place and demand and change,
Obviously regularly artificial operation cannot make the charging regulation on packet gateway realize real-time optimization collocation.
The content of the invention
The embodiment of the present invention provides a kind of update method of charging regulation, device and system, is used to solve existing
Charging regulation allocative decision cannot realize the problem of the real-time optimization collocation of charging regulation.
The embodiment of the present invention uses following technical scheme:
A kind of first aspect, there is provided update method of charging regulation, including:
Every charging regulation of the configuration of at least one packet gateway transmission on the packet gateway is received to exist
The first matching times in predetermined period;
According to the every charging regulation of first matching times, configuration on external device in the default week
Every original of charging regulation in the second matching times in phase, and the charging regulation complete or collected works for prestoring
With number of times, every newest matching times of charging regulation in the charging regulation complete or collected works are determined;
When the renewal for receiving the transmission of any one packet gateway is asked, according in the charging regulation complete or collected works
Every newest matching times of charging regulation, choose from the charging regulation complete or collected works and meet pre-conditioned meter
Expense rule is sent to and sends the packet gateway for updating request, to send the packet net for updating request
Close according to the charging regulation for receiving, configured charging regulation is updated.
Wherein, second matching times determine as follows:
In the predetermined period, the industry of the Operational Visit message of any one packet gateway transmission is often received
During business characteristic, every charging regulation by the service feature data with configuration on the external device
Matched respectively, when the match is successful, by the matching of the charging regulation of the service feature Data Matching time
Number Jia 1;At the end of the predetermined period, every charging regulation on the external device will be configured
Current matching number of times is defined as the second matching times.
Wherein, included in the service feature data:Send the net of the packet gateway of the service feature data
Close mark;
When the match is successful, methods described also includes:
The gateway identification included in the service feature data is defined as the service feature Data Matching
The corresponding gateway identification of charging regulation;
At the end of the predetermined period, it is determined that every charging regulation correspondence of the configuration on the external device
Gateway identification;And
Receive after first matching times, methods described also includes:
It is determined that sending the gateway identification of the packet gateway of first matching times, first matching will be sent
The gateway identification of the packet gateway of number of times is defined as configuration and is sending the packet gateway of first matching times
On the corresponding gateway identification of every charging regulation;
The corresponding gateway identification of every charging regulation according to the configuration determined on the external device and
The corresponding gateway identification of every charging regulation on the packet gateway for sending first matching times is configured,
Determine in the charging regulation complete or collected works the corresponding gateway identification of every charging regulation;Then
When the renewal for receiving the transmission of any one packet gateway is asked, according in the charging regulation complete or collected works
Every newest matching times of charging regulation, choose from the charging regulation complete or collected works and meet pre-conditioned meter
Expense rule is sent to and sends the packet gateway for updating request, specifically includes:
When the renewal for receiving the transmission of any one packet gateway is asked, it is determined that sending the renewal request
The gateway identification of packet gateway;
According to the corresponding gateway identification of every charging regulation in the charging regulation complete or collected works, the charging rule are determined
Then in complete or collected works with the corresponding charging regulation of gateway identification for sending the packet gateway for updating request;
From charging regulation corresponding with the gateway identification for sending the packet gateway for updating request, choose full
The pre-conditioned charging regulation of foot is sent to and sends the packet gateway for updating request.
Wherein, when the renewal for receiving the transmission of any one packet gateway is asked, according to the charging regulation
Every newest matching times of charging regulation in complete or collected works, choose from the charging regulation complete or collected works and meet default bar
The charging regulation of part is sent to and sends the packet gateway for updating request, specifically includes:
When the renewal for receiving the transmission of any one packet gateway is asked, according in the charging regulation complete or collected works
Every newest matching times of charging regulation, choose newest matching times highest from the charging regulation complete or collected works
Specified number charging regulation, be sent to send it is described update request packet gateway.
Wherein, before the renewal request for receiving the transmission of any one packet gateway, methods described also includes:
When at least one of charging regulation complete or collected works charging regulation is deleted, at least one packet net
Close and send more new logo, to indicate the packet gateway for receiving the more new logo to be sent to the external device
It is described to update request.
A kind of second aspect, there is provided update method of charging regulation, including:
It is determined that every charging regulation is in predetermined period in the first charging regulation of the configuration on the packet gateway
The first interior matching times;
First matching times are reported into external device;
When the configuration for determining charging regulation needs to update, sent to the external device and update request;
The external device is received according to the charging regulation for updating request and feeding back;
According to the charging regulation that the external device feeds back, first charging regulation is updated.
Wherein it is determined that every charging regulation is default in the first charging regulation of the configuration on the packet gateway
The first matching times in cycle, specifically include:
In the predetermined period, when often receiving the Operational Visit message of user equipment transmission, by the industry
Business accesses every charging regulation of the service feature data of message with configuration on the packet gateway and enters respectively
Row matching, when the match is successful, by the charging regulation of the service feature Data Matching of the Operational Visit message
Matching times add 1;At the end of the predetermined period, every meter on the packet gateway will be configured
The current matching number of times for taking rule is defined as the first matching times.
Wherein it is determined that the configuration of charging regulation needs to update, specifically include:
When the more new logo that the external device sends is received, determining the configuration of charging regulation needs more
Newly;Or
When the update cycle for pre-setting is reached, determine that the configuration of charging regulation needs to update.
A kind of third aspect, there is provided updating device of charging regulation, including:
First matching times receiving unit, for receiving the configuration of at least one packet gateway transmission at described point
First matching times of the every charging regulation that networking is shut in predetermined period;
Newest matching times determining unit, for received according to the first matching times receiving unit first
Second matching time of the every charging regulation of matching times, configuration on external device in the predetermined period
Number, and every original match number of times of charging regulation in the charging regulation complete or collected works for prestoring, it is determined that described
Every newest matching times of charging regulation in charging regulation complete or collected works;
Updating block, for when the renewal for receiving the transmission of any one packet gateway is asked, according to described
Every newest matching times of charging regulation in the charging regulation complete or collected works that newest matching times determining unit determines,
Chosen from the charging regulation complete or collected works meet pre-conditioned charging regulation be sent to the transmission renewal please
The packet gateway asked, it is right to send the packet gateway for updating request according to the charging regulation for receiving
Configured charging regulation is updated.
Wherein, described device also includes:
Second matching times determining unit, in the predetermined period, often receiving any one packet
During the service feature data of the Operational Visit message that gateway sends, by the service feature data with configuration in institute
The every charging regulation stated on external device is matched respectively, when the match is successful, by the service feature
The matching times of the charging regulation of Data Matching add 1;At the end of the predetermined period, will configure described
The current matching number of times of every charging regulation on external device is defined as the second matching times.
Wherein, included in the service feature data:Send the net of the packet gateway of the service feature data
Close mark;
Described device also includes:
First gateway identification determining unit, for when the match is successful in the second matching times determining unit
When, the gateway identification included in the service feature data is defined as the meter of the service feature Data Matching
Take regular corresponding gateway identification;At the end of the predetermined period, it is determined that configuration is on the external device
The corresponding gateway identification of every charging regulation;
Second gateway identification determining unit, receives described first for the first matching times receiving unit
After with number of times, it is determined that the gateway identification of the packet gateway of first matching times is sent, it is described by sending
The gateway identification of the packet gateway of the first matching times is defined as configuration and is sending first matching times
The corresponding gateway identification of every charging regulation on packet gateway;
3rd gateway identification determining unit, for matching somebody with somebody for being determined according to the first gateway identification determining unit
The corresponding gateway identification of every charging regulation and second gateway identification put on the external device are true
Every charging regulation pair of the configuration that order unit determines on the packet gateway for sending first matching times
The gateway identification answered, determines in the charging regulation complete or collected works the corresponding gateway identification of every charging regulation;Then
The updating block, specifically for:
When the renewal for receiving the transmission of any one packet gateway is asked, it is determined that sending the renewal request
The gateway identification of packet gateway;It is complete according to the charging regulation that the 3rd gateway identification determining unit determines
Concentrate the corresponding gateway identification of every charging regulation, determine in the charging regulation complete or collected works with send the renewal
The corresponding charging regulation of gateway identification of the packet gateway of request;From the packet net with the transmission renewal request
In the corresponding charging regulation of gateway identification of pass, selection meets pre-conditioned charging regulation and is sent to transmission institute
State the packet gateway for updating request.
Wherein, the updating block, specifically for:
When the renewal for receiving the transmission of any one packet gateway is asked, according in the charging regulation complete or collected works
Every newest matching times of charging regulation, choose newest matching times highest from the charging regulation complete or collected works
Specified number charging regulation, be sent to send it is described update request packet gateway.
Wherein, described device also includes:
Update instruction transmitting element, for being deleted when at least one of charging regulation complete or collected works charging regulation
Except when, more new logo is sent at least one packet gateway, to indicate to receive the packet of the more new logo
Gateway sends described renewal and asks to the external device.
A kind of fourth aspect, there is provided updating device of charging regulation, including:
First matching times determining unit, for determining first charging regulation of the configuration on the packet gateway
In the first matching times of every charging regulation in predetermined period;
First matching times reporting unit, for first that determines the first matching times determining unit
External device is reported with number of times;
Request transmitting unit is updated, for when the configuration for determining charging regulation needs to update, to described outer
Installing preparation send renewal to ask;
Charging regulation receiving unit, by receive the external device according to it is described update request and feed back based on
Take rule;
Updating block, for the charging regulation received according to the charging regulation receiving unit, to described first
Charging regulation is updated.
Wherein, the first matching times determining unit, specifically for:
In the predetermined period, when often receiving the Operational Visit message of user equipment transmission, by the industry
Business accesses every charging regulation of the service feature data of message with configuration on the packet gateway and enters respectively
Row matching, when the match is successful, by the charging regulation of the service feature Data Matching of the Operational Visit message
Matching times add 1;At the end of the predetermined period, every meter on the packet gateway will be configured
The current matching number of times for taking rule is defined as the first matching times.
Wherein, described device also includes:
Determining unit is updated, for when the more new logo that the external device sends is received, determining charging
The configuration of rule needs to update;Or when the update cycle for pre-setting is reached, determine matching somebody with somebody for charging regulation
Putting needs to update.
5th aspect provides a kind of more new system of charging regulation, including an external device and at least one
Packet gateway, wherein:
The external device, for receiving the configuration of at least one packet gateway transmission in the packet gateway
First matching times of the every charging regulation in predetermined period;According to first matching times, configuration
The second matching times of every charging regulation on external device in the predetermined period, and deposit in advance
Every original match number of times of charging regulation in the charging regulation complete or collected works of storage, in determining the charging regulation complete or collected works
Every newest matching times of charging regulation;When the renewal request for receiving the transmission of any one packet gateway
When, according to every newest matching times of charging regulation in the charging regulation complete or collected works, from the charging regulation
Chosen in complete or collected works and meet the packet gateway that pre-conditioned charging regulation is sent to the transmission renewal request;
The packet gateway, in determining first charging regulation of the configuration on the packet gateway based on every
Take first matching times of the rule in predetermined period;First matching times are reported and is installed outside described
It is standby;When the configuration for determining charging regulation needs to update, sent to the external device and update request;Connect
The external device is received according to the charging regulation for updating request and feeding back;Fed back according to the external device
Charging regulation, first charging regulation is updated.
The embodiment of the present invention has the beneficial effect that:
In the embodiment of the present invention, by the configuration of reception at least one packet gateway transmission on packet gateway
The first matching times of every charging regulation in predetermined period, further according to the first matching times, configuration outside
Install standby second matching times of the every upper charging regulation in predetermined period, and the charging for prestoring
Every original match number of times of charging regulation in regular complete or collected works, determines every charging regulation in charging regulation complete or collected works
Newest matching times, when receive any one packet gateway transmission renewal ask when, according to charging advise
Then every newest matching times of charging regulation in complete or collected works, choose from charging regulation complete or collected works and meet pre-conditioned
Charging regulation be sent to send update request packet gateway, so as to send update request packet gateway root
According to the charging regulation for receiving, configured charging regulation is updated, it is achieved thereby that by charging regulation
Packet gateway is updated to from external device according to newest matching times are automatic, makes the charging regulation on packet gateway
Realize optimization collocation.
Other features and advantages of the present invention will illustrate in the following description, also, partly from explanation
Become apparent in book, or understood by implementing the present invention.The purpose of the present invention and other advantages can
Realize and obtain by specifically noted structure in the specification, claims and accompanying drawing write
.
Brief description of the drawings
Accompanying drawing described herein is used for providing a further understanding of the present invention, constitutes of the invention one
Point, schematic description and description of the invention be used for explain the present invention, do not constitute to it is of the invention not
Work as restriction.In the accompanying drawings:
Fig. 1 is the basic flow sheet of existing charging regulation matching scheme;
Fig. 2 is the update method of the charging regulation that a kind of external device side provided in an embodiment of the present invention is implemented
Realize flow chart;
Fig. 3 is the update method of the charging regulation that a kind of packet gateway side provided in an embodiment of the present invention is implemented
Realize flow chart;
Fig. 4 is that the statistics and maintaining method of a kind of charging regulation provided in an embodiment of the present invention realize flow
Figure;
Fig. 5 is a kind of structural representation of the updating device of charging regulation provided in an embodiment of the present invention;
Fig. 6 is the structural representation of the updating device of another charging regulation provided in an embodiment of the present invention;
Fig. 7 is a kind of structural representation of the more new system of charging regulation provided in an embodiment of the present invention.
Specific embodiment
Cannot realize that charging regulation configures optimization in real time to solve existing charging regulation allocative decision
Problem, applicant furthers investigate to prior art.
The basic procedure of existing charging regulation matching scheme is as shown in Figure 1.Specifically, when packet gateway connects
Receive terminal transmission Operational Visit message when, first by the service feature data of the Operational Visit message and itself
The charging regulation of configuration is matched, if the match is successful, completes charging action;If it fails to match,
The service feature data of the Operational Visit message are then reported into external device, by external device by service feature
The charging regulation that data are configured with itself is matched, if the match is successful, is fed back to packet gateway and matched
Success response message;If it fails to match, to packet gateway feedback it fails to match response message.
In the above-mentioned flow, the charging regulation configured in packet gateway is focus rule, wherein, temperature is determined
The number of times that justice is matched for service billing rule in a measurement period, such as service billing rule A nearly
The number of times being matched in week, number of times is more, and temperature is higher, and temperature highest top n service billing rule is heat
Point rule.
At present, configured on packet gateway in order to the focus by service billing in regular is regular, typically all root
Periodically the service billing rule of whole net is analyzed and commented according to experience or operation analysis system and form etc.
Estimate, and the service billing rule on packet gateway and external device is divided according to the result of analysis and assessment
Match somebody with somebody, by focus rule configuration on packet gateway.The process is regularly artificial operation, but focus is regular
Be not it is unalterable, it can over time, the change of place and demand and constantly update change.
In such as following scenes:
Scene one:The temperature of charging regulation just can reach most with time period real-time change, it is necessary to irregularly adjust
Distribute rationally.Such as, the visit capacity of shopping class website can increase sharply before and after double 11, can be by class net of doing shopping
Station is configured on P-GW/GGSN.
Scene two:The temperature of charging regulation different places can difference, it is necessary to press the spy of different regions
Point sequence just can reach optimization collocation.Such as, if an external device services many P-GW/GGSN,
And these P-GW/GGSN are belonging respectively to multiple districts and cities, the user behavior of each districts and cities is accustomed to variant meeting
The focus rule of each districts and cities is caused to have differences.
Scene three:When charging regulation have it is newly-increased, delete and change when, business rule temperature sequence need and
When adjust.
For above-mentioned change, it is clear that regularly artificial operation cannot be such that the focus rule determined realizes in real time
Optimization collocation, once should be that the regular service billing rule of focus is configured on external device, will
Cause the interaction increase between packet gateway and external device, so as to reduce the effect of service billing rule match
Rate.
In sum, the embodiment of the invention provides a kind of update scheme of charging regulation.In the technical scheme,
By receiving every charging regulation of the configuration of at least one packet gateway transmission on packet gateway default
The first matching times in cycle, further according to the every charging of the first matching times, configuration on external device
Second matching times of the rule in predetermined period, and every charging in the charging regulation complete or collected works for prestoring
The original match number of times of rule, determines every newest matching times of charging regulation in charging regulation complete or collected works, when
When the renewal for receiving the transmission of any one packet gateway is asked, according to every charging rule in charging regulation complete or collected works
Newest matching times then, selection meets pre-conditioned charging regulation and is sent to from charging regulation complete or collected works
The packet gateway for updating and asking is sent, the packet gateway of request is updated to send according to the charging rule for receiving
Then, configured charging regulation is updated, it is achieved thereby that by charging regulation according to newest matching times
Automatically packet gateway is updated to from external device, the charging regulation on packet gateway is realized optimization collocation.
Embodiments of the invention are illustrated below in conjunction with Figure of description, it will be appreciated that described herein
Embodiment be merely to illustrate and explain the present invention, be not intended to limit the invention.And in the feelings not conflicted
Under condition, the feature of embodiment and embodiment in the present invention can be combined with each other.
A kind of update method of charging regulation is the embodiment of the invention provides, as shown in Fig. 2 being the method
Flow chart is realized, the executive agent of the method is external device, specifically includes following step:
Step 21, receives every charging regulation of the configuration of at least one packet gateway transmission on packet gateway
The first matching times in predetermined period.
Step 22, according to every charging regulation of the first matching times, configuration for receiving on external device
Every charging regulation in the second matching times in predetermined period, and the charging regulation complete or collected works for prestoring
Original match number of times, determine every newest matching times of charging regulation in charging regulation complete or collected works.
Wherein, second matching times of every charging regulation of the configuration on external device in predetermined period can
To determine as follows:
In predetermined period, the business for often receiving the Operational Visit message of any one packet gateway transmission is special
When levying data, the service feature data and every charging regulation of the configuration on external device are carried out respectively
Match somebody with somebody, when the match is successful, the matching times of the charging regulation of the service feature Data Matching are added 1;
At the end of the predetermined period, the current matching number of times of every charging regulation on external device is configured
As the second matching times.
Step 23 is complete according to charging regulation when the renewal for receiving the transmission of any one packet gateway is asked
Every newest matching times of charging regulation are concentrated, is chosen from charging regulation complete or collected works and is met pre-conditioned meter
Take rule, be sent to send update request packet gateway, so as to send update request packet gateway according to
The charging regulation for receiving, is updated to configured charging regulation.
Specifically, chosen from charging regulation complete or collected works meeting pre-conditioned charging regulation, can be, but not limited to
It is that the charging regulation that newest matching times highest specifies number is chosen from charging regulation complete or collected works.
In the embodiment of the present invention, packet gateway is sent renewal request and can be triggered by following two approach:
The charging regulation configured in approach 1, external device changes:If the meter configured on external device
Take rule to be deleted, then can at once notify that P-GW/GGSN updates the charging regulation being locally configured;If
The charging regulation configured on external device is newly-increased, then need not trigger renewal.
In this case, before the renewal request for receiving the transmission of any one packet gateway, the present invention
Embodiment can also include:
When at least one of charging regulation complete or collected works charging regulation is deleted, sent out at least one packet gateway
More new logo is sent, send renewal to ask to indicate the packet gateway for receiving the more new logo outwards to install preparation.
Specifically, response (RSP) message of P-GW/GGSN matching results can be replied in external device
Or P-GW/GGSN in the heartbeat detection RSP message of external device to carrying more new logo (such as ICAP
IsTag values in (Internet Content Adaptation Protocol) agreement), P-GW/GGSN is received
After the more new logo, preparation is outwards installed at once and plays renewal request.
Approach 2, timing update:If never having charging regulation on external device to be deleted, P-GW/GGSN
Cannot just the renewal of local charging regulation be carried out, so that the degree of accuracy is influenceed, therefore P-GW/GGSN should be propped up
Hold timing to initiate to update request, local charging regulation is rebuild, the cycle can be with external device pair
The measurement period of the newest matching times of charging regulation is identical.
In addition, external device can simultaneously serve multiple packet gateways in the embodiment of the present invention, therefore in meter
When taking Policy Updates, identical charging regulation can be issued to all of packet gateway, it is also possible to each point
Networking is closed and made a distinction, so as to issue different charging regulations for the concrete condition of each packet gateway.
Therefore, when dividing comprising the transmission service feature data in the service feature data that external device is received
During the gateway identification that networking is closed, during external device determines the second matching times, when the match is successful,
The method also includes:
The gateway identification included in the service feature data is defined as the charging rule of service feature Data Matching
Then corresponding gateway identification;And at the end of predetermined period, it is determined that every meter of the configuration on external device
Take regular corresponding gateway identification;
Receive after the first matching times, the method also includes:
It is determined that sending the gateway identification of the packet gateway of the first matching times, dividing for the first matching times will be sent
The gateway identification that networking is closed is defined as every charging of the configuration on the packet gateway for sending the first matching times
The corresponding gateway identification of rule;
The corresponding gateway identification of every charging regulation on external device and configuration according to the configuration determined
The corresponding gateway identification of every charging regulation on the packet gateway for sending the first matching times, determines charging
The corresponding gateway identification of every charging regulation in regular complete or collected works;Then
When the renewal for receiving the transmission of any one packet gateway is asked, according to every in charging regulation complete or collected works
The newest matching times of charging regulation, choose from charging regulation complete or collected works and meet pre-conditioned charging regulation hair
The packet gateway for sending and updating request is given, can be specifically included:
When the renewal for receiving the transmission of any one packet gateway is asked, it is determined that sending the packet for updating request
The gateway identification of gateway;
According to the corresponding gateway identification of every charging regulation in charging regulation complete or collected works, in determining charging regulation complete or collected works
Charging regulation corresponding with the gateway identification for sending the packet gateway for updating request;
From charging regulation corresponding with the gateway identification for sending the packet gateway for updating request, choose and meet pre-
If the charging regulation of condition is sent to the packet gateway for sending and updating request.
Accordingly, the embodiment of the present invention additionally provides a kind of update method of charging regulation, as shown in figure 3,
It is the flow chart of realizing of the method, the executive agent of the method is packet gateway, specifically includes following step:
Step 31, it is determined that every charging regulation is in default week in the first charging regulation of the configuration on packet gateway
The first matching times in phase.
Wherein, in predetermined period, when user carries out Operational Visit, Operational Visit is sent to packet gateway
Message, packet gateway is preferentially by the service feature data of the Operational Visit message and every charging of itself configuration
Rule is matched respectively, when the match is successful, by the service feature Data Matching of the Operational Visit message
The matching times of charging regulation add 1;If it fails to match, by the service feature number of the Operational Visit message
According to being sent to external device.Optionally, when service feature data are sent, the gateway mark of itself can be carried
Know, so that external device can send corresponding charging regulation according to gateway identification to packet gateway.
At the end of predetermined period, the current matching number of times for configuring every charging regulation on packet gateway is
It is the first matching times.
Step 32, the first matching times that will be determined report external device.
Step 33, when the configuration for determining charging regulation needs to update, outwards installs preparation and send renewal to ask.
Wherein it is determined that the configuration of charging regulation needs to update, can be, but not limited to according to the following two kinds mode reality
It is existing:
First way:When the more new logo of external device transmission is received, the configuration of charging regulation is determined
Need to update;Approach 1 in which correspondence above-described embodiment:The charging regulation hair configured on external device
Changing.
The second way:When the update cycle for pre-setting is reached, determining the configuration of charging regulation needs more
Newly;Approach 2 in which correspondence above-described embodiment:Timing updates.
Step 34, receives the charging regulation that external device feeds back according to request is updated;
Step 35, according to the charging regulation that external device feeds back, is updated to the first charging regulation.
In the embodiment of the present invention, by the configuration of reception at least one packet gateway transmission on packet gateway
The first matching times of every charging regulation in predetermined period, further according to the first matching times, configuration outside
Install standby second matching times of the every upper charging regulation in predetermined period, and the charging for prestoring
Every original match number of times of charging regulation in regular complete or collected works, determines every charging regulation in charging regulation complete or collected works
Newest matching times, when receive any one packet gateway transmission renewal ask when, according to charging advise
Then every newest matching times of charging regulation in complete or collected works, choose from charging regulation complete or collected works and meet pre-conditioned
Charging regulation be sent to send update request packet gateway, so as to send update request packet gateway root
According to the charging regulation for receiving, configured charging regulation is updated, it is achieved thereby that by charging regulation
Packet gateway is updated to from external device according to newest matching times are automatic, makes the charging regulation on packet gateway
Realize optimization collocation.
In order to be better understood from the embodiment of the present invention, below in conjunction with the specific tool implemented to the embodiment of the present invention
Body implementation process is illustrated.
The core concept of the embodiment of the present invention is in real time by matching times charging regulation configuration high in packet net
Shut, so more flows are not needed by sending external device and complete matching flow, to reach packet net
Close and the flow of external device matching is optimized.
The program is segmented into two parts:One is the statistics and maintenance to charging regulation, and two is to charging regulation
Renewal.
Reference picture 4, the statistics of charging regulation and maintenance mainly include four parts:
1st, P-GW/GGSN counts the matching times of local charging regulation.
Specifically, when user carries out Operational Visit, the service feature high priority data matching of Operational Visit message
Charging regulation on P-GW/GGSN, the match is successful, then P-GW/GGSN then by the charging regulation
Plus 1 with number of times, it fails to match, (wrapped the service feature data of the Operational Visit message by ICAP interfaces
Include IP/ five-tuples, URL (Uniform Resource Locator, uniform resource locator) etc.) on deliver to
External device.
2nd, external device counts the matching times of local charging regulation.
External device receives the service feature data of the Operational Visit message sent on P-GW/GGSN, with this
The charging regulation on ground is matched, and the match is successful, and the matching times of the charging regulation are then added 1 by external device,
The match is successful result and corresponding RG&SID are returned into P-GW/GGSN, it fails to match, then lose matching
Lose result and return to P-GW/GGSN.
3rd, every matching times of charging regulation in external device statistics charging regulation complete or collected works.
The matching times of local charging regulation are periodically reported external device and (received outer by P-GW/GGSN
After installing the successful response of reception that preparation is sent, the local charging regulation that P-GW/GGSN will have been reported
Matching times reset), matching times and local charging regulation that external device reports P-GW/GGSN
Matching times added up.
4th, external device carries out temperature sequence to the charging regulation in charging regulation complete or collected works.
Temperature sequence is that the matching times of charging regulation in a predetermined period are ranked up, hot statistics week
When phase starts, external device can be clear by the matching times of the charging regulation in charging regulation complete or collected works accumulative before
Zero.Additionally, focus rule sequence can also be ranked up according to different dimensions, such as packet gateway dimension,
I.e. the configuration of each packet gateway one gateway identification, i.e., No. ID, recognize that this time matching comes for external device
Any platform P-GW/GGSN is come from, while external device presses No. ID to the statistics of the matching times of charging regulation
Provide different sequences, it is also possible to define other dimensions according to demand.
As shown in table 1, it is the dimension example of temperature sequence, it is assumed that using one week as a temperature cycle, it is hot
Degree is the matching times of nearest one week charging regulation.If the dimension of temperature is only considered, to all packets
The priority of heat generating spot rule is under gateway:Rule 2>Regular N>Rule 1>...;If considering temperature
After dimension with No. ID of affiliated packet gateway, the priority to 1 time heat generating spot rule of packet gateway is:
Regular N>Rule 1>..., the priority to 2 times heat generating spot rules of gateway is:Rule 2>....
Table 1:
After external device completes the temperature sequence of charging regulation complete or collected works, packet gateway passes through ICAP interfaces actively
The focus regular and synchronized that to be counted on external device of request is to packet gateway as its home town ruling.
Wherein, request renewal can be triggered by following two approach:
1st, the charging regulation change for being configured on external device:If charging regulation is deleted on external device,
Notify that P-GW/GGSN updates home town ruling at once, P-GW/GGSN matchings can be replied in external device
The RSP message or P-GW/GGSN of result in the heartbeat detection RSP message of external device to carrying more
New logo (the IsTag values such as in ICAP agreements), after P-GW/GGSN receives the mark, at once outwards
Install preparation and rise and update request.If regular increasing newly need not trigger renewal.
2nd, timing updates:If never having charging regulation on external device to delete, P-GW/GGSN is with regard to nothing
Method carries out the renewal of home town ruling, so that the focus degree of accuracy is influenceed, therefore P-GW/GGSN should support timing
Initiate update request, local focus rule base is rebuild, the cycle and external device temperature sequence
Measurement period is identical.
Many P-GW/GGSN may be serviced based on an external device, and if these gateway devices belong to
Different vendor, the specification of content charging rule is different, therefore the regular bar number of the synchronous focus of packet gateway request
Determined according to oneself specification and demand by gateway.
Based on same inventive concept, also each provide what a kind of external device side was implemented in the embodiment of the present invention
The updating device and charging regulation of the charging regulation that the updating device of charging regulation and packet gateway side are implemented
More new system, due to the charging rule that principle and the external device side of said apparatus and system solve problem are implemented
The update method that charging regulation is implemented in update method then and packet gateway side is similar, therefore said apparatus and is
The implementation of system may refer to the implementation of method, repeats part and repeats no more.
As shown in figure 5, for a kind of charging regulation of external device side implementation provided in an embodiment of the present invention more
The structural representation of new equipment, including:
First matching times receiving unit 51, for receiving the configuration of at least one packet gateway transmission described
The first matching times of every charging regulation on packet gateway in predetermined period;
Newest matching times determining unit 52, for being received according to the first matching times receiving unit 51
The first matching times, every charging regulation of the configuration on external device in the predetermined period second
Every original match number of times of charging regulation in matching times, and the charging regulation complete or collected works for prestoring, really
Every newest matching times of charging regulation in the fixed charging regulation complete or collected works;
Updating block 53, for when the renewal for receiving the transmission of any one packet gateway is asked, according to institute
State every newest matching of charging regulation in the charging regulation complete or collected works that newest matching times determining unit 52 determines
Number of times, selection meets pre-conditioned charging regulation and is sent to described in transmission more from the charging regulation complete or collected works
The packet gateway of new request, to send the packet gateway for updating request according to the charging rule for receiving
Then, configured charging regulation is updated.
Wherein, described device also includes:
Second matching times determining unit 54, in the predetermined period, often receiving any one point
When the service feature data of the Operational Visit message for sending are closed in networking, the service feature data are existed with configuration
Every charging regulation on the external device is matched respectively, when the match is successful, the business is special
The matching times for levying the charging regulation of Data Matching plus 1;At the end of the predetermined period, will configure in institute
The current matching number of times for stating every charging regulation on external device is defined as the second matching times.
Wherein, included in the service feature data:Send the net of the packet gateway of the service feature data
Close mark;
Described device also includes:
First gateway identification determining unit 55, for when matching in the second matching times determining unit 54
During success, the gateway identification included in the service feature data is defined as the service feature Data Matching
The corresponding gateway identification of charging regulation;At the end of the predetermined period, it is determined that configuration is installed outward described
The standby upper corresponding gateway identification of every charging regulation;
Second gateway identification determining unit 56, receives described for the first matching times receiving unit 51
After first matching times, it is determined that sending the gateway identification of the packet gateway of first matching times, will send out
Send the gateway identification of the packet gateway of first matching times to be defined as configuration and send first matching
The corresponding gateway identification of every charging regulation on the packet gateway of number of times;
3rd gateway identification determining unit 57, for being determined according to the first gateway identification determining unit 55
Every charging regulation corresponding gateway identification and second gateway of the configuration for going out on the external device
Every meter of the configuration that mark determining unit 56 determines on the packet gateway for sending first matching times
Take regular corresponding gateway identification, determine in the charging regulation complete or collected works the corresponding gateway mark of every charging regulation
Know;Then
The updating block 53, specifically for:
When the renewal for receiving the transmission of any one packet gateway is asked, it is determined that sending the renewal request
The gateway identification of packet gateway;According to the charging rule that the 3rd gateway identification determining unit 57 determines
The then corresponding gateway identification of every charging regulation in complete or collected works, determine in the charging regulation complete or collected works with send described
Update the corresponding charging regulation of gateway identification of the packet gateway of request;Dividing for request is updated from transmission is described
In the corresponding charging regulation of gateway identification that networking is closed, selection meets pre-conditioned charging regulation and is sent to
Send the packet gateway for updating request.
Wherein, the updating block 53, specifically for:
When the renewal for receiving the transmission of any one packet gateway is asked, according in the charging regulation complete or collected works
Every newest matching times of charging regulation, choose newest matching times highest from the charging regulation complete or collected works
Specified number charging regulation, be sent to send it is described update request packet gateway.
Wherein, described device also includes:
Update instruction transmitting element 58, for when at least one of charging regulation complete or collected works charging regulation quilt
During deletion, more new logo is sent at least one packet gateway, to indicate to receive dividing for the more new logo
Networking is closed and sends the renewal request to the external device.
For convenience of description, above each several part is divided by function as each module (or unit) is described respectively.
Certainly, when the present invention is implemented can the function of each module (or unit) in same or multiple softwares or
Realized in hardware.
During specific implementation, the updating device of above-mentioned charging regulation can be arranged in external device.
As shown in fig. 6, for a kind of charging regulation of packet gateway side implementation provided in an embodiment of the present invention more
The structural representation of new equipment, including:
First matching times determining unit 61, for determining first charging rule of the configuration on the packet gateway
The first matching times of every charging regulation in predetermined period in then;
First matching times reporting unit 62, for determine the first matching times determining unit 61
First matching times report external device;
Request transmitting unit 63 is updated, for when the configuration for determining charging regulation needs to update, to described
External device sends and updates request;
Charging regulation receiving unit 64, for receiving what the external device fed back according to the renewal request
Charging regulation;
Updating block 65, for the charging regulation received according to the charging regulation receiving unit 64, to institute
The first charging regulation is stated to be updated.
Wherein, the first matching times determining unit 61, specifically for:
In the predetermined period, when often receiving the Operational Visit message of user equipment transmission, by the industry
Business accesses every charging regulation of the service feature data of message with configuration on the packet gateway and enters respectively
Row matching, when the match is successful, by the charging regulation of the service feature Data Matching of the Operational Visit message
Matching times add 1;At the end of the predetermined period, every meter on the packet gateway will be configured
The current matching number of times for taking rule is defined as the first matching times.
Wherein, described device also includes:
Determining unit 66 is updated, for when the more new logo that the external device sends is received, it is determined that meter
Taking the configuration of rule needs to update;Or when the update cycle for pre-setting is reached, determine charging regulation
Configuration needs to update.
For convenience of description, above each several part is divided by function as each module (or unit) is described respectively.
Certainly, when the present invention is implemented can the function of each module (or unit) in same or multiple softwares or
Realized in hardware.
During specific implementation, the updating device of above-mentioned charging regulation can be arranged in packet gateway.
As shown in fig. 7, the structural representation of the more new system for a kind of charging regulation provided in an embodiment of the present invention
Figure, including:One packet gateway 72 of external device 71 and at least one, wherein:
The external device 71, for receiving the configuration of the transmission of at least one packet gateway 72 in the packet
The first matching times of every charging regulation on gateway 72 in predetermined period;According to the described first matching
Second matching time of the every charging regulation of number of times, configuration on external device 71 in the predetermined period
Number, and every original match number of times of charging regulation in the charging regulation complete or collected works for prestoring, it is determined that described
Every newest matching times of charging regulation in charging regulation complete or collected works;When receiving any one packet gateway 72
When the renewal of transmission is asked, according to every newest matching times of charging regulation in the charging regulation complete or collected works,
Chosen from the charging regulation complete or collected works meet pre-conditioned charging regulation be sent to the transmission renewal please
The packet gateway 72 asked;
The packet gateway 72, in the first charging regulation of the determination configuration on the packet gateway 72
The first matching times of every charging regulation in predetermined period;First matching times are reported described
External device 71;When the configuration for determining charging regulation needs to update, sent to the external device 71
Update request;The external device 71 is received according to the charging regulation for updating request and feeding back;According to
The charging regulation of the feedback of the external device 71, is updated to first charging regulation.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or meter
Calculation machine program product.Therefore, the present invention can be using complete hardware embodiment, complete software embodiment or knot
Close the form of the embodiment in terms of software and hardware.And, the present invention can be used and wherein wrapped at one or more
Containing computer usable program code computer-usable storage medium (including but not limited to magnetic disk storage,
CD-ROM, optical memory etc.) on implement computer program product form.
The present invention is produced with reference to method according to embodiments of the present invention, equipment (system) and computer program
The flow chart and/or block diagram of product is described.It should be understood that can by computer program instructions realize flow chart and
/ or block diagram in each flow and/or the flow in square frame and flow chart and/or block diagram and/
Or the combination of square frame.These computer program instructions to all-purpose computer, special-purpose computer, insertion can be provided
The processor of formula processor or other programmable data processing devices is producing a machine so that by calculating
The instruction of the computing device of machine or other programmable data processing devices is produced for realizing in flow chart one
The device of the function of being specified in individual flow or multiple one square frame of flow and/or block diagram or multiple square frames.
These computer program instructions may be alternatively stored in can guide computer or the treatment of other programmable datas to set
In the standby computer-readable memory for working in a specific way so that storage is in the computer-readable memory
Instruction produce include the manufacture of command device, the command device realization in one flow of flow chart or multiple
The function of being specified in one square frame of flow and/or block diagram or multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices, made
Obtain and series of operation steps is performed on computer or other programmable devices to produce computer implemented place
Reason, so as to the instruction performed on computer or other programmable devices is provided for realizing in flow chart one
The step of function of being specified in flow or multiple one square frame of flow and/or block diagram or multiple square frames.
, but those skilled in the art once know base although preferred embodiments of the present invention have been described
This creative concept, then can make other change and modification to these embodiments.So, appended right will
Ask and be intended to be construed to include preferred embodiment and fall into having altered and changing for the scope of the invention.
Obviously, those skilled in the art can carry out various changes and modification without deviating from this hair to the present invention
Bright spirit and scope.So, if it is of the invention these modification and modification belong to the claims in the present invention and
Within the scope of its equivalent technologies, then the present invention is also intended to comprising these changes and modification.
Claims (17)
1. a kind of update method of charging regulation, it is characterised in that including:
Every charging regulation of the configuration of at least one packet gateway transmission on the packet gateway is received to exist
The first matching times in predetermined period;
According to the every charging regulation of first matching times, configuration on external device in the default week
Every original of charging regulation in the second matching times in phase, and the charging regulation complete or collected works for prestoring
With number of times, every newest matching times of charging regulation in the charging regulation complete or collected works are determined;
When the renewal for receiving the transmission of any one packet gateway is asked, according in the charging regulation complete or collected works
Every newest matching times of charging regulation, choose from the charging regulation complete or collected works and meet pre-conditioned meter
Expense rule is sent to and sends the packet gateway for updating request, to send the packet net for updating request
Close according to the charging regulation for receiving, configured charging regulation is updated.
2. the method for claim 1, it is characterised in that second matching times are according to as follows
Mode determines:
In the predetermined period, the industry of the Operational Visit message of any one packet gateway transmission is often received
During business characteristic, every charging regulation by the service feature data with configuration on the external device
Matched respectively, when the match is successful, by the matching of the charging regulation of the service feature Data Matching time
Number Jia 1;At the end of the predetermined period, every charging regulation on the external device will be configured
Current matching number of times is defined as the second matching times.
3. method as claimed in claim 2, it is characterised in that included in the service feature data:
Send the gateway identification of the packet gateway of the service feature data;
When the match is successful, methods described also includes:
The gateway identification included in the service feature data is defined as the service feature Data Matching
The corresponding gateway identification of charging regulation;
At the end of the predetermined period, it is determined that every charging regulation correspondence of the configuration on the external device
Gateway identification;And
Receive after first matching times, methods described also includes:
It is determined that sending the gateway identification of the packet gateway of first matching times, first matching will be sent
The gateway identification of the packet gateway of number of times is defined as configuration and is sending the packet gateway of first matching times
On the corresponding gateway identification of every charging regulation;
The corresponding gateway identification of every charging regulation according to the configuration determined on the external device and
The corresponding gateway identification of every charging regulation on the packet gateway for sending first matching times is configured,
Determine in the charging regulation complete or collected works the corresponding gateway identification of every charging regulation;Then
When the renewal for receiving the transmission of any one packet gateway is asked, according in the charging regulation complete or collected works
Every newest matching times of charging regulation, choose from the charging regulation complete or collected works and meet pre-conditioned meter
Expense rule is sent to and sends the packet gateway for updating request, specifically includes:
When the renewal for receiving the transmission of any one packet gateway is asked, it is determined that sending the renewal request
The gateway identification of packet gateway;
According to the corresponding gateway identification of every charging regulation in the charging regulation complete or collected works, the charging rule are determined
Then in complete or collected works with the corresponding charging regulation of gateway identification for sending the packet gateway for updating request;
From charging regulation corresponding with the gateway identification for sending the packet gateway for updating request, choose full
The pre-conditioned charging regulation of foot is sent to and sends the packet gateway for updating request.
4. the method for claim 1, it is characterised in that when receiving any one packet gateway
When the renewal of transmission is asked, according to every newest matching times of charging regulation in the charging regulation complete or collected works,
Chosen from the charging regulation complete or collected works meet pre-conditioned charging regulation be sent to the transmission renewal please
The packet gateway asked, specifically includes:
When the renewal for receiving the transmission of any one packet gateway is asked, according in the charging regulation complete or collected works
Every newest matching times of charging regulation, choose newest matching times highest from the charging regulation complete or collected works
Specified number charging regulation, be sent to send it is described update request packet gateway.
5. the method for claim 1, it is characterised in that receiving any one packet gateway
Before the renewal request of transmission, methods described also includes:
When at least one of charging regulation complete or collected works charging regulation is deleted, at least one packet net
Close and send more new logo, to indicate the packet gateway for receiving the more new logo to be sent to the external device
It is described to update request.
6. a kind of update method of charging regulation, it is characterised in that including:
It is determined that every charging regulation is in predetermined period in the first charging regulation of the configuration on the packet gateway
The first interior matching times;
First matching times are reported into external device;
When the configuration for determining charging regulation needs to update, sent to the external device and update request;
The external device is received according to the charging regulation for updating request and feeding back;
According to the charging regulation that the external device feeds back, first charging regulation is updated.
7. method as claimed in claim 6, it is characterised in that it is determined that configuration is on the packet gateway
The first charging regulation in the first matching times of every charging regulation in predetermined period, specifically include:
In the predetermined period, when often receiving the Operational Visit message of user equipment transmission, by the industry
Business accesses every charging regulation of the service feature data of message with configuration on the packet gateway and enters respectively
Row matching, when the match is successful, by the charging regulation of the service feature Data Matching of the Operational Visit message
Matching times add 1;At the end of the predetermined period, every meter on the packet gateway will be configured
The current matching number of times for taking rule is defined as the first matching times.
8. method as claimed in claim 6, it is characterised in that determining the configuration of charging regulation needs more
Newly, specifically include:
When the more new logo that the external device sends is received, determining the configuration of charging regulation needs more
Newly;Or
When the update cycle for pre-setting is reached, determine that the configuration of charging regulation needs to update.
9. a kind of updating device of charging regulation, it is characterised in that including:
First matching times receiving unit, for receiving the configuration of at least one packet gateway transmission at described point
First matching times of the every charging regulation that networking is shut in predetermined period;
Newest matching times determining unit, for received according to the first matching times receiving unit first
Second matching time of the every charging regulation of matching times, configuration on external device in the predetermined period
Number, and every original match number of times of charging regulation in the charging regulation complete or collected works for prestoring, it is determined that described
Every newest matching times of charging regulation in charging regulation complete or collected works;
Updating block, for when the renewal for receiving the transmission of any one packet gateway is asked, according to described
Every newest matching times of charging regulation in the charging regulation complete or collected works that newest matching times determining unit determines,
Chosen from the charging regulation complete or collected works meet pre-conditioned charging regulation be sent to the transmission renewal please
The packet gateway asked, it is right to send the packet gateway for updating request according to the charging regulation for receiving
Configured charging regulation is updated.
10. device as claimed in claim 9, it is characterised in that described device also includes:
Second matching times determining unit, in the predetermined period, often receiving any one packet
During the service feature data of the Operational Visit message that gateway sends, by the service feature data with configuration in institute
The every charging regulation stated on external device is matched respectively, when the match is successful, by the service feature
The matching times of the charging regulation of Data Matching add 1;At the end of the predetermined period, will configure described
The current matching number of times of every charging regulation on external device is defined as the second matching times.
11. devices as claimed in claim 10, it is characterised in that included in the service feature data:
Send the gateway identification of the packet gateway of the service feature data;
Described device also includes:
First gateway identification determining unit, for when the match is successful in the second matching times determining unit
When, the gateway identification included in the service feature data is defined as the meter of the service feature Data Matching
Take regular corresponding gateway identification;At the end of the predetermined period, it is determined that configuration is on the external device
The corresponding gateway identification of every charging regulation;
Second gateway identification determining unit, receives described first for the first matching times receiving unit
After with number of times, it is determined that the gateway identification of the packet gateway of first matching times is sent, it is described by sending
The gateway identification of the packet gateway of the first matching times is defined as configuration and is sending first matching times
The corresponding gateway identification of every charging regulation on packet gateway;
3rd gateway identification determining unit, for matching somebody with somebody for being determined according to the first gateway identification determining unit
The corresponding gateway identification of every charging regulation and second gateway identification put on the external device are true
Every charging regulation pair of the configuration that order unit determines on the packet gateway for sending first matching times
The gateway identification answered, determines in the charging regulation complete or collected works the corresponding gateway identification of every charging regulation;Then
The updating block, specifically for:
When the renewal for receiving the transmission of any one packet gateway is asked, it is determined that sending the renewal request
The gateway identification of packet gateway;It is complete according to the charging regulation that the 3rd gateway identification determining unit determines
Concentrate the corresponding gateway identification of every charging regulation, determine in the charging regulation complete or collected works with send the renewal
The corresponding charging regulation of gateway identification of the packet gateway of request;From the packet net with the transmission renewal request
In the corresponding charging regulation of gateway identification of pass, selection meets pre-conditioned charging regulation and is sent to transmission institute
State the packet gateway for updating request.
12. devices as claimed in claim 9, it is characterised in that the updating block, specifically for:
When the renewal for receiving the transmission of any one packet gateway is asked, according in the charging regulation complete or collected works
Every newest matching times of charging regulation, choose newest matching times highest from the charging regulation complete or collected works
Specified number charging regulation, be sent to send it is described update request packet gateway.
13. devices as claimed in claim 9, it is characterised in that described device also includes:
Update instruction transmitting element, for being deleted when at least one of charging regulation complete or collected works charging regulation
Except when, more new logo is sent at least one packet gateway, to indicate to receive the packet of the more new logo
Gateway sends described renewal and asks to the external device.
A kind of 14. updating devices of charging regulation, it is characterised in that including:
First matching times determining unit, for determining first charging regulation of the configuration on the packet gateway
In the first matching times of every charging regulation in predetermined period;
First matching times reporting unit, for first that determines the first matching times determining unit
External device is reported with number of times;
Request transmitting unit is updated, for when the configuration for determining charging regulation needs to update, to described outer
Installing preparation send renewal to ask;
Charging regulation receiving unit, by receive the external device according to it is described update request and feed back based on
Take rule;
Updating block, for the charging regulation received according to the charging regulation receiving unit, to described first
Charging regulation is updated.
15. devices as claimed in claim 14, it is characterised in that first matching times determine single
Unit, specifically for:
In the predetermined period, when often receiving the Operational Visit message of user equipment transmission, by the industry
Business accesses every charging regulation of the service feature data of message with configuration on the packet gateway and enters respectively
Row matching, when the match is successful, by the charging regulation of the service feature Data Matching of the Operational Visit message
Matching times add 1;At the end of the predetermined period, every meter on the packet gateway will be configured
The current matching number of times for taking rule is defined as the first matching times.
16. devices as claimed in claim 14, it is characterised in that described device also includes:
Determining unit is updated, for when the more new logo that the external device sends is received, determining charging
The configuration of rule needs to update;Or when the update cycle for pre-setting is reached, determine matching somebody with somebody for charging regulation
Putting needs to update.
The more new system of 17. a kind of charging regulations, it is characterised in that including an external device and at least
Individual packet gateway, wherein:
The external device, for receiving the configuration of at least one packet gateway transmission in the packet gateway
First matching times of the every charging regulation in predetermined period;According to first matching times, configuration
The second matching times of every charging regulation on external device in the predetermined period, and deposit in advance
Every original match number of times of charging regulation in the charging regulation complete or collected works of storage, in determining the charging regulation complete or collected works
Every newest matching times of charging regulation;When the renewal request for receiving the transmission of any one packet gateway
When, according to every newest matching times of charging regulation in the charging regulation complete or collected works, from the charging regulation
Chosen in complete or collected works and meet the packet gateway that pre-conditioned charging regulation is sent to the transmission renewal request;
The packet gateway, in determining first charging regulation of the configuration on the packet gateway based on every
Take first matching times of the rule in predetermined period;First matching times are reported and is installed outside described
It is standby;When the configuration for determining charging regulation needs to update, sent to the external device and update request;Connect
The external device is received according to the charging regulation for updating request and feeding back;Fed back according to the external device
Charging regulation, first charging regulation is updated.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510451171.0A CN106712972B (en) | 2015-07-28 | 2015-07-28 | charging rule updating method, device and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510451171.0A CN106712972B (en) | 2015-07-28 | 2015-07-28 | charging rule updating method, device and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106712972A true CN106712972A (en) | 2017-05-24 |
CN106712972B CN106712972B (en) | 2019-12-13 |
Family
ID=58900587
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510451171.0A Active CN106712972B (en) | 2015-07-28 | 2015-07-28 | charging rule updating method, device and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106712972B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108429866A (en) * | 2018-01-31 | 2018-08-21 | 新华三技术有限公司 | Charging message processing method, device and the network equipment |
CN109309907A (en) * | 2017-07-27 | 2019-02-05 | 中兴通讯股份有限公司 | Method, apparatus and its relevant device for charge on traffic |
CN110324153A (en) * | 2018-03-30 | 2019-10-11 | 华为技术有限公司 | Charging method and system |
CN110716794A (en) * | 2019-10-14 | 2020-01-21 | 网银在线(北京)科技有限公司 | Information processing method, device, system and readable storage medium |
CN113139802A (en) * | 2020-01-16 | 2021-07-20 | 中国移动通信集团山东有限公司 | Content charging rule scheduling method, device, storage medium and computer equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103188759A (en) * | 2011-12-31 | 2013-07-03 | 华为技术有限公司 | Method of selection of load bearing modes, grouping gateway and functional entity of strategy and charging control |
US20140204796A1 (en) * | 2013-01-24 | 2014-07-24 | Tekelec, Inc. | Methods, systems, and computer readable media for using policy knowledge of or obtained by a policy and charging rules function (pcrf) for needs based forwarding of bearer session traffic to network nodes |
CN104754504A (en) * | 2013-12-27 | 2015-07-01 | 华为技术有限公司 | Method and equipment for subscribing terminal equipment position information |
-
2015
- 2015-07-28 CN CN201510451171.0A patent/CN106712972B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103188759A (en) * | 2011-12-31 | 2013-07-03 | 华为技术有限公司 | Method of selection of load bearing modes, grouping gateway and functional entity of strategy and charging control |
US20140204796A1 (en) * | 2013-01-24 | 2014-07-24 | Tekelec, Inc. | Methods, systems, and computer readable media for using policy knowledge of or obtained by a policy and charging rules function (pcrf) for needs based forwarding of bearer session traffic to network nodes |
CN104754504A (en) * | 2013-12-27 | 2015-07-01 | 华为技术有限公司 | Method and equipment for subscribing terminal equipment position information |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109309907A (en) * | 2017-07-27 | 2019-02-05 | 中兴通讯股份有限公司 | Method, apparatus and its relevant device for charge on traffic |
CN109309907B (en) * | 2017-07-27 | 2021-08-06 | 中兴通讯股份有限公司 | Method and device for charging flow and related equipment |
CN108429866A (en) * | 2018-01-31 | 2018-08-21 | 新华三技术有限公司 | Charging message processing method, device and the network equipment |
CN108429866B (en) * | 2018-01-31 | 2020-08-14 | 新华三技术有限公司 | Charging message processing method, device and network equipment |
CN110324153A (en) * | 2018-03-30 | 2019-10-11 | 华为技术有限公司 | Charging method and system |
CN110324153B (en) * | 2018-03-30 | 2021-02-26 | 华为技术有限公司 | Charging method and system |
CN110716794A (en) * | 2019-10-14 | 2020-01-21 | 网银在线(北京)科技有限公司 | Information processing method, device, system and readable storage medium |
CN110716794B (en) * | 2019-10-14 | 2020-09-29 | 网银在线(北京)科技有限公司 | Information processing method, device, system and readable storage medium |
CN113139802A (en) * | 2020-01-16 | 2021-07-20 | 中国移动通信集团山东有限公司 | Content charging rule scheduling method, device, storage medium and computer equipment |
CN113139802B (en) * | 2020-01-16 | 2022-12-09 | 中国移动通信集团山东有限公司 | Content charging rule scheduling method, device, storage medium and computer equipment |
Also Published As
Publication number | Publication date |
---|---|
CN106712972B (en) | 2019-12-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106712972A (en) | Charging rule updating method, device and system | |
US8180333B1 (en) | Differential routing of communication-usage records | |
CN104255046B (en) | The method of customized mobile broadband network system and customization mobile broadband network | |
CN103888928B (en) | Business strategy control method and system | |
CN107646197A (en) | Small data use in 3GPP networks allows to | |
WO2015188487A1 (en) | Service providing method, device and system | |
CN108028780A (en) | method and apparatus for data analysis management | |
US9998913B2 (en) | Management method and management server for using SIM cards | |
CN107003983A (en) | Configuration network | |
CN105072172A (en) | Content delivery network based hot spot statistic and pushing method and system | |
CN102868988B (en) | Based on the method for processing business of policy and charging control and system in wireless network | |
CN102917042A (en) | Method and device for realizing internet services based on convergence of CDN (content distribution network) and network | |
CN105072151A (en) | Content collaborative scheduling method and system for CDN | |
CN103310087A (en) | Service data statistic analysis method and device | |
JP2022022229A (en) | Method and apparatus for online charging information exchange | |
CN106412043B (en) | CDN network flow bootstrap technique and device | |
CN102594578B (en) | The processing method of information transmission service, device and system | |
CN101959304B (en) | Method for scheduling wireless access protocol (WAP) gateway resources and associated equipment | |
CN105824919B (en) | A kind of dynamic adjusting method and device of data query operation price | |
CN102860051B (en) | A kind of service billing control method and relevant device | |
CN107248959B (en) | Flow optimization method and device | |
CN105791247A (en) | Unified traffic payment business implementation method and associated equipment and system | |
CN103188278B (en) | Method and system for content data distribution | |
JP2004140486A (en) | User on-demand type telecommunication control system | |
CN101442733A (en) | Processing method, apparatus and system for charging communication network |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |