# US 2020/0404542 A1 · Method, apparatus and device for distributing flow on 4g network

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

- Number: US 2020/0404542 A1
- Document ID: US20200404542A1
- Status: Published application
- Kind: A1
- Application number: 16/906,284
- Filed: 2020-06-19
- Published: 2020-12-24
- Earliest claimed: 2019-06-20
- Assignees: Hangzhou DPtech Technologies Co., Ltd.
- Applicants: Hangzhou DPtech Technologies Co., Ltd.
- Inventors: Junping JING; Yanhua LI
- Web page: https://patentgrep.com/patent/US20200404542A1

## CPC

- H04W 28/10: Flow control {between communication endpoints}
- H04W 76/11: Allocation or use of connection identifiers
- H04W 76/12: Setup of transport tunnels
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)

## Abstract

The present disclosure provides a method of distributing flow on a 4G network, which is applied to a distribution device. The method includes: monitoring a GTPv2 signalling packet communicated between a mobile management entity (MME) and a serving gateway (SGW); obtaining a data plane tunnel identifier and a user phone number, which are carried in the monitored GTPv2 signalling packet and indicate a same user equipment (UE), and establishing association relationship between the data plane tunnel identifier and the user phone number; obtaining a target data plane tunnel identifier carried in a received data packet; and determining a target user phone number associated with the target data plane tunnel identifier based on the association relationship, and distributing the data packet based on the target user phone number.

## Claims

### Claim 1

A method of distributing flow on a 4G network, which is applied to a distribution device, the method comprising:
monitoring a GTPv2 signalling packet communicated between a mobile management entity (MME) and a serving gateway (SGW);
obtaining a data plane tunnel identifier and a user phone number, which are carried in the monitored GTPv2 signalling packet and indicate a same user equipment (UE), and establishing association relationship between the data plane tunnel identifier and the user phone number;
obtaining a target data plane tunnel identifier carried in a received data packet; and
determining a target user phone number associated with the target data plane tunnel identifier based on the association relationship, and distributing the data packet based on the target user phone number.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the obtaining of the data plane tunnel identifier and the user phone number and the establishing of the association relationship comprise:
obtaining a first control plane tunnel identifier and the user phone number, which are carried in a monitored GTPv2 create session signalling packet;
obtaining a second control plane tunnel identifier carried in a monitored GTPv2 create-modify bearer signalling packet;
matching the second control plane tunnel identifier with the first control plane tunnel identifier; and
in response to determining that the matching is successful, obtaining the data plane tunnel identifier carried in the GTPv2 create-modify bearer signalling packet, and establishing the association relationship between the data plane tunnel identifier and the user phone number.

### Claim 3 (depends on 2)

The method according to claim 2, wherein:
the distribution device comprises a first storage node and a second storage node associated with the first storage node;
the obtaining of the first control plane tunnel identifier and the user phone number comprises: storing the first control plane tunnel identifier in the first storage node;
the obtaining of the data plane tunnel identifier carried in the GTPv2 create-modify bearer signalling packet comprises: storing the data plane tunnel identifier and the user phone number in the second storage node; and
the establishing of the association relationship between the data plane tunnel identifier and the user phone number comprises: establishing the association relationship between the data plane tunnel identifier and the user phone number in the second storage node.

### Claim 4 (depends on 3)

The method according to claim 3, wherein the first storage node and the second storage node store a same user phone number or a same control plane tunnel identifier.

### Claim 5 (depends on 3)

The method according to claim 3, wherein the storing of the first control plane tunnel identifier in the first storage node comprises one of:
in response to determining that the GTPv2 create session signalling packet is a CREATE SESSION REQUEST signalling packet sent by the MME to the SGW, obtaining a first MME end control plane tunnel identifier and the user phone number, which are carried in the CREATE SESSION REQUEST signalling packet, and storing the first MME end control plane tunnel identifier to the first storage node; and
in response to determining that the GTPv2 create session signalling packet is a CREATE SESSION RESPONSE signalling packet sent by the SGW to the MME, obtaining a second MME end control plane tunnel identifier carried in the CREATE SESSION RESPONSE signalling packet, and matching the second MME end control plane tunnel identifier with the first MME end control plane tunnel identifier stored in the first storage node; and, in response to determining that the matching is successful, obtaining an SGW end control plane tunnel identifier carried in the CREATE SESSION RESPONSE signalling packet, and storing the SGW end control plane tunnel identifier to the first storage node.

### Claim 6 (depends on 5)

The method according to claim 5, wherein the storing of the data plane tunnel identifier and the user phone number in the second storage node comprises:
storing the user phone number in the second storage node;
in response to determining that the GTPv2 create-modify bearer signalling packet is a MODIFY BEARER REQUEST signalling packet, a MODIFY BEARER RESPONSE signalling packet, a CREATE BEARER REQUEST signalling packet or a CREATE BEARER RESPONSE signalling packet communicated between the MME and the SGW, obtaining the second control plane tunnel identifier carried in the GTPv2 create-modify bearer signalling packet, and matching the second control plane tunnel identifier with the first control plane tunnel identifier stored in the first storage node; and
in response to determining that the matching is successful, obtaining the data plane tunnel identifier carried in the GTPv2 create-modify bearer signalling packet, and storing the data plane tunnel identifier in the second storage node.

### Claim 7 (depends on 5)

The method according to claim 5, further comprising:
in response to determining that the matching of the second MME end control plane tunnel identifier with the first MME end control plane tunnel identifier stored in the first storage node is successful, obtaining IP address information carried in the CREATE SESSION RESPONSE signalling packet, and storing the IP address information in the second storage node.

### Claim 8 (depends on 1)

