CN109995539A - A kind of flow authorization method, OCS, server and the readable storage medium storing program for executing of OCS - Google Patents

A kind of flow authorization method, OCS, server and the readable storage medium storing program for executing of OCS Download PDF

Info

Publication number
CN109995539A
CN109995539A CN201711490218.XA CN201711490218A CN109995539A CN 109995539 A CN109995539 A CN 109995539A CN 201711490218 A CN201711490218 A CN 201711490218A CN 109995539 A CN109995539 A CN 109995539A
Authority
CN
China
Prior art keywords
flow
authorization
user
flow rate
service request
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201711490218.XA
Other languages
Chinese (zh)
Other versions
CN109995539B (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 Jilin Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Group Jilin 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 Jilin 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

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 flow authorization method, OCS, server and the readable storage medium storing program for executing of a kind of OCS, mode for solving OCS progress dynamic authorization configuration in the prior art is inflexible and leads to the technical problem lower to the accuracy of the authorization configuration of user, to improve the flexibility of flow authorization configuration, make it possible to realize that the flow authorization of differentiation to meet the actual flow business demand of user as far as possible, enhances the flow business experience of user for different user.The described method includes: creating flow authorization model according to the internet behavior data of terminal user and the service feature of order business;Obtain the flow service request that the corresponding terminal device of the terminal user is sent;The flow service request is inputted into the flow authorization model to obtain the predicted flow rate authorization message for the flow service request;The predicted flow rate authorization message is sent to PGW, the predicted flow rate authorization message is transmitted to the terminal device by the PGW.

Description

A kind of flow authorization method, OCS, server and the readable storage medium storing program for executing of OCS
Technical field
The present invention relates to wireless communication technology field, the flow authorization method of especially a kind of OCS, OCS, server and readable Storage medium.
Background technique
Current flux business has become the main business of major operator, to ensure the user experience under communication network environment And the performance of enterprises, each operator deploy OCS (Online Charging System, online charging system), OCS can be right The various communication services (such as flow business) of user carry out real time billing, relationship such as Fig. 1 between current OCS and each network element It is shown.The fast development of business needs the network element in communication network to carry out message and ticket change triggering processing from various dimensions, uses The many factors such as family position, business tine, network type all will lead to PGW (Packet Data Network Gateway, Packet data network gateway) size of message that interacts with OCS increases sharply, and the real-time message processing and data storage capacities of OCS system face Larger challenge.
A kind of mode is the professional skill extended capability that OCS is promoted for example, by cloud architecture technology and container technique at present The rapidly growth of portfolio is coped with deployment efficiency, but the mode of such processing capacity for promoting OCS itself will cause and be System scale gradually expands, and is unfavorable for the longtime running and actual deployment of system, thus be further advanced by reduce PGW and OCS it Between interacting message amount come achieve the purpose that OCS system be depressured, and reduce the most direct mode of interacting message amount be exactly increase often The warrant quantity of secondary flow service request, the frequency of such interacting message will be substantially reduced the purpose to realize the decompression of OCS system.
In the mode for reducing the interacting message amount between PGW and OCS, also it experienced from initial static ladder authorization piece Dynamic authorization piece configuration till now is set, it can depending on the time period or industry in current dynamic authorization piece configuration mode Service type Different Dynamic configures corresponding authorization piece, but for the authorization piece of all user configurations be all it is identical, can not basis The different authorization configurations for realizing differentiation of each user, may cause in this way it is not accurate enough to the authorization configuration of user, also To say, in the prior art OCS carry out dynamic authorization configuration mode it is inflexible, to the accuracy of the authorization configuration of user compared with It is low.
Summary of the invention
The embodiment of the present invention provides flow authorization method, OCS, server and the readable storage medium storing program for executing of a kind of OCS, for solving Certainly in the prior art OCS carry out dynamic authorization configuration mode it is inflexible and cause to the accuracy of the authorization configuration of user compared with Low technical problem makes it possible to realize the flow of differentiation for different user to improve the flexibility of flow authorization configuration It authorizes to meet the actual flow business demand of user as far as possible, enhances the flow business experience of user.
In a first aspect, providing the flow authorization method of OCS a kind of, which comprises
According to the internet behavior data of terminal user and the service feature of order business, flow authorization model is created;
Obtain the flow service request that the corresponding terminal device of the terminal user is sent;
The flow service request is inputted into the flow authorization model to obtain for the pre- of the flow service request Measurement of discharge authorization message;
The predicted flow rate authorization message is sent to PGW, to turn the predicted flow rate authorization message by the PGW Issue the terminal device.
Optionally, according to the internet behavior data of terminal user and the service feature of order business, flow authorization mould is created Type, comprising:
The service feature of the internet behavior data and the order business is abstracted into online feature tag class;Wherein, The online feature tag class includes at least one online feature tag;
According to each online feature tag setting one that the internet behavior data are in the online feature tag class Initial weight;Wherein, influence of the bigger online feature tag of weight to user's internet behavior is bigger;
The flow authorization model is created according to the online feature tag class and corresponding initial weight.
Optionally, the flow service request is inputted into the flow authorization model to obtain asking for the flow business The predicted flow rate authorization message asked, comprising:
The flow service request is parsed to determine multiple online feature tags corresponding with the flow service request;
The corresponding weighted value of the multiple online feature tag is added to obtain and the flow service request pair The total weighted value answered;
The predicted flow rate authorization message is determined according to total weighted value.
Optionally, the predicted flow rate authorization message is determined according to total weighted value, comprising:
After obtaining total weighted value, judge to make a reservation for included by the flow service request and the order business Whether flow packet business matches;
If the flow service request is matched with the predetermined amount of flow packet business, on the basis of total weighted value again It mends and increases predefined weight to obtain the total weighted value of target;
The predicted flow rate authorization message is determined according to the total weighted value of the target.
Optionally, the predicted flow rate authorization message is sent to PGW, comprising:
Judge whether the predicted flow rate authorization message malfunctions according to preset judgment rule;
If the predicted flow rate authorization message does not malfunction, the predicted flow rate authorization message is sent to the PGW;
If the predicted flow rate authorization message error, is sent to the PGW for preconfigured authorization message
Optionally, after the predicted flow rate authorization message is sent to PGW, further includes:
Obtain the flow actual use letter that the terminal user carries out flow business based on the predicted flow rate authorization message Breath;
By flow authorization model described in the predicted flow rate authorization message and flow actual use information input with right The flow authorization model is trained, with the flow authorization model after being trained.
Second aspect, provides a kind of OCS, and the OCS includes;
Model creation module, for according to the internet behavior data of terminal user and the service feature of order business, creation Flow authorization model;
First obtains module, the flow service request sent for obtaining the corresponding terminal device of the terminal user;
Authorization module, for the flow service request to be inputted the flow authorization model to obtain for the flow The predicted flow rate authorization message of service request;
Sending module, for the predicted flow rate authorization message to be sent to PGW, with by the PGW by the prediction Flow authorization message is transmitted to the terminal device
Optionally, the model creation module is used for:
The service feature of the internet behavior data and the order business is abstracted into online feature tag class;Wherein, The online feature tag class includes at least one online feature tag;
According to each online feature tag setting one that the internet behavior data are in the online feature tag class Initial weight;Wherein, influence of the bigger online feature tag of weight to user's internet behavior is bigger;
The flow authorization model is created according to the online feature tag class and corresponding initial weight.
Optionally, the authorization module is used for:
The flow service request is parsed to determine multiple online feature tags corresponding with the flow service request;
The corresponding weighted value of the multiple online feature tag is added to obtain and the flow service request pair The total weighted value answered;
The predicted flow rate authorization message is determined according to total weighted value.
Optionally, the authorization module is used for:
After obtaining total weighted value, judge to make a reservation for included by the flow service request and the order business Whether flow packet business matches;
If the flow service request is matched with the predetermined amount of flow packet business, on the basis of total weighted value again It mends and increases predefined weight to obtain the total weighted value of target;
The predicted flow rate authorization message is determined according to the total weighted value of the target.
Optionally, the sending module is used for:
Judge whether the predicted flow rate authorization message malfunctions according to preset judgment rule;
If the predicted flow rate authorization message does not malfunction, the predicted flow rate authorization message is sent to the PGW;
If the predicted flow rate authorization message error, is sent to the PGW for preconfigured authorization message.
Optionally, the OCS further include:
Second obtains module, for obtaining after the predicted flow rate authorization message is sent to PGW by the sending module It obtains the flow that the terminal user carries out flow business based on the predicted flow rate authorization message and actually uses information;
Model training module, for will the predicted flow rate authorization message and the flow actual use information input described in Flow authorization model is to be trained the flow authorization model, with the flow authorization model after being trained.
The third aspect, provides a kind of server, and the server includes:
At least one processor;
The communication interface being connect at least one described processor, for receiving and sending messages;
The memory being connect at least one described processor;
Wherein, the memory is stored with the instruction that can be executed by least one described processor, described at least one The instruction that device is stored by executing the memory is managed, the flow authorization method of the OCS as described in any in first aspect is executed The step of.
Fourth aspect provides a kind of readable storage medium storing program for executing, which is characterized in that the readable storage medium storing program for executing is stored with computer Instruction, when the computer instruction is run on computers, so that computer executes the OCS as described in any in first aspect Flow authorization method the step of.
In the embodiment of the present invention, it can be created according to the internet behavior data of terminal user and the service feature of order business Flow authorization model, and then when obtaining the flow service request that terminal user reports, which can be inputted The flow authorization model of creation, finally again will be obtained to obtain the predicted flow rate authorization message for the flow service request Predicted flow rate authorization message is sent to terminal device to realize that the flow service request to user carries out automatic authorization.Due to the stream Measuring authorization model is to be created according to the internet behavior data of the terminal user in conjunction with the service feature of order business, so right Specific aim is stronger when the flow service request of user is estimated, and can meet the actual use demand of terminal user as far as possible, into And the accuracy of flow authorization configuration is improved, and the flow authorization of differentiation can be carried out for different terminal users, make Must be more flexible for the authorization of flow, to meet the actual flow business demand of user as far as possible, enhance the flow of user Business experience.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Inventive embodiments for those of ordinary skill in the art without creative efforts, can also be according to mentioning The attached drawing of confession obtains other attached drawings.
Relation schematic diagram of the Fig. 1 between OCS in the prior art and each network element;
Fig. 2 is the flow chart of the flow authorization method of the OCS in the embodiment of the present invention;
Fig. 3 is the structural block diagram of the OCS in the embodiment of the present invention;
Fig. 4 is the structural schematic diagram of the server in the embodiment of the present invention.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction in the embodiment of the present invention Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only It is a part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people Member's every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.? In the case where not conflicting, the feature in embodiment and embodiment in the present invention can mutual any combination.Although also, flowing Logical order is shown in journey figure, but in some cases, it can be to be different from shown or described by sequence execution herein The step of.
Term " first " and " second " in description and claims of this specification and above-mentioned attached drawing are for distinguishing Different objects, not for description particular order.In addition, term " includes " and their any deformations, it is intended that covering is not Exclusive protection.Such as it contains the process, method, system, product or equipment of a series of steps or units and is not limited to The step of listing or unit, but optionally further comprising the step of not listing or unit, or optionally further comprising for these The intrinsic other step or units of process, method, product or equipment.
In addition, the terms "and/or", only a kind of incidence relation for describing affiliated partner, indicates may exist Three kinds of relationships, for example, A and/or B, can indicate: individualism A exists simultaneously A and B, these three situations of individualism B.Separately Outside, character "/" herein typicallys represent the relationship that forward-backward correlation object is a kind of "or" in the case where not illustrating.
The embodiment of the present invention provides flow authorization method, OCS, server and the readable storage medium storing program for executing of a kind of OCS, for solving Certainly in the prior art OCS carry out dynamic authorization configuration mode it is inflexible and cause to the accuracy of the authorization configuration of user compared with Low technical problem makes it possible to realize the flow of differentiation for different user to improve the flexibility of flow authorization configuration It authorizes to meet the actual flow business demand of user as far as possible, enhances the flow business experience of user.
It embodiment provides in order to better understand the present invention the flow authorization method of OCS, OCS, server and readable deposits Storage media is in conjunction with appended figures and specific embodiments described in detail preceding solution.
The application scenarios of the embodiment of the present invention are introduced first.
The construction of OCS indicates BSS (Business Support System, business support system) participating user's business The beginning of use process control becomes more intimate from the relationship between this BSS and network element, and the functional boundary of BSS is also fast therewith Speed expands.During business development, mature, OCS in lifting system processing capacity itself and reduces system loading side always Face is broken through, and significant effect is also achieved.Look back the construction history of OCS, the control of business automatic identification, peak clipping decompression, frame The technological means such as structure cloud preferably solve the problems, such as interim in systems development process, but we only focus on always in OCS The promotion of system ability itself all takes identical flow authorization configuration to all terminal users, and not certainly from user Body and business difference etc. carry out global consideration, so that the mode for carrying out flow authorization currently for terminal user is not clever enough It is living, and then cause the precision of flow authorization to terminal user not high, it can not agree with the practical business demand of different user, and this Inventive embodiments are just to provide a kind of flow dynamics mandated program that differentiation is realized for different user, improve flow authorization and match The flexibility set makes it possible to realize the flow authorization of differentiation for different user to meet the actual flow industry of user as far as possible Business demand enhances the flow business experience of user.
Fig. 2 is referred to, Fig. 2 is the flow chart of the flow authorization method of OCS provided in an embodiment of the present invention, and the present invention is implemented The flow authorization method for the OCS that example provides can be applied to OCS shown in such as Fig. 1.The process of this method is described as follows.
Step 21: according to the internet behavior data of terminal user and the service feature of order business, creating flow authorization mould Type.
Wherein, terminal user refers to the user of using terminal equipment, and the terminal device can be and be able to use operator The equipment of the flow business of offer, for example, mobile phone, PAD (tablet computer), PDA (Personal Digital Assistant, it is a Personal digital assistant), wearable device (such as smartwatch), the different types of terminal device of laptop etc..
The internet behavior of terminal user refers to the operation behavior surfed the Internet of flow business provided using operator, and on Net behavioral data is generated use information during being surfed the Internet using flow business, such as is consumed in some period How many flow, such as using some specific APP (Application, application program) consumed in some period it is more Few flow, such as average network speed within a certain period of time, etc..
Operator can provide a user a variety of tariff packages or other value-added services, and user can make according to oneself Suitable tariff package is bought with demand and selectively buys certain value-added services, buys user in the embodiment of the present invention Tariff package and value-added service be referred to as order business.Order business is different, corresponding service feature also can different from, and industry The service feature of business may include account balance, the free flow in set meal, orientation flow (such as flow and domestic stream inside the province Amount) total value and remaining, time flow (such as idle flow of 23:00 to morning next day 5:00) total value and remaining, set meal Outer excess is using flow, no-charge call minute (including local and roaming) etc., since flow business belongs in communication service One kind, then being naturally also obtained with flow service feature, such as the free flow in set meal above-mentioned, orientation flow (example Such as flow inside the province and domestic flow) total value and remaining, time flow (such as idle flow of 23:00 to morning next day 5:00) Total value and residue belong to flow service feature, by service feature could be aware that corresponding order business actual disposition weigh Limit and the case where having used.
The internet behavior data of terminal user and the service feature of order business may indicate that the terminal user actually makes With use habit, preference and the particular service demand in business procedure, because the business that user orders in a short time is generally not It will appear big variation, in this premise, surfing the Internet the service feature of behavioral data and order business by the history of user can be with Substantially reflect the use habit and practical business demand of the terminal user, it can pass through the history online behavioral data of user The flow service request later to user with the service feature of order business prejudges, so then root in embodiments of the present invention Correspond to the flow authorization of the terminal user according to the internet behavior data of the terminal user and the service feature creation of order business Model, flow service request that can be later to user by the flow authorization model carry out estimating judgement.Since the flow is awarded Power model is that behavioral data of surfing the Internet according to the history of the terminal user is created in conjunction with the service feature of order business, so Specific aim is stronger when the subsequent flow service request to user is estimated, and can meet the practical feelings of the terminal user as far as possible Condition, and then the accuracy that business is estimated is improved, and OCS can carry out the model structure of differentiation for different terminal users It builds, so that the authorization for flow is more flexible.
In the specific implementation process, first the service feature of internet behavior data and order business can be abstracted on multiple Net feature tag, such as abstract obtained multiple online feature tags are referred to as feature tag class of surfing the Internet, then special for each online It levies label and one corresponding initial weight is set, the bigger online feature tag of weighted value shows to influence the internet behavior of user Active force is bigger, it will be understood that, the corresponding online event of the bigger online feature tag of weighted value is that user often carries out , weighted value is bigger show user carry out corresponding online event frequency it is higher, or can also be according to the side of systemic presupposition Formula is that initial weight is arranged in each online feature tag, further, further according to being abstracted obtained online feature tag class and right The initial weight answered creates the flow authorization model for the terminal user, and for model creation algorithm used by specific The embodiment of the present invention with no restriction, such as can using it is in the prior art any one be able to carry out in the embodiment of the present invention The algorithm of model creation creates flow authorization model.
That is, can to create according to the service feature of the internet behavior data of terminal user and order business Show each side's face datas such as consumer behavior, internet behavior and the essential attribute of terminal user and labeling user's portrait mould Type, the user's picture obtained in this way can generally reflect the conversational traffic service condition of terminal user, be convenient for flow authorization Differentiation and precisely configuration, enhance the usage experience of user.
Table 1 is referred to, such as is abstracted and obtains according to the internet behavior data of terminal user and the service feature of order business 18 online feature tag as shown in Table 1, can be referred to as this 18 online feature tags in embodiments of the present invention should The online feature tag class of terminal user.
Table 1
Serial number Online feature tag Initial weight
1 22:00 is to morning next day 6:00 user's surfing flow 0.79
2 6::00 to 12:00 user's surfing flow 0.79
3 12:00 to 22:00 user's surfing flow 0.85
4 User job day surfing flow 0.66
5 User's festivals or holidays surfing flow 0.85
6 The free flow in tariff package that user orders 0.43
7 User is video using business major class 0.43
8 User is webpage using business major class 0.59
9 User is music using business major class 0.43
10 User is game using business major class 0.43
11 User's occupation is student 0.09
12 User's occupation is amusement circles star 0.09
13 User's occupation is enterpriser 0.09
14 User's occupation is common white collar 0.09
15 User's occupation is peasant 0.09
16 Age of user is youth 0.02
17 Age of user is the middle age 0.02
18 Age of user is old age 0.02
As shown in table 1, each online feature tag is corresponding with an initial weight, such as serial number 1-3's For this 3 online feature tags, " 22:00 to morning next day 6:00 user's surfing flow " and " 6::00 to 12:00 therein The weighted value of user's surfing flow " is 0.79, and " 12:00 to 22:00 user surfing flow " is higher 0.85, then may be used With illustrate user online habit be surf the Internet within 12:00 to 22:00 this period it is relatively more, in another example for serial number 7-10 4 online feature tags for, since the weighted value of " user using business major class be webpage " is greater than other 3, then may be used To illustrate that user is in browsing webpage, etc. the most of the time during online.
Above describe a kind of modes for creating flow authorization model, it should be noted that in addition to the mode of above-mentioned introduction Except can also carry out model creation in other manners, as long as by the internet behavior data and ordering industry of terminal user For the service feature of business as the creation for entering data to complete final flow authorization model, the embodiment of the present invention is not another One schematically illustrates.
Step 22: obtaining the flow service request that the corresponding terminal device of terminal user is sent.
After creating the flow authorization model for terminal user, in actual use, when user needs to lead to Then corresponding flow service request first can be sent to OCS system when crossing terminal device online, specifically pass through terminal user Corresponding terminal device reports flow service request to OCS system.
Step 23: by flow service request input flow rate authorization model to obtain the predicted flow rate for flow service request Authorization message.
Further, in order to which the flow service request to terminal user authorizes, OCS system is obtaining terminal device Then the flow service request can be input to the flow being previously created as input condition after the flow service request reported It is calculated in authorization model, and then can dynamically obtain the predicted flow rate authorization message for the flow service request, That is OCS system is to carry out authorization configuration with carrying out according to the flow service request of user's real-time report, user is different, and institute is pre- The authorization message of survey is not also identical, can be the flow authorization configuration realized and carry out differentiation to different user in this way, and flow The different authorization messages predicted of amount service request are also different, not only can carry out differentiation configuration, needle to different user Differentiation configuration also will do it to the request of the different business of same user, allow every time for the authorization configuration of user with work as Preceding specific flow service request is agreed with as far as possible, to achieve the purpose that meet as far as possible the current actual use demand of user.
It is integrated to above-mentioned next in a manner of surf the Internet feature tag class and corresponding initial weight creation flow authorization model It says, OCS system can first solve the flow service request after obtaining the flow service request that terminal device reports It analyses to determine multiple online feature tags corresponding with the flow service request, then multiple online feature tag is right respectively The weighted value answered is added to obtain total weighted value corresponding with the flow service request, and then further according to obtained total weighted value Determine predicted flow rate authorization message corresponding with the flow service request.
By the way that the flow service request of user's real-time report is resolved into corresponding multiple online feature tags, and according to this The corresponding weighted value of a little online feature tag carries out the configuration of flow authorization, because can be with using data by largely online Substantially reflect the usually business use demand of user, so the mode in the embodiment of the present invention can be by that user is current Flow service request associates pointedly accurate pre- to carry out to current flow authorization with the history use habit of user It surveys.
In addition, in practice, may include special flow business in business ordered by user, such as in the rate originally having The predetermined amount of flow packet business such as idle flow packet business or video special flow packet business, needle are also additionally had subscribed on the basis of set meal Further include the situation of predetermined amount of flow packet business to these, can also be carried out when carrying out flow authorization prediction using weighted value additional Weight supplement.For example, user has subscribed video special flow packet business, all online features are being obtained according to foregoing manner After total weighted value of label, if the flow service request of reporting of user shows that its requested flow is for watching video , then then show flow service request be it is matched with predetermined amount of flow packet business, at this time then can be again in total weighted value On the basis of make corrections predefined weight to obtain the total weighted value of final target, finally namely carried out according to the total weighted value of the target The predicted configuration of flow authorization.
Because predetermined amount of flow packet business is that user additionally orders on the basis of tariff package, show that user is predetermined to this The actual use demand of flow packet business be it is more strong, during user is surfed the Internet using flow should be through Perseverance, i.e., it is usually biggish to the influence power of the internet behavior of user, so by special flow business progress The mode of additional weight supplement can the flow service request to user carry out flow authorization to the full extent, and then as far as possible Meet the actual use demand of user.
Me is appointed to see Tencent's video flow packet and inside the province 10G flow packet, customer flow account for example, a campus user has subscribed I sees that the prompting thresholding of Tencent's video flow packet is 15G to lower of family, inside the province the prompting thresholding 6G of flow packet, and user sends out in 22:30 The request of Tencent's video traffic is played, is integrated to for table 1, is then by " 22:00 to morning next day 6:00 is used when calculating total weighted value Family surfing flow ", " user using business major class be video ", " user's occupation is student " and " age of user is youth " this 4 The corresponding initial weight of online feature tag is added to obtain to get total power of 0.79+0.43+0.09+0.01=1.32 is arrived Weight values.Further, due to it is currently requested be the request of Tencent's video traffic, appoint me to see Tencent's video with what user ordered Flow packet matches, so the supplement of additional weight can also be carried out, such as is further added by 0.8 weight, so final use The total weighted value of target to carry out flow authorization configuration be start obtain 1.32 total weighted value and 0.8 supplement weighted value it With, i.e., 2.12, so Tencent's video traffic request of the current initiation of user can obtain 2.12 times of regular Authorisation amount, due to Single warrant quantity increases, then user can be with the range of decrease of the interacting message amount between OCS using this business Reach 50% or so, so as to reduce the system pressure of OCS, and can be as little as possible to OCS in business use process Interacting message is carried out, the use feeling of user can also be promoted to a certain extent.
Step 24: predicted flow rate authorization message being sent to PGW, to be transmitted to predicted flow rate authorization message by PGW Terminal device.
After being obtained by the way of foregoing description for the prediction authorization message of flow service request, OCS can be with It is returned to PGW, then the prediction authorization message returned to by terminal device by PGW and is awarded with the flow for completing to terminal user Power automatically configures.
In practice, may cause to predict authorization message configuration failure or error due to some abnormal causes, in order to true Guarantor, which feeds back to the prediction authorization message of terminal device, to be accurate and does not influence the business progress of user, will predict authorization message It is sent to before PGW, first can judge whether the predicted flow rate authorization message malfunctions according to preset judgment rule, such as pre- flow measurement Amount authorization message is that 0 or 10T etc. obviously malfunctions, and is used at this time in order to not influence the business of user, can will be preconfigured Authorization message is sent to PGW and is transmitted to terminal device by PGW again, and preconfigured authorization message is can at least ensure that user It is normally carried out the authorization message of business, certainly if it is determined that predicted flow rate authorization message then will estimation not as significantly malfunctioning Predicted flow rate authorization message be sent to PGW terminal device be transmitted to by PGW again.
After carrying out prediction authorization according to flow service request of the flow authorization model created to user, in order to right Flow authorization model optimizes so that subsequent can more accurately other flow service requests to user carry out more Accurate flow authorization after carrying out a predicted flow rate authorization to terminal user, can also obtain in embodiments of the present invention Obtain the flow actual use letter that the terminal user carries out flow business based on the predicted flow rate authorization message that OCS is configured and generates Breath, then by flow actual use information and predicted flow rate authorization message before together as creation before training condition input Flow authorization model carry out model training, and then the flow authorization model after being trained, that is to say, that OCS can be passed through The preceding flow authorization message once predicted and user carry out the actual use information of flow business to flow authorization model continue into Row training, gradually can be optimized and be adjusted to flow authorization model by way of autonomous learning, then passing through training again Flow authorization model afterwards can be more nearly user when carrying out flow authorization prediction to other flow service requests of user Actual use demand, allow the flow authorization for user more and more accurate, improve the accuracy of flow authorization.
In the specific implementation process, continuous training can be carried out to flow authorization model according to certain period, such as can To carry out a model training at interval of scheduled duration (such as 2 days), or can be asked at interval of the flow business of predetermined quantity A model training is carried out after asking, or can also be carried out in time when determining that tariff package ordered by user changes Model training to meet flow use demand of the user under new tariff package as far as possible.
In the embodiment of the present invention, it can be created according to the internet behavior data of terminal user and the service feature of order business Flow authorization model, and then when obtaining the flow service request that terminal user reports, which can be inputted The flow authorization model of creation, finally again will be obtained to obtain the predicted flow rate authorization message for the flow service request Predicted flow rate authorization message is sent to terminal device to realize that the flow service request to user carries out automatic authorization.Due to the stream Measuring authorization model is to be created according to the internet behavior data of the terminal user in conjunction with the service feature of order business, so right Specific aim is stronger when the flow service request of user is estimated, and can meet the actual use demand of terminal user as far as possible, into And the accuracy of flow authorization configuration is improved, and the flow authorization of differentiation can be carried out for different terminal users, make Must be more flexible for the authorization of flow, to meet the actual flow business demand of user as far as possible, enhance the flow of user Business experience.
Based on the same inventive concept, Fig. 3 is referred to, the embodiment of the present invention provides a kind of OCS, which can be aforementioned reality Apply the OCS being previously mentioned in introducing in example.The OCS includes that model creation module 31, first obtains module 32, authorization module 33 and hair Module 34 is sent, and the model creation module 31, first in the embodiment of the present invention obtains module 32, authorization module 33 and sends mould Block 34 can realize correlation function by hardware processor.Wherein:
Model creation module 31, for according to the internet behavior data of terminal user and the service feature of order business, wound Build flow authorization model;
First obtains module 32, the flow service request sent for obtaining the corresponding terminal device of terminal user;
Authorization module 33, for obtaining flow service request input flow rate authorization model for flow service request Predicted flow rate authorization message;
Sending module 34, for predicted flow rate authorization message to be sent to PGW, to be believed predicted flow rate authorization by PGW Breath is transmitted to terminal device
In a kind of possible embodiment, model creation module 31 is used for:
The service feature of internet behavior data and order business is abstracted into online feature tag class;Wherein, online feature Tag class include at least one online feature tag;
According to each online feature tag one initial weight of setting that internet behavior data are in online feature tag class; Wherein, influence of the bigger online feature tag of weight to user's internet behavior is bigger;
Flow authorization model is created according to online feature tag class and corresponding initial weight.
In a kind of possible embodiment, authorization module 33 is used for:
Flow service request is parsed to determine multiple online feature tags corresponding with flow service request;
The corresponding weighted value of multiple online feature tags is added to obtain total power corresponding with flow service request Weight values;
Predicted flow rate authorization message is determined according to total weighted value.
In a kind of possible embodiment, authorization module 33 is used for:
After obtaining total weighted value, judge that flow service request is with predetermined amount of flow packet business included by order business No matching;
If flow service request is matched with predetermined amount of flow packet business, increasing predefined weight is mended again on the basis of total weighted value To obtain the total weighted value of target;
Predicted flow rate authorization message is determined according to the total weighted value of target.
In a kind of possible embodiment, sending module 34 is used for:
Judge whether predicted flow rate authorization message malfunctions according to preset judgment rule;
If predicted flow rate authorization message does not malfunction, predicted flow rate authorization message is sent to PGW;
If predicted flow rate authorization message malfunctions, preconfigured authorization message is sent to PGW.
In a kind of possible embodiment, OCS further include:
Second obtains module, for obtaining terminal after predicted flow rate authorization message is sent to PGW by sending module 34 User actually uses information based on the flow that predicted flow rate authorization message carries out flow business;
Model training module, for predicted flow rate authorization message and flow to be actually used information input flow authorization model To be trained to flow authorization model, with the flow authorization model after being trained.
Since OCS provided in an embodiment of the present invention can be used for executing included by the flow authorization method of OCS above-mentioned Step, therefore the function and some realization processes that each functional module for including for OCS in the embodiment of the present invention can be realized It can refer to the description of the flow authorization method embodiment part of OCS above-mentioned, details are not described herein.
Based on the same inventive concept, Fig. 4 is referred to, the embodiment of the present invention provides a kind of server, which includes extremely A few processor 41 (being to be illustrated in Fig. 4 with a processor 41), connects at least one described processor 41 The communication interface 42 connect, communication interface 42 is used to receive and send messages, and the memory 43 connecting at least one processor 41.Its In, memory 43 is stored with the instruction that can be executed by least one processor 41, at least one processor 41 is by executing storage The step of instruction of device storage can execute date storage method above-mentioned.
Processor 41 specifically can be general CPU (central processing unit), or can be ASIC (Application Specific Integrated Circuit, application-specific integrated circuit), or can be one or more for controlling journey The integrated circuit that sequence executes, can be baseband chip, etc..
The quantity of memory 43 can be one or more, and memory 43 may include that the storage of at least one type is situated between Matter, such as may include flash memory, hard disk, multimedia card, card-type memory, RAM (Random Access Memory, random visit Ask memory), SRAM (Static Random Access Memory, static random-access memory), PROM (Programmable Read Only Memory, programmable read only memory), ROM (Read Only Memory, it is read-only to deposit Reservoir), EEPROM (Electrically Erasable Programmable Read-Only Memory, band electric erasable can Program read-only memory), magnetic storage, disk, CD etc..
By being designed programming to processor 41, the corresponding code of date storage method above-mentioned can be cured to core In piece, thus the step of making chip be able to carry out the flow authorization method of OCS above-mentioned at runtime, how to processor 41 into Row design programming technology known to those skilled in the art, which is not described herein again.
Based on the same inventive concept, a kind of readable storage medium storing program for executing, the readable storage medium are also provided in the embodiment of the present invention Matter is stored with computer instruction, when the computer instruction is run on computers, so that computer executes OCS as the aforementioned Flow authorization method the step of.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more, The shape for the computer program product implemented in usable storage medium (including but not limited to magnetic disk storage and optical memory etc.) Formula.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (10)

1. a kind of flow authorization method of online charging system OCS, which is characterized in that the described method includes:
According to the internet behavior data of terminal user and the service feature of order business, flow authorization model is created;
Obtain the flow service request that the corresponding terminal device of the terminal user is sent;
The flow service request is inputted into the flow authorization model to obtain the pre- flow measurement for the flow service request Measure authorization message;
The predicted flow rate authorization message is sent to packet data network gateway PGW, with by the PGW by the predicted flow rate Authorization message is transmitted to the terminal device.
2. the method as described in claim 1, which is characterized in that according to the internet behavior data of terminal user and order business Service feature creates flow authorization model, comprising:
The service feature of the internet behavior data and the order business is abstracted into online feature tag class;Wherein, described Online feature tag class includes at least one online feature tag;
It is arranged one initially for each online feature tag in the online feature tag class according to the internet behavior data Weight;Wherein, influence of the bigger online feature tag of weight to user's internet behavior is bigger;
The flow authorization model is created according to the online feature tag class and corresponding initial weight.
3. method according to claim 2, which is characterized in that the flow service request is inputted the flow authorization model To obtain the predicted flow rate authorization message for the flow service request, comprising:
The flow service request is parsed to determine multiple online feature tags corresponding with the flow service request;
The corresponding weighted value of the multiple online feature tag is added corresponding with the flow service request to obtain Total weighted value;
The predicted flow rate authorization message is determined according to total weighted value.
4. method as claimed in claim 3, which is characterized in that determine that the predicted flow rate authorization is believed according to total weighted value Breath, comprising:
After obtaining total weighted value, predetermined amount of flow included by the flow service request and the order business is judged Whether packet business matches;
If the flow service request is matched with the predetermined amount of flow packet business, increasing is mended again on the basis of total weighted value Predefined weight is to obtain the total weighted value of target;
The predicted flow rate authorization message is determined according to the total weighted value of the target.
5. the method as described in claim 1, which is characterized in that the predicted flow rate authorization message is sent to PGW, comprising:
Judge whether the predicted flow rate authorization message malfunctions according to preset judgment rule;
If the predicted flow rate authorization message does not malfunction, the predicted flow rate authorization message is sent to the PGW;
If the predicted flow rate authorization message error, is sent to the PGW for preconfigured authorization message.
6. method as claimed in any one of claims 1-5, which is characterized in that believe by the predicted flow rate authorization Breath is sent to after PGW, further includes:
It obtains the flow that the terminal user carries out flow business based on the predicted flow rate authorization message and actually uses information;
By flow authorization model described in the predicted flow rate authorization message and flow actual use information input to described Flow authorization model is trained, with the flow authorization model after being trained.
7. a kind of online charging system OCS, which is characterized in that the OCS includes:
Model creation module, for creating flow according to the internet behavior data of terminal user and the service feature of order business Authorization model;
Module is obtained, the flow service request sent for obtaining the corresponding terminal device of the terminal user;
Authorization module, for the flow service request to be inputted the flow authorization model to obtain for the flow business The predicted flow rate authorization message of request;
Sending module, for the predicted flow rate authorization message to be sent to packet data network gateway PGW, to pass through the PGW The predicted flow rate authorization message is transmitted to the terminal device.
8. OCS as claimed in claim 7, which is characterized in that the model creation module is used for:
The service feature of the internet behavior data and the order business is abstracted into online feature tag class;Wherein, described Online feature tag class includes at least one online feature tag;
It is arranged one initially for each online feature tag in the online feature tag class according to the internet behavior data Weight;Wherein, influence of the bigger online feature tag of weight to user's internet behavior is bigger;
The flow authorization model is created according to the online feature tag class and corresponding initial weight.
9. a kind of server, which is characterized in that the server includes:
At least one processor;
The communication interface being connect at least one described processor, for receiving and sending messages;
The memory being connect at least one described processor;
Wherein, the memory is stored with the instruction that can be executed by least one described processor, at least one described processor Pass through the step of executing the instruction of the memory storage, executing as the method according to claim 1 to 6.
10. a kind of readable storage medium storing program for executing, which is characterized in that the readable storage medium storing program for executing is stored with computer instruction, when the meter When the instruction of calculation machine is run on computers, so that computer is executed such as the step of method of any of claims 1-6.
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 true CN109995539A (en) 2019-07-09
CN109995539B 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)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111314869A (en) * 2020-02-18 2020-06-19 中国联合网络通信集团有限公司 Flow quota distribution method and device, electronic equipment and storage medium

