# US 2022/0286902 A1 · Method, apparatus and storage medium for controlling network connection

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

- Number: US 2022/0286902 A1
- Document ID: US20220286902A1
- Status: Published application
- Kind: A1
- Application number: 17/358,205
- Filed: 2021-06-25
- Published: 2022-09-08
- Earliest claimed: 2021-03-03
- Assignees: Beijing Xiaomi Mobile Software Co., Ltd.
- Applicants: Beijing Xiaomi Mobile Software Co., Ltd.
- Inventors: Yi GAO
- Web page: https://patentgrep.com/patent/US20220286902A1

## CPC

- H04W 36/22: for handling the traffic
- H04W 76/25: Maintenance of established connections
- H04W 24/06: Testing, {supervising or monitoring} using simulated traffic
- H04W 76/00: Connection management
- H04W 76/19: Connection re-establishment
- Y02D 30/70: in wireless communication networks
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)
- Y02D: CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE

## Abstract

A method for controlling a network connection includes: detecting a type of a 5G resident network of the mobile terminal; determining whether the mobile terminal meets a data flow interruption condition; and performing an operation for making the mobile terminal change a 5G link mode according to the type of the 5G resident network, when the mobile terminal meets the data flow interruption condition. In the present disclosure, the operation for making the mobile terminal change the 5G link mode is performed according to the type of the 5G resident network, and when the mobile terminal meets the data flow interruption condition, the terminal can be changed from the current link to another link, which is a link to a different base station or a different network, thereby increasing the possibility of solving the problem of data flow interruption.

## Claims

### Claim 1

A method for controlling a network connection, applied to a mobile terminal, comprising:
detecting a type of a 5G resident network of the mobile terminal;
determining whether the mobile terminal meets a data flow interruption condition; and
performing an operation for making the mobile terminal change a 5G link mode according to the type of the 5G resident network, when the mobile terminal meets the data flow interruption condition.

### Claim 2 (depends on 1)

The method of claim 1, wherein
the data flow interruption condition comprises at least one of:
within a first set time length, a data amount sent is greater than 0, and a data amount received is 0;
within the first set time length, the data amount sent is greater than a first threshold, and the data amount received is less than the first threshold;
within the first set time length, the data amount sent is greater than a second threshold, and the data amount received is less than a third threshold, where the second threshold is N times greater than the third threshold, and N is a real number greater than 1; and
within the first set time length, the data amount sent is M times greater than the data amount received, wherein M is a real number greater than 1.

### Claim 3 (depends on 1)

The method of claim 1, wherein
the data flow interruption condition comprises: a cell in which the mobile terminal resides is one of a set of data flow interruption cells received from a network side, or a base station in which the mobile terminal resides is one of a set of data flow interruption base stations received from the network side, wherein
the set of data flow interruption cells is a set of data flow interruption cells reported by a plurality of mobile terminals, and the set of data flow interruption base stations is a set of data flow interruption base stations reported by the plurality of mobile terminals, and
a condition for reporting the data flow interruption cell or the data flow interruption base station by the mobile terminal comprises at least one of:
within a first set time length, a data amount sent is greater than 0, and a data amount received is 0;
within the first set time length, the data amount sent is greater than a first threshold, and the data amount received is less than the first threshold;
within the first set time length, the data amount sent is greater than a second threshold, and the data amount received is less than a third threshold, wherein the second threshold is N times greater than the third threshold, and N is a real number greater than 1; and
within the first set time length, the data amount sent is M times greater than the data amount received, wherein M is a real number greater than 1.

### Claim 4 (depends on 1)

The method of claim 1, wherein
the type of the 5G resident network is a non-standalone network, and
the performing the operation for making the mobile terminal change the 5G link mode comprises:
sending simulated data packets with a gradually increased data flow amount within a second set time length, when no secondary cell is added to the mobile terminal.

### Claim 5 (depends on 4)

The method of claim 4, wherein
the performing the operation for making the mobile terminal change the 5G link mode further comprises:
sending the simulated data packets with the gradually increased data flow amount within the second set time length, after the secondary cell is added and released;
detecting whether the data flow amount of the sent data packets is less than a set threshold, after the second set time length elapses, and
sending the simulated data packets with a fixed data flow amount if the data flow amount of the sent data packets is less than the set threshold.

### Claim 6 (depends on 4)

The method of claim 4, further comprising:
determining whether the mobile terminal meets the data flow interruption condition after performing the operation for enabling the mobile terminal to change the 5G link mode; and enabling a function of accessing a standalone network, of the mobile terminal, when the mobile terminal meets the data flow interruption condition and the mobile terminal does not enable the function of accessing the standalone network.

### Claim 7 (depends on 5)

The method of claim 5, further comprising:
determining whether the mobile terminal meets the data flow interruption condition after performing the operation for enabling the mobile terminal to change the 5G link mode; and enabling a function of accessing a standalone network, of the mobile terminal, when the mobile terminal meets the data flow interruption condition and the mobile terminal does not enable the function of accessing the standalone network.

### Claim 8 (depends on 1)

The method of claim 1, wherein
the type of the 5G resident network is the non-standalone network, and
the performing the operation for making the mobile terminal change the 5G link mode further comprises:
disabling a dual link function when a secondary cell is added to the mobile terminal.

### Claim 9 (depends on 1)

The method of claim 1, wherein
the type of the 5G resident network is a standalone network, and
the performing the operation for making the mobile terminal change the 5G link mode further comprises:
disabling an ability of connecting to the standalone network, or enabling a function of searching for a non-standalone network, or enabling a function of searching for a 4G network.

