# US 2020/0396202 A1 · Service Obtaining and Providing Methods, User Equipment, and Management Server

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

- Number: US 2020/0396202 A1
- Document ID: US20200396202A1
- Status: Published application
- Kind: A1
- Application number: 17/009,207
- Filed: 2020-09-01
- Published: 2020-12-17
- Earliest claimed: 2018-03-02
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Bingyang Liu; Zhe Chen; Shihui Hu
- Web page: https://patentgrep.com/patent/US20200396202A1

## CPC

- H04L 61/45: Network directories; Name-to-address mapping
- H04L 61/00: Network arrangements, protocols or services for addressing or naming
- H04L 61/4511: using domain name system [DNS]
- H04L 61/5007: Internet protocol [IP] addresses
- H04L 67/51: Discovery or management thereof, e.g. service location protocol [SLP] or web services
- H04L 2101/33: containing protocol addresses or telephone numbers
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

This application provides service obtaining and providing methods, user equipment, and a management server. The service obtaining method includes: determining, by user equipment, a first Internet protocol IP address by using a preset algorithm based on a service name of a to-be-accessed service; sending, by the user equipment, a communication data packet by using the first IP address as a destination address; and receiving, by the user equipment, the service provided by a serving-end device.

## Claims

### Claim 1

A service obtaining method, comprising:
determining, by user equipment, a first Internet protocol (IP) address by using a preset algorithm based on a service name of a to-be-accessed service;
sending, by the user equipment, a communication data packet by using the first IP address as a destination address; and
receiving, by the user equipment, the service provided by a serving-end device.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the determining, by user equipment, a first IP address by using a preset algorithm based on a service name of a to-be-accessed service comprises:
determining, by the user equipment, a service identifier by applying at least one of a hash algorithm and an encryption algorithm to the service name; and
determining, by the user equipment, the first IP address based on the service identifier.

### Claim 3 (depends on 1)

The method according to claim 1, wherein the determining, by user equipment, a first IP address by using a preset algorithm based on a service name of a to-be-accessed service comprises:
clipping, by the user equipment, a part out of the service name, to obtain a service identifier corresponding to the service name; and
determining, by the user equipment based on the service identifier corresponding to the service name, the first IP address corresponding to the service name.

### Claim 4 (depends on 1)

The method according to claim 1, wherein before the determining, by user equipment, a first IP address by using a preset algorithm based on a service name of a to-be-accessed service, the method further comprises:
determining, by the user equipment, that the service name is not in a conflict list, wherein the conflict list comprises a correspondence between at least one pair of a service name and a first IP address.

### Claim 5 (depends on 1)

The method according to claim 1, wherein when the user equipment determines the first IP address by using the preset algorithm based on the service name of the to-be-accessed service, the method further comprises:
sending, by the user equipment, a query request to a domain name system DNS server, wherein the query request is used to request a second IP address of the serving-end device that provides the service.

### Claim 6

A service providing method, comprising:
determining, by a management server by using a preset algorithm, a first Internet protocol (IP) address corresponding to a first service name; and
allocating, by the management server to a first serving-end device, the first IP address corresponding to the first service name, wherein the first serving-end device provides a service whose name is the first service name.

### Claim 7 (depends on 6)

The method according to claim 6, wherein the determining, by a management server by using a preset algorithm, a first IP address corresponding to a first service name comprises:
determining, by the management server by applying at least one of a hash algorithm and an encryption algorithm to the first service name, a first service identifier corresponding to the first service name; and
determining, by the management server based on the first service identifier corresponding to the first service name, the first IP address corresponding to the first service name.

### Claim 8 (depends on 6)

The method according to claim 6, wherein the determining, by a management server by using a preset algorithm, a first IP address corresponding to a first service name comprises:
clipping, by the management server, a part out of the first service name, to obtain a first service identifier corresponding to the first service name; and
determining, by the management server based on the first service identifier corresponding to the first service name, the first IP address corresponding to the first service name.

### Claim 9 (depends on 6)

The method according to claim 6, wherein before the allocating, by the management server to a first serving-end device, the first IP address corresponding to the first service name, the method further comprises:
determining, by the management server, that the first IP address corresponding to the first service name is not occupied by a serving-end device other than the first serving-end device.

### Claim 10 (depends on 6)

The method according to claim 6, wherein the method further comprises:
determining, by the management server by using the preset algorithm, a first IP address corresponding to a second service name, wherein the first IP address corresponding to the first service name is the same as the first IP address corresponding to the second service name;
determining, by the management server, that the first IP address corresponding to the second service name has already been occupied by the first serving-end device; and allocating, by the management server, a third IP address to a second serving-end device, wherein the second serving-end device provides a service whose name is the second service name; and
adding, by the management server, the second service name and the third IP address to a conflict list.

### Claim 11

User equipment, wherein the user equipment comprises a processor and a memory, the memory stores a computer instruction, and when the processor executes the computer instruction, the user equipment is enabled to perform the following steps:
determining a first Internet protocol (IP) address by using a preset algorithm based on a service name of a to-be-accessed service;
sending a communication data packet by using the first IP address as a destination address; and
receiving the service provided by a serving-end device.

### Claim 12 (depends on 11)

The user equipment according to claim 11, wherein when the processor executes the computer instruction, the user equipment is specifically enabled to perform the following steps:
determining a service identifier by applying at least one of a hash algorithm and an encryption algorithm to the service name; and
determining the first IP address based on the service identifier.

### Claim 13 (depends on 11)

The user equipment according to claim 11, wherein when the processor executes the computer instruction, the user equipment is specifically enabled to perform the following steps:
clipping a part out of the service name, to obtain a service identifier corresponding to the service name; and
determining, based on the service identifier corresponding to the service name, the first IP address corresponding to the service name.

### Claim 14 (depends on 11)

The user equipment according to claim 11, wherein before the determining a first IP address by using a preset algorithm based on a service name of a to-be-accessed service, the processor is further configured to execute the computer instruction, to enable the user equipment to perform the following step:
determining that the service name is not in a conflict list, wherein the conflict list comprises a correspondence between at least one pair of a service name and a first IP address.

### Claim 15 (depends on 11)

The user equipment according to claim 11, wherein when the processor determines the first IP address by using the preset algorithm based on the service name of the to-be-accessed service, the processor is further configured to execute the computer instruction, to enable the user equipment to perform the following step:
sending a query request to a domain name system DNS server, wherein the query request is used to request a second IP address of the serving-end device that provides the service.
