CN107786956B - Method and device for determining real-time priority of package - Google Patents

Method and device for determining real-time priority of package Download PDF

Info

Publication number
CN107786956B
CN107786956B CN201610764211.1A CN201610764211A CN107786956B CN 107786956 B CN107786956 B CN 107786956B CN 201610764211 A CN201610764211 A CN 201610764211A CN 107786956 B CN107786956 B CN 107786956B
Authority
CN
China
Prior art keywords
package
priority
service
effective
determining
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.)
Active
Application number
CN201610764211.1A
Other languages
Chinese (zh)
Other versions
CN107786956A (en
Inventor
杨睿
赵磊
姜超
储贤民
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile Group Anhui Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Group Anhui Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, China Mobile Group Anhui Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201610764211.1A priority Critical patent/CN107786956B/en
Publication of CN107786956A publication Critical patent/CN107786956A/en
Application granted granted Critical
Publication of CN107786956B publication Critical patent/CN107786956B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/24Accounting or billing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
    • H04M15/80Rating or billing plans; Tariff determination aspects

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Telephonic Communication Services (AREA)
  • Medical Treatment And Welfare Office Work (AREA)

Abstract

The invention discloses a method for determining the real-time priority of a package, which comprises the steps of reading an effective package, and determining a static priority parameter of the effective package according to the effective package; determining that the service state of the package in effect is changed, reading a service scene of the package in effect after the service state is changed, and determining the dynamic priority parameter of the package in effect according to the package in effect and the service scene of the package in effect after the service state is changed; and determining the real-time priority parameter of the effective package according to the static priority parameter of the effective package and the dynamic priority parameter of the effective package. The invention also discloses a device for determining the real-time priority of the package.

Description

Method and device for determining real-time priority of package
Technical Field
The invention relates to the technical field of business support, in particular to a method and a device for determining real-time priority of a package.
Background
With the popularization of 4G services, traffic management becomes an important driving force for the transformation of communication operators, and the telecommunication market has been transformed from a voice era mainly involving traditional voice services to a data era mainly involving data services. The new demand of users for traffic usage makes operators need to adopt multiple traffic management modes. The package is also a serious challenge to be used as a basis for the traditional billing mode of the operator. Diversified service modes require flexible charging support, and dynamic adjustment of a charging package priority policy needs to be realized according to change of service scenes, which is exemplified as follows:
the user subscribes A, B to two packages, the packages being configured with priority a > B, the business rules specifying: (1) a, B the flow of each package can be zero-cleared, that is, the flow in this month can be continued to be used in the next month when the flow is not used; (2) if the user changes the package, the unused flow of the changed package in the month can not be delayed; (3) from the perspective most beneficial to users, the charging should preferentially use the non-deferrable flow package for charging preferential, and then use the deferrable flow package for charging preferential; (4) when the user is in an abnormal state, such as pre-sale, stop, and user passing, the flow of the package ordered by the user cannot be delayed.
In this demand scenario, since the scenario relates to whether the package is changed or not and the scenario relates to whether the user status is normal or not, different combinations of dynamic changes of the priority of the package to be charged under certain service rules shown in table 1 below are obtained according to the above rules. It should be noted that, the scenarios in table 1 below are only one corner of iceberg required for dynamically adjusting the package priority after the service modes are diversified, and even then, the scenarios become complicated after all the service scenarios are exhausted.
Figure GDA0002921934520000021
TABLE 1
The prior art scheme is as follows: configuring a fixed priority sequence for various charging packages, such as A > B > C, reading priority parameters of packages when processing charging call tickets of users, sequencing according to the priority parameters, realizing sequential pricing according to the sequence from high to low of the priority until free resources in all packages are completely deducted, and then performing external-package cost pricing according to an optimal cost principle. Meanwhile, for some packages that need not follow the configured priority (e.g., shared packages, etc.), the package is logically specially processed by the program to implement the special priority processing of the package.
The charging priority order of the prior art scheme depends on the priority parameter of the charging package, and when the charging package configuration is completed, the priority order of the package (i.e. the preferential order of the charging preferential resources) is determined. With the development of services, different users subscribe to the same package, and the priority of the package can be dynamically adjusted along with the service use behaviors of different users. The service usage behavior mentioned here includes, but is not limited to, the above mentioned package change, user status change, etc., and also includes the usage amount of resources in the user package, the usage amount of network bandwidth of the user, etc., and these involved dimensions are determined by the service requirement.
The prior art scheme has the following defects: on one hand, in the prior art, only by the static priority parameter configured by the package, the service requirements of different priorities represented by the same package under various service scenes cannot be met; on the other hand, in the face of more and more complex business models, the elements related to the package priority are more and more, and the logic processing of the charging system is difficult to continue, so that unnecessary performance burden and difficulty in program development are brought to the charging system.
Disclosure of Invention
In view of this, embodiments of the present invention are expected to provide a method and an apparatus for determining a package real-time priority, so as to implement automatic adjustment of the package priority under different service conditions.
In order to achieve the purpose, the technical scheme of the invention is realized as follows:
the embodiment of the invention provides a method for determining real-time priority of a package, which comprises the following steps:
reading an effective package, and determining a static priority parameter of the effective package according to the effective package;
determining that the service state of the package in effect is changed, reading the service scene of the package in effect after the service state is changed, and converting the service scene of the package in effect after the service state is changed into a priority type string;
determining the package type of the package which takes effect, traversing a priority strategy configuration matrix according to the priority type string and the package type of the package which takes effect, and determining the dynamic priority parameter of the package which takes effect;
determining the real-time priority parameter of the effective package according to the static priority parameter of the effective package and the dynamic priority parameter of the effective package; the priority strategy configuration matrix comprises dynamic priority parameters of different package types under different service scenes; the priority type string is used for describing a set of application scenes, and the application scenes at least comprise package change scenes, user state scenes and scenes of various service changes.
In the foregoing solution, the determining the dynamic priority parameter of the effective package according to the effective package and the service scenario after the service status change of the effective package includes:
judging whether the service scene of the package with the changed service state belongs to the service scene included in the priority strategy configuration matrix or not, and determining the dynamic priority parameter of the package with the changed service state as a parameter set value if the service scene does not belong to the service scene included in the priority strategy configuration matrix;
and when the package belongs to the service scene included in the priority strategy configuration matrix, determining the dynamic priority parameter of the effective package from the priority strategy configuration matrix according to the effective package and the service scene after the service state of the effective package is changed.
In the foregoing solution, the determining the dynamic priority parameter of the effective package from the priority policy configuration matrix according to the effective package and the service scenario after the service state change of the effective package includes:
reading the service scene of the package with the changed service state, and converting the service scene of the package with the changed service state into a priority type string;
determining the package type of the package which takes effect, traversing a priority strategy configuration matrix according to the priority type string and the package type of the package which takes effect, and obtaining the dynamic priority parameter of the package which takes effect.
In the above scheme, the priority policy configuration matrix is a two-dimensional matrix including a service scene and a package type;
the priority strategy configuration matrix comprises dynamic priority parameters of different package types under different service scenes.
In the foregoing solution, the determining the real-time priority parameter of the effective package according to the static priority parameter of the effective package and the dynamic priority parameter of the effective package includes:
and adding the static priority parameter of the effective package and the dynamic priority parameter of the effective package to obtain the real-time priority parameter of the effective package.
The embodiment of the invention provides a device for determining real-time priority of a package, which comprises: the device comprises a static priority determining module, a dynamic priority determining module and a real-time priority determining module; wherein the content of the first and second substances,
the static priority determining module is used for reading an effective package and determining a static priority parameter of the effective package according to the effective package;
the dynamic priority determining module is used for determining that the service state of the package in effect is changed, reading the service scene of the package in effect after the service state is changed, and converting the service scene of the package in effect after the service state is changed into a priority type string;
determining the package type of the package which takes effect, traversing a priority strategy configuration matrix according to the priority type string and the package type of the package which takes effect, and determining the dynamic priority parameter of the package which takes effect;
the real-time priority determining module is used for determining the real-time priority parameter of the effective package according to the static priority parameter of the effective package and the dynamic priority parameter of the effective package; the priority strategy configuration matrix comprises dynamic priority parameters of different package types under different service scenes; the priority type string is used for describing a set of application scenes, and the application scenes at least comprise package change scenes, user state scenes and scenes of various service changes.
In the foregoing solution, the dynamic priority determining module is specifically configured to: judging whether the service scene of the package with the changed service state belongs to a service scene included in a priority strategy configuration matrix or not, and if not, determining that the dynamic priority parameter of the package with the changed service state is a parameter set value;
and when the package belongs to the service scene included in the priority strategy configuration matrix, determining the dynamic priority parameter of the effective package from the priority strategy configuration matrix according to the effective package and the service scene.
In the foregoing solution, the dynamic priority determining module is specifically configured to: reading the service scene of the package with the changed service state, and converting the service scene of the package with the changed service state into a priority type string;
determining the package type of the package which takes effect, traversing a priority strategy configuration matrix according to the priority type string and the package type of the package which takes effect, and obtaining the dynamic priority parameter of the package which takes effect.
In the above scheme, the priority policy configuration matrix is a two-dimensional matrix including a service scene and a package type;
the priority strategy configuration matrix comprises dynamic priority parameters of different package types under different service scenes.
In the foregoing solution, the real-time priority determining module is specifically configured to: and adding the static priority parameter of the effective package and the dynamic priority parameter of the effective package to obtain the real-time priority parameter of the effective package.
Compared with the prior art, the method and the device for determining the real-time priority of the package, provided by the invention, have the advantages that the package which takes effect is read, and the static priority parameter of the package which takes effect is determined according to the package which takes effect; determining that the service state of the package in effect is changed, reading the service scene of the package in effect after the service state is changed, and converting the service scene of the package in effect after the service state is changed into a priority type string; determining the package type of the package which takes effect, traversing a priority strategy configuration matrix according to the priority type string and the package type of the package which takes effect, and determining the dynamic priority parameter of the package which takes effect; determining the real-time priority parameter of the effective package according to the static priority parameter of the effective package and the dynamic priority parameter of the effective package; the priority strategy configuration matrix comprises dynamic priority parameters of different package types under different service scenes; the priority type string is used for describing a set of application scenes, and the application scenes at least comprise package change scenes, user state scenes and scenes of various service changes. The method and the device provided by the embodiment of the invention calculate the dynamic priority in real time according to the service using behavior of the user and the mapping strategy of the service scene-dynamic priority parameter, superpose the dynamic priority parameter and the static priority parameter, and determine the real-time priority of the package when the ticket is charged, thereby realizing the automatic adjustment of the package priority under different service conditions.
Drawings
Fig. 1 is a schematic flow chart of a method for determining a real-time priority of a package according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a call ticket calculation method using a package real-time priority determination method according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a device for determining a package real-time priority according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a system for determining real-time priority of packages according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a charging system of the package real-time priority-based determination system according to the embodiment of the present invention;
fig. 6 is a flowchart illustrating a method for determining dynamic priority according to an embodiment of the present invention.
Detailed Description
In the embodiment of the invention, an effective package is read, and the static priority parameter of the effective package is determined according to the effective package; determining that the service state of the package in effect is changed, reading the service scene of the package in effect after the service state is changed, and converting the service scene of the package in effect after the service state is changed into a priority type string; determining the package type of the package which takes effect, traversing a priority strategy configuration matrix according to the priority type string and the package type of the package which takes effect, and determining the dynamic priority parameter of the package which takes effect; determining the real-time priority parameter of the effective package according to the static priority parameter of the effective package and the dynamic priority parameter of the effective package; the priority strategy configuration matrix comprises dynamic priority parameters of different package types under different service scenes; the priority type string is used for describing a set of application scenes, and the application scenes at least comprise package change scenes, user state scenes and scenes of various service changes.
The present invention will be described in further detail with reference to examples.
As shown in fig. 1, a schematic flow chart of a method for determining a real-time priority of a package according to an embodiment of the present invention is provided; the method comprises the following steps:
step 101: reading an effective package, and determining a static priority parameter of the effective package according to the effective package;
step 102: determining that the service state of the package in effect is changed, reading the service scene of the package in effect after the service state is changed, and converting the service scene of the package in effect after the service state is changed into a priority type string; determining the package type of the package which takes effect, traversing a priority strategy configuration matrix according to the priority type string and the package type of the package which takes effect, and determining the dynamic priority parameter of the package which takes effect; the priority strategy configuration matrix comprises dynamic priority parameters of different package types under different service scenes; the priority type string is used for describing a set of application scenes, and the application scenes at least comprise package change scenes, user state scenes and scenes of various service changes.
Step 103: and determining the real-time priority parameter of the effective package according to the static priority parameter of the effective package and the dynamic priority parameter of the effective package.
Specifically, before step 101, the method further includes:
the charging system reads the charging ticket and activates the package real-time priority adjustment mode;
the charging system reads the conversation starting time from the charging ticket; and the conversation starting time represents the starting time of generating a bill and recording the bill in the charging bill by the user.
Step 101, reading an effective package, and determining a static priority parameter of the effective package according to the effective package, specifically comprising: the charging system reads the effective package of the user after the beginning time of the call; and according to the effective package, the charging system reads the static priority parameter of the effective package from a package office data system.
After the charging system reads the charging ticket, the charging system starts to calculate the real-time priority parameter;
calculating the real-time priority parameter includes: and determining a static priority parameter, calculating a dynamic priority parameter, and determining a real-time priority parameter according to the static priority parameter and the dynamic priority parameter.
The information of the charging ticket, the effective package and the like is stored in a package office data system, in practical application, the charging system firstly needs to determine the effective package of the user in the process of calculating the real-time priority parameter of the effective package, and the charging system can read the information of the effective package and the like of the user from the package office data system.
The package bureau data system is used for storing bureau data, and the bureau data is data required by a switch in a mobile network to finish mobile communication. The office data specifically comprises: cellular radio network management data, billing management data, session-related data (e.g., traffic routing data, etc.), signaling-related data (e.g., signaling routing data, etc.), etc.
Wherein the charging management data includes a package priority parameter, and the package priority parameter includes: a static priority parameter and a dynamic priority parameter.
And the static priority parameters are configured by the static data configuration system according to a static priority configuration principle and are stored in the package bureau data system. The static priority configuration principle is generally: the preferential range is from small to large, the preferential period is from short to long, the corresponding static priority parameter is from large to small, and the specific numerical value is set by an operator according to the specific service type. The static priority configuration principle may be different for different operators, and is not specifically limited and described herein.
The static priority parameter specifies the priority order of each package when no service scene is triggered. For example: flow package priority, when the flow use range is arranged from small to large: the idle package priority > provincial package priority > domestic package priority.
The no-service scenario trigger represents: the method for the effective package of the user not to generate the service state change comprises the following steps: the service scene is not changed, and the user state is processed to be in a normal state, namely, the user state is not pre-sold, not stopped, not passed through the house and the like.
Specifically, step 102, the charging system determines whether the service state of the package in effect is changed, determines that the service state of the package in effect is not changed, and determines that the dynamic priority parameter of the package in effect is a parameter setting value; and judging that the service state of the effective package is changed, reading the service scene of the effective package after the service state is changed, and determining the dynamic priority parameter of the effective package according to the effective package and the service scene of the effective package after the service state is changed. The parameter setting value may be specifically 0.
Here, the service state change data is generally stored in the service scene synchronization module, and the charging system acquires the service state change data and determines whether the service state change occurs in the effective package according to the service state change data.
In step 102, the charging system reads a service scene of an effective package after the service state is changed, and determines a dynamic priority parameter of the effective package according to the effective package and the service scene of the effective package after the service state is changed, including:
reading the service scene of the package which takes effect after the service state is changed, judging whether the service scene of the package which takes effect after the service state is changed belongs to the service scene included in a priority strategy configuration matrix or not, and determining the dynamic priority parameter of the package which takes effect from the priority strategy configuration matrix according to the package which takes effect and the service scene; and if the dynamic priority parameter does not belong to the service scene included in the priority strategy configuration matrix, determining the dynamic priority parameter of the effective package as a parameter set value.
Here, the service scenario represents a service state of a certain meal, such as no change, unsubscription, failure, network speed increase, network speed decrease, and the like.
The charging system determines the dynamic priority parameter of the effective package from a priority strategy configuration matrix according to the effective package and the service scene; the method specifically comprises the following steps:
the charging system reads the service scene of the package which takes effect after the service state change from the package office data system, and converts the service scene into a priority type string;
determining the package type of the package which takes effect, traversing a priority strategy configuration matrix according to the priority type string and the package type of the package which takes effect, reading a dynamic priority parameter from the priority strategy configuration matrix, taking the obtained dynamic priority parameter as the dynamic priority parameter of the package which takes effect, and determining the dynamic priority parameter as a parameter set value when the result of the dynamic priority parameter is not read from the priority strategy configuration matrix.
In the embodiment of the invention, when the service state of the effective package is not changed, or the service state of the effective package is changed, but the dynamic priority parameter corresponding to the effective package and the service scene cannot be read from the priority strategy configuration matrix, the dynamic priority parameter is determined to be a parameter set value. The parameter set value is 0.
The method for determining the real-time priority of the package provided by the embodiment of the invention further comprises the following steps: and the dynamic data configuration system constructs a priority strategy configuration matrix and stores the priority strategy configuration matrix in a data system of the dining bureau.
The dynamic data configuration system constructs a priority policy configuration matrix, and specifically comprises the following steps: the dynamic data configuration system acquires the service scene and package type of each package;
the dynamic data configuration system cross-combines the service scenes and the package types to obtain two-dimensional matrixes of packages of different types under different service scene sets;
and the dynamic data configuration system sets a dynamic priority parameter for each element of the two-dimensional matrix, and obtains and stores a priority strategy configuration matrix.
Here, the dynamic data configuration system sets a dynamic priority parameter for each element of the two-dimensional matrix according to the dynamic priority parameter set by the operator, and the principle of setting the dynamic priority parameter is different, and the specific value of the dynamic priority parameter is also different.
The priority strategy configuration matrix is a two-dimensional matrix and consists of package types and service scenes, and correspondingly contained data represent dynamic priority parameters. Namely, the priority strategy configuration matrix is a two-dimensional matrix comprising a service scene and a package type; the priority strategy configuration matrix comprises dynamic priority parameters of different package types under different service scenes.
The service scenario is a set of a series of scenarios, and the scenarios include: a package change scene, a user state scene and a scene of each service change;
the package change scenario may include: no change, unsubscribe, failure;
the user state scenario may include: no change, passing home, stopping and pre-selling.
The dynamic priority parameter represents the priority strategy of different package types under different service scenes. The service scenario is a set of a series of scenario descriptions, and is represented by a Priority Type String (PTS).
Figure GDA0002921934520000101
Figure GDA0002921934520000111
TABLE 2
As shown in Table 2, eachDynamic priority parameter P of package type under different service scenesij=[X1,X2…Xi]T·[Y1,Y2…Yj];
Wherein, XiThe service type can be represented as a monthly package, a delay-to-carry package, a season package, a leisure package and the like according to the service requirement; y isjFor a service scenario, it can be represented as a string of PTS according to service requirements, and for a feature value combination of the service scenario, the combination of PTS feature values is illustrated below with reference to table 3:
set meal change scene User status scenario Network speed bandwidth change scenario ……
0-no change 0-no change 0-no change ……
1-Change 1-passing home 1-wire speed up ……
2-unsubscribe 2-shutdown 2-reduction of net speed ……
3-failure of 3-preliminary pinning …… ……
…… …… …… ……
TABLE 3
It should be noted that the service scenario YjActually represents a collection of application scenarios, such as: with reference to table 3, the PTS is a three-digit number, and each bit of data corresponds to a package change scenario, a user state scenario, and a scenario of each service change (e.g., a network speed bandwidth change scenario).
For example: the PTS is 000, which shows that the user has no related service change, the PTS is 020, which shows that the user is in a shutdown state, and the PTS is 120, which shows that the user has performed package change and is in a shutdown state; by analogy, various complex service scene sets can be expressed through the combination of PTS. The meaning of the PTS values in the above package scene change is only explained here, and therefore the contents indicated by the ellipses are not considered and are not further explained.
Through the above embodiments, it can be seen that, under the condition that the user has no service state change, the initial values of the PTSs of all users are [0, 0, 0 … … ], and if the service state of the user changes, the vector value corresponding to the PTS of the user changes correspondingly.
Meanwhile, the PTS characteristic value adopts a return-to-zero mechanism to realize the restoration default of the full PTS characteristic value under the triggering of some service scenes, such as: and restoring the PTS characteristic value of the complete user identification package change behavior to a default value of 0 at the beginning of each month.
Dynamic data configuration systemFormula (II): pij=[X1,X2…Xi]T·[Y1,Y2…Yj]Establishing a two-dimensional priority strategy matrix of different types of packages under different service scenes, and setting a dynamic priority parameter for each element of the two-dimensional matrix.
Specifically, in step 103, the charging system reads the static priority parameter of the package that takes effect and the dynamic priority parameter of the package that takes effect, and adds the static priority parameter of the package that takes effect and the dynamic priority parameter of the package that takes effect to obtain the real-time priority parameter of the package that takes effect; that is to say that the first and second electrodes,
the real-time priority parameter is the static priority parameter + the dynamic priority parameter.
For a package which takes effect and does not need to calculate the dynamic priority parameter, the charging system can also directly read the static priority parameter as the real-time priority parameter of the package, and for the package which needs to calculate the dynamic priority parameter, the charging system adds the static priority parameter of the package which takes effect and the result of the dynamic priority to obtain the real-time priority parameter of the package.
As shown in fig. 2, a schematic flow chart of a call ticket calculation method using a package real-time priority determination method according to an embodiment of the present invention is provided; the method comprises the following steps:
step 201: the charging system reads the effective package and the charging bill of the user and starts to calculate the real-time priority parameter of the effective package;
step 202: the charging system determines the static priority parameter of the effective package;
step 203: the charging system judges whether the dynamic priority of the effective package needs to be calculated; if the dynamic priority of the package in effect needs to be calculated, the step 204 is performed, and if the dynamic priority of the package in effect does not need to be calculated, the step 205 is performed;
here, determining whether a dynamic priority of the validated package needs to be calculated includes: and judging whether the service state of the effective package is changed or not, if the service state of the effective package is changed, calculating the dynamic priority of the effective package, and if the service state of the effective package is not changed, calculating the dynamic priority of the effective package.
Step 204: the charging system reads the service scene after the service state of the package is changed, and obtains a dynamic priority parameter according to the service scene and the package type of the package which takes effect; entering step 206;
step 205: the charging system determines the dynamic priority parameter of the effective package as a parameter set value; entering step 206; the parameter setting value may be specifically 0;
step 206: the charging system adds the static priority parameter and the dynamic priority parameter to obtain a result, namely the real-time priority parameter of the package;
step 207: the charging system carries out sequence according to the real-time priority parameter of each package and establishes a charging binary tree;
step 208: and the charging system completes the billing of the charging ticket according to the charging preference sequence of the charging binary tree.
As shown in fig. 3, a schematic structural diagram of a device for determining a package real-time priority according to an embodiment of the present invention is provided; the device comprises: a static priority determining module 11, a dynamic priority determining module 12 and a real-time priority determining module 13.
The static priority determining module 11 is configured to read an effective package, and determine a static priority parameter of the effective package according to the effective package;
the dynamic priority determining module 12 is configured to determine that the service state of the package in effect is changed, read a service scene of the package in effect after the service state is changed, and convert the service scene of the package in effect after the service state is changed into a priority type string; determining the package type of the package which takes effect, traversing a priority strategy configuration matrix according to the priority type string and the package type of the package which takes effect, and determining the dynamic priority parameter of the package which takes effect; the priority strategy configuration matrix comprises dynamic priority parameters of different package types under different service scenes; the priority type string is used for describing a set of application scenes, and the application scenes at least comprise package change scenes, user state scenes and scenes of various service changes.
The real-time priority determining module 13 is configured to determine the real-time priority parameter of the effective package according to the static priority parameter of the effective package and the dynamic priority parameter of the effective package.
Specifically, the static priority determining module 11 is specifically configured to: and reading the effective package of the user from the package office data system, and determining the static priority parameter of the effective package from the package office data system aiming at the effective package.
Specifically, the dynamic priority determining module 12 is specifically configured to: judging whether the service state of the effective package is changed or not, judging that the service state of the effective package is not changed, and determining the dynamic priority parameter of the effective package as a parameter set value; and judging that the service state of the effective package is changed, reading the service scene of the effective package after the service state is changed, and determining the dynamic priority parameter of the effective package according to the effective package and the service scene of the effective package after the service state is changed.
The dynamic priority determination module 12 is configured to: judging whether the service scene of the package with the changed service state belongs to a service scene included in a priority strategy configuration matrix or not, and if not, determining that the dynamic priority parameter of the package with the changed service state is a parameter set value; and when the package belongs to the service scene included in the priority strategy configuration matrix, determining the dynamic priority parameter of the effective package from the priority strategy configuration matrix according to the effective package and the service scene.
In the embodiment of the present invention, the parameter setting value may be specifically 0.
The dynamic priority determining module 12 is configured to read a service scene of the package that takes effect after the service state is changed, and convert the service scene of the package that takes effect after the service state is changed into a priority type string; determining the package type of the package which takes effect, traversing a priority strategy configuration matrix according to the priority type string and the package type of the package which takes effect, and obtaining the dynamic priority parameter of the package which takes effect.
The real-time priority determining module 13 is specifically configured to: reading static priority parameters from a static priority determining module 11, reading dynamic priority parameters from a dynamic priority determining module 12, and adding the static priority parameters and the dynamic priority parameters to obtain real-time priority parameters.
The method and the device for determining the real-time priority of the package respectively determine a static priority parameter and a dynamic priority parameter, wherein for an effective package which does not need to be subjected to dynamic priority calculation, the static priority parameter can be directly read as the real-time priority parameter of the package, and for the effective package which needs to be subjected to dynamic priority calculation, the static priority parameter and the dynamic priority parameter of the effective package are added to obtain the real-time priority parameter of the effective package, so that the automatic adjustment of the effective package of a user under the condition of changing different service states is realized, and the service requirements of different effective packages under different scenes and different priorities are met.
Fig. 4 is a schematic structural diagram of a system for determining a package real-time priority according to an embodiment of the present invention; the system comprises: the system comprises a package real-time priority determining device, a service scene synchronization module 14 and a priority strategy configuration matrix constructing module 15; wherein the content of the first and second substances,
the device for determining the real-time priority of the package comprises: a static priority determining module 11, a dynamic priority determining module 12 and a real-time priority determining module 13;
the static priority determining module 11 is configured to read an effective package, and determine a static priority parameter of the effective package according to the effective package;
the dynamic priority determining module 12 is configured to determine whether the package in effect has a service state change, determine that the package in effect has no service state change, and determine that a dynamic priority parameter of the package in effect is a parameter setting value; if the service state of the package in effect is judged to be changed, reading the service scene of the package in effect after the service state is changed, and converting the service scene of the package in effect after the service state is changed into a priority type string; determining the package type of the package which takes effect, traversing a priority strategy configuration matrix according to the priority type string and the package type of the package which takes effect, and determining the dynamic priority parameter of the package which takes effect; the parameter setting value may be specifically 0; the priority strategy configuration matrix comprises dynamic priority parameters of different package types under different service scenes; the priority type string is used for describing a set of application scenes, and the application scenes at least comprise package change scenes, user state scenes and scenes of various service changes.
The real-time priority determining module 13 is configured to determine a real-time priority parameter of the effective package according to the static priority parameter of the effective package and the dynamic priority parameter of the effective package;
the service scene synchronization module 14 is configured to synchronize the changed data of the effective package with the changed service state to the dynamic priority determination module 12.
Here, the changed data includes: the user changes the record of the package, the user passing record, the user selling record and the like.
The priority policy configuration matrix building module 15 is specifically configured to: acquiring a service scene and a package type; the service scenes and the package types are combined in a cross mode to obtain two-dimensional matrixes of packages of different types under different service scene sets; and setting a dynamic priority parameter for each element of the two-dimensional matrix, and obtaining and storing a priority strategy configuration matrix.
Fig. 5 is a schematic structural diagram of a billing system based on package real-time priority according to an embodiment of the present invention; the charging system comprises: a system for determining the real-time priority of the package and a charging module 16; the system for determining the real-time priority of the package comprises: the system comprises a package real-time priority determining device, a service scene synchronization module 14 and a priority strategy configuration matrix constructing module 15; the device for determining the real-time priority of the package comprises: a static priority determining module 11, a dynamic priority determining module 12 and a real-time priority determining module 13; wherein the content of the first and second substances,
the static priority determining module 11 is configured to read an effective package, and determine a static priority parameter of the effective package according to the effective package;
the dynamic priority determining module 12 is configured to determine whether the package in effect has a service state change, determine that the package in effect has no service state change, and determine that a dynamic priority parameter of the package in effect is a parameter setting value; if the service state of the package in effect is judged to be changed, reading the service scene of the package in effect after the service state is changed, and converting the service scene of the package in effect after the service state is changed into a priority type string; determining the package type of the package which takes effect, traversing a priority strategy configuration matrix according to the priority type string and the package type of the package which takes effect, and determining the dynamic priority parameter of the package which takes effect; the parameter setting value may be specifically 0; the priority strategy configuration matrix comprises dynamic priority parameters of different package types under different service scenes; the priority type string is used for describing a set of application scenes, and the application scenes at least comprise package change scenes, user state scenes and scenes of various service changes.
The real-time priority determining module 13 is configured to determine a real-time priority parameter of the effective package according to the static priority parameter of the effective package and the dynamic priority parameter of the effective package;
the service scene synchronization module 14 is configured to synchronize the changed data of the effective package with the changed service state to the dynamic priority determination module 12;
the priority strategy configuration matrix construction module 15 is used for acquiring a service scene and a package type; the service scenes and the package types are combined in a cross mode to obtain two-dimensional matrixes of packages of different types under different service scene sets; setting a dynamic priority parameter for each element of the two-dimensional matrix, and obtaining and storing a priority strategy configuration matrix;
and the charging module 16 is configured to perform an order according to the numerical value of the real-time priority parameter of each package, establish a charging binary tree according to the ordering result, and perform charging ticket pricing according to the charging binary tree.
Fig. 6 is a schematic flow chart of a method for determining a dynamic priority parameter according to an embodiment of the present invention; the method comprises the following steps:
step 301: the service state of the effective package of the user is changed;
step 302: synchronizing the service state change information to a dynamic priority determining module 12 of the charging system through a service scene synchronizing module 14;
step 303: the dynamic Priority determining module 12 analyzes and merges the changed service scenes of the effective package, converts the service set changed by the user into a Priority Type String (PTS), and stores the Priority Type String as the user instance of the user in the dynamic Priority determining module 12.
Here, when the user has no service state change, all the initial PTS values of the user are [0, 0, 0 … … ], and if the service state of the user changes, the PTS of the user changes accordingly.
It should be noted that the dynamic priority determining module 12 sets a PTS feature value zeroing mechanism, and realizes that the full PTS feature value is restored to the default value under the trigger of some service scenarios, for example, the PTS feature value of the full user identification package change behavior is restored to the default value of 0 every month.
Step 304: reading a charging ticket, and starting to calculate a dynamic priority parameter by the dynamic priority determining module 12;
step 305: the dynamic priority determining module 12 reads the PTS and package type of the effective package in which the service state is changed, traverses the priority policy configuration matrix to obtain the value of the dynamic priority parameter corresponding to the PTS and the package type, and takes the value as the dynamic priority result of the effective package at this time; if no corresponding result exists after traversing the priority strategy configuration matrix, determining that the dynamic priority parameter is 0;
step 306: and returning the dynamic priority result to the real-time priority determining module 13 to complete the calculation of the dynamic priority parameter of the effective package.
The following application examples are provided to illustrate the specific process of package dynamic priority determination.
For example, a user subscribes A, B to two packages both of the same type, e.g., each package is a monthly package that includes domestic traffic, wherein package a priority > package B priority, and business rules require that when package B is changed, its priority should be greater than package a.
In order to implement this service logic, first, the static data configuration system configures the static priority of a package a and a package B, and assumes that a is 40 and B is 35, thereby ensuring that the priority of the package a is greater than the priority of the package B; then, a PTS of package change is specified, where an initial PTS is [000], and a PTS after service change is assumed to be [100 ]; thirdly, constructing a priority strategy configuration matrix of two packages of PTS and A, B to obtain a schematic matrix of the following figure, wherein the package A is a directional flow monthly package, and the package B is a general flow monthly package:
general flow monthly set meal Directional flow monthly packed meal ……
PTS=[000] 0 0
PTS=[100] 10 15
……
TABLE 4
a) Under the condition that the user does not change the package, the static priority of the package is Astatic=40、Bstatic35, PTS of user is 000; the dynamic priority of the package is Adynamic=0,BdynamicWhen the priority of the user package is 0, the real-time priority of the user package is: a. thePriority=Astatic+Adynamic=40,BPriority=Bstatic+BdynamicAnd 35, charging the user according to the sequence of A and B.
b) When the user changes package B, the static priority of the package is Astatic=40、Bstatic35, PTS of the user is 100; the dynamic priority of the package is Adynamic=0,Bdynamic10, so the real-time priority of the user package is: a. thePriority=Astatic+Adynamic=40+0=40,BPriority=Bstatic+BdynamicAnd (5) 35+ 10-45, the charging system carries out charging preference according to the sequence of B before A.
As described above, the service requirements of dynamically changing the real-time priority of the package according to different service scenes can be realized.
The above description is only exemplary of the present invention and should not be taken as limiting the scope of the present invention, and any modifications, equivalents, improvements, etc. that are within the spirit and principle of the present invention should be included in the present invention.