### Claim 10

An apparatus for controlling a network connection, applied to a mobile terminal, comprising:
a processor; and
memory for storing instructions executable by the processor,
wherein the processor is configured to:
detect a type of a 5G resident network of a mobile terminal;
determine whether the mobile terminal meets a data flow interruption condition; and
perform an operation for making the mobile terminal change a 5G link mode according to the type of the 5G resident network, when the mobile terminal meets the data flow interruption condition.

### Claim 11 (depends on 10)

The apparatus of claim 10, wherein
the data flow interruption condition comprises at least one of:
within a first set time length, a data amount sent is greater than 0, and a data amount received is 0;
within the first set time length, the data amount sent is greater than a first threshold, and the data amount received is less than the first threshold;
within the first set time length, the data amount sent is greater than a second threshold, and the data amount received is less than a third threshold, wherein the second threshold is N times greater than the third threshold, and N is a real number greater than 1; and
within the first set time length, the data amount sent is M times greater than the data amount received, wherein M is a real number greater than 1.

### Claim 12 (depends on 10)

The apparatus of claim 10, wherein
the data flow interruption condition comprises: a cell in which the mobile terminal resides is one of a set of data flow interruption cells received from a network side, or a base station in which the mobile terminal resides is one of a set of data flow interruption base stations received from the network side, wherein
the set of data flow interruption cells is a set of data flow interruption cells reported by a plurality of mobile terminals, and the set of data flow interruption base stations is a set of data flow interruption base stations reported by the plurality of mobile terminals, and
a condition for reporting the data flow interruption cell or the data flow interruption base station by the mobile terminal comprises at least one of:
within a first set time length, a data amount sent is greater than 0, and a data amount received is 0;
within the first set time length, the data amount sent is greater than a first threshold, and the data amount received is less than the first threshold;
within the first set time length, the data amount sent is greater than a second threshold, and the data amount received is less than a third threshold, wherein the second threshold is N times greater than the third threshold, and N is a real number greater than 1; and
within the first set time length, the data amount sent is M times greater than the data amount received, wherein M is a real number greater than 1.

### Claim 13 (depends on 10)

The apparatus of claim 10, wherein
the processor is further configured to, when the type of the 5G resident network is a non-standalone network, perform the operation for making the mobile terminal change the 5G link mode by adopting: sending simulated data packets with a gradually increased data flow amount within a second set time length when no secondary cell is added to the mobile terminal.

### Claim 14 (depends on 13)

The apparatus of claim 13, wherein
the processor is further configured to send the simulated data packets with the gradually increased data flow amount within the second set time length after the secondary cell is added and released, detect whether the data flow amount of the sent data packets is less than a set threshold after the second set time length elapses, and send the simulated data packets with a fixed data flow amount if the data flow amount of the sent data packets is less than the set threshold.

### Claim 15 (depends on 13)

The apparatus of claim 13, wherein the processor is further configured to:
determine whether the mobile terminal meets the data flow interruption condition after the operation for making the mobile terminal change the 5G link mode is performed; and
enable a function of accessing a standalone network, of the mobile terminal, when the mobile terminal meets the data flow interruption condition and the mobile terminal does not enable the function of accessing the standalone network.

### Claim 16 (depends on 14)

The apparatus of claim 14, wherein the processor is further configured to:
determine whether the mobile terminal meets the data flow interruption condition after the operation for making the mobile terminal change the 5G link mode is performed; and
enable a function of accessing a standalone network, of the mobile terminal, when the mobile terminal meets the data flow interruption condition and the mobile terminal does not enable the function of accessing the standalone network.

### Claim 17 (depends on 10)

The apparatus of claim 10, wherein the processor is further configured to:
when the type of the 5G resident network is a non-standalone network, perform the operation for enabling the mobile terminal to change the 5G link mode by adopting: disabling a dual link function when the secondary cell is added to the mobile terminal.

### Claim 18 (depends on 10)

The apparatus of claim 10, wherein the processor is further configured to:
when the type of the 5G resident network is a standalone network, perform the operation for making the mobile terminal change the 5G link mode by adopting: disabling an ability of connecting to the standalone network, or enabling a function of searching for a non-standalone network, or enabling a function of searching for a 4G network.

### Claim 19

A non-transitory computer readable storage medium, having stored therein instructions that, when executed by a processor, implement operations of:
detecting a type of a 5G resident network of a mobile terminal;
determining whether the mobile terminal meets a data flow interruption condition; and
performing an operation for making the mobile terminal change a 5G link mode according to the type of the 5G resident network, when the mobile terminal meets the data flow interruption condition.

### Claim 20 (depends on 19)

The non-transitory computer readable storage medium of claim 19, wherein
the data flow interruption condition comprises at least one of:
within a first set time length, a data amount sent is greater than 0, and a data amount received is 0;
within the first set time length, the data amount sent is greater than a first threshold, and the data amount received is less than the first threshold;
within the first set time length, the data amount sent is greater than a second threshold, and the data amount received is less than a third threshold, where the second threshold is N times greater than the third threshold, and N is a real number greater than 1; and
within the first set time length, the data amount sent is M times greater than the data amount received, wherein M is a real number greater than 1;
and wherein said performing an operation for making the mobile terminal change a 5G link mode according to the type of the 5G resident network comprises making the mobile terminal change from a current link to another link that is a link to a different base station in a same network or a link to a different network, thereby avoiding data flow interruption.
