IP Library Granted Patent US 10,791,060
Granted Patent B2
US 10,791,060 · App. 15/523,034 · Granted Sep 29, 2020

Data traffic management method and apparatus

Inventors: Xiaochen Chen (Shanghai, CN); Qingquan Peng (Shanghai, CN); Peili Xu (Shenzhen, CN); Shuaisheng Guo (Wuhan, CN); Chao Jiang (Shenzhen, CN)
Assignee: Huawei Technologies Co., Ltd.
H04L47/2475H04L43/0882H04L67/36H04W28/0215H04W28/10H04L43/16H04W76/36
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,791,060
App. No.
15/523,034
Granted
Sep 29, 2020
Kind
B2
Abstract

This application discloses a data traffic management method and apparatus. The method includes: obtaining traffic control information of a first application and a data traffic value used by the first application, where the traffic control information includes at least an upper traffic threshold; and disconnecting a data connection of the first application when the data traffic value used by the first application is greater than or equal to the upper traffic threshold included in the traffic control information of the first application. In the foregoing solution, real-time traffic management on a single application is implemented, so that a user instantly modifies traffic control information according to a requirement, to manage data traffic in real time.

Claims (57)

1. A data traffic management method, comprising:

displaying, by an electronic device, a first user interface comprising a traffic control information setting option;

obtaining, by the electronic device, a traffic threshold in response to a first input on the traffic control information setting option;

turning on, by the electronic device, a wireless fidelity (WiFi) hotspot of the electronic device, wherein the electronic device starts to serve as a WiFi access point for sharing data traffic of the electronic device with a first plurality of other electronic devices after the WiFi hotspot is turned on;

obtaining, by the electronic device, a first data traffic value, wherein the first data traffic value corresponds to a first data traffic amount used by the first plurality of other electronic devices, and the first plurality of other electronic devices perform WiFi communication via the WiFi hotspot of the electronic device;

automatically disabling, by the electronic device, the WiFi hotspot when the first data traffic value is greater than or equal to the traffic threshold;

displaying, by the electronic device, an indicator indicating that the WiFi hotspot has been disabled;

detecting, by the electronic device, an instruction to restart the WiFi hotspot; and

calculating, by the electronic device, a second data traffic value from zero, wherein the second data traffic value corresponds to a second data traffic amount used by the first plurality of other electronic devices after the WiFi hotspot has been restarted.

2. The method according to claim 1 , wherein the first data traffic amount is used by the first plurality of other electronic devices in a time period from turning on the WiFi hotspot to a current time.

3. The method according to claim 1 , further comprising:

obtaining a traffic threshold modification instruction modifying the traffic threshold; and

automatically disabling, by the electronic device, the WiFi hotspot when the first data traffic value used by the first plurality of other electronic devices is greater than or equal to the modified traffic threshold.

4. The method according to claim 1 , wherein the data traffic of the electronic device is mobile data traffic.

5. The method according to claim 1 , further comprising displaying the first data traffic value in real time.

6. The method according to claim 1 , wherein disabling the WiFi hotspot comprises:

disconnecting a data connection between the WiFi hotspot and a modem when the first data traffic value is greater than or equal to the traffic threshold.

7. The method according to claim 1 , wherein detecting the instruction to restart the WiFi hotspot comprises:

automatically trigger the instruction to restart the WiFi hotspot when a modified traffic threshold is greater than the traffic threshold.

8. The method according to claim 1 , wherein the data traffic of the electronic device is wireless local area network data traffic.

9. An electronic device, comprising:

at least one processor; and

a memory coupled to the at least one processor and configured to store programming instructions that, when executed by the at least one processor, cause the electronic device to:

display a first user interface comprising a traffic control information setting option;

obtain a traffic threshold in response to a first input on the traffic control information setting option;

turn on a wireless fidelity (WiFi) hotspot, wherein the electronic device starts to serve as a WiFi access point for sharing data traffic of the electronic device with a first plurality of other electronic devices after the WiFi hotspot is turned on;

