An upgrade method, device and system

The method of migrating virtual machines and upgrading physical machines on a cloud platform addresses the challenge of maintaining service continuity during upgrades by ensuring minimal disruption to network functions.

CN111897554BActive Publication Date: 2025-07-15ZTE CORP
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN201910372184.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-05-06
Publication Date
2025-07-15
Estimated Expiration
2039-05-06

AI Technical Summary

Technical Problem

When upgrading physical machines on the telecom cloud platform, how to upgrade without affecting the normal operation and services of the operating network functions.

Method used

By migrating the network element service of virtual machines on physical machines, evacuate the virtual machines to other physical machines, and upgrade the physical machines, and finally notify the network function of virtualization infrastructure to be included in management and application.

Benefits of technology

It realizes the upgrade of the physical machine without affecting the normal operation of network functions and services.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111897554B_ABST
    Figure CN111897554B_ABST
Patent Text Reader

Abstract

Embodiments of the present invention disclose an upgrade method, device, and system. The upgrade method includes: determining N physical machines that need to be upgraded, where N is an integer greater than or equal to 1; for each physical machine, migrating the services of network elements of virtual machines on the physical machine; evacuating the virtual machines on the physical machine to other physical machines; upgrading the physical machine; and notifying the Network Function Virtualization Infrastructure (NFVI) to incorporate the upgraded physical machine into management and application. Embodiments of the present invention achieve the upgrade of physical machines by means of service migration and virtual machine evacuation without affecting the normal operation of network functions running on the cloud platform and the services of network functions.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to, but are not limited to, cloud platform technologies, and particularly to an upgrade method, device, and system. Background Art

[0002] Network Function Virtualization (NFV) refers to network functions deployed and running on a telecom cloud platform. The resources used by network functions are managed by a Management and Orchestration (MANO) system, which consists of three subsystems, namely a NFV Orchestrator (NFVO), a Virtualized Network Function Manager (VNFM), and a Virtualized Infrastructure Manager (VIM). The infrastructure of a telecom cloud platform (Network Function Virtualization Infrastructure (NFVI)) consists of physical machines (including a master node and physical machines managed by the master node), network devices, and cloud system software. After network function virtualization, how to ensure that the normal operation of network functions running on the cloud platform is not affected during the upgrade of physical machines is a major problem faced by telecom clouds and network function virtualization. Summary of the Invention

[0003] The embodiments of the present invention provide an upgrade method, device, and system that can upgrade physical machines without affecting the normal operation of network functions running on the cloud platform and the services of network functions.

[0004] The embodiments of the present invention provide an upgrade method, including:

[0005] Determine N physical machines to be upgraded; where N is an integer greater than or equal to 1;

[0006] For each physical machine, migrate the services of network elements of virtual machines on the physical machine; evacuate the virtual machines on the physical machine to other physical machines; upgrade the physical machine; notify the Network Function Virtualization Infrastructure (NFVI) to include the upgraded physical machine in management and application;

[0007] Alternatively, divide N physical machines into M groups; where M is an integer greater than or equal to 1; for all physical machines in each group, migrate the services of the network elements of the virtual machines on all the physical machines in the group; evacuate the virtual machines on all the physical machines in the group to other physical machines; upgrade all the physical machines in the group; notify the Network Function Virtualization Infrastructure (NFVI) to incorporate all the upgraded physical machines in the group into management and application;

[0008] Alternatively, migrate the services of the network elements of the virtual machines on N physical machines; evacuate the virtual machines on N physical machines to other physical machines; upgrade N physical machines; notify the Network Function Virtualization Infrastructure (NFVI) to incorporate the N upgraded physical machines into management and application.

[0009] An embodiment of the present invention provides an upgrade method, including:

[0010] Receive a network element service migration request before physical machine upgrade, where the network element service migration request before physical machine upgrade carries physical machine information or information of all physical machines in a group or information of N physical machines;

[0011] Identify the virtual machines and the network elements on the virtual machines on the physical machine or all the physical machines in the group or N physical machines according to the physical machine information or information of all physical machines in the group or information of N physical machines;

[0012] Initiate a service migration request to the network element; receive a fourth response indicating that the task is completed from the network element;

[0013] After receiving the fourth response indicating that the tasks of all network elements are completed, send a first response indicating that the task is completed.

[0014] An embodiment of the present invention provides an upgrade method, including any one of the following:

[0015] Receive a service migration request, perform service migration, and send a fourth response indicating that the task is completed;

[0016] Receive a request to evacuate all virtual machines on a physical machine; where the request to evacuate all virtual machines on the physical machine carries physical machine information or information of all physical machines in a group or information of N physical machines; evacuate the virtual machines on the physical machine or all the physical machines in the group or N physical machines to other physical machines; send a second response indicating that the task is completed; where N is an integer greater than or equal to 1;

[0017] Receive an upgrade request; download a new version and upgrade the physical machine to the new version; send a third response indicating that the task is completed.

[0018] An embodiment of the present invention provides an upgrade device, including:

[0019] A physical machine determination module, configured to determine N physical machines that need to be upgraded; where N is an integer greater than or equal to 1;

[0020] A first physical machine upgrade module, configured to:

[0021] For each physical machine, migrate the services of the network elements of the virtual machines on the physical machine; evacuate the virtual machines on the physical machine to other physical machines; upgrade the physical machine; notify the Network Function Virtualization Infrastructure (NFVI) to incorporate the upgraded physical machine into management and application;

[0022] Alternatively, divide the N physical machines into M groups; where M is an integer greater than or equal to 1; for all physical machines in each group, migrate the services of the network elements of the virtual machines on all physical machines in the group; evacuate the virtual machines on all physical machines in the group to other physical machines; upgrade all physical machines in the group; notify the Network Function Virtualization Infrastructure (NFVI) to incorporate all upgraded physical machines in the group into management and application;

[0023] Alternatively, migrate the services of the network elements of the virtual machines on the N physical machines; evacuate the virtual machines on the N physical machines to other physical machines; upgrade the N physical machines; notify the Network Function Virtualization Infrastructure (NFVI) to incorporate the N upgraded physical machines into management and application.

[0024] An embodiment of the present invention provides an upgrade device, including:

[0025] A first communication module, configured to receive a service migration request before physical machine upgrade, where the service migration request before physical machine upgrade carries physical machine information or information of all physical machines in a group or information of N physical machines; send a service migration request to the network element; receive a fourth reply that the task is completed from the network element; after receiving the fourth reply that the task is completed from all network elements, send a first reply that the task is completed;

[0026] A virtual machine and network element identification module, configured to identify the virtual machines on the physical machine or all physical machines in a group or N physical machines, and the network elements on the virtual machines, according to the physical machine information or information of all physical machines in a group or information of N physical machines.

[0027] An embodiment of the present invention provides an upgrade device, including any one of the following:

[0028] A second communication module, configured to receive a service migration request and send a fourth reply that the task is completed; a service migration module, configured to perform service migration;

[0029] A third communication module, configured to receive all virtual machine evacuation requests on a physical machine; wherein, all virtual machine evacuation requests on the physical machine carry physical machine information or all physical machine information of a group or N physical machine information; send a second response that the task is completed; a virtual machine evacuation module, configured to evacuate virtual machines on the physical machine or all physical machines of a group or N physical machines to other physical machines;

[0030] A fourth communication module, configured to receive an upgrade request; send a third response that the task is completed; a second physical machine upgrade module, configured to download a new version and upgrade the physical machine to the new version.

[0031] An embodiment of the present invention provides an upgrade device, including a processor and a computer-readable storage medium, wherein instructions are stored in the computer-readable storage medium, and when the instructions are executed by the processor, any of the above upgrade methods is implemented.

[0032] An embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of any of the above upgrade methods are implemented.

[0033] An embodiment of the present invention provides an upgrade system, including:

[0034] An upgrade module, configured to determine N physical machines that need to be upgraded; wherein, N is an integer greater than or equal to 1;

