# US 2019/0245741 A1 · Software modification initiation method, and metadata release method and apparatus

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

- Number: US 2019/0245741 A1
- Document ID: US20190245741A1
- Status: Published application
- Kind: A1
- Application number: 16/388,852
- Filed: 2019-04-18
- Published: 2019-08-08
- Earliest claimed: 2016-10-18
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Shaoji NI
- Web page: https://patentgrep.com/patent/US20190245741A1

## CPC

- H04L 41/082: the condition being updates or upgrades of network functionality
- H04L 41/0895: Configuration of virtualised networks or elements, e.g. virtualised network function or OpenFlow elements
- G06F 8/65: Updates (security arrangements therefor G06F21/57)
- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- H04L 41/342: between virtual entities, e.g. orchestrators, SDN or NFV entities
- G06F 2009/45595: {Network integration; Enabling network access in virtual machine instances}
- H04L 41/044: comprising hierarchical management structures
- 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

Embodiments provide a software modification initiation method. The method can include receiving, by a VNFM, a VNF LCM request sent by an NFVO. The VNF LCM request may include an instance identifier of a VNF instance of to-be-modified first-version VNF software. The method can include determining, by the VNFM, that a type of the VNF LCM request indicates a software modification operation, and obtaining metadata according to the VNF LCM request. The metadata may include a version identifier of the first-version VNF software and a software modification type. The method can include determining, by the VNFM, a first VNF instance of the first-version VNF software based on the instance identifier of the VNF instance of the to-be-modified first-version VNF software. The method can also include initiating, by the VNFM, a software modification operation for the first VNF instance of the first-version VNF software based on the software modification type.

## Claims

### Claim 1

A software modification initiation method, wherein the method is applied to a network functions virtualization (NFV) system, the NFV system comprises a virtualized network function manager (VNFM), and the method comprises:
receiving, by the VNFM, a virtualized network function (VNF) lifecycle management (LCM) request, wherein the VNF LCM request comprises an instance identifier of a VNF instance of to-be-modified first-version VNF software;
determining, by the VNFM, that a type of the VNF LCM request is a software modification operation, and obtaining metadata according to the VNF LCM request, wherein the metadata comprises a version identifier of the first-version VNF software and a software modification type;
determining, by the VNFM, a first VNF instance of the first-version VNF software based on the version identifier of the first-version VNF software and the instance identifier of the VNF instance of the first-version VNF software; and
initiating, by the VNFM, a software modification operation for the first VNF instance of the first-version VNF software based on the software modification type.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the NFV system comprises a network functions virtualization orchestrator (NFVO), and receiving, by the VNFM, the virtualized network function (VNF) lifecycle management (LCM) request comprises:
receiving, by the VNFM, the VNF LCM request sent by the NFVO.

### Claim 3 (depends on 1)

The method according to claim 1, wherein the NFV system runs the first VNF instance, wherein the first VNF instance is obtained by the NFV system by instantiating the first-version VNF software, and wherein initiating, by the VNFM, the software modification operation for the first VNF instance of the first-version VNF software based on the software modification type comprises:
initiating, by the VNFM in a running process of the first VNF instance, the software modification operation for the first VNF instance of the first-version VNF software based on the software modification type.

### Claim 4 (depends on 1)

The method according to claim 1, wherein the software modification type in the metadata indicates a VNF software upgrade.

### Claim 5 (depends on 4)

The method according to claim 4, wherein the NFV system further comprises an element manager (EM) and a virtualized network function operation and maintenance (VNF O&M) device, and wherein initiating, by the VNFM, the software modification operation for the first VNF instance of the first-version VNF software based on the software modification type comprises:
obtaining, by the VNFM, a deployment option for instantiating a second-version VNF software into a second VNF instance;
instantiating, by the VNFM, the second-version VNF software into the second VNF instance based on the deployment option; and
sending, by the VNFM, a software upgrade request to the EM or the VNF O&M device, wherein the software upgrade request is configured to instruct the EM or the VNF O&M device to upgrade the first VNF instance of the first-version VNF software to the second VNF instance of the second-version VNF software.

### Claim 6 (depends on 5)