Citations (5)

* 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
WO2016091294A1 (en) * 2014-12-10 2016-06-16 Telefonaktiebolaget Lm Ericsson (Publ) Estimating data traffic composition of a communication network through extrapolation
CN106778303A (en) * 2016-12-07 2017-05-31 腾讯科技(深圳)有限公司 Delegated strategy optimization method and delegated strategy optimization device
CN106888441A (en) * 2015-12-15 2017-06-23 中国电信股份有限公司 Online charging method, Online Charging System and charge system
CN107276799A (en) * 2017-06-12 2017-10-20 中国联合网络通信集团有限公司 Mobile terminal method for predicting and device

Patent Citations (5)

* 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
WO2016091294A1 (en) * 2014-12-10 2016-06-16 Telefonaktiebolaget Lm Ericsson (Publ) Estimating data traffic composition of a communication network through extrapolation
CN106888441A (en) * 2015-12-15 2017-06-23 中国电信股份有限公司 Online charging method, Online Charging System and charge system
CN106778303A (en) * 2016-12-07 2017-05-31 腾讯科技(深圳)有限公司 Delegated strategy optimization method and delegated strategy optimization device
CN107276799A (en) * 2017-06-12 2017-10-20 中国联合网络通信集团有限公司 Mobile terminal method for predicting and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111314869A (en) * 2020-02-18 2020-06-19 中国联合网络通信集团有限公司 Flow quota distribution method and device, electronic equipment and storage medium
CN111314869B (en) * 2020-02-18 2021-06-29 中国联合网络通信集团有限公司 Flow quota distribution method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN109995539B (en) 2022-04-15

