CN110177348B - Flow authorization control method and device - Google Patents

Flow authorization control method and device Download PDF

Info

Publication number
CN110177348B
CN110177348B CN201910325286.3A CN201910325286A CN110177348B CN 110177348 B CN110177348 B CN 110177348B CN 201910325286 A CN201910325286 A CN 201910325286A CN 110177348 B CN110177348 B CN 110177348B
Authority
CN
China
Prior art keywords
user
internet
authorization
surfing
internet access
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
CN201910325286.3A
Other languages
Chinese (zh)
Other versions
CN110177348A (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 Hebei Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Group Hebei 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 Hebei Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201910325286.3A priority Critical patent/CN110177348B/en
Publication of CN110177348A publication Critical patent/CN110177348A/en
Application granted granted Critical
Publication of CN110177348B publication Critical patent/CN110177348B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/14Charging, metering or billing arrangements for data wireline or wireless communications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/10Flow control between communication endpoints
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/24Accounting or billing

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a flow authorization control method and a device. The method comprises the following steps: receiving a network access request message; acquiring a user static characteristic and a user dynamic internet access characteristic according to the internet access request message; calculating the internet surfing authorization quantity according to the user static characteristics and the user dynamic internet surfing characteristics; and responding to the Internet surfing request message, generating a response message according to the Internet surfing authorization quantity, and returning the response message to authorize the user according to the Internet surfing authorization quantity. Based on the scheme provided by the invention, the authorization of all users according to the same authorization amount is abandoned, the differential authorization is carried out on different users, and the online authorization amount is calculated according to the user static characteristics and the user dynamic online characteristics of the users, so that the data service can be better provided for the users, the user online experience is enhanced, in addition, the message interaction amount of a BOSS system and network equipment is greatly reduced, the telephone bill number of the users is reduced, and the system consumption of the BOSS system is greatly reduced.

Description

Flow authorization control method and device
Technical Field
The invention relates to the technical field of communication, in particular to a flow authorization control method and a flow authorization control device.
Background
Along with the rapid development of the mobile internet, the number of 4G users is increased explosively, particularly, unlimited users are increased rapidly, the flow is increased explosively, users have higher and higher requirements on the flow service quality of operators and are more and more sensitive to flow charging, and the current mobile data charging mode is online charging so as to improve the accuracy and prompt timeliness of the flow charging of the users and improve the satisfaction degree of the users on the flow use. At present, about more than 95% of user data services are in an online charging mode.
The popularization and use of online charging greatly improve the charging accuracy and the prompt rate, but with the rapid development of unlimited services and the rapid increase of User data traffic (APRU) (Average income Per User), the online charging message volume also shows explosive growth, and the system has great pressure on both the Business and Operation Support System (BOSS) and the network bandwidth capacity.
The current flow online charging adopts a uniform processing flow for all types of service codes:
DCC message sorting to generate standard charging event; calling conversion pretreatment, wherein the effect is equal to the routing mapping pretreatment (2001) + source conversion pretreatment (9510) of V3R 1; calling standard preprocessing, and executing operations such as office data mapping and number normalization as the standard preprocessing function of V3R 1; the CBE (converged charging engine) initiates an ARQ reQuest (Automatic Repeat-reQuest), transmits the ARQ reQuest to BDS number information and service start time, and requests charging related data; the BDS (charging data service) processes the ARQ request, executes data matching, inquires product information, inquires present amount, inquires cumulant, inquires account book, matches account period, sets marks in the calling and called groups, and then returns the inquired data information to the CBE; the CBE caches the data information returned by the BDS in the sessionStore for the subsequent CBE side to access through data query; the CBE performs rating, reconciliation (generating only bills); if the balance is 0 and the user does not have a payment plan, the CBE does not need to interact with the BDS and directly returns the authorization amount to be 0; the CBE initiates AOQ request, transmits the bill details to BDS, and reserves the charge; the BDS processes AOQ the request, executes the real-time account division and real-time account discount; then calling a reserved interface according to the final bill; if the reservation is successful, returning a reservation result to the CBE; if the reservation fails, returning the latest balance account to the CBE; the CBE judges according to BDS return, if the reservation fails, the back calculation is carried out according to the returned latest balance book, then the reservation is carried out again to the BDS according to the bill cost after the back calculation, if the reservation still fails, the error processing is carried out, and the release or the denial of service is executed; and the CBE judges according to the BDS return, if the reservation is successful, the packet return preprocessing is executed, and the calculated authorization amount is issued.
The above online charging process has the following problems: the authorization amount corresponding to the flow data distributed to the users each time is 15M, the authorization amount is single and inflexible, and the high-frequency message interaction increases the system load and increases the system performance consumption.
Disclosure of Invention
In view of the above, the present invention is proposed to provide a traffic authorization control method and apparatus that overcomes or at least partially solves the above problems.
According to an aspect of the present invention, there is provided a traffic authorization control method, including:
receiving a network access request message;
acquiring a user static characteristic and a user dynamic internet access characteristic according to the internet access request message;
calculating the internet surfing authorization quantity according to the user static characteristics and the user dynamic internet surfing characteristics;
and responding to the Internet surfing request message, generating a response message according to the Internet surfing authorization quantity, and returning the response message to authorize the user according to the Internet surfing authorization quantity.
According to another aspect of the present invention, there is provided a traffic authorization control device, including:
the receiving module is suitable for receiving the Internet surfing request message;
the acquisition module is suitable for acquiring the static characteristics and the dynamic internet access characteristics of the user according to the internet access request message;
the computing module is suitable for computing the internet surfing authorization quantity according to the user static characteristics and the user dynamic internet surfing characteristics;
and the response module is suitable for responding the internet surfing request message, generating a response message according to the internet surfing authorization quantity and returning the response message so as to authorize the user according to the internet surfing authorization quantity.
According to still another aspect of the present invention, there is provided an electronic apparatus including: the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is used for storing at least one executable instruction, and the executable instruction enables the processor to execute the operation corresponding to the flow authorization control method.
According to still another aspect of the present invention, a computer storage medium is provided, where at least one executable instruction is stored in the storage medium, and the executable instruction causes a processor to perform operations corresponding to the above-mentioned traffic authorization control method.
According to the scheme provided by the invention, an internet surfing request message is received; acquiring a user static characteristic and a user dynamic internet access characteristic according to the internet access request message; calculating the internet surfing authorization quantity according to the user static characteristics and the user dynamic internet surfing characteristics; and responding to the Internet surfing request message, generating a response message according to the Internet surfing authorization quantity, and returning the response message to authorize the user according to the Internet surfing authorization quantity. Based on the scheme provided by the invention, the authorization of all users according to the same authorization amount is abandoned, the differential authorization is carried out on different users, and the online authorization amount is calculated according to the user static characteristics and the user dynamic online characteristics of the users, so that the data service can be better provided for the users, the user online experience is enhanced, in addition, the message interaction amount of a BOSS system and network equipment is greatly reduced, the telephone bill number of the users is reduced, and the system consumption of an online charging system is greatly reduced.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 shows a flow diagram of a traffic authorization control method according to an embodiment of the invention;
fig. 2 shows a flow chart of a traffic authorization control method according to another embodiment of the invention;
fig. 3 shows a schematic structural diagram of a flow authorization control device according to an embodiment of the invention;
fig. 4 shows a schematic structural diagram of an electronic device according to an embodiment of the invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Fig. 1 is a flow chart illustrating a traffic authorization control method according to an embodiment of the invention. As shown in fig. 1, the method comprises the steps of:
step S100, receiving an Internet access request message.
The method comprises the following steps that a user sends an internet request message to a BOSS system through network element equipment in the process of using a traffic data service, wherein the request type of the internet request message comprises the following steps: the method comprises three types of initial Init request, Update request and termination Term request, wherein the internet access request message of the initial Init request type represents that a user uses flow data for the first time in the current time period, the internet access request message of the Update request type represents that the user uses the flow data corresponding to the internet access authorization amount, and the internet access flow data is requested again.
After receiving the internet request message, the BOSS system forwards the received internet request message to the flow authorization control device, and the flow authorization control device receives the internet request message sent by the BOSS system.
Step S101, obtaining the user static characteristic and the user dynamic internet characteristic according to the internet request message.
In order to realize differential authorization for users, a method that all users uniformly authorize according to the same authorization amount is abandoned, and after an internet request message is received, a user static characteristic and a user dynamic internet characteristic corresponding to the user are obtained according to the internet request message. Wherein, the user static characteristics are characteristics related to flow service; the user dynamic internet access characteristic is a characteristic related to the internet access behavior of the user.
And step S102, calculating the internet surfing authorization quantity according to the user static characteristics and the user dynamic internet surfing characteristics.
After the user static characteristic and the user dynamic internet access characteristic are obtained, the internet access authorization amount can be calculated according to the user static characteristic and the user dynamic internet access characteristic. The internet access authorization amount refers to a flow quota that can be used by the user in the internet access process of the user. For different users, the user static characteristics and the user dynamic internet access characteristics corresponding to the user are different, so that the internet access authorization amount calculated based on the user static characteristics and the user dynamic internet access characteristics is different.
And step S103, responding to the Internet surfing request message, generating a response message according to the Internet surfing authorization quantity, and returning the response message to authorize the user according to the Internet surfing authorization quantity.
After the internet surfing authorization amount is obtained through calculation, responding to the internet surfing request message, generating a response message according to the internet surfing authorization amount, namely the response message contains the internet surfing authorization amount, returning the response message to the BOSS system, forwarding the received response message to the network element equipment by the BOSS system, and authorizing the user by the network element equipment according to the internet surfing authorization amount in the response message.
According to the method provided by the embodiment of the invention, the internet surfing request message is received; acquiring a user static characteristic and a user dynamic internet access characteristic according to the internet access request message; calculating the internet surfing authorization quantity according to the user static characteristics and the user dynamic internet surfing characteristics; and responding to the Internet surfing request message, generating a response message according to the Internet surfing authorization quantity, and returning the response message to authorize the user according to the Internet surfing authorization quantity. Based on the scheme provided by the invention, the authorization of all users according to the same authorization amount is abandoned, the differential authorization is carried out on different users, and the online authorization amount is calculated according to the user static characteristics and the user dynamic online characteristics of the users, so that the data service can be better provided for the users, the user online experience is enhanced, in addition, the message interaction amount of a BOSS system and network equipment is greatly reduced, the telephone bill number of the users is reduced, and the system consumption of an online charging system is greatly reduced.
Fig. 2 is a flow chart of a traffic authorization control method according to another embodiment of the invention. As shown in fig. 2, the method comprises the steps of:
step S200, receiving the Internet access request message carrying the user identification.
The method comprises the following steps that a user sends an internet request message to a BOSS system through network element equipment in the process of using a traffic data service, wherein the request type of the internet request message comprises the following steps: the method comprises three types of initial Init request, Update request and termination Term request, wherein the internet access request message of the initial Init request type represents that a user uses flow data for the first time in the current time period, the internet access request message of the Update request type represents that the user uses the flow data corresponding to the internet access authorization amount, and the internet access flow data is requested again.
After receiving the internet request message, the BOSS system forwards the received internet request message to the flow authorization control device, and the flow authorization control device receives the internet request message sent by the BOSS system. Wherein, the internet request message carries the user identifier.
Step S201, inquiring the static feature table according to the user identification to obtain the user static feature corresponding to the user identification.
In this embodiment, a static feature table is maintained, and the static feature table records user static features of each user, for example, records a user identifier, service remaining traffic data, and a specified traffic service subscription feature, where the specified traffic service subscription feature is a subscription feature of an unlimited traffic package, for example, a subscription unlimited traffic package is marked as 1, an unsubscribed unlimited traffic package is marked as 0, and the service remaining traffic data changes with a change in traffic used by the user.
After receiving the internet access request message carrying the user identifier, querying a static feature table according to the user identifier, thereby obtaining a user static feature corresponding to the user identifier, wherein the user static feature comprises: the remaining traffic data of the service, the specified traffic service subscription characteristic, for example, the remaining traffic data of the service is 150M, and the specified traffic service subscription characteristic is 1, which are only for illustration and have no limiting effect. After the user static characteristics are obtained, the user static characteristics are cached in the SessionStore memory so as to be convenient for subsequent use.
Step S202, extracting dynamic user internet access characteristics from the ticket information corresponding to the user identification.
The call ticket information records detailed information of user traffic consumption, and call ticket information generated by the user consumption is recorded for each user, so that dynamic internet access characteristics of the user can be extracted from the call ticket information corresponding to the user identification. The user dynamic internet access features comprise: the call ticket Internet access rate, the single call ticket information flow and the call ticket duration. The embodiment takes the internet access rate of the previous ticket, the information flow of the previous ticket, the duration of the previous ticket, the internet access rate of the previous ticket, the information flow of the previous ticket, and the duration of the previous ticket as the dynamic internet access characteristics of the user.
Step S203, inquiring the static characteristic model according to the static characteristic of the user to obtain the corresponding estimated authorization quantity.
In this embodiment, a static feature model is pre-established, and the static feature model records the estimated authorization amount that can be allocated to the user under various conditions, where the static feature model may be as shown in table 1 below, and after obtaining the static feature of the user, the static feature model is queried according to the static feature of the user to obtain the corresponding estimated authorization amount. For example, the remaining traffic data of the service is 500M, the service subscription characteristic is 1, and the estimated authorization amount can be determined to be 80M by querying the static characteristic model.
The estimated authorization amount in the static characteristic model and the flow data in the judgment condition can be flexibly set according to actual experience, which is only an example and has no limiting function. Wherein if the user static characteristics indicate that the user has not ordered an unlimited number of packages, the user is assigned a fixed authorized amount according to existing methods.
Table 1:
Figure BDA0002035999550000071
in this embodiment, a dynamic internet access model is further established, and after obtaining the dynamic internet access characteristics of the user, the dynamic internet access model may be queried according to the dynamic internet access characteristics of the user to obtain the authorized quantity weight, and specifically, the authorized quantity weight may be determined by using the methods in steps S204 to S205:
and step S204, classifying the dynamic internet access characteristics of the user by using a preset classification algorithm to obtain the internet access behavior category of the user.
The user dynamic internet access characteristics comprise: the call ticket Internet access rate, the single call ticket information flow and the call ticket duration.
After the dynamic user internet access features are extracted from the ticket information corresponding to the user identification, the dynamic user internet access features can be classified by using a preset classification algorithm to obtain the user internet access behavior category. The categories of user internet behavior can be divided into: video category, text category, picture category. In this embodiment, the user's online behavior may be classified using a naive bayes classification algorithm.
Wherein, a basic algorithm flow of the naive Bayesian classification is as follows:
(1) let x be { a ═ a1,a2,…,amIs an item to be classified, and each a is a feature of xAn attribute.
(2) There is a set of classes C ═ y1,y2,…,yn}
(3) Calculating P (y)1|x),P(y2|x),...,P(yn|x)
(4) If P (y)k|x)=max{P(y1|x),P(y2|x),...,P(yn| x) }, then x ∈ yk
Therefore, as can be seen from the above, the key step of the algorithm is the calculation of each conditional probability in (3), which can be calculated based on the independence assumption:
1. and finding a set of items to be classified with known classification, wherein the set is called a training sample set.
2. And (3) counting to obtain a conditional probability estimation value of each characteristic attribute under each category, namely:
P(a1|y1),P(a2|y1),...,P(am|y1)
P(a1|y2),P(a2|y2),...,P(am|y2)
Figure BDA0002035999550000081
P(a1|yn),P(a2|yn),...,P(am|yn)
3. if the characteristic attributes are conditionally independent, the following derivation is made according to Bayes' theorem:
P(yi|x)=P(x|yi)P(yi)/P(x)
since the denominator is constant for all classes, the algorithm is to solve the numerator maximization problem. Because the characteristic attributes are conditional independent, there are:
Figure BDA0002035999550000082
based on the above description, the present embodiment may specifically determine the internet surfing behavior category of the user by the following method: determining the dynamic internet access characteristics of the user: after the last call ticket network access rate, the last call ticket information flow, the last call ticket time length, the last call ticket network access rate, the last call ticket information flow and the last call ticket time length, P (y) is calculated for each category respectivelyi) For each user dynamic internet access feature, the conditional probability of each feature is calculated, and P (x | y) is calculated for each categoryi)P(yi) With P (x | y)i)P(yi) The maximum item is the category to which the user surfing behavior belongs, so that the category of the user surfing behavior is obtained. The user internet behavior category can be divided into the following categories according to the content watched by the user: the user internet access behavior category is determined to be one of a video category, a picture category and a character category.
Of course, the present embodiment is not limited to determining the user internet behavior category by using the naive bayes algorithm, and may also use a decision tree algorithm, a support vector machine algorithm, and the like, which are not described in detail herein.
Step S205, inquiring the dynamic Internet access model based on the Internet access behavior category of the user and the dynamic characteristics of the user to obtain the authorization quantity weight.
In this embodiment, a dynamic internet access model is pre-established, which records various internet access behavior types, corresponding judgment conditions and authorized amount weights, as shown in table 2, after determining the user internet access behavior type and the user dynamic characteristics, the dynamic internet access model can be queried based on the internet access rate of the last ticket in the user internet access behavior type and the user dynamic characteristics, so as to obtain the authorized amount weights matched with the dynamic internet access model. For example, the determined internet access behavior category of the user is a picture category, the internet access rate of the previous ticket is 256k, and the dynamic internet access model is queried based on the picture category and the internet access rate 256k to obtain an authorized quantity weight value of 1.
Table 2:
user internet access behavior categories Judgment of conditions Authorization quantity weight value
Categories of characters Speed of network access<=128k 0.5
Picture classification 128k=<Speed of network access>=512k 1
Video categories Speed of network access>512k 2
The authorization amount weight in the dynamic internet access model may be flexibly set according to actual experience, which is only an example and does not have any limiting function.
Step S206, determining the internet surfing rate of the user according to the internet surfing behavior category of the user.
The speed of the user on the internet reflects the speed of the user on the internet, and directly reflects whether the user can be blocked or not when the user is on the internet, the current speed limit is limited only by limiting according to the sum of flow (for example, 40G and 60G), resources cannot be fully utilized before the speed limit, the user experience is not friendly, and the speed is not differentially controlled according to different internet behaviors of the user, for example, the speed requirements of the user on watching videos, pictures and characters are different, the internet surfing speed required by the video watching is higher than that required by the picture watching, the internet surfing speed required by the picture watching is higher than that required by the character browsing, but the existing scheme does not distinguish, and the differential speed control is realized.
In order to save network bandwidth resources, an operator can serve more users under the condition of the same bandwidth resources, the utilization rate of network resources is improved, and after the category of the internet surfing behavior of the user is determined by using a preset classification algorithm, the internet surfing speed of the user can be determined according to the category of the internet surfing behavior, so that the speed control is performed on the internet surfing behavior of the user. Specifically, table 3 records the internet access rates corresponding to various internet access behavior categories, and after the internet access behavior categories of the users are obtained, table 3 is queried to obtain the internet access rates corresponding to the internet access behavior categories of the users.
The non-speed limit corresponding to the video category in table 3 specifically means that the maximum speed of the user for surfing the internet is not limited, but due to the influence of the network bandwidth, in actual life, the speed of the user for surfing the internet is also limited due to the network bandwidth.
Table 3:
user internet access behavior categories User internet access rate
Categories of characters 128k
Picture classification 512k
Video categories Speed-unlimited
Step S207, calculating the authorization quantity of the network according to the authorization quantity weight and the estimated authorization quantity.
After the authorization quantity weight and the estimated authorization quantity are obtained through calculation, the internet access authorization quantity can be obtained through calculation by using the following formula: and estimating the authorization quantity as the authorization quantity weight.
And S208, responding to the Internet access request message, generating a response message according to the Internet access authorization quantity and the Internet access rate of the user, and returning the response message to authorize the user according to the Internet access authorization quantity and control the rate of the user according to the Internet access rate of the user.
After the internet surfing authorization amount and the user internet surfing rate are obtained through calculation, responding to the internet surfing request message, generating a response message according to the internet surfing authorization amount and the user internet surfing rate, namely the response message comprises the internet surfing authorization amount and the user internet surfing rate, returning the response message to the BOSS system, forwarding the received response message to the network element equipment by the BOSS system, authorizing the user according to the internet surfing authorization amount in the response message, and controlling the rate of the user according to the user internet surfing rate by the network element equipment.
According to the method provided by the embodiment of the invention, authorization of all users according to the same authorization amount is abandoned, differential authorization is carried out on different users, and the online authorization amount is calculated according to the user static characteristics and the user dynamic online characteristics of the users, so that data service can be better provided for the users, the user online experience is enhanced, in addition, the message interaction amount and the call ticket amount of a BOSS system and network equipment are greatly reduced, the number of call tickets of the users is reduced, the system consumption of an online charging system is greatly reduced, and more efficient charging is provided; by determining the category of the internet surfing behavior of the user and combining the internet surfing behavior of the user to carry out dynamic rate control on different users, the users with different internet surfing behaviors have matched internet surfing rates, the internet surfing behavior of the user is not influenced, network bandwidth resources can be saved, operators can serve more customers under the condition of the same bandwidth resources, and the utilization rate of the network resources is improved; in addition, the method is not required to be used for rate control, and is also suitable for other internet service scenes, for example, for fixed network broadband services, and the method can also be used for flow authorization.
Fig. 3 shows a schematic structural diagram of a flow authorization control device according to an embodiment of the invention. As shown in fig. 3, the apparatus includes: a receiving module 300, an obtaining module 310, a calculating module 320, and a responding module 330.
A receiving module 300 adapted to receive a network access request message;
the obtaining module 310 is adapted to obtain a user static feature and a user dynamic internet access feature according to the internet access request message;
the computing module 320 is suitable for computing the internet surfing authorization quantity according to the user static characteristics and the user dynamic internet surfing characteristics;
the response module 330 is adapted to respond to the internet access request message, generate a response message according to the internet access authorization amount, and return the response message to authorize the user according to the internet access authorization amount.
Optionally, the calculation module is further adapted to: inquiring a static characteristic model according to the static characteristics of the user to obtain a corresponding estimated authorization amount;
inquiring a dynamic internet access model according to the dynamic internet access characteristics of the user to obtain an authorization quantity weight;
and calculating the on-line authorization quantity according to the authorization quantity weight and the estimated authorization quantity.
Optionally, the calculation module is further adapted to: classifying the dynamic internet access characteristics of the users by using a preset classification algorithm to obtain the internet access behavior categories of the users;
and inquiring the dynamic internet access model based on the user internet access behavior category and the user dynamic characteristics to obtain the authorization quantity weight.
Optionally, the apparatus further comprises: the determining module is suitable for determining the internet surfing speed of the user according to the internet surfing behavior category of the user;
the response module is further adapted to: responding to the request message of surfing the Internet, generating a response message according to the authorization quantity of surfing the Internet and the speed of surfing the Internet of the user, and returning the response message to authorize the user according to the authorization quantity of surfing the Internet and control the speed of the user according to the speed of surfing the Internet of the user.
Optionally, the internet access request message carries a user identifier;
the second obtaining module is further adapted to: inquiring a static feature table according to the user identification to obtain the user static feature corresponding to the user identification;
and extracting dynamic user internet access characteristics from the ticket information corresponding to the user identification.
Optionally, the user static features include: service residual flow data and specified flow service ordering characteristics;
the user dynamic internet access characteristics comprise: the call ticket Internet access rate, the single call ticket information flow and the call ticket duration.
Optionally, the preset classification algorithm includes: naive bayes algorithm.
According to the device provided by the embodiment of the invention, the internet surfing request message is received; acquiring a user static characteristic and a user dynamic internet access characteristic according to the internet access request message; calculating the internet surfing authorization quantity according to the user static characteristics and the user dynamic internet surfing characteristics; and responding to the Internet surfing request message, generating a response message according to the Internet surfing authorization quantity, and returning the response message to authorize the user according to the Internet surfing authorization quantity. Based on the scheme provided by the invention, the authorization of all users according to the same authorization amount is abandoned, the differential authorization is carried out on different users, and the online authorization amount is calculated according to the user static characteristics and the user dynamic online characteristics of the users, so that the data service can be better provided for the users, the user online experience is enhanced, in addition, the message interaction amount of a BOSS system and network equipment is greatly reduced, the telephone bill number of the users is reduced, and the system consumption of an online charging system is greatly reduced.
The embodiment of the invention also provides a nonvolatile computer storage medium, wherein the computer storage medium stores at least one executable instruction, and the computer executable instruction can execute the flow authorization control method in any method embodiment.
Fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, and the specific embodiment of the present invention does not limit the specific implementation of the electronic device.
As shown in fig. 4, the electronic device may include: a processor (processor), a Communications Interface (Communications Interface), a memory (memory), and a Communications bus.
Wherein:
the processor, the communication interface, and the memory communicate with each other via a communication bus.
A communication interface for communicating with network elements of other devices, such as clients or other servers.
The processor is configured to execute a program, and may specifically execute relevant steps in the above-described embodiment of the traffic authorization control method.
In particular, the program may include program code comprising computer operating instructions.
The processor may be a central processing unit CPU or an application Specific Integrated circuit asic or one or more Integrated circuits configured to implement embodiments of the present invention. The electronic device comprises one or more processors, which can be the same type of processor, such as one or more CPUs; or may be different types of processors such as one or more CPUs and one or more ASICs.
And the memory is used for storing programs. The memory may comprise high-speed RAM memory, and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
The program may specifically be adapted to cause a processor to perform the following operations:
the program may specifically be configured to cause the processor to execute the traffic authorization control method in any of the method embodiments described above. For specific implementation of each step in the program, reference may be made to corresponding steps and corresponding descriptions in units in the foregoing traffic authorization control embodiment, which are not described herein again. It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described devices and modules may refer to the corresponding process descriptions in the foregoing method embodiments, and are not described herein again.
The algorithms and displays presented herein are not inherently related to any particular computer, virtual machine, or other apparatus. Various general purpose systems may also be used with the teachings herein. The required structure for constructing such a system will be apparent from the description above. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functions of some or all of the components in a flow authorization control device according to embodiments of the invention. The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.

