[go: up one dir, main page]

WO2016065619A1 - 一种数据流量管理方法及装置 - Google Patents

一种数据流量管理方法及装置 Download PDF

Info

Publication number
WO2016065619A1
WO2016065619A1 PCT/CN2014/090059 CN2014090059W WO2016065619A1 WO 2016065619 A1 WO2016065619 A1 WO 2016065619A1 CN 2014090059 W CN2014090059 W CN 2014090059W WO 2016065619 A1 WO2016065619 A1 WO 2016065619A1
Authority
WO
WIPO (PCT)
Prior art keywords
traffic
application
data
value
threshold
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.)
Ceased
Application number
PCT/CN2014/090059
Other languages
English (en)
French (fr)
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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
Priority to EP20170997.9A priority Critical patent/EP3749006B1/en
Priority to EP22186818.5A priority patent/EP4161126B1/en
Priority to EP14904640.1A priority patent/EP3206428B1/en
Priority to ES20170997T priority patent/ES2925947T3/es
Priority to CN202110189228.XA priority patent/CN112911637A/zh
Priority to ES22186818T priority patent/ES2985119T3/es
Priority to PCT/CN2014/090059 priority patent/WO2016065619A1/zh
Priority to US15/523,034 priority patent/US10791060B2/en
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to ES14904640T priority patent/ES2825650T3/es
Priority to CN201480056538.2A priority patent/CN106031227B/zh
Publication of WO2016065619A1 publication Critical patent/WO2016065619A1/zh
Anticipated expiration legal-status Critical
Priority to US17/035,254 priority patent/US11349767B2/en
Priority to US17/826,783 priority patent/US11799786B2/en
Ceased legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/24Traffic characterised by specific attributes, e.g. priority or QoS
    • H04L47/2475Traffic characterised by specific attributes, e.g. priority or QoS for supporting traffic characterised by the type of applications
    • 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
    • H04L43/0882Utilisation of link capacity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/75Indicating network or usage conditions on the user display
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/0215Traffic management, e.g. flow control or congestion control based on user or device properties, e.g. MTC-capable devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/10Flow control between communication endpoints
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/16Threshold monitoring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/30Connection release
    • H04W76/34Selective release of ongoing connections
    • H04W76/36Selective release of ongoing connections for reassigning the resources associated with the released connections
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]