[0035] For each physical machine, initiate a pre-upgrade network element service migration request for the physical machine to the Virtualized Network Function Manager (VNFM) of the Management and Orchestration (MANO) system, where the pre-upgrade network element service migration request for the physical machine carries physical machine information; receive a first response from the VNFM of the MANO system that the task is completed; initiate all virtual machine evacuation requests on the physical machine to the NFVI; wherein, all virtual machine evacuation requests on the physical machine carry the physical machine information; receive a second response from the NFVI that the task is completed; initiate an upgrade request to the physical machine; receive a third response from the physical machine that the task is completed; notify the Network Function Virtualization Infrastructure (NFVI) to incorporate the upgraded physical machine into management and application;

[0036] Alternatively, divide N physical machines into M groups; where M is an integer greater than or equal to 1; for all physical machines in each group, send a pre-upgrade network element service migration request for the physical machines to the VNFM of the MANO system, and the pre-upgrade network element service migration request for the physical machines carries information of all physical machines in the group; upon receiving the first reply from the VNFM of the MANO system that the task is completed; send an evacuation request for all virtual machines on the physical machines to the NFVI; where the evacuation request for all virtual machines on the physical machines carries information of all physical machines in the group; upon receiving the second reply from the NFVI that the task is completed; send an upgrade request to all physical machines in the group; upon receiving the third reply from all physical machines in the group that the task is completed; notify the network function virtualization infrastructure NFVI to include all upgraded physical machines in the group in management and application;

[0037] Alternatively, divide N physical machines into M groups; where M is an integer greater than or equal to 1; for each physical machine in each group, send a pre-upgrade network element service migration request for the physical machine to the VNFM of the MANO system, and the pre-upgrade network element service migration request for the physical machine carries the physical machine information; upon receiving the first reply from the VNFM of the MANO system that the task is completed for all physical machines in the group; send an evacuation request for all virtual machines on the physical machines to the NFVI; where the evacuation request for all virtual machines on the physical machines carries the physical machine information; upon receiving the second reply from the NFVI that the task is completed for all physical machines in the group; send an upgrade request to all physical machines in the group; upon receiving the third reply from all physical machines in the group that the task is completed; notify the network function virtualization infrastructure NFVI to include all upgraded physical machines in the group in management and application;

[0038] Alternatively, send a pre-upgrade network element service migration request for the physical machines to the VNFM of the MANO system, and the pre-upgrade network element service migration request for the physical machines carries information of N physical machines; upon receiving the first reply from the VNFM of the MANO system that the task is completed; send an evacuation request for all virtual machines on the physical machines to the NFVI; where the evacuation request for all virtual machines on the physical machines carries information of N physical machines; upon receiving the second reply from the NFVI that the task is completed; send an upgrade request to N physical machines; upon receiving the third reply from the N physical machines that the task is completed; notify the network function virtualization infrastructure NFVI to include N upgraded physical machines in management and application;

[0039] Alternatively, initiate a pre-physical machine upgrade network element service migration request to the VNFM of the MANO system, where the pre-physical machine upgrade network element service migration request carries physical machine information; receive the completion of the first response task for N physical machines of the VNFM of the MANO system; initiate an evacuation request for all virtual machines on the physical machine to the NFVI; where the evacuation request for all virtual machines on the physical machine carries physical machine information; receive the completion of the second response task for N physical machines of the NFVI; initiate an upgrade request to N physical machines; receive the completion of the third response task for the N physical machines; notify the Network Function Virtualization Infrastructure NFVI to incorporate the N upgraded physical machines into management and application;

[0040] VNFM, which is configured to receive a pre-physical machine upgrade network element service migration request, where the pre-physical machine upgrade network element service migration request carries physical machine information or all physical machine information of a group or N physical machine information; identify virtual machines on the physical machine or all physical machines of a group or N physical machines and network elements on the virtual machines according to the physical machine information or all physical machine information of a group or N physical machine information; initiate a service migration request to the network element; receive the completion of the fourth response task of the network element; after receiving the completion of the fourth response tasks of all network elements, send the completion of the first response task;

[0041] Network element, which is configured to receive a service migration request, perform service migration, and send the completion of the fourth response task;

[0042] NFVI, which is configured to receive an evacuation request for all virtual machines on the physical machine; where the evacuation request for all virtual machines on the physical machine carries physical machine information or all physical machine information of a group or N physical machine information; evacuate the virtual machines on the physical machine or all physical machines of a group or N physical machines to other physical machines; send the completion of the second response task; where N is an integer greater than or equal to 1;

[0043] Physical machine, which is configured to receive an upgrade request; download a new version and upgrade the physical machine to the new version; send the completion of the third response task.

[0044] Embodiments of the present invention include: determining N physical machines to be upgraded, where N is an integer greater than or equal to 1; for each physical machine, migrating the services of the network elements of the virtual machines on the physical machine; evacuating the virtual machines on the physical machine to other physical machines; upgrading the physical machine; notifying the Network Function Virtualization Infrastructure (NFVI) to incorporate the upgraded physical machine into management and application; or dividing the N physical machines into M groups, and for all physical machines in each group, migrating the services of the network elements of the virtual machines on all physical machines in the group; evacuating the virtual machines on all physical machines in the group to other physical machines; upgrading all physical machines in the group; notifying the Network Function Virtualization Infrastructure (NFVI) to incorporate all upgraded physical machines in the group into management and application; or migrating the services of the network elements of the virtual machines on the N physical machines; evacuating the virtual machines on the N physical machines to other physical machines; upgrading the N physical machines; notifying the Network Function Virtualization Infrastructure (NFVI) to incorporate the N upgraded physical machines into management and application. Embodiments of the present invention achieve the upgrade of physical machines by means of service migration and virtual machine evacuation without affecting the normal operation of the network functions running on the cloud platform and the services of the network functions.

[0045] Other features and advantages of embodiments of the present invention will be described in the following specification, and in part will be obvious from the specification, or can be understood by implementing embodiments of the present invention. The objectives and other advantages of embodiments of the present invention can be achieved and obtained by the structures specifically pointed out in the specification, claims, and drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] The drawings are used to provide a further understanding of the technical solutions of embodiments of the present invention, and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the technical solutions of embodiments of the present invention, and do not constitute a limitation to the technical solutions of embodiments of the present invention.

[0047] Figure 1 It is a flowchart of an upgrade method proposed for an embodiment of the present invention;

[0048] Figure 2 It is a flowchart of an upgrade method proposed for another embodiment of the present invention;

[0049] Figure 3 It is a flowchart of an upgrade method proposed for another embodiment of the present invention;

[0050] Figure 4 It is a flowchart of an upgrade method proposed for another embodiment of the present invention;

[0051] Figure 5 It is a flowchart of an upgrade method proposed for another embodiment of the present invention;

[0052] Figure 6 The flowchart of the upgrade method proposed for another embodiment of the present invention;

[0053] Figure 7 The flowchart of the upgrade method proposed for the first embodiment of the present invention;

[0054] Figure 8 The flowchart of the upgrade method proposed for the second embodiment of the present invention;

[0055] Figure 9 The flowchart of the upgrade method proposed for the third embodiment of the present invention;

[0056] Figure 10 The flowchart of the upgrade method proposed for the fourth embodiment of the present invention;

[0057] Figure 11 The schematic diagram of the structural composition of the upgrade device proposed for another embodiment of the present invention;

[0058] Figure 12 The schematic diagram of the structural composition of the upgrade device proposed for another embodiment of the present invention;

[0059] Figure 13 The schematic diagram of the structural composition of the upgrade device proposed for another embodiment of the present invention;

[0060] Figure 14 The schematic diagram of the structural composition of the upgrade device proposed for another embodiment of the present invention;

[0061] Figure 15 The schematic diagram of the structural composition of the upgrade device proposed for another embodiment of the present invention;

[0062] Figure 16 The schematic diagram of the structural composition of the upgrade system proposed for another embodiment of the present invention. Detailed implementation manners