Claims (9)

1. A traffic authorization control method comprises the following steps:
receiving a network access request message;
acquiring a user static characteristic and a user dynamic internet access characteristic according to the internet access request message;
calculating the internet surfing authorization quantity according to the user static characteristics and the user dynamic internet surfing characteristics;
responding to the internet surfing request message, generating a response message according to the internet surfing authorization quantity, and returning the response message to authorize the user according to the internet surfing authorization quantity;
wherein, calculating the internet surfing authorization amount according to the user static characteristics and the user dynamic internet surfing characteristics further comprises:
inquiring a static characteristic model according to the user static characteristic to obtain a corresponding estimated authorization amount;
inquiring a dynamic internet access model according to the user dynamic internet access characteristics to obtain an authorization quantity weight;
and calculating the on-line authorization quantity according to the authorization quantity weight and the estimated authorization quantity.
2. The method of claim 1, wherein querying a dynamic internet model according to the user dynamic internet characteristics to obtain an authorization amount weight further comprises:
classifying the dynamic internet access characteristics of the users by using a preset classification algorithm to obtain the internet access behavior categories of the users;
and inquiring a dynamic internet access model based on the user internet access behavior category and the user dynamic characteristics to obtain an authorization quantity weight.
3. The method of claim 2, wherein after obtaining the category of user surfing behavior, the method further comprises: determining the internet surfing rate of the user according to the internet surfing behavior category of the user;
responding to the internet surfing request message, generating a response message according to the internet surfing authorization quantity, returning the response message, and authorizing the user according to the internet surfing authorization quantity further comprises:
responding the Internet surfing request message, generating a response message according to the Internet surfing authorization quantity and the user Internet surfing rate, and returning the response message to authorize the user according to the Internet surfing authorization quantity and control the user rate according to the user Internet surfing rate.
4. The method according to any one of claims 1-3, wherein the Internet access request message carries a user identifier;
according to the internet request message, acquiring the user static characteristics and the user dynamic internet characteristics further comprises:
inquiring a static feature table according to the user identification to obtain the user static feature corresponding to the user identification;
and extracting dynamic user internet access characteristics from the ticket information corresponding to the user identification.
5. The method of any of claims 1-3, wherein the user static features include: service residual flow data and specified flow service ordering characteristics;
the user dynamic internet access features comprise: the call ticket Internet access rate, the single call ticket information flow and the call ticket duration.
6. The method of claim 2, wherein the preset classification algorithm comprises: naive bayes algorithm.
7. A traffic authorization control device, comprising:
the receiving module is suitable for receiving the Internet surfing request message;
the acquisition module is suitable for acquiring the static characteristics and the dynamic internet access characteristics of the user according to the internet access request message;
the computing module is suitable for computing the internet surfing authorization quantity according to the user static characteristics and the user dynamic internet surfing characteristics;
the response module is suitable for responding to the internet surfing request message, generating a response message according to the internet surfing authorization quantity, and returning the response message to authorize the user according to the internet surfing authorization quantity;
wherein the computing module is further to:
inquiring a static characteristic model according to the user static characteristic to obtain a corresponding estimated authorization amount;
inquiring a dynamic internet access model according to the user dynamic internet access characteristics to obtain an authorization quantity weight;
and calculating the on-line authorization quantity according to the authorization quantity weight and the estimated authorization quantity.
8. An electronic device, comprising: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is used for storing at least one executable instruction, and the executable instruction causes the processor to execute the corresponding operation of the flow authorization control method according to any one of claims 1-6.
9. A computer storage medium having at least one executable instruction stored therein, the executable instruction causing a processor to perform operations corresponding to the traffic authorization control method according to any one of claims 1-6.
CN201910325286.3A 2019-04-22 2019-04-22 Flow authorization control method and device Active CN110177348B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910325286.3A CN110177348B (en) 2019-04-22 2019-04-22 Flow authorization control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910325286.3A CN110177348B (en) 2019-04-22 2019-04-22 Flow authorization control method and device

