# US 2019/0320349 A1 · Network Hotspot Control Method and Related Device

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

- Number: US 2019/0320349 A1
- Document ID: US20190320349A1
- Status: Published application
- Kind: A1
- Application number: 16/095,855
- Filed: 2016-11-04
- Published: 2019-10-17
- Earliest claimed: 2016-11-04
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Panbin Xia
- Web page: https://patentgrep.com/patent/US20190320349A1

## CPC

- H04W 28/10: Flow control {between communication endpoints}
- H04W 48/02: Access restriction performed under specific conditions
- H04W 88/04: adapted for relaying to or from another terminal or user
- H04W 88/06: adapted for operation in multiple networks {or having at least two operational modes}, e.g. multi-mode terminals
- H04W 88/08: Access point devices
- H04W 84/12: WLAN [Wireless Local Area Networks]
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)

## Abstract

A network hotspot control method and a mobile terminal to diversify shared-hotspot control manners, where the method includes receiving, by a first mobile terminal, a hotspot setting operation, setting a control policy of a network hotspot, where the control policy includes at least a file type control policy receiving, by the first mobile terminal, a network service request from a second mobile terminal that has established a coupling to the first mobile terminal, and controlling, by the first mobile terminal, the network service request according to the control policy.

## Claims

### Claim 1

A network hotspot control method, comprising:
receiving, by a first mobile terminal, a hotspot setting operation;
setting, by the first mobile terminal, a control policy of a network hotspot, wherein the control policy comprising a file type control policy;
receiving, by the first mobile terminal, a network service request from a second mobile terminal having established a coupling to the first mobile terminal; and
controlling, by the first mobile terminal, the network service request according to the control policy.

### Claim 2 (depends on 1)

The method of claim 1, wherein the file type control policy comprises a target file type for which traffic shared by the first mobile terminal is used, and controlling the network service request comprising controlling, by the first mobile terminal based on the target file type, traffic used for the network service request.

### Claim 3 (depends on 2)

The method of claim 2, wherein the target file type comprises at least one of text, image, audio, or video, and controlling the traffic used for the network service request comprising:
performing, by the first mobile terminal, packet inspection on the network service request to obtain a file type of content requested by the network service request;
sending, by the first mobile terminal, a rejection response to the second mobile terminal when the file type of the requested content is out of a scope of the target file type;
filtering out, by the first mobile terminal, a file type in the network service request not overlapping with the target file type when the file type of the requested content overlaps with the target file type;
sending, by the first mobile terminal, a filtered network service request to a destination server; and
sending, by the first mobile terminal to the second mobile terminal, content allowed to use the traffic received from the destination server.

### Claim 4 (depends on 3)

The method of claim 3, wherein performing the packet inspection on the network service request comprises:
performing, by the first mobile terminal, common packet inspection on the network service request to determine a protocol type of the requested content;
determining, by the first mobile terminal, based on indication of the protocol type, the file type of the requested content when the protocol type indicates a particular file type; and
performing, by the first mobile terminal, deep packet parsing on the network service request when the protocol type indicates no particular file type to obtain the file type of the requested content.

### Claim 5 (depends on 2)

The method of claim 2, wherein the control policy further comprises total use traffic, and when controlling the traffic used for the network service request, the method further comprising:
obtaining, by the first mobile terminal, a quantity of bytes received by the second mobile terminal;
obtaining, by the first mobile terminal, a quantity of bytes sent by the second mobile terminal;
determining, by the first mobile terminal, whether target total traffic of the second mobile terminal reaches the total use traffic, wherein the target total traffic comprising a sum of the quantity of bytes received by the second mobile terminal and the quantity of bytes sent by the second mobile terminal; and
stop providing, by the first mobile terminal, a network service for the second mobile terminal when the target total traffic of the second mobile terminal reaches the total use traffic.

### Claim 6 (depends on 2)

The method of claim 2, wherein the control policy further comprises total use duration, and when controlling the traffic used for the network service request, the method further comprising:
recording, by the first mobile terminal, a first moment at which the second mobile terminal starts to use the traffic;
recording, by the first mobile terminal, a second moment at which the second mobile terminal is currently using the traffic;
determining, by the first mobile terminal, whether a time difference between the second moment and the first moment reaches the total use duration; and
stop providing, by the first mobile terminal, a network service for the second mobile terminal when the time difference between the second moment and the first moment reaches the total use duration.

### Claim at position 7

-12. (canceled)

### Claim 13

A mobile terminal, wherein comprising:
an input circuit configured to receive a hotspot setting operation;
a display coupled the input circuit using a bus and configured to display a setting interface setting a control policy of a network hotspot;
a memory coupled to the input circuit and the display using the bus and configured to store the control policy, the control policy comprising a file type control policy;
a processor coupled to the input circuit, the display, and the memory using the bus and configured to set the control policy of the network hotspot based on the hotspot setting operation; and
a WI-FI circuit coupled to the input circuit, the display, the memory, and the processor using the bus and configured to receive a network service request from a second mobile terminal having established a coupling to the mobile terminal, and
the processor being further configured to control the network service request according to the control policy.

### Claim 14 (depends on 13)

The mobile terminal of claim 13, wherein the file type control policy comprises a target file type for which traffic shared by the first mobile terminal is used, and the processor being further configured to control, based on the target file type, traffic used for the network service request.

### Claim 15 (depends on 14)