[0063] In the following, the embodiments of the present invention will be described in detail with reference to the accompanying drawings. It should be noted that, without conflict, the embodiments and features in the embodiments of the present invention can be combined with each other arbitrarily.

[0064] The steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. And, although the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in a different order than here.

[0065] See Figure 1 , an embodiment of the present invention proposes an upgrade method, including:

[0066] Step 100: Determine N physical machines to be upgraded, where N is an integer greater than or equal to 1.

[0067] Step 101: For each physical machine, migrate the services of the network elements of the virtual machines on the physical machine, evacuate the virtual machines on the physical machine to other physical machines, upgrade the physical machine, and notify the Network Function Virtualization Infrastructure (NFVI) to incorporate the upgraded physical machine into management and application.

[0068] In the embodiment of the present invention, the upgrade process of each physical machine includes the following steps:

[0069] Migrate the services of the network elements of the virtual machines on the physical machine, evacuate the virtual machines on the physical machine to other physical machines, upgrade the physical machine, and notify the Network Function Virtualization Infrastructure (NFVI) to incorporate the upgraded physical machine into management and application.

[0070] The above steps for different physical machines are independent of each other and do not affect each other. The above steps for different physical machines can be run in parallel, or after the above steps are completed on one physical machine, the above steps of another physical machine can be executed.

[0071] In another embodiment of the present invention, determine the upgrade order, and for each physical machine in sequence according to the upgrade order, migrate the services of the network elements of the virtual machines on the physical machine, evacuate the virtual machines on the physical machine to other physical machines, upgrade the physical machine, and notify the Network Function Virtualization Infrastructure (NFVI) to incorporate the upgraded physical machine into management and application.

[0072] In the embodiment of the present invention, migrating the services of the network elements of the virtual machines on the physical machine includes:

[0073] Initiate a pre-physical machine upgrade network element service migration request to the Virtualized Network Element Manager (VNFM) of the Management and Orchestration (MANO) system, where the pre-physical machine upgrade network element service migration request carries physical machine information, and receive the first response task completion from the VNFM of the MANO system.

[0074] Among them, initiate a pre-physical machine upgrade network element service migration request to the VNFM of the MANO system through the Network Function Virtualization Orchestrator (NFVO) of the MANO system, and receive the first response task completion from the VNFM of the MANO system through the NFVO of the MANO system.

[0075] In the embodiment of the present invention, evacuating the virtual machines on the physical machine to other physical machines includes:

[0076] Initiate a request to evacuate all virtual machines on the physical machine to the NFVI. Among them, the request to evacuate all virtual machines on the physical machine carries the physical machine information, and receive the second response task completion from the NFVI.

[0077] Among them, the NFVI is the master control node of all physical machines, on which a cloud platform runs.

[0078] In an embodiment of the present invention, upgrading a physical machine includes: sending an upgrade request to the physical machine; receiving the third response task completion of the physical machine.

[0079] Among them, an upgrade agent can be set in the physical machine to implement the upgrade of the physical machine, that is, receive the upgrade request, download the new version and upgrade the physical machine, and send the third response task completion.

[0080] Among them, the upgrade request can carry information such as the version to be upgraded.

[0081] See Figure 2 , another embodiment of the present invention proposes an upgrade method, including:

[0082] Step 200: Determine N physical machines to be upgraded; where N is an integer greater than or equal to 1.

[0083] Step 201: Divide the N physical machines into M groups; where M is an integer greater than or equal to 1; for all physical machines in each group, migrate the services of the network elements of the virtual machines on all physical machines in the group; evacuate the virtual machines on all physical machines in the group to other physical machines; upgrade all physical machines in the group; notify the Network Function Virtualization Infrastructure NFVI to incorporate all upgraded physical machines in the group into management and application.

[0084] In an embodiment of the present invention, the N physical machines can be grouped in any manner, and the specific grouping method is not used to limit the protection scope of the embodiment of the present invention. The number of physical machines included in different groups can be the same or different.

[0085] In an embodiment of the present invention, migrating the services of the network elements of the virtual machines on the grouped physical machines includes:

[0086] For each physical machine in the group, migrate the services of the network elements of the virtual machines on the physical machine;

[0087] Or, send a network element service migration request before physical machine upgrade to the VNFM of the MANO system, and the network element service migration request before physical machine upgrade carries information of all physical machines in the group; receive the first response task completion of the VNFM of the MANO system.

[0088] Among them, migrating the services of the network elements of the virtual machines on the physical machine includes:

[0089] Initiate a network element service migration request before physical machine upgrade to the Virtualized Network Function Manager (VNFM) that manages and orchestrates the MANO system. The network element service migration request before physical machine upgrade carries physical machine information; upon receiving the first response from the VNFM of the MANO system, the task is completed.

[0090] That is to say, when migrating the services of network elements of virtual machines on grouped physical machines, one execution process can correspond to each physical machine, or all physical machines within the group can be combined into one execution process. When one execution process corresponds to each physical machine, upon receiving the first response tasks of all physical machines within the group being completed, it is considered that the migration of the services of network elements of virtual machines on all physical machines within the group is completed.

[0091] In an embodiment of the present invention, evacuating virtual machines on all physical machines in a group to other physical machines includes:

[0092] For each physical machine within the group, evacuate the virtual machines on the physical machine to other physical machines;

[0093] Alternatively, initiate a request to evacuate all virtual machines on the physical machine to the NFVI; wherein, the request to evacuate all virtual machines on the physical machine carries information of all physical machines in the group; upon receiving the second response from the NFVI, the task is completed.

[0094] Among them, evacuating virtual machines on a physical machine to other physical machines includes:

[0095] Initiate a request to evacuate all virtual machines on the physical machine to the NFVI; wherein, the request to evacuate all virtual machines on the physical machine carries the physical machine information; upon receiving the second response from the NFVI, the task is completed.

[0096] That is to say, when evacuating virtual machines on all physical machines in a group to other physical machines, one execution process can correspond to each physical machine, or all physical machines within the group can be combined into one execution process. When one execution process corresponds to each physical machine, upon receiving the second response tasks of all physical machines within the group being completed, it is considered that the evacuation of virtual machines on all physical machines in the group to other physical machines is completed.

[0097] In an embodiment of the present invention, upgrading all physical machines in a group includes: initiating an upgrade request to all physical machines in the group; upon receiving the third response from all physical machines in the group, the task is completed.

[0098] See Figure 3 , another embodiment of the present invention proposes an upgrade method, including:

[0099] Step 300: Determine N physical machines to be upgraded, where N is an integer greater than or equal to 1.

[0100] Step 301: Migrate the services of the network elements of the virtual machines on the N physical machines; evacuate the virtual machines on the N physical machines to other physical machines; upgrade the N physical machines; notify the Network Function Virtualization Infrastructure (NFVI) to include the N upgraded physical machines in management and application.

[0101] In the embodiment of the present invention, migrating the services of the network elements of the virtual machines on the N physical machines includes:

[0102] For each of the N physical machines, migrate the services of the network elements of the virtual machines on the physical machine.

[0103] Alternatively, send a network element service migration request before physical machine upgrade to the VNFM of the MANO system, where the network element service migration request before physical machine upgrade carries information of the N physical machines; receive the first reply from the VNFM of the MANO system that the task is completed.

[0104] Among them, migrating the services of the network elements of the virtual machines on a physical machine includes:

[0105] Send a network element service migration request before physical machine upgrade to the Virtualized Network Element Manager (VNFM) of the Management and Orchestration (MANO) system, where the network element service migration request before physical machine upgrade carries physical machine information; receive the first reply from the VNFM of the MANO system that the task is completed.

[0106] That is to say, when migrating the services of the network elements of the virtual machines on the N physical machines, one execution process can correspond to each physical machine, or the N physical machines can be combined into one execution process. When one execution process corresponds to each physical machine, it is considered that the migration of the services of the network elements of the virtual machines on the N physical machines is completed only when the first reply tasks of the N physical machines are received and completed.