Publications (2)

Publication Number Publication Date
CN110177348A CN110177348A (en) 2019-08-27
CN110177348B true CN110177348B (en) 2021-03-19

Family

ID=67689750

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910325286.3A Active CN110177348B (en) 2019-04-22 2019-04-22 Flow authorization control method and device

Country Status (1)

Country Link
CN (1) CN110177348B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113015116B (en) * 2019-12-20 2022-06-03 中国移动通信集团陕西有限公司 Dynamic quota method and device based on flow prediction
CN111447577B (en) * 2020-02-18 2021-07-27 中国联合网络通信集团有限公司 Quota management method and device
CN113660624B (en) * 2020-05-12 2023-07-07 中国移动通信集团河北有限公司 Traffic bill processing method, device, computing equipment and storage medium
CN114070791B (en) * 2020-07-29 2023-09-05 中国移动通信集团安徽有限公司 Speed limiting processing method and device for data traffic
CN116074135B (en) * 2023-01-31 2024-05-03 中国联合网络通信集团有限公司 Quota configuration method and quota configuration device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102256306A (en) * 2011-06-07 2011-11-23 华为软件技术有限公司 Method and device for controlling authorization of data service
CN102984751A (en) * 2012-11-07 2013-03-20 中兴通讯股份有限公司 Service control method and service control device
CN103079236A (en) * 2013-01-29 2013-05-01 华为软件技术有限公司 Traffic flow authorization method, device and system
CN103974221A (en) * 2013-01-25 2014-08-06 中国移动通信集团广东有限公司 Method and device for distributing packet domain real-time charging flow quotas
WO2017030515A1 (en) * 2015-08-18 2017-02-23 Avea Iletisim Hizmetleri Anonim Sirketi ( Teknoloji Merkezi ) A method for estimating flow size distributions
CN109120541A (en) * 2018-08-01 2019-01-01 Oppo(重庆)智能科技有限公司 Limit method, apparatus, terminal device and the storage medium of network speed

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102256306A (en) * 2011-06-07 2011-11-23 华为软件技术有限公司 Method and device for controlling authorization of data service
CN102984751A (en) * 2012-11-07 2013-03-20 中兴通讯股份有限公司 Service control method and service control device
CN103974221A (en) * 2013-01-25 2014-08-06 中国移动通信集团广东有限公司 Method and device for distributing packet domain real-time charging flow quotas
CN103079236A (en) * 2013-01-29 2013-05-01 华为软件技术有限公司 Traffic flow authorization method, device and system
WO2017030515A1 (en) * 2015-08-18 2017-02-23 Avea Iletisim Hizmetleri Anonim Sirketi ( Teknoloji Merkezi ) A method for estimating flow size distributions
CN109120541A (en) * 2018-08-01 2019-01-01 Oppo(重庆)智能科技有限公司 Limit method, apparatus, terminal device and the storage medium of network speed