The method according to claim 5, wherein the metadata further comprises a mapping relationship between a software upgrade policy and a resource option, wherein the deployment option comprises a resource option and a connection option, and wherein obtaining, by the VNFM, the deployment option used to instantiate second-version VNF software into the second VNF instance comprises:
obtaining, by the VNFM, a target software upgrade policy in the VNF LCM request, wherein the target software upgrade policy is used for the upgrade to the second VNF instance of the second-version VNF software;
determining, by the VNFM based on the mapping relationship between a software upgrade policy and a resource option that is in the metadata, a resource option corresponding to the target software upgrade policy; and
determining, by the VNFM, a connection option corresponding to the resource option.

### Claim 7 (depends on 5)

The method according to claim 5, wherein obtaining, by the VNFM, the deployment option for instantiating the second-version VNF software into the second VNF instance comprises:
obtaining, by the VNFM, the deployment option, in the VNF LCM request, wherein the the deployment option is configured for instantiating the second-version VNF software into the second VNF instance.

### Claim 8 (depends on 1)

The method according to claim 1, wherein the software modification type in the metadata indicates a VNF software update.

### Claim 9 (depends on 8)

The method according to claim 8, wherein initiating, by the VNFM, the software modification operation for the first VNF instance of the first-version VNF software based on the software modification type comprises:
obtaining, by the VNFM, a file name and an access address of a target executable file that is used for an update to a second VNF instance of a second-version VNF software, and a mapping relationship between the executable file and a software image, wherein the file name, the access address, and the mapping relationship are in the metadata, and an instance identifier of the first VNF instance is consistent with an instance identifier of the second VNF instance;
obtaining, by the VNFM, the target executable file based on the access address and the file name;
determining, by the VNFM based on the mapping relationship between an executable file and a software image, a software image corresponding to the target executable file;
determining, by the VNFM based on the software image, a virtual machine corresponding to a to-be-updated virtualized network function component VNFC instance in the first VNF instance; and
sending, by the VNFM, a software update request, wherein the software update request is configured to instruct the virtual machine to run the target executable file to update the VNFC instance.

### Claim 10 (depends on 1)

The method according to claim 1, wherein the software modification type in the metadata indicates a virtualized network function component (VNFC) software upgrade, and the to-be-modified first-version VNF software comprises first VNFC software;
the NFV system runs a first VNFC instance, the first VNFC instance is obtained by the NFV system by instantiating the first VNFC software, the metadata further comprises an image identifier, for upgrading the first VNFC software, of a software image of second VNFC software, and the NFV system further comprises an element manager (EM) and a virtualized network function operation and maintenance (VNF O&M) device; and, wherein initiating, by the VNFM, the software modification operation for the first VNF instance of the first-version VNF software based on the software modification type comprises:
determining, by the VNFM, that the software modification type in the metadata is the VNFC software upgrade, and determining an instance identifier of the first VNFC instance based on an instance identifier of the first VNF instance;
instantiating, by the VNFM, the second VNFC software into a second VNFC instance based on the instance identifier of the first VNFC instance and the image identifier of the software image of the second VNFC software; and
sending, by the VNFM, a software upgrade request to the EM or the VNF O&M device, wherein the software upgrade request is configured to instruct the EM or the VNF O&M device to upgrade the first VNFC instance to the second VNFC instance.

### Claim 11 (depends on 10)

The method according to claim 10, wherein determining, by the VNFM, an instance identifier of the first VNFC instance based on the instance identifier of the first VNF instance comprises:
determining, by the VNFM, an image identifier of a software image of the first VNFC software in the first-version VNF software based on the instance identifier of the first VNF instance; and
determining, by the VNFM, the instance identifier of the first VNFC instance based on the image identifier of the software image of the first VNFC software; and, wherein instantiating, by the VNFM, the second VNFC software into the second VNFC instance based on the instance identifier of the first VNFC instance and the image identifier of the software image of the second VNFC software comprises:
applying, by the VNFM, for a resource based on the instance identifier of the first VNFC instance; and
instantiating, by the VNFM, the second VNFC software into the second VNFC instance based on the resource obtained by application and the image identifier of the software image of the second VNFC software.

### Claim 12 (depends on 11)