[0107] In the embodiment of the present invention, evacuating the virtual machines on the N physical machines to other physical machines includes:

[0108] For each of the N physical machines, evacuate the virtual machines on the physical machine to other physical machines.

[0109] Alternatively, send a request to evacuate all virtual machines on a physical machine to the NFVI, where the request to evacuate all virtual machines on a physical machine carries information of the N physical machines; receive the second reply from the NFVI that the task is completed.

[0110] Among them, evacuating the virtual machines on a physical machine to other physical machines includes:

[0111] Initiate evacuation requests for all virtual machines on the physical machine to the NFVI; among them, all virtual machine evacuation requests on the physical machine carry the physical machine information; after receiving the second response from the NFVI, the task is completed.

[0112] That is to say, when evacuating the virtual machines on N physical machines to other physical machines, one execution process can correspond to each physical machine, or N physical machines can be combined into one execution process. When one execution process corresponds to each physical machine, after receiving the second response tasks of N physical machines and completing them, it is considered that the evacuation of the virtual machines on N physical machines to other physical machines is completed.

[0113] In an embodiment of the present invention, upgrading N physical machines includes: initiating an upgrade request to N physical machines; after receiving the third response from the N physical machines, the task is completed.

[0114] See Figure 4 , another embodiment of the present invention proposes an upgrade method, including:

[0115] Step 400: Receive a network element service migration request before physical machine upgrade, and the network element service migration request before physical machine upgrade carries physical machine information.

[0116] Step 401: Identify the virtual machines on the physical machine and the network elements on the virtual machines according to the physical machine information.

[0117] Step 402: Initiate a service migration request to the network element; receive the fourth response from the network element and complete the task.

[0118] Step 403: After receiving the fourth response tasks of all network elements and completing them, send a first response task completion.

[0119] See Figure 5 , another embodiment of the present invention proposes an upgrade method, including:

[0120] Step 500: Receive a network element service migration request before physical machine upgrade, and the network element service migration request before physical machine upgrade carries the information of all physical machines in a group.

[0121] Step 501: Identify the virtual machines on all physical machines in the group and the network elements on the virtual machines according to the information of all physical machines in the group.

[0122] Step 502: Initiate a service migration request to the network element; receive the fourth response from the network element and complete the task.

[0123] Step 503: After receiving the fourth response tasks of all network elements and completing them, send a first response task completion.

[0124] See Figure 6 , another embodiment of the present invention proposes an upgrade method, including:

[0125] Step 600, receiving a network element service migration request before the physical machine upgrade, where the network element service migration request before the physical machine upgrade carries information of N physical machines; where N is an integer greater than or equal to 1.

[0126] Step 601, identifying virtual machines on the N physical machines and network elements on the virtual machines according to the information of the N physical machines.

[0127] Step 602, sending a service migration request to the network element; receiving the fourth reply that the task is completed from the network element.

[0128] After receiving the fourth reply that the task is completed from all network elements, sending the first reply that the task is completed.

[0129] Another embodiment of the present invention proposes an upgrade method, including:

[0130] Receiving a service migration request, performing service migration, and sending the fourth reply that the task is completed.

[0131] In the embodiment of the present invention, service migration is performed according to its own reliability design form. Specifically, when its own reliability design form is the primary / backup form, primary / backup machine switching is performed to achieve service migration; when its own reliability design form is the load sharing form, the service is migrated to other network elements in the load sharing.

[0132] Another embodiment of the present invention proposes an upgrade method, including:

[0133] Receiving all virtual machine evacuation requests on the physical machine; where all virtual machine evacuation requests on the physical machine carry physical machine information; evacuating the virtual machines on the physical machine to other physical machines; sending the second reply that the task is completed.

[0134] Another embodiment of the present invention proposes an upgrade method, including:

[0135] Receiving all virtual machine evacuation requests on the physical machine; where all virtual machine evacuation requests on the physical machine carry information of all physical machines in the group; evacuating the virtual machines on all physical machines in the group to other physical machines; sending the second reply that the task is completed.

[0136] Another embodiment of the present invention proposes an upgrade method, including:

[0137] Receive all virtual machine evacuation requests on the physical machine; among them, all virtual machine evacuation requests on the physical machine carry information of N physical machines; evacuate the virtual machines on the N physical machines to other physical machines; send a second reply that the task is completed; where N is an integer greater than or equal to 1.

[0138] Another embodiment of the present invention proposes an upgrade method, including:

[0139] Receive an upgrade request; download a new version and upgrade the physical machine to the new version; send a third reply that the task is completed.

[0140] Among them, the upgrade request carries information such as the version to be upgraded.

[0141] Through the methods of service migration and virtual machine evacuation, the embodiment of the present invention realizes the upgrade of the physical machine without affecting the normal operation of the network functions running on the cloud platform and the services of the network functions.

[0142] The following lists several embodiments to illustrate the upgrade method of the embodiment of the present invention. The examples given are only for convenience of understanding and are not used to limit the protection scope of the embodiment of the present invention.

[0143] Embodiment 1

[0144] In this embodiment, the upgrade module is an independently deployed device, and a single physical machine in the upgraded cloud platform is upgraded.

[0145] See Figure 7 , the method includes:

[0146] Step 700: The upgrade module determines the physical machine to be upgraded.

[0147] Step 701: The upgrade module sends a pre-upgrade network element service migration request for the physical machine to the NFVO of the MANO system. The pre-upgrade network element service migration request for the physical machine carries information of the physical machine to be upgraded.

[0148] Step 702: The NFVO of the MANO system forwards the pre-upgrade network element service migration request for the physical machine to the VNFM.

[0149] Step 703: The VNFM of the MANO system identifies the virtual machines running on the physical machine and the network elements related to these virtual machines according to the physical machine information.

[0150] Step 704: The VNFM of the MANO system sends service migration requests to these network elements respectively.

[0151] Step 705: After receiving the service migration request, the network element performs service migration or active / standby machine switching according to its own reliability design form.

[0152] Step 706: After completing the service migration, the network element sends a fourth task completion response to the VNFM of the MANO system.

[0153] Step 707: After receiving the fourth task completion response from all network elements, the VNFM of the MANO system sends a first task completion response to the NFVO of the MANO system, and the NFVO of the MANO system forwards the first task completion response to the upgrade module.

[0154] Step 708: The upgrade module initiates an evacuation request for all virtual machines on the physical machine to the NFVI (cloud system).

[0155] Step 709: After receiving the evacuation request of all virtual machines on the physical machine, the NFVI (cloud system) evacuates all virtual machines on the physical machine to other physical machines.

[0156] Step 710: After the NFVI completes the evacuation, it sends a second task completion response to the upgrade module.

[0157] Step 711: The upgrade module initiates an upgrade request to the upgrade agent running on the physical machine, carrying information such as the upgraded version.

[0158] Step 712: The upgrade agent downloads the new version from the upgrade module to upgrade the physical machine to the new version.

[0159] Step 713: After the upgrade agent completes the upgrade, it sends a third response to the upgrade module indicating that the upgrade is complete.

[0160] Step 714: After receiving the third response that the upgrade is complete, the upgrade module notifies NFVI to include the upgraded physical machine in management and application.

[0161] Embodiment 2

[0162] In this embodiment, the upgrade module is an independently deployed device that upgrades multiple physical machines in the cloud platform.

[0163] See also Figure 8 , the method comprising:

[0164] Step 800: The upgrade module determines a list of physical machines to be upgraded and determines an upgrade sequence.

[0165] Steps 801 to 814 are executed for each physical machine in the list of physical machines to be upgraded in the upgrade order.

[0166] Step 801: The upgrade module initiates a network element service migration request before physical machine upgrade to the NFVO of the MANO system. The network element service migration request before physical machine upgrade carries information of the physical machine to be upgraded.