Claims (10)

1. A method for determining real-time priority of a package, the method comprising:
reading an effective package, and determining a static priority parameter of the effective package according to the effective package;
determining that the service state of the package in effect is changed, reading the service scene of the package in effect after the service state is changed, and converting the service scene of the package in effect after the service state is changed into a priority type string;
determining the package type of the package which takes effect, traversing a priority strategy configuration matrix according to the priority type string and the package type of the package which takes effect, and determining the dynamic priority parameter of the package which takes effect;
determining the real-time priority parameter of the effective package according to the static priority parameter of the effective package and the dynamic priority parameter of the effective package;
the priority strategy configuration matrix comprises dynamic priority parameters of different package types under different service scenes; the priority type string is used for describing a set of application scenes, and the application scenes at least comprise package change scenes, user state scenes and scenes of various service changes.
2. The method of claim 1, wherein the determining the dynamic priority parameter of the effective package according to the effective package and the service scenario after the service status change of the effective package comprises:
judging whether the service scene of the package with the changed service state belongs to the service scene included in the priority strategy configuration matrix or not, and determining the dynamic priority parameter of the package with the changed service state as a parameter set value if the service scene does not belong to the service scene included in the priority strategy configuration matrix;
and when the package belongs to the service scene included in the priority strategy configuration matrix, determining the dynamic priority parameter of the effective package from the priority strategy configuration matrix according to the effective package and the service scene after the service state of the effective package is changed.
3. The method of claim 2, wherein the determining the dynamic priority parameter of the effective package from the priority policy configuration matrix according to the effective package and the service scenario of the effective package after the service status change comprises:
reading the service scene of the package with the changed service state, and converting the service scene of the package with the changed service state into a priority type string;
determining the package type of the package which takes effect, traversing a priority strategy configuration matrix according to the priority type string and the package type of the package which takes effect, and obtaining the dynamic priority parameter of the package which takes effect.
4. The method of claim 3, wherein the priority policy configuration matrix is a two-dimensional matrix comprising a traffic scenario and a package type;
the priority strategy configuration matrix comprises dynamic priority parameters of different package types under different service scenes.
5. The method of claim 1, wherein determining the real-time priority parameter for the validated package based on the static priority parameter for the validated package and the dynamic priority parameter for the validated package comprises:
and adding the static priority parameter of the effective package and the dynamic priority parameter of the effective package to obtain the real-time priority parameter of the effective package.
6. An apparatus for real-time priority determination of packages, the apparatus comprising: the device comprises a static priority determining module, a dynamic priority determining module and a real-time priority determining module; wherein the content of the first and second substances,
the static priority determining module is used for reading an effective package and determining a static priority parameter of the effective package according to the effective package;
the dynamic priority determining module is used for determining that the service state of the package in effect is changed, reading the service scene of the package in effect after the service state is changed, and converting the service scene of the package in effect after the service state is changed into a priority type string;
determining the package type of the package which takes effect, traversing a priority strategy configuration matrix according to the priority type string and the package type of the package which takes effect, and determining the dynamic priority parameter of the package which takes effect;
the real-time priority determining module is used for determining the real-time priority parameter of the effective package according to the static priority parameter of the effective package and the dynamic priority parameter of the effective package;
the priority strategy configuration matrix comprises dynamic priority parameters of different package types under different service scenes; the priority type string is used for describing a set of application scenes, and the application scenes at least comprise package change scenes, user state scenes and scenes of various service changes.
7. The apparatus of claim 6, wherein the dynamic priority determination module is specifically configured to: judging whether the service scene of the package with the changed service state belongs to a service scene included in a priority strategy configuration matrix or not, and if not, determining that the dynamic priority parameter of the package with the changed service state is a parameter set value;
and when the package belongs to the service scene included in the priority strategy configuration matrix, determining the dynamic priority parameter of the effective package from the priority strategy configuration matrix according to the effective package and the service scene.
8. The apparatus of claim 7, wherein the dynamic priority determination module is specifically configured to: reading the service scene of the package with the changed service state, and converting the service scene of the package with the changed service state into a priority type string;
determining the package type of the package which takes effect, traversing a priority strategy configuration matrix according to the priority type string and the package type of the package which takes effect, and obtaining the dynamic priority parameter of the package which takes effect.
9. The apparatus of claim 7, wherein the priority policy configuration matrix is a two-dimensional matrix comprising a traffic scenario and a package type;
the priority strategy configuration matrix comprises dynamic priority parameters of different package types under different service scenes.
10. The apparatus of claim 9, wherein the real-time prioritization module is specifically configured to: and adding the static priority parameter of the effective package and the dynamic priority parameter of the effective package to obtain the real-time priority parameter of the effective package.
CN201610764211.1A 2016-08-29 2016-08-29 Method and device for determining real-time priority of package Active CN107786956B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610764211.1A CN107786956B (en) 2016-08-29 2016-08-29 Method and device for determining real-time priority of package

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610764211.1A CN107786956B (en) 2016-08-29 2016-08-29 Method and device for determining real-time priority of package

