# US 2021/0083984 A1 · Data traffic management method and apparatus

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0083984 A1
- Document ID: US20210083984A1
- Status: Published application
- Kind: A1
- Application number: 17/035,254
- Filed: 2020-09-28
- Published: 2021-03-18
- Earliest claimed: 2017-04-28
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Xiaochen CHEN; Qingquan PENG; Peili XU; Shuaisheng GUO; Chao JIANG
- Web page: https://patentgrep.com/patent/US20210083984A1

## CPC

- H04L 47/2475: for supporting traffic characterised by the type of applications
- H04L 43/0882: Utilisation of link capacity
- H04L 67/75: Indicating network or usage conditions on the user display
- H04W 28/0215: {based on user or device properties, e.g. MTC-capable devices (services for machine-to-machine communication [M2M] or machine type communication [MTC] H04W4/70; wireless resource selection or allocation plan definition based on terminal or device properties H04W72/51)}
- H04W 28/10: Flow control {between communication endpoints}
- H04L 43/16: Threshold monitoring
- H04W 76/36: for reassigning the resources associated with the released connections
- H04W 84/12: WLAN [Wireless Local Area Networks]
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)

## 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

### Claim 1

A data traffic management method, comprising:
obtaining, by an electronic device, traffic control information of a wireless local area network (WLAN) hotspot of the electronic device, wherein the traffic control information comprises an upper traffic threshold;
enabling, by the electronic device, the WLAN hotspot for sharing data traffic of the electronic device with other electronic devices, wherein the data traffic comprises mobile network data traffic;
obtaining, by the electronic device, a first data traffic value, wherein the first data traffic value corresponds to a total data traffic amount used by the other electronic devices that perform data connection by using the WLAN hotspot;
disabling, by the electronic device, the WLAN hotspot based on the data traffic value being greater than or equal to the upper traffic threshold; and
displaying, by the electronic device, an indicator indicating that the WLAN hotspot has been disabled.

### Claim 2 (depends on 1)

The method according to claim 1, further comprising:
detecting an instruction for restarting the WLAN hotspot; and
calculating a second data traffic value from zero after the WLAN hotspot has been restarted.

### Claim 3 (depends on 1)

The method according to claim 1, further comprising:
presenting user prompt information based on the first data traffic value being greater than or equal to the upper traffic threshold.

### Claim 4 (depends on 1)

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

### Claim 5 (depends on 4)

The method according to according to claim 4, wherein displaying the first data traffic value in real time comprises:
displaying the first data traffic value in real time on a traffic management user interface, wherein the traffic management user interface comprises the first data traffic value in real time, a WLAN hotspot switch option, a WLAN hotspot configuration option, and a single time traffic limitation option.

### Claim 6 (depends on 1)

The method according to claim 1, further comprising:
resetting the first data traffic value after disabling the WLAN hotspot.

### Claim 7 (depends on 1)

The method according to claim 1, wherein another application other than the WLAN hotspot continues to communicate with a modem module of the electronic device to obtain data traffic after disabling the WLAN hotspot.

### Claim 8 (depends on 7)

The method according to claim 7, wherein disabling the WLAN hotspot comprises:
disconnecting a data connection between the WLAN hotspot and the modem module.

### Claim 9 (depends on 1)

The method according to claim 1, further comprising:
obtaining a traffic control information modification instruction for modifying the upper traffic threshold.

### Claim 10 (depends on 9)

The method according to claim 9, wherein the disabling the WLAN hotspot comprises:
disabling the WLAN hotspot based on the first data traffic value being greater than or equal to the modified upper traffic threshold.

### Claim 11 (depends on 1)

The method according to according to claim 1, further comprising:
displaying a first traffic management user interface for setting the traffic control information, wherein the first traffic management user interface comprises a custom option and a 100M option.

### Claim 12

An electronic device, comprising:
at least one processor; and
a memory coupled to the at least one processor and configured to store programming instructions;
wherein the at least one processor is configured to execute the programming instructions to facilitate the electronic device performing the following:
obtaining traffic control information of a wireless local area network (WLAN) hotspot of the electronic device, wherein the traffic control information comprises an upper traffic threshold;
enabling the WLAN hotspot for sharing data traffic of the electronic device with other electronic devices, wherein the data traffic comprises mobile network data traffic;
obtaining a first data traffic value, wherein the first data traffic value corresponds to a total data traffic amount used by the other electronic devices that perform data connection by using the WLAN hotspot;
disabling the WLAN hotspot based on the data traffic value being greater than or equal to the upper traffic threshold; and
displaying an indicator indicating that the WLAN hotspot has been disabled.

### Claim 13 (depends on 12)

The electronic device according to claim 12, wherein the at least one processor is further configured to execute the programming instructions to facilitate the electronic device performing the following:
detecting an instruction for restarting the WLAN hotspot; and
calculating a second data traffic value from zero after the WLAN hotspot has been restarted.

### Claim 14 (depends on 12)

The electronic device according to claim 12, wherein the at least one processor is further configured to execute the programming instructions to facilitate the electronic device performing the following:
presenting user prompt information based on the first data traffic value being greater than or equal to the upper traffic threshold.

### Claim 15 (depends on 12)

The electronic device according to claim 12, wherein the at least one processor is further configured to execute the programming instructions to facilitate the electronic device performing the following:
displaying the first data traffic value in real time.

### Claim 16 (depends on 12)

The electronic device according to claim 12, wherein the at least one processor is further configured to execute the programming instructions to facilitate the electronic device performing the following:
resetting the first data traffic value after disabling the WLAN hotspot.

### Claim 17 (depends on 12)

The electronic device according to claim 12, wherein at least one processor is further configured to execute the programming instructions to facilitate another application other than the WLAN hotspot continuing to communicate with a modem module of the electronic device to obtain data traffic after disabling the WLAN hotspot.

### Claim 18 (depends on 17)

The electronic device according to claim 17, wherein disabling the WLAN hotspot comprises:
disconnecting a data connection between the WLAN hotspot and the modem module.

### Claim 19 (depends on 12)

The electronic device according to according to claim 12, wherein the at least one processor is further configured to execute the programming instructions to facilitate the electronic device performing the following:
displaying a first traffic management user interface for setting the traffic control information, wherein the first traffic management user interface comprises a custom option and a 100M option.

### Claim 20

A non-transitory computer readable medium having processor-executable instructions stored thereon for data traffic management, wherein the processor-executable instructions, when executed, facilitate:
obtaining traffic control information of a wireless local area network (WLAN) hotspot of an electronic device, wherein the traffic control information comprises an upper traffic threshold;
enabling the WLAN hotspot for sharing data traffic of the electronic device with other electronic devices, wherein the data traffic comprises mobile network data traffic;
obtaining a first data traffic value, wherein the first data traffic value corresponds to a total data traffic amount used by the other electronic devices that perform data connection by using the WLAN hotspot;
disabling the WLAN hotspot based on the data traffic value being greater than or equal to the upper traffic threshold; and
displaying an indicator indicating that the WLAN hotspot has been disabled.