Definitions

  • the present application relates to the field of communication networks, and in particular, to a data traffic management method and apparatus.
  • the mobile terminal can act as an access point (access Point, AP), the data traffic of this machine is wireless fidelity (Wireless Fidelity, WiFi) is shared to other terminals that can access the WiFi access point, so that the terminal accessing the local machine can use the data traffic of the local machine.
  • the data traffic includes mobile data traffic of the access base station and data traffic of the access WiFi access point.
  • the local machine shares the mobile data traffic of the access base station to other terminals through the "network sharing" function
  • the usual method of managing data traffic adopts a monthly setting, and sets a threshold for the mobile data traffic of the local machine.
  • the data connection is restricted to prevent over-traffic use, thereby realizing the management of the total data traffic of the machine.
  • this data traffic management method can only manage the data traffic used by all applications of the local machine (for example, when the data traffic used by the local machine is greater than or equal to the maximum data traffic allowed by the user-customized data traffic packet) , sending a message prompting the user), can not perform separate traffic management on the data traffic already used by a specific application (for example, WeChat, network disk, application market, cloud service, etc.), resulting in data traffic being misused , so that the machine exceeds the flow of the reservation package, thereby causing unnecessary economic loss to the user.
  • a specific application for example, WeChat, network disk, application market, cloud service, etc.
  • the present invention provides a data traffic management method and device, which can perform real-time traffic management on a single application, so that users can modify the flow control information in real time according to requirements to manage data traffic in real time, or perform real-time traffic management on a single application according to a preset statistical period. Enables users to fine-tune management and control of data traffic values as needed.
  • the first aspect of the present application provides a data traffic management method, including: acquiring flow control information of a first application, where the flow control information includes at least a traffic upper threshold; The data traffic value that has been used by the first application; when the data traffic value is greater than or equal to the traffic upper threshold, the data connection of the first application is disconnected.
  • the flow control information includes a traffic upper threshold and a traffic monitoring period, where the traffic upper threshold is used to identify the traffic monitoring period The maximum value of the data traffic that is allowed to be used by the first application; when the data traffic value is greater than or equal to the upper traffic threshold, the data connection of the first application is disconnected, specifically: During the traffic monitoring period, when the data traffic value is greater than or equal to the traffic upper threshold, the data connection of the first application is disconnected.
  • the method further includes: acquiring a flow control information modification instruction input by a user, where The flow control information modification command is used to modify the traffic upper limit threshold; when the data traffic value is greater than or equal to the traffic upper limit threshold included in the flow control information, disconnect the data connection of the first application;
  • the method includes: disconnecting the data connection of the first application when the modified upper traffic threshold is greater than the upper traffic threshold, and the traffic data value is greater than or equal to the modified upper traffic threshold; or And maintaining the data connection state of the first application when the modified traffic upper limit threshold is greater than the modified upper traffic threshold, and the modified traffic upper limit is greater than the modified traffic upper threshold; or
  • the threshold is smaller than the upper traffic threshold before the modification, and the traffic data value is greater than or equal to the modified upper traffic threshold.
  • the method further includes: clearing a data flow value that has been used by the first application within the preset time.
  • a fourth possible implementation manner of the first aspect of the present application when the data traffic value is greater than or equal to the When the traffic upper limit threshold is used, the data connection of the first application is disconnected, and the user prompt information is presented when the data traffic value is greater than or equal to the upper traffic threshold.
  • the user prompt information is used to prompt the user. Whether to disconnect the data connection of the first application; acquiring a data connection disconnection command triggered by the user, and disconnecting the data connection of the first application according to the data connection disconnection instruction.
  • the first application is a function of data traffic sharing And obtaining the data traffic value that has been used by the first application in the preset time; and: acquiring a data traffic value that has been used by all terminals that perform data connection via the first application within a preset time; Determining, when the data traffic value is greater than or equal to the traffic upper threshold, disconnecting the data connection of the first application, including: when the data traffic value used by all terminals that perform data connection via the first application is greater than Disabling the first application when the traffic upper limit threshold is equal to or equal to; or disconnecting the data traffic value that has been used by all terminals that perform data connection via the first application is greater than or equal to the upper traffic threshold Determining a data connection between the first application and all terminals connected via the first application; or, when performing via the first application According to the data of all the flow rate is connected to the terminals already in use flow
  • the second aspect of the present application provides a data traffic management apparatus, including a flow control information acquisition module, a data flow value acquisition module, and a control module.
  • the flow control information acquisition module is configured to acquire traffic of the first application. Controlling information, wherein the flow control information includes at least a traffic upper threshold; the data traffic value obtaining module is configured to obtain a data traffic value that has been used by the first application in a preset time; the control module is used to When the data traffic value obtained by the data traffic value obtaining module is greater than or equal to the traffic upper threshold, the data connection of the first application is disconnected.
  • the flow control information includes a traffic upper threshold and a traffic monitoring period, where the traffic upper threshold is used to identify the traffic monitoring period The maximum value of the data traffic that is allowed to be used by the first application; the control module is specifically configured to: when the data traffic value obtaining module obtains the data traffic value is greater than or equal to When the traffic upper limit threshold is described, the data connection of the first application is disconnected.
  • the device further includes an input module, where the input module is configured to obtain a user input The flow control information modification instruction, wherein the flow control information modification instruction is used to modify the upper traffic threshold; the control module is specifically configured to: when the modified upper limit threshold of the input module is greater than a traffic upper limit threshold before modification, If the traffic data value is greater than or equal to the modified traffic upper threshold, the data connection of the first application is disconnected; or the upper traffic threshold of the input module is greater than the upper traffic threshold before the modification.
  • the data connection state of the first application is maintained when the upper limit of the flow rate of the input module is smaller than the upper limit of the flow rate before the modification, and the value of the flow data is smaller than the upper limit of the modified flow rate.
  • the device further includes a reset module, the weight The setting module is configured to clear the data flow value used by the first application in the preset time after the control module disconnects the data connection of the first application.
  • the control module includes an information prompting unit and an instruction execution
  • the information prompting unit is configured to: when the data traffic value is greater than or equal to the traffic upper limit threshold, present user prompt information, where the user prompt information is used to prompt the user whether to disconnect the first application.
  • the data execution unit is configured to: after the information prompting unit presents the user prompt information, acquire a data connection disconnection instruction triggered by the user, and disconnect the first application according to the data connection disconnection instruction. Data connection.
  • the first application is a function of data traffic sharing
  • the traffic control information obtaining module is configured to acquire a data traffic value that has been used by all terminals that perform data connection via the first application within a preset time; the control module is specifically configured to: when the data traffic value is obtained Disabling the first application when the data traffic value that has been used by the module for the data connection that is performed by the first application is greater than or equal to the traffic upper threshold; or, when the data traffic value acquisition module acquires And disconnecting, between the first application and all terminals that perform data connection via the first application, when the data traffic value used by all the terminals that perform the data connection by using the first application is greater than or equal to the traffic upper limit threshold Data connection; or,
  • the third aspect of the present application provides a data traffic management apparatus, including the following steps: including: a processor; the processor is configured to acquire flow control information of a first application, and obtain a preset time a data traffic value that has been used by the first application, where the traffic control information includes at least a traffic upper threshold; the processor is further configured to disconnect when the data traffic value is greater than or equal to the traffic upper threshold The data connection of the first application.
  • the flow control information includes a traffic upper threshold and a traffic monitoring period, where the traffic upper threshold is used to identify the traffic monitoring period The maximum amount of data traffic allowed by the first application; the processor is specifically configured to: when the data traffic value is greater than or equal to the traffic upper threshold, during the traffic monitoring period, disconnecting The data connection of the first application.
  • the device further includes an input device, where the input device is configured to obtain a user input The flow control information modification instruction, wherein the flow control information modification instruction is used to modify the traffic upper limit threshold; the processor is specifically configured to: when the modified upper limit threshold of the input module is greater than a traffic upper limit threshold before modification, If the traffic data value is greater than or equal to the modified traffic upper threshold, the data connection of the first application is disconnected; or the upper traffic threshold of the input module is greater than the upper traffic threshold before the modification.
  • the data connection state of the first application is maintained when the upper limit of the flow rate of the input module is smaller than the upper limit of the flow rate before the modification, and the value of the flow data is smaller than the upper limit of the modified flow rate.
  • the processor is further configured to After the data connection of the first application is connected, the data flow value that has been used by the first application in the preset time is cleared.
  • the device further includes an output device, the output device And presenting user prompt information, where the user prompt information is used to prompt the user whether to disconnect the data of the first application, when the data flow value obtained by the processor is greater than or equal to the upper traffic threshold.
  • the processor is further configured to: after the user device presents the user prompt information, acquire a data connection disconnection instruction triggered by the user, and disconnect the data connection of the first application according to the data connection disconnection instruction.
  • the first application is a function of data traffic sharing
  • the processor is specifically configured to acquire data traffic values that have been used by all terminals that perform data connection via the first application within a preset time; the processor is specifically configured to perform data connection by using the first application.
  • the first application is disabled when the data traffic value used by all terminals is greater than or equal to the traffic upper threshold; or the data traffic value used by all terminals that perform data connection via the first application is greater than or equal to When the traffic upper limit threshold is used, disconnecting the data connection between the first application and all terminals that perform data connection via the first application; or when all terminals that perform data connection via the first application have used Disconnecting between the first application and the terminal modem modem module when the data traffic value is greater than or equal to the traffic upper threshold Data Connections.
  • the traffic control value of the first application is used to obtain the traffic control value of the first application, and the data traffic value used by the first application is greater than or equal to the upper traffic threshold of the flow control information of the first application.
  • the data connection of the first application is disconnected.
  • the solution can perform real-time traffic management on a single application, enabling users to finely manage and control data traffic according to requirements, thereby improving the user experience.
  • FIG. 1 is a flowchart of an embodiment of a data traffic management method of the present application
  • FIG. 2 is a flowchart of another embodiment of a data traffic management method of the present application.
  • FIG. 3 is a schematic diagram of an implementation manner of a data traffic management user interface of the present application.
  • FIG. 5 is a schematic diagram of another embodiment of a data traffic management user interface of the present application.
  • FIG. 6 is a schematic structural diagram of an embodiment of a data traffic management apparatus of the present application.
  • FIG. 7 is a schematic structural diagram of another embodiment of a data traffic management apparatus of the present application.
  • FIG. 8 is a schematic structural diagram of still another embodiment of a data traffic management apparatus according to the present application.
  • FIG. 1 is a flowchart of an embodiment of a data traffic management method of the present application.
  • the present embodiment is described from the perspective of the terminal.
  • the execution entity may be a terminal that obtains data traffic from the base station, or may be a mifi terminal that obtains data traffic from the data flow card, and may share data traffic through the network sharing function, for example, hot spot. Specifically, the following steps are included:
  • S101 Obtain flow control information of the first application, where the flow control information includes at least a traffic upper threshold.
  • the user can open the traffic management function of the first application through the traffic management user interface or the shortcut key to perform traffic management on the first application.
  • the traffic upper limit threshold may be a traffic upper limit threshold of the first application set by the user, or may be a traffic upper limit threshold of the first application preset by the terminal, for example, the terminal uniformly allocates a traffic threshold according to multiple applications, Make a limit.
  • the first application may be any application that causes the terminal to perform data interaction with the base station or the data flow card, perform data connection, and generate data traffic.
  • the first application may be any one of the applications that the terminal has installed, such as WeChat, the network disk, the application market, the cloud service, and the like, and the application that is installed in the local system and can perform data interaction with the server.
  • the first application may be a functional application for data sharing of the terminal, where the functional application of the data traffic sharing is to pass data traffic of a certain terminal or a certain device or a certain module to some preset.
  • the way to share with at least one other terminal application such as WiFi network sharing, Bluetooth network sharing, USB network sharing and other network sharing.
  • WiFi network sharing is the local device's WiFi communication with other terminals, sharing the data traffic of this machine to other terminals.
  • Bluetooth network sharing is the local Bluetooth communication between this unit and other terminals, sharing the data traffic of this machine to other terminals.
  • USB network sharing network sharing is to connect the machine to other terminals via USB for USB communication, and share the data traffic of this machine to other terminals.
  • the flow control information may be preset by the system, or may be manually input by the user through the traffic management interface.
  • the flow control information may be obtained by the terminal every preset time, and the preset time may be set according to the actual needs of the user.
  • the data traffic is mobile data traffic, which is data traffic generated by the local device accessing the core network through a base station or a data flow card.
  • the data traffic is Wireless Local Area Networks (WLAN) data traffic.
  • WLAN Wireless Local Area Networks
  • S102 Acquire a data traffic value that has been used by the first application in a preset time.
  • the preset time may be a time period preset by the user or the terminal in units of months or days.
  • the data traffic value may also be a data traffic value that is used by the first application after the traffic management is enabled, that is, a data traffic value used from a time when the terminal starts the traffic management function to a current time period, that is, The preset time is the time period from when the traffic management function is turned on to the current time.
  • the data traffic value that the first application has used includes data traffic values used by all terminals that perform data connection through the terminal.
  • the terminal compares and compares the data traffic value used by the first application in the preset time with the traffic upper threshold of the first application. When the terminal determines that the data traffic value used by the first application is greater than or equal to the traffic upper threshold of the first application within a preset time, the data connection of the first application is disconnected.
  • the disconnection data connection in the embodiment of the present invention should be understood in a broad sense. Alternatively, it may be to close the first application; alternatively, it may be that the first application interrupts or stops communication with the terminal modem modem module. At this time, other applications than the first application can still communicate with the terminal modem modem module to obtain data traffic; optionally, when the first application is a functional application for data traffic sharing, it may be to disconnect the first application.
  • the data connection between all the terminals connected to the data through the first application that is, the first application is still in the open state, but the other terminals are unable to connect, and the traffic data is transmitted. It may also include other ways of covering the idea.
  • the terminal when the terminal determines that the data flow value used by the first application is smaller than the traffic upper limit threshold of the first application, the terminal further determines whether the flow control information corresponding to the first application is modified. When the terminal determines that the flow control information corresponding to the first application is modified within a preset time, it is determined whether the data flow value used by the first application is greater than or equal to the modified upper traffic threshold. When the data traffic value that the first application has used is greater than or equal to the modified traffic upper threshold, the data connection of the first application is disconnected.
  • the terminal determines that the two adjacent flow control information of the first application is not modified within a preset time
  • the data flow value currently used by the first application and the corresponding flow control information are included in the flow control information.
  • the upper traffic threshold is compared, and it is determined whether the data traffic value currently used by the first application is greater than the corresponding traffic upper threshold.
  • the terminal determines that the two adjacent flow control information of the first application is modified within a preset time, and the data flow value currently used by the first application is smaller than the flow control information included in the flow control information corresponding to the modification
  • the data traffic value currently used by the first application is compared with the traffic upper threshold value included in the modified traffic control information, and it is determined whether the data traffic value currently used by the first application is greater than the corresponding The modified upper traffic threshold.
  • the terminal determines that the data traffic value currently used by the first application is greater than or equal to the traffic upper threshold value included in the traffic control information corresponding to the first application, the terminal disconnects the data connection of the first application and prompts the user to end the current traffic. management.
  • the data traffic value that has been used by the first application is automatically cleared, and the current traffic management for the first application is ended.
  • the data traffic value that the first application has used is automatically cleared.
  • the terminal detects that the user restarts the command of the first application the data connection of the first application is activated. At this time, the initial value of the data traffic that has been used by the first application is zero.
  • the data flow value that has been used by the first application is automatically cleared after the data connection of the first application is disconnected.
  • the terminal detects the instruction to activate the data connection of the first application, the data connection of the first application is activated. At this time, the initial value of the data traffic that has been used by the first application is zero.
  • the command for activating the data connection of the first application may be triggered by the terminal automatically after the preset time is reached, or the terminal may modify the flow control information of the first application, and the modified flow control information includes The terminal automatically triggers when the upper traffic threshold is greater than the traffic upper threshold included in the traffic control information before modification. Otherwise, it does not respond to the modified flow control information.
  • the manner of activating the instruction of the data connection of the first application is not limited thereto, and may be other manners, and is not limited herein.
  • the data flow control information of the first application may be automatically cleared by the terminal, or may be manually cleared by the user to the traffic management user interface as needed.
  • the solution can perform real-time traffic management on a single application, enabling users to finely manage and control data traffic according to requirements, thereby improving the user experience.
  • FIG. 2 is a flowchart of another embodiment of a data traffic management method of the present application.
  • the present embodiment is described from the perspective of a terminal, and may be a terminal that acquires data traffic from a base station, or a mifi terminal that acquires data traffic from a data flow card, and the terminal can share data traffic through a network sharing function.
  • the first application is any one of the applications that the terminal has installed, such as WeChat, a network disk, an application market, a cloud service, and the like, and an application installed on the local system that can perform data interaction with the server.
  • This embodiment differs from the previous embodiment in steps S203 and S204.
  • Steps S201 to S202 are the same as steps S101 and S102 of the previous embodiment. For details, refer to the related description of steps S101 to S102 of the previous embodiment, and details are not described herein. Please refer to FIG. 3 together.
  • FIG. 3 is a schematic diagram of an implementation manner of a traffic management user interface of the present application.
  • the user When the user performs traffic management on the application through the traffic management user interface, the user sets whether to enable traffic management for the application in the local machine through the traffic management user interface as shown in FIG. 3a, and through traffic management similar to that shown in FIG. 3b.
  • the user interface sets flow control information.
  • the terminal After the user starts the traffic management of the first application through the traffic management user interface or the terminal starts the first application, the terminal performs steps S201 and S202.
  • the traffic upper limit threshold is used to identify the maximum value of the data traffic allowed by the first application during the traffic monitoring period when the traffic control information traffic includes the upper threshold and the traffic monitoring period.
  • the traffic monitoring period is the data traffic monitoring period of the first application, which may be set by the user, such as 1 day or 1 month; or may be preset for the terminal; or may be calculated from the time when the traffic management is enabled.
  • the traffic monitoring period is one month and the upper traffic threshold is 30M, it indicates that the maximum amount of data traffic allowed for the first application in one month is 30M.
  • the terminal compares the data traffic value currently used by the first application with the traffic upper threshold value included in the flow control information of the first application, and determines the data that the first application currently uses. Whether the traffic value is greater than the traffic upper threshold of the first application.
  • the terminal may display the data traffic value currently used by the first application to the user in real time through a user interface similar to that shown in FIG. 3c for the user to view.
  • the user interface shown in FIG. 3c can be refreshed at a certain time interval.
  • the refreshed user interface displays the data flow value currently used by the newly acquired first application in real time, and the time interval can be set according to the user's time requirement.
  • the terminal further acquires a flow control information modification instruction input by the user, where the flow control information modification instruction is used to modify the traffic upper limit threshold.
  • the flow control information modification instruction is used to modify the traffic upper limit threshold.
  • the modified upper traffic threshold is greater than the upper traffic threshold, and the traffic data value used by the first application is greater than or equal to the modified upper traffic threshold, the data connection of the first application is disconnected.
  • the upper traffic threshold is 10M
  • the modified traffic upper threshold is 15M.
  • the traffic value of the first application is 16M
  • the data connection of the first application is disconnected.
  • the data connection state of the first application is maintained when the modified traffic upper limit threshold is greater than the modified traffic upper threshold and the first application has used the traffic data value less than the modified traffic upper threshold.
  • the upper traffic threshold is 10M
  • the modified traffic upper threshold is 15M.
  • the traffic value of the first application is 6M
  • the data connection of the first application is maintained.
  • the modified upper traffic threshold is smaller than the upper traffic threshold, and the traffic data value used by the first application is greater than or equal to the modified upper traffic threshold, the data connection of the first application is disconnected.
  • the upper traffic threshold is 10M
  • the modified traffic upper threshold is 8M.
  • the traffic value of the first application is 8M
  • the data connection of the first application is disconnected.
  • the data connection state of the first application is maintained when the modified upper traffic threshold is smaller than the upper traffic threshold and the traffic data value is smaller than the modified upper traffic threshold.
  • the upper traffic threshold is 10M
  • the modified traffic upper threshold is 8M.
  • the traffic value of the first application is 6M
  • the data connection of the first application is maintained.
  • the flow control information modification instruction input by the user is acquired to obtain the modified upper traffic threshold.
  • the flow control information modification instruction is used to modify the traffic upper threshold.
  • the terminal determines that the data traffic value used by the first application is smaller than the traffic upper threshold value included in the flow control information of the first application, and the flow control information modification instruction input by the user is not obtained, And maintaining the data connection status of the first application, and continuing to determine whether the newly acquired data flow value currently used by the first application is greater than a traffic upper limit threshold included in the flow control information of the first application. Until the terminal determines that the data traffic value used by the first application is greater than or equal to the traffic upper threshold of the first application, disconnecting the data connection of the first application.
  • the user obtains the modified upper traffic threshold, and determines whether the modified upper traffic threshold is greater than the upper traffic threshold before the modification. And whether the data traffic value that the first application has used is greater than the modified traffic upper threshold.
  • the terminal determines that the data flow value currently used by the first application is greater than or equal to the modified upper traffic threshold value in the traffic monitoring period corresponding to the first application, the terminal disconnects the data connection of the first application.
  • the terminal determines that the modified traffic upper limit threshold is greater than the modified traffic upper threshold, and the data flow value of the first application is less than the modified traffic upper threshold when the first application corresponds to the traffic monitoring period And maintaining the data connection status of the first application, and continuing to determine whether the newly acquired data flow value currently used by the first application is greater than the modified upper traffic threshold.
  • the terminal determines that the modified traffic upper limit threshold is greater than the modified traffic upper threshold, and the data flow value used by the first application is greater than or equal to the modified traffic upper threshold, , disconnect the data connection of the first application.
  • the terminal determines that the modified traffic upper limit threshold is smaller than the traffic upper limit threshold, the data flow value currently used by the first application is smaller than the modified corresponding to the first application.
  • the traffic upper threshold is exceeded, the data connection state of the first application is maintained, and it is determined whether the newly acquired data traffic value currently used by the first application is greater than the modified traffic upper threshold. Until the terminal determines that the data traffic value used by the first application is greater than or equal to the modified traffic upper threshold, the data connection of the first application is disconnected.
  • the terminal if the terminal acquires the flow control information modification instruction input by the user again in the traffic monitoring period corresponding to the first application, the upper limit threshold for obtaining the traffic is cyclically executed in the above manner, and Determining that the data traffic value currently used by the first application is greater than or equal to the modified traffic upper threshold, until the terminal determines that the data flow value currently used by the first application is greater than or equal to the modified traffic upper threshold, the terminal disconnects An application's data connection.
  • the flow control information modification instruction input by the user may also be used to modify the traffic monitoring period.
  • the terminal determines that the modified traffic monitoring period of the user is greater than the traffic monitoring period before the modification, the terminal responds to the user operation, otherwise, does not respond.
  • the action performed by the terminal in response to the user operation is similar to the above method. Please refer to the related description above, and details are not described herein.
  • the terminal when the terminal determines that the data traffic value currently used by the first application is greater than or equal to the traffic upper limit threshold corresponding to the first application, the terminal automatically disconnects the data connection of the first application and prompts the user. For example, when the first application is the application 1, the data traffic value currently used by the application 1 is greater than the corresponding upper traffic threshold (10M), the data traffic of the application 1 is disabled to disconnect the data connection of the application 1, and the terminal pops up as shown in FIG. 3d. The user interface shown reminds the user that the data traffic value currently used by the first application has been greater than or equal to the preset traffic upper threshold.
  • the user prompt information is presented, the user-triggered data connection disconnection instruction is obtained, and the first application is disconnected according to the data connection disconnection instruction. Data Connections.
  • the user prompt information is used to prompt the user whether to disconnect the data connection of the first application.
  • the terminal determines that the data traffic value currently used by the first application is greater than or equal to the traffic upper limit threshold of the first application, the terminal presents the user prompt information, so that the user selects whether to disconnect the data connection of the first application.
  • the user-triggered data connection disconnection instruction is acquired, and the data connection of the first application is disconnected according to the data connection disconnection instruction.
  • the method of disconnecting the data connection may be to directly shut down the first application, or may cause the first application to interrupt or stop communication with the terminal modem modem module, or disable the first application.
  • the first application may interrupt or stop communication with the terminal modem modem module, or disable the first application.
  • other methods may be employed.
  • the first application may be that the terminal is automatically turned off when the data connection is disconnected, or may be manually closed by the user before the data connection is disconnected.
  • the terminal After disconnecting the data connection of the first application, the terminal determines whether the current traffic monitoring period has ended. When the terminal determines that the traffic monitoring period has ended, the data traffic value that has been used by the first application is automatically cleared, and the current traffic management is ended.
  • the terminal when the terminal acquires the flow control information modification instruction input by the user, and the modified traffic monitoring period is greater than the traffic monitoring period before the modification, the data connection of the first application is disconnected. After the terminal determines that the modified traffic monitoring period has not ended, the terminal further determines whether the modified traffic monitoring period is modified again.
  • the terminal determines that the modified traffic monitoring period has not been modified again, and at the end of the traffic monitoring period, the data traffic value used by the first application is automatically cleared, and the traffic management is ended.
  • the terminal determines whether the traffic monitoring period that is modified again is greater than the traffic monitoring period before the modification.
  • the terminal determines that the traffic monitoring period that is modified again is greater than the traffic monitoring period before the modification, when the traffic monitoring period that is modified again is completed, the data traffic value that has been used by the first application is automatically cleared, and the current traffic management is ended. Otherwise, the traffic monitoring period after the modification is not responded.
  • the traffic monitoring period before the modification ends, the data traffic value used by the first application is automatically cleared, and the traffic management is ended.
  • the data traffic value that has been used by the first application is automatically cleared, and the traffic management of the application is ended.
  • the data flow control information of the first application may be automatically cleared by the terminal, or may be The traffic management user interface is manually cleared.
  • the user can activate the data connection of the first application through the user interface of the traffic management in FIG. 3a, and perform new traffic data management on the first application.
  • the initial value of the traffic used by the first application is zero.
  • the foregoing solution when the flow control information of the first application and the data traffic value used by the first application are obtained, when the data traffic value used by the first application is greater than or equal to the traffic upper limit threshold included in the flow control information of the first application, Disconnect the data connection of the first application.
  • the solution enables real-time traffic management for a single application, enabling users to modify flow control information on-the-fly to manage data traffic in real time.
  • the solution can perform real-time traffic management on a single application, enabling users to finely manage and control data traffic according to requirements, thereby improving the user experience.
  • FIG. 4 is a flowchart of still another embodiment of a data traffic management method of the present application.
  • the present embodiment is described from the perspective of a terminal, and may be a terminal that acquires data traffic from a base station, or a mifi terminal that acquires data traffic from a data flow card, and the terminal can share data traffic through a network sharing function.
  • the first application is a functional application for data sharing by the terminal, such as WiFi network sharing, Bluetooth network sharing, and USB network sharing.
  • WiFi network sharing is the local device's WiFi communication with other terminals, sharing the data traffic of this machine to other terminals.
  • Bluetooth network sharing is the local Bluetooth communication between this unit and other terminals, sharing the data traffic of this machine to other terminals.
  • USB network sharing network sharing is to connect the machine to other terminals via USB for USB communication, and share the data traffic of this machine to other terminals.
  • the data traffic management of this embodiment includes the following steps:
  • S401 Acquire flow control information of the first application, where the flow control information includes at least a traffic upper threshold.
  • FIG. 5 is a schematic diagram of an implementation manner of the traffic management user interface of the present application.
  • the WiFi network sharing is taken as an example for description (but not limited to this), and the user sets whether to open the traffic management user interface as shown in FIG. 5a.
  • the terminal acquires the flow control information of the first application.
  • the traffic control information includes at least a traffic upper threshold of the first application.
  • the flow control information includes a traffic upper threshold and a traffic monitoring period, where the upper traffic threshold is used to identify a maximum value of data traffic allowed by the first application during the traffic monitoring period.
  • the traffic monitoring period is the data traffic monitoring period of the first application, which may be set by the user, such as 1 day or 1 month; or may be preset for the terminal; or may be calculated from the time when the traffic management is enabled. For example, when the traffic monitoring period is one month and the upper traffic threshold is 30M, it indicates that the maximum amount of data traffic allowed for the first application in one month is 30M.
  • S402 Acquire a data traffic value that has been used by all terminals that perform data connection via the first application within a preset time.
  • S402 The terminal acquires a data traffic value that has been used by all terminals that perform data connection via the first application within a preset time.
  • the preset time may be in units of months or days, or may be the time after the user enables traffic management to the current time. For example, when the terminal uses the WiFi hotspot to share the data traffic of the local device to other terminals through the WiFi network, the terminal acquires the data traffic value that has been used by all terminals that perform data connection via the WiFi hotspot within a preset time.
  • the data traffic value may also be a data traffic value that has been used by all terminals that perform data connection via the first application (WiFi hotspot) after the traffic management is enabled, that is, from the time when the terminal starts the traffic management function to the current time. All used data traffic values for data connections via the first application.
  • the traffic monitoring period is equivalent to the month or day in the preset time.
  • the terminal compares the data traffic value in the preset time with the traffic upper threshold, and determines whether the data traffic value is greater than the traffic upper threshold.
  • the data traffic value is a data traffic value that has been used by all terminals that perform data connection through the first application
  • the traffic upper threshold is a traffic upper threshold that is included in the flow control information of the first application.
  • the terminal can display the data traffic value already used by all terminals that perform data connection via the first application to the user in real time through a user interface similar to that shown in FIG. 5c for the user to view.
  • the user interface shown in FIG. 5c can be refreshed at a certain time interval.
  • the refreshed user interface displays the total data traffic value that has been used by all terminals that have obtained the latest data connection via the first application in real time, and the time interval can be based on the user time. Demand setting.
  • the terminal determines that the data traffic value used by all terminals that perform data connection through the first application is less than the traffic upper limit threshold of the first application, the data connection state of the first application is maintained, and the newly acquired data is continuously determined. Whether the flow value is greater than the upper traffic threshold.
  • the data traffic value is a data traffic value that has been used by all terminals that perform data connection through the first application
  • the traffic upper threshold is a traffic upper threshold that is included in the flow control information of the first application.
  • the terminal determines whether the flow control information corresponding to the first application is There are modifications.
  • the terminal determines that the data traffic value used by all the terminals connected to the first application is smaller than the traffic upper limit threshold of the first application, and the flow control information corresponding to the first application is modified, Whether the data traffic value already used by all terminals that perform data connection via the first application is greater than the modified traffic upper threshold.
  • the terminal determines that the data traffic value used by all the terminals connected to the first application is smaller than the traffic upper limit threshold of the first application, and the flow control information corresponding to the first application is not modified, the first time is maintained.
  • the data connection status of the application continues to determine whether the data traffic value used by all terminals that perform data connection via the first application is greater than the traffic upper threshold of the first application. Until the terminal determines that the data traffic value used by all the terminals that perform the data connection via the first application is greater than or equal to the traffic upper limit threshold of the first application, the data connection of the first application is disconnected.
  • the terminal determines that the data traffic value used by all terminals that perform data connection via the first application is less than the traffic upper threshold value of the first application within a preset time:
  • the data traffic value used by all terminals that perform data connection via the first application is compared with the traffic upper threshold of the first application, and It is determined whether the data traffic value that has been used by all terminals that perform data connection via the first application is greater than a traffic upper limit threshold corresponding thereto.
  • the terminal acquires that the two adjacent flow control information of the first application is modified, and the data traffic value used by all the terminals that perform the data connection via the first application is smaller than the corresponding upper traffic threshold threshold before the modification, The value of the data traffic that has been used by the first application for the data connection is compared with the upper traffic threshold of the first application, and whether the data traffic value currently used by the first application is greater than the corresponding modified traffic limit. Threshold.
  • the terminal determines that the data traffic value used by all the terminals that are connected by using the first application is greater than or equal to the traffic upper limit threshold value modified by the first application, the terminal disconnects the data connection of the first application and reminds the user.
  • the terminal when the terminal determines that the data traffic value used by all the terminals that are connected by using the first application is greater than or equal to the upper traffic threshold corresponding to the first application, the terminal automatically disconnects the first application.
  • the data is connected while prompting the user. For example, when the terminal uses the WiFi hotspot as the WiFi hotspot, the total data traffic value that has been used by all the terminals that are currently connected via the WiFi hotspot (the first application) is equal to or greater than the corresponding upper traffic threshold (100M), the WiFi hotspot is turned off, and the terminal pops up.
  • the user interface shown in Figure 5d alerts the user.
  • the user prompt information is presented, the user-triggered data connection disconnection instruction is obtained, and the first application is disconnected according to the data connection disconnection instruction. Data Connections.
  • the user prompt information is used to prompt the user whether to disconnect the data connection of the first application.
  • the terminal determines that the data traffic value used by all the terminals that are connected by using the first application is greater than or equal to the traffic upper limit threshold of the first application, the terminal presents the user prompt information, so that the user selects whether to disconnect the first application.
  • Data connection When the user selects to disconnect the data connection of the first application, the user-triggered data connection disconnection instruction is acquired, and the data connection of the first application is disconnected according to the data connection disconnection instruction.
  • the method of disconnecting the data connection may be to directly shut down the first application, or may cause the first application to interrupt or stop communication with the terminal modem modem module, or disable the first application.
  • the first application may interrupt or stop communication with the terminal modem modem module, or disable the first application.
  • other methods may be employed.
  • the first application may be automatically closed by the terminal; or it may be manually closed by the user before being disconnected from the data connection.
  • S404 The data traffic value that has been used by all terminals that perform data connection via the first application is cleared.
  • the data traffic value already used by all terminals that perform data connection via the first application is automatically cleared, and the current traffic management for the first application is ended.
  • the data connection of the first application is disconnected by directly closing the first application, after the first application is closed, the data traffic value that has been used by the first application is automatically cleared, and the current traffic management is ended.
  • the terminal detects that the user restarts the command of the first application, the data connection of the first application is activated. At this time, the initial value of the data traffic that has been used by the first application is zero.
  • the data traffic value used by the first application is automatically cleared. End this flow management.
  • the terminal detects the instruction to activate the data connection of the first application, the data connection of the first application is activated. At this time, the initial value of the data traffic that has been used by the first application is zero.
  • the command for activating the data connection of the first application may be automatically triggered by the terminal after the preset time is reached (the preset time is in units of months or days), or the terminal may obtain the flow control information of the first application.
  • the terminal automatically triggers when there is a modification and the traffic upper limit threshold included in the modified flow control information is greater than the traffic upper threshold included in the flow control information before the modification. Otherwise, it does not respond to the modified flow control information.
  • the manner of activating the instruction of the data connection of the first application is not limited thereto, and may be other manners, and is not limited herein.
  • the data flow control information of the first application may be automatically cleared by the terminal, or may be The traffic management user interface is manually cleared.
  • the data traffic value that has been used by all terminals that perform data connection via the first application is greater than or equal to
  • the flow control information of the first application includes the upper traffic threshold, the data connection of the first application is disconnected.
  • the solution can perform real-time traffic management on a single application, enabling users to finely manage and control data traffic according to requirements, thereby improving the user experience.
  • FIG. 6 is a schematic structural diagram of an embodiment of a data traffic management apparatus according to the present application.
  • the present embodiment is described from the perspective of a terminal, and may be a terminal that acquires data traffic from a base station, or a mifi terminal that obtains data traffic from a data flow card, and the terminal can share data traffic through a network sharing function.
  • the data flow management apparatus of the present embodiment is for performing the method steps in the embodiment of FIG. 1, and the tasks performed by the respective modules correspond to the corresponding method steps in the embodiment of FIG. 1.
  • the data traffic management apparatus of this embodiment includes a flow control information acquisition module 610, a flow data value acquisition module 620, and a control module 630.
  • the flow control information obtaining module 610 is configured to obtain flow control information of the first application, where the flow control information includes at least a flow upper limit threshold.
  • the user can start the traffic management function of the first application through the traffic management user interface, and perform traffic management on the first application.
  • the flow control information obtaining module 610 acquires the flow control information of the first application, where the flow control information includes at least a traffic upper limit threshold of the first application, and the traffic upper limit threshold may be a traffic upper limit threshold of the first application set by the user, or may be a terminal
  • the preset upper traffic threshold of the first application for example, the traffic threshold that the terminal allocates according to the average of multiple applications, is not limited.
  • the flow control information obtaining module 610 transmits the flow control information of the first application to the control module 630.
  • the data traffic value obtaining module 620 acquires the data traffic value that the first application has used in the preset time.
  • the preset time may be in units of months or days, or may be the time after the user enables traffic management to the current time.
  • the data traffic value may also be a data traffic value used by the first application after the traffic management is enabled, that is, a data traffic value used from a time when the terminal starts the traffic management function to a current time.
  • the data flow value obtaining module 620 sends the data traffic value that the first application has used in the preset time to the control module 630.
  • the control module 630 is configured to disconnect the data connection of the first application when the data traffic value obtained by the data traffic value obtaining module 630 is greater than or equal to the traffic upper threshold.
  • control module 620 receives the flow control information of the first application sent by the flow control information acquiring module 610, and the data flow value used by the first application in the preset time period sent by the received data flow value obtaining module 630, and the preset time is The data traffic value that has been used by the first application is compared with the traffic upper threshold value included in the traffic control information of the first application, and whether the data traffic value currently used by the first application is greater than or equal to the traffic upper threshold of the first application is determined. .
  • the control module 630 determines that the data flow value used by the first application is greater than or equal to the traffic upper limit threshold of the first application within a preset time, the data connection of the first application is disconnected.
  • the method of disconnecting the data connection may be to directly shut down the first application, or may cause the first application to interrupt or stop communication with the terminal modem modem module, and other applications except the first application may still obtain communication with the terminal modem modem module.
  • Data Flow it is not limited thereto, and in other embodiments, other methods may be employed.
  • the method further determines whether the newly acquired data flow value used by the first application is greater than or equal to the first The upper traffic threshold for the application.
  • the method further determines whether the flow control information corresponding to the first application is modified.
  • the control module 630 determines that the flow control information corresponding to the first application is modified within a preset time, it is determined whether the data flow value used by the first application is greater than or equal to the modified upper traffic threshold.
  • the control module 630 determines that the data traffic value used by the first application is greater than or equal to the corresponding traffic upper threshold, the data connection of the first application is disconnected.
  • the data flow control information of the first application may be automatically cleared by the control module 630, or may be based on the user. Need to manually clear the traffic management user interface.
  • the foregoing solution when the flow control information of the first application and the data traffic value used by the first application are obtained, when the data traffic value used by the first application is greater than or equal to the traffic upper limit threshold included in the flow control information of the first application, Disconnect the data connection of the first application.
  • the solution can perform real-time traffic management on a single application, enabling users to finely manage and control data traffic according to requirements, thereby improving the user experience.
  • FIG. 7 is a schematic structural diagram of another embodiment of a data traffic management apparatus according to the present application.
  • the present embodiment is described from the perspective of a terminal, and may be a terminal that acquires data traffic from a base station, or a mifi terminal that obtains data traffic from a data flow card, and the terminal can share data traffic through a network sharing function.
  • the data flow management apparatus of the present embodiment is for performing the method steps in the embodiments of FIGS. 2 and 3, and the tasks performed by the respective modules correspond to the corresponding method steps in the embodiments of FIG. 2 and FIG. 3, respectively.
  • the data flow management apparatus of the present embodiment includes a flow control information acquisition module 710, a data flow value acquisition module 720, a control module 730, a reset module 740, and an input module 750.
  • the control module 730 includes an instruction execution unit 731 and an information presentation unit 732. .
  • the flow control information obtaining module 710 is configured to acquire flow control information of the first application.
  • the traffic control information includes a traffic upper threshold and a traffic monitoring period, where the traffic upper threshold is used to identify a maximum value of data traffic allowed by the first application during the traffic monitoring period.
  • the flow control information obtaining module 710 acquires flow control information of the first application.
  • the flow control information includes a traffic upper threshold.
  • the flow control information includes a traffic upper threshold and a traffic monitoring period, where the upper traffic threshold is used to identify a maximum value of data traffic allowed by the first application during the traffic monitoring period.
  • the flow control information acquisition module 710 transmits the flow control information of the first application to the instruction execution unit 731.
  • the data traffic value obtaining module 720 is configured to obtain a data traffic value that has been used by the first application in a preset time to obtain a data traffic value that has been used by the first application within a preset time.
  • the data traffic value obtaining module 720 obtains the data traffic value that has been used by the first application in the preset time to obtain the data traffic value that has been used by the first application within the preset time.
  • the data flow value obtaining module 720 acquires the data traffic value that has been used by the first application within the preset time.
  • the data traffic value obtaining module 720 acquires data traffic values used by all terminals that perform data connection via the first application.
  • the data flow value obtaining module 720 transmits the data flow value that has been used by the first application to the instruction execution unit 731 within a preset time.
  • the instruction execution unit 731 is configured to receive the flow control information of the first application acquired by the flow control information obtaining module 710, and the data flow value sent by the received data flow value obtaining module, where the data flow value is greater than or equal to the upper limit of the flow rate. When the data connection of the first application is disconnected.
  • the instruction execution unit 731 is specifically configured to receive the flow control information of the first application and the data traffic value used by the first application, when the first application is an application that is installed in the local system and can perform data interaction with the server. When the data flow value used by the first application is greater than or equal to the corresponding upper traffic threshold value during the traffic monitoring period, the data connection of the first application is disconnected.
  • the instruction execution unit 731 compares the data flow value already used by the first application with the flow upper limit threshold of the first application, and makes a determination. When the instruction execution unit 731 determines that the data flow value used by the first application is greater than or equal to the traffic upper limit threshold of the first application within a preset time, the data connection of the first application is disconnected.
  • the instruction execution unit 731 determines that the data flow value used by the first application is smaller than the traffic upper limit threshold of the first application, it continues to determine the data traffic value that has been used by the first application that is acquired again and the upper traffic threshold of the first application that is acquired again. size.
  • the instruction execution unit 731 determines that the data flow value that the first application has used is greater than or equal to the traffic upper limit threshold corresponding thereto, the data connection of the first application is disconnected.
  • the instruction execution unit 731 is specifically configured to receive the flow control information of the first application, and the data traffic value of all the data connections used by the first application, when The data connection of the first application is disconnected when the data flow value of all uses of the data connection via the first application is greater than or equal to the upper traffic threshold of the first application.
  • the instruction execution unit 731 disables the first application when the data traffic value that has been used by the data flow value obtaining module 720 and is used by the data connection by the first application is greater than or equal to the traffic upper limit threshold; or
  • the instruction execution unit 731 disconnects the first application and performs the first application by using the data flow value obtained by the data flow value obtaining module 720 when the data flow value used by all terminals that perform data connection via the first application is greater than or equal to the upper traffic threshold value. a data connection between all terminals of the data connection; or,
  • the instruction execution unit 731 disconnects between the first application and the terminal modem modem module when the data traffic value used by the data flow value acquisition module 720 obtained by the first application for data connection is greater than or equal to the traffic upper limit threshold. Data Connections.
  • the information prompting unit 732 presents user prompt information, where the user prompt information is used to prompt the user whether to disconnect the The data connection of the first application.
  • the input module 750 is configured to obtain a flow control information modification instruction input by the user, where the flow control information modification instruction is used to modify the flow upper limit threshold.
  • the information prompting unit 732 presents the user prompt information
  • the input module 750 acquires the flow control information modification instruction input by the user.
  • the input module 750 instructs the user to input the flow control information modification instruction to the instruction execution unit 731.
  • the instruction execution unit 731 is configured to: after the information prompting unit 732 presents the user prompt information, acquire a data connection disconnection instruction triggered by the user, and disconnect the data connection of the first application according to the data connection disconnection instruction. For example, the instruction execution unit 731, after the information prompting unit 732 presents the user prompt information, receives the flow control information modification instruction input by the user, and acquires the data connection disconnection instruction triggered by the user, according to the data connection disconnection instruction. Open the data connection of the first application.
  • the instruction execution unit 731 disconnects the data connection of the first application when the upper limit of the flow rate after the modification of the input module 750 is greater than the upper limit of the flow rate before the modification, and the value of the flow data is greater than or equal to the upper limit of the modified flow rate; or,
  • the instruction execution unit 731 maintains the data connection state of the first application when the upper limit of the flow rate of the modified input module 750 is greater than the upper limit of the flow rate before the modification, and the value of the flow data is smaller than the upper limit of the modified flow rate; or
  • the instruction execution unit 731 disconnects the data connection of the first application when the upper limit of the flow rate after the modification of the input module 750 is smaller than the upper limit of the flow rate before the modification, and the value of the flow data is greater than or equal to the upper limit of the modified flow rate; or,
  • the instruction execution unit 731 maintains the data connection state of the first application when the upper limit of the flow rate after the modification of the input module 750 is smaller than the upper limit of the flow rate before the modification, and the value of the flow data is smaller than the upper limit of the modified flow rate.
  • the disconnection data connection in the embodiment of the present invention should be understood in a broad sense. Alternatively, it may be to close the first application; alternatively, it may be that the first application interrupts or stops communication with the terminal modem modem module. At this time, other applications than the first application can still communicate with the terminal modem modem module to obtain data traffic; optionally, when the first application is a functional application for data traffic sharing, it may be to disconnect the first application.
  • the data connection between all the terminals connected to the data through the first application that is, the first application is still in the open state, but the other terminals are unable to connect, and the traffic data is transmitted. It may also include other ways of covering the idea.
  • the instruction execution unit 731 After the instruction execution unit 731 disconnects the data connection of the first application, the instruction execution unit 731 transmits the notification information to the reset module 740.
  • the reset module 740 is configured to clear the data flow value used by the first application within the preset time after the instruction execution unit 731 disconnects the data connection of the first application.
  • the first application is an application installed on the native system that can interact with the server for data:
  • the reset module 740 receives the notification information after the instruction execution unit 731 disconnects the data connection of the first application, and the reset module 740 determines whether the current traffic monitoring period has ended. When the reset module 740 determines that the traffic monitoring period has ended, the data traffic value that has been used by the first application is automatically cleared or the data traffic value used by all terminals that perform data connection via the first application is automatically cleared, and the current traffic is ended. management.
  • the reset module 740 determines that the modified traffic monitoring period is greater than the traffic monitoring period before the modification.
  • the reset module 740 further determines whether the modified traffic monitoring period is modified again.
  • the reset module 740 determines that the modified traffic monitoring period has not been modified again, and at the end of the traffic monitoring period, the data traffic value that has been used by the first application is automatically cleared, and the current traffic management is ended.
  • the reset module 740 determines whether the traffic monitoring period that is modified again is greater than the traffic monitoring period before the modification. When the reset module 740 determines that the traffic monitoring period that is modified again is greater than the traffic monitoring period before the modification, when the traffic monitoring period that is modified again ends, the data traffic value that has been used by the first application is automatically cleared, and the current traffic is ended. management. Otherwise, the traffic monitoring period after the modification is not responded. When the traffic monitoring period before the modification ends, the data traffic value used by the first application is automatically cleared, and the traffic management is ended.
  • the data flow control information of the first application may be automatically cleared by the terminal, or may be The traffic management user interface is manually cleared.
  • the foregoing solution when the flow control information of the first application and the data traffic value used by the first application are obtained, when the data traffic value used by the first application is greater than or equal to the traffic upper limit threshold included in the flow control information of the first application, Disconnect the data connection of the first application.
  • the solution enables real-time traffic management for a single application, enabling users to modify flow control information on-the-fly to manage data traffic in real time.
  • the solution can perform real-time traffic management on a single application, enabling users to finely manage and control data traffic according to requirements, thereby improving the user experience.
  • FIG. 8 is a schematic structural diagram of still another embodiment of a data traffic management apparatus according to the present application.
  • the data traffic management device may be a terminal that acquires data traffic from the base station, or a mifi terminal that acquires data traffic from the data flow card, and the terminal can share data traffic through a “network sharing” function.
  • the data traffic management device includes a memory 810, a processor 820, an input device 830, a bus 840, and an output device 850.
  • Processor 820 is coupled to memory 810 via bus 840.
  • Processor 820 is coupled to input device 830 and output device 850 via bus 840.
  • the memory 810 stores program instructions.
  • the processor 820 is a central processing unit (English: central processing) Unit, abbreviation: CPU) or a combination of CPU and hardware chips.
  • the processor 820 performs the following operations according to the program instructions stored in the memory 810:
  • the processor 820 obtains the flow control information of the first application, and obtains the data traffic value that the first application has used in the preset time, where the flow control information includes at least the traffic upper threshold.
  • the processor disconnects the data connection of the first application when the data traffic value is greater than or equal to the traffic upper threshold.
  • the flow control information includes a traffic upper threshold and a traffic monitoring period, where the traffic upper threshold is used to identify a maximum value of data traffic allowed by the first application during the traffic monitoring period.
  • the processor 820 disconnects the data connection of the first application when the data traffic value is greater than or equal to the traffic upper threshold in the traffic monitoring period.
  • the processor 820 further controls the input device 830 to obtain a flow control information modification instruction input by the user, where the flow control information modification instruction is used to modify the flow upper limit threshold.
  • the processor 820 disconnects the data of the first application when the modified traffic upper limit threshold is greater than the modified traffic upper threshold, and the traffic data value is greater than or equal to the modified traffic upper threshold. Connect; or,
  • the processor 820 clears the data traffic value that has been used by the first application in the preset time.
  • the processor 820 when the data traffic value obtained by the processor 820 is greater than or equal to the traffic upper threshold, the processor 820 further controls the output device 850 to present user prompt information, where the user prompt information is used for prompting. Whether the user disconnects the data connection of the first application.
  • the processor 820 acquires a data connection disconnection command triggered by the user, and disconnects the data connection of the first application according to the data connection disconnection instruction.
  • the first application is a functional application for data traffic sharing; the processor 820 acquires data traffic values that have been used by all terminals that perform data connection via the first application within a preset time.
  • the processor 820 disables the first application when a data traffic value that has been used by all terminals that perform data connection via the first application is greater than or equal to the traffic upper threshold; or
  • the foregoing solution when the flow control information of the first application and the data traffic value used by the first application are obtained, when the data traffic value used by the first application is greater than or equal to the traffic upper limit threshold included in the flow control information of the first application, Disconnect the data connection of the first application.
  • the solution can perform real-time traffic management on a single application, enabling users to finely manage and control data traffic according to requirements, thereby improving the user experience.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Traffic Control Systems (AREA)
  • Devices For Checking Fares Or Tickets At Control Points (AREA)