The method according to claim 11, wherein the VNF LCM request comprises an identifier of a software package and a target software upgrade policy, wherein the software package comprises the metadata and a VNF descriptor VNFD, and the metadata further comprises an image identifier of a software image of VNFC software and a version identifier of VNF software to which the VNFC software corresponding to the software image belongs; and, wherein
determining, by the VNFM, the image identifier of a software image of the first VNFC software in the first-version VNF software based on the instance identifier of the first VNF instance comprises:
determining, by the VNFM, the image identifier of the software image of the first VNFC software in the first-version VNF software based on the instance identifier of the first VNF instance, the image identifier of the software image of the VNFC software, and the version identifier of the VNF software to which the VNFC software corresponding to the software image belongs; and
applying, by the VNFM, for the resource based on the instance identifier of the first VNFC instance comprises:
determining, by the VNFM, a resource option and a connection option based on the instance identifier of the first VNFC instance, the VNFD, and the target software upgrade policy, and applying for a deployment option based on the resource option, the connection option, and the image identifier of the software image of the second VNFC software.

### Claim 13

A virtualized network function manager (VNFM), applied to a network functions virtualization (NFV) system, and comprising a processing unit and a communications unit, wherein
the processing unit is configured to:
receive a virtualized network function (VNF) lifecycle management (LCM) request by using the communications unit, wherein the VNF LCM request comprises an instance identifier of a VNF instance of to-be-modified first-version VNF software;
determine that a type of the VNF LCM request is a software modification operation, and obtain metadata according to the VNF LCM request, wherein the metadata comprises a version identifier of the first-version VNF software and a software modification type;
determine a first VNF instance of the first-version VNF software based on the version identifier of the first-version VNF software and the instance identifier of the VNF instance of the to-be-modified first-version VNF software; and
initiate a software modification operation for the first VNF instance of the first-version VNF software based on the software modification type.

### Claim 14 (depends on 13)

The VNFM according to claim 13, wherein the NFV system comprises a network functions virtualization orchestrator (NFVO), and wherein receiving the VNF LCM request by using the communications unit comprises receiving, by using the communications unit, the VNF LCM request sent by the NFVO.

### Claim 15 (depends on 13)

The VNFM according to claim 13, wherein the NFV system runs the first VNF instance, the first VNF instance is obtained by the NFV system by instantiating the first-version VNF software, and wherein initiating the software modification operation for the first VNF instance of the first-version VNF software based on the software modification type comprises: in a running process of the first VNF instance, initiating the software modification operation for the first VNF instance of the first-version VNF software based on the software modification type.

### Claim 16 (depends on 13)

The VNFM according to claim 13, wherein the software modification type in the metadata is a VNF software upgrade;
the NFV system further comprises an element manager (EM) and a virtualized network function operation and maintenance (VNF O&M) device, and wherein initiating the software modification operation for the first VNF instance of the first-version VNF software based on the software modification type comprises:
obtaining, by using the communications unit, a deployment option used to instantiate second-version VNF software into a second VNF instance;
instantiating the second-version VNF software into the second VNF instance based on the deployment option; and
sending, by using the communications unit, a software upgrade request to the EM or the VNF O&M device, wherein the software upgrade request is configured to instruct the EM or the VNF O&M device to upgrade the first VNF instance of the first-version VNF software to the second VNF instance of the second-version VNF software.

### Claim 17 (depends on 16)

The VNFM according to claim 16, wherein the metadata further comprises a mapping relationship between a software upgrade policy and a resource option, the deployment option comprises a resource option and a connection option, and wherein obtaining, by using the communications unit, the deployment option used to instantiate second-version VNF software into the second VNF instance comprises:
obtaining, by using the communications unit, a target software upgrade policy in the VNF LCM request, wherein the target software upgrade policy is used for the upgrade to the second VNF instance of the second-version VNF software;
determining, based on the mapping relationship between a software upgrade policy and a resource option that is in the metadata, a resource option corresponding to the target software upgrade policy; and
determining a connection option corresponding to the resource option.

### Claim 18 (depends on 16)

