# US 2021/0344556 A1 · Method and apparatus for updating an edge node, device, medium and program product

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

- Number: US 2021/0344556 A1
- Document ID: US20210344556A1
- Status: Published application
- Kind: A1
- Application number: 17/305,863
- Filed: 2021-07-15
- Published: 2021-11-04
- Earliest claimed: 2020-12-21
- Assignees: Beijing Baidu Netcom Science Technology Co., Ltd.
- Applicants: Beijing Baidu Netcom Science and Technology Co., Ltd.
- Inventors: Xin ZHAO; Dayu SHEN; Jingru XIE; Sheng CHEN
- Web page: https://patentgrep.com/patent/US20210344556A1

## CPC

- H04L 41/082: the condition being updates or upgrades of network functionality
- H04L 41/0859: by keeping history of different configuration generations or by rolling back to previous configuration versions
- H04L 41/0886: {Fully automatic configuration}
- H04L 41/16: using machine learning or artificial intelligence
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Provided are a method and apparatus for updating an edge node, a device, a medium and a program product which relate to the technical field of computers and in particular to the technical fields of edge computing, cloud computing and cloud services. In an embodiment, a module update instruction is received from a cloud server, where the module update instruction includes information about a to-be-updated module; an auxiliary unit or a master unit is used as a target module according to the information about the to-be-updated module, and the to-be-updated module is updated through the target module; and in a process of updating the to-be-updated module, data interaction is performed between the target module and the cloud server.

## Claims

### Claim 1

A method for updating an edge node, comprising:
receiving a module update instruction from a cloud server; wherein the module update instruction comprises information about a to-be-updated module;
using an auxiliary unit or a master unit as a target module according to the information about the to-be-updated module, and updating the to-be-updated module through the target module; and
in a process of updating the to-be-updated module, performing data interaction between the target module and the cloud server.

### Claim 2 (depends on 1)

The method of claim 1, wherein using the auxiliary unit or the master unit as the target module according to the information about the to-be-updated module, and updating the to-be-updated module through the target module comprises:
in response to the information about the to-be-updated module being the master unit, using the auxiliary unit as the target module, and updating the master unit through the auxiliary unit; or
in response to the information about the to-be-updated module being the auxiliary unit or another unit, using the master unit as the target module, and updating the auxiliary unit or the another unit through the master unit.

### Claim 3 (depends on 1)

The method of claim 1, wherein updating the to-be-updated module through the target module comprises:
acquiring update resource data of the to-be-updated module from the cloud server through the target module; and
controlling the to-be-updated module to be off, and using the acquired update resource data to update the to-be-updated module.

### Claim 4 (depends on 3)

The method of claim 3, wherein after using the acquired update resource data to update the to-be-updated module, the method further comprises:
in response to the to-be-updated module failing to be updated, sending a rollback instruction of the to-be-updated module to the cloud server through the target module; and
acquiring original resource data from the cloud server through the target module, and restoring the to-be-updated module by using the original resource data.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
in an initialization process of the edge node, installing and starting the auxiliary unit;
acquiring installation resource data of the master unit through the auxiliary unit, and installing the master unit by using the installation resource data of the master unit; and
acquiring installation resource data of another unit through the master unit, and installing the another unit by using the installation resource data of the another unit.

### Claim 6

An electronic device, comprising:
at least one processor; and
a memory communicatively connected to the at least one processor, wherein
the memory stores instructions executable by the at least one processor, and the processor is configured to:
receive a module update instruction from a cloud server; wherein the module update instruction comprises information about a to-be-updated module;
use an auxiliary unit or a master unit as a target module according to the information about the to-be-updated module, and updating the to-be-updated module through the target module; and
in a process of updating the to-be-updated module, performing data interaction between the target module and the cloud server.

### Claim 7 (depends on 6)

The electronic device according to claim 6, wherein the processor is configured to use the auxiliary unit or the master unit as the target module according to the information about the to-be-updated module, and update the to-be-updated module through the target module in the following manners:
in response to the information about the to-be-updated module being the master unit, using the auxiliary unit as the target module, and updating the master unit through the auxiliary unit; or
in response to the information about the to-be-updated module being the auxiliary unit or another unit, using the master unit as the target module, and updating the auxiliary unit or the another unit through the master unit.

### Claim 8 (depends on 6)

The electronic device according to claim 6, wherein the processor is configured to update the to-be-updated module through the target module in the following manners:
acquiring update resource data of the to-be-updated module from the cloud server through the target module; and
controlling the to-be-updated module to be off, and using the acquired update resource data to update the to-be-updated module.

### Claim 9 (depends on 8)

The electronic device according to claim 8, wherein the processor is configured to:
after using the acquired update resource data to update the to-be-updated module,
in response to the to-be-updated module failing to be updated, send a rollback instruction of the to-be-updated module to the cloud server through the target module; and
acquire original resource data from the cloud server through the target module, and restore the to-be-updated module by using the original resource data.

### Claim 10 (depends on 6)

The electronic device according to claim 6, wherein the processor is configured to:
in an initialization process of the edge node, install and start the auxiliary unit;
acquire installation resource data of the master unit through the auxiliary unit, and install the master unit by using the installation resource data of the master unit; and
acquire installation resource data of another unit through the master unit, and install the another unit by using the installation resource data of the another unit.

### Claim 11

A non-transitory computer-readable storage medium storing computer instructions for causing a computer to perform:
receiving a module update instruction from a cloud server; wherein the module update instruction comprises information about a to-be-updated module;
using an auxiliary unit or a master unit as a target module according to the information about the to-be-updated module, and updating the to-be-updated module through the target module; and
in a process of updating the to-be-updated module, performing data interaction between the target module and the cloud server.

### Claim 12 (depends on 11)

The non-transitory computer-readable storage medium according to claim 11, wherein using the auxiliary unit or the master unit as the target module according to the information about the to-be-updated module, and updating the to-be-updated module through the target module comprises:
in response to the information about the to-be-updated module being the master unit, using the auxiliary unit as the target module, and updating the master unit through the auxiliary unit; or
in response to the information about the to-be-updated module being the auxiliary unit or another unit, using the master unit as the target module, and updating the auxiliary unit or the another unit through the master unit.

### Claim 13 (depends on 11)

The non-transitory computer-readable storage medium according to claim 11, wherein updating the to-be-updated module through the target module comprises:
acquiring update resource data of the to-be-updated module from the cloud server through the target module; and
controlling the to-be-updated module to be off, and using the acquired update resource data to update the to-be-updated module.

### Claim 14 (depends on 13)

The non-transitory computer-readable storage medium according to claim 13, wherein after using the acquired update resource data to update the to-be-updated module, the computer instructions cause the computer to perform:
in response to the to-be-updated module failing to be updated, sending a rollback instruction of the to-be-updated module to the cloud server through the target module; and
acquiring original resource data from the cloud server through the target module, and restoring the to-be-updated module by using the original resource data.

### Claim 15 (depends on 11)

The non-transitory computer-readable storage medium according to claim 11, wherein the computer instructions cause the computer to perform:
in an initialization process of the edge node, installing and starting the auxiliary unit;
acquiring installation resource data of the master unit through the auxiliary unit, and installing the master unit by using the installation resource data of the master unit; and
acquiring installation resource data of another unit through the master unit, and installing the another unit by using the installation resource data of the another unit.