Publications (2)

Publication Number Publication Date
CN107786956A CN107786956A (en) 2018-03-09
CN107786956B true CN107786956B (en) 2021-06-08

Family

ID=61440432

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610764211.1A Active CN107786956B (en) 2016-08-29 2016-08-29 Method and device for determining real-time priority of package

Country Status (1)

Country Link
CN (1) CN107786956B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111432360B (en) * 2020-05-19 2021-03-26 北京思特奇信息技术股份有限公司 Method for dynamically adjusting charging priority and method for loading tariff syntax tree
CN114980067B (en) * 2021-03-16 2024-02-02 中国卫通集团股份有限公司 Shared package service distribution system, method, terminal and storage medium

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101345632A (en) * 2007-07-14 2009-01-14 华为技术有限公司 Method and system for charging data presentation business, and data business management equipment
CN101754159A (en) * 2008-12-09 2010-06-23 华为技术有限公司 Charging method, charging server and charging system
CN101516093B (en) * 2009-01-23 2011-11-16 北京邮电大学 Method and device for judging comprehensive priority of mobile communication system
CN102143467B (en) * 2010-08-25 2014-07-30 华为技术有限公司 Method, device and system for implementing charging
CN102684898A (en) * 2011-03-14 2012-09-19 中国联合网络通信集团有限公司 Service quality management method and service quality management system based on home gateway
CN102364889A (en) * 2011-11-07 2012-02-29 ***通信集团山西有限公司 Shared pool resource charging method and device
US9161200B2 (en) * 2012-01-27 2015-10-13 Microsoft Technology Licensing, Llc Managing network data transfers in view of multiple data usage plans
CN104735635B (en) * 2014-12-22 2019-05-24 华为技术有限公司 A kind of policy control method and device

