# US 2021/0176131 A1 · Network configuration method, apparatus, and system

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

- Number: US 2021/0176131 A1
- Document ID: US20210176131A1
- Status: Published application
- Kind: A1
- Application number: 17/179,683
- Filed: 2021-02-19
- Published: 2021-06-10
- Earliest claimed: 2018-08-20
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Guangying ZHENG; Wang YANG; Tao SUN; Jun MEI
- Web page: https://patentgrep.com/patent/US20210176131A1

## CPC

- H04L 41/0886: {Fully automatic configuration}
- H04L 41/145: {involving simulating, designing, planning or modelling of a network}
- G06F 40/35: Discourse or dialogue representation
- H04L 41/0226: Mapping or translating multiple network management protocols
- H04L 41/0266: using meta-data, objects or commands for formatting management information, e.g. using eXtensible markup language [XML]
- H04L 41/0873: Checking configuration conflicts between network elements
- H04L 61/5007: Internet protocol [IP] addresses
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

This application provides a network configuration method, apparatus, and system. The method includes: determining, based on a mapping relationship, that a first data node in a first YANG data model corresponds to a second data node in a second YANG data model, where the first data node and the second data node include a same indication operation, and the mapping relationship includes a correspondence between a data node in the first YANG data model and a data node in the second YANG data model; and generating a first packet based on the second data node.

## Claims

### Claim 1

A network configuration method, comprising:
determining, based on a mapping relationship, that a first data node in a first YANG data model corresponds to a second data node in a second YANG data model, wherein the first data node and the second data node include a same indication operation, and the mapping relationship comprises a correspondence between a data node in the first YANG data model and a data node in the second YANG data model; and
generating a first packet based on the second data node.

### Claim 2 (depends on 1)

The method according to claim 1, further comprising:
determining attribute information of a third data node in the first YANG data model, wherein the third data node is configured to indicate a first indication operation in the first YANG data model;
determining attribute information of a fourth data node in the second YANG data model, wherein the fourth data node is configured to indicate a second indication operation in the second YANG data model;
determining, based on the attribute information of the third data node and the attribute information of the fourth data node, that the first indication operation and the second indication operation comprise a same indication operation; and
generating a correspondence between the third data node and the fourth data node.

### Claim 3 (depends on 1)

The method according to claim 1, further comprising obtaining the first data node from a second packet, wherein the second packet is generated based on the first data node.

### Claim 4 (depends on 2)

The method according to claim 2, wherein the determining that the first indication operation and the second indication operation comprise a same indication operation comprises:
determining, based on a matching value between the attribute information of the third data node and the attribute information of the fourth node, that the first indication operation and the second indication operation comprise the same indication operation, wherein the matching value is obtained by calculating a text similarity between the attribute information of the third data node and the attribute information of the fourth node.

### Claim 5

A network configuration apparatus, comprising:
a memory storing an instruction; and
a processor configured to communicate with the memory, wherein the processor is configured to execute the instruction to perform operations, the operations comprising:
determining, based on a mapping relationship, that a first data node in a first YANG data model corresponds to a second data node in a second YANG data model, the first data node and the second data node include a same indication operation, and the mapping relationship comprises a correspondence between a data node in the first YANG data model and a data node in the second YANG data model; and
generating a first packet based on the second data node.

### Claim 6 (depends on 5)

The apparatus according to claim 5, wherein the operations further comprise:
determining attribute information of a third data node in the first YANG data model, and the third data node is configured to indicate a first indication operation in the first YANG data model;
determining attribute information of a fourth data node in the second YANG data model, and the fourth data node is configured to indicate a second indication operation in the second YANG data model;
determining, based on the attribute information of the third data node and the attribute information of the fourth data node, that the first indication operation and the second indication operation comprise a same indication operation; and
generating a correspondence between the third data node and the fourth data node.

### Claim 7 (depends on 5)

The apparatus according to claim 5, wherein the operations further comprise:
obtaining the first data node from a second packet, and the second packet is generated based on the first data node.

### Claim 8 (depends on 7)

The apparatus according to claim 7, wherein the operations further comprise:
determining, based on a matching value between the attribute information of the third data node and the attribute information of the fourth node, that the first indication operation and the second indication operation comprise the same indication operation, wherein the matching value is obtained by calculating a text similarity between the attribute information of the third data node and the attribute information of the fourth node.

### Claim 9

A computer-readable storage medium comprising an instruction stored therein, which when executed on a computer, cause the computer to perform operations, the operations comprising:
determining, based on a mapping relationship, that a first data node in a first YANG data model corresponds to a second data node in a second YANG data model, the first data node and the second data node include a same indication operation, and the mapping relationship comprises a correspondence between a data node in the first YANG data model and a data node in the second YANG data model; and
generating a first packet based on the second data node.

### Claim 10 (depends on 9)

The computer-readable storage medium according to claim 9, wherein the operations further comprise:
determining attribute information of a third data node in the first YANG data model, and the third data node is configured to indicate a first indication operation in the first YANG data model;
determining attribute information of a fourth data node in the second YANG data model, and the fourth data node is configured to indicate a second indication operation in the second YANG data model;
determining, based on the attribute information of the third data node and the attribute information of the fourth data node, that the first indication operation and the second indication operation comprise a same indication operation; and
generating a correspondence between the third data node and the fourth data node.

### Claim 11 (depends on 9)

The computer-readable storage medium according to claim 9, wherein the operations further comprise:
obtaining the first data node from a second packet, and the second packet is generated based on the first data node.

### Claim 12 (depends on 9)

The computer-readable storage medium according to claim 9, wherein the operations further comprise:
determining, based on a matching value between the attribute information of the third data node and the attribute information of the fourth node, that the first indication operation and the second indication operation comprise the same indication operation, wherein the matching value is obtained by calculating a text similarity between the attribute information of the third data node and the attribute information of the fourth node.