The method according to claim 1, wherein the distributing of the data packet based on the target user phone number comprises:
labelling the target user phone number in the data packet; and
distributing the data packet based on the target user phone number labelled in the data packet.

### Claim 9 (depends on 8)

The method according to claim 8, wherein the distribution device comprises a plurality of egress ports, and correspondence between a plurality of preset user phone numbers and the plurality of egress ports, respectively, is maintained in the distribution device; and
the distributing of the data packet based on the target user phone number labelled in the data packet comprises: determining, based on the correspondence, one of the plurality of egress ports corresponding to the target user phone number labelled in the data packet; and forwarding the data packet via the determined egress port.

### Claim 10

A distribution device for flow on a 4G network, the distribution device comprising:
a processor; and
a memory storing a computer program that can be executed by the processor to perform operations comprising:
monitoring a GTPv2 signalling packet communicated between a mobile management entity (MME) and a serving gateway (SGW);
obtaining a data plane tunnel identifier and a user phone number, which are carried in the monitored GTPv2 signalling packet and indicate a same user equipment (UE), and establishing association relationship between the data plane tunnel identifier and the user phone number;
obtaining a target data plane tunnel identifier carried in a received data packet; and
determining a target user phone number associated with the target data plane tunnel identifier based on the association relationship, and distributing the data packet based on the target user phone number.

### Claim 11 (depends on 10)

The distribution device according to claim 10, wherein the obtaining of the data plane tunnel identifier and the user phone number and the establishing of the association relationship comprise:
obtaining a first control plane tunnel identifier and the user phone number, which are carried in a monitored GTPv2 create session signalling packet;
obtaining a second control plane tunnel identifier carried in a monitored GTPv2 create-modify bearer signalling packet;
matching the second control plane tunnel identifier with the first control plane tunnel identifier; and
in response to determining that the matching is successful, obtaining the data plane tunnel identifier carried in the GTPv2 create-modify bearer signalling packet, and establishing the association relationship between the data plane tunnel identifier and the user phone number.

### Claim 12 (depends on 11)

The distribution device according to claim 11, further comprising:
a first storage node and a second storage node associated with the first storage node,
wherein the obtaining of the first control plane tunnel identifier and the user phone number comprises: storing the first control plane tunnel identifier in the first storage node;
the obtaining of the data plane tunnel identifier carried in the GTPv2 create-modify bearer signalling packet comprises: storing the data plane tunnel identifier and the user phone number in the second storage node; and
the establishing of the association relationship between the data plane tunnel identifier and the user phone number comprises: establishing the association relationship between the data plane tunnel identifier and the user phone number in the second storage node.

### Claim 13 (depends on 12)

The distribution device according to claim 12, wherein the first storage node and the second storage node store a same user phone number or a same control plane tunnel identifier.

### Claim 14 (depends on 12)

The distribution device according to claim 12, wherein the storing of the first control plane tunnel identifier in the first storage node comprises one of:
in response to determining that the GTPv2 create session signalling packet is a CREATE SESSION REQUEST signalling packet sent by the MME to the SGW, obtaining a first MME end control plane tunnel identifier and the user phone number, which are carried in the CREATE SESSION REQUEST signalling packet, and storing the first MME end control plane tunnel identifier to the first storage node; and
in response to determining that the GTPv2 create session signalling packet is a CREATE SESSION RESPONSE signalling packet sent by the SGW to the MME, obtaining a second MME end control plane tunnel identifier carried in the CREATE SESSION RESPONSE signalling packet, and matching the second MME end control plane tunnel identifier with the first MME end control plane tunnel identifier stored in the first storage node; and, in response to determining that the matching is successful, obtaining an SGW end control plane tunnel identifier carried in the CREATE SESSION RESPONSE signalling packet, and storing the SGW end control plane tunnel identifier to the first storage node.

### Claim 15 (depends on 14)

The distribution device according to claim 14, wherein the storing of the data plane tunnel identifier and the user phone number in the second storage node comprises:
storing the user phone number in the second storage node;
in response to determining that the GTPv2 create-modify bearer signalling packet is a MODIFY BEARER REQUEST signalling packet, a MODIFY BEARER RESPONSE signalling packet, a CREATE BEARER REQUEST signalling packet or a CREATE BEARER RESPONSE signalling packet communicated between the MME and the SGW, obtaining the second control plane tunnel identifier carried in the GTPv2 create-modify bearer signalling packet, and matching the second control plane tunnel identifier with the first control plane tunnel identifier stored in the first storage node; and
in response to determining that the matching is successful, obtaining the data plane tunnel identifier carried in the GTPv2 create-modify bearer signalling packet, and storing the data plane tunnel identifier in the second storage node.

### Claim 16 (depends on 14)

The distribution device according to claim 14, wherein the operations further comprise:
in response to determining that the matching of the second MME end control plane tunnel identifier with the first MME end control plane tunnel identifier stored in the first storage node is successful, obtaining IP address information carried in the CREATE SESSION RESPONSE signalling packet, and storing the IP address information in the second storage node.

### Claim 17 (depends on 10)

The distribution device according to claim 10, wherein the distributing of the data packet based on the target user phone number comprises:
labelling the target user phone number in the data packet; and
distributing the data packet based on the target user phone number labelled in the data packet.

### Claim 18 (depends on 17)

The distribution device according to claim 17, further comprising a plurality of egress ports,
wherein correspondence between a plurality of preset user phone numbers and the plurality of egress ports, respectively, is maintained in the distribution device; and
the distributing of the data packet based on the target user phone number labelled in the data packet comprises: determining, based on the correspondence, one of the plurality of egress ports corresponding to the target user phone number labelled in the data packet; and forwarding the data packet via the determined egress port.