obtain a first data traffic value, wherein the first data traffic value corresponds to a first data traffic amount used by the first plurality of other electronic devices that perform WiFi communication by using the WiFi hotspot of the electronic device;

automatically disable the WiFi hotspot when the first data traffic value is greater than or equal to the traffic threshold;

display an indicator indicating that the WiFi hotspot has been disabled;

detect an instruction to restart the WiFi hotspot; and

calculate a second data traffic value from zero.

10. The electronic device according to claim 9 , wherein the first data traffic amount is used by the first plurality of other electronic devices in a time period from turning on the WiFi hotspot to a current time.

11. The electronic device according to claim 9 , wherein the memory is further configured to store programming instructions that, when executed by the at least one processor, cause the electronic device to:

obtain a traffic threshold modification instruction modifying the traffic threshold; and

automatically disable the WiFi hotspot when the first data traffic value used by the first plurality of other electronic devices is greater than or equal to the modified traffic threshold.

12. The electronic device according to claim 9 , wherein the data traffic of the electronic device is mobile data traffic.

13. The electronic device according to claim 9 , wherein the memory is further configured to store programming instructions that, when executed by the at least one processor, cause the electronic device to:

display the first data traffic value in real time.

14. The electronic device according to claim 9 , wherein disabling the WiFi hotspot comprises:

disconnecting a data connection between the WiFi hotspot and a modem when the first data traffic value is greater than or equal to the traffic threshold.

15. The electronic device according to claim 9 , wherein detecting the instruction to restart the WiFi hotspot comprises:

automatically trigger the instruction to restart the WiFi hotspot when a modified traffic threshold is greater than the traffic threshold.

16. The electronic device according to claim 9 , wherein the data traffic of the electronic device is wireless local area network data traffic.

17. A non-transitory computer readable medium configured to store instructions that, when executed by at least one processor of an electronic device, cause the electronic device to:

display a first user interface comprising a traffic control information setting option;

obtain a traffic threshold in response to a first input on the traffic control information setting option;

turn on a wireless fidelity (WiFi) hotspot, wherein the electronic device starts to serve as a WiFi access point for sharing data traffic of the electronic device with a first plurality of other electronic devices after the WiFi hotspot is turned on;

obtain a first data traffic value, wherein the first data traffic value corresponds to a first data traffic amount used by the first plurality of other electronic devices, and the first plurality of other electronic devices perform WiFi communication by using the WiFi hotspot of the electronic device;

automatically disable the WiFi hotspot when the first data traffic value is greater than or equal to the traffic threshold;

display an indicator indicating that the WiFi hotspot has been disabled;

detect an instruction to restart the WiFi hotspot; and

calculate a second data traffic value from zero.

18. The non-transitory computer readable medium according to claim 17 , wherein the first data traffic amount is used by the first plurality of other electronic devices in a time period from turning on the WiFi hotspot to a current time.

19. The non-transitory computer readable medium according to claim 17 , wherein the non-transitory computer readable medium is further configured to store instructions that, when executed by the at least one processor of the electronic device, cause the electronic device to:

display the first data traffic value in real time.

20. The non-transitory computer readable medium according to claim 17 , wherein disabling the WiFi hotspot comprises:

disconnecting a data connection between the WiFi hotspot and a modem when the first data traffic value is greater than or equal to the traffic threshold.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 13, 2021
From: HUAWEI TECHNOLOGIES CO., LTD.
To: HONOR DEVICE CO., LTD.
Reel/Frame 055919/0344 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 27, 2017
From: CHEN, XIAOCHEN; PENG, QINGQUAN; XU, PEILI; GUO, SHUAISHENG; JIANG, CHAO
To: HUAWEI TECHNOLOGIES CO., LTD.
Reel/Frame 043715/0268 →
Continuity (1)
Related Publication 20170317942A1 · Nov 2, 2017