Also Published As

Publication number Publication date
CN110177348A (en) 2019-08-27

Similar Documents

Publication Publication Date Title
CN110177348B (en) Flow authorization control method and device
US8374958B2 (en) Method and apparatus for the payment of internet content
CN107635251A (en) Fiduciary network traffics concocting method
CN106529914A (en) Automatic-urge charge method and device
CN113015116B (en) Dynamic quota method and device based on flow prediction
CN110175869A (en) Vehicle allocation method and device, electronic equipment and computer readable storage medium
CN114187072A (en) Aggregation taxi taking method and device, computer equipment and storage medium
CN110335061B (en) Transaction mode portrait establishing method, device, medium and electronic equipment
CN114070791A (en) Data flow rate limiting processing method and device
CN108073408B (en) System updating method and device of self-service terminal
CN111756796A (en) Method and device for pushing rights and interests resource information, storage medium and terminal
CN107451301B (en) Processing method, device, equipment and storage medium for real-time delivery bill mail
CN102802145A (en) Network service billing method, device and system
CN112488770A (en) Transaction pricing control method and device, equipment and medium thereof
CN113468886B (en) Work order processing method and device and computer equipment
CN110662188A (en) Charging method and system
US20040240648A1 (en) Dynamic processing of data processing instructions
CN114548810A (en) Cross-border e-commerce big data intelligent processing and transmission method and platform
CN110417851B (en) Data matching method, hosting platform, storage medium and computer equipment
CN113806621A (en) Information recommendation method and device, computer equipment and storage medium
CN115131085A (en) Method, device and equipment for processing super package bills
CN114820013A (en) Logistics pricing optimization method and device, computer equipment and storage medium
CN111681097A (en) Account type identification method, server, electronic equipment and system
CN112825045A (en) Payment request processing method, system and storage medium
CN114205764B (en) Traffic resource sharing method, device, equipment and computer readable 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