Abstract

一种数据流量管理方法及装置。所述方法包括获取第一应用的流量控制信息以及第一应用已经使用的数据流量值,其中,所述流量控制信息至少包括流量上限阈值;当第一应用已经使用的数据流量值大于或等于第一应用的流量控制信息包含的流量上限阈值时,断开第一应用的数据连接。上述方案,实现了对单个应用进行实时流量管理,使用户根据需求即时修改流量控制信息以实时管理流量控制。

Description

一种数据流量管理方法及装置
【技术领域】
本申请涉及通信网络领域,特别是涉及一种数据流量管理方法及装置。
【背景技术】
随着无线网络通信技术的发展,越来越多的移动终端具有“网络共享”功能。移动终端可以作为接入点(access point,AP),将本机的数据流量以无线保真(Wireless Fidelity,WiFi)的方式共享给其他能够接入WiFi接入点的终端,以使接入本机的终端能够使用本机的数据流量。其中,数据流量包括接入基站的移动数据流量以及接入WiFi接入点的数据流量。
当本机通过“网络共享”功能,将接入基站的移动数据流量以WiFi的方式共享给其他终端使用时,通常的管理数据流量的方法采用以月为单位,对本机的移动数据流量设置阈值。当本机统计当前使用的数据流量值大于阈值时,限制数据连接,以防止超流量使用,从而实现对本机的总数据流量进行管理。
然而,这种数据流量管理方法,只能管理本机所有应用程序使用的数据流量(例如,当本机使用的数据流量大于或等于用户定制的数据流量包所允许使用的数据流量的最大值时,发信息提示用户),不能对本机中某个特定应用(例如,微信、网盘、应用市场、云服务等应用)已经使用的数据流量做单独的流量管理,从而导致因数据流量被误用,而使得本机超出预订套餐的流量,进而给用户带来不必要的经济损失。
【发明内容】
本申请提供一种数据流量管理方法及装置,能够对单个应用进行实时流量管理,使用户根据需求即时修改流量控制信息以实时管理数据流量,或对单个应用按预设统计周期进行实时流量管理,使用户根据需求精细化管理和控制数据流量值。
为了解决上述问题,本申请第一方面提供了一种数据流量管理方法,包括:获取第一应用的流量控制信息,其中,所述流量控制信息至少包括流量上限阈值;获取预设时间内所述第一应用已经使用的数据流量值;当所述数据流量值大于或等于所述流量上限阈值时,断开所述第一应用的数据连接。
结合第一方面,本申请第一方面的第一种可能的实施方式中,所述流量控制信息包括流量上限阈值和流量监控周期,其中,所述流量上限阈值用于标识在所述流量监控周期内,所述第一应用允许使用的数据流量的最大值;所述当所述数据流量值大于或等于所述流量上限阈值时,断开所述第一应用的数据连接,具体为:在所述流量监控周期内,当所述数据流量值大于或等于所述流量上限阈值时,断开所述第一应用的数据连接。
结合第一方面或第一方面的第一种可能的实施方式,本申请第一方面的第二种可能的实施方式中,所述方法还包括:获取用户输入的流量控制信息修改指令,其中,所述流量控制信息修改指令用于修改所述流量上限阈值;当所述数据流量值大于或等于所述流量控制信息包含的所述流量上限阈值时,断开所述第一应用的数据连接;包括:当修改后的流量上限阈值大于修改前的流量上限阈值,且所述流量数据值大于或等于所述修改后的流量上限阈值时,断开所述第一应用的数据连接;或者,当修改后的流量上限阈值大于修改前的流量上限阈值,且所述流量数据值小于所述修改后的流量上限阈值时,保持所述第一应用的数据连接状态;或者,当修改后的流量上限阈值小于修改前的流量上限阈值,且所述流量数据值大于或等于所述修改后的流量上限阈值时,断开所述第一应用的数据连接;或者,
当修改后的流量上限阈值小于修改前的流量上限阈值,且所述流量数据值小于所述修改后的流量上限阈值时,保持所述第一应用的数据连接状态。
结合第一方面以及第一方面的第一种至第二种任一可能的实施方式,本申请第一方面的第三种可能的实施方式中,在断开所述第一应用的数据连接后,所述方法还包括:将所述预设时间内的第一应用已经使用的数据流量值清零。
结合第一方面以及上述第一方面的第一种至第三种任一可能的实施方式,本申请第一方面的第四种可能的实施方式中,当所述数据流量值大于或等于所述流量上限阈值时,断开所述第一应用的数据连接;包括:当所述数据流量值大于或等于所述流量上限阈值时,呈现用户提示信息,其中,所述用户提示信息用于提示用户是否断开所述第一应用的数据连接;获取用户触发的数据连接断开指令,根据所述数据连接断开指令,断开所述第一应用的数据连接。
结合第一方面以及上述第一方面的第一种至第四种任一可能的实施方式,本申请第一方面的第五种可能的实施方式中,所述第一应用为数据流量分享的功能性应用;所述获取预设时间内的所述第一应用已经使用的数据流量值;包括:获取预设时间内经由所述第一应用进行数据连接的所有终端已经使用的数据流量值;所述当所述数据流量值大于或等于所述流量上限阈值时,断开所述第一应用的数据连接;包括:当经由所述第一应用进行数据连接的所有终端已经使用的数据流量值大于或等于所述流量上限阈值时,禁用所述第一应用;或者,当经由所述第一应用进行数据连接的所有终端已经使用的数据流量值大于或等于所述流量上限阈值时,断开所述第一应用与经由所述第一应用进行数据连接的所有终端之间的数据连接;或者,当经由所述第一应用进行数据连接的所有终端已经使用的数据流量值大于或等于所述流量上限阈值时,断开所述第一应用与终端调制解调器modem模块之间的数据连接。
为了解决上述问题,本申请第二方面提供了一种数据流量管理装置,包括流量控制信息获取模块、数据流量值获取模块以及控制模块;所述流量控制信息获取模块用于获取第一应用的流量控制信息,其中,所述流量控制信息至少包括流量上限阈值;所述数据流量值获取模块用于获取预设时间内所述第一应用已经使用的数据流量值;所述控制模块用于当所述数据流量值获取模块获取的所述数据流量值大于或等于所述流量上限阈值时,断开所述第一应用的数据连接。
结合第二方面,本申请第二方面的第一种可能的实施方式中,所述流量控制信息包括流量上限阈值和流量监控周期,其中,所述流量上限阈值用于标识在所述流量监控周期内,所述第一应用允许使用的数据流量的最大值;所述控制模块具体用于在所述流量监控周期内,当所述数据流量值获取模块获取的所述数据流量值大于或等于所述流量上限阈值时,断开所述第一应用的数据连接。
结合第二方面或第二方面的第一种可能的实施方式,本申请第二方面的第二种可能的实施方式中,所述装置还包括输入模块,所述输入模块用于获取用户输入的流量控制信息修改指令,其中,所述流量控制信息修改指令用于修改所述流量上限阈值;所述控制模块具体用于当所述输入模块修改后的流量上限阈值大于修改前的流量上限阈值,且所述流量数据值大于或等于所述修改后的流量上限阈值时,断开所述第一应用的数据连接;或者,当所述输入模块修改后的流量上限阈值大于修改前的流量上限阈值,且所述流量数据值小于所述修改后的流量上限阈值时,保持所述第一应用的数据连接状态;或者,当所述输入模块修改后的流量上限阈值小于修改前的流量上限阈值,且所述流量数据值大于或等于所述修改后的流量上限阈值时,断开所述第一应用的数据连接;或者,当所述输入模块修改后的流量上限阈值小于修改前的流量上限阈值,且所述流量数据值小于所述修改后的流量上限阈值时,保持所述第一应用的数据连接状态。
结合第二方面以及第二方面的第一种至第二种任一可能的实施方式,本申请第二方面的第三种可能的实施方式中,所述装置还包括重置模块,所述重置模块用于在所述控制模块断开所述第一应用的数据连接后,将所述预设时间内的第一应用已经使用的数据流量值清零。
结合第二方面以及第二方面的第一种至第三种任一可能的实施方式中,本申请第二方面的第四种可能的实施方式中,所述控制模块包括信息提示单元和指令执行单元;所述信息提示单元用于,当所述数据流量值大于或等于所述流量上限阈值时,呈现用户提示信息,其中,所述用户提示信息用于提示用户是否断开所述第一应用的数据连接;所述指令执行单元用于,在所述信息提示单元呈现用户提示信息后,获取用户触发的数据连接断开指令,根据所述数据连接断开指令,断开所述第一应用的数据连接。
结合第二方面以及第二方面的第一种至第四种任一可能的实施方式,本申请第二方面的第五种可能的实施方式中,所述第一应用为数据流量分享的功能性应用;所述流量控制信息获取模块具体用于获取预设时间内经由所述第一应用进行数据连接的所有终端已经使用的数据流量值;所述控制模块具体用于当所述数据流量值获取模块获取的经由所述第一应用进行数据连接的所有终端已经使用的数据流量值大于或等于所述流量上限阈值时,禁用所述第一应用;或者,当所述数据流量值获取模块获取的经由所述第一应用进行数据连接的所有终端已经使用的数据流量值大于或等于所述流量上限阈值时,断开所述第一应用与经由所述第一应用进行数据连接的所有终端之间的数据连接;或者,
当所述数据流量值获取模块获取的经由所述第一应用进行数据连接的所有终端已经使用的数据流量值大于或等于所述流量上限阈值时,断开所述第一应用与终端调制解调器modem模块之间的数据连接。
为了解决上述问题,本申请第三方面提供了一种数据流量管理装置,包括如下步骤:包括:处理器;所述处理器用于获取第一应用的流量控制信息,以及用于获取预设时间内所述第一应用已经使用的数据流量值,其中,所述流量控制信息至少包括流量上限阈值;所述处理器还用于当所述数据流量值大于或等于所述流量上限阈值时,断开所述第一应用的数据连接。
结合第三方面,本申请第三方面的第一种可能的实施方式中,所述流量控制信息包括流量上限阈值和流量监控周期,其中,所述流量上限阈值用于标识在所述流量监控周期内,所述第一应用允许使用的数据流量的最大值;所述处理器具体用于在所述流量监控周期内,当所述数据流量值大于或等于所述流量上限阈值时,断开所述第一应用的数据连接。
结合第三方面或第三方面的第一种可能的实施方式,本申请第三方面的第二种可能的实施方式中,所述装置还包括输入设备,所述输入设备用于获取用户输入的流量控制信息修改指令,其中,所述流量控制信息修改指令用于修改所述流量上限阈值;所述处理器具体用于当所述输入模块修改后的流量上限阈值大于修改前的流量上限阈值,且所述流量数据值大于或等于所述修改后的流量上限阈值时,断开所述第一应用的数据连接;或者,当所述输入模块修改后的流量上限阈值大于修改前的流量上限阈值,且所述流量数据值小于所述修改后的流量上限阈值时,保持所述第一应用的数据连接状态;或者,当所述输入模块修改后的流量上限阈值小于修改前的流量上限阈值,且所述流量数据值大于或等于所述修改后的流量上限阈值时,断开所述第一应用的数据连接;或者,当所述输入模块修改后的流量上限阈值小于修改前的流量上限阈值,且所述流量数据值小于所述修改后的流量上限阈值时,保持所述第一应用的数据连接状态。
结合第三方面以及第三方面的第一种至第二种任一可能的实施方式,本申请第三方面的第三种可能的实施方式中,所述处理器还用于在断开所述第一应用的数据连接后,将所述预设时间内的第一应用已经使用的数据流量值清零。
结合第三方面以及第三方面的第一种至第三种任一可能的实施方式,本申请第三方面的第四种可能的实施方式中,所述装置还包括输出设备,所述输出设备用于当所述处理器获取的所述数据流量值大于或等于所述流量上限阈值时,呈现用户提示信息,其中,所述用户提示信息用于提示用户是否断开所述第一应用的数据连接;所述处理器还用于在所述输出设备呈现用户提示信息后,获取用户触发的数据连接断开指令,根据所述数据连接断开指令,断开所述第一应用的数据连接。
结合第三方面以及第三方面的第一种至第四种任一可能的实施方式,本申请第三方面的第五种可能的实施方式中,所述第一应用为数据流量分享的功能性应用;所述处理器具体用于获取预设时间内经由所述第一应用进行数据连接的所有终端已经使用的数据流量值;所述处理器具体用于当经由所述第一应用进行数据连接的所有终端已经使用的数据流量值大于或等于所述流量上限阈值时,禁用所述第一应用;或者,当经由所述第一应用进行数据连接的所有终端已经使用的数据流量值大于或等于所述流量上限阈值时,断开所述第一应用与经由所述第一应用进行数据连接的所有终端之间的数据连接;或者,当经由所述第一应用进行数据连接的所有终端已经使用的数据流量值大于或等于所述流量上限阈值时,断开所述第一应用与终端调制解调器modem模块之间的数据连接。
上述方案中,通过获取第一应用的流量控制信息,以及第一应用已经使用的数据流量值,当第一应用已经使用的数据流量值大于或等于第一应用的流量控制信息包含的流量上限阈值时,断开第一应用的数据连接。本方案能够对单个应用进行实时流量管理,使用户根据需求精细化管理和控制数据流量,提高了用户体验。
【附图说明】
图1是本申请数据流量管理方法一实施方式的流程图;
图2是本申请数据流量管理方法另一实施方式的流程图;
图3是本申请数据流量管理用户界面一实施方式示意图;
图4是本申请数据流量管理方法又一实施方式的流程图;
图5是本申请数据流量管理用户界面另一实施方式示意图;
图6是本申请数据流量管理装置一实施方式的结构示意图;
图7是本申请数据流量管理装置另一实施方式的结构示意图;
图8是本申请数据流量管理装置又一实施方式的结构示意图。
【具体实施方式】
以下描述中,为了说明而不是为了限定,提出了诸如特定系统结构、接口、技术之类的具体细节,以便透彻理解本申请。
参阅图1,图1是本申请数据流量管理方法一实施方式的流程图。本实施方式从终端的角度出发进行描述,执行主体可以为从基站获取数据流量的终端,也可以为从数据流量卡中获取数据流量的mifi终端,其可通过网络共享功能分享数据流量,例如开启热点。具体包括如下步骤:
S101:获取第一应用的流量控制信息,其中,所述流量控制信息至少包括流量上限阈值。
可选地,用户可通过流量管理用户界面或快捷键开启第一应用的流量管理功能,对第一应用进行流量管理。其中,流量上限阈值可以为用户设定的该第一应用的流量上限阈值,也可以为终端预设的第一应用的流量上限阈值,例如终端根据多个应用平均分配的流量阈值,对此不做限定。
第一应用可以为促使终端与基站或数据流量卡进行数据交互、进行数据连接、产生数据流量的任一应用。
可选地,第一应用可以为终端已经安装的应用中的任意一个,例如微信、网盘、应用市场、云服务等安装于本机系统的可与服务器进行数据交互的应用程序。
可选地,第一应用可以为终端进行数据流量分享的功能性应用,所述数据流量分享的功能性应用为可将某一终端或某一装置或某一模块的数据流量通过某种预设的方式分享给至少一个其它终端的应用,如WiFi网络共享、蓝牙网络共享、USB网络共享等网络共享。WiFi网络共享是本机与其他终端进行WiFi通信,将本机的数据流量分享给其他终端使用。蓝牙网络共享是本机与其他终端进行蓝牙通信,将本机的数据流量分享给其他终端使用。USB网络共享网络共享是将本机通过USB连接其他终端进行USB通信,将本机的数据流量分享给其他终端使用。
其中,流量控制信息可以是系统预设的,也可以是用户通过流量管理界面手动输入的,流量控制信息可以是终端每隔预设时间获取的,预设时间可根据用户实际需求设定。
在本实施方式中,数据流量为移动数据流量,是本机通过基站或数据流量卡接入核心网络所产生的数据流量。在其他实施方式中,数据流量为无线局域网络(WirelessLocalAreaNetworks,WLAN)数据流量。
S102:获取预设时间内所述第一应用已经使用的数据流量值。
可选地,预设时间可以是用户或终端预设的以月或天为单位的时间段。
可选地,所述数据流量值也可以为启用流量管理后所述第一应用已经使用的数据流量值,即从终端开启流量管理功能始至当前时间这一段时间内使用的数据流量值,即预设时间为开启流量管理功能之时到当前时间的时间段。
可选地,当第一应用为数据流量分享的功能性应用时,该第一应用已经使用的数据流量值包括通过该终端进行数据连接的所有终端使用的数据流量值。
S103:当所述数据流量值大于或等于所述流量控制信息包含的所述流量上限阈值时,断开所述第一应用的数据连接。
终端将预设时间内的第一应用已经使用的数据流量值与第一应用的流量上限阈值进行比较,并进行判断。当终端判断在预设时间内,第一应用已经使用的数据流量值大于或等于第一应用的流量上限阈值时,断开第一应用的数据连接。
其中,对本发明实施例中的断开数据连接应做广义理解,可选地,其可以是关闭该第一应用;可选地,其可以是第一应用与终端调制解调器modem模块中断或停止通信,此时,除第一应用外的其他应用仍然可以与终端调制解调器modem模块通信获取数据流量;可选地,当第一应用为数据流量分享的功能性应用时,其可以是断开该第一应用与通过该第一应用进行数据连接的所有终端之间的数据连接,即该第一应用仍处于开启状态,但已无法其它终端连接,进行流量数据传输。具体还可以包括覆盖本思想的其它方式。
可选地,当终端判断在预设时间内,第一应用使用的数据流量值小于第一应用的流量上限阈值时,终端还判断第一应用对应的流量控制信息是否有修改。其中,当终端判断在预设时间内,第一应用对应的流量控制信息有修改时,判断第一应用已经使用的数据流量值是否大于或等于修改后流量上限阈值。当第一应用已经使用的数据流量值大于或等于修改后的流量上限阈值时,断开第一应用的数据连接。
可选地,当终端判断在预设时间内,获取到第一应用的两个相邻的流量控制信息没有修改时,将第一应用当前已经使用的数据流量值与其对应的流量控制信息中包含的流量上限阈值进行比较,并判断第一应用当前已经使用的数据流量值是否大于与其对应的流量上限阈值。
当终端判断在预设时间内,获取到第一应用的两个相邻的流量控制信息有修改,并且第一应用当前已经使用的数据流量值小于与其对应的修改前的流量控制信息中包含流量上限阈值时,将第一应用当前已经使用的数据流量值与其对应的修改后的流量控制信息中包含的流量上限阈值进行比较,并判断第一应用当前已经使用的数据流量值是否大于与其对应的修改后的流量上限阈值。当终端判断第一应用当前已经使用的数据流量值大于或等于与第一应用对应的流量控制信息中包含的流量上限阈值时,终端断开第一应用的数据连接并提醒用户,结束本次流量管理。
可选地,当断开第一应用的数据连接后,第一应用已经使用的数据流量值自动清零,结束本次对第一应用的流量管理。
可选地,当断开第一应用的数据连接的方式为直接关闭第一应用时,在第一应用关闭之后,第一应用已经使用的数据流量值自动清零。当终端检测到用户重新开启第一应用的命令时,激活第一应用的数据连接,此时,第一应用已经使用的数据流量初始值为零。
当断开第一应用的数据连接的方式为使第一应用与终端调制解调器modem中断或停止通信时,在断开第一应用的数据连接后,第一应用已经使用的数据流量值自动清零。终端检测到激活第一应用的数据连接的指令时,激活第一应用的数据连接,此时,第一应用已经使用的数据流量初始值为零。其中,激活第一应用的数据连接的指令,可以是在到达预设时间后终端自动触发,也可以是终端在获取到第一应用的流量控制信息有修改,并且修改后的流量控制信息中包含的流量上限阈值大于修改前的流量控制信息中包含的流量上限阈值时终端自动触发。否则,不响应修改后的流量控制信息。激活第一应用的数据连接的指令的方式并不限于此,还可以为其他的方式,此处不做限制。
可以理解的是,当结束本次对第一应用的流量管理时,第一应用的数据流量控制信息可以是终端自动清除的,也可以是用户根据需要到流量管理用户界面手动清除。
本方案能够对单个应用进行实时流量管理,使用户根据需求精细化管理和控制数据流量,提高了用户体验。
参阅图2,图2是本申请数据流量管理方法另一实施方式的流程图。本实施方式从终端的角度出发进行描述,可以为从基站获取数据流量的终端,也可以为从数据流量卡中获取数据流量的mifi终端,所述终端能够通过网络共享功能分享数据流量。第一应用为终端已经安装的应用中的任意一个,例如微信、网盘、应用市场、云服务等安装于本机系统的可与服务器进行数据交互的应用程序。本实施方式与上一实施方式的不同之处在于步骤S203、S204。步骤S201~S202与上一实施方式的步骤S101、S102相同,具体请参阅上一实施方式的步骤S101~S102的相关描述,此处不赘述。请一并参阅图3,图3是本申请流量管理用户界面一实施方式示意图。
当用户通过流量管理用户界面对应用进行流量管理时,用户通过如图3a所示的流量管理用户界面设置是否开启对本机中的应用程序进行流量管理,并通过类似如图3b所示的流量管理用户界面设置流量控制信息。
在用户通过流量管理用户界面开启第一应用的流量管理后或者终端开启第一应用后,终端执行步骤S201和S202。
其中,当流量控制信息流量包括上限阈值和流量监控周期时,流量上限阈值用于标识在流量监控周期内,第一应用允许使用的数据流量的最大值。流量监控周期为第一应用的数据流量监控周期,具体可以为用户设置的,如1天或1个月;也可以为终端预设的;还可以为从开启流量管理时的时间开始计算的。
例如,当流量监控周期为一个月,流量上限阈值为30M时,表示第一应用在一个月内允许使用的数据流量的最大值为30M。
S203:在所述流量监控周期内,当所述数据流量值大于或等于所述流量控制信息包含的所述流量上限阈值时,断开所述第一应用的数据连接。
在第一应用对应的流量监控周期内,终端将第一应用当前已经使用的数据流量值与第一应用的流量控制信息中包含的流量上限阈值进行比较,并判断第一应用当前已经使用的数据流量值是否大于第一应用的流量上限阈值。例如,终端可以通过类似如图3c所示的用户界面将第一应用当前已经使用的数据流量值实时显示给用户,以便用户查看。如图3c所示的用户界面可以按一定的时间间隔刷新,刷新后的用户界面实时显示最新获取的第一应用当前已经使用的数据流量值,时间间隔可根据用户时间需求设定。
终端还获取用户输入的流量控制信息修改指令,其中,流量控制信息修改指令用于修改流量上限阈值。当第一应用已经使用的数据流量值大于或等于流量控制信息包含的流量上限阈值时,断开第一应用的数据连接。其中,
可选地,当修改后的流量上限阈值大于修改前的流量上限阈值,且第一应用已经使用的流量数据值大于等于修改后的流量上限阈值时,断开第一应用的数据连接。例如修改前的流量上限阈值为10M,修改后的流量上限阈值为15M,第一应用已经使用的流量数据值为16M时,断开第一应用的数据连接。
可选地,当修改后的流量上限阈值大于修改前的流量上限阈值,且第一应用已经使用的流量数据值小于修改后的流量上限阈值时,保持第一应用的数据连接状态。例如修改前的流量上限阈值为10M,修改后的流量上限阈值为15M,第一应用已经使用的流量数据值为6M时,保持第一应用的数据连接。
可选地,当修改后的流量上限阈值小于修改前的流量上限阈值,且第一应用已经使用的流量数据值大于或等于修改后的流量上限阈值时,断开第一应用的数据连接。例如修改前的流量上限阈值为10M,修改后的流量上限阈值为8M,第一应用已经使用的流量数据值为8M时,断开第一应用的数据连接。
可选地,当修改后的流量上限阈值小于修改前的流量上限阈值,且流量数据值小于修改后的流量上限阈值时,保持所述第一应用的数据连接状态。例如修改前的流量上限阈值为10M,修改后的流量上限阈值为8M,第一应用已经使用的流量数据值为6M时,保持第一应用的数据连接。
进一步地,在第一应用对应的流量监控周期内,获取用户输入的流量控制信息修改指令,以获取修改后的流量上限阈值。其中,流量控制信息修改指令用于修改流量上限阈值。
在第一应用对应的流量监控周期内,当终端判断第一应用已经使用的数据流量值小于第一应用的流量控制信息包含的流量上限阈值,并且未获取到用户输入的流量控制信息修改指令时,保持第一应用的数据连接状态,并继续判断新获取的第一应用当前已经使用的数据流量值是否大于第一应用的流量控制信息包含的流量上限阈值。直到,当终端判断第一应用已经使用的数据流量值大于或等于第一应用的流量上限阈值时,断开第一应用的数据连接。
在第一应用对应的流量监控周期内,当用户获取到用户输入的流量控制信息修改指令时,获取修改后的流量上限阈值,并判断修改后的流量上限阈值是否大于修改前的流量上限阈值,以及第一应用已经使用的数据流量值是否大于修改后的流量上限阈值。当终端判断在第一应用对应的流量监控周期内,第一应用当前已经使用的数据流量值大于或等于修改后的流量上限阈值时,终端断开第一应用的数据连接。其中:当终端判断修改后的流量上限阈值大于修改前的流量上限阈值,并且,在第一应用对应的流量监控周期内,第一应用当前已经使用的数据流量值小于修改后的流量上限阈值时,保持第一应用的数据连接状态,继续判断新获取的第一应用当前已经使用的数据流量值是否大于修改后的流量上限阈值。
当终端判断修改后的流量上限阈值大于修改前的流量上限阈值,并且,在第一应用对应的流量监控周期内,第一应用当前已经使用的数据流量值大于或等于修改后的流量上限阈值时,断开第一应用的数据连接。
当终端判断修改后的流量上限阈值小于修改前的流量上限阈值,并且,在第一应用对应的流量监控周期内,第一应用当前已经使用的数据流量值达小于第一应用对应的修改后的流量上限阈值时,保持第一应用的数据连接状态,继续判断新获取的第一应用当前已经使用的数据流量值是否大于修改后的流量上限阈值。直到,当终端判断第一应用已经使用的数据流量值大于或等于修改后的流量上限阈值时,断开第一应用的数据连接。
可以理解的是,在此过程中,如果在第一应用对应的流量监控周期内,终端再次获取到用户输入的的流量控制信息修改指令时,则按上述方式,循环执行获取流量上限阈值,并判断第一应用当前已经使用的数据流量值大于或等于修改后的流量上限阈值,直到当终端判断第一应用当前已经使用的数据流量值大于或等于修改后的流量上限阈值时,终端断开第一应用的数据连接。
可选地,用户输入的的流量控制信息修改指令还可以用于修改流量监控周期。此时,当终端判断用户修改后的流量监控周期大于修改前的流量监控周期时,才响应用户操作,否则,不响应。终端响应用户操作执行的动作与上述方法类似,请参阅上述相关描述,此处不赘述。
在本实施方式中,当终端判断第一应用当前已经使用的数据流量值大于或等于第一应用对应的流量上限阈值时,自动断开第一应用的数据连接,同时提示用户。例如,第一应用为应用1,应用1当前已经使用的数据流量值大于与其对应的流量上限阈值(10M)时,禁用应用1的数据流量以断开应用1的数据连接,终端弹出如图3d所示的用户界面提醒用户第一应用当前已经使用的数据流量值已大于或等于预设的流量上限阈值。
在另一种实施方式中,当数据流量值大于或等于所述流量上限阈值时,呈现用户提示信息,获取用户触发的数据连接断开指令,根据数据连接断开指令,断开第一应用的数据连接。其中,用户提示信息用于提示用户是否断开第一应用的数据连接。
具体为:当终端判断第一应用当前已经使用的数据流量值大于或等于第一应用的流量上限阈值时,终端呈现用户提示信息,以供用户选择是否断开第一应用的数据连接。当用户选择断开第一应用的数据连接时,获取用户触发的数据连接断开指令,根据数据连接断开指令,断开第一应用的数据连接。
其中,断开数据连接的方式可以是直接关闭第一应用,也可以是使第一应用与终端调制解调器modem模块中断或停止通信、或禁用第一应用。但并不限于此,在其他实施方式中,还可以是其他的方式。
可以理解的是,第一应用可以是在被断开数据连接时,终端自动关闭的;也可以是在被断开数据连接之前用户手动关闭的。
S204:所述第一应用已经使用的数据流量值清零。
在断开第一应用的数据连接后,终端判断当前流量监控周期是否已经结束。当终端判断流量监控周期已经结束时,第一应用已经使用的数据流量值自动清零,结束本次流量管理。
可选地,在另一种实施方式中,当终端获取到用户输入的流量控制信息修改指令,并且修改后的流量监控周期大于修改前的流量监控周期时,在断开第一应用的数据连接后,并且终端判断修改后的流量监控周期未结束时,终端还判断修改后的流量监控周期是否被再次修改。
当终端判断修改后的流量监控周期没有被再次修改,并且在该流量监控周期结束时,第一应用已经使用的数据流量值自动清零,结束本次流量管理。
当终端判断修改后的流量监控周期被再次修改时,终端判断再次被修改的流量监控周期是否大于修改前的流量监控周期。当终端判断再次被修改的流量监控周期大于修改前的流量监控周期时,在再次被修改的流量监控周期结束时,第一应用已经使用的数据流量值自动清零,结束本次流量管理。否则,不响应再次修改后的流量监控周期,在修改前的流量监控周期结束时,第一应用已经使用的数据流量值自动清零,结束本次流量管理。
在本实施方式中,当终端检测到第一应用被关闭后,对第一应用已经使用的数据流量值自动清零,结束本次对该应用的流量管理。
可以理解的是,当断开第一应用的流量管理时,结束本次对第一应用的流量管理时,第一应用的数据流量控制信息可以是终端自动清除的,也可以是用户根据需要到流量管理用户界面手动清除。
在结束本次对第一应用的流量管理之后,用户可通过如图3a的流量管理的用户界面,激活第一应用的数据连接,对第一应用进行新的流量数据管理。此时,第一应用使用的流量初始值为零。上述方案,通过获取第一应用的流量控制信息以及第一应用已经使用的数据流量值,当第一应用已经使用的数据流量值大于或等于第一应用的流量控制信息包含的流量上限阈值时,断开第一应用的数据连接。本方案能够对单个应用进行实时流量管理,使用户能够根据需求即时修改流量控制信息以实时管理数据流量。
本方案能够对单个应用进行实时流量管理,使用户根据需求精细化管理和控制数据流量,提高了用户体验。
参阅图4,图4是本申请数据流量管理方法又一实施方式的流程图。本实施方式从终端的角度出发进行描述,可以为从基站获取数据流量的终端,也可以为从数据流量卡中获取数据流量的mifi终端,所述终端能够通过网络共享功能分享数据流量。其中,本实施例中,所述第一应用为终端进行数据流量分享的功能性应用,如WiFi网络共享、蓝牙网络共享、USB网络共享等网络共享。WiFi网络共享是本机与其他终端进行WiFi通信,将本机的数据流量分享给其他终端使用。蓝牙网络共享是本机与其他终端进行蓝牙通信,将本机的数据流量分享给其他终端使用。USB网络共享网络共享是将本机通过USB连接其他终端进行USB通信,将本机的数据流量分享给其他终端使用。本实施方式的数据流量管理包括如下步骤:
S401:获取第一应用的流量控制信息,其中,所述流量控制信息至少包括流量上限阈值。
请一并参阅图5,图5本申请流量管理用户界面一实施方式示意图。
当用户通过流量管理用户界面对应用进行流量管理时,本实施方式中,以WiFi网络共享为例进行说明(但并不限于此),用户通过如图5a所示的流量管理用户界面设置是否开启网络共享,以及是否对网络共享进行流量管理,并通过类似如图5b所示的流量管理用户界面设置流量控制信息。在用户通过流量管理用户界面开启第一应用的流量管理后或者终端开启第一应用后,终端获取第一应用的流量控制信息。其中,流量控制信息至少包括第一应用的流量上限阈值。
可选地,流量控制信息包括流量上限阈值和流量监控周期,流量上限阈值用于标识在流量监控周期内,第一应用允许使用的数据流量的最大值。流量监控周期为第一应用的数据流量监控周期,具体可以为用户设置的,如1天或1个月;也可以为终端预设的;还可以为从开启流量管理时的时间开始计算的。例如,当流量监控周期为一个月,流量上限阈值为30M时,表示第一应用在一个月内允许使用的数据流量的最大值为30M。S402:获取预设时间内经由所述第一应用进行数据连接的所有终端已经使用的数据流量值。
S402:终端获取预设时间内经由第一应用进行数据连接的所有终端已经使用的数据流量值。
其中,预设时间可以是以月或天为单位,也可以是用户启用流量管理后到当前的时间。例如,终端作为WiFi热点将本机的数据流量通过WiFi网络分享给其他终端使用时,终端获取预设时间内经由WiFi热点进行数据连接的所有终端已经使用的数据流量值。
可选地,数据流量值也可以为启用流量管理后经由第一应用(WiFi热点)进行数据连接的所有终端已经使用的数据流量值,即从终端开启流量管理功能始至当前时间这一段时间内经由第一应用进行数据连接的所有使用的数据流量值。
可以理解的是,当流量控制信息包括流量上限阈值和流量监控周期时,流量监控周期相当于预设时间中以月或天为单位的情况。
S403:当所述数据流量值大于或等于所述流量上限阈值时,断开所述第一应用的数据连接。
终端将预设时间内的数据流量值与流量上限阈值进行比较,并判断该数据流量值是否大于流量上限阈值。其中,数据流量值是经由第一应用进行数据连接的所有终端已经使用的数据流量值,流量上限阈值是第一应用的流量控制信息中包含的流量上限阈值。
终端可以通过类似如图5c所示的用户界面将经由第一应用进行数据连接的所有终端已经使用的数据流量值实时显示给用户,以便用户查看。如图5c所示的用户界面可以按一定的时间间隔刷新,刷新后的用户界面实时显示最新获取的经由第一应用进行数据连接的所有终端已经使用的总数据流量值,时间间隔可根据用户时间需求设定。
当终端判断在预设时间内,经由第一应用进行数据连接的所有终端已经使用的数据流量值小于第一应用的流量上限阈值时,保持第一应用的数据连接状态,继续判断新获取的数据流量值是否大于流量上限阈值。其中,数据流量值是经由第一应用进行数据连接的所有终端已经使用的数据流量值,流量上限阈值是第一应用的流量控制信息中包含的流量上限阈值。
在预设时间内,当终端判断经由第一应用进行数据连接的所有终端已经使用的数据流量值大于或等于流量上限阈值时,禁用或关闭第一应用;或者,
当终端判断经由第一应用进行数据连接的所有终端已经使用的数据流量值大于或等于流量上限阈值时,断开第一应用与经由第一应用进行数据连接的所有终端之间的数据连接;或者,
当终端判断经由第一应用进行数据连接的所有终端已经使用的数据流量值大于或等于流量上限阈值时,断开第一应用与终端调制解调器modem模块之间的数据连接,此时,除第一应用外的其他应用仍然可以与终端调制解调器modem模块通信获取数据流量。
可选地,当终端判断在预设时间内,经由第一应用进行数据连接的所有终端已经使用的数据流量值小于第一应用的流量上限阈值时,还判断第一应用对应的流量控制信息是否有修改。
其中,当终端判断在预设时间内,经由第一应用进行数据连接的所有终端已经使用的数据流量值小于第一应用的流量上限阈值,并且第一应用对应的流量控制信息有修改时,判断经由第一应用进行数据连接的所有终端已经使用的数据流量值是否大于修改后的流量上限阈值。
当终端判断在预设时间内,经由第一应用进行数据连接的所有终端已经使用的数据流量值小于第一应用的流量上限阈值,并且第一应用对应的流量控制信息没有修改时,保持第一应用的数据连接状态,继续判断经由第一应用进行数据连接的所有终端已经使用的数据流量值是否大于第一应用的流量上限阈值。直到,当终端判断经由第一应用进行数据连接的所有终端已经使用的数据流量值大于或等于第一应用的流量上限阈值时,断开第一应用的数据连接。
具体地,当终端判断在预设时间内,经由第一应用进行数据连接的所有终端已经使用的数据流量值小于与第一应用的流量上限阈值时:
当终端判断获取到第一应用的两个相邻的流量控制信息没有修改时,将经由第一应用进行数据连接的所有终端已经使用的数据流量值与第一应用的流量上限阈值进行比较,并判断经由第一应用进行数据连接的所有终端已经使用的数据流量值是否大于与其对应的流量上限阈值。
当终端获取到第一应用的两个相邻的流量控制信息有修改,并且经由第一应用进行数据连接的所有终端已经使用的数据流量值小于与其对应的修改前的流量上限阈值时,将经由第一应用进行数据连接的所有终端已经使用的数据流量值与第一应用修改后的流量上限阈值进行比较,并判断第一应用当前已经使用的数据流量值是否大于与其对应的修改后的流量上限阈值。
当终端判断经由第一应用进行数据连接的所有终端已经使用的数据流量值大于或等于与第一应用修改后的流量上限阈值时,终端断开第一应用的数据连接并提醒用户。
在本实施方式中,当终端判断在预设时间内,经由第一应用进行数据连接的所有终端已经使用的数据流量值大于或等于第一应用对应的流量上限阈值时,自动断开第一应用的数据连接,同时提示用户。例如,终端作为WiFi热点,当前经由WiFi热点(第一应用)进行数据连接的所有终端已经使用的总数据流量值等于或大于与其对应的流量上限阈值(100M)时,关闭WiFi热点,终端弹出如图5d所示的用户界面提醒用户。
在另一种实施方式中,当数据流量值大于或等于所述流量上限阈值时,呈现用户提示信息,获取用户触发的数据连接断开指令,根据数据连接断开指令,断开第一应用的数据连接。其中,用户提示信息用于提示用户是否断开第一应用的数据连接。
具体为:当终端判断经由第一应用进行数据连接的所有终端已经使用的数据流量值大于或等于第一应用的流量上限阈值时,终端呈现用户提示信息,以供用户选择是否断开第一应用的数据连接。当用户选择断开第一应用的数据连接的时,获取用户触发的数据连接断开指令,根据数据连接断开指令,断开第一应用的数据连接。
其中,断开数据连接的方式可以是直接关闭第一应用,也可以是使第一应用与终端调制解调器modem模块中断或停止通信、或禁用第一应用。但并不限于此,在其他实施方式中,还可以是其他的方式。
可以理解的是,第一应用可以是终端自动关闭的;也可以是在被断开数据连接之前用户手动关闭的。
S404:所述经由第一应用进行数据连接的所有终端已经使用的数据流量值清零。
当断开第一应用的数据连接后,经由第一应用进行数据连接的所有终端已经使用的数据流量值自动清零,结束本次对第一应用的流量管理。
当断开第一应用的数据连接的方式为直接关闭第一应用时,在第一应用关闭之后,第一应用已经使用的数据流量值自动清零,结束本次流量管理。当终端检测到用户重新开启第一应用的命令时,激活第一应用的数据连接,此时,第一应用已经使用的数据流量初始值为零。
当断开第一应用的数据连接的方式为使第一应用与终端调制解调器modem模块中断或停止通信时,在断开第一应用的数据连接后,第一应用已经使用的数据流量值自动清零,结束本次流量管理。终端检测到激活第一应用的数据连接的指令时,激活第一应用的数据连接,此时,第一应用已经使用的数据流量初始值为零。其中,激活第一应用的数据连接的指令,可以是在到达预设时间(预设时间是以月或天为单位)后终端自动触发,也可以是终端在获取到第一应用的流量控制信息有修改,并且修改后的流量控制信息中包含的流量上限阈值大于修改前的流量控制信息中包含的流量上限阈值时终端自动触发。否则,不响应修改后的流量控制信息。激活第一应用的数据连接的指令的方式并不限于此,还可以为其他的方式,此处不做限制。
可以理解的是,当断开第一应用的流量管理时,结束本次对第一应用的流量管理时,第一应用的数据流量控制信息可以是终端自动清除的,也可以是用户根据需要到流量管理用户界面手动清除。上述方案,通过获取第一应用的流量控制信息以及经由第一应用进行数据连接的所有终端已经使用的数据流量值,当经由第一应用进行数据连接的所有终端已经使用的数据流量值大于或等于第一应用的流量控制信息包含的流量上限阈值时,断开第一应用的数据连接。本方案能够对单个应用进行实时流量管理,使用户能够根据需求即时修改流量控制信息以实时管理数据流量。
本方案能够对单个应用进行实时流量管理,使用户根据需求精细化管理和控制数据流量,提高了用户体验。
请参阅图6,图6是本申请数据流量管理装置一实施方式的结构示意图。本实施方式从终端的角度出发进行描述,可以为从基站获取数据流量的终端,也可以为从数据流量卡中获得数据流量的mifi终端,所述终端能够通过网络共享功能共享数据流量。本实施方式的数据流量管理装置用于执行图1实施例中的方法步骤,各模块执行的任务与图1实施例中的相应的方法步骤相对应。本实施方式的数据流量管理装置包括流量控制信息获取模块610、流量数据值获取模块620以及控制模块630。
流量控制信息获取模块610用于获取第一应用的流量控制信息其中,所述流量控制信息至少包括流量上限阈值。
可选地,用户可通过流量管理用户界面开启第一应用的流量管理功能,对第一应用进行流量管理。
流量控制信息获取模块610获取第一应用的流量控制信息,流量控制信息至少包括第一应用的流量上限阈值,流量上限阈值可以为用户设定的该第一应用的流量上限阈值,也可以为终端预设的第一应用的流量上限阈值,例如终端根据多个应用平均分配的流量阈值,对此不做限定。
流量控制信息获取模块610将第一应用的流量控制信息向控制模块630发送。
数据流量值获取模块620获取预设时间内第一应用已经使用的数据流量值。其中,预设时间可以是以月或天为单位,也可以是用户启用流量管理后到当前的时间。
可选地,数据流量值也可以为启用流量管理后所述第一应用已经使用的数据流量值,即从终端开启流量管理功能始至当前时间这一段时间内使用的数据流量值。
数据流量值获取模块620将预设时间内第一应用已经使用的数据流量值向控制模块630发送。
控制模块630用于当数据流量值获取模块630获取的数据流量值大于或等于流量上限阈值时,断开所述第一应用的数据连接。
比如,控制模块620接收流量控制信息获取模块610发送的第一应用的流量控制信息,以及接收数据流量值获取模块630发送的预设时间内第一应用已经使用的数据流量值,将预设时间内第一应用已经使用的数据流量值与第一应用的流量控制信息中包含的流量上限阈值进行比较,并判断第一应用当前已经使用的数据流量值是否大于或等于第一应用的流量上限阈值。
当控制模块630判断在预设时间内,第一应用已经使用的数据流量值大于或等于第一应用的流量上限阈值时,断开第一应用的数据连接。其中,断开数据连接的方式可以是直接关闭第一应用,也可以是使第一应用与终端调制解调器modem模块中断或停止通信,除第一应用外的其他应用仍然可以与终端调制解调器modem模块通信获取数据流量。但并不限于此,在其他实施方式中,还可以是其他的方式。
当控制模块630判断在预设时间内,第一应用已经使用的数据流量值小于第一应用的流量上限阈值时,继续判断新获取的第一应用已经使用的数据流量值是否大于或等于第一应用的流量上限阈值。
可选地,当控制模块630判断在预设时间内,第一应用使用的数据流量值大于或等于第一应用的流量上限阈值时,还判断第一应用对应的流量控制信息是否有修改。其中,当控制模块630判断在预设时间内,第一应用对应的流量控制信息有修改时,判断第一应用已经使用的数据流量值是否大于或等于修改后的流量上限阈值。当控制模块630判断第一应用已经使用的数据流量值大于或等于与其对应的流量上限阈值时,断开第一应用的数据连接。
可以理解的是,当断开第一应用的流量管理时,结束本次对第一应用的流量管理时,第一应用的数据流量控制信息可以是控制模块630自动清除的,也可以是用户根据需要到流量管理用户界面手动清除。
上述方案,通过获取第一应用的流量控制信息以及第一应用已经使用的数据流量值,当第一应用已经使用的数据流量值大于或等于第一应用的流量控制信息包含的流量上限阈值时,断开第一应用的数据连接。本方案能够对单个应用进行实时流量管理,使用户根据需求精细化管理和控制数据流量,提高了用户体验。
请参阅图7,图7是本申请数据流量管理装置另一实施方式的结构示意图。本实施方式从终端的角度出发进行描述,可以为从基站获取数据流量的终端,也可以为从数据流量卡中获得数据流量的mifi终端,所述终端能够通过网络共享功能共享数据流量。本实施方式的数据流量管理装置用于执行图2以及图3实施例中的方法步骤,各模块执行的任务分别与图2以及图3实施例中相应的方法步骤对应。
本实施方式的数据流量管理装置包括流量控制信息获取模块710、数据流量值获取模块720、控制模块730、重置模块740以及输入模块750其中,控制模块730包括指令执行单元731和信息提示单元732。
流量控制信息获取模块710用于获取第一应用的流量控制信息。其中,流量控制信息包括流量上限阈值和流量监控周期,流量上限阈值用于标识在流量监控周期内,第一应用允许使用的数据流量的最大值。
比如,流量控制信息获取模块710获取第一应用的流量控制信息。其中,流量控制信息包括流量上限阈值。可选地,流量控制信息包括流量上限阈值和流量监控周期,流量上限阈值用于标识在流量监控周期内,第一应用允许使用的数据流量的最大值。
流量控制信息获取模块710将第一应用的流量控制信息向指令执行单元731发送。
数据流量值获取模块720用于获取预设时间内第一应用已经使用的数据流量值获取预设时间内第一应用已经使用的数据流量值。
比如,数据流量值获取模块720获取预设时间内第一应用已经使用的数据流量值获取预设时间内第一应用已经使用的数据流量值。
其中,当第一应用为安装于本机系统的可与服务器进行数据交互的应用程序时,数据流量值获取模块720获取预设时间内第一应用已经使用的数据流量值。当第一应用为终端进行数据流量分享的功能性应用时,数据流量值获取模块720获取经由第一应用进行数据连接的所有终端使用的数据流量值。
数据流量值获取模块720将预设时间内第一应用已经使用的数据流量值向指令执行单元731发送。
指令执行单元731用于接收流量控制信息获取模块710获取的第一应用的流量控制信息,以及接收数据流量值获取模块发送的数据流量值,当所述数据流量值大于或等于所述流量上限阈值时,断开所述第一应用的数据连接。
其中,当第一应用为安装于本机系统的可与服务器进行数据交互的应用程序时,指令执行单元731具体用于接收第一应用的流量控制信息以及第一应用已经使用的数据流量值,当在流量监控周期内,第一应用已经使用的数据流量值大于或等于与其对应的流量上限阈值时,断开第一应用的数据连接。
指令执行单元731将第一应用已经使用的数据流量值与第一应用的流量上限阈值进行比较,并进行判断。当指令执行单元731判断在预设时间内,第一应用已经使用的数据流量值大于或等于第一应用的流量上限阈值时,断开第一应用的数据连接。
当指令执行单元731判断第一应用已经使用的数据流量值小于第一应用的流量上限阈值时,继续判断再次获取的第一应用已经使用的数据流量值与再次获取的第一应用的流量上限阈值大小。
当指令执行单元731判断第一应用已经使用的数据流量值大于或等于与其对应的流量上限阈值时,断开第一应用的数据连接。
当第一应用为终端进行数据流量分享的功能性应用时,指令执行单元731具体用于接收第一应用的流量控制信息,以及经由第一应用进行数据连接的所有使用的数据流量值,当预设时间内,经由第一应用进行数据连接的所有使用的数据流量值大于或等于第一应用的流量上限阈值时,断开第一应用的数据连接。
指令执行单元731当数据流量值获取模块720获取的经由所述第一应用进行数据连接的所有终端已经使用的数据流量值大于或等于所述流量上限阈值时,禁用所述第一应用;或者,
指令执行单元731当数据流量值获取模块720获取的经由第一应用进行数据连接的所有终端已经使用的数据流量值大于或等于流量上限阈值时,断开第一应用与经由所述第一应用进行数据连接的所有终端之间的数据连接;或者,
指令执行单元731当数据流量值获取模块720获取的经由第一应用进行数据连接的所有终端已经使用的数据流量值大于或等于流量上限阈值时,断开第一应用与终端调制解调器modem模块之间的数据连接。
可选地,当指令执行单元731判断第一应用的数据流量值大于或等于第一流量上限阈值时,信息提示单元732呈现用户提示信息,其中,用户提示信息用于提示用户是否断开所述第一应用的数据连接。
输入模块750用于获取用户输入的流量控制信息修改指令,其中,流量控制信息修改指令用于修改流量上限阈值。
比如,在信息提示单元732呈现用户提示信息,输入模块750获取用户输入的流量控制信息修改指令。输入模块750将用户输入的流量控制信息修改指令向指令执行单元731。
指令执行单元731用于,在信息提示单元732呈现用户提示信息后,获取用户触发的数据连接断开指令,根据数据连接断开指令,断开第一应用的数据连接。比如,指令执行单元731,在信息提示单元732呈现用户提示信息后,接收输入模块750将用户输入的流量控制信息修改指令,获取用户触发的数据连接断开指令,根据数据连接断开指令,断开第一应用的数据连接。
例如,指令执行单元731当获取到输入模块750修改后的流量上限阈值大于修改前的流量上限阈值,且流量数据值大于或等于修改后的流量上限阈值时,断开第一应用的数据连接;或者,
指令执行单元731当获取到输入模块750修改后的流量上限阈值大于修改前的流量上限阈值,且流量数据值小于修改后的流量上限阈值时,保持所述第一应用的数据连接状态;或者,
指令执行单元731当获取到输入模块750修改后的流量上限阈值小于修改前的流量上限阈值,且流量数据值大于或等于修改后的流量上限阈值时,断开所述第一应用的数据连接;或者,
指令执行单元731当获取到输入模块750修改后的流量上限阈值小于修改前的流量上限阈值,且流量数据值小于修改后的流量上限阈值时,保持第一应用的数据连接状态。
其中,对本发明实施例中的断开数据连接应做广义理解,可选地,其可以是关闭该第一应用;可选地,其可以是第一应用与终端调制解调器modem模块中断或停止通信,此时,除第一应用外的其他应用仍然可以与终端调制解调器modem模块通信获取数据流量;可选地,当第一应用为数据流量分享的功能性应用时,其可以是断开该第一应用与通过该第一应用进行数据连接的所有终端之间的数据连接,即该第一应用仍处于开启状态,但已无法其它终端连接,进行流量数据传输。具体还可以包括覆盖本思想的其它方式。
在指令执行单元731断开第一应用的数据连接后,指令执行单元731向重置模块740发送通知信息。
重置模块740用于在指令执行单元731断开第一应用的数据连接后,将预设时间内的第一应用已经使用的数据流量值清零。比如,当第一应用为安装于本机系统的可与服务器进行数据交互的应用程序时:
重置模块740在指令执行单元731断开第一应用的数据连接后,接收通知信息,重置模块740判断当前流量监控周期是否已经结束。当重置模块740判断流量监控周期已经结束时,第一应用已经使用的数据流量值自动清零或者经由第一应用进行数据连接的所有终端已经使用的数据流量值自动清零,结束本次流量管理。
可选地,在另一种实施方式中,当指令执行单元731获取到获取到的用户输入的流量控制信息修改指令,并且重置模块740判断修改后的流量监控周期大于修改前的流量监控周期时,在指令执行单元731断开第一应用的数据连接后,并且重置模块740判断修改后的流量监控周期未结束时,重置模块740还判断修改后的流量监控周期是否被再次修改。
当重置模块740判断修改后的流量监控周期没有被再次修改,并且在该流量监控周期结束时,第一应用已经使用的数据流量值自动清零,结束本次流量管理。
当重置模块740判断修改后的流量监控周期被再次修改时,重置模块740判断再次被修改的流量监控周期是否大于修改前的流量监控周期。当重置模块740判断再次被修改的流量监控周期大于修改前的流量监控周期时,在再次被修改的流量监控周期结束时,第一应用已经使用的数据流量值自动清零,结束本次流量管理。否则,不响应再次修改后的流量监控周期,在修改前的流量监控周期结束时,第一应用已经使用的数据流量值自动清零,结束本次流量管理。
可以理解的是,当断开第一应用的流量管理时,结束本次对第一应用的流量管理时,第一应用的数据流量控制信息可以是终端自动清除的,也可以是用户根据需要到流量管理用户界面手动清除。
上述方案,通过获取第一应用的流量控制信息以及第一应用已经使用的数据流量值,当第一应用已经使用的数据流量值大于或等于第一应用的流量控制信息包含的流量上限阈值时,断开第一应用的数据连接。本方案能够对单个应用进行实时流量管理,使用户能够根据需求即时修改流量控制信息以实时管理数据流量。
本方案能够对单个应用进行实时流量管理,使用户根据需求精细化管理和控制数据流量,提高了用户体验。
参阅图8,图8是本申请数据流量管理装置又一实施方式的结构示意图。数据流量管理装置可以为从基站获取数据流量的终端,也可以为从数据流量卡中获取数据流量的mifi终端,所述终端能够通过“网络共享”功能共享数据流量。数据流量管理装置包括:存储器810、处理器820、输入设备830、总线840以及输出设备850。处理器820通过总线840和存储器810相连。处理器820通过总线840和输入设备830和输出设备850相连。
存储器810存储程序指令。
处理器820为中央处理器(英文:central processing unit,缩写:CPU)或者是CPU和硬件芯片的组合。处理器820根据存储器810存储的程序指令执行以下操作:
处理器820获取第一应用的流量控制信息,以及获取预设时间内所述第一应用已经使用的数据流量值,其中,所述流量控制信息至少包括流量上限阈值。
处理器当所述数据流量值大于或等于所述流量上限阈值时,断开所述第一应用的数据连接。
可选地,所述流量控制信息包括流量上限阈值和流量监控周期,其中,所述流量上限阈值用于标识在所述流量监控周期内,所述第一应用允许使用的数据流量的最大值。处理器820在所述流量监控周期内,当所述数据流量值大于或等于所述流量上限阈值时,断开所述第一应用的数据连接。
可选地,处理器820还控制输入设备830获取用户输入的流量控制信息修改指令,其中,所述流量控制信息修改指令用于修改所述流量上限阈值。处理器820当所述输入模块修改后的流量上限阈值大于修改前的流量上限阈值,且所述流量数据值大于或等于所述修改后的流量上限阈值时,断开所述第一应用的数据连接;或者,
当所述输入模块修改后的流量上限阈值大于修改前的流量上限阈值,且所述流量数据值小于所述修改后的流量上限阈值时,保持所述第一应用的数据连接状态;或者,
当所述输入模块修改后的流量上限阈值小于修改前的流量上限阈值,且所述流量数据值大于或等于所述修改后的流量上限阈值时,断开所述第一应用的数据连接;或者,
当所述输入模块修改后的流量上限阈值小于修改前的流量上限阈值,且所述流量数据值小于所述修改后的流量上限阈值时,保持所述第一应用的数据连接状态。
可选地,处理器820在断开所述第一应用的数据连接后,将所述预设时间内的第一应用已经使用的数据流量值清零。
可选地,当所述处理器820获取的所述数据流量值大于或等于所述流量上限阈值时,处理器820还控制输出设备850呈现用户提示信息,其中,所述用户提示信息用于提示用户是否断开所述第一应用的数据连接。
处理器820在输出设备850呈现用户提示信息后,获取用户触发的数据连接断开指令,根据所述数据连接断开指令,断开所述第一应用的数据连接。
可选地,所述第一应用为数据流量分享的功能性应用;处理器820获取预设时间内经由所述第一应用进行数据连接的所有终端已经使用的数据流量值。
处理器820当经由所述第一应用进行数据连接的所有终端已经使用的数据流量值大于或等于所述流量上限阈值时,禁用所述第一应用;或者,
当经由所述第一应用进行数据连接的所有终端已经使用的数据流量值大于或等于所述流量上限阈值时,断开所述第一应用与经由所述第一应用进行数据连接的所有终端之间的数据连接;或者,
当经由所述第一应用进行数据连接的所有终端已经使用的数据流量值大于或等于所述流量上限阈值时,断开所述第一应用与终端调制解调器modem模块之间的数据连接。
上述方案,通过获取第一应用的流量控制信息以及第一应用已经使用的数据流量值,当第一应用已经使用的数据流量值大于或等于第一应用的流量控制信息包含的流量上限阈值时,断开第一应用的数据连接。本方案能够对单个应用进行实时流量管理,使用户根据需求精细化管理和控制数据流量,提高了用户体验。
以上描述中,为了说明而不是为了限定,提出了诸如特定系统结构、接口、技术之类的具体细节,以便透彻理解本申请。然而,本领域的技术人员应当清楚,在没有这些具体细节的其它实施方式中也可以实现本申请。在其它情况中,省略对众所周知的装置、电路以及方法的详细说明,以免不必要的细节妨碍本申请的描述。