The VNFM according to claim 16, wherein obtaining, by using the communications unit, the deployment option used to instantiate second-version VNF software into the second VNF instance comprises: obtaining, by using the communications unit, the deployment option, in the VNF LCM request, wherein the deployment option is configured for instantiating the second-version VNF software into the second VNF instance.

### Claim 19 (depends on 13)

The VNFM according to claim 13, wherein the software modification type in the metadata is a VNF software update.

### Claim 20 (depends on 19)

The VNFM according to claim 19, wherein initiating the software modification operation for the first VNF instance of the first-version VNF software based on the software modification type comprises:
obtaining a file name and an access address of a target executable file that is used for an update to a second VNF instance of the second-version VNF software, and a mapping relationship between an executable file and a software image, wherein the file name, the access address, and the mapping relationship are in the metadata, and an instance identifier of the first VNF instance is consistent with an instance identifier of the second VNF instance;
obtaining the target executable file based on the access address and the file name;
determining, based on the mapping relationship between an executable file and a software image, a software image corresponding to the target executable file;
determining, based on the software image, a virtual machine corresponding to a to-be-updated virtualized network function component (VNFC) instance in the first VNF instance; and
sending a software update request by using the communications unit, wherein the software update request is used to instruct the virtual machine to run the executable file to update the VNFC instance.

### Claim 21 (depends on 13)

The VNFM according to claim 13, wherein the software modification type in the metadata is a virtualized network function component (VNFC) software upgrade, and the to-be-modified first-version VNF software comprises first VNFC software.

### Claim 22 (depends on 21)

The VNFM according to claim 21, wherein the NFV system runs a first VNFC instance, the first VNFC instance is obtained by the NFV system by instantiating the first VNFC software, the metadata further comprises an image identifier, used to upgrade the first VNFC software, of a software image of second VNFC software, and the NFV system further comprises an element manager EM and a virtualized network function operation and maintenance VNF O&M device; and
wherein initiating the software modification operation for the first VNF instance of the first-version VNF software based on the software modification type comprises:
determining that the software modification type in the metadata is the VNFC software upgrade, and determining an instance identifier of the first VNFC instance based on an instance identifier of the first VNF instance;
instantiating the second VNFC software into a second VNFC instance based on the instance identifier of the first VNFC instance and the image identifier of the software image of the second VNFC software; and
sending, by using the communications unit, a software upgrade request to the EM or the VNF O&M device, wherein the software upgrade request is used to instruct the EM or the VNF O&M device to upgrade the first VNFC instance to the second VNFC instance.

### Claim 23 (depends on 22)

The VNFM according to claim 22, wherein determining the instance identifier of the first VNFC instance based on an instance identifier of the first VNF instance comprises determining an image identifier of a software image of the first VNFC software in the first-version VNF software based on the instance identifier of the first VNF instance; and
determining the instance identifier of the first VNFC instance based on the image identifier of the software image of the first VNFC software; and, wherein instantiating the second VNFC software into the second VNFC instance based on the instance identifier of the first VNFC instance and the image identifier of the software image of the second VNFC software comprises:
applying for a resource based on the instance identifier of the first VNFC instance; and
instantiating the second VNFC software into the second VNFC instance based on the resource obtained by application and the image identifier of the software image of the second VNFC software.

### Claim 24 (depends on 23)

The VNFM according to claim 23, wherein the VNF LCM request comprises an identifier of a software package and a target software upgrade policy, the software package comprises the metadata and a VNF descriptor VNFD, and the metadata further comprises an image identifier of a software image of VNFC software and a version identifier of VNF software to which the VNFC software corresponding to the software image belongs; and, wherein
determining the image identifier of the software image of the first VNFC software in the first-version VNF software based on the instance identifier of the first VNF instance comprises determining the image identifier of the software image of the first VNFC software in the first-version VNF software based on the instance identifier of the first VNF instance, the image identifier of the software image of the VNFC software, and the version identifier of the VNF software to which the VNFC software corresponding to the software image belongs; and
applying for a resource based on the instance identifier of the first VNFC instance comprises: determining a resource option and a connection option based on the instance identifier of the first VNFC instance, the VNFD, and the target software upgrade policy; and apply for a deployment option based on the resource option, the connection option, and the image identifier of the software image of the second VNFC software.