[0167] Step 802: The NFVO of the MANO system forwards the network element service migration request before the physical machine upgrade to the VNFM.

[0168] Step 803: The VNFM of the MANO system identifies the virtual machines running on the physical machines and the network elements related to the virtual machines according to the physical machine information.

[0169] Step 804: The VNFM of the MANO system initiates service migration requests to these network elements respectively.

[0170] Step 805: After receiving the service migration request, the network element performs service migration or primary / standby machine switching according to its own reliability design.

[0171] Step 806: After completing the service migration, the network element sends a fourth task completion response to the VNFM of the MANO system.

[0172] Step 807: After receiving the fourth task completion response from all network elements, the VNFM of the MANO system sends a first task completion response to the NFVO of the MANO system, and the NFVO of the MANO system forwards the first task completion response to the upgrade module.

[0173] Step 808: The upgrade module initiates an evacuation request for all virtual machines on the physical machine to the NFVI (cloud system).

[0174] Step 809: After receiving the evacuation request of all virtual machines on the physical machine, the NFVI (cloud system) evacuates all virtual machines on the physical machine to other physical machines.

[0175] Step 810: After the NFVI completes the evacuation, it sends a second task completion response to the upgrade module.

[0176] Step 811: The upgrade module initiates an upgrade request to the upgrade agent running on the physical machine, carrying information such as the upgraded version.

[0177] Step 812: The upgrade agent downloads the new version from the upgrade module to upgrade the physical machine to the new version.

[0178] Step 813: After the upgrade agent completes the upgrade, it sends a third response to the upgrade module indicating that the upgrade is complete.

[0179] Step 814: After receiving the third response that the upgrade is complete, the upgrade module notifies NFVI to include the upgraded physical machine in management and application.

[0180] Step 815: The upgrade module upgrades all physical machines in sequence, and the upgrade is completed.

[0181] Embodiment 3

[0182] In this embodiment, the upgrade module is a module deployed on the NFVO, which upgrades a single physical machine in the cloud platform.

[0183] See Figure 9 , the method includes:

[0184] Step 900, the upgrade module determines the physical machine to be upgraded.

[0185] Step 901, the upgrade module sends a pre-upgrade network element service migration request for the physical machine to the VNFM of the MANO system. The pre-upgrade network element service migration request for the physical machine carries the information of the physical machine to be upgraded.

[0186] Step 902, the VNFM of the MANO system identifies the virtual machines running on the physical machine and the network elements related to these virtual machines according to the physical machine information.

[0187] Step 903, the VNFM of the MANO system sends service migration requests to these network elements respectively.

[0188] Step 904, after receiving the service migration request, the network element performs service migration or active / standby machine switchover according to its own reliability design form.

[0189] Step 905, after the network element completes the service migration, it sends a fourth response task completion to the VNFM of the MANO system.

[0190] Step 906, after the VNFM of the MANO system receives the fourth response task completion from all network elements, it sends a first response task completion to the upgrade module.

[0191] Step 907, the upgrade module sends an evacuation request for all virtual machines on the physical machine to the NFVI (cloud system).

[0192] Step 908, after the NFVI (cloud system) receives the evacuation request for all virtual machines on the physical machine, it evacuates all virtual machines on the physical machine to other hosts.

[0193] Step 909, after the NFVI completes the evacuation, it sends a second response task completion to the upgrade module.

[0194] Step 910, the upgrade module sends an upgrade request to the upgrade agent running on the physical machine, carrying information such as the version to be upgraded.

[0195] Step 911, the upgrade agent downloads the new version from the upgrade module and upgrades the physical machine to the new version.

[0196] Step 912, after the upgrade agent completes the upgrade, it sends a third response upgrade completion to the upgrade module.

[0197] Step 913: After receiving the third response that the upgrade is complete, the upgrade module notifies NFVI to include the upgraded physical machine in management and application.

[0198] Implementation Case 4

[0199] In this embodiment, the upgrade module is a module deployed on the NFVI, which upgrades multiple physical machines in the cloud platform.

[0200] See also Figure 10 , the method comprising:

[0201] Step 1000: The upgrade module determines a list of physical machines to be upgraded and determines an upgrade sequence.

[0202] Steps 1001 to 1014 are executed for each physical machine in the list of physical machines to be upgraded in the upgrade order.

[0203] Step 1001: The upgrade module initiates a network element service migration request before physical machine upgrade to the NFVO of the MANO system. The network element service migration request before physical machine upgrade carries information of the physical machine to be upgraded.

[0204] Step 1002: The NFVO of the MANO MANO system forwards the network element service migration request before the physical machine upgrade to the VNFM.

[0205] Step 1003: The VNFM of the MANO system identifies the virtual machines running on the physical machines and the network elements related to the virtual machines according to the physical machine information.

[0206] Step 1004: The VNFM of the MANO system initiates service migration requests to these network elements respectively.

[0207] Step 1005: After receiving the service migration request, the network element performs service migration or primary / standby machine switching according to its own reliability design.

[0208] Step 1006: After completing the service migration, the network element sends a fourth task completion response to the VNFM of the MANO system.

[0209] Step 1007: After receiving the fourth task completion response from all network elements, the VNFM of the MANO system sends a first task completion response to the NFVO of the MANO system, and the NFVO of the MANO system forwards the first task completion response to the upgrade module.

[0210] Step 1008: The upgrade module initiates an evacuation request for all virtual machines on the physical machine to the NFVI (cloud system).

[0211] Step 1009: After receiving the evacuation request of all virtual machines on the physical machine, the NFVI (cloud system) evacuates all virtual machines on the physical machine to other physical machines.

[0212] Step 1010: After the NFVI completes the evacuation, it sends a second task completion response to the upgrade module.

[0213] Step 1011: The upgrade module initiates an upgrade request to the upgrade agent running on the physical machine, carrying information such as the upgraded version.

[0214] Step 1012: The upgrade agent downloads the new version from the upgrade module to upgrade the physical machine to the new version.

[0215] Step 1013: After the upgrade agent completes the upgrade, it sends a third response to the upgrade module indicating that the upgrade is complete.

[0216] Step 1014: After receiving the response, the upgrade module notifies NFVI to include the upgraded physical machine in management and application.

[0217] Step 1015: The upgrade module upgrades all physical machines in sequence, and the upgrade is completed.

[0218] See also Figure 11 Another embodiment of the present invention provides an upgrading device, comprising:

[0219] A physical machine determination module 1101 is used to determine N physical machines that need to be upgraded; wherein N is an integer greater than or equal to 1;

[0220] The first physical machine upgrade module 1102 is used to:

[0221] For each physical machine, migrate the services of the network elements of the virtual machines on the physical machine; evacuate the virtual machines on the physical machine to other physical machines; upgrade the physical machine; notify the network function virtualization infrastructure NFVI to include the upgraded physical machine in management and application;

[0222] Alternatively, N physical machines are divided into M groups; where M is an integer greater than or equal to 1; for all physical machines in each group, services of network elements of virtual machines on all physical machines in the group are migrated; virtual machines on all physical machines in the group are evacuated to other physical machines; all physical machines in the group are upgraded; and the network function virtualization infrastructure NFVI is notified to include all upgraded physical machines in the group into management and application;

[0223] Alternatively, migrate the services of the network elements of the virtual machines on N physical machines; evacuate the virtual machines on the N physical machines to other physical machines; upgrade the N physical machines; and notify the Network Function Virtualization Infrastructure (NFVI) to include the N upgraded physical machines in management and application.

[0224] In another embodiment of the present invention, the physical machine determination module 1101 is further configured to: determine the upgrade order;

[0225] The first physical machine upgrade module 1102 is further configured to:

[0226] In sequence according to the upgrade order, for each physical machine, migrate the services of the network elements of the virtual machines on the physical machine; evacuate the virtual machines on the physical machine to other physical machines; upgrade the physical machine; and notify the Network Function Virtualization Infrastructure (NFVI) to include the upgraded physical machine in management and application.