Claims (18)

  1. 一种数据流量管理方法,其特征在于,所述方法包括如下步骤:
    获取第一应用的流量控制信息,其中,所述流量控制信息至少包括流量上限阈值;
    获取预设时间内所述第一应用已经使用的数据流量值;
    当所述数据流量值大于或等于所述流量上限阈值时,断开所述第一应用的数据连接。
  2. 根据权利要求1所述的方法,其特征在于,所述流量控制信息包括流量上限阈值和流量监控周期,其中,所述流量上限阈值用于标识在所述流量监控周期内,所述第一应用允许使用的数据流量的最大值;
    所述当所述数据流量值大于或等于所述流量上限阈值时,断开所述第一应用的数据连接,具体为:
    在所述流量监控周期内,当所述数据流量值大于或等于所述流量上限阈值时,断开所述第一应用的数据连接。
  3. 根据权利要求1或2所述的方法,其特征在于,所述方法还包括:获取用户输入的流量控制信息修改指令,其中,所述流量控制信息修改指令用于修改所述流量上限阈值;
    当所述数据流量值大于或等于所述流量上限阈值时,断开所述第一应用的数据连接;包括:
    当修改后的流量上限阈值大于修改前的流量上限阈值,且所述流量数据值大于或等于所述修改后的流量上限阈值时,断开所述第一应用的数据连接;或者,
    当修改后的流量上限阈值大于修改前的流量上限阈值,且所述流量数据值小于所述修改后的流量上限阈值时,保持所述第一应用的数据连接状态;或者,
    当修改后的流量上限阈值小于修改前的流量上限阈值,且所述流量数据值大于或等于所述修改后的流量上限阈值时,断开所述第一应用的数据连接;或者,
    当修改后的流量上限阈值小于修改前的流量上限阈值,且所述流量数据值小于所述修改后的流量上限阈值时,保持所述第一应用的数据连接状态。
  4. 根据权利要求1-3任一所述的方法,其特征在于,在断开所述第一应用的数据连接后,所述方法还包括:将所述预设时间内的第一应用已经使用的数据流量值清零。
  5. 根据权利要求1-4任一所述的方法,其特征在于,当所述数据流量值大于或等于所述流量上限阈值时,断开所述第一应用的数据连接;包括:
    当所述数据流量值大于或等于所述流量上限阈值时,呈现用户提示信息,其中,所述用户提示信息用于提示用户是否断开所述第一应用的数据连接;
    获取用户触发的数据连接断开指令,根据所述数据连接断开指令,断开所述第一应用的数据连接。
  6. 根据权利要求1-5任一所述的方法,其特征在于,所述第一应用为数据流量分享的功能性应用;所述获取预设时间内的所述第一应用已经使用的数据流量值;包括:
    获取预设时间内经由所述第一应用进行数据连接的所有终端已经使用的数据流量值;
    所述当所述数据流量值大于或等于所述流量上限阈值时,断开所述第一应用的数据连接;包括:
    当经由所述第一应用进行数据连接的所有终端已经使用的数据流量值大于或等于所述流量上限阈值时,禁用所述第一应用;或者,
    当经由所述第一应用进行数据连接的所有终端已经使用的数据流量值大于或等于所述流量上限阈值时,断开所述第一应用与经由所述第一应用进行数据连接的所有终端之间的数据连接;或者,
    当经由所述第一应用进行数据连接的所有终端已经使用的数据流量值大于或等于所述流量上限阈值时,断开所述第一应用与终端调制解调器modem模块之间的数据连接。
  7. 一种数据流量管理装置,其特征在于,包括:流量控制信息获取模块、数据流量值获取模块以及控制模块;
    所述流量控制信息获取模块用于获取第一应用的流量控制信息,其中,所述流量控制信息至少包括流量上限阈值;
    所述数据流量值获取模块用于获取预设时间内所述第一应用已经使用的数据流量值;
    所述控制模块用于当所述数据流量值获取模块获取的所述数据流量值大于或等于所述流量上限阈值时,断开所述第一应用的数据连接。
  8. 根据权利要求7所述的装置,其特征在于,所述流量控制信息包括流量上限阈值和流量监控周期,其中,所述流量上限阈值用于标识在所述流量监控周期内,所述第一应用允许使用的数据流量的最大值;
    所述控制模块具体用于在所述流量监控周期内,当所述数据流量值获取模块获取的所述数据流量值大于或等于所述流量上限阈值时,断开所述第一应用的数据连接。
  9. 根据权利要求7或8所述的装置,其特征在于,所述装置还包括输入模块,所述输入模块用于获取用户输入的流量控制信息修改指令,其中,所述流量控制信息修改指令用于修改所述流量上限阈值;
    所述控制模块具体用于当所述输入模块修改后的流量上限阈值大于修改前的流量上限阈值,且所述流量数据值大于或等于所述修改后的流量上限阈值时,断开所述第一应用的数据连接;或者,
    所述控制模块具体用于当所述输入模块修改后的流量上限阈值大于修改前的流量上限阈值,且所述流量数据值小于所述修改后的流量上限阈值时,保持所述第一应用的数据连接状态;或者,
    所述控制模块具体用于当所述输入模块修改后的流量上限阈值小于修改前的流量上限阈值,且所述流量数据值大于或等于所述修改后的流量上限阈值时,断开所述第一应用的数据连接;或者,
    所述控制模块具体用于当所述输入模块修改后的流量上限阈值小于修改前的流量上限阈值,且所述流量数据值小于所述修改后的流量上限阈值时,保持所述第一应用的数据连接状态。
  10. 根据权利要求7-9任一所述的装置,其特征在于,所述装置还包括重置模块,所述重置模块用于在所述控制模块断开所述第一应用的数据连接后,将所述预设时间内的第一应用已经使用的数据流量值清零。
  11. 根据权利要求7-10任一所述的装置,其特征在于,所述控制模块包括信息提示单元和指令执行单元;
    所述信息提示单元用于,当所述数据流量值大于或等于所述流量上限阈值时,呈现用户提示信息,其中,所述用户提示信息用于提示用户是否断开所述第一应用的数据连接;
    所述指令执行单元用于,在所述信息提示单元呈现用户提示信息后,获取用户触发的数据连接断开指令,根据所述数据连接断开指令,断开所述第一应用的数据连接。
  12. 根据权利要求7-11任一所述的装置,其特征在于,所述第一应用为数据流量分享的功能性应用;所述流量控制信息获取模块具体用于获取预设时间内经由所述第一应用进行数据连接的所有终端已经使用的数据流量值;
    所述控制模块具体用于当所述数据流量值获取模块获取的经由所述第一应用进行数据连接的所有终端已经使用的数据流量值大于或等于所述流量上限阈值时,禁用所述第一应用;或者,
    所述控制模块具体用于当所述数据流量值获取模块获取的经由所述第一应用进行数据连接的所有终端已经使用的数据流量值大于或等于所述流量上限阈值时,断开所述第一应用与经由所述第一应用进行数据连接的所有终端之间的数据连接;或者,
    所述控制模块具体用于当所述数据流量值获取模块获取的经由所述第一应用进行数据连接的所有终端已经使用的数据流量值大于或等于所述流量上限阈值时,断开所述第一应用与终端调制解调器modem模块之间的数据连接。
  13. 一种数据流量管理装置,其特征在于,包括:处理器;
    所述处理器用于获取第一应用的流量控制信息,以及用于获取预设时间内的所述第一应用已经使用的数据流量值,其中,所述流量控制信息至少包括流量上限阈值;
    所述处理器还用于当所述数据流量值大于或等于所述流量上限阈值时,断开所述第一应用的数据连接。
  14. 根据权利要求13所述的装置,所述流量控制信息包括流量上限阈值和流量监控周期,其中,所述流量上限阈值用于标识在所述流量监控周期内,所述第一应用允许使用的数据流量的最大值;
    所述处理器具体用于在所述流量监控周期内,当所述数据流量值大于或等于所述流量上限阈值时,断开所述第一应用的数据连接。
  15. 根据权利要求13或14所述的装置,其特征在于,所述装置还包括输入设备;所述输入设备与所述处理器连接;所述输入设备用于获取用户输入的流量控制信息修改指令,其中,所述流量控制信息修改指令用于修改所述流量上限阈值;
    所述处理器具体用于当所述输入模块修改后的流量上限阈值大于修改前的流量上限阈值,且所述流量数据值大于或等于所述修改后的流量上限阈值时,断开所述第一应用的数据连接;或者,
    所述处理器具体用于当所述输入模块修改后的流量上限阈值大于修改前的流量上限阈值,且所述流量数据值小于所述修改后的流量上限阈值时,保持所述第一应用的数据连接状态;或者,
    所述处理器具体用于当所述输入模块修改后的流量上限阈值小于修改前的流量上限阈值,且所述流量数据值大于或等于所述修改后的流量上限阈值时,断开所述第一应用的数据连接;或者,
    所述处理器具体用于当所述输入模块修改后的流量上限阈值小于修改前的流量上限阈值,且所述流量数据值小于所述修改后的流量上限阈值时,保持所述第一应用的数据连接状态。
  16. 根据权利要求13-15任一所述的装置,其特征在于,所述处理器还用于在断开所述第一应用的数据连接后,将所述预设时间内的第一应用已经使用的数据流量值清零。
  17. 根据权利要求13-16任一所述的装置,其特征在于,所述装置还包括输出设备;所述输出设备与所述处理器连接;所述输出设备用于当所述处理器获取的所述数据流量值大于或等于所述流量上限阈值时,呈现用户提示信息,其中,所述用户提示信息用于提示用户是否断开所述第一应用的数据连接;
    所述处理器还用于在所述输出设备呈现用户提示信息后,获取用户触发的数据连接断开指令,根据所述数据连接断开指令,断开所述第一应用的数据连接。
  18. 根据权利要求13-17任一所述的装置,其特征在于,所述第一应用为数据流量分享的功能性应用;所述处理器具体用于获取预设时间内经由所述第一应用进行数据连接的所有终端已经使用的数据流量值;
    所述处理器具体用于当经由所述第一应用进行数据连接的所有终端已经使用的数据流量值大于或等于所述流量上限阈值时,禁用所述第一应用;或者,
    所述处理器具体用于当经由所述第一应用进行数据连接的所有终端已经使用的数据流量值大于或等于所述流量上限阈值时,断开所述第一应用与经由所述第一应用进行数据连接的所有终端之间的数据连接;或者,
    所述处理器具体用于当经由所述第一应用进行数据连接的所有终端已经使用的数据流量值大于或等于所述流量上限阈值时,断开所述第一应用与终端调制解调器modem模块之间的数据连接。