Also Published As

Publication number Publication date
CN107786956A (en) 2018-03-09

Similar Documents

Publication Publication Date Title
CN101340449B (en) Mobile terminal and method for obtaining network access information
CN106712975B (en) Mobile phone internet traffic counting and displaying method and device and mobile phone
WO2016131348A1 (en) Method for achieving traffic control and terminal
CN105813166A (en) Network access control method and system for outage user and communication equipment
CN107786956B (en) Method and device for determining real-time priority of package
CN106231586A (en) A kind of multi-card terminal and communication means thereof
CN114070791B (en) Speed limiting processing method and device for data traffic
CN106569917A (en) Data backup method and mobile terminal
CN102655531A (en) Data sharing method and electronic terminal based on internet
CN104571781A (en) Multi-application window display method and window management device in Android system
CN103533580A (en) Wifi data non-seamless branching method, apparatus and system
CN109086289A (en) A kind of media data processing method, client, medium and equipment
CN102083045B (en) Method and device for processing service charging
US10382630B2 (en) Telecommunication service subscription integration system
Gregory The rationale for universal access to digital services
CN102158532A (en) Communication connection method and data card
CN109818759A (en) Flow sharing method, device and the computer equipment shown based on data
CN104836892A (en) Information display method, information display device and information display terminal
CN103179641A (en) Method for terminal to select networks and terminal
CN108616870A (en) The method and apparatus for identifying the terminal preferentially customized
CN107294734B (en) Method, mobile terminal and system for switching internet access mode according to residual traffic
CN113129091B (en) Recommendation method and device for tariff package
CN102891888B (en) A kind of data access method and relevant device, system
CN106998276A (en) Data processing, storage, querying method and data handling system
CN109041026A (en) Antenna accounting setting method, device, user equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant