CN113784301A - Method and device for distributing enterprise user charging flow and flow distribution system - Google Patents
Method and device for distributing enterprise user charging flow and flow distribution system Download PDFInfo
- Publication number
- CN113784301A CN113784301A CN202111241504.9A CN202111241504A CN113784301A CN 113784301 A CN113784301 A CN 113784301A CN 202111241504 A CN202111241504 A CN 202111241504A CN 113784301 A CN113784301 A CN 113784301A
- Authority
- CN
- China
- Prior art keywords
- flow
- enterprise
- user
- charging
- users
- 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
- 238000000034 method Methods 0.000 title claims abstract description 27
- 238000004364 calculation method Methods 0.000 claims description 11
- 238000004590 computer program Methods 0.000 claims description 6
- 239000000969 carrier Substances 0.000 claims description 3
- 235000012054 meals Nutrition 0.000 description 9
- 238000010586 diagram Methods 0.000 description 4
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 239000000470 constituent Substances 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 230000002542 deteriorative effect Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000001902 propagating effect Effects 0.000 description 1
- 230000001052 transient effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/24—Accounting or billing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/18—Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
- H04W8/183—Processing at user equipment or user record carrier
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Databases & Information Systems (AREA)
- Meter Arrangements (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The utility model provides a distribution method of enterprise user charging flow, comprising: calculating the initial total cost of the enterprise users according to the number of the enterprise users, the operator charging flow and the charging standard corresponding to each user; if the certain-level charging flow of the operator meets the preset condition, adjusting the number of the users in the charging flow of the operator according to a preset rule, and recalculating the total cost of the enterprise users according to the adjusted number of the users; and in all the operator charging flow, comparing the initial total cost of the enterprise user with the total cost of the enterprise user recalculated according to preset conditions, and distributing the charging flow of the enterprise user according to the minimum value. The scheme of the invention can distribute the charging flow according to the minimum cost of the enterprise user, and can optimize the flow cost required to be paid by the enterprise user, so that the cost of the enterprise user is minimum.
Description
Technical Field
The invention relates to the field of software processing, in particular to a method and a device for distributing enterprise user charging flow and a flow distribution system.
Background
The telecom operators provide flexible monthly payment sharing charge plans for enterprise group users or virtual operators, namely, under the condition that monthly flow usage of a plurality of devices is not fixed and has little difference, the charge plans are matched according to the actual usage condition of a flow pool at the end of a charging period, and the flow is not cleared. Multiple users may be merged together for traffic settlement.
The existing flow settlement scheme is that according to the flow use value of a certain user, the flow close to the package is classified into the flow package, then the number of the users of each package is counted, and the total cost is calculated. For example, if the flow of the user 1 is 29.3M, the user is classified into a package of 30 MB; if user 2 traffic is 2.01G, then it falls into a package of 2 GB. The disadvantage of this solution is that a small number of users may be out of order and a large number of users may not use the flow in the package. Generally increasing the cost to the enterprise user. If the flow rate of a particular user exceeds the flow rate of a package, the cost of the flow rate exceeding the package can be as high as 0.2 yuan per MB, which is very cost-ineffective for the user. Therefore, there is a need for a scheme that can allocate billing traffic to enterprise users that minimizes the amount of payment paid by the enterprise users while meeting the user's needs.
The above information disclosed in the background section is only for further understanding of the background of the invention and therefore it may contain information that does not form the prior art that is already known to a person of ordinary skill in the art.
Disclosure of Invention
The invention provides a method and a device for distributing charging flow of enterprise users and a flow distribution system, which can meet the requirement of the enterprise users on flow distribution, and the cost paid by the enterprise users is the minimum according to the scheme of the invention.
In order to solve the above problems in the prior art, the present invention provides an SDK construction method, apparatus and processor.
The first aspect of the present invention provides a method for allocating charging flow of an enterprise user, including: s1: calculating the initial total cost of the enterprise users according to the number of the enterprise users, the operator charging flow and the charging standard corresponding to each user; s2, if the certain charging flow of the operator meets the preset conditions, the preset conditions are as follows: n when in class i charging flowiActual traffic L used by an enterprise userNi practice>Ni*LiAnd due to excess flow LNi exceedanceResulting in a billing charge for the enterprise user that exceeds the billing flow, where L is greater than a preset thresholdiCharging flow for the ith level, excess flow LNi exceedance=LNi practice-Ni*Li. Adjusting the number of users in the operator charging flow according to a preset rule, and recalculating the total cost of enterprise users according to the adjusted number of users; s3: in all the operator charging flows, the initial total cost of the enterprise user and the total cost of the enterprise user recalculated meeting the preset conditions in step S2 are compared, and the charging flow of the enterprise user is distributed according to the minimum value.
According to an embodiment of the present invention, before the step S1, the method further includes: s0: and comparing the flow value actually used by each user in the enterprise with the charging flow of the operator, and determining the charging flow of the operator corresponding to each user.
According to one embodiment of the present invention, wherein in the step S1, the initial total cost F of the enterprise user0The calculation formula of (2) is as follows:
wherein, aiCharging the ith operator for traffic, biIndicating whether the user selects the ith operator to bill for traffic, MiThe number of enterprise users charging for the ith operator, wherein when the user selects the ith operator charging flow bi1, otherwise bi0, M is the number of operator billing traffic classes, ε0The enterprise user traffic is charged for a fee that exceeds the selected billing traffic.
According to an embodiment of the present invention, wherein in the step S2, the total fee F of the enterprise user is recalculated according to the adjusted fee calculation ruleiComprises the following steps:
Fi=a1*b1*M1+…+ai*bi*(Mi-Ni)+ai+1*bi+1
*(Mi+1+Ni+Nk)+…+ai*bj*(Mj-Nk)+…+aM
*bM*MN+εi
wherein, a1,ai,ai+1,aMCharging the 1 st, i, i +1 th and M operators for the flow, b1,bi,bi+1,bMIndicating whether the user selects the 1 st, i, i +1 st and M operators to charge for traffic, M1,Mi,Mi+1,MNThe number of enterprise users billing traffic for the 1 st, i, i +1 th and N carriers, wherein b is the number of enterprise users who bill traffic for the ith carrier when the user selects the ith carrieri1, otherwise biN is the number of operator billing traffic classes, epsiloniRecalculating the cost of the enterprise user traffic exceeding the selected billing traffic according to the adjusted cost calculation rule, NiFor the number of subscribers adjusted in the ith and charging flow, NkAnd the number of the adjusted users in the j-th charging flow is charged.
According to one embodiment of the present invention, in the step S3, the initial total cost F of the enterprise user is compared in sequence0And recalculating the total fee F of the enterprise user according to the adjusted fee calculation ruleiAnd obtaining the minimum total cost of the enterprise user to distribute the charging flow of the enterprise user.
A second aspect of the present invention provides an apparatus for allocating charging flow of an enterprise user, including: comprising a memory and a processor; the memory is used for storing a computer program; the processor is used for realizing the method for distributing the enterprise user billing flow when executing the computer program.
The third aspect of the present invention provides a traffic distribution system, which adopts the above method for distributing the enterprise user charging traffic, or includes the above device for distributing the enterprise user charging traffic.
The flow distribution or settlement system developed by the scheme and capable of being used for the enterprise users can calculate the flow cost of the enterprise users, the flow data of each user in the enterprise users in each month is used as input, the charging standards of different flow packages of operators are preset, the quantity of package flow packages selected by the enterprise users is input again, the flow cost required to be paid by the enterprise users can be optimized, and the cost of the enterprise users is minimum.
Drawings
In order to more clearly illustrate the technical solution of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flow diagram of a method for enterprise user billing traffic distribution in accordance with an exemplary embodiment of the present invention.
Fig. 2 is a flow diagram of an implementation of enterprise user billing traffic distribution in accordance with an exemplary embodiment of the present invention.
DETAILED DESCRIPTION OF EMBODIMENT (S) OF INVENTION
As used herein, the terms "first," "second," and the like may be used to describe elements of exemplary embodiments of the invention. These terms are only used to distinguish one element from another element, and the inherent features or order of the corresponding elements and the like are not limited by the terms. Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. Terms, such as those defined in commonly used dictionaries, are to be interpreted as having a meaning that is consistent with their context in the relevant art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
Those skilled in the art will understand that the devices and methods of the present invention described herein and illustrated in the accompanying drawings are non-limiting exemplary embodiments and that the scope of the present invention is defined solely by the claims. Features illustrated or described in connection with one exemplary embodiment may be combined with features of other embodiments. Such modifications and variations are intended to be included within the scope of the present invention.
Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. In the drawings, a detailed description of related known functions or configurations is omitted to avoid unnecessarily obscuring the technical points of the present invention. In addition, the same reference numerals refer to the same circuits, modules or units throughout the description, and repeated descriptions of the same circuits, modules or units are omitted for brevity.
Further, it should be understood that one or more of the following methods or aspects thereof may be performed by at least one control unit or controller. The terms "control unit," "controller," "control module," or "master module" may refer to a hardware device that includes a memory and a processor. The memory or computer-readable storage medium is configured to store program instructions, while the processor is specifically configured to execute the program instructions to perform one or more processes that will be described further below. Moreover, it is to be appreciated that the following methods may be performed by including a processor in conjunction with one or more other components, as will be appreciated by one of ordinary skill in the art.
The scheme of the invention develops a flow settlement system which can be used for enterprise users (also can be used for virtual operators), can calculate the flow fee of the enterprise users, takes the flow data of each user in the enterprise users per month as input, presets the charging standards of different flow packages of the operators, and then inputs the quantity of package flow packages which can be selected by the enterprise users (for example, 5 flow package packages or 10 package packages can be selected), obtains the flow packages selected by the enterprise users and the flow fee which needs to be paid by the enterprise users, so that the fee of the enterprise users is minimum.
Currently, a telecom operator has a total of 43 billing traffic packages, which is specifically shown in table 1 below:
TABLE 1
According to one or more embodiments of the invention, the total package flow cost of an enterprise user according to existing business rules may be expressed by the following formula:
F=a1*b1*M1+…+ai*bi*Mi+…+aM*bM*MM
where M ═ 43, indicates a total of 43 package types; a is1,ai,aMThe charges are expressed as the 1 st, i th and M charging flow packages; b1,bi,bMWhether the value is taken is shown, namely whether the user selects the charging flow package or not, and the value is 1 or 0; m1,Mi,MMSelecting the number of users of the 1 st, i th and M charging flow packages, wherein M1+…+Mi+…MMThe number of enterprise users is packaged for the usage of the billing traffic.
According to one or more embodiments of the invention, 10 packages are selected from 43 packages for each enterprise user, and the invention aims to select the packages for each user under the condition that the total number of users of the enterprise is fixed, so that the flow fee paid by the enterprise user is minimized, and the billing flow packages of the users are distributed according to the minimized enterprise fee.
According to one or more embodiments of the invention, the scheme adopted by the invention is to compare all users with 10 selected package packages, select the corresponding package when the flow of the user is close to the package, and count the number M of the users belonging to the packageiHow much (i takes on a value of 1 to M) to get the total cost. On the basis of the above, if MiThe sum of the flows of the users exceeds MiMultiplying by the package value may result in a higher cost for the excess portion of the traffic, since the cost for the excess portion of the traffic is calculated as K (where the cost for the package for the charged traffic is calculated as the package upper limit). Therefore, according to the solution of the present invention, it is necessary to have a plurality of packages for each packageE.g. if one or more further users are added, N is adjustedi+NkThe package of each user is selected to add a first grade of flow, the total cost is recalculated, the recalculated total cost is compared with the original total cost, the minimum cost is selected as the total cost paid to an operator by the enterprise user, and the billing flow package of the user is distributed according to the total cost.
Fig. 1 is a flow diagram of a method for enterprise user billing traffic distribution in accordance with an exemplary embodiment of the present invention.
As shown in fig. 1, at step S0, comparing the traffic value actually used by each user in the enterprise with the billing traffic of the operator, and determining the billing traffic of the operator corresponding to each user;
at step S1, calculating an initial total cost of the enterprise user according to the number of the enterprise users, the operator charging flow rate and the charging standard corresponding to each user;
at step S2, if the certain level of billing traffic of the operator meets the preset condition, adjusting the number of users in the billing traffic of the operator according to the predetermined rule, and recalculating the total cost of the enterprise users according to the adjusted number of users;
at step S3, the initial total cost of the enterprise user and the total cost of the enterprise user recalculated meeting the preset conditions at step S2 are compared among all the operator billing traffic, and the billing traffic of the enterprise user is distributed according to the minimum value.
According to one or more embodiments of the present invention, the preset conditions in step S2 are: n when in class i charging flowiActual traffic L used by an enterprise userN actual>Ni*LiAnd due to excess flow LN exceedsResulting in a billing cost of the enterprise user exceeding the billing flow greater than a preset threshold X, where LiCharging flow for the ith level, excess flow LNi exceedance=LNi practice-Ni*Li;
According to one or more embodiments of the present invention, the preset threshold value X of each package of the billing traffic may be set to the same value, and this threshold value may be set to a constant.
According to one or more embodiments of the invention, the predetermined rule in step S2 is: charging N in the ith level of flowiThe charging flow of each enterprise user is adjusted to the (i + 1) th charging flow, and the N of the j-th charging flow is adjustedkThe charging flow of each user is adjusted to the (i + 1) th, and the number of the adjusted (i + 1) th-level charging flow is increased by Ni+NkN, the number of enterprise users in the ith level flow charging flow is reducediN is reduced for the number of users of j-th charging flowkWherein j is>i+1。
According to one or more embodiments of the invention, NkMay be a number of users M less than the jth trafficjThe value of (c).
Fig. 2 is a flow diagram of an implementation of enterprise user billing traffic distribution in accordance with an exemplary embodiment of the present invention.
As shown in fig. 2, in step S21, the number of users of the company is input, and a traffic value L for each user is importedi;
At step S22, determining the flow value that each user has used, comparing with the billing flow of 43 sets of meal packages of the operator in the actual billing system, and determining which set of meal packages each user of the enterprise users uses;
at step S23, the number M of users of each set of meal packages is calculatedi(i represents the ith package, and the value of i is the package number selected by the enterprise user), and M is calculatediTotal flow rate used by each user, ensure MiTotal flow of each user is less than MixLi(ensure that this M is not exceedediTotal flow for each user, thus the calculated cost is lower), and the average flow value of Mi users is ensured to be nearest to the value of a certain set of meal packages; for example, the actual flow rate of the user is 3.15M, because a 3M package fee is paid, and an additional 0.15M fee is paid, the 0.15M fee is higher than the 3M fee in charging, and the user can be considered to put the 3.15M fee into the 5M charging flow rateCharging;
at step S24, obtain the number M of users in the enterprise user flow billing package ii(namely counting the number of users in the upper and lower flow limits in the set meal packets) and the flow value of the excess part in each flow set meal packet;
at step S25, an initial total cost F for the enterprise user is calculated0In which F is0The calculation formula of (2) is as follows:
wherein, aiCharging the ith operator for traffic, biIndicating whether the user selects the ith operator to bill for traffic, MiThe number of enterprise users charging for the ith operator, wherein when the user selects the ith operator charging flow bi1, otherwise bi0, M is the number of operator billing traffic classes, ε0A fee for enterprise user traffic exceeding the selected billing traffic;
at step S26, it is determined whether preset conditions are satisfied in the M billing traffic packages, that is, the preset conditions are: if N is in the ith class of charging trafficiActual traffic L used by an enterprise userNi practice>Ni*LiDue to excess flow LNi exceedanceResulting in a billing charge for the enterprise user that exceeds the billing flow, where L is greater than a preset thresholdiCharging flow for the ith level, excess flow LNi exceedance=LNi practice-Ni*Li;
At said step S27, the number of users in the adjustment of the operator billing traffic is adjusted according to a predetermined rule: n in ith charging flow packageiThe charging flow of each enterprise user is adjusted to the (i + 1) th charging flow, and the N of the j-th charging flow is adjustedkThe charging flow of each user is adjusted to the (i + 1) th, and the number of the adjusted (i + 1) th-level charging flow is increased by Ni+NkN, the number of enterprise users in the ith level flow charging flow is reducediN is reduced for the number of users of j-th charging flowkWherein j is>i + 1; determining the number of users in the charging flow package of each level of operator readjusted according to a preset rule;
at step S28, the total cost F of the enterprise user is calculated according to the number of the users after readjustmenti,
Fi=a1*b1*M1+…+ai*bi*(Mi-Ni)+ai+1*bi+1*(Mi+1+Ni+Nk)+…+ai*bj*(Mj-Nk)+…+aM*bM*MM+εi
Wherein, a1,ai,ai+1,aMCharging the 1 st, i, i +1 th and M operators for the flow, b1,bi,bi+1,bMIndicating whether the user selects the 1 st, i, i +1 st and M operators to charge for traffic, M1,Mi,Mi+1,MMThe number of enterprise users billing traffic for 1, i, i +1 and M carriers, wherein b is the number of enterprise users who bill traffic for the ith carrier when the user selects the ith carrieri1, otherwise bi0, M is the number of operator billing traffic classes, εiRecalculating the cost of the enterprise user traffic exceeding the selected billing traffic according to the adjusted cost calculation rule, NiFor the number of subscribers adjusted in the ith and charging flow, NkThe number of the adjusted users in the j-level charging flow is obtained;
at step S29, the user number is adjusted according to the preset rule of step S27 for the billing traffic package satisfying the condition of step S26, the enterprise user number is confirmed, the total cost of the enterprise user is recalculated according to the calculation method of step S28, and the obtained total cost and the initial total cost F are compared0Comparing to obtain the minimum total cost for the enterprise, and distributing the billing flow package of the enterprise user according to the minimum total cost for the enterprise; e.g. by calculating a package of 4-level billed traffic satisfying the condition of S26, e.g. F4,F9,F12,F34Then F will be0,F4,F9,F12,F34Making a comparison, if F4Is then F4As a total cost to the enterprise user, F4And distributing the billing flow package of the enterprise user according to the number of users in the billing flow of each level.
According to one or more embodiments of the present invention, for example, there are 3 users, the selected set of meal packets is 3M, the flow rates are 3.19, 3.21, and 3.9M, respectively, when the total over-set flow rate exceeds 1.3M and exceeds a comparatively large amount (exceeds a preset threshold), it may be considered that one user is added, for example, the flow rate of the fourth user is 8M (a 10M set of meal packets is selected), it may be considered that user 4 and the 3 users are taken together, the 4 users select the set of meal packets of 5M, the total flow rate of the users is 20M, and the total flow rate of the 4 users is not over 20M, so that the cost generated by them is 4 × 1.8 ═ 7.2 yuan; the original cost of these 4 users was 3 x 1.6 yuan +1.3 x 0.2+2.2 yuan-7.26 yuan, now becoming 7.2 yuan; meanwhile, for the 10M package group where the user 4 is located, for example, originally, 4 users are 8M, 10M, 9.2M, and 8.8M, respectively, and a 10M package is selected, the cost of 4 users is 4 × 2.2 ═ 8.8 yuan, and after one 8M user is reduced, only 3 users are present, and the cost of 3 users is 3 × 2.2 ═ 6.6 yuan; according to the total cost F of the original 7 users0And the calculation result is as follows: 3 × 1.6+1.3 × 0.2+4 × 2.2 ═ 13.86 members; the adjusted total cost is calculated to be 4 x 1.8+3 x 2.2 ═ 13.8 dollars. It can be seen that the adjusted total cost is less than the initial total cost F0Therefore, the adjusted charging scheme and flow distribution scheme can be selected.
According to one or more embodiments of the present invention, there is also provided an apparatus for allocating enterprise user billing traffic, including: comprising a memory and a processor; the memory is used for storing a computer program; the processor is configured to implement the above-mentioned method when executing the computer program.
According to one or more embodiments of the present invention, a traffic distribution system is further provided, which employs the method for allocating the enterprise user charging traffic, or includes the apparatus for allocating the enterprise user charging traffic.
In accordance with one or more embodiments of the present invention, control logic in methods of the present invention may implement processing of enterprise user billing traffic distribution schemes as described above using encoded instructions (e.g., computer and/or machine readable instructions) stored on a non-transitory computer and/or machine readable medium (e.g., hard disk drive, flash memory, read only memory, optical disk, digital versatile disk, cache, random access memory, and/or any other storage device or storage disk) in which information is stored for any period of time (e.g., for extended periods of time, permanent, transient instances, temporary cache, and/or information cache). As used herein, the term "non-transitory computer-readable medium" is expressly defined to include any type of computer-readable storage device and/or storage disk and to exclude propagating signals and to exclude transmission media.
According to one or more embodiments of the present invention, the control circuit, (control logic, master control system, or control module) of the apparatus for enterprise user billing traffic distribution of the present invention may include one or more processors, and may also include a non-transitory computer readable medium therein. In particular, a microcontroller MCU may be included in the device (master control system or control module) for implementing various operations of enterprise user billing traffic distribution and implementing various functions. The processor used to implement the enterprise user billing traffic distribution of the present invention may be such as, but not limited to, one or more single-core or multi-core processors. The processor(s) may include any combination of general-purpose processors and special-purpose processors (e.g., graphics processors, application processors, etc.). The processor may be coupled thereto and/or may include a memory/storage device and may be configured to execute instructions stored in the memory/storage device to implement various applications and/or operating systems running on the controller in accordance with the present invention.
The drawings referred to above and the detailed description of the invention, which are exemplary of the invention, serve to explain the invention without limiting the meaning or scope of the invention as described in the claims. Accordingly, modifications may be readily made by those skilled in the art from the foregoing description. Further, those skilled in the art may delete some of the constituent elements described herein without deteriorating the performance, or may add other constituent elements to improve the performance. Further, the order of the steps of the methods described herein may be varied by one skilled in the art depending on the environment of the process or apparatus. Therefore, the scope of the present invention should be determined not by the embodiments described above but by the claims and their equivalents.
While the invention has been described in connection with what is presently considered to be practical embodiments, it is to be understood that the invention is not to be limited to the disclosed embodiments, but on the contrary, is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims.
Claims (7)
1. A method for distributing enterprise user charging flow comprises the following steps:
s1: calculating the initial total cost of the enterprise users according to the number of the enterprise users, the operator charging flow and the charging standard corresponding to each user;
s2, if the certain charging flow of the operator meets the preset conditions, the preset conditions are as follows: n when in class i charging flowiActual traffic L used by an enterprise userNi practice>Ni*LiAnd due to excess flow LNi exceedanceResulting in a billing charge for the enterprise user that exceeds the billing flow, where L is greater than a preset thresholdiCharging flow for the ith level, excess flow LNi exceedance=LNi practice-Ni*Li(ii) a Adjusting the number of users in the flow rate charged by the operator according to a preset rule, wherein the preset rule is as follows: charging N in the ith level of flowiThe charging flow of each enterprise user is adjusted to the (i + 1) th charging flow, and the N of the j-th charging flow is adjustedkThe charging flow of each user is adjusted to the (i + 1) th, and the number of the adjusted (i + 1) th-level charging flow is increased by Ni+NkN, the number of enterprise users in the ith level flow charging flow is reducediN is reduced for the number of users of j-th charging flowkWherein j is>i + 1; and the total cost of the enterprise users is recalculated according to the adjusted number of the users.
S3: in all the operator charging flows, the initial total cost of the enterprise user and the total cost of the enterprise user recalculated meeting the preset conditions in step S2 are compared, and the charging flow of the enterprise user is distributed according to the minimum value.
2. The method of claim 1, wherein the step S1 is preceded by:
s0: and comparing the flow value actually used by each user in the enterprise with the charging flow of the operator, and determining the charging flow of the operator corresponding to each user.
3. The method of claim 1, wherein in said step S1, the initial total cost F of the enterprise user0The calculation formula of (2) is as follows:
wherein, aiCharging the ith operator for traffic, biIndicating whether the user selects the ith operator to bill for traffic, MiThe number of enterprise users charging for the ith operator, wherein when the user selects the ith operator charging flow bi1, otherwise bi0, M is the number of operator billing traffic classes, ε0The enterprise user traffic is charged for a fee that exceeds the selected billing traffic.
4. The method according to claim 1, wherein in said step S2, the total fee F of the enterprise users is recalculated according to the number of the enterprise users adjusted by said predetermined ruleiComprises the following steps:
Fi=a1*b1*M1+…+ai*bi*(Mi-Ni)+ai+1*bi+1*(Mi+1+Ni+Nk)+…+ai*bj*(Mj-Nk)+…+aM*bM*MM+εi
wherein, a1,ai,ai+1,aMCharging the 1 st, i, i +1 th and M operators for the flow, b1,bi,bi+1,bMIndicating whether the user selects the 1 st, i, i +1 st and M operators to charge for traffic, M1,Mi,Mi+1,MMThe number of enterprise users billing traffic for 1, i, i +1 and M carriers, wherein b is the number of enterprise users who bill traffic for the ith carrier when the user selects the ith carrieri1, otherwise bi0, M is the number of operator billing traffic classes, εiRecalculating the cost of the enterprise user traffic exceeding the selected billing traffic according to the adjusted cost calculation rule, NiFor the number of subscribers adjusted in the ith and charging flow, NkAnd the number of the adjusted users in the j-th charging flow is charged.
5. The method according to claim 1, wherein in said step S3, the initial total cost F of enterprise users is compared in turn0And recalculating the total fee F of the enterprise user according to the adjusted fee calculation ruleiAnd the minimum total cost for the enterprise is obtained to distribute the charging flow of the enterprise user.
6. An apparatus for enterprise user billing traffic distribution, comprising: comprising a memory and a processor;
the memory is used for storing a computer program;
the processor, when executing the computer program, for implementing the method according to any of claims 1-5.
7. A flow distribution system employing a method according to any of claims 1-5 or comprising an apparatus according to claim 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111241504.9A CN113784301B (en) | 2021-10-25 | 2021-10-25 | Method, device and system for distributing enterprise user charging flow |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111241504.9A CN113784301B (en) | 2021-10-25 | 2021-10-25 | Method, device and system for distributing enterprise user charging flow |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113784301A true CN113784301A (en) | 2021-12-10 |
CN113784301B CN113784301B (en) | 2024-02-27 |
Family
ID=78873503
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111241504.9A Active CN113784301B (en) | 2021-10-25 | 2021-10-25 | Method, device and system for distributing enterprise user charging flow |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113784301B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140279320A1 (en) * | 2013-03-15 | 2014-09-18 | Bracket Computing, Inc. | Allocating and pricing virtual resources |
CN105611519A (en) * | 2014-11-13 | 2016-05-25 | 中兴通讯股份有限公司 | Packet gateway enterprise-level charging method and packet gateway enterprise-level charging device |
CN110418022A (en) * | 2018-04-28 | 2019-11-05 | 华为技术有限公司 | The method and device of flow package is adjusted for multiple user identifiers |
CN110557339A (en) * | 2018-05-30 | 2019-12-10 | 阿里巴巴集团控股有限公司 | flow planning method and device, computer equipment and storage medium |
-
2021
- 2021-10-25 CN CN202111241504.9A patent/CN113784301B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140279320A1 (en) * | 2013-03-15 | 2014-09-18 | Bracket Computing, Inc. | Allocating and pricing virtual resources |
CN105611519A (en) * | 2014-11-13 | 2016-05-25 | 中兴通讯股份有限公司 | Packet gateway enterprise-level charging method and packet gateway enterprise-level charging device |
CN110418022A (en) * | 2018-04-28 | 2019-11-05 | 华为技术有限公司 | The method and device of flow package is adjusted for multiple user identifiers |
CN110557339A (en) * | 2018-05-30 | 2019-12-10 | 阿里巴巴集团控股有限公司 | flow planning method and device, computer equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN113784301B (en) | 2024-02-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10949257B2 (en) | System and method for scheduling workload based on a credit-based mechanism | |
Kasbekar et al. | Spectrum auction framework for access allocation in cognitive radio networks | |
Czumaj et al. | Tight bounds for worst-case equilibria | |
CN110418022B (en) | Method and device for adjusting flow package for multiple user identifications | |
US20050174944A1 (en) | Bandwidth regulation | |
CN109002357B (en) | Resource allocation method and device and Internet of things system | |
CN101645782A (en) | Online billing method and system based on user traffic volume | |
CN107948084B (en) | Current limiting method and device | |
CN105721350A (en) | Intelligent bandwidth allocation method and apparatus | |
CN110417561B (en) | Block chain-based distributed charging method, device and system | |
Wang et al. | The role of data cap in optimal two-part network pricing | |
US8341044B1 (en) | System, method, and computer program product for rating and re-rating events | |
CN106936867A (en) | The response method and device of a kind of service request | |
CN109450654B (en) | Cloud service charging method based on demand change | |
CN113784301A (en) | Method and device for distributing enterprise user charging flow and flow distribution system | |
CN106982126A (en) | A kind of resource-sharing charging method and message accounting, memory bank | |
CN110992011A (en) | Data splitting method and device, electronic equipment and storage medium | |
CN109618070B (en) | Call bill charging method, device, equipment and medium | |
CN110662188A (en) | Charging method and system | |
CN110557339A (en) | flow planning method and device, computer equipment and storage medium | |
WO2020166617A1 (en) | Resource-contention arbitration apparatus, resource-contention arbitration method, and program | |
Courcoubetis et al. | Pricing in a large single link loss system | |
Gharakheili et al. | An economic model for a new broadband ecosystem based on fast and slow lanes | |
CN113254208A (en) | Load balancing method and device for server, server and storage medium | |
CN112004058B (en) | Intelligent resource allocation method, device and equipment for multi-level domain monitoring system |
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 |