CN106878099B - Traffic management method, terminal equipment, server and system - Google Patents

Traffic management method, terminal equipment, server and system Download PDF

Info

Publication number
CN106878099B
CN106878099B CN201510920898.9A CN201510920898A CN106878099B CN 106878099 B CN106878099 B CN 106878099B CN 201510920898 A CN201510920898 A CN 201510920898A CN 106878099 B CN106878099 B CN 106878099B
Authority
CN
China
Prior art keywords
target file
application
terminal equipment
operation condition
server
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
CN201510920898.9A
Other languages
Chinese (zh)
Other versions
CN106878099A (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
Original Assignee
China Mobile Communications Group 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 filed Critical China Mobile Communications Group Co Ltd
Priority to CN201510920898.9A priority Critical patent/CN106878099B/en
Publication of CN106878099A publication Critical patent/CN106878099A/en
Application granted granted Critical
Publication of CN106878099B publication Critical patent/CN106878099B/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
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0876Network utilisation, e.g. volume of load or congestion level
    • 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/1432Metric aspects
    • H04L12/1435Metric aspects volume-based

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a traffic management method, terminal equipment and a system, wherein the method comprises the following steps: starting a first application; acquiring a target file from a server side based on the first application; generating operation condition information for the target file based on the operation for the target file; and sending the operation condition information to a server side.

Description

Traffic management method, terminal equipment, server and system
Technical Field
The present invention relates to traffic management technologies in the field of network management, and in particular, to a traffic management method, a terminal device, a server, and a system.
Background
"directed traffic" refers to data traffic generated when an individual user accesses the internet using a mobile phone, and uses a specific service or accesses a specific web page through a network provided by an operator. The directional traffic is mainly the traffic fee generated when the internet company or the enterprise system pays the operator to purchase the corresponding traffic and the user uses the service provided by the user, and the operator does not charge the individual customer any more. At present, the main technical solution for implementing the directional traffic is implemented by an operator through configuring policy rules on a packet domain (data service) gateway on a mobile network. Enterprises applying for purchasing the directional flow need to provide IP addresses, domain names, protocols, content keywords and other related policy information needing to be exempted, and operators configure corresponding policy information on gateway equipment of the packet domain. When a personal user generates data traffic by using a network of an operator through a terminal, gateway equipment analyzes a data packet for the traffic, matching is carried out according to corresponding rules, and after matching, the gateway equipment generates a ticket file and marks a special identifier to generate the ticket file. And after the subsequent charging unit acquires the ticket file, the charge calculation is carried out according to the identifier on the ticket file and the charging rule of the directional flow, so that the related charge is reduced and avoided for the individual user.
The existing technical scheme for realizing the directional flow can realize the business requirements of enterprises, but has the following problems: flexibility problem: the current technical implementation scheme is to perform policy configuration on a packet domain gateway on a mobile network of an operator and identify a ticket according to an analysis data packet. If the enterprise has a policy change, the enterprise can be changed to use only after the operator needs to be timely found to communicate and change the corresponding rule. The flow is very complicated, and the real-time performance of subsequent change operation is very low. Handling performance issues: packet domain gateway equipment is adopted to analyze data packets, directional flow is distinguished in a rule matching mode, and the data packets generated by all users on a mobile network need to be analyzed, analyzed and matched. The influence on the internet speed of the user can be solved only by carrying out equipment capacity expansion by an operator.
Disclosure of Invention
In view of the above, the present invention provides a traffic management method, a terminal device and a system, which can at least solve the above problems in the prior art.
In order to achieve the purpose, the technical scheme of the invention is realized as follows:
the embodiment of the invention provides a flow management method, which is applied to terminal equipment and comprises the following steps:
starting a first application;
acquiring a target file from a server side based on the first application;
generating operation condition information for the target file based on the operation for the target file;
and sending the operation condition information to a server side.
An embodiment of the present invention provides a terminal device, where the terminal device includes:
the application management unit is used for starting a first application; acquiring a target file from a server side based on the first application; generating operation condition information for the target file based on the operation for the target file;
and the communication unit is used for sending the operation condition information to the server side.
The embodiment of the invention provides a flow management method, which is applied to a server and comprises the following steps:
providing a target file for the terminal equipment;
when receiving operation condition information sent by a terminal device based on the operation aiming at the target file, counting the flow generated by the operation of the terminal device on the target file according to the operation condition information, and carrying out flow charge processing based on the flow result obtained by counting.
An embodiment of the present invention provides a server, where the server includes:
the storage unit is used for providing a target file for the terminal equipment;
and the charge processing unit is used for counting the flow generated by the operation of the terminal equipment on the target file according to the operation condition information when receiving the operation condition information sent by the terminal equipment based on the operation on the target file, and performing flow charge processing based on the flow result obtained by counting.
An embodiment of the present invention provides a traffic management system, where the system includes:
the terminal equipment is used for starting the first application; acquiring a target file from a server side based on the first application; generating operation condition information for the target file based on the operation for the target file; sending the operation condition information to a message receiving server;
the message receiving server is used for sending the received operation condition information to the charging module server;
and the charging module server is used for counting the flow generated by the operation of the terminal equipment on the target file according to the operation condition information and carrying out flow charge processing based on the flow result obtained by counting.
The embodiment of the invention provides a traffic management method, a terminal device and a system, wherein the terminal device detects the operation condition of a target file through a first application and then sends the operation condition to a server side, so that the server side carries out traffic statistics based on the operation condition, and further carries out charging operation according to the traffic obtained through statistics. Therefore, the flow statistics can be actively initiated by the application in the terminal equipment, the packet domain gateway in the network is prevented from being used for analyzing and processing the data packet, an enterprise can flexibly call the data packet according to the service requirement of the enterprise, the service rule which is clearly used by an operator is not needed, the network load is reduced, and the complexity of the network is simplified. And the server side carries out subsequent processing, and the processing is carried out when the user surfs the internet in non-real time, so that the load of the packet domain gateway equipment is reduced.
Drawings
Fig. 1 is a first flowchart illustrating a flow management method according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a terminal device according to an embodiment of the present invention;
FIG. 3 is a flow chart of a traffic management method according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a server according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of a flow management system according to an embodiment of the present invention;
FIG. 6 is a system architecture diagram according to an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and specific embodiments.
The first embodiment,
An embodiment of the present invention provides a traffic management method, which is applied to a terminal device, and as shown in fig. 1, the method includes:
step 101: starting a first application;
step 102: acquiring a target file from a server side based on the first application;
step 103: generating operation condition information for the target file based on the operation for the target file;
step 104: and sending the operation condition information to a server side.
Here, the terminal device may be a mobile terminal, a tablet computer, or the like.
The first application may be a client APP issued by an enterprise.
The obtaining of the target file from the server side based on the first application may be, after the first application is started, obtaining the target file required by the user from a server connected to a network through the first application. For example, when the network is connected through the video application, whether a video which wants to be viewed online exists can be searched from the network side through the video application, and if the video is searched, the video stream of the video can be acquired from the server.
Further, a first type plug-in may be provided in the first application, and the plug-in may be provided for an operator to an enterprise that subscribes to the directed traffic, and may be packaged into a client application of the enterprise. Enterprises can flexibly design business processes according to self application requirements, and the plug-in is called in the link free of charge to users. The plug-in mainly performs two main functions: the first is an authentication function and the second is a message sending function.
The authentication function is used for authenticating to an authentication server when a first application, such as an enterprise APP client, is operated, and checking the legality of the corresponding enterprise of the plug-in so as to prevent the plug-in from being illegally used.
Specifically, before the target file is acquired from the server side based on the first application, the method further includes:
running a first type plug-in the first application;
acquiring an internet protocol address, a user identification and an authentication password of the terminal equipment through the first type plug-in;
generating an authentication request based on the Internet protocol address, the user identification and the authentication password of the terminal equipment;
sending the authentication request to a server side, so that the server side authenticates the running first type of plug-in according to the authentication request and sends an authentication result to the terminal equipment;
and receiving an authentication result returned by the server side.
The method for acquiring an Internet Protocol (IP) address of the terminal device may be: after the terminal equipment is connected to the network, the network connection configuration of the terminal equipment is detected, and the IP address is further extracted and obtained from the network connection configuration.
The identification information of the terminal device may be an IMSI of the terminal device.
The authentication password may be preset in the first application according to an actual situation, or may be account information allocated to the first application by the network when the user registers using the account information in the network through the first application.
The message sending function can be implemented in the following two scenarios:
the first scenario is that the generating of the operation condition information for the target file based on the operation for the target file includes:
when the target file is confirmed to be output, acquiring a first moment of initially outputting the target file, and generating first sub-information of the operation condition of the target file based on the first moment;
and when the target file is determined to stop being output, acquiring a second moment when the target file is stopped being output, and generating second sub-information of the operation condition of the target file based on the second moment.
The server side can identify the starting time and the stopping time of the user playing the target file through the first time and the second time, so that the condition that the user uses the network flow is obtained.
Wherein, the first sub information of the operation condition and the second self information of the operation condition may further include: IP address, identification information of terminal device.
Scenario two, the generating operation condition information for the target file based on the operation for the target file includes:
when the target file is confirmed to be output, acquiring a first moment of initially outputting the target file; when the target file is determined to stop being output, acquiring a second moment when the target file is stopped being output; and generating the operation condition information of the target file based on the first time and the second time, the internet protocol address information of the terminal equipment and the identification information of the terminal equipment.
The operation condition information may further include an IP address of the terminal device and identification information of the terminal device.
That is, for the first application, according to the service flow defined by itself, it needs to avoid consuming time for the user, and sends the mobile phone number of the user, the required IP address, and the start identifier to the message server of the operator through the plug-in. When the free use is finished, the APP client of the enterprise sends the mobile phone number of the user, the free IP address and the end identification to the message server again. Alternatively, the start time and the end time may be sent to the message server together when the use ends.
The server side may be a server in a mobile network, or may also be a server in a wireless communication network. Specifically, the server side may be a cluster formed by a plurality of servers. That is, according to the scheme, in addition to reducing the traffic generated by the packet domain, the wlan network provided by the operator can be used by the user to perform the same processing, and the use range is increased.
By adopting the scheme, the terminal device detects the operation condition of the target file through the first application, and then sends the operation condition to the server side, so that the server side performs flow statistics based on the operation condition, and further performs charging operation according to the flow obtained through statistics. Therefore, the flow statistics can be actively initiated by the application in the terminal equipment, the packet domain gateway in the network is prevented from being used for analyzing and processing the data packet, an enterprise can flexibly call the data packet according to the service requirement of the enterprise, the service rule which is clearly used by an operator is not needed, and the network load and the complexity are simplified. And the server side carries out subsequent processing, and the processing is carried out when the user surfs the internet in non-real time, so that the load of the packet domain gateway equipment is reduced.
In addition, the operation of the terminal equipment side can be authenticated, so that the plug-in is prevented from being illegally used by other users, and the safety of flow statistics is improved.
Example II,
The present embodiment provides a terminal device, as shown in fig. 2, including:
an application management unit 21 for starting a first application; acquiring a target file from a server side based on the first application; generating operation condition information for the target file based on the operation for the target file;
a communication unit 22, configured to send the operation condition information to the server side.
Here, the terminal device may be a mobile terminal, a tablet computer, or the like.
The first application may be a client APP issued by an enterprise.
The obtaining of the target file from the server side based on the first application may be, after the first application is started, obtaining the target file required by the user from a server connected to a network through the first application. For example, when the network is connected through the video application, whether a video which wants to be viewed online exists can be searched from the network side through the video application, and if the video is searched, the video stream of the video can be acquired from the server.
Further, a first type plug-in may be provided in the first application, and the plug-in may be provided for an operator to an enterprise that subscribes to the directed traffic, and may be packaged into a client application of the enterprise. Enterprises can flexibly design business processes according to self application requirements, and the plug-in is called in the link free of charge to users. The plug-in mainly performs two main functions: the first is an authentication function and the second is a message sending function.
The authentication function is used for authenticating to an authentication server when a first application, such as an enterprise APP client, is operated, and checking the legality of the corresponding enterprise of the plug-in so as to prevent the plug-in from being illegally used.
Specifically, the application management unit 21 is further configured to run a first type of plug-in the first application; acquiring an internet protocol address, a user identification and an authentication password of the terminal equipment through the first type plug-in; generating an authentication request based on the Internet protocol address, the user identification and the authentication password of the terminal equipment;
correspondingly, the communication unit 22 is further configured to send an authentication request of the first class plug-in to the server side, and obtain an authentication result returned by the server side.
The method for acquiring an Internet Protocol (IP) address of the terminal device may be: after the terminal equipment is connected to the network, the network connection configuration of the terminal equipment is detected, and the IP address is further extracted and obtained from the network connection configuration.
The identification information of the terminal device may be an IMSI of the terminal device.
The authentication password may be preset in the first application according to an actual situation, or may be account information allocated to the first application by the network when the user registers using the account information in the network through the first application.
The message sending function can be implemented in the following two scenarios:
the first scenario, the application management unit 21, when it is determined that the target file is output, is further configured to obtain a first time at which the target file is initially output, and generate first sub information of an operation condition of the target file based on the first time; and when the target file is determined to stop being output, acquiring a second moment when the target file is stopped being output, and generating second sub-information of the operation condition of the target file based on the second moment.
The server side can identify the starting time and the stopping time of the user playing the target file through the first time and the second time, so that the condition that the user uses the network flow is obtained.
Wherein, the first sub information of the operation condition and the second self information of the operation condition may further include: IP address, identification information of terminal device.
In a second scenario, the application management unit 21 is further configured to obtain a first time for initially outputting the target file when the target file is confirmed to be output; when the target file is determined to stop being output, acquiring a second moment when the target file is stopped being output; and generating the operation condition information of the target file based on the first time and the second time, the internet protocol address information of the terminal equipment and the identification information of the terminal equipment.
The operation condition information may further include an IP address of the terminal device and identification information of the terminal device.
That is, for the first application, according to the service flow defined by itself, it needs to avoid consuming time for the user, and sends the mobile phone number of the user, the required IP address, and the start identifier to the message server of the operator through the plug-in. When the free use is finished, the APP client of the enterprise sends the mobile phone number of the user, the free IP address and the end identification to the message server again. Alternatively, the start time and the end time may be sent to the message server together when the use ends.
The server side may be a server in a mobile network, or may also be a server in a wireless communication network. Specifically, the server side may be a cluster formed by a plurality of servers. That is, according to the scheme, in addition to reducing the traffic generated by the packet domain, the wlan network provided by the operator can be used by the user to perform the same processing, and the use range is increased.
By adopting the scheme, the terminal device detects the operation condition of the target file through the first application, and then sends the operation condition to the server side, so that the server side performs flow statistics based on the operation condition, and further performs charging operation according to the flow obtained through statistics. Therefore, the flow statistics can be actively initiated by the application in the terminal equipment, the packet domain gateway in the network is prevented from being used for analyzing and processing the data packet, an enterprise can flexibly call the data packet according to the service requirement of the enterprise, the service rule which is clearly used by an operator is not needed, and the network load and the complexity are simplified. And the server side carries out subsequent processing, and the processing is carried out when the user surfs the internet in non-real time, so that the load of the packet domain gateway equipment is reduced.
In addition, the operation of the terminal equipment side can be authenticated, so that the plug-in is prevented from being illegally used by other users, and the safety of flow statistics is improved.
Example III,
The present embodiment provides a traffic management method, as shown in fig. 3, including:
step 301: providing a target file for the terminal equipment;
step 302: when receiving operation condition information sent by a terminal device based on the operation aiming at the target file, counting the flow generated by the operation of the terminal device on the target file according to the operation condition information, and carrying out flow charge processing based on the flow result obtained by counting.
Here, the terminal device may be a mobile terminal, a tablet computer, or the like. The first application may be a client APP issued by an enterprise. The obtaining of the target file from the server side based on the first application may be, after the first application is started, obtaining the target file required by the user from a server connected to a network through the first application. For example, when the network is connected through the video application, whether a video which wants to be viewed online exists can be searched from the network side through the video application, and if the video is searched, the video stream of the video can be acquired from the server.
The first application can be provided with a first type plug-in, which can be provided for an operator to an enterprise subscribing to the directed traffic and can be packaged into a client application of the enterprise. Enterprises can flexibly design business processes according to self application requirements, and the plug-in is called in the link free of charge to users. The plug-in mainly performs two main functions: the first is an authentication function and the second is a message sending function.
The method further comprises the following steps: and receiving an authentication request sent by the terminal equipment, authenticating the running first type plug-in according to the authentication request, and sending an authentication result to the terminal equipment.
The method for acquiring an Internet Protocol (IP) address of the terminal device may be: after the terminal equipment is connected to the network, the network connection configuration of the terminal equipment is detected, and the IP address is further extracted and obtained from the network connection configuration.
The identification information of the terminal device may be an IMSI of the terminal device.
The authentication password may be preset in the first application according to an actual situation, or may be account information allocated to the first application by the network when the user registers using the account information in the network through the first application.
The server may be a server in a mobile network or may also be a server in a wireless communication network. Specifically, the server side may be a cluster formed by a plurality of servers. That is, according to the scheme, in addition to reducing the traffic generated by the packet domain, the wlan network provided by the operator can be used by the user to perform the same processing, and the use range is increased.
By adopting the scheme, the terminal device detects the operation condition of the target file through the first application, and then sends the operation condition to the server side, so that the server side performs flow statistics based on the operation condition, and further performs charging operation according to the flow obtained through statistics. Therefore, the flow statistics can be actively initiated by the application in the terminal equipment, the packet domain gateway in the network is prevented from being used for analyzing and processing the data packet, an enterprise can flexibly call the data packet according to the service requirement of the enterprise, the service rule which is clearly used by an operator is not needed, and the network load and the complexity are simplified. And the server side carries out subsequent processing, and the processing is carried out when the user surfs the internet in non-real time, so that the load of the packet domain gateway equipment is reduced.
In addition, the operation of the terminal equipment side can be authenticated, so that the plug-in is prevented from being illegally used by other users, and the safety of flow statistics is improved.
Example four,
The present embodiment provides a server, as shown in fig. 4, including:
a storage unit 41 for providing a target file for the terminal device;
and a cost processing unit 42, configured to, when receiving operation condition information sent by a terminal device based on an operation on the target file, count traffic generated by the terminal device operating on the target file according to the operation condition information, and perform traffic cost processing based on a traffic result obtained by the counting.
The server further comprises: and the authentication unit 43 is configured to receive an authentication request sent by the terminal device, authenticate the running of the first class plug-in according to the authentication request, and send an authentication result to the terminal device.
The method for acquiring an Internet Protocol (IP) address of the terminal device may be: after the terminal equipment is connected to the network, the network connection configuration of the terminal equipment is detected, and the IP address is further extracted and obtained from the network connection configuration.
The identification information of the terminal device may be an IMSI of the terminal device.
The authentication password may be preset in the first application according to an actual situation, or may be account information allocated to the first application by the network when the user registers using the account information in the network through the first application.
The server may be a server in a mobile network or may also be a server in a wireless communication network. Specifically, the server side may be a cluster formed by a plurality of servers. That is, according to the scheme, in addition to reducing the traffic generated by the packet domain, the wlan network provided by the operator can be used by the user to perform the same processing, and the use range is increased.
By adopting the scheme, the terminal device detects the operation condition of the target file through the first application, and then sends the operation condition to the server side, so that the server side performs flow statistics based on the operation condition, and further performs charging operation according to the flow obtained through statistics. Therefore, the flow statistics can be actively initiated by the application in the terminal equipment, the packet domain gateway in the network is prevented from being used for analyzing and processing the data packet, an enterprise can flexibly call the data packet according to the service requirement of the enterprise, the service rule which is clearly used by an operator is not needed, and the network load and the complexity are simplified. And the server side carries out subsequent processing, and the processing is carried out when the user surfs the internet in non-real time, so that the load of the packet domain gateway equipment is reduced.
In addition, the operation of the terminal equipment side can be authenticated, so that the plug-in is prevented from being illegally used by other users, and the safety of flow statistics is improved.
Example V,
The present embodiment provides a traffic management system, as shown in fig. 5, the system includes:
a terminal device 51 for starting a first application; acquiring a target file from a server side based on the first application; generating operation condition information for the target file based on the operation for the target file; sending the operation condition information to a message receiving server;
the message receiving server 52 is used for sending the received operation condition information to the charging module server;
and the charging module server 53 is configured to count traffic generated by the terminal device operating the target file according to the operation condition information, and perform traffic fee processing based on a traffic result obtained by the counting.
Here, the terminal device may be a mobile terminal, a tablet computer, or the like.
The first application may be a client APP issued by an enterprise.
The obtaining of the target file from the server side based on the first application may be, after the first application is started, obtaining the target file required by the user from a server connected to a network through the first application. For example, when the network is connected through the video application, whether a video which wants to be viewed online exists can be searched from the network side through the video application, and if the video is searched, the video stream of the video can be acquired from the server.
Further, a first type plug-in may be provided in the first application, and the plug-in may be provided for an operator to an enterprise that subscribes to the directed traffic, and may be packaged into a client application of the enterprise. Enterprises can flexibly design business processes according to self application requirements, and the plug-in is called in the link free of charge to users. The plug-in mainly performs two main functions: the first is an authentication function and the second is a message sending function.
The authentication function is used for authenticating to an authentication server when a first application, such as an enterprise APP client, is operated, and checking the legality of the corresponding enterprise of the plug-in so as to prevent the plug-in from being illegally used.
The system further comprises:
the authentication server 54 is configured to authenticate the running of the first type plug-in according to the authentication request, and send an authentication result to the terminal device;
correspondingly, the terminal device 51 is further configured to run a first type plug-in the first application; acquiring an internet protocol address, a user identification and an authentication password of the terminal equipment through the first type plug-in; generating an authentication request based on the Internet protocol address, the user identification and the authentication password of the terminal equipment; and sending the authentication request to a server side.
The method for acquiring an Internet Protocol (IP) address of the terminal device may be: after the terminal equipment is connected to the network, the network connection configuration of the terminal equipment is detected, and the IP address is further extracted and obtained from the network connection configuration.
The identification information of the terminal device may be an IMSI of the terminal device.
The authentication password may be preset in the first application according to an actual situation, or may be account information allocated to the first application by the network when the user registers using the account information in the network through the first application.
For example, the authentication server is specifically configured to provide an authentication function when using a plug-in. The legality of calling plug-ins by APP clients of the enterprise ordering the directional traffic is guaranteed. When calling the plug-in for authentication, the APP submits the registered authentication information such as the IP address, the user name, the password and the like, so that the legality of using the plug-in is ensured, and the plug-in is prevented from being stolen by other people.
The message sending function can be implemented in the following two scenarios:
the method comprises the steps that firstly, when the target file is confirmed to be output, a first moment of initially outputting the target file is obtained, and first sub-information of the operation condition of the target file is generated based on the first moment; and when the target file is determined to stop being output, acquiring a second moment when the target file is stopped being output, and generating second sub-information of the operation condition of the target file based on the second moment.
The server side can identify the starting time and the stopping time of the user playing the target file through the first time and the second time, so that the condition that the user uses the network flow is obtained.
Wherein, the first sub information of the operation condition and the second self information of the operation condition may further include: IP address, identification information of terminal device.
A second scenario, when the target file is confirmed to be output, acquiring a first moment of initially outputting the target file; when the target file is determined to stop being output, acquiring a second moment when the target file is stopped being output; and generating the operation condition information of the target file based on the first time and the second time, the internet protocol address information of the terminal equipment and the identification information of the terminal equipment.
The operation condition information may further include an IP address of the terminal device and identification information of the terminal device.
That is, the message receiving server receives the user number, the free IP address and the start/end identifier sent by the plug-in after being authenticated by the authentication server. And after the message server obtains the information, the identification of the directional flow enterprise is added, and the time information of the server is filled. And sending the message content to a charging module processing server for subsequent processing.
The system further comprises:
a packet domain gateway device 55, configured to provide all traffic information of the terminal device within a specified duration for a charging module server;
correspondingly, the charging module server 53 is specifically configured to obtain all traffic information of the terminal device within a specified duration from a gateway device in a packet domain, count traffic generated by the terminal device operating on the target file according to the operation condition information reported by the terminal device, and determine a traffic cost of the terminal device within the specified duration based on a traffic result obtained by the counting and all traffic information of the terminal device.
The packet domain gateway device is only responsible for generating a traffic ticket generated by a user through the packet domain without any transformation configuration.
Correspondingly, the charging module server obtains all call ticket records of user online from the packet domain gateway device, and processes the call ticket according to a single user, if the user has a flow deduction message sent by the message server, the charging server calculates the flow as 0, and the user is not charged any more. And calculating other flow rates at the time point according to the flow rate subscribed by the user. And charging the corresponding enterprises for the exempted flow according to enterprise summary statistics of the ordered directional flow.
The system components provided by the present embodiment can be as shown in fig. 6. The server side may be a server in a mobile network, or may also be a server in a wireless communication network. Specifically, the server side may be a cluster formed by a plurality of servers. That is, according to the scheme, in addition to reducing the traffic generated by the packet domain, the wlan network provided by the operator can be used by the user to perform the same processing, and the use range is increased.
By adopting the scheme, the terminal device detects the operation condition of the target file through the first application, and then sends the operation condition to the server side, so that the server side performs flow statistics based on the operation condition, and further performs charging operation according to the flow obtained through statistics. Therefore, the flow statistics can be actively initiated by the application in the terminal equipment, the packet domain gateway in the network is prevented from being used for analyzing and processing the data packet, an enterprise can flexibly call the data packet according to the service requirement of the enterprise, the service rule which is clearly used by an operator is not needed, and the network load and the complexity are simplified. And the server side carries out subsequent processing, and the processing is carried out when the user surfs the internet in non-real time, so that the load of the packet domain gateway equipment is reduced.
In addition, the operation of the terminal equipment side can be authenticated, so that the plug-in is prevented from being illegally used by other users, and the safety of flow statistics is improved.
The integrated module according to the embodiment of the present invention may also be stored in a computer-readable storage medium if it is implemented in the form of a software functional module and sold or used as an independent product. Based on such understanding, the technical solutions of the embodiments of the present invention may be essentially implemented or a part contributing to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling a computer device (which may be a personal computer, a base station, or a network device) to execute all or part of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes. Thus, embodiments of the invention are not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention.

Claims (10)

1. A traffic management method is applied to terminal equipment, and is characterized in that the method comprises the following steps:
starting a first application;
acquiring a target file from a server side based on the first application;
generating operation condition information for the target file based on the operation for the target file;
sending the operation condition information to a server side;
before the target file is acquired from the server side based on the first application, the method further comprises the following steps:
running a first type plug-in the first application;
acquiring an internet protocol address, a user identification and an authentication password of the terminal equipment through the first type plug-in;
generating an authentication request based on the Internet protocol address, the user identification and the authentication password of the terminal equipment;
sending the authentication request to a server side;
and receiving an authentication result returned by the server side.
2. The method of claim 1, wherein generating operation condition information for the target file based on the operation for the target file comprises:
when the target file is confirmed to be output, acquiring a first moment of initially outputting the target file, and generating first sub-information of the operation condition of the target file based on the first moment;
and when the target file is determined to stop being output, acquiring a second moment when the target file is stopped being output, and generating second sub-information of the operation condition of the target file based on the second moment.
3. The method of claim 1, wherein generating operation condition information for the target file based on the operation for the target file comprises:
when the target file is confirmed to be output, acquiring a first moment of initially outputting the target file;
when the target file is determined to stop being output, acquiring a second moment when the target file is stopped being output;
and generating the operation condition information of the target file based on the first time and the second time, the internet protocol address information of the terminal equipment and the identification information of the terminal equipment.
4. A terminal device, characterized in that the terminal device comprises:
the application management unit is used for starting a first application; acquiring a target file from a server side based on the first application; generating operation condition information for the target file based on the operation for the target file;
the communication unit is used for sending the operation condition information to the server side;
the application management unit is also used for running a first type of plug-in the first application; acquiring an internet protocol address, a user identification and an authentication password of the terminal equipment through the first type plug-in; generating an authentication request based on the Internet protocol address, the user identification and the authentication password of the terminal equipment;
correspondingly, the communication unit is further configured to send an authentication request of the first class plug-in to the server side, and obtain an authentication result returned by the server side.
5. The terminal device of claim 4,
the application management unit is further configured to acquire a first time at which the target file is initially output when the target file is confirmed to be output, and generate first sub information of an operation condition of the target file based on the first time; and when the target file is determined to stop being output, acquiring a second moment when the target file is stopped being output, and generating second sub-information of the operation condition of the target file based on the second moment.
6. The terminal device of claim 4,
the application management unit is further configured to obtain a first time for initially outputting the target file when the target file is confirmed to be output; when the target file is determined to stop being output, acquiring a second moment when the target file is stopped being output; and generating the operation condition information of the target file based on the first time and the second time, the internet protocol address information of the terminal equipment and the identification information of the terminal equipment.
7. A traffic management method is applied to a server, and is characterized by comprising the following steps:
providing a target file for a first application of a terminal device;
when receiving operation condition information sent by a terminal device based on the operation aiming at the target file, counting the flow generated by the operation of the terminal device on the target file according to the operation condition information, and carrying out flow charge processing based on the flow result obtained by counting;
the method further comprises the following steps:
receiving an authentication request sent by terminal equipment, authenticating a first type of plug-in running in the first application according to the authentication request, and sending an authentication result to the terminal equipment; wherein the authentication request is generated based on an internet protocol address, a user identification and an authentication password of the terminal device.
8. A server, characterized in that the server comprises:
the storage unit is used for providing a target file for a first application of the terminal equipment;
the cost processing unit is used for counting the flow generated by the operation of the terminal equipment on the target file according to the operation condition information when receiving the operation condition information sent by the terminal equipment based on the operation on the target file, and performing flow cost processing based on the flow result obtained by counting;
the server further comprises:
the authentication unit is used for receiving an authentication request sent by terminal equipment, authenticating the first type of plug-in running in the first application according to the authentication request and sending an authentication result to the terminal equipment; wherein the authentication request is generated based on an internet protocol address, a user identification and an authentication password of the terminal device.
9. A traffic management system, characterized in that the system comprises:
the terminal equipment is used for starting the first application; acquiring a target file from a server side based on the first application; generating operation condition information for the target file based on the operation for the target file; sending the operation condition information to a message receiving server;
the message receiving server is used for sending the received operation condition information to the charging module server;
the charging module server is used for counting the flow generated by the operation of the terminal equipment on the target file according to the operation condition information and carrying out flow charge processing based on the flow result obtained by counting;
correspondingly, the terminal device is further configured to run a first type of plug-in the first application; acquiring an internet protocol address, a user identification and an authentication password of the terminal equipment through the first type plug-in; generating an authentication request based on the Internet protocol address, the user identification and the authentication password of the terminal equipment; sending the authentication request to an authentication server at a server side;
and the authentication server is used for authenticating the running of the first type of plug-in according to the authentication request and sending an authentication result to the terminal equipment.
10. The system of claim 9, further comprising:
the packet domain gateway equipment is used for providing all flow information of the terminal equipment in a specified duration for the charging module server;
correspondingly, the charging module server is specifically configured to obtain all traffic information of the terminal device within a specified duration from a gateway device in a packet switched domain, count traffic generated by the terminal device operating the target file according to the operating condition information reported by the terminal device, and determine a traffic cost of the terminal device within the specified duration based on a traffic result obtained by the counting and all traffic information of the terminal device.
CN201510920898.9A 2015-12-11 2015-12-11 Traffic management method, terminal equipment, server and system Active CN106878099B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510920898.9A CN106878099B (en) 2015-12-11 2015-12-11 Traffic management method, terminal equipment, server and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510920898.9A CN106878099B (en) 2015-12-11 2015-12-11 Traffic management method, terminal equipment, server and system

Publications (2)

Publication Number Publication Date
CN106878099A CN106878099A (en) 2017-06-20
CN106878099B true CN106878099B (en) 2020-10-30

Family

ID=59177409

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510920898.9A Active CN106878099B (en) 2015-12-11 2015-12-11 Traffic management method, terminal equipment, server and system

Country Status (1)

Country Link
CN (1) CN106878099B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109302641B (en) * 2017-07-25 2022-08-02 腾讯科技(北京)有限公司 Video watching request method, medium and device
CN108696406A (en) * 2018-05-30 2018-10-23 连尚(新昌)网络科技有限公司 The method of pushed information
CN111314183B (en) * 2020-04-09 2022-02-22 网易(杭州)网络有限公司 Flow information detection method and device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101005381A (en) * 2006-01-17 2007-07-25 华为技术有限公司 System and method for realizing flow statistic based user's service on terminal
CN101009005A (en) * 2006-01-24 2007-08-01 中国电信股份有限公司 Method, system and platform for securing safety of payment based on internet
CN102761537A (en) * 2012-03-29 2012-10-31 北京奇虎科技有限公司 Method and system for authentication and authorization on basis of client-side plug-in
CN102830992A (en) * 2012-07-31 2012-12-19 北京奇虎科技有限公司 Plug-in loading method and system

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8085741B2 (en) * 2004-03-10 2011-12-27 Core Wireless Licensing S.A.R.L. System and method for pushing content to a terminal utilizing a network-initiated data service technique
CN102026141B (en) * 2010-12-27 2014-09-10 中兴通讯股份有限公司 Flow statistic method, terminal and system
CN102916870A (en) * 2012-10-26 2013-02-06 苏州阔地网络科技有限公司 Method and system for controlling network connection
CN105101270B (en) * 2014-05-12 2019-02-01 宇龙计算机通信科技(深圳)有限公司 Flow management device and flow managing method for terminal
CN105101138A (en) * 2014-05-23 2015-11-25 宇龙计算机通信科技(深圳)有限公司 Method and system for controlling traffic, and terminal
CN104378258B (en) * 2014-11-14 2019-01-15 东莞宇龙通信科技有限公司 A kind of network flow monitoring method, device and terminal
CN104486138A (en) * 2014-11-25 2015-04-01 北京奇虎科技有限公司 Flow monitoring method and device and monitoring server
CN104967688A (en) * 2015-06-30 2015-10-07 北京奇虎科技有限公司 Method for accessing to network by using flow-free platform, mobile terminal and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101005381A (en) * 2006-01-17 2007-07-25 华为技术有限公司 System and method for realizing flow statistic based user's service on terminal
CN101009005A (en) * 2006-01-24 2007-08-01 中国电信股份有限公司 Method, system and platform for securing safety of payment based on internet
CN102761537A (en) * 2012-03-29 2012-10-31 北京奇虎科技有限公司 Method and system for authentication and authorization on basis of client-side plug-in
CN102830992A (en) * 2012-07-31 2012-12-19 北京奇虎科技有限公司 Plug-in loading method and system

Also Published As

Publication number Publication date
CN106878099A (en) 2017-06-20

Similar Documents

Publication Publication Date Title
CN106101258B (en) Interface calling method, device and system of hybrid cloud
CN101990183B (en) Method, device and system for protecting user information
US10097546B2 (en) Authentication of a user device using traffic flow information
US7653933B2 (en) System and method of network authentication, authorization and accounting
US7512973B1 (en) Wireless-access-provider intermediation to facilliate digital rights management for third party hosted content
US10911414B2 (en) Method and apparatus for data connectivity sharing
US10945130B2 (en) Method for establishing wireless connection for application of user equipment
WO2016165505A1 (en) Connection control method and apparatus
TW201505464A (en) Controlling method for sharing wireless data traffic and system thereof
CN111132305B (en) Method for 5G user terminal to access 5G network, user terminal equipment and medium
CN103905399A (en) Account registration management method and apparatus
CN105847223A (en) Authentication method and device of terminal device
CN106878099B (en) Traffic management method, terminal equipment, server and system
CN107528712A (en) The determination of access rights, the access method of the page and device
CN105813078A (en) Network authentication method, device and system and AP (ACCESS POINT) with authentication function
CN110198317A (en) A kind of portal authentication method and system based on port
CN112787975B (en) Method, device and system for determining type of access device
US10666812B2 (en) Charging control apparatus, method, and system
CN105429978B (en) Data access method, equipment and system
CN107547680B (en) Data processing method and device
CN113472545B (en) Equipment network access method, device, equipment, storage medium and communication system
CN110198294A (en) Security attack detection method and device
CN106487776B (en) Method, network entity and system for protecting machine type communication equipment
CN104639321B (en) A kind of identity identifying method, equipment and system
KR101480706B1 (en) Network system for providing security to intranet and method for providing security to intranet using security gateway of mobile communication network

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