The mobile terminal of claim 14, further comprising a radio frequency (RF) circuit coupled to the processor using the bus, the processor being further configured to perform packet inspection on the network service request to obtain a file type of content requested by the network service request, the WI-FI circuit being further configured to send a rejection response to the second mobile terminal when the processor determines that the file type of the requested content is out of a scope of the target file type, the processor being further configured to filter out a file type in the network service request not overlapping with the target file type when the file type of the requested content overlaps with the target file type, and the RF circuit being configured to:
send a filtered network service request to a destination server after the processor filters the network service request; and
receive content allowed to use the traffic from the destination server, and
the WI-FI circuit being further configured to send the content allowed to use the traffic to the second mobile terminal.

### Claim 16 (depends on 14)

The mobile terminal of claim 14, wherein the processor is further configured to:
perform common packet inspection on the network service request to determine a protocol type of the requested content;
determine, based on indication of the protocol type, the file type of the requested content when the protocol type indicates a particular file type; and
perform deep packet parsing on the network service request when the protocol type indicates no particular file type to obtain the file type of the requested content.

### Claim 17 (depends on 13)

The mobile terminal of claim 13, further comprising a counter coupled to the processor using the bus and configured to collect a quantity of bytes received by the second mobile terminal and a quantity of bytes sent by the second mobile terminal, and the processor being further configured to:
obtain, from the counter, the quantity of bytes received by the second mobile terminal and the quantity of bytes sent by the second mobile terminal;
determine whether target total traffic of the second mobile terminal reaches total use traffic, the target total traffic comprising a sum of the quantity of bytes received by the second mobile terminal and the quantity of bytes sent by the second mobile terminal; and
control the WI-FI circuit to stop providing a network service for the second mobile terminal when the target total traffic of the second mobile terminal reaches the total use traffic.

### Claim 18 (depends on 13)

The mobile terminal of claim 13, further comprising a timer coupled to the processor using the bus and configured to record a first moment at which the second mobile terminal starts to use the traffic and a second moment at which the second mobile terminal is currently using the traffic, and the processor being further configured to:
obtain the first moment and the second moment from the timer;
determine whether a time difference between the second moment and the first moment reaches total use duration; and
control the WI-FI circuit to stop providing a network service for the second mobile terminal when the time difference between the second moment and the first moment reaches the total use duration.

### Claim 19

A computer program product comprising a non-transitory computer readable storage medium storing a program code thereon for network hotspot control, the program code comprising instructions for executing a method that comprises:
receiving, by a first mobile terminal, a hotspot setting operation;
setting, by the first mobile terminal, a control policy of a network hotspot, the control policy comprising a file type control policy;
receiving, by the first mobile terminal, a network service request from a second mobile terminal having established a coupling to the first mobile terminal; and
controlling, by the first mobile terminal, the network service request according to the control policy.

### Claim 20 (depends on 19)

The computer program product of claim 19, wherein the file type control policy comprises a target file type for which traffic shared by the first mobile terminal is used, and controlling the network service request comprising controlling, by the first mobile terminal based on the target file type, traffic used for the network service request.

### Claim 21 (depends on 20)

The computer program product of claim 20, wherein the target file type comprises at least one of text, image, audio, or video, and controlling the traffic used for the network service request comprising:
performing, by the first mobile terminal, packet inspection on the network service request to obtain a file type of content requested by the network service request;
sending, by the first mobile terminal, a rejection response to the second mobile terminal when the file type of the requested content is out of a scope of the target file type;
filtering out, by the first mobile terminal, a file type in the network service request not overlapping with the target file type when the file type of the requested content overlaps with the target file type;
sending, by the first mobile terminal, a filtered network service request to a destination server; and
sending, by the first mobile terminal to the second mobile terminal, content allowed to use the traffic received from the destination server.

### Claim 22 (depends on 21)

The computer program product of claim 21, wherein performing the packet inspection on the network service request comprises:
performing, by the first mobile terminal, common packet inspection on the network service request to determine a protocol type of the requested content;
determining, by the first mobile terminal based on indication of the protocol type, the file type of the requested content when the protocol type indicates a particular file type; and
performing, by the first mobile terminal, deep packet parsing on the network service request when the protocol type indicates no particular file type to obtain the file type of the requested content.

### Claim 23 (depends on 20)

The computer program product of claim 20, wherein the control policy further comprises total use traffic, and when controlling the traffic used for the network service request, the method further comprising:
obtaining, by the first mobile terminal, a quantity of bytes received by the second mobile terminal;
obtaining, by the first mobile terminal, a quantity of bytes sent by the second mobile terminal;
determining, by the first mobile terminal, whether target total traffic of the second mobile terminal reaches the total use traffic, the target total traffic comprising a sum of the quantity of bytes received by the second mobile terminal and the quantity of bytes sent by the second mobile terminal; and
stop providing, by the first mobile terminal, a network service for the second mobile terminal when the target total traffic of the second mobile terminal reaches the total use traffic.

### Claim 24 (depends on 2)

The computer program product of claim 2, wherein the control policy further comprises total use duration, and when controlling the traffic used for the network service request, the method further comprising:
recording, by the first mobile terminal, a first moment at which the second mobile terminal starts to use the traffic;
recording, by the first mobile terminal, a second moment at which the second mobile terminal is currently using the traffic;
determining, by the first mobile terminal, whether a time difference between the second moment and the first moment reaches the total use duration; and
stop providing, by the first mobile terminal, a network service for the second mobile terminal when the time difference between the second moment and the first moment reaches the total use duration.