[0227] In an embodiment of the present invention, the first physical machine upgrade module 1102 is specifically configured to implement the migration of the services of the network elements of the virtual machines on the physical machine in the following manner:

[0228] Initiate a pre-upgrade network element service migration request for the physical machine to the Virtual Network Function Manager (VNFM) of the Management and Orchestration (MANO) system, where the pre-upgrade network element service migration request for the physical machine carries physical machine information; receive the first response from the VNFM of the MANO system indicating that the task is completed;

[0229] Alternatively, the first physical machine upgrade module 1102 is specifically configured to implement the migration of the services of the network elements of the virtual machines on the grouped physical machines in the following manner:

[0230] Initiate a pre-upgrade network element service migration request for the physical machine to the VNFM of the MANO system, where the pre-upgrade network element service migration request for the physical machine carries the information of all the grouped physical machines; receive the first response from the VNFM of the MANO system indicating that the task is completed;

[0231] Alternatively, the first physical machine upgrade module 1102 is specifically configured to implement the migration of the services of the network elements of the virtual machines on the N physical machines in the following manner:

[0232] Initiate a pre-upgrade network element service migration request for the physical machine to the VNFM of the MANO system, where the pre-upgrade network element service migration request for the physical machine carries the information of the N physical machines; receive the first response from the VNFM of the MANO system indicating that the task is completed.

[0233] In an embodiment of the present invention, the first physical machine upgrade module 1102 is specifically configured to implement the evacuation of the virtual machines on the physical machine to other physical machines in the following manner:

[0234] Initiate evacuation requests for all virtual machines on the physical machine to the NFVI; wherein, all the virtual machine evacuation requests on the physical machine carry the physical machine information; after receiving the second response from the NFVI, the task is completed;

[0235] Alternatively, the first physical machine upgrade module 1102 is specifically configured to evacuate virtual machines on all physical machines in a group to other physical machines in the following manner:

[0236] Initiate evacuation requests for all virtual machines on the physical machine to the NFVI; wherein, all the virtual machine evacuation requests on the physical machine carry information of all physical machines in the group; after receiving the second response from the NFVI, the task is completed;

[0237] Alternatively, the first physical machine upgrade module 1102 is specifically configured to evacuate virtual machines on N physical machines to other physical machines in the following manner:

[0238] Initiate evacuation requests for all virtual machines on the physical machine to the NFVI; wherein, all the virtual machine evacuation requests on the physical machine carry information of N physical machines; after receiving the second response from the NFVI, the task is completed.

[0239] In an embodiment of the present invention, the first physical machine upgrade module 1102 is specifically configured to upgrade the physical machine in the following manner: initiate an upgrade request to the physical machine; after receiving the third response from the physical machine, the task is completed;

[0240] Alternatively, the first physical machine upgrade module 1102 is specifically configured to upgrade all physical machines in a group in the following manner: initiate upgrade requests to all physical machines in the group; after receiving the third responses from all physical machines in the group, the task is completed;

[0241] Alternatively, the first physical machine upgrade module 1102 is specifically configured to upgrade N physical machines in the following manner: initiate upgrade requests to N physical machines; after receiving the third responses from the N physical machines, the task is completed.

[0242] See Figure 12 , another embodiment of the present invention provides an upgrade device, including:

[0243] The first communication module 1201 is configured to receive a network element service migration request before physical machine upgrade, where the network element service migration request before physical machine upgrade carries physical machine information or information of all physical machines in a group or information of N physical machines; initiate a service migration request to the network element; receive the fourth response from the network element and complete the task; after receiving the fourth responses from all network elements and completing the task, send a first response to indicate the task is completed;

[0244] A virtual machine and network element identification module 1202, configured to identify virtual machines on a physical machine or all physical machines in a group or N physical machines, and network elements on the virtual machines, according to physical machine information or all physical machine information in a group or N physical machine information.

[0245] See Figure 13 , another embodiment of the present invention provides an upgrade device, including:

[0246] A second communication module 1301, configured to receive a service migration request and send a fourth response that the task is completed;

[0247] A service migration module 1302, configured to perform service migration.

[0248] See Figure 14 , another embodiment of the present invention provides an upgrade device, including:

[0249] A third communication module 1401, configured to receive evacuation requests for all virtual machines on a physical machine; wherein, the evacuation requests for all virtual machines on the physical machine carry physical machine information or all physical machine information in a group or N physical machine information; send a second response that the task is completed;

[0250] A virtual machine evacuation module 1402, configured to evacuate virtual machines on a physical machine or all physical machines in a group or N physical machines to other physical machines;

[0251] See Figure 15 , another embodiment of the present invention provides an upgrade device, including:

[0252] A fourth communication module 1501, configured to receive an upgrade request; send a third response that the task is completed;

[0253] A second physical machine upgrade module 1502, configured to download a new version and upgrade the physical machine to the new version.

[0254] Another embodiment of the present invention provides an upgrade device, including a processor and a computer-readable storage medium, where instructions are stored in the computer-readable storage medium, and when the instructions are executed by the processor, any of the above upgrade methods is implemented.

[0255] Another embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of any of the above upgrade methods are implemented.

[0256] See Figure 16 , another embodiment of the present invention provides an upgrade system, including:

[0257] An upgrade module 1601 for determining N physical machines that need to be upgraded, where N is an integer greater than or equal to 1;

[0258] For each physical machine, send a pre-upgrade network element service migration request for the physical machine to the Virtualized Network Function Manager (VNFM) of the Management and Orchestration (MANO) system. The pre-upgrade network element service migration request for the physical machine carries physical machine information. After receiving the first response from the VNFM of the MANO system, the task is completed. Send an evacuation request for all virtual machines on the physical machine to the NFVI. The evacuation request for all virtual machines on the physical machine carries the physical machine information. After receiving the second response from the NFVI, the task is completed. Send an upgrade request to the physical machine. After receiving the third response from the physical machine, the task is completed. Notify the Network Function Virtualization Infrastructure (NFVI) to include the upgraded physical machine in management and application.

[0259] Alternatively, divide the N physical machines into M groups, where M is an integer greater than or equal to 1. For all physical machines in each group, send a pre-upgrade network element service migration request for the physical machines to the VNFM of the MANO system. The pre-upgrade network element service migration request for the physical machines carries information of all physical machines in the group. After receiving the first response from the VNFM of the MANO system, the task is completed. Send an evacuation request for all virtual machines on the physical machines to the NFVI. The evacuation request for all virtual machines on the physical machines carries information of all physical machines in the group. After receiving the second response from the NFVI, the task is completed. Send an upgrade request to all physical machines in the group. After receiving the third response from all physical machines in the group, the task is completed. Notify the Network Function Virtualization Infrastructure (NFVI) to include all upgraded physical machines in the group in management and application.

[0260] Alternatively, divide the N physical machines into M groups, where M is an integer greater than or equal to 1. For each physical machine within each group, send a pre-upgrade network element service migration request for the physical machine to the VNFM of the MANO system. The pre-upgrade network element service migration request for the physical machine carries the physical machine information. After receiving the first response for all physical machines within the group from the VNFM of the MANO system, the task is completed. Send an evacuation request for all virtual machines on the physical machine to the NFVI. The evacuation request for all virtual machines on the physical machine carries the physical machine information. After receiving the second response for all physical machines within the group from the NFVI, the task is completed. Send an upgrade request to all physical machines within the group. After receiving the third response from all physical machines in the group, the task is completed. Notify the Network Function Virtualization Infrastructure (NFVI) to include all upgraded physical machines in the group in management and application.

[0261] Alternatively, initiate a pre-physical machine upgrade network element service migration request to the VNFM of the MANO system. The pre-physical machine upgrade network element service migration request carries information of N physical machines; upon receiving the first response from the VNFM of the MANO system that the task is completed; initiate an evacuation request for all virtual machines on the physical machine to the NFVI; wherein, the evacuation request for all virtual machines on the physical machine carries information of N physical machines; upon receiving the second response from the NFVI that the task is completed; initiate an upgrade request to N physical machines; upon receiving the third response from the N physical machines that the task is completed; notify the Network Function Virtualization Infrastructure NFVI to incorporate the N upgraded physical machines into management and application;

