# US 2019/0379709 A1 · Session Migration - Based Scheduling Method and Server

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

- Number: US 2019/0379709 A1
- Document ID: US20190379709A1
- Status: Published application
- Kind: A1
- Application number: 16/545,227
- Filed: 2019-08-20
- Published: 2019-12-12
- Earliest claimed: 2017-02-23
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Jinwen Yang; Like Jiang; Xiaojun Gu; Zhihang Lu; Yang Cao
- Web page: https://patentgrep.com/patent/US20190379709A1

## CPC

- H04N 21/64322: {IP}
- G06F 16/953: Querying, e.g. by the use of web search engines
- H04L 61/5007: Internet protocol [IP] addresses
- H04L 65/1083: In-session procedures
- H04L 67/1004: Server selection for load balancing
- H04L 67/1097: for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
- H04L 67/63: Routing a service request depending on the request content or context
- H04L 69/16: Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
- H04L 2101/622: Layer-2 addresses, e.g. medium access control [MAC] addresses
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A session migration-based scheduling method, where the method includes: receiving a service request from a terminal, where the service request is used to obtain target content required by the terminal; querying a target Internet Protocol (IP) address in a database based on the service request, where the target IP address is an IP address of a server in which the target content is located; determining the target IP address based on a candidate IP address fed back by the database; if the target IP address is different from an IP address of the first media server, determining, by the first media server, that the first media server is missing the target content; and sending the service request to a second media server, where an IP address of the second media server is the target IP address.

## Claims

### Claim 1

A session migration-based scheduling method, comprising:
receiving, by a first media server, a service request from a terminal, wherein the service request is to obtain target content required by the terminal, wherein the service request comprises a destination address, wherein the destination address comprises a destination Internet Protocol (IP) address and a destination hardware Medium Access Control (MAC) address, and wherein the destination address is of the first media server;
querying, by the first media server, a target IP address in a database based on the service request, wherein the target IP address is of a server in which the target content is located;
determining, by the first media server, the target IP address based on a candidate IP address from the database;
determining, by the first media server, that the first media server is missing the target content when the target IP address is different from an IP address of the first media server; and
sending the service request to a second media server, wherein an IP address of the second media server is the target IP address.

### Claim 2 (depends on 1)

The scheduling method according to claim 1, wherein determining, by the first media server, the target IP address based on the candidate IP address from the database comprises:
receiving, by the first media server, at least one candidate IP address from the database; and
determining, by the first media server, the IP address of the first media server as the target IP address when the at least one candidate IP address comprises the IP address of the first media server; and
determining, by the first media server, any candidate IP address selected from the at least one candidate IP address as the target IP address when the at least one candidate IP address does not comprise the IP address of the first media server.

### Claim 3 (depends on 2)

The scheduling method according to claim 2, wherein after determining, by the first media server, the IP address of the first media server as the target IP address, the method further comprises discarding, by the first media server, each candidate IP address that is not the target IP address.

### Claim 4 (depends on 2)

The scheduling method according to claim 2, wherein after determining, by the first media server, any one of the candidate IP address as the target IP address, the method further comprises discarding, by the first media server, each candidate IP address that is not the target IP address.

### Claim 5 (depends on 1)

The scheduling method according to claim 1, wherein determining, by the first media server, that the first media server is missing the target content, and sending the service request to the second media server comprises:
determining, by the first media server, that the first media server is missing the target content;
modifying, by the first media server, the service request to obtain a modified service request by changing a destination MAC address of the service request to a MAC address of the second media server; and
sending, by the first media server, the modified service request to the second media server.

### Claim 6 (depends on 1)

The scheduling method according to claim 1, wherein after determining, by the first media server, the target IP address based on the candidate IP address fed back by the database, if the target IP address is the same as the IP address of the first media server, the method further comprises:
determining, by the first media server, that the first media server hits the target content; and
sending the target content to the terminal.

### Claim 7

A session migration-based scheduling method, comprising:
receiving, by a second media server, a service request from a first media server, wherein the service request is to obtain target content required by a terminal, wherein the service request comprises a destination address, wherein the destination address comprises a destination Internet Protocol (IP) address and a destination medium access control (MAC) address, and wherein the destination address is an address of the second media server;
querying, by the second media server, a target IP address in a database based on the service request, wherein the target IP address is of a server in which the target content is located;
determining, by the second media server, the target IP address based on a candidate IP address from the database;
determining, by the second media server, that the second media server contains the target content when the target IP address is the same as an IP address of the second media server; and
sending the target content to the terminal.