Similar Documents

Publication Publication Date Title
US9489686B2 (en) System and method based on use information obtained from a user terminal
US8249552B1 (en) Pre and post-paid service plan manager
US9143625B2 (en) Selection of wireless devices and service plans
CN113298606B (en) Commodity object inventory control method and device and electronic equipment
CN111404838A (en) Message processing method, device and equipment
US20170193614A1 (en) Verifiable reward system for influencing human travel patterns
CN108460590A (en) The method, apparatus and electronic equipment of information recommendation
CN109298926A (en) Resource transfers side enters the method, apparatus and electronic equipment of resource transfers platform
CN110458611A (en) Method, apparatus and calculating equipment for processing of fixing a price
CN108833296A (en) The control method and device of batch processing rate
CN113467824A (en) Data processing method, device, equipment and storage medium
Yao et al. Cutting your cloud computing cost for deadline-constrained batch jobs
CN108846675A (en) A kind of payment limit method of adjustment and device
CN110599343B (en) Contract data processing method, related device and medium
CN109995539A (en) A kind of flow authorization method, OCS, server and the readable storage medium storing program for executing of OCS
WO2023221444A1 (en) Resource management method and related apparatus
CN110662188B (en) Charging method and system
CN115001976B (en) Network slice intelligent ordering method, device and computer storage medium
CN112184278A (en) Capability commodity charging method, capability open platform and capability commodity ordering system
CN106934604A (en) The treating method and apparatus of account resource
CN108345941B (en) Parameter adjusting method and device
US20210385634A1 (en) Method of determining shared service index based on shared service of communication credential
CN109960572A (en) Equipment resource management method and device and intelligent terminal
CN113852723A (en) Number scheduling method, device, storage medium and computer program product
CN113689237A (en) Method and device for determining to-be-launched media resource and media resource processing model

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