[0262] Alternatively, initiate a pre-physical machine upgrade network element service migration request to the VNFM of the MANO system. The pre-physical machine upgrade network element service migration request carries physical machine information; upon receiving the first response from the VNFM of the MANO system for the N physical machines that the task is completed; initiate an evacuation request for all virtual machines on the physical machine to the NFVI; wherein, the evacuation request for all virtual machines on the physical machine carries physical machine information; upon receiving the second response from the NFVI for the N physical machines that the task is completed; initiate an upgrade request to N physical machines; upon receiving the third response from the N physical machines that the task is completed; notify the Network Function Virtualization Infrastructure NFVI to incorporate the N upgraded physical machines into management and application;

[0263] VNFM1602 is configured to receive a pre-physical machine upgrade network element service migration request, which carries physical machine information or information of all physical machines in a group or information of N physical machines; identify virtual machines on the physical machine or all physical machines in a group or N physical machines, and network elements on the virtual machines according to the physical machine information or information of all physical machines in a group or information of N physical machines; initiate a service migration request to the network elements; receive the fourth response from the network elements that the task is completed; after receiving the fourth response from all network elements that the task is completed, send a first response that the task is completed;

[0264] Network element 1603 is configured to receive a service migration request, perform service migration, and send a fourth response that the task is completed;

[0265] NFVI1604 is configured to receive an evacuation request for all virtual machines on the physical machine; wherein, the evacuation request for all virtual machines on the physical machine carries physical machine information or information of all physical machines in a group or information of N physical machines; evacuate the virtual machines on the physical machine or all physical machines in a group or N physical machines to other physical machines; send a second response that the task is completed; wherein, N is an integer greater than or equal to 1;

[0266] The physical machine 1605 is configured to receive an upgrade request; download a new version, upgrade the physical machine to the new version; and send a third response indicating that the task is completed.

[0267] In an embodiment of the present invention, the upgrade module 1601 is an independently deployed device or a module provided in any one of the following devices:

[0268] The virtualization infrastructure manager VIM, the virtualization orchestrator NFVO, the operation support system (OSS), and the NFVI.

[0269] In an embodiment of the present invention, the upgrade module 1601 is further configured to:

[0270] Determine the upgrade order, and sequentially migrate the services of the network elements of the virtual machines on each physical machine according to the upgrade order; evacuate the virtual machines on the physical machine to other physical machines; perform the upgrade of the physical machine; and notify the network function virtualization infrastructure NFVI to incorporate the upgraded physical machine into management and application.

[0271] The specific implementation process of the above upgrade system is the same as that of the upgrade method in the foregoing embodiment, and will not be described in detail here.

[0272] Those of ordinary skill in the art will understand that all or some of the steps in the methods disclosed above, and the functional modules / units in systems and devices, can be implemented as software, firmware, hardware, or a suitable combination thereof. In the hardware implementation, the division of functional modules / units mentioned above does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be executed by several physical components in cooperation. Some or all components may be implemented as software executed by a processor, such as a digital signal processor or a microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit. Such software can be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or transitory medium). As is well known to those of ordinary skill in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information, such as computer-readable instructions, data structures, program modules, or other data. Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cassettes, tapes, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer. In addition, as is well known to those of ordinary skill in the art, a communication medium typically contains computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transmission mechanism, and may include any information delivery medium.

[0273] Although the embodiments disclosed in the embodiments of the present invention are as described above, the content described is only an embodiment adopted for the convenience of understanding the embodiments of the present invention, and is not intended to limit the embodiments of the present invention. Any person skilled in the art within the scope of the embodiments of the present invention can make any modifications and changes in the form and details of the implementation without departing from the spirit and scope disclosed in the embodiments of the present invention. However, the scope of patent protection of the embodiments of the present invention shall still be subject to the scope defined by the appended claims.

Claims

1. An upgrade method, which is applied to an upgrade module. The upgrade module is an independently deployed device, and the upgrade module is communicatively connected to a Management and Orchestration (MANO) system. The method includes: Determine N physical machines to be upgraded; where N is an integer greater than or equal to 1; For each physical machine, send a pre-upgrade network element service migration request for the physical machine to the Virtualized Network Function Manager (VNFM) of the MANO system. The pre-upgrade network element service migration request for the physical machine carries physical machine information; upon receiving the first response from the VNFM of the MANO system, the task is completed; evacuate the virtual machines on the physical machine to other physical machines; perform the upgrade of the physical machine; notify the Network Function Virtualization Infrastructure (NFVI) to incorporate the upgraded physical machine into management and application; Alternatively, divide the N physical machines into M groups; where M is an integer greater than or equal to 1; for all physical machines in each group, send a pre-upgrade network element service migration request for the physical machines in the group to the VNFM of the MANO system. The pre-upgrade network element service migration request for the physical machines in the group carries information of all physical machines in the group; upon receiving the first response from the VNFM of the MANO system, the task is completed; evacuate the virtual machines on all physical machines in the group to other physical machines; perform the upgrade of all physical machines in the group; notify the NFVI to incorporate all upgraded physical machines in the group into management and application; Alternatively, send a pre-upgrade network element service migration request for the physical machines to the VNFM of the MANO system. The pre-upgrade network element service migration request for the physical machines carries information of the N physical machines; upon receiving the first response from the VNFM of the MANO system, the task is completed; evacuate the virtual machines on the N physical machines to other physical machines; perform the upgrade of the N physical machines; notify the NFVI to incorporate the N upgraded physical machines into management and application; Wherein, the completion of the first response task is sent by the VNFM of the MANO system after the network element has completed service migration, and the network element performing the service migration is the network element related to the virtual machine running on the physical machine identified by the VNFM according to the physical machine information.

2. The method according to claim 1, characterized in that, The method further includes: Determine the upgrade order, and sequentially perform the migration of the services of the network elements of the virtual machines on each physical machine according to the upgrade order; evacuate the virtual machines on the physical machine to other physical machines; perform the upgrade of the physical machine; notify the NFVI to incorporate the upgraded physical machine into management and application.

3. The method according to claim 1, characterized in that Wherein, The evacuating the virtual machines on the physical machine to other physical machines includes: Send a request to evacuate all virtual machines on the physical machine to the NFVI; where the request to evacuate all virtual machines on the physical machine carries the physical machine information; upon receiving the second response from the NFVI, the task is completed; Alternatively, the evacuating the virtual machines on all physical machines in the group to other physical machines includes: For each physical machine in the group, evacuate the virtual machines on the physical machine to other physical machines; Alternatively, initiate evacuation requests for all virtual machines on the physical machine to the NFVI; wherein, all the virtual machine evacuation requests on the physical machine carry all the physical machine information of the group; upon receiving the second response from the NFVI, the task is completed; Alternatively, evacuating the virtual machines on N physical machines to other physical machines includes: For each of the N physical machines, evacuate the virtual machines on the physical machine to other physical machines; Alternatively, initiate evacuation requests for all virtual machines on the physical machine to the NFVI; wherein, all the virtual machine evacuation requests on the physical machine carry N physical machine information; upon receiving the second response from the NFVI, the task is completed.

4. The method according to claim 1, characterized in that, Wherein, Upgrading the physical machine includes: initiating an upgrade request to the physical machine; upon receiving the third response from the physical machine, the task is completed; Alternatively, upgrading all the physical machines in the group includes: initiating an upgrade request to all the physical machines in the group; upon receiving the third response from all the physical machines in the group, the task is completed; Alternatively, upgrading N physical machines includes: initiating an upgrade request to N physical machines; upon receiving the third response from the N physical machines, the task is completed.

