Nothing Special   »   [go: up one dir, main page]

CN109995539B - OCS (online charging System) traffic authorization method, OCS, server and readable storage medium - Google Patents

OCS (online charging System) traffic authorization method, OCS, server and readable storage medium Download PDF

Info

Publication number
CN109995539B
CN109995539B CN201711490218.XA CN201711490218A CN109995539B CN 109995539 B CN109995539 B CN 109995539B CN 201711490218 A CN201711490218 A CN 201711490218A CN 109995539 B CN109995539 B CN 109995539B
Authority
CN
China
Prior art keywords
traffic
flow
authorization
service
internet
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
CN201711490218.XA
Other languages
Chinese (zh)
Other versions
CN109995539A (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 Liaoning Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Group Liaoning 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 Liaoning Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201711490218.XA priority Critical patent/CN109995539B/en
Publication of CN109995539A publication Critical patent/CN109995539A/en
Application granted granted Critical
Publication of CN109995539B publication Critical patent/CN109995539B/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
    • H04L12/1403Architecture for metering, charging or billing
    • H04L12/1407Policy-and-charging control [PCC] architecture
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/14Network analysis or design
    • H04L41/145Network analysis or design involving simulating, designing, planning or modelling of a network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/14Network analysis or design
    • H04L41/147Network analysis or design for predicting network behaviour
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/80Actions related to the user profile or the type of traffic
    • H04L47/808User-type aware

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a flow authorization method of an OCS (online charging system), the OCS, a server and a readable storage medium, which are used for solving the technical problem that the authorization configuration accuracy of a user is low due to the fact that the dynamic authorization configuration mode of the OCS is not flexible enough in the prior art, so that the flexibility of the flow authorization configuration is improved, differential flow authorization can be realized for different users to meet the actual flow service requirements of the users as much as possible, and the flow service experience of the users is enhanced. The method comprises the following steps: establishing a flow authorization model according to the internet access behavior data of the terminal user and the service characteristics of the ordering service; acquiring a flow service request sent by terminal equipment corresponding to the terminal user; inputting the traffic service request into the traffic authorization model to obtain predicted traffic authorization information for the traffic service request; and sending the predicted traffic authorization information to a PGW (packet data network), so as to forward the predicted traffic authorization information to the terminal equipment through the PGW.

Description

OCS (online charging System) traffic authorization method, OCS, server and readable storage medium
Technical Field
The invention relates to the technical field of wireless communication, in particular to an OCS (online charging system) flow authorization method, an OCS, a server and a readable storage medium.
Background
At present, traffic services have become the main business of each large operator, and in order to ensure user experience and enterprise benefit in a communication network environment, each operator deploys an OCS (Online Charging System), which can charge various communication services (e.g., traffic services) of a user in real time, and a relationship between the OCS and each network element is shown in fig. 1. The rapid development of services requires that a Network element in a communication Network performs message and ticket change triggering processing from multiple dimensions, multiple factors such as user position, service content, Network type and the like cause the increase of interactive message volume of a PGW (Packet Data Network Gateway) and an OCS (online charging system), and the real-time message processing and Data storage capability of the OCS system face greater challenges.
At present, a mode is to deal with the rapid increase of the traffic volume by improving the service level expansion capability and the deployment efficiency of the OCS through, for example, a cloud architecture technology and a container technology, but such a mode of improving the processing capability of the OCS causes the system scale to be gradually enlarged, which is not beneficial to the long-term operation and the actual deployment of the system, so the purpose of reducing the voltage of the OCS system is further achieved by reducing the message interaction volume between the PGW and the OCS, and the most direct mode of reducing the message interaction volume is to increase the authorization volume of each traffic service request, so the frequency of message interaction is obviously reduced to achieve the purpose of reducing the voltage of the OCS system.
In the way of reducing the message interaction amount between the PGW and the OCS, the configuration from the initial static ladder authorization slice setting to the current dynamic authorization slice is also experienced, and in the current dynamic authorization slice configuration way, corresponding authorization slices can be dynamically configured according to different time periods or different service types, but the authorization slices configured for all users are the same, and differential authorization configuration cannot be realized according to the difference of each user, which may result in inaccurate authorization configuration for the user, that is, the way of dynamically configuring the authorization for the OCS in the prior art is not flexible enough, and the accuracy of the authorization configuration for the user is low.
Disclosure of Invention
The embodiment of the invention provides an OCS (online charging system) flow authorization method, an OCS, a server and a readable storage medium, which are used for solving the technical problem that the accuracy of authorization configuration of a user is low due to the fact that the OCS is not flexible enough in a dynamic authorization configuration mode in the prior art, so that the flexibility of flow authorization configuration is improved, differentiated flow authorization can be realized for different users to meet the actual flow service requirements of the users as much as possible, and the flow service experience of the users is enhanced.
In a first aspect, a method for authorizing traffic of an OCS is provided, where the method includes:
establishing a flow authorization model according to the internet access behavior data of the terminal user and the service characteristics of the ordering service;
acquiring a flow service request sent by terminal equipment corresponding to the terminal user;
inputting the traffic service request into the traffic authorization model to obtain predicted traffic authorization information for the traffic service request;
and sending the predicted traffic authorization information to a PGW (packet data network), so as to forward the predicted traffic authorization information to the terminal equipment through the PGW.
Optionally, the creating a traffic authorization model according to the internet access behavior data of the terminal user and the service characteristics of the subscription service includes:
abstracting the internet behavior data and the service characteristics of the ordering service into internet characteristic label classes; the Internet access feature tag class comprises at least one Internet access feature tag;
setting an initial weight for each internet surfing feature tag in the internet surfing feature tag class according to the internet surfing behavior data; the influence of the internet surfing feature tag with larger weight on the internet surfing behavior of the user is larger;
and creating the flow authorization model according to the Internet surfing feature tag class and the corresponding initial weight.
Optionally, inputting the traffic service request into the traffic authorization model to obtain predicted traffic authorization information for the traffic service request, where the method includes:
analyzing the flow service request to determine a plurality of internet access characteristic labels corresponding to the flow service request;
adding the weight values respectively corresponding to the plurality of internet access feature tags to obtain a total weight value corresponding to the traffic service request;
and determining the predicted flow authorization information according to the total weight value.
Optionally, determining the predicted traffic authorization information according to the total weight value includes:
after obtaining the total weight value, judging whether the flow service request is matched with a preset flow packet service included in the subscription service;
if the flow service request is matched with the preset flow packet service, adding a preset weight on the basis of the total weight to obtain a target total weight;
and determining the predicted flow authorization information according to the target total weight value.
Optionally, sending the predicted traffic authorization information to the PGW includes:
judging whether the predicted flow authorization information has errors according to a preset judgment rule;
if the predicted traffic authorization information is not in error, sending the predicted traffic authorization information to the PGW;
if the predicted flow authorization information is wrong, sending pre-configured authorization information to the PGW
Optionally, after sending the predicted traffic authorization information to the PGW, the method further includes:
acquiring actual traffic use information of traffic service performed by the terminal user based on the predicted traffic authorization information;
and inputting the predicted traffic authorization information and the actual traffic use information into the traffic authorization model to train the traffic authorization model so as to obtain the trained traffic authorization model.
In a second aspect, an OCS is provided, the OCS comprising;
the model creating module is used for creating a flow authorization model according to the internet behavior data of the terminal user and the service characteristics of the ordering service;
a first obtaining module, configured to obtain a traffic service request sent by a terminal device corresponding to the terminal user;
the authorization module is used for inputting the flow service request into the flow authorization model to obtain predicted flow authorization information aiming at the flow service request;
a sending module, configured to send the predicted traffic authorization information to a PGW, so as to forward the predicted traffic authorization information to the terminal device through the PGW.
Optionally, the model creating module is configured to:
abstracting the internet behavior data and the service characteristics of the ordering service into internet characteristic label classes; the Internet access feature tag class comprises at least one Internet access feature tag;
setting an initial weight for each internet surfing feature tag in the internet surfing feature tag class according to the internet surfing behavior data; the influence of the internet surfing feature tag with larger weight on the internet surfing behavior of the user is larger;
and creating the flow authorization model according to the Internet surfing feature tag class and the corresponding initial weight.
Optionally, the authorization module is configured to:
analyzing the flow service request to determine a plurality of internet access characteristic labels corresponding to the flow service request;
adding the weight values respectively corresponding to the plurality of internet access feature tags to obtain a total weight value corresponding to the traffic service request;
and determining the predicted flow authorization information according to the total weight value.
Optionally, the authorization module is configured to:
after obtaining the total weight value, judging whether the flow service request is matched with a preset flow packet service included in the subscription service;
if the flow service request is matched with the preset flow packet service, adding a preset weight on the basis of the total weight to obtain a target total weight;
and determining the predicted flow authorization information according to the target total weight value.
Optionally, the sending module is configured to:
judging whether the predicted flow authorization information has errors according to a preset judgment rule;
if the predicted traffic authorization information is not in error, sending the predicted traffic authorization information to the PGW;
and if the predicted flow authorization information is wrong, sending preset authorization information to the PGW.
Optionally, the OCS further includes:
a second obtaining module, configured to obtain actual traffic usage information of a traffic service performed by the terminal user based on the predicted traffic authorization information after the sending module sends the predicted traffic authorization information to a PGW;
and the model training module is used for inputting the predicted flow authorization information and the actual flow use information into the flow authorization model to train the flow authorization model so as to obtain the trained flow authorization model.
In a third aspect, a server is provided, which includes:
at least one processor;
a communication interface coupled to the at least one processor for transceiving information;
a memory coupled to the at least one processor;
wherein the memory stores instructions executable by the at least one processor, and the at least one processor performs the steps of the method for traffic authorization of an OCS according to any one of the first aspect by executing the instructions stored in the memory.
In a fourth aspect, a readable storage medium is provided, which is characterized by storing computer instructions, which when executed on a computer, cause the computer to perform the steps of the method for traffic authorization of an OCS according to any one of the first aspect.
In the embodiment of the invention, the flow authorization model can be created according to the internet access behavior data of the terminal user and the service characteristics of the subscription service, so that when the flow service request reported by the terminal user is obtained, the flow service request can be input into the created flow authorization model to obtain the predicted flow authorization information aiming at the flow service request, and finally, the obtained predicted flow authorization information is sent to the terminal equipment to realize the automatic authorization of the flow service request of the user. The traffic authorization model is created according to the internet access behavior data of the terminal user and by combining the service characteristics of the subscribed service, so that the pertinence is strong when the traffic service request of the user is estimated, the actual use requirement of the terminal user can be met as much as possible, the accuracy of traffic authorization configuration is further improved, differentiated traffic authorization can be performed for different terminal users, the traffic authorization mode is more flexible, the actual traffic service requirement of the user is met as much as possible, and the traffic service experience of the user is enhanced.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a schematic diagram of a relationship between an OCS and network elements in the prior art;
fig. 2 is a flowchart of a method for authorizing traffic of an OCS according to an embodiment of the present invention;
FIG. 3 is a block diagram of an OCS according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a server in the embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention. The embodiments and features of the embodiments of the present invention may be arbitrarily combined with each other without conflict. Also, while a logical order is shown in the flow diagrams, in some cases, the steps shown or described may be performed in an order different than here.
The terms "first" and "second" in the description and claims of the present invention and the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the term "comprises" and any variations thereof, which are intended to cover non-exclusive protection. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
In addition, the term "and/or" herein is only one kind of association relationship describing an associated object, and means that there may be three kinds of relationships, for example, a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" in this document generally indicates that the preceding and following related objects are in an "or" relationship unless otherwise specified.
The embodiment of the invention provides an OCS (online charging system) flow authorization method, an OCS, a server and a readable storage medium, which are used for solving the technical problem that the accuracy of authorization configuration of a user is low due to the fact that the OCS is not flexible enough in a dynamic authorization configuration mode in the prior art, so that the flexibility of flow authorization configuration is improved, differentiated flow authorization can be realized for different users to meet the actual flow service requirements of the users as much as possible, and the flow service experience of the users is enhanced.
In order to better understand the traffic authorization method of the OCS, the server and the readable storage medium provided in the embodiments of the present invention, the foregoing technical solutions will be described in detail with reference to the drawings and the specific embodiments of the specification.
First, an application scenario of the embodiment of the present invention is described.
The construction of the OCS marks the beginning of the BSS (Business Support System) participating in the process control of the user Business, from which the relationship between the BSS and the network element becomes more intimate, and the functional boundary of the BSS is rapidly expanded. In the process of service development and maturity, the OCS makes a breakthrough in improving the processing capacity of the system and reducing the load of the system, and also achieves a significant effect. Reviewing the construction process of the OCS, the technical means of automatic service identification control, peak clipping and pressure reduction, framework clouding and the like better solves the staged problem in the system development process, but always only focuses on the improvement of the capability of the OCS system or adopts the same flow authorization configuration for all terminal users without global consideration from the aspects of user self and service difference and the like, so that the current flow authorization mode for the terminal users is not flexible enough, the accuracy of the flow authorization for the terminal users is not high, the actual service requirements of different users cannot be met, the embodiment of the invention provides a scheme for realizing differentiated flow dynamic authorization for different users, improves the flexibility of the flow authorization configuration, and realizes the differentiated flow authorization for different users so as to meet the actual flow service requirements of the users as much as possible, and the flow service experience of the user is enhanced.
Referring to fig. 2, fig. 2 is a flowchart of a method for authorizing traffic of an OCS according to an embodiment of the present invention, and the method for authorizing traffic of an OCS according to an embodiment of the present invention may be applied to the OCS shown in fig. 1, for example. The flow of the method is described below.
Step 21: and establishing a flow authorization model according to the internet access behavior data of the terminal user and the service characteristics of the subscription service.
The terminal device may be a device capable of using a traffic service provided by an operator, such as different types of terminal devices including a mobile phone, a PAD (PAD), a PDA (Personal Digital Assistant), a wearable device (e.g., a smart watch), a laptop computer, and the like.
The internet access behavior of the end user refers to an operation behavior of accessing the internet by using a traffic service provided by an operator, and the internet access behavior data is usage information generated in the process of accessing the internet by using the traffic service, such as how much traffic is consumed in a certain time period, or how much traffic is consumed in a certain time period by using a certain specific APP (Application program), or an average network speed in a certain time period, for example.
The operator can provide a plurality of tariff packages or other value-added services for the user, the user can purchase a proper tariff package and selectively purchase some value-added services according to the use requirement of the user, and the tariff package and the value-added services purchased by the user are called subscription services in the embodiment of the invention. The service characteristics of the service may include account balance, free traffic within the package, total and remaining amounts of directed traffic (e.g., intra-provincial and domestic traffic), total and remaining amounts of timed traffic (e.g., off-hours traffic from 23:00 to 5:00 in the next morning), out-of-package overuse traffic, free minutes of conversation (including local and roaming), etc., since the traffic service belongs to one of the communication services, the traffic service characteristics are naturally available, such as the aforementioned free traffic within the package, the total and remaining of directed traffic (e.g., intra-provincial and domestic traffic), the total and remaining of timed traffic (e.g., idle traffic from 23:00 to 5:00 in the next morning), the actual configuration authority and the used condition of the corresponding subscribed service can be known through the service characteristics.
The internet behavior data of the end user and the service characteristics of the subscribed service can indicate the use habit, preference and special service requirement of the end user in the actual service using process, because the service subscribed by the user generally does not change greatly in a short time, in the above, the usage habit and actual service requirement of the terminal user can be approximately reflected by the historical internet access behavior data of the user and the service characteristics of the subscribed service, that is, the flow service request of the user can be pre-judged by the historical internet access behavior data of the user and the service characteristics of the subscribed service, therefore, in the embodiment of the present invention, a traffic authorization model corresponding to the end user is created according to the internet surfing behavior data of the end user and the service characteristics of the subscribed service, the flow authorization model can be used for carrying out pre-estimation judgment on the flow service request of the user later. The flow authorization model is created according to the historical internet access behavior data of the terminal user and by combining the service characteristics of the subscribed service, so that the pertinence is strong when the flow service request of the user is estimated in the follow-up process, the actual situation of the terminal user can be met as much as possible, the accuracy of service estimation is further improved, the OCS can perform differentiated model construction aiming at different terminal users, and the flow authorization mode is more flexible.
In the specific implementation process, the internet surfing behavior data and the service features of the subscribed services may be abstracted into a plurality of internet surfing feature tags, for example, the abstracted plurality of internet surfing feature tags are called internet surfing feature tags, each internet surfing feature tag is set with a corresponding initial weight, an internet surfing feature tag with a larger weight value indicates that an acting force affecting the internet surfing behavior of the user is larger, it can be understood that an internet surfing event corresponding to an internet surfing feature tag with a larger weight value is frequently performed by the user, a larger weight value indicates that the frequency of the corresponding internet surfing event performed by the user is higher, or an initial weight may be set for each internet surfing feature tag according to a system preset mode, further, a traffic authorization model for the terminal user is created according to the abstracted internet surfing feature tags and the corresponding initial weights, and the embodiment of the model creation algorithm adopted in the invention is not limited, the traffic authorization model may be created, for example, using any algorithm known in the art that enables model creation in embodiments of the present invention.
That is to say, a labeled user portrait model capable of indicating data of various aspects such as consumption behaviors, online behaviors, basic attributes and the like of the terminal user can be created according to the internet behavior data of the terminal user and the service characteristics of the ordered service, so that the obtained user picture can substantially reflect the normal service use condition of the terminal user, the differentiation and the accurate configuration of flow authorization are facilitated, and the use experience of the user is enhanced.
Referring to table 1, for example, 18 internet access feature tags shown in table 1 are abstracted according to internet access behavior data of a terminal user and service features of a subscription service, and in the embodiment of the present invention, the 18 internet access feature tags may be referred to as internet access feature tag classes of the terminal user.
TABLE 1
Serial number Internet access feature tag Initial weight
1 22:00 to the next morning 6:00 user internet traffic 0.79
2 6:00 to 12:00 user internet traffic 0.79
3 12:00 to 22:00 user internet traffic 0.85
4 User workday internet flowMeasurement of 0.66
5 User's holiday internet traffic 0.85
6 Free flow within a tariff package ordered by a user 0.43
7 The user service is classified as video 0.43
8 The user service is classified as web page 0.59
9 The service used by the user is mainly music 0.43
10 The user using service is mainly game 0.43
11 The user occupations as students 0.09
12 User occupation is amusement circle star 0.09
13 The user careers as an entrepreneur 0.09
14 The user cares as a common white collar 0.09
15 The user careers as a farmer 0.09
16 The age of the user is young 0.02
17 The age of the user is middle age 0.02
18 The age of the user is old 0.02
As shown in table 1, each internet feature tag corresponds to an initial weight, for example, for the 3 internet feature tags with serial numbers 1-3, the weight value of "22: 00 to the next morning, 6:00 user internet traffic" and "6:: 00 to 12:00 user internet traffic" is 0.79, and "12: 00 to 22:00 user internet traffic" is 0.85, which is a higher point, which may indicate that the user's internet habit is to surf the internet more in the period of 12:00 to 22:00, and for example, for the 4 internet feature tags with serial numbers 7-10, since the weight value of "the user uses a service class as a web page" is greater than other 3, it may indicate that the user is browsing the web page most of the time during the internet surfing, and so on.
The above describes a manner of creating a traffic authorization model, and it should be noted that, in addition to the above described manner, other manners may be used to create the model, as long as the final creation of the traffic authorization model is completed by using the internet access behavior data of the terminal user and the service characteristics of the subscription service as input data, and the embodiments of the present invention are not given by way of example.
Step 22: and acquiring a flow service request sent by terminal equipment corresponding to a terminal user.
After the traffic authorization model for the terminal user is created, in an actual use process, when the user needs to surf the internet through the terminal device, the user first sends a corresponding traffic service request to the OCS system, specifically, the traffic service request is reported to the OCS system through the terminal device corresponding to the terminal user.
Step 23: and inputting the traffic service request into a traffic authorization model to obtain predicted traffic authorization information aiming at the traffic service request.
Further, in order to authorize the traffic service request of the terminal user, after obtaining the traffic service request reported by the terminal device, the OCS system may input the traffic service request as an input condition into a previously created traffic authorization model for calculation, and may further dynamically obtain predicted traffic authorization information for the traffic service request, that is, the OCS system performs authorization configuration according to the traffic service request reported by the user in real time, and different predicted authorization information of the user is different, so that differentiated traffic authorization configuration for different users is achieved, and different predicted authorization information of the traffic service request is different, so that not only different users may be configured differentially, but also different service requests for the same user may be configured differentially, so that each authorization configuration for the user may be matched with the current specific traffic service request as much as possible, so as to achieve the purpose of meeting the current actual use requirements of users as much as possible.
In combination with the above manner of creating the traffic authorization model by using the network feature tags and the corresponding initial weights, after the OCS system obtains the traffic service request reported by the terminal device, the OCS system may analyze the traffic service request to determine a plurality of internet feature tags corresponding to the traffic service request, add weight values corresponding to the internet feature tags respectively to obtain a total weight value corresponding to the traffic service request, and then determine predicted traffic authorization information corresponding to the traffic service request according to the obtained total weight value.
The traffic service request reported by the user in real time is decomposed into a plurality of corresponding internet access feature tags, and the traffic authorization is configured according to the weight values corresponding to the internet access feature tags, so that the ordinary service use requirement of the user can be approximately reflected by a large amount of internet access use data, and the current traffic authorization can be accurately predicted in a targeted manner by associating the current traffic service request of the user with the historical use habit of the user.
In addition, in practice, the services subscribed by the user may include a special traffic service, for example, a predetermined traffic packet service such as an idle traffic packet service or a video dedicated traffic packet service is additionally subscribed on the basis of the original tariff package, and for the case that the predetermined traffic packet service is also included, additional weight supplement may be performed when the traffic authorization prediction is performed by using the weight value. For example, after the user subscribes to the video dedicated traffic packet service, and after the total weight values of all the internet access feature tags are obtained according to the above manner, if the traffic service request reported by the user indicates that the requested traffic is for watching video, it indicates that the traffic service request is matched with the predetermined traffic packet service, at this time, the predetermined weight value may be corrected on the basis of the total weight value to obtain a final target total weight value, and finally, the predictive configuration of traffic authorization is performed according to the target total weight value.
Because the predetermined traffic packet service is additionally ordered by the user on the basis of the tariff package, it indicates that the actual use demand of the user on the predetermined traffic packet service is strong, and the user should be frequent in the process of using traffic to surf the internet, i.e. the influence of the user on the internet behavior of the user is generally large, so that the traffic authorization of the traffic service request of the user can be performed to the greatest extent by adding extra weight to the special traffic service, thereby satisfying the actual use demand of the user as much as possible.
For example, a campus user subscribes to an anyhow see Tengchin video traffic packet and an intra-provincial 10G traffic packet, a reminding threshold of the anyhow see Tengchin video traffic packet under a user traffic account is 15G, a reminding threshold of the intra-provincial traffic packet is 6G, the user initiates a Tengchin video service request at a ratio of 22:30, and in combination with table 1, when a total weight value is calculated, initial weights corresponding to 4 internet access feature tags, namely ' 22:00 to the next morning ' 6:00 user internet traffic ', ' user service class is video ', ' user occupation is student ' and ' user age is youth ', are added together to obtain the total weight value of 0.79+0.43+0.09+0.01 ═ 1.32. Further, since the currently requested Tencent video service request is matched with any Tencent video traffic packet subscribed by the user, additional weight supplement may be performed, for example, a weight of 0.8 is further added, so that the target total weight value finally used for configuring the traffic authorization is the sum of the total weight value of 1.32 and the supplement weight value of 0.8, which are initially obtained, that is, 2.12, so that the currently initiated Tencent video service request of the user may obtain 2.12 times of the normal authorization amount, and since the single authorization amount is increased, the reduction of the message interaction amount between the user and the OCS in the case of using the service may reach about 50%, thereby reducing the system pressure of the OCS, and performing message interaction to the OCS as little as possible in the service using process, and further improving the use experience of the user to a certain extent.
Step 24: and sending the predicted traffic authorization information to the PGW so as to forward the predicted traffic authorization information to the terminal equipment through the PGW.
After obtaining the predicted authorization information for the traffic service request in the manner described above, the OCS may return the predicted authorization information to the PGW, and then return the predicted authorization information to the terminal device through the PGW to complete automatic configuration of the traffic authorization of the terminal user.
In practice, it may be that the configuration of the predicted authorization information fails or makes an error due to some abnormal reasons, in order to ensure that the predicted authorization information fed back to the terminal device is accurate and does not affect the service performance of the user, before sending the predicted authorization information to the PGW, it may be determined whether the predicted traffic authorization information is in error according to a predetermined determination rule, for example, the predicted traffic authorization information is in error obviously, such as 0 or 10T, and at this time, in order not to affect the service usage of the user, the preconfigured authorization information may be sent to the PGW and then forwarded by the PGW to the terminal device, and the preconfigured authorization information is authorization information capable of at least ensuring that the user normally performs the service, and if it is determined that the predicted traffic authorization information is not in error obviously, the estimated predicted traffic authorization information is sent to the PGW and then forwarded by the PGW to the terminal device.
After the traffic service request of the user is subjected to prediction authorization according to the created traffic authorization model, in order to optimize the traffic authorization model so as to enable the subsequent more accurate traffic authorization to other traffic service requests of the user, in the embodiment of the present invention, after the end user is subjected to the once predicted traffic authorization, the actual traffic usage information generated by the end user performing the traffic service based on the predicted traffic authorization information configured by the OCS is obtained, and then the actual traffic usage information and the previous predicted traffic authorization information are input as training conditions into the previously created traffic authorization model for model training, so as to obtain the trained traffic authorization model, that is, the traffic authorization model can be continuously trained through the previous predicted traffic authorization information of the OCS and the actual usage information of the traffic service performed by the user, the traffic authorization model can be gradually optimized and adjusted in an autonomous learning mode, so that the actual use requirements of the user can be more approached when the trained traffic authorization model predicts traffic authorization of other traffic service requests of the user, the traffic authorization of the user can be more and more accurate, and the accuracy of the traffic authorization is improved.
In a specific implementation process, the traffic authorization model may be continuously trained according to a certain period, for example, the model training may be performed once every predetermined time (for example, 2 days), or the model training may be performed once every predetermined number of traffic service requests, or the model training may be performed in time when it is determined that the tariff package ordered by the user changes, so as to meet the traffic usage demand of the user under the new tariff package as much as possible.
In the embodiment of the invention, the flow authorization model can be created according to the internet access behavior data of the terminal user and the service characteristics of the subscription service, so that when the flow service request reported by the terminal user is obtained, the flow service request can be input into the created flow authorization model to obtain the predicted flow authorization information aiming at the flow service request, and finally, the obtained predicted flow authorization information is sent to the terminal equipment to realize the automatic authorization of the flow service request of the user. The traffic authorization model is created according to the internet access behavior data of the terminal user and by combining the service characteristics of the subscribed service, so that the pertinence is strong when the traffic service request of the user is estimated, the actual use requirement of the terminal user can be met as much as possible, the accuracy of traffic authorization configuration is further improved, differentiated traffic authorization can be performed for different terminal users, the traffic authorization mode is more flexible, the actual traffic service requirement of the user is met as much as possible, and the traffic service experience of the user is enhanced.
Based on the same inventive concept, please refer to fig. 3, an embodiment of the present invention provides an OCS, which may be the OCS mentioned in the introduction of the foregoing embodiment. The OCS includes a model creating module 31, a first obtaining module 32, an authorizing module 33 and a sending module 34, and the model creating module 31, the first obtaining module 32, the authorizing module 33 and the sending module 34 in the embodiment of the present invention may implement the relevant functional units through a hardware processor. Wherein:
the model creating module 31 is configured to create a traffic authorization model according to the internet access behavior data of the terminal user and the service characteristics of the subscription service;
a first obtaining module 32, configured to obtain a traffic service request sent by a terminal device corresponding to a terminal user;
an authorization module 33, configured to input the traffic service request into a traffic authorization model to obtain predicted traffic authorization information for the traffic service request;
the sending module 34 is configured to send the predicted traffic authorization information to the PGW, so as to forward the predicted traffic authorization information to the terminal device through the PGW.
In one possible embodiment, the model creation module 31 is configured to:
abstracting the internet behavior data and the service characteristics of the ordering service into internet characteristic label classes; the Internet surfing feature tag class comprises at least one Internet surfing feature tag;
setting an initial weight for each internet surfing feature tag in the internet surfing feature tag class according to the internet surfing behavior data; the influence of the internet surfing feature tag with larger weight on the internet surfing behavior of the user is larger;
and creating a flow authorization model according to the Internet characteristic label class and the corresponding initial weight.
In one possible embodiment, the authorization module 33 is configured to:
analyzing the flow service request to determine a plurality of internet access characteristic labels corresponding to the flow service request;
adding the weight values respectively corresponding to the plurality of internet access feature tags to obtain a total weight value corresponding to the flow service request;
and determining predicted flow authorization information according to the total weight value.
In one possible embodiment, the authorization module 33 is configured to:
after obtaining the total weight value, judging whether the flow service request is matched with a preset flow packet service included by the order service;
if the flow service request is matched with the preset flow packet service, the preset weight is added on the basis of the total weight to obtain a target total weight;
and determining predicted flow authorization information according to the target total weight value.
In one possible implementation, the sending module 34 is configured to:
judging whether the predicted flow authorization information has errors according to a preset judgment rule;
if the predicted traffic authorization information is not in error, sending the predicted traffic authorization information to a PGW;
and if the predicted flow authorization information is wrong, sending the preset authorization information to the PGW.
In one possible embodiment, the OCS further includes:
a second obtaining module, configured to obtain actual traffic usage information of a traffic service performed by the end user based on the predicted traffic authorization information after the sending module 34 sends the predicted traffic authorization information to the PGW;
and the model training module is used for inputting the predicted traffic authorization information and the actual traffic use information into the traffic authorization model to train the traffic authorization model so as to obtain the trained traffic authorization model.
Since the OCS provided in the embodiment of the present invention may be configured to execute the steps included in the foregoing method for authorizing a traffic of an OCS, for functions and some implementation processes that can be implemented by each function module included in the OCS in the embodiment of the present invention, reference may be made to the description of the foregoing embodiment of the method for authorizing a traffic of an OCS, which is not described herein again.
Based on the same inventive concept, referring to fig. 4, an embodiment of the present invention provides a server, which includes at least one processor 41 (illustrated as one processor 41 in fig. 4), a communication interface 42 connected to the at least one processor 41, the communication interface 42 configured to transmit and receive information, and a memory 43 connected to the at least one processor 41. The memory 43 stores instructions executable by the at least one processor 41, and the at least one processor 41 may execute the steps of the data storage method by executing the instructions stored in the memory.
The processor 41 may specifically be a general-purpose CPU (central processing unit), or may be an ASIC (Application Specific Integrated Circuit), or may be one or more Integrated circuits for controlling program execution, may be a baseband chip, or the like.
The number of the Memory 43 may be one or more, and the Memory 43 may include at least one type of storage medium, for example, may include a flash Memory, a hard disk, a multimedia card, a card type Memory, a RAM (Random Access Memory), an SRAM (Static Random Access Memory), a PROM (Programmable Read Only Memory), a ROM (Read Only Memory), an EEPROM (Electrically Erasable Programmable Read-Only Memory), a magnetic Erasable Memory, a magnetic disk, an optical disk, and so on.
By programming the processor 41, the code corresponding to the data storage method may be solidified into the chip, so that the chip can execute the steps of the OCS traffic authorization method when running, and how to program the processor 41 is a technology known by those skilled in the art and will not be described herein again.
Based on the same inventive concept, an embodiment of the present invention further provides a readable storage medium, which stores computer instructions, and when the computer instructions are executed on a computer, the computer is caused to perform the steps of the traffic authorization method of the OCS as described above.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (7)

1. A method for authorizing traffic of an OCS (online charging system), the method comprising:
abstracting the internet behavior data of the terminal user and the service characteristics of the ordering service into internet characteristic label classes; the internet access feature tag class comprises at least one internet access feature tag, the internet access behavior data is use information generated by the terminal user in the process of using a flow service to perform internet access behavior, and the internet access behavior is an operation behavior of using the flow service to perform internet access;
setting an initial weight for each internet surfing feature tag in the internet surfing feature tag class according to the internet surfing behavior data; the internet surfing feature tags with larger weights have larger influence on the internet surfing behavior of the user, and the internet surfing feature tags with larger weights indicate that the frequency of the corresponding internet surfing events of the user is higher;
creating a flow authorization model according to the Internet characteristic label class and the corresponding initial weight;
acquiring a flow service request sent by terminal equipment corresponding to the terminal user;
inputting the traffic service request into the traffic authorization model to obtain predicted traffic authorization information for the traffic service request, including: analyzing the flow service request to determine a plurality of internet access characteristic labels corresponding to the flow service request; adding the weight values respectively corresponding to the plurality of internet access feature tags to obtain a total weight value corresponding to the traffic service request; determining the predicted flow authorization information according to the total weight value;
and sending the predicted traffic authorization information to a packet data network gateway (PGW) so as to forward the predicted traffic authorization information to the terminal equipment through the PGW.
2. The method of claim 1, wherein determining the predicted traffic authorization information based on the total weight value comprises:
after obtaining the total weight value, judging whether the flow service request is matched with a preset flow packet service included in the subscription service;
if the flow service request is matched with the preset flow packet service, adding a preset weight on the basis of the total weight to obtain a target total weight;
and determining the predicted flow authorization information according to the target total weight value.
3. The method of claim 1, wherein sending the predicted traffic authorization information to a PGW comprises:
judging whether the predicted flow authorization information has errors according to a preset judgment rule;
if the predicted traffic authorization information is not in error, sending the predicted traffic authorization information to the PGW;
and if the predicted flow authorization information is wrong, sending preset authorization information to the PGW.
4. The method of any of claims 1-3, wherein after sending the predicted traffic authorization information to the PGW, further comprising:
acquiring actual traffic use information of traffic service performed by the terminal user based on the predicted traffic authorization information;
and inputting the predicted traffic authorization information and the actual traffic use information into the traffic authorization model to train the traffic authorization model so as to obtain the trained traffic authorization model.
5. An OCS (online charging System), wherein the OCS comprises:
the model creating module is used for abstracting the internet behavior data of the terminal user and the service characteristics of the ordering service into internet characteristic label classes; the internet access feature tag class comprises at least one internet access feature tag, the internet access behavior data is use information generated by the terminal user in the process of using a flow service to perform internet access behavior, and the internet access behavior is an operation behavior of using the flow service to perform internet access; setting an initial weight for each internet surfing feature tag in the internet surfing feature tag class according to the internet surfing behavior data; the internet surfing feature tags with larger weights have larger influence on the internet surfing behavior of the user, and the internet surfing feature tags with larger weights indicate that the frequency of the corresponding internet surfing events of the user is higher; creating a flow authorization model according to the Internet characteristic label class and the corresponding initial weight;
an obtaining module, configured to obtain a traffic service request sent by a terminal device corresponding to the terminal user;
the authorization module is used for analyzing the flow service request by using the flow authorization model to determine a plurality of internet access feature tags corresponding to the flow service request, adding weight values corresponding to the internet access feature tags respectively to obtain a total weight value corresponding to the flow service request, and determining predicted flow authorization information aiming at the flow service request according to the total weight value;
a sending module, configured to send the predicted traffic authorization information to a packet data network gateway PGW, so as to forward the predicted traffic authorization information to the terminal device through the PGW.
6. A server, characterized in that the server comprises:
at least one processor;
a communication interface coupled to the at least one processor for transceiving information;
a memory coupled to the at least one processor;
wherein the memory stores instructions executable by the at least one processor, the at least one processor performing the steps of the method of any one of claims 1-4 by executing the instructions stored by the memory.
7. A readable storage medium storing computer instructions which, when executed on a computer, cause the computer to perform the steps of the method according to any one of claims 1-4.
CN201711490218.XA 2017-12-29 2017-12-29 OCS (online charging System) traffic authorization method, OCS, server and readable storage medium Active CN109995539B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711490218.XA CN109995539B (en) 2017-12-29 2017-12-29 OCS (online charging System) traffic authorization method, OCS, server and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711490218.XA CN109995539B (en) 2017-12-29 2017-12-29 OCS (online charging System) traffic authorization method, OCS, server and readable storage medium

Publications (2)

Publication Number Publication Date
CN109995539A CN109995539A (en) 2019-07-09
CN109995539B true CN109995539B (en) 2022-04-15

Family

ID=67111512

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711490218.XA Active CN109995539B (en) 2017-12-29 2017-12-29 OCS (online charging System) traffic authorization method, OCS, server and readable storage medium

Country Status (1)

Country Link
CN (1) CN109995539B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111314869B (en) * 2020-02-18 2021-06-29 中国联合网络通信集团有限公司 Flow quota distribution method and device, electronic equipment and storage medium
CN118659941A (en) * 2024-08-20 2024-09-17 天翼物联科技有限公司 Internet of things card online charging authorization method, device, platform and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103079236A (en) * 2013-01-29 2013-05-01 华为软件技术有限公司 Traffic flow authorization method, device and system
CN106888441A (en) * 2015-12-15 2017-06-23 中国电信股份有限公司 Online charging method, Online Charging System and charge system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016091294A1 (en) * 2014-12-10 2016-06-16 Telefonaktiebolaget Lm Ericsson (Publ) Estimating data traffic composition of a communication network through extrapolation
CN106778303B (en) * 2016-12-07 2020-03-17 腾讯科技(深圳)有限公司 Authorization policy optimization method and authorization policy optimization device
CN107276799B (en) * 2017-06-12 2020-02-14 中国联合网络通信集团有限公司 Mobile terminal flow prediction method and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103079236A (en) * 2013-01-29 2013-05-01 华为软件技术有限公司 Traffic flow authorization method, device and system
CN106888441A (en) * 2015-12-15 2017-06-23 中国电信股份有限公司 Online charging method, Online Charging System and charge system

Also Published As

Publication number Publication date
CN109995539A (en) 2019-07-09

Similar Documents

Publication Publication Date Title
US10387909B2 (en) Simulation-based evaluation of a marketing channel attribution model
CN108874823A (en) The implementation method and device of intelligent customer service
US8612596B1 (en) Resource planning for computing
CN109635986A (en) Shops's method for pushing, device, equipment and storage medium
EP2348477A1 (en) Crowdsourcing through mobile network
CN113127723B (en) User portrait processing method, device, server and storage medium
CN106649638B (en) Big data acquisition method
CN110675183B (en) Marketing object determining method, marketing popularization method and related devices
CN104133765B (en) The test case sending method of network activity and test case server
CN110826799B (en) Service prediction method, device, server and readable storage medium
CN107291744A (en) It is determined that and with the method and device of the relationship between application program
US9742684B1 (en) Adaptive service scaling
CN109995539B (en) OCS (online charging System) traffic authorization method, OCS, server and readable storage medium
CN103873273A (en) Method and device for limiting web applications
US20200004785A1 (en) Automatic grouping based on user behavior
US20190043076A1 (en) Method and apparatus for estimating advertisement value, and displaying advertisements on user terminal according to their values
CN115696356A (en) Cell capacity adjusting method, cell capacity adjusting device, electronic equipment and storage medium
CN108111591B (en) Method and device for pushing message and computer readable storage medium
CN110351345B (en) Method and device for processing service request
CN109818759B (en) Data display-based traffic sharing method and device and computer equipment
CN114518932A (en) Method, system, computing device and storage medium for scheduling function service
CN106663270B (en) Advertisement bidding device and advertisement platform device
CN109960572B (en) Equipment resource management method and device and intelligent terminal
CN109241417A (en) User's awakening method and device calculate equipment and storage medium
CN112070561B (en) Electronic coupon recommendation method and device

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