### Claim 8 (depends on 7)

The scheduling method according to claim 7, wherein receiving, by the second media server, the service request from the first media server comprises:
receiving, by the second media server, the service request from the first media server; and
modifying, by the second media server, the destination IP address of the service request to the IP address of the second media server.

### Claim 9 (depends on 7)

The scheduling method according to claim 7, wherein determining, by the second media server, the target IP address based on the candidate IP address fed back by the database comprises:
receiving, by the second media server, at least one candidate IP address fed back by the database; and
determining, by the second media server, the IP address of the second media server as the target IP address when the at least one candidate IP address comprises the IP address of the second media server; and
determining, by the second media server, any candidate IP address selected from the at least one candidate IP address as the target IP address when the at least one candidate IP address does not comprise the IP address of the second media server.

### Claim 10 (depends on 9)

The scheduling method according to claim 9, wherein after determining, by the second media server, the IP address of the second media server as the target IP address, the method further comprises discarding, by the second media server, each candidate IP address that is not the target IP address.

### Claim 11 (depends on 9)

The scheduling method according to claim 9, wherein after determining, by the second media server, any one of the candidate IP address as the target IP address, the method further comprises discarding, by the second media server, each candidate IP address that is not the target IP address.

### Claim 12 (depends on 7)

The scheduling method according to claim 7, wherein determining, by the second media server, that the second media server contains the target content, and sending the target content to the terminal comprises:
determining, by the second media server, that the second media server contains the target content;
modifying, by the second media server, the target content to obtain modified target content by changing a source IP address of the target content to an IP address of the first media server, wherein the source IP address is for the terminal to continue communicating with the first media server; and
sending, by the second media server, the modified target content to the terminal.

### Claim 13

A first media server comprising:
a memory configured to store an instruction;
a receiver coupled to the memory and configured to receive a data access request; and
at least one processor coupled to the memory and the receiver, the instruction causing the at least one processor to:
receive a service request from a terminal, wherein the service request is used to obtain target content required by the terminal, wherein the service request comprises a destination address, wherein the destination address comprises a destination Internet Protocol (IP) address and a destination medium access control (MAC) address, and wherein the destination address is of the first media server;
query a target IP address in a database based on the service request, wherein the target IP address is of a server in which the target content is located;
determine the target IP address based on a candidate IP address from the database;
determine that the first media server is missing the target content when the target IP address is different from an IP address of the first media server; and
send the service request to a second media server, wherein an IP address of the second media server is the target IP address.

### Claim 14 (depends on 13)

The first media server according to claim 13, wherein the instruction further causes the at least one processor to:
receive at least one candidate IP address from the database;
determine the IP address of the first media server as the target IP address when the at least one candidate IP address comprises the IP address of the first media server; and
determine any candidate IP address selected from the at least one candidate IP address as the target IP address when the at least one candidate IP address does not comprise the IP address of the first media server.

### Claim 15 (depends on 14)

The first media server according to claim 14, wherein the instruction further causes the at least one processor to discard each candidate IP address that is not the target IP address.

### Claim 16 (depends on 14)

The first media server according to claim 14, wherein the instruction further causes the at least one processor to discard each candidate IP address that is not the target IP address.

### Claim 17 (depends on 13)

The first media server according to claim 13, wherein the instruction further causes the at least one processor to:
determine that the first media server is missing the target content;
modify the service request to obtain a modified service request by changing a destination MAC address of the service request to a MAC address of the second media server; and
send the modified service request to the second media server.

### Claim 18 (depends on 13)

The first media server according to claim 13, wherein the instruction further causes the at least one processor to:
determine that the first media server is missing the target content if the target IP address is the same as the IP address of the first media server; and
send the target content to the terminal.

### Claim 19 (depends on 13)

The first media server according to claim 13, further comprising a Transmission Control Protocol (TCP) migration component configured to implement an active TCP connection and a migration between the first media server and the second media server.

### Claim 20 (depends on 19)

The first media server according to claim 19, wherein the TCP migration component is further configured to implement a migration between the first media server and the second media server.