5. An upgrade method, applied to a MANO system, the method includes: Receive a physical machine pre-upgrade network element service migration request sent by an upgrade module, the physical machine pre-upgrade network element service migration request carrying physical machine information or all the physical machine information of a group or N physical machine information; wherein, N is an integer greater than or equal to 1; wherein, the upgrade module is an independently deployed device; The VNFM of the MANO system identifies the virtual machines on the physical machine or all the physical machines in the group or N physical machines, and the network elements related to the virtual machines according to the physical machine information or all the physical machine information of the group or N physical machine information; The VNFM of the MANO system initiates a service migration request to the network element; receive the fourth response from the network element, and the task is completed; After the VNFM of the MANO system receives the fourth response from all network elements, send a first response to the upgrade module, and the task is completed.

6. An upgrade device, the upgrade device is communicatively connected to a Management and Orchestration (MANO) system, the upgrade device includes: A physical machine determination module, configured to determine N physical machines that need to be upgraded; wherein, N is an integer greater than or equal to 1; A first physical machine upgrade module, configured to: For each physical machine, initiate a physical machine pre-upgrade network element service migration request to the Virtual Network Function Manager (VNFM) of the Management and Orchestration (MANO) system, the physical machine pre-upgrade network element service migration request carrying physical machine information; upon receiving the first response from the VNFM of the MANO system, the task is completed; evacuate the virtual machines on the physical machine to other physical machines; upgrade the physical machine; notify the Network Function Virtualization Infrastructure (NFVI) to incorporate the upgraded physical machine into management and application; Alternatively, divide N physical machines into M groups; where M is an integer greater than or equal to 1; for all physical machines in each group, send a request for migrating network element services before physical machine upgrade to the VNFM of the MANO system, and the request for migrating network element services before physical machine upgrade carries information of all physical machines in the group; after receiving the first reply from the VNFM of the MANO system, the task is completed; evacuate virtual machines on all physical machines in the group to other physical machines; perform upgrades on all physical machines in the group; notify the network function virtualization infrastructure NFVI to incorporate all upgraded physical machines in the group into management and application; Alternatively, send a request for migrating network element services before physical machine upgrade to the VNFM of the MANO system, and the request for migrating network element services before physical machine upgrade carries information of N physical machines; after receiving the first reply from the VNFM of the MANO system, the task is completed; evacuate virtual machines on N physical machines to other physical machines; perform upgrades on N physical machines; notify the network function virtualization infrastructure NFVI to incorporate N upgraded physical machines into management and application; Among them, the upgrade device is an independently deployed device; among them, the completion of the first reply task is sent by the VNFM of the MANO system after the network element completes service migration, and the network element performing service migration is the network element related to the virtual machine running on the physical machine identified by the VNFM according to the physical machine information.

7. An upgrade device, comprising a processor and a computer-readable storage medium, wherein instructions are stored in the computer-readable storage medium, characterized in that, When the instruction is executed by the processor, the upgrade method according to any one of claims 1 to 5 is implemented.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, the steps of the upgrade method according to any one of claims 1 to 5 are implemented.

9. An upgrade system, comprising: An upgrade module, and the upgrade module is an independently deployed device; The upgrade module is used to determine N physical machines that need to be upgraded; where N is an integer greater than or equal to 1; For each physical machine, send a request for migrating network element services before physical machine upgrade to the virtual network element manager VNFM of the management and orchestration MANO system, and the request for migrating network element services before physical machine upgrade carries physical machine information; after receiving the first reply from the VNFM of the MANO system, the task is completed; send a request for evacuating all virtual machines on the physical machine to the NFVI; where the request for evacuating all virtual machines on the physical machine carries the physical machine information; after receiving the second reply from the NFVI, the task is completed; send an upgrade request to the physical machine; after receiving the third reply from the physical machine, the task is completed; notify the network function virtualization infrastructure NFVI to incorporate the upgraded physical machine into management and application; Alternatively, divide N physical machines into M groups; where M is an integer greater than or equal to 1; for all physical machines in each group, send a pre-upgrade network element service migration request for the physical machines to the VNFM of the MANO system, and the pre-upgrade network element service migration request for the physical machines carries information of all physical machines in the group; upon receiving the first reply from the VNFM of the MANO system, the task is completed; send an evacuation request for all virtual machines on the physical machines to the NFVI; where the evacuation request for all virtual machines on the physical machines carries information of all physical machines in the group; upon receiving the second reply from the NFVI, the task is completed; send an upgrade request to all physical machines in the group; upon receiving the third reply from all physical machines in the group, the task is completed; notify the network function virtualization infrastructure NFVI to include all upgraded physical machines in the group in management and application; Alternatively, divide N physical machines into M groups; where M is an integer greater than or equal to 1; for each physical machine in each group, send a pre-upgrade network element service migration request for the physical machine to the VNFM of the MANO system, and the pre-upgrade network element service migration request for the physical machine carries the physical machine information; upon receiving the first reply from the VNFM of the MANO system for all physical machines in the group, the task is completed; send an evacuation request for all virtual machines on the physical machines to the NFVI; where the evacuation request for all virtual machines on the physical machines carries the physical machine information; upon receiving the second reply from the NFVI for all physical machines in the group, the task is completed; send an upgrade request to all physical machines in the group; upon receiving the third reply from all physical machines in the group, the task is completed; notify the network function virtualization infrastructure NFVI to include all upgraded physical machines in the group in management and application; Alternatively, send a pre-upgrade network element service migration request for the physical machines to the VNFM of the MANO system, and the pre-upgrade network element service migration request for the physical machines carries information of N physical machines; upon receiving the first reply from the VNFM of the MANO system, the task is completed; send an evacuation request for all virtual machines on the physical machines to the NFVI; where the evacuation request for all virtual machines on the physical machines carries information of N physical machines; upon receiving the second reply from the NFVI, the task is completed; send an upgrade request to N physical machines; upon receiving the third reply from the N physical machines, the task is completed; notify the network function virtualization infrastructure NFVI to include N upgraded physical machines in management and application; Alternatively, initiate a pre-physical machine upgrade network element service migration request to the VNFM of the MANO system, where the pre-physical machine upgrade network element service migration request carries physical machine information; receive the completion of the first response task for N physical machines of the VNFM of the MANO system; initiate an evacuation request for all virtual machines on the physical machine to the NFVI; where the evacuation request for all virtual machines on the physical machine carries physical machine information; receive the completion of the second response task for N physical machines of the NFVI; initiate an upgrade request to N physical machines; receive the completion of the third response task for the N physical machines; notify the Network Function Virtualization Infrastructure NFVI to include the N upgraded physical machines in management and application; The VNFM is used to receive a pre-physical machine upgrade network element service migration request, where the pre-physical machine upgrade network element service migration request carries physical machine information or all physical machine information of a group or N physical machine information; identify virtual machines on the physical machine or all physical machines of a group or N physical machines and network elements related to the virtual machines according to the physical machine information or all physical machine information of a group or N physical machine information; initiate a service migration request to the network element; receive the completion of the fourth response task of the network element; after receiving the completion of the fourth response task of all network elements, send the completion of the first response task; The network element is used to receive a service migration request, perform service migration, and send the completion of the fourth response task; The NFVI is used to receive an evacuation request for all virtual machines on the physical machine; where the evacuation request for all virtual machines on the physical machine carries physical machine information or all physical machine information of a group or N physical machine information; evacuate virtual machines on the physical machine or all physical machines of a group or N physical machines to other physical machines; send the completion of the second response task; where N is an integer greater than or equal to 1; The physical machine is used to receive an upgrade request; download a new version and upgrade the physical machine to the new version; send the completion of the third response task.

10. The system according to claim 9, characterized in that, Wherein, The upgrade module is an independently deployed device or a module provided in any of the following devices: Virtualization Infrastructure Manager VIM, Virtualization Orchestrator NFVO, Operation Support System OSS, the NFVI.

Citation Information

Patent Citations

  • Physical machine upgrading method, and business migration method and device

    CN106301876A