PCT/CN2014/090059 2014-10-31 2014-10-31 一种数据流量管理方法及装置 Ceased WO2016065619A1 (zh)

Priority Applications (12)

Application Number Priority Date Filing Date Title
PCT/CN2014/090059 WO2016065619A1 (zh) 2014-10-31 2014-10-31 一种数据流量管理方法及装置
EP14904640.1A EP3206428B1 (en) 2014-10-31 2014-10-31 Data traffic management method and device
ES20170997T ES2925947T3 (es) 2014-10-31 2014-10-31 Método y aparato para la gestión del tráfico de datos
CN202110189228.XA CN112911637A (zh) 2014-10-31 2014-10-31 一种数据流量管理方法及装置
ES22186818T ES2985119T3 (es) 2014-10-31 2014-10-31 Método y aparato para la gestión del tráfico de datos
US15/523,034 US10791060B2 (en) 2014-10-31 2014-10-31 Data traffic management method and apparatus
ES14904640T ES2825650T3 (es) 2014-10-31 2014-10-31 Método y dispositivo para la gestión del tráfico de datos
EP20170997.9A EP3749006B1 (en) 2014-10-31 2014-10-31 Data traffic management method and apparatus
EP22186818.5A EP4161126B1 (en) 2014-10-31 2014-10-31 Data traffic management method and apparatus
CN201480056538.2A CN106031227B (zh) 2014-10-31 2014-10-31 一种数据流量管理方法及装置
US17/035,254 US11349767B2 (en) 2014-10-31 2020-09-28 Device and method for disabling a WLAN hotspot based on data traffic value
US17/826,783 US11799786B2 (en) 2014-10-31 2022-05-27 Device and method for disabling a WLAN hotspot based on data traffic value

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/090059 WO2016065619A1 (zh) 2014-10-31 2014-10-31 一种数据流量管理方法及装置

Related Child Applications (2)

Application Number Title Priority Date Filing Date
US15/523,034 A-371-Of-International US10791060B2 (en) 2014-10-31 2014-10-31 Data traffic management method and apparatus
US17/035,254 Continuation US11349767B2 (en) 2014-10-31 2020-09-28 Device and method for disabling a WLAN hotspot based on data traffic value

Publications (1)

Publication Number Publication Date
WO2016065619A1 true WO2016065619A1 (zh) 2016-05-06

Family

ID=55856435

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/090059 Ceased WO2016065619A1 (zh) 2014-10-31 2014-10-31 一种数据流量管理方法及装置

Country Status (5)

Country Link
US (3) US10791060B2 (zh)
EP (3) EP4161126B1 (zh)
CN (2) CN112911637A (zh)
ES (3) ES2985119T3 (zh)
WO (1) WO2016065619A1 (zh)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106792878A (zh) * 2016-12-27 2017-05-31 努比亚技术有限公司 一种数据流量监控方法及装置
CN107222853A (zh) * 2017-06-29 2017-09-29 努比亚技术有限公司 一种应用管理方法、设备及计算机可读存储介质
WO2018023375A1 (zh) * 2016-08-02 2018-02-08 张阳 一种控制手机流量消耗的方法和手机
CN110691038A (zh) * 2018-07-04 2020-01-14 中兴通讯股份有限公司 一种流量业务处理方法及装置
CN114006869A (zh) * 2020-07-28 2022-02-01 阿里巴巴集团控股有限公司 流量控制方法、装置、电子设备及计算机可读存储介质

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
ES2985119T3 (es) * 2014-10-31 2024-11-04 Honor Device Co Ltd Método y aparato para la gestión del tráfico de datos
JP6796604B2 (ja) * 2018-01-19 2020-12-09 株式会社日立製作所 ネットワーク管理システム、及び、ネットワーク管理方法
CN109660430B (zh) * 2018-12-27 2022-07-12 广州爱云信息技术有限公司 一种流量监控方法、终端及计算机可读存储介质
CN111698730B (zh) * 2019-03-15 2023-11-21 斑马智行网络(香港)有限公司 流量控制方法、操作系统、端设备及分布式系统
US20210105712A1 (en) * 2019-10-04 2021-04-08 Qualcomm Incorporated Standalone non-public network access
CN110891286B (zh) * 2019-11-08 2023-11-24 西安广和通无线软件有限公司 数据流量控制方法、装置、计算机设备和存储介质
CN112469081B (zh) * 2021-01-28 2021-05-25 北京树米网络科技有限公司 一种对共享流量池的总流量数据进行处理的方法和装置
CN115643217B (zh) * 2022-12-14 2023-03-10 泰德网聚(北京)科技股份有限公司 一种用于接口管理的低码中枢系统
FR3146779A1 (fr) * 2023-03-15 2024-09-20 Orange Ecran connecté et procédé de traitement de données mis en œuvre par ledit écran
CN116527594A (zh) * 2023-03-31 2023-08-01 国网江苏省电力有限公司信息通信分公司 一种基于大数据的移动终端流量时延控制方法
CN116647505A (zh) * 2023-06-21 2023-08-25 武汉烽火技术服务有限公司 一种用户流量动态管理方法和系统
CN117729055A (zh) * 2024-02-08 2024-03-19 中汽智联技术有限公司 一种基于Linux进程的网络流量统计的方法和系统
KR102853338B1 (ko) * 2024-08-23 2025-09-01 주식회사 신한오엔씨 광 다중화 시스템

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101340449A (zh) * 2008-08-15 2009-01-07 宇龙计算机通信科技(深圳)有限公司 移动终端及获得上网信息的方法
CN101854649A (zh) * 2010-05-20 2010-10-06 中兴通讯股份有限公司 移动终端、监控移动终端上网数据流量的方法及装置
CN103209439A (zh) * 2013-03-14 2013-07-17 北京小米科技有限责任公司 一种数据流量监控的方法、装置和设备

Family Cites Families (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5343358B2 (ja) 2008-01-09 2013-11-13 ヤマハ株式会社 電子機器
JP4881408B2 (ja) * 2009-05-13 2012-02-22 株式会社バッファロー ネットワーク装置
EP2391179B1 (en) * 2010-05-31 2014-04-02 BlackBerry Limited Management of mobile hotspot connections
KR101337724B1 (ko) * 2010-12-27 2013-12-06 주식회사 팬택 어플리케이션별 데이터 사용량을 표시하는 이동 단말기 및 그 제어방법
US8965330B2 (en) * 2011-10-21 2015-02-24 Microsoft Corporation Split billing for a mobile device
US9264556B2 (en) * 2012-01-27 2016-02-16 Microsoft Technology Licensing, Llc On-device attribution of network data usage
CN102612084A (zh) * 2012-02-24 2012-07-25 中兴通讯股份有限公司 一种控制数据流量的方法和装置
CN102625335A (zh) * 2012-02-24 2012-08-01 广东步步高电子工业有限公司 一种移动手持装置访问网络时的流量监控方法及系统
CN103096384B (zh) * 2012-12-17 2016-04-06 东莞宇龙通信科技有限公司 限制从机上网流量的方法及其系统
KR102170178B1 (ko) * 2013-03-14 2020-10-26 삼성전자주식회사 모바일 액세스 포인트를 통한 외부 데이터 네트워크 사용 제어 방법 및 디바이스
CN104105124A (zh) * 2013-04-08 2014-10-15 南京理工大学常熟研究院有限公司 基于Android智能移动终端的流量监测系统
KR102134886B1 (ko) * 2013-07-08 2020-07-17 삼성전자주식회사 테더링 분배 장치, 그 제어 방법 및 중앙 중계기
CN103596121B (zh) * 2013-10-30 2016-08-17 北京网河时代科技有限公司 面向无线移动网络的流量共享方法
CN103813353A (zh) * 2014-01-17 2014-05-21 深圳市金立通信设备有限公司 一种通信流量共享的方法、控制装置以及终端
CN103945410A (zh) * 2014-03-28 2014-07-23 宇龙计算机通信科技(深圳)有限公司 终端装置及其流量控制方法
CN105228128A (zh) * 2014-07-03 2016-01-06 中兴通讯股份有限公司 上网流量分享处理方法、装置及终端
ES2985119T3 (es) * 2014-10-31 2024-11-04 Honor Device Co Ltd Método y aparato para la gestión del tráfico de datos

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101340449A (zh) * 2008-08-15 2009-01-07 宇龙计算机通信科技(深圳)有限公司 移动终端及获得上网信息的方法
CN101854649A (zh) * 2010-05-20 2010-10-06 中兴通讯股份有限公司 移动终端、监控移动终端上网数据流量的方法及装置
CN103209439A (zh) * 2013-03-14 2013-07-17 北京小米科技有限责任公司 一种数据流量监控的方法、装置和设备

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018023375A1 (zh) * 2016-08-02 2018-02-08 张阳 一种控制手机流量消耗的方法和手机
CN106792878A (zh) * 2016-12-27 2017-05-31 努比亚技术有限公司 一种数据流量监控方法及装置
CN107222853A (zh) * 2017-06-29 2017-09-29 努比亚技术有限公司 一种应用管理方法、设备及计算机可读存储介质
CN110691038A (zh) * 2018-07-04 2020-01-14 中兴通讯股份有限公司 一种流量业务处理方法及装置
CN114006869A (zh) * 2020-07-28 2022-02-01 阿里巴巴集团控股有限公司 流量控制方法、装置、电子设备及计算机可读存储介质

Also Published As

Publication number Publication date
EP3749006A1 (en) 2020-12-09
CN112911637A (zh) 2021-06-04
US20220368642A1 (en) 2022-11-17
EP3749006B1 (en) 2022-08-03
EP3206428A1 (en) 2017-08-16
US20210083984A1 (en) 2021-03-18
US10791060B2 (en) 2020-09-29
ES2985119T3 (es) 2024-11-04
CN106031227B (zh) 2021-02-12
EP4161126B1 (en) 2024-04-17
US11349767B2 (en) 2022-05-31
CN106031227A (zh) 2016-10-12
US20170317942A1 (en) 2017-11-02
US11799786B2 (en) 2023-10-24
ES2825650T3 (es) 2021-05-17
EP3206428B1 (en) 2020-07-29
EP4161126A1 (en) 2023-04-05
ES2925947T3 (es) 2022-10-20
EP3206428A4 (en) 2017-10-25

Similar Documents

Publication Publication Date Title
WO2016065619A1 (zh) 一种数据流量管理方法及装置
WO2017206883A1 (zh) 一种应用处理方法、装置、存储介质及电子设备
WO2017206875A1 (zh) 一种基于数据包的处理方法、装置、存储介质及电子设备
WO2018076861A1 (zh) 数据传输的控制方法、装置、存储介质、服务器及系统
WO2018076841A1 (zh) 数据分享方法、装置、存储介质及服务器
WO2018076812A1 (zh) 数据请求的响应方法、装置、存储介质、服务器及系统
WO2014019139A1 (zh) 一种实现无线资源控制连接释放的方法、装置及系统
WO2018076867A1 (zh) 数据备份的删除方法、装置、系统、存储介质和服务器
WO2020073450A1 (zh) 一拖多空调器及其控制方法、装置和计算机可读存储介质
WO2018076889A1 (zh) 数据备份的方法、装置、系统、存储介质及服务器
WO2018076868A1 (zh) 一种数据同步方法、装置、系统、存储介质和服务器
WO2016023148A1 (zh) 报文的控制方法、交换机及控制器
WO2019200728A1 (zh) 虚拟网关主备切换方法、装置及计算机可读存储介质
WO2021012481A1 (zh) 系统性能监控方法、装置、设备及存储介质
WO2018076829A1 (zh) 终端数据的处理方法、装置、系统、存储介质及服务器
WO2017113918A1 (zh) 一种基于非授权频段的通信方法、相关设备及系统
WO2019108001A1 (ko) 무선 통신 시스템에서 데이터를 송수신하는 전자 장치 및 이를 위한 방법
WO2017067375A1 (zh) 一种视频背景设置方法及终端设备
WO2018161588A1 (zh) 广播接收者队列调整方法、装置、存储介质及电子设备
WO2017092498A1 (zh) 一种信息管理方法及用户终端
WO2014019185A1 (zh) 一种控制和转发解耦下协议处理方法及控制面设备、转发面设备
WO2018076873A1 (zh) 数据分享方法、装置、介质、电子设备及系统
WO2012053841A2 (en) Method and apparatus for transmitting and receiving data in wireless access system supporting machine to machine communication
WO2020067677A1 (ko) 외부 장치와 통신이 필요한 어플리케이션의 운영 방법 및 전자 장치
WO2015109435A1 (zh) 频点测量控制方法及基站、用户设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14904640

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 15523034

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE

REEP Request for entry into the european phase

Ref document number: 2014904640

Country of ref document: EP