WO2023050947A1 - Network upgrade method, electronic device and storage medium - Google Patents
Network upgrade method, electronic device and storage medium Download PDFInfo
- Publication number
- WO2023050947A1 WO2023050947A1 PCT/CN2022/102900 CN2022102900W WO2023050947A1 WO 2023050947 A1 WO2023050947 A1 WO 2023050947A1 CN 2022102900 W CN2022102900 W CN 2022102900W WO 2023050947 A1 WO2023050947 A1 WO 2023050947A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- entity
- host device
- information
- virtual machine
- service
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0813—Configuration setting characterised by the conditions triggering a change of settings
- H04L41/082—Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0895—Configuration of virtualised networks or elements, e.g. virtualised network function or OpenFlow elements
Definitions
- the present application relates to the technical field of communications, and in particular to a network upgrading method, electronic equipment and a storage medium.
- the European Telecommunications Standards Institute provides a reference architecture for network function virtualization (Network Functions Virtualization, NFV), which is dedicated to the deployment and implementation of network function virtualization in telecommunications.
- NFV Network Functions Virtualization
- VNF Virtual Network Feature
- DC Data Center
- Embodiments of the present application provide a network upgrading method, electronic equipment, and a storage medium.
- the embodiment of the present application provides a network upgrade method, which is applied to an infrastructure entity, and the infrastructure entity is connected to a management orchestration entity, and the management orchestration entity is connected to a network function entity, and the infrastructure entity includes A plurality of host devices, each of which includes a plurality of virtual machines, the method includes: sending first host device information to the management and orchestration entity, the first host device information being represented by the first host device in the first group the host device, so that the management and orchestration entity sends a service migration request to the network function entity according to the information of the first host device, so that the network function entity transfers the first host device according to the service migration request Migrate the services of the virtual machines corresponding to the device information; receive service migration completion information sent by the management and orchestration entity; perform upgrade processing on the host devices in the first group according to the service migration completion information.
- the embodiment of the present application also provides a network upgrade method, which is applied to a network function entity, the network function entity is connected to a management orchestration entity, the management orchestration entity is connected to an infrastructure entity, and the infrastructure entity It includes a plurality of host devices, each of which includes a plurality of virtual machines, and the method includes: receiving a service migration request sent by the management and orchestration entity, the service migration request being the management and orchestration entity according to the basis Generated by the first host device information sent by the facility entity, the first host device information is characterized as the host device in the first group; according to the service migration request, the virtual machine corresponding to the first host device information Migrate the business; send business migration success information to the management and orchestration entity, so that the management and orchestration entity sends service migration completion information to the infrastructure entity according to the business migration success information, so that the infrastructure The entity performs upgrade processing on the host devices in the first group according to the service migration completion information.
- the embodiment of the present application also provides a network upgrade method, which is applied to a management and orchestration entity, and the management and orchestration entity is respectively connected to an infrastructure entity and a network function entity, and the infrastructure entity includes a plurality of host devices, Each of the host devices includes a plurality of virtual machines, and the method includes: receiving first host device information sent by the infrastructure entity, the first host device information representing the host devices in the first group ; Sending a service migration request to the network function entity according to the first host device information, so that the network function entity performs migration processing on the service of the virtual machine corresponding to the first host device information according to the service migration request ; receiving service migration success information sent by the network function entity, and sending service migration completion information to the infrastructure entity according to the service migration success information, so that the infrastructure entity completes service migration information according to the service migration completion information performing upgrade processing on the host devices in the first group.
- the embodiment of the present application also provides an electronic device, which includes a memory and a processor, the memory stores a computer program, and when the processor executes the computer program, the computer program implemented in the first aspect of the present application is implemented.
- an electronic device which includes a memory and a processor, the memory stores a computer program, and when the processor executes the computer program, the computer program implemented in the first aspect of the present application is implemented.
- the embodiment of the present application further provides a computer-readable storage medium, the storage medium stores a program, and the program is executed by the processor to implement the network upgrade method described in the embodiment of the first aspect of the present application, Or the network upgrade method described in the embodiment of the second aspect of the present application, or the network upgrade method described in the embodiment of the third aspect of the present application.
- Fig. 1 is a NFV system architecture diagram provided by an embodiment of the present application
- FIG. 2 is a schematic flowchart of a network upgrade method provided by an embodiment of the present application
- FIG. 3 is a schematic flowchart of a network upgrade method provided in another embodiment of the present application.
- FIG. 4 is a schematic diagram of domain-specific deployment provided by an embodiment of the present application.
- FIG. 5 is a schematic flowchart of a network upgrade method provided in another embodiment of the present application.
- FIG. 6 is a schematic flowchart of a network upgrade method provided in another embodiment of the present application.
- FIG. 7 is a schematic flowchart of a network upgrade method provided in another embodiment of the present application.
- FIG. 8 is a schematic flowchart of a network upgrade method provided in another embodiment of the present application.
- FIG. 9 is an upgrade flowchart of a network upgrade method provided by an embodiment of the present application.
- Fig. 10 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
- multiple means more than two, greater than, less than, exceeding, etc. are understood as not including the original number, and above, below, within, etc. are understood as including the original number. If there is a description of "first”, “second”, etc., it is only for the purpose of distinguishing technical features, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features or implicitly indicating the indicated The sequence relationship of the technical characteristics.
- the ETSI's NFV reference architecture is shown in Figure 1.
- the NFV system architecture can be divided into management and orchestration domain (Management and Orchestration, MANO), business network domain and infrastructure domain.
- the business network domain is VNF
- the infrastructure domain is NFVI.
- the domain is responsible for the management and orchestration of the entire NFVI resource, and manages the VNF life cycle.
- VNF refers to the current telecom service network
- NFVI refers to the virtualization infrastructure, that is, the virtualization of computing, storage, and network.
- Network cloud technologies such as virtualization improve the utilization of system resources, effectively break the bottleneck of resource utilization, reduce hardware and operating costs, simplify operation and maintenance, reduce management costs, shorten service innovation and online time, and help telecom operators make more More time and cost are transferred to business investment, providing customers with a more friendly business experience, and ultimately creating value.
- NFV architecture design it is possible to achieve a unified construction of the infrastructure layer and deploy a large number of VNFs in one DC. With the participation of various equipment vendors, operators, technical organizations, etc., the decoupling of VNF and NFVI has been realized, so it also has the ability to deploy a large number of VNFs to a DC.
- VNFs There are a large number of VNFs, and the number of virtual machines reaches more than 10,000. Due to various reasons such as security hardening, hardware firmware upgrades, operating system upgrades, and network facility upgrades, devices in the resource pool will restart, causing servers, network devices, storage devices, etc. to restart or be interrupted, and virtual machines deployed on NFVI will also be affected. It is necessary to perform operations such as virtual shutdown and restart, which will inevitably affect VNF services and interrupt VNF services. With the construction of large-scale DCs and VNF deployments, how to ensure that VNFs will not be affected and services will not be interrupted when NFVI is upgraded becomes increasingly problematic. urgent.
- the business itself has a reliability design, and there are multiple mechanisms such as active/standby or load sharing among the modules to ensure the reliability of the service itself.
- active/standby virtual machine When a virtual machine in the active/standby virtual machine is reset, it can realize uninterrupted business ; When one or several virtual machines among the load sharing virtual machines are reset, no service interruption can be realized.
- the embodiments of the present application provide a network upgrade method, electronic equipment, and a storage medium, which can realize uninterrupted network services during the network upgrade process.
- the infrastructure entity in the embodiment of the present application is connected to the management and orchestration entity, and the management and orchestration entity is connected to the network function entity.
- the infrastructure entity includes multiple host devices, and each host device includes multiple virtual machines.
- the infrastructure entity in the embodiment can be the infrastructure domain in the NFV system architecture, and can also be cloud infrastructure such as cloud and resource pool;
- the network function entity can be the business network domain in the NFV system architecture, or it can be APP, upper layer Software such as applications and network functional entities can be used as standard telecom network elements.
- the network functional entity is essentially software, and its carrier is a virtual machine in the infrastructure entity.
- the hardware equipment of the virtual machine is generated by software simulation; management and orchestration
- the entity can be the management orchestration domain in the NFV system architecture, and can also be implemented by other logical entities or functional components, which can provide orchestration and management for the network function entity.
- the infrastructure entity is the infrastructure domain
- the network function The entity is a service network domain
- the management orchestration entity is an example of a management orchestration domain, but this is not a limitation of this embodiment of the application.
- an embodiment of the present application provides a network upgrade method applied to an infrastructure entity.
- the network upgrade method includes but is not limited to the following steps S110 to S130.
- Step S110 sending the first host device information to the management and arrangement entity, the first host device information is characterized as a host device in the first group, so that the management and arrangement entity sends a service migration request to the network function entity according to the first host device information, so that the network function entity migrates the service of the virtual machine corresponding to the first host device information according to the service migration request.
- the information of the first host device is represented as host devices in the first group
- the infrastructure entity divides multiple host devices into multiple groups, and when upgrading the hosts in the first batch, the The host device in the first group performs upgrade processing, and before the upgrade process, first sends the first host device information to the management and arrangement entity, so that the management and arrangement entity sends a service migration request to the network function entity according to the first host device information so that the network function entity migrates the service of the virtual machine corresponding to the first host device information according to the service migration request.
- the first host device information is the list information of the host devices in the first group that needs to be upgraded, and the infrastructure entity sends the list information of this batch of host devices that need to be upgraded to the management and arrangement entity, so as to Perform upgrade processing.
- Step S120 receiving service migration completion information sent by the management and arrangement entity.
- the network function entity migrates the business of the virtual machine corresponding to the first host device information to other hosts that do not need to be upgraded temporarily.
- the service migration completion information is generated by the management and orchestration entity after the business of the virtual machine corresponding to the first host device information is migrated, and the network function entity feeds back the service migration success information to the management and orchestration entity, Then the management and orchestration entity sends the service migration completion information to the infrastructure entity according to the business migration success information.
- the service migration completion information and the service migration success information can be information in the same field, or information in different fields. The embodiments of the present application do not specifically limit it.
- Step S130 upgrade the host devices in the first group according to the service migration completion information.
- the infrastructure device entity receives service migration completion information, indicating that the virtual machine services on the host devices in the first group have been migrated. The impact on the business will not lead to business interruption, so the basic device entity upgrades the host devices in the first group to complete the upgrade process of this batch of host devices.
- the first group may include multiple host devices, including a first host device and a second host device, and the first host device may be a single host device or a device group composed of multiple sub-host devices,
- the second host device can be a single host device or a device group composed of multiple sub-host devices.
- the network upgrade method in the embodiment of the present application can be to first upgrade the network of the first host device, and the infrastructure entity first sends a sub-host device containing the first group
- the first host device information of the first host device in the group is sent to the management and arrangement entity to migrate the virtual machine business on the first host device. After the migration is completed, the first host device is upgraded and then sent to the first group.
- the device information of the second host device is sent to the management and arrangement entity to upgrade the second host device. It can be understood that the upgrade of the first host device and the second host device is performed for the infrastructure entity for different host devices.
- the batch upgrade avoids service interruption and improves the reliability of the upgrade.
- the upgrade process includes shutting down or restarting the host device or the virtual machine on the host device, which is not specifically limited in this embodiment of the application.
- the first group may include multiple host devices, including a first host device and a second host device, and the first host device may be a single host device or a device group composed of multiple sub-host devices,
- the second host device may be a single host device or a device group composed of multiple sub-host devices, and the network upgrade method in the embodiment of the present application may be a network upgrade for the first host device, wherein the second host device has completed the upgrade process , so the basic device entity can perform network upgrades for the remaining first host devices in the first group.
- the batch upgrade of the host device avoids service interruption and improves the reliability of the upgrade.
- the network upgrade method in the embodiment of the present application can realize large-scale host device upgrades, divide the host devices into multiple batches, and the host devices in the first group specifically refer to the current batches that need to be upgraded
- the host devices are upgraded in batches, and during the upgrade process of each batch of host devices, the business on the virtual machine of the host device is migrated to the virtual machines of other host devices, avoiding the During the upgrade process of the internal host device, network services are interrupted. Therefore, the embodiment of the present application is applicable to large-scale scenarios, and the operation is simple, and the large-scale upgrade takes a short time.
- the above step S110 may further include: sending the first host device information to the management and orchestration entity, so that the management and orchestration entity sends a service migration request to the network function entity according to the first host device information, so that the network function entity according to The service migration request migrates the service of the virtual machine corresponding to the first host device information to the virtual machine corresponding to the second host device information, and the second host device information is represented as a host device in the second group.
- the infrastructure entity is provided with a plurality of host devices, and can be grouped, including being divided into a first group and a second group, wherein, in the process of upgrading the host devices in the first group
- the business of the virtual machine corresponding to the first host device information can be migrated to the virtual machine corresponding to the second host device information, and the second host device information is characterized as a host device in the second group, thereby avoiding confusion in business division,
- the business of the virtual machine corresponding to the first host device can be migrated to the first
- the embodiment of the present application takes the virtual machine migrated to the host device in the second group as an example, but this is not meant to limit the embodiment of the present application.
- step S110 it may also include but not limited to the following steps S210 to S220 .
- Step S210 receiving virtual machine domain division information sent by the management and orchestration entity.
- Step S220 grouping multiple host devices according to the virtual machine domain information to obtain first host device information and second host device information.
- the network function entity performs grouping processing during service deployment, the virtual machine domain information is obtained by the management and orchestration entity according to the network function entity, and then the infrastructure entity receives the virtual machine domain information sent by the management and orchestration entity, and according to the The virtual machine domain information is grouped, including grouping multiple host devices according to the virtual machine domain information to obtain the first host device information and the second host device information, wherein the first host device information and the second host device information The information respectively represents the host devices in the first group and the host devices in the second group.
- the infrastructure Entities are upgraded in batches based on the grouping obtained from the virtual machine domain information.
- first group and the second group are only for distinguishing technical features, and the second group can be characterized as the infrastructure entities except the first group.
- a certain group other than the first group, multiple groups other than the first group, or a certain group among the multiple groups other than the first group are not specifically limited in this application.
- a plurality of sub-HAs under the planned host cluster that is, carry out domain division, which is also equivalent to grouping, and define sub-HAs as SHA
- the number of SHAs can be set according to actual needs.
- the host cluster includes multiple host devices, and the SHA can be a single host device or a device group consisting of multiple sub-host devices.
- the network function entity that is, the VNF
- the virtual machine is divided into domains, and the host devices of the virtual machines with the same domain are divided into the same group.
- the VNFs configured on the virtual machines of the host devices in the first group are under the same domain, so in In the process of upgrading the host devices in the first group, the virtual machines deployed with other domain-specific VNFs will not be upgraded, so that the virtual machines in the same domain can be upgraded in the same batch, thereby avoiding business division confusion and ensuring For service reliability, it can be understood that the first group may be a certain SHA, and may also include multiple SHAs.
- the virtual machine domain division information is obtained by the network function entity after performing domain division processing according to the virtual machine type information and the virtual machine quantity information.
- the network function entity obtains a certain number of domains according to the type information of the virtual machine, and labels all virtual machines with domain division.
- the type information of the virtual machine corresponds to the domain division of the network function entity, and combines the number of virtual machines The information obtains the number of virtual machines, and the virtual machines are divided into domains based on the above characteristics, so that the divided virtual machines can be deployed to the same host device.
- the VNF is divided into multiple sub-domains according to the type information of the virtual machines during deployment, for example, divided into three sub-domains a, b, and c, and the VNF puts SHA tags on all virtual machines during deployment , can be obtained according to the upgrade_az parameter.
- SHA can be divided into three group tags of SHA1, SHA2, and SHA3, and divided into three groups.
- the type information of the virtual machine corresponds to the number of sub-domains, and the virtual The host device corresponding to the machine is added to SHA1, the host device corresponding to the virtual machine in domain b is added to SHA2, and the host device corresponding to the virtual machine in domain c is added to SHA3.
- SHA can be divided into four labels: SHA1, SHA2, SHA3, and SHA4, and a part of the host devices corresponding to the virtual machines in domain a is added to SHA1, and the other part
- the host device is added to SHA2
- the host device corresponding to the virtual machine in domain b is added to SHA3
- the host device corresponding to the virtual machine in domain c is added to SHA4, so as to complete the instantiation of the virtual machine.
- VNF virtual machines for virtual machines that do not need to be divided into domains, it means that the number of virtual machines within the reset permission range will not affect any domain business. This number is obtained from the backup_instance_number parameter, and some types of VNF virtual machines themselves It has multiple mechanisms such as active/standby or load sharing.
- the types of VNF virtual machines include management, interface, and processing. domain, there can be 20 VNF virtual machines of the processing type, but generally these 20 virtual machines are not distinguished, that is, the 20 processing type virtual machines do not need to be specially divided into domains, so they are deployed according to the backup_instance_number parameter , you can get the proportion and number of virtual machines.
- each group has 10, and can be marked with a and b labels respectively, and each 10 virtual machines can be added to SHA1
- host devices in SHA1 and SHA2 are upgraded in batches sequentially, so as to realize group processing of multiple host devices.
- the type and quantity of the virtual machine can also be obtained through other parameters, which are not specifically limited in the embodiment of the present application.
- the infrastructure entity after the infrastructure entity upgrades the host device, the infrastructure entity enters the maintenance state. In this state, operations such as creating and deleting virtual machines are no longer performed to reduce interference caused by other operations. .
- the above method may also include but not limited to the following steps: sending upgrade success information to the management and arrangement entity, the upgrade success information indicates that the host devices in the first group have successfully upgraded, so that the management and arrangement entity
- the entity sends a service fetch request to the network function entity according to the upgrade success information, so that the network function entity fetches the service to the virtual machine corresponding to the host device in the first group after the upgrade is successful according to the service fetch request.
- the services originally deployed on the virtual machines of the host devices in the first group need to be migrated back to upgrade other host devices.
- the host device in a group After the host device in a group is successfully upgraded, it sends an upgrade success message to the management and orchestration entity.
- the management and orchestration entity sends a service relocation request to the network function entity according to the upgrade success information.
- the restarted virtual machines will take on the business again, so that the next batch of host devices can be upgraded, ensuring that infrastructure entities can perform network upgrades during network upgrades. Restart but do not interrupt network services.
- the network function entity sends the service migration success information to the management and orchestration entity, and the infrastructure entity can also receive the service migration completion information sent by the management and orchestration entity,
- the information on the completion of service relocation and the successful information on service relocation can be information in the same field, or information in different fields, and this embodiment of the application does not specify it. limit.
- the infrastructure entity exits the maintenance state, and the infrastructure entity resumes normal operation.
- an embodiment of the present application also provides a network upgrade method applied to a network function entity.
- the network upgrade method includes but is not limited to the following steps S310 to S330.
- Step S310 receiving a service migration request sent by the management and orchestration entity.
- the service migration request is generated by the management and orchestration entity according to the first host device information sent by the infrastructure entity.
- the first host device information is represented as a host device in the first group.
- the information of the first host device is represented as host devices in the first group
- the infrastructure entity divides multiple host devices into multiple groups, and when upgrading the hosts in the first batch, the The host device in the first group performs upgrade processing, and before the upgrade process, first sends the first host device information to the management and arrangement entity, so that the management and arrangement entity sends a service migration request to the network function entity according to the first host device information , the network function entity receives the service migration request sent by the management and orchestration entity, and performs corresponding operations in response to the service migration request.
- the first host device information is the list information of the host devices in the first group that needs to be upgraded, and the infrastructure entity sends the list information of this batch of host devices that need to be upgraded to the management and arrangement entity, so as to Perform upgrade processing.
- step S320 the service of the virtual machine corresponding to the first host device information is migrated according to the service migration request.
- the network function entity migrates the business of the virtual machine corresponding to the first host device information to other hosts that do not need to be upgraded temporarily. virtual machine, so as to upgrade the host devices in the first group.
- Step S330 Send service migration success information to the management and orchestration entity, so that the management and orchestration entity sends service migration completion information to the infrastructure entity according to the service migration success information, so that the infrastructure entity performs service migration completion information according to the service migration completion information in the first group.
- the host device performs upgrade processing.
- the network function entity will feed back to the management orchestration entity, send service migration success information to the management orchestration entity, and then the management orchestration entity will send service migration completion information to the basic equipment according to the service migration success information Entity, the basic equipment entity receives the service migration completion information, indicating that the virtual machine services on the host devices in the first group have been migrated. At this time, upgrading these host devices will not affect the business on the hosts. It will not cause service interruption, so the basic device entity upgrades the host devices in the first group to complete the upgrade process of this batch of host devices.
- the service migration completion information and the service migration success information can be the same
- the information under the fields may also be the information under different fields, which is not specifically limited in this embodiment of the present application.
- the first group may include multiple host devices, including a first host device and a second host device, and the first host device may be a single host device or a device group composed of multiple sub-host devices,
- the second host device can be a single host device or a device group composed of multiple sub-host devices.
- the network upgrade method in the embodiment of the present application can be to first upgrade the network of the first host device, and the infrastructure entity first sends a sub-host device containing the first group
- the first host device information of the first host device in the group is sent to the management and orchestration entity, and the network function entity migrates the virtual machine service on the first host device after receiving the service migration request.
- the infrastructure entity After the migration is completed, the infrastructure entity The device is upgraded, and then the device information of the second host device in the first group is sent to the management and arrangement entity, and the second host device is upgraded. It can be understood that the first host device and the second host device are respectively Upgrading is carried out in batches for different host devices for infrastructure entities, which avoids business interruption and improves the reliability of the upgrade.
- the upgrade process includes shutting down or restarting the host device or the virtual machine on the host device.
- the embodiment of the application does not specifically limit it.
- the first group may include multiple host devices, including a first host device and a second host device, and the first host device may be a single host device or a device group composed of multiple sub-host devices,
- the second host device may be a single host device or a device group composed of multiple sub-host devices, and the network upgrade method in the embodiment of the present application may be a network upgrade for the first host device, wherein the second host device has completed the upgrade process , so the basic device entity can perform network upgrades for the remaining first host devices in the first group.
- the batch upgrade of the host device avoids service interruption and improves the reliability of the upgrade.
- the network upgrade method in the embodiment of the present application can realize large-scale host device upgrades, divide the host devices into multiple batches, and the host devices in the first group specifically refer to the current batches that need to be upgraded
- the host devices are upgraded in batches, and during the upgrade process of each batch of host devices, the network function entity migrates the services on the virtual machines of the host devices to the virtual machines of other host devices, avoiding infrastructure
- the network service is interrupted. Therefore, the embodiment of the present application is applicable to large-scale scenarios, and the operation is simple, and the large-scale upgrade takes a short time.
- the above step S320 may further include: migrating the service of the virtual machine corresponding to the first host device information to the virtual machine corresponding to the second host device information according to the service migration request, and the second host device information is characterized as the second Host devices in the group.
- the infrastructure entity is provided with a plurality of host devices, and can be grouped, including being divided into a first group and a second group, wherein, in the process of upgrading the host devices in the first group , the network function module can migrate the business of the virtual machine corresponding to the first host device information to the virtual machine corresponding to the second host device information, and the second host device information is characterized as a host device in the second group, thereby avoiding The service division is chaotic to ensure the reliability of the service.
- the network function entity can upgrade the virtual host device corresponding to the first host device.
- the business of the host machine is migrated to the virtual machine corresponding to the second host device in the first group.
- the embodiment of the present application takes the virtual machine migrated to the host device in the second group as an example, but it does not represent the implementation of the embodiment of the present application. limit.
- step S310 may also include but not limited to the following steps: sending the virtual machine domain division information to the management orchestration entity, so that the management orchestration entity sends the virtual machine domain division information to the infrastructure entity, so that the infrastructure The facility entity groups the multiple host devices according to the virtual machine domain information, and obtains information about the first host device and information about the second host device.
- the network function entity performs grouping processing during service deployment, the network function entity sends virtual machine domain division information to the management and orchestration entity, and then the infrastructure entity receives the virtual machine domain division information sent by the management and orchestration entity, and according to the virtual machine Machine domain information is grouped, including grouping multiple host devices according to the virtual machine domain information to obtain the first host device information and the second host device information, wherein the first host device information and the second host device information Respectively characterize the host devices in the first group and the host devices in the second group.
- the infrastructure entity Batch upgrades are carried out according to the grouping obtained from the virtual machine domain information.
- first group and the second group are only for distinguishing technical characteristics, and the second group can be characterized as the first group in the infrastructure entity.
- a certain group other than the first group, multiple groups other than the first group, or one of the multiple groups other than the first group, this application does not specifically limit it
- the host cluster includes multiple host devices.
- the SHA can be a single host device or a device group consisting of multiple sub-host devices.
- the VNF configured on the virtual machines of the host device in the first group is under the same domain, so in the first group During the upgrade process of the host device, the virtual machines deployed with other domain-specific VNFs will not be upgraded, so that the virtual machines in the same domain can be upgraded in the same batch, thereby avoiding business division confusion and ensuring business reliability.
- the first group may be a certain SHA, and may also include multiple SHAs.
- the above step of sending the virtual machine domain division information to the management and arrangement entity may further include the following step: performing domain division processing according to the virtual machine type information and the virtual machine quantity information to obtain the virtual machine domain division information.
- the virtual machine domain division information is obtained by the network function entity after performing domain division processing according to the virtual machine type information and the virtual machine quantity information.
- the network function entity obtains a certain number of domains according to the type information of the virtual machine, and labels all virtual machines with domain division.
- the type information of the virtual machine corresponds to the domain division of the network function entity, and combines the number of virtual machines The information obtains the number of virtual machines, and the virtual machines are divided into domains based on the above characteristics, so that the divided virtual machines can be deployed to the same host device.
- the VNF is divided into multiple sub-domains according to the type information of the virtual machines during deployment, for example, divided into three sub-domains a, b, and c, and the VNF puts SHA tags on all virtual machines during deployment , can be obtained according to the upgrade_az parameter.
- SHA can be divided into three group tags of SHA1, SHA2, and SHA3, and divided into three groups.
- the type information of the virtual machine corresponds to the number of sub-domains, and the virtual The host device corresponding to the machine is added to SHA1, the host device corresponding to the virtual machine in domain b is added to SHA2, and the host device corresponding to the virtual machine in domain c is added to SHA3.
- SHA can be divided into four labels: SHA1, SHA2, SHA3, and SHA4, and a part of the host devices corresponding to the virtual machines in domain a is added to SHA1, and the other part
- the host device is added to SHA2
- the host device corresponding to the virtual machine in domain b is added to SHA3
- the host device corresponding to the virtual machine in domain c is added to SHA4, so as to complete the instantiation of the virtual machine.
- VNF virtual machines for virtual machines that do not need to be divided into domains, it means that the number of virtual machines within the reset permission range will not affect any domain business. This number is obtained from the backup_instance_number parameter, and some types of VNF virtual machines themselves It has multiple mechanisms such as active/standby or load sharing.
- the types of VNF virtual machines include management, interface, and processing. domain, there can be 20 VNF virtual machines of the processing type, but generally these 20 virtual machines are not distinguished, that is, the 20 processing type virtual machines do not need to be specially divided into domains, so they are deployed according to the backup_instance_number parameter , you can get the proportion and number of virtual machines.
- each group has 10, and can be marked with a and b labels respectively, and each 10 virtual machines can be added to SHA1
- host devices in SHA1 and SHA2 are upgraded in batches sequentially, so as to realize group processing of multiple host devices.
- the type and quantity of the virtual machine can also be obtained through other parameters, which are not specifically limited in the embodiment of the present application.
- the above method may further include but not limited to the following steps S410 to S420.
- Step S410 receiving a service relocation request sent by the management and orchestration entity.
- the service relocation request is generated by the management and orchestration entity according to the upgrade success information sent by the infrastructure entity.
- Step S420 According to the service reversion request, the service is relocated to the virtual machine corresponding to the host device in the first group after the upgrade is successful.
- the network function entity receives the service relocation request sent by the management and orchestration entity.
- the service relocation request is generated by the management and orchestration entity based on the upgrade success information sent by the infrastructure entity.
- the business is moved back to the virtual machine corresponding to the host device in the first group after the upgrade is successful. After the business is moved back, the restarted virtual machine will assume the business again so that the next batch of host devices can be upgraded, ensuring the basic The facility entity restarts when the network is upgraded but does not interrupt network services.
- the network function entity sends the service migration success information to the management and orchestration entity, and can also send the service migration completion information to the infrastructure according to the service migration success information entity, so as to upgrade other host devices.
- the information on the completion of service relocation and the successful information on service relocation can be information in the same field or information in different fields. This embodiment of the application does not Make specific restrictions.
- an embodiment of the present application provides a network upgrade method applied to an infrastructure entity.
- the network upgrade method includes but is not limited to the following steps S510 to S530.
- Step S510 receiving first host device information sent by the infrastructure entity, where the first host device information represents a host device in the first group.
- the information of the first host device is represented as host devices in the first group
- the infrastructure entity divides multiple host devices into multiple groups, and when upgrading the hosts in the first batch, the The host devices in the first group perform upgrade processing, and before the upgrade process, first send the first host device information to the management arrangement entity, and the management arrangement entity receives the service migration request sent by the first host device information, so that the management arrangement The entity performs corresponding operations according to the service migration request.
- the first host device information is the list information of the host devices in the first group that needs to be upgraded, and the infrastructure entity sends the list information of this batch of host devices that need to be upgraded to the management and arrangement entity, so as to Perform upgrade processing.
- Step S520 Send a service migration request to the network function entity according to the first host device information, so that the network function entity migrates the service of the virtual machine corresponding to the first host device information according to the service migration request.
- the management and orchestration entity in response to the first host device information sent by the basic device entity, sends a service migration request to the network function entity according to the first host device information, so that the network function entity corresponds to the first host device information
- the business of the virtual machine is migrated to other virtual machines on other hosts that do not need to be upgraded temporarily.
- Step S530 Receive service migration success information sent by the network function entity, and send service migration completion information to the infrastructure entity according to the service migration success information, so that the infrastructure entity performs service migration completion information on the host devices in the first group according to the service migration completion information. Escalation process.
- the network function entity feeds back service migration success information to the management and arrangement entity, and the management and arrangement entity receives the service migration success information sent by the network function entity, and then the management and arrangement entity
- the success message sends the service migration completion information to the basic equipment entity, so that the infrastructure entity can upgrade the host equipment in the first group according to the service migration completion information, and the basic equipment entity receives the service migration completion information, indicating that the first group
- the virtual machine services on the internal host devices have been migrated. Upgrading these host devices at this time will not affect the services on the hosts and will not cause service interruption.
- the host device performs the upgrade process to complete the upgrade process of this batch of host devices.
- the business migration completion information and the business migration success information can be information in the same field or information in different fields. This application implements The example does not impose specific restrictions on it.
- the first group may include multiple host devices, including a first host device and a second host device, and the first host device may be a single host device or a device group composed of multiple sub-host devices,
- the second host device can be a single host device or a device group consisting of multiple sub-host devices.
- the network upgrade method in the embodiment of the present application can first target the network upgrade of the first host device, and the management and arrangement entity first receives the infrastructure entity first. Send the first host device information including the first host device in the first group, and send a service migration request to the network function entity to migrate the virtual machine service on the first host device according to the first host device information.
- the infrastructure The entity performs upgrade processing on the first host device, and then the management and arrangement entity receives the device information of the second host device in the first group, and performs upgrade processing on the second host device. It can be understood that the first host device and the The second host device is upgraded, and the infrastructure entity is upgraded in batches for different host devices, which avoids business interruption and improves the reliability of the upgrade.
- the upgrade process includes shutting down the host device or the virtual machine on the host device or reboot, which is not specifically limited in this embodiment of the application.
- the first group may include multiple host devices, including a first host device and a second host device, and the first host device may be a single host device or a device group composed of multiple sub-host devices,
- the second host device may be a single host device or a device group composed of multiple sub-host devices, and the network upgrade method in the embodiment of the present application may be a network upgrade for the first host device, wherein the second host device has completed the upgrade process , so the basic device entity can perform network upgrades for the remaining first host devices in the first group.
- the batch upgrade of the host device avoids service interruption and improves the reliability of the upgrade.
- the network upgrade method in the embodiment of the present application can realize large-scale host device upgrades, divide the host devices into multiple batches, and the host devices in the first group specifically refer to the current batches that need to be upgraded
- the host devices are upgraded in batches, and during the upgrade process of each batch of host devices, the business on the virtual machine of the host device is migrated to the virtual machines of other host devices, avoiding the During the upgrade process of the internal host device, network services are interrupted. Therefore, the embodiment of the present application is applicable to large-scale scenarios, and the operation is simple, and the large-scale upgrade takes a short time.
- the above step S520 may further include: sending a service migration request to the network function entity according to the first host device information, so that the network function entity migrates the service of the virtual machine corresponding to the first host device information according to the service migration request To the virtual machine corresponding to the second host device information, the second host device information represents a host device in the second group.
- the infrastructure entity is provided with a plurality of host devices, and can be grouped, including being divided into a first group and a second group, wherein, in the process of upgrading the host devices in the first group
- the business of the virtual machine corresponding to the first host device information can be migrated to the virtual machine corresponding to the second host device information, and the second host device information is characterized as a host device in the second group, thereby avoiding confusion in business division,
- the business of the virtual machine corresponding to the first host device can be migrated to the first
- the embodiment of the present application takes the virtual machine migrated to the host device in the second group as an example, but this is not meant to limit the embodiment of the present application.
- step S510 may also include but not limited to the following steps: receiving the virtual machine domain information sent by the network function entity, and sending the virtual machine domain information to the infrastructure entity, so that the infrastructure entity
- the virtual machine domain division information performs group processing on multiple host devices to obtain first host device information and second host device information.
- the network function entity performs grouping processing during service deployment
- the management and orchestration entity receives the virtual machine domain information sent by the network function entity, and sends the virtual machine domain information to the infrastructure entity, and then the infrastructure entity receives the management
- the virtual machine domain information sent by the orchestration entity is grouped according to the virtual machine domain information, including grouping multiple host devices according to the virtual machine domain information to obtain the first host device information and the second host device information, wherein, the first host device information and the second host device information represent the host devices in the first group and the host devices in the second group respectively, and during the process of upgrading the host devices in the first group, the network
- the infrastructure entities perform batch upgrades based on the groups obtained from the domain division information of the virtual machines.
- first group and the second group are only for distinguishing technical
- a group may be characterized as a group other than the first group, a group other than the first group, or a group of groups other than the first group within the infrastructure entity, This application does not specifically limit
- the host cluster includes multiple host devices.
- the SHA can be a single host device or a device group consisting of multiple sub-host devices.
- the VNF configured on the virtual machines of the host device in the first group is under the same domain, so in the first group During the upgrade process of the host device, the virtual machines deployed with other domain-specific VNFs will not be upgraded, so that the virtual machines in the same domain can be upgraded in the same batch, thereby avoiding business division confusion and ensuring business reliability.
- the first group may be a certain SHA, and may also include multiple SHAs.
- the virtual machine domain division information is obtained by the network function entity after performing domain division processing according to the virtual machine type information and the virtual machine quantity information.
- the network function entity obtains a certain number of domains according to the type information of the virtual machine, and labels all virtual machines with domain division.
- the type information of the virtual machine corresponds to the domain division of the network function entity, and combines the number of virtual machines The information obtains the number of virtual machines, and the virtual machines are divided into domains based on the above characteristics, so that the divided virtual machines can be deployed to the same host device.
- the VNF is divided into multiple sub-domains according to the type information of the virtual machines during deployment, for example, divided into three sub-domains a, b, and c, and the VNF puts SHA tags on all virtual machines during deployment , can be obtained according to the upgrade_az parameter.
- SHA can be divided into three group tags of SHA1, SHA2, and SHA3, and divided into three groups.
- the type information of the virtual machine corresponds to the number of sub-domains, and the virtual The host device corresponding to the machine is added to SHA1, the host device corresponding to the virtual machine in domain b is added to SHA2, and the host device corresponding to the virtual machine in domain c is added to SHA3.
- SHA can be divided into four labels: SHA1, SHA2, SHA3, and SHA4, and a part of the host devices corresponding to the virtual machines in domain a is added to SHA1, and the other part
- the host device is added to SHA2
- the host device corresponding to the virtual machine in domain b is added to SHA3
- the host device corresponding to the virtual machine in domain c is added to SHA4, so as to complete the instantiation of the virtual machine.
- VNF virtual machines for virtual machines that do not need to be divided into domains, it means that the number of virtual machines within the reset permission range will not affect any domain business. This number is obtained from the backup_instance_number parameter, and some types of VNF virtual machines themselves It has multiple mechanisms such as active/standby or load sharing.
- the types of VNF virtual machines include management, interface, and processing. domain, there can be 20 VNF virtual machines of the processing type, but generally these 20 virtual machines are not distinguished, that is, the 20 processing type virtual machines do not need to be specially divided into domains, so they are deployed according to the backup_instance_number parameter , you can get the proportion and number of virtual machines.
- each group has 10, and can be marked with a and b labels respectively, and each 10 virtual machines can be added to SHA1
- host devices in SHA1 and SHA2 are upgraded in batches sequentially, so as to realize group processing of multiple host devices.
- the type and quantity of the virtual machine can also be obtained through other parameters, which are not specifically limited in the embodiment of the present application.
- the above method may further include but not limited to the following steps S610 to S620.
- Step S610 receiving the upgrade success information sent by the infrastructure entity.
- Step S620 Send a service relocation request to the network function entity according to the upgrade success information, so that the network function entity reverts the service to the virtual machine corresponding to the host device in the first group after the upgrade is successful according to the service relocation request.
- the management and orchestration entity receives the upgrade success information sent by the infrastructure entity, and the management and orchestration entity sends a service relocation request to the network function entity according to the upgrade success information, so that the network function entity will transfer the service according to the service relocation request. Move back to the virtual machine corresponding to the host device in the first group after the upgrade is successful. After the business is moved back, the restarted virtual machine will take on the business again, so that the next batch of host devices can be upgraded, ensuring the infrastructure The entity restarts when the network is upgraded but does not interrupt network services.
- the management and orchestration entity receives the service migration success information sent by the network function entity, and may also send the service migration completion information to the basic Facility entities, so as to upgrade other host devices.
- the information on the completion of business relocation and the successful information on business relocation can be information in the same field, or information in different fields. This embodiment of the application is not correct. It has specific restrictions.
- Embodiment 1 The following is the domain-specific deployment process in a specific embodiment of the present application.
- SHA sub-HA
- the number of SHAs can be limited, otherwise it will cause too many batches and long operation time.
- the number of SHAs can be set to 4, and the number of SHAs can be set according to actual needs.
- a single VNF in each SHA can deploy at most one domain-specific virtual machine.
- the virtual machines in domain a can be deployed to SHA1 and SHA2, but SHA1 will no longer deploy virtual machines in domains b and c. This ensures that SHA The host device in the same batch can be upgraded and restarted.
- Each VNF needs to divide all virtual machines into domains.
- the business has integrity in one domain. Restarting of all virtual machines or some virtual machines in one domain will not affect the business of another domain. However, the business of one domain is allowed to be completely migrated to another domain to ensure that when a virtual machine in this domain restarts No business interruption.
- VNF When the VNF is deployed, it tags all virtual machines with SHA (that is, the domain division above) according to the upgrade_az parameter. The number of virtual machines within the range does not affect any domain business. The number is controlled by the backup_instance_number parameter. A natural number indicates the number, and a decimal indicates the ratio.
- MANO When MANO is deployed, it sends the upgrade_az and backup_instance_number parameters to NFVI.
- the corresponding host device When NFVI instantiates the virtual machine, according to the domain information of the virtual machine (including at least one of the upgrade_az parameter and the backup_instance_number parameter), the corresponding host device is automatically added to the corresponding SHA, so that after the instantiation is completed, it will automatically Create SHA batches to realize group processing.
- Embodiment 2 as shown in FIG. 9 , the following is an upgrade process in a specific embodiment of the present application: when NFVI performs an upgrade operation, it first performs maintenance status, and no longer performs operations such as creating or deleting a virtual machine, reducing other operations For the interference caused, NFVI performs batching according to the parameters passed by VNF through MANO when it is instantiated. When each batch of hosts is upgraded and restarted, the reliability mechanism of the VNF can ensure that the business will not be interrupted.
- the NFVI sends the first batch of host device list information to the MANO, that is, sends the first host device information of the host devices in the first group to the MANO.
- MANO identifies the VNFs corresponding to the virtual machines on the batch of host devices, notifies the VNFs of the identified virtual machines corresponding information, and sends a service migration request to the VNFs.
- VNF receives the service migration request sent by MANO, confirms that the corresponding virtual machine will be restarted soon, and performs service migration by unloading methods such as active-standby switchover and load sharing for the corresponding service. 1.
- Load sharing and offloading to complete service migration are examples, but it does not represent a limitation to this embodiment of the application.
- VNF After the VNF completes the service migration, it sends a service migration success message to the MANO, indicating that the corresponding virtual machine service has been uninstalled and can be restarted.
- MANO sends service migration completion information to NFVI according to the service migration success information.
- NFVI upgrades and restarts the batch of host devices, that is, upgrades the host devices in the first group.
- NFVI waits for the batch of host devices to be restarted, the upgrade is successful, and after the virtual machine is started normally, it will send an upgrade success message to MANO, indicating that the upgrade of this batch of hosts is complete.
- MANO identifies the VNF corresponding to the host device in the first group that has been successfully upgraded, and sends a service migration request to the VNF to migrate the service back to the original host device.
- the VNF performs service relocation, and the restarted virtual machine assumes the service again. After the relocation is completed, a service relocation success message is sent to inform the MANO that the relocation is successful.
- the MANO sends a migration completion message to notify the NFVI of the completion of the migration based on the successful migration information.
- the first batch of host devices was successfully upgraded. Due to the linkage process between NFVI, MANO, and VNF, it is guaranteed that NFVI restarts the host devices during the upgrade but does not interrupt the business. The other batches of host devices restart later. The process and The first batch is consistent, repeat until all host devices are upgraded and restarted.
- NFVI exits maintenance mode and resumes normal operation.
- FIG. 10 shows an electronic device 100 provided by an embodiment of the present application.
- the electronic device 100 includes: a processor 101, a memory 102, and a computer program stored on the memory 102 and operable on the processor 101, and the computer program is used to execute the above-mentioned network upgrade method when running.
- the processor 101 and the memory 102 may be connected through a bus or in other ways.
- the memory 102 as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs and non-transitory computer-executable programs, such as the network upgrade method described in the embodiment of this application.
- the processor 101 executes the non-transitory software programs and instructions stored in the memory 102 to implement the above-mentioned network upgrade method.
- the memory 102 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application program required by at least one function; the data storage area may store and execute the above-mentioned network upgrade method.
- the memory 102 may include a high-speed random access memory 102, and may also include a non-transitory memory 102, such as at least one storage device, a flash memory device or other non-transitory solid-state storage devices.
- the memory 102 may optionally include memory 102 remotely located relative to the processor 101 , and these remote memory 102 may be connected to the electronic device 100 through a network. Examples of the aforementioned networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
- the non-transitory software programs and instructions required to realize the above-mentioned network upgrade method are stored in the memory 102, and when executed by one or more processors 101, the above-mentioned network upgrade method is executed, for example, the method steps in FIG. 2 are executed S110 to step S130, method step S210 to step S220 in Fig. 3, method step S310 to step S330 in Fig. 5, method step S410 to step S420 in Fig. 6, method step S510 to step S530 in Fig. 7, Fig. Step S610 to step S620 of the method in 8.
- the device embodiments described above are only illustrative, and the units described as separate components may or may not be physically separated, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
- the embodiments of the present application at least include the following beneficial effects:
- the embodiments of the present application provide a network upgrade method, electronic equipment, and storage media, wherein the network upgrade method can be applied to an infrastructure entity, a network function entity, or a management and orchestration entity.
- the host device in the infrastructure entity When the host device in the infrastructure entity is upgraded, it first sends the information of the first host device represented as the host device in the first group to the management arrangement entity, and the management arrangement entity obtains the service migration request according to the information of the first host device and sends it to In the network function entity, the network function entity migrates the service of the virtual machine corresponding to the first host device information according to the service migration request, and then the infrastructure entity upgrades the host device that has completed the service migration.
- the services on the virtual machine of the internal host device have been migrated to other host devices that do not need to be upgraded, so the embodiments of the present application can realize uninterrupted network services during the network upgrade process.
- Computer storage media including, but not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cartridges, magnetic tape, storage device storage or other magnetic storage devices, or Any other medium that can be used to store desired information and that can be accessed by a computer.
- communication media typically embody computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media .
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Description
相关申请的交叉引用Cross References to Related Applications
本申请基于申请号为202111152285.7、申请日为2021年9月29日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。This application is based on a Chinese patent application with application number 202111152285.7 and a filing date of September 29, 2021, and claims the priority of this Chinese patent application. The entire content of this Chinese patent application is hereby incorporated by reference into this application.
本申请涉及通信技术领域,特别是涉及一种网络升级方法、电子设备及存储介质。The present application relates to the technical field of communications, and in particular to a network upgrading method, electronic equipment and a storage medium.
欧洲电信标准化协会(European Telecommunications Standards Institute,ETSI)提供了一种电信网络功能虚拟化(Network Functions Virtualization,NFV)的参考架构,致力于将电信网络功能虚拟化部署并实施,参考NFV架构设计,可以达到统一建设基础设施层,可将大量的虚拟化网络功能(Virtual Network Feature,VNF)部署到一个数据中心(Data Center,DC)内,也即硬件资源池内。相关技术中,随着网络功能虚拟化基础设施(NFV infrastructure,NFVI)技术的发展,需要对硬件资源池内设备进行升级或重启,部署在NFVI上的虚拟机也会受到影响,在设备进行升级或重启的过程中需要进行虚拟机的关机、重启等操作,导致网络业务出现中断。The European Telecommunications Standards Institute (ETSI) provides a reference architecture for network function virtualization (Network Functions Virtualization, NFV), which is dedicated to the deployment and implementation of network function virtualization in telecommunications. Referring to the NFV architecture design, you can To achieve a unified construction of the infrastructure layer, a large number of virtualized network functions (Virtual Network Feature, VNF) can be deployed in a data center (Data Center, DC), that is, a hardware resource pool. In related technologies, with the development of network function virtualization infrastructure (NFV infrastructure, NFVI) technology, it is necessary to upgrade or restart the devices in the hardware resource pool, and the virtual machines deployed on NFVI will also be affected. During the restart process, operations such as shutting down and restarting the virtual machine are required, resulting in interruption of network services.
发明内容Contents of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics described in detail in this article. This summary is not intended to limit the scope of the claims.
本申请实施例提供了一种网络升级方法、电子设备及存储介质。Embodiments of the present application provide a network upgrading method, electronic equipment, and a storage medium.
第一方面,本申请实施例提供了一种网络升级方法,应用于基础设施实体,所述基础设施实体与管理编排实体连接,所述管理编排实体与网络功能实体连接,所述基础设施实体包括多个主机设备,每一个所述主机设备包括多个虚拟机,所述方法包括:向所述管理编排实体发送第一主机设备信息,所述第一主机设备信息表征为第一群组内的所述主机设备,以使所述管理编排实体根据所述第一主机设备信息向所述网络功能实体发送业务迁移请求,以使所述网络功能实体根据所述业务迁移请求将所述第一主机设备信息对应的虚拟机的业务进行迁移处理;接收所述管理编排实体发送的业务迁移完成信息;根据所述业务迁移完成信息对所述第一群组内的所述主机设备进行升级处理。In the first aspect, the embodiment of the present application provides a network upgrade method, which is applied to an infrastructure entity, and the infrastructure entity is connected to a management orchestration entity, and the management orchestration entity is connected to a network function entity, and the infrastructure entity includes A plurality of host devices, each of which includes a plurality of virtual machines, the method includes: sending first host device information to the management and orchestration entity, the first host device information being represented by the first host device in the first group the host device, so that the management and orchestration entity sends a service migration request to the network function entity according to the information of the first host device, so that the network function entity transfers the first host device according to the service migration request Migrate the services of the virtual machines corresponding to the device information; receive service migration completion information sent by the management and orchestration entity; perform upgrade processing on the host devices in the first group according to the service migration completion information.
第二方面,本申请实施例还提供了一种网络升级方法,应用于网络功能实体,所述网络功能实体与管理编排实体连接,所述管理编排实体与基础设施实体连接,所述基础设施实体包括多个主机设备,每一个所述主机设备包括多个虚拟机,所述方法包括:接收所述管理编排实体发送的业务迁移请求,所述业务迁移请求为所述管理编排实体根据所述基础设施实体发送的第一主机设备信息所生成,所述第一主机设备信息表征为第一群组内的所述主机设备;根据所述业务迁移请求将所述第一主机设备信息对应的虚拟机的业务进行迁移处理;向所述管理编排实体发送业务迁移成功信息,以使所述管理编排实体根据所述业务迁移成功信息向所述基础设施实体发送业务迁移完成信息,以使所述基础设施实体根据所述业务迁移完成信息对所述第一群组内的所述主机设备进行升级处理。In the second aspect, the embodiment of the present application also provides a network upgrade method, which is applied to a network function entity, the network function entity is connected to a management orchestration entity, the management orchestration entity is connected to an infrastructure entity, and the infrastructure entity It includes a plurality of host devices, each of which includes a plurality of virtual machines, and the method includes: receiving a service migration request sent by the management and orchestration entity, the service migration request being the management and orchestration entity according to the basis Generated by the first host device information sent by the facility entity, the first host device information is characterized as the host device in the first group; according to the service migration request, the virtual machine corresponding to the first host device information Migrate the business; send business migration success information to the management and orchestration entity, so that the management and orchestration entity sends service migration completion information to the infrastructure entity according to the business migration success information, so that the infrastructure The entity performs upgrade processing on the host devices in the first group according to the service migration completion information.
第三方面,本申请实施例还提供了一种网络升级方法,应用于管理编排实体,所述管理编排实体分别与基础设施实体和网络功能实体连接,所述基础设施实体包括多个主机设备,每一个所述主机设备包括多个虚拟机,所述方法包括:接收所述基础设施实体发送的第一主机设备信息,所述第一主机设备信息表征为第一群组内的所述主机设备;根据所述第一主机设备信息向所述网络功能实体发送业务迁移请求,以使所述网络功能实体根据所述业务迁移请求将所述第一主机设备信息对应的虚拟机的业务进行迁移处理;接收所述网络功能实体发送的业务迁移成功信息,并根据所述业务迁移成功信息向所述基础设施实体发送业务迁移完成信息,以使所述基础设施实体根据所述业务迁移完成信息对所述第一群组内的所述主机设 备进行升级处理。In a third aspect, the embodiment of the present application also provides a network upgrade method, which is applied to a management and orchestration entity, and the management and orchestration entity is respectively connected to an infrastructure entity and a network function entity, and the infrastructure entity includes a plurality of host devices, Each of the host devices includes a plurality of virtual machines, and the method includes: receiving first host device information sent by the infrastructure entity, the first host device information representing the host devices in the first group ; Sending a service migration request to the network function entity according to the first host device information, so that the network function entity performs migration processing on the service of the virtual machine corresponding to the first host device information according to the service migration request ; receiving service migration success information sent by the network function entity, and sending service migration completion information to the infrastructure entity according to the service migration success information, so that the infrastructure entity completes service migration information according to the service migration completion information performing upgrade processing on the host devices in the first group.
第四方面,本申请实施例还提供了一种电子设备,其中,包括存储器、处理器,所述存储器存储有计算机程序,所述处理器执行所述计算机程序时实现如本申请第一方面实施例所述的网络升级方法,或者如本申请第二方面实施例所述的网络升级方法,或者如本申请第三方面实施例所述的网络升级方法。In the fourth aspect, the embodiment of the present application also provides an electronic device, which includes a memory and a processor, the memory stores a computer program, and when the processor executes the computer program, the computer program implemented in the first aspect of the present application is implemented. The network upgrade method described in the example, or the network upgrade method described in the embodiment of the second aspect of the present application, or the network upgrade method described in the embodiment of the third aspect of the present application.
第五方面,本申请实施例还提供了一种计算机可读存储介质,所述存储介质存储有程序,所述程序被处理器执行实现如本申请第一方面实施例所述的网络升级方法,或者如本申请第二方面实施例所述的网络升级方法,或者如本申请第三方面实施例所述的网络升级方法。In the fifth aspect, the embodiment of the present application further provides a computer-readable storage medium, the storage medium stores a program, and the program is executed by the processor to implement the network upgrade method described in the embodiment of the first aspect of the present application, Or the network upgrade method described in the embodiment of the second aspect of the present application, or the network upgrade method described in the embodiment of the third aspect of the present application.
本申请的其他特征和优点将在随后的说明书中阐述,并且,部分地从说明书中变得显而易见,或者通过实施本申请而了解。本申请的目的和其他优点可通过在说明书、权利要求书以及附图中所特别指出的结构来实现和获得。Additional features and advantages of the application will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the application. The objectives and other advantages of the application will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
附图用来提供对本申请技术方案的进一步理解,并且构成说明书的一部分,与本申请的实施例一起用于解释本申请的技术方案,并不构成对本申请技术方案的限制。The accompanying drawings are used to provide a further understanding of the technical solution of the present application, and constitute a part of the specification, and are used together with the embodiments of the present application to explain the technical solution of the present application, and do not constitute a limitation to the technical solution of the present application.
图1是本申请一个实施例提供的NFV系统架构图;Fig. 1 is a NFV system architecture diagram provided by an embodiment of the present application;
图2是本申请一个实施例提供的网络升级方法的流程示意图;FIG. 2 is a schematic flowchart of a network upgrade method provided by an embodiment of the present application;
图3是本申请另一个实施例提供的网络升级方法的流程示意图;FIG. 3 is a schematic flowchart of a network upgrade method provided in another embodiment of the present application;
图4是本申请一个实施例提供的分域部署示意图;FIG. 4 is a schematic diagram of domain-specific deployment provided by an embodiment of the present application;
图5是本申请另一个实施例提供的网络升级方法的流程示意图;FIG. 5 is a schematic flowchart of a network upgrade method provided in another embodiment of the present application;
图6是本申请另一个实施例提供的网络升级方法的流程示意图;FIG. 6 is a schematic flowchart of a network upgrade method provided in another embodiment of the present application;
图7是本申请另一个实施例提供的网络升级方法的流程示意图;FIG. 7 is a schematic flowchart of a network upgrade method provided in another embodiment of the present application;
图8是本申请另一个实施例提供的网络升级方法的流程示意图;FIG. 8 is a schematic flowchart of a network upgrade method provided in another embodiment of the present application;
图9是本申请一个实施例提供的网络升级方法的升级流程图;FIG. 9 is an upgrade flowchart of a network upgrade method provided by an embodiment of the present application;
图10是本申请一个实施例提供的电子设备的结构示意图。Fig. 10 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, not to limit the present application.
应了解,在本申请实施例的描述中,多个(或多项)的含义是两个以上,大于、小于、超过等理解为不包括本数,以上、以下、以内等理解为包括本数。如果有描述到“第一”、“第二”等只是用于区分技术特征为目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量或者隐含指明所指示的技术特征的先后关系。It should be understood that in the description of the embodiments of the present application, multiple (or multiple) means more than two, greater than, less than, exceeding, etc. are understood as not including the original number, and above, below, within, etc. are understood as including the original number. If there is a description of "first", "second", etc., it is only for the purpose of distinguishing technical features, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features or implicitly indicating the indicated The sequence relationship of the technical characteristics.
ETSI的NFV参考架构如图1所示,NFV系统架构可以分为管理编排域(Management and Orchestration,MANO)、业务网络域和基础设施域,业务网络域即VNF,基础设施域即NFVI,管理编排域负责对整个NFVI资源的管理和编排,并管理VNF生命周期,VNF指目前的各电信业务网络,NFVI指虚拟化基础设施,即计算、存储、网络的虚拟化。而虚拟化等网络云技术提高了系统资源的利用率,有效打破资源利用率瓶颈,降低硬件和运营成本,并且简化运维降低管理成本,缩短业务创新和上线时间,帮助电信运营商把更多的时间和成本转移到对业务的投入上,为客户提供更友好的业务体验,最终创造价值。参考NFV架构设计,可以达到统一建设基础设施层,将大量的VNF部署到一个DC内。在各设备商、运营商、技术组织等多方参与下,VNF与NFVI的解耦已经实现,所以也具备了大量VNF部署到一个DC的能力,当前已经有运营商的单DC中,已经部署了大量的VNF,虚拟机的数量更是达到10000以上。由于安全加固、硬件固件升级、操作系统升级、网络设施升级等多种原因,资源池内设备会进行重启,造成服务器、网络设备、存储设备等重启或者中断,部署在NFVI上的虚拟机也会受到影响,需要进行虚拟机关机、重启等操作,必然影响到VNF业务,中断VNF业务,随着大 规模DC的建设和VNF部署,如何确保在NFVI升级时VNF不受影响不中断业务变的问题日益迫切。而VNF内部,业务自身有可靠性设计,各个模块之间都有主备或者负荷分担等多种机制保证业务自身的可靠性,在主备虚拟机中一个虚拟机复位时,可以实现不中断业务;在负荷分担虚拟机中其中的一个或几个虚拟机复位时,可以实现不中断业务。ETSI's NFV reference architecture is shown in Figure 1. The NFV system architecture can be divided into management and orchestration domain (Management and Orchestration, MANO), business network domain and infrastructure domain. The business network domain is VNF, and the infrastructure domain is NFVI. The domain is responsible for the management and orchestration of the entire NFVI resource, and manages the VNF life cycle. VNF refers to the current telecom service network, and NFVI refers to the virtualization infrastructure, that is, the virtualization of computing, storage, and network. Network cloud technologies such as virtualization improve the utilization of system resources, effectively break the bottleneck of resource utilization, reduce hardware and operating costs, simplify operation and maintenance, reduce management costs, shorten service innovation and online time, and help telecom operators make more More time and cost are transferred to business investment, providing customers with a more friendly business experience, and ultimately creating value. Referring to the NFV architecture design, it is possible to achieve a unified construction of the infrastructure layer and deploy a large number of VNFs in one DC. With the participation of various equipment vendors, operators, technical organizations, etc., the decoupling of VNF and NFVI has been realized, so it also has the ability to deploy a large number of VNFs to a DC. Currently, there are already deployments in a single DC of an operator. There are a large number of VNFs, and the number of virtual machines reaches more than 10,000. Due to various reasons such as security hardening, hardware firmware upgrades, operating system upgrades, and network facility upgrades, devices in the resource pool will restart, causing servers, network devices, storage devices, etc. to restart or be interrupted, and virtual machines deployed on NFVI will also be affected. It is necessary to perform operations such as virtual shutdown and restart, which will inevitably affect VNF services and interrupt VNF services. With the construction of large-scale DCs and VNF deployments, how to ensure that VNFs will not be affected and services will not be interrupted when NFVI is upgraded becomes increasingly problematic. urgent. Inside the VNF, the business itself has a reliability design, and there are multiple mechanisms such as active/standby or load sharing among the modules to ensure the reliability of the service itself. When a virtual machine in the active/standby virtual machine is reset, it can realize uninterrupted business ; When one or several virtual machines among the load sharing virtual machines are reset, no service interruption can be realized.
基于此,本申请实施例提供了一种网络升级方法、电子设备及存储介质,能够在网络升级的过程中,实现网络业务不中断。Based on this, the embodiments of the present application provide a network upgrade method, electronic equipment, and a storage medium, which can realize uninterrupted network services during the network upgrade process.
需要说明的是,本申请实施例中的基础设施实体与管理编排实体连接,管理编排实体与网络功能实体连接,基础设施实体包括多个主机设备,每一个主机设备包括多个虚拟机,本申请实施例中的基础设施实体可以为NFV系统架构中的基础设施域,还可以是云、资源池等云基础设施;网络功能实体可以为NFV系统架构中的业务网络域,还可以是APP、上层应用等软件,网络功能实体可作为标准的电信网元,网络功能实体本质上为软件,其运载的载体为基础设施实体内的虚拟机,虚拟机的硬件设备是由软件模拟生成的;管理编排实体可为NFV系统架构中的管理编排域,还可以是别的逻辑实体或功能组件实现,能为网络功能实体提供编排和管理,本申请实施例以基础设施实体为基础设施域、以网络功能实体为业务网络域、以管理编排实体为管理编排域为例子,但并不表示为本申请实施例的限制。It should be noted that the infrastructure entity in the embodiment of the present application is connected to the management and orchestration entity, and the management and orchestration entity is connected to the network function entity. The infrastructure entity includes multiple host devices, and each host device includes multiple virtual machines. This application The infrastructure entity in the embodiment can be the infrastructure domain in the NFV system architecture, and can also be cloud infrastructure such as cloud and resource pool; the network function entity can be the business network domain in the NFV system architecture, or it can be APP, upper layer Software such as applications and network functional entities can be used as standard telecom network elements. The network functional entity is essentially software, and its carrier is a virtual machine in the infrastructure entity. The hardware equipment of the virtual machine is generated by software simulation; management and orchestration The entity can be the management orchestration domain in the NFV system architecture, and can also be implemented by other logical entities or functional components, which can provide orchestration and management for the network function entity. In the embodiment of this application, the infrastructure entity is the infrastructure domain, and the network function The entity is a service network domain, and the management orchestration entity is an example of a management orchestration domain, but this is not a limitation of this embodiment of the application.
基于图1所示的NFV系统架构,参照图2所示,本申请实施例提供了一种网络升级方法,应用于基础设施实体,该网络升级方法包括但不限于以下步骤S110至步骤S130。Based on the NFV system architecture shown in FIG. 1 , referring to FIG. 2 , an embodiment of the present application provides a network upgrade method applied to an infrastructure entity. The network upgrade method includes but is not limited to the following steps S110 to S130.
步骤S110,向管理编排实体发送第一主机设备信息,第一主机设备信息表征为第一群组内的主机设备,以使管理编排实体根据第一主机设备信息向网络功能实体发送业务迁移请求,以使网络功能实体根据业务迁移请求将第一主机设备信息对应的虚拟机的业务进行迁移处理。Step S110, sending the first host device information to the management and arrangement entity, the first host device information is characterized as a host device in the first group, so that the management and arrangement entity sends a service migration request to the network function entity according to the first host device information, so that the network function entity migrates the service of the virtual machine corresponding to the first host device information according to the service migration request.
在一实施例中,第一主机设备信息表征为第一群组内的主机设备,基础设施实体将多个主机设备分为多个群组内,并在第一批对主机升级的时候,将第一群组内的主机设备进行升级处理,并在升级处理之前,先发送第一主机设备信息到管理编排实体中,以使管理编排实体根据第一主机设备信息向网络功能实体发送业务迁移请求,以使网络功能实体根据业务迁移请求将第一主机设备信息对应的虚拟机的业务进行迁移处理。In one embodiment, the information of the first host device is represented as host devices in the first group, and the infrastructure entity divides multiple host devices into multiple groups, and when upgrading the hosts in the first batch, the The host device in the first group performs upgrade processing, and before the upgrade process, first sends the first host device information to the management and arrangement entity, so that the management and arrangement entity sends a service migration request to the network function entity according to the first host device information so that the network function entity migrates the service of the virtual machine corresponding to the first host device information according to the service migration request.
需要说明的是,第一主机设备信息为需要升级的第一群组内的主机设备的列表信息,基础设施实体将这一批需要升级的主机设备的列表信息发送给管理编排实体,以便对其进行升级处理。It should be noted that the first host device information is the list information of the host devices in the first group that needs to be upgraded, and the infrastructure entity sends the list information of this batch of host devices that need to be upgraded to the management and arrangement entity, so as to Perform upgrade processing.
步骤S120,接收管理编排实体发送的业务迁移完成信息。Step S120, receiving service migration completion information sent by the management and arrangement entity.
在一实施例中,响应于基础设备实体发送的第一主机设备信息,网络功能实体对第一主机设备信息对应的虚拟机的业务进行迁移,将其迁移至其他暂时不需要升级的主机上的虚拟机中,在业务迁移完成后,业务迁移完成信息为管理编排实体在第一主机设备信息对应的虚拟机的业务进行迁移处理后生成,网络功能实体反馈业务迁移成功信息到管理编排实体中,随后管理编排实体根据业务迁移成功信息发送业务迁移完成信息给基础设备实体,需要说明的是,业务迁移完成信息和业务迁移成功信息可以是同一字段下的信息,还可以是不同字段下的信息,本申请实施例不对其做具体限制。In an embodiment, in response to the first host device information sent by the basic device entity, the network function entity migrates the business of the virtual machine corresponding to the first host device information to other hosts that do not need to be upgraded temporarily. In the virtual machine, after the service migration is completed, the service migration completion information is generated by the management and orchestration entity after the business of the virtual machine corresponding to the first host device information is migrated, and the network function entity feeds back the service migration success information to the management and orchestration entity, Then the management and orchestration entity sends the service migration completion information to the infrastructure entity according to the business migration success information. It should be noted that the service migration completion information and the service migration success information can be information in the same field, or information in different fields. The embodiments of the present application do not specifically limit it.
步骤S130,根据业务迁移完成信息对第一群组内的主机设备进行升级处理。Step S130, upgrade the host devices in the first group according to the service migration completion information.
在一实施例中,基础设备实体接收到业务迁移完成信息,表明第一群组内主机设备上的虚拟机业务已经完成迁移,此时对这批主机设备进行升级,并不会对主机上的业务造成影响,不会导致业务中断,因此基础设备实体对第一群组内的主机设备进行升级处理,完成这一批主机设备的升级处理。In one embodiment, the infrastructure device entity receives service migration completion information, indicating that the virtual machine services on the host devices in the first group have been migrated. The impact on the business will not lead to business interruption, so the basic device entity upgrades the host devices in the first group to complete the upgrade process of this batch of host devices.
需要说明的是,第一群组可以包括多个主机设备,其中,可以包括第一主机设备和第二主机设备,第一主机设备可以为单个主机设备或包括多个子主机设备构成的设备群,第二主机设备可以为单个主机设备或包括多个子主机设备构成的设备群,本申请实施例中的网络升级方法可以为先针对第一主机设备的网络升级,基础设施实体先发送包含第一群组内第一主机设备的第一主机设备信息给管理编排实体,对第一主机设备上的虚拟机业务进行迁移,迁 移完成后对第一主机设备进行升级处理,随后才发送第一群组内第二主机设备的设备信息给管理编排实体,对第二主机设备进行升级处理,可以理解的是,分别对第一主机设备和第二主机设备进行升级,为基础设施实体针对不同的主机设备进行的分批升级,避免了业务中断,也提高了升级的可靠性,升级处理包括对主机设备或主机设备上的虚拟机进行关机或重启,本申请实施例不对其做具体限制。It should be noted that the first group may include multiple host devices, including a first host device and a second host device, and the first host device may be a single host device or a device group composed of multiple sub-host devices, The second host device can be a single host device or a device group composed of multiple sub-host devices. The network upgrade method in the embodiment of the present application can be to first upgrade the network of the first host device, and the infrastructure entity first sends a sub-host device containing the first group The first host device information of the first host device in the group is sent to the management and arrangement entity to migrate the virtual machine business on the first host device. After the migration is completed, the first host device is upgraded and then sent to the first group. The device information of the second host device is sent to the management and arrangement entity to upgrade the second host device. It can be understood that the upgrade of the first host device and the second host device is performed for the infrastructure entity for different host devices. The batch upgrade avoids service interruption and improves the reliability of the upgrade. The upgrade process includes shutting down or restarting the host device or the virtual machine on the host device, which is not specifically limited in this embodiment of the application.
需要说明的是,第一群组可以包括多个主机设备,其中,可以包括第一主机设备和第二主机设备,第一主机设备可以为单个主机设备或包括多个子主机设备构成的设备群,第二主机设备可以为单个主机设备或包括多个子主机设备构成的设备群,本申请实施例中的网络升级方法可以为针对第一主机设备的网络升级,其中,第二主机设备已经完成升级处理,因此基础设备实体可以针对第一群组内剩下的第一主机主机设备进行网络升级,可以理解的是,分别对第一主机设备和第二主机设备进行升级,为基础设施实体针对不同的主机设备进行的分批升级,避免了业务中断,也提高了升级的可靠性。It should be noted that the first group may include multiple host devices, including a first host device and a second host device, and the first host device may be a single host device or a device group composed of multiple sub-host devices, The second host device may be a single host device or a device group composed of multiple sub-host devices, and the network upgrade method in the embodiment of the present application may be a network upgrade for the first host device, wherein the second host device has completed the upgrade process , so the basic device entity can perform network upgrades for the remaining first host devices in the first group. The batch upgrade of the host device avoids service interruption and improves the reliability of the upgrade.
可以理解的是,本申请实施例中的网络升级方法,可以实现大规模的主机设备升级,将主机设备分为多个批次,第一群组内的主机设备特指当前需要升级的批次的主机设备,分批对主机设备进行升级,并在每一批主机设备的升级过程中,将该主机设备虚拟机上的业务迁移至其他主机设备的虚拟机上,避免了对第一群组内主机设备进行升级的过程中,造成网络业务中断,因此本申请实施例适用于大规模场景,操作简单,大规模的升级时间短。It can be understood that the network upgrade method in the embodiment of the present application can realize large-scale host device upgrades, divide the host devices into multiple batches, and the host devices in the first group specifically refer to the current batches that need to be upgraded The host devices are upgraded in batches, and during the upgrade process of each batch of host devices, the business on the virtual machine of the host device is migrated to the virtual machines of other host devices, avoiding the During the upgrade process of the internal host device, network services are interrupted. Therefore, the embodiment of the present application is applicable to large-scale scenarios, and the operation is simple, and the large-scale upgrade takes a short time.
在一实施例中,上述步骤S110还可以包括:向管理编排实体发送第一主机设备信息,以使管理编排实体根据第一主机设备信息向网络功能实体发送业务迁移请求,以使网络功能实体根据业务迁移请求将第一主机设备信息对应的虚拟机的业务迁移至第二主机设备信息对应的虚拟机,第二主机设备信息表征为第二群组内的主机设备。In an embodiment, the above step S110 may further include: sending the first host device information to the management and orchestration entity, so that the management and orchestration entity sends a service migration request to the network function entity according to the first host device information, so that the network function entity according to The service migration request migrates the service of the virtual machine corresponding to the first host device information to the virtual machine corresponding to the second host device information, and the second host device information is represented as a host device in the second group.
在一实施例中,基础设施实体设有多个主机设备,并可以进行分组,包括分为第一群组和第二群组,其中,在对第一群组内的主机设备进行升级处理中,可以将第一主机设备信息对应的虚拟机的业务迁移至第二主机设备信息对应的虚拟机,而第二主机设备信息表征为第二群组内的主机设备,从而避免了业务划分混乱,保证业务的可靠性,在满足本申请实施例要求的前提下,在对第一群组内第一主机设备进行升级处理过程中,可将第一主机设备对应的虚拟机的业务迁移至第一群组内第二主机设备对应的虚拟机上,本申请实施例以迁移到第二群组内主机设备的虚拟机为例子,但并不表示为对本申请实施例的限制。In an embodiment, the infrastructure entity is provided with a plurality of host devices, and can be grouped, including being divided into a first group and a second group, wherein, in the process of upgrading the host devices in the first group The business of the virtual machine corresponding to the first host device information can be migrated to the virtual machine corresponding to the second host device information, and the second host device information is characterized as a host device in the second group, thereby avoiding confusion in business division, To ensure the reliability of the business, on the premise of meeting the requirements of the embodiment of this application, during the process of upgrading the first host device in the first group, the business of the virtual machine corresponding to the first host device can be migrated to the first On the virtual machine corresponding to the second host device in the group, the embodiment of the present application takes the virtual machine migrated to the host device in the second group as an example, but this is not meant to limit the embodiment of the present application.
参照图3所示,在一实施例中,上述步骤S110之前,还可以包括但不限于以下步骤S210至步骤S220。Referring to FIG. 3 , in an embodiment, before the above step S110 , it may also include but not limited to the following steps S210 to S220 .
步骤S210,接收管理编排实体发送的虚拟机分域信息。Step S210, receiving virtual machine domain division information sent by the management and orchestration entity.
步骤S220,根据虚拟机分域信息对多个主机设备进行分组处理,得到第一主机设备信息和第二主机设备信息。Step S220, grouping multiple host devices according to the virtual machine domain information to obtain first host device information and second host device information.
在一实施例中,网络功能实体在业务部署时进行分组处理,虚拟机分域信息由管理编排实体根据网络功能实体得到,随后基础设施实体接收管理编排实体发送的虚拟机分域信息,根据该虚拟机分域信息进行分组处理,包括根据虚拟机分域信息对多个主机设备进行分组处理,得到第一主机设备信息和第二主机设备信息,其中,第一主机设备信息和第二主机设备信息分别表征第一群组内的主机设备和第二群组内的主机设备,在对第一群组内的主机设备进行升级的过程中,网络功能实体对虚拟机进行分域后,基础设施实体根据虚拟机分域信息得到的分组进行批次升级,需要说明的是,第一群组和第二群组仅为了区别技术特征,第二群组可以表征为基础设施实体内除第一群组外的某个群组、除第一群组外的多个群组或除第一群组外的多个群组中的某个群组,本申请不对其做具体限制。In one embodiment, the network function entity performs grouping processing during service deployment, the virtual machine domain information is obtained by the management and orchestration entity according to the network function entity, and then the infrastructure entity receives the virtual machine domain information sent by the management and orchestration entity, and according to the The virtual machine domain information is grouped, including grouping multiple host devices according to the virtual machine domain information to obtain the first host device information and the second host device information, wherein the first host device information and the second host device information The information respectively represents the host devices in the first group and the host devices in the second group. During the process of upgrading the host devices in the first group, after the network function entity divides the virtual machines into domains, the infrastructure Entities are upgraded in batches based on the grouping obtained from the virtual machine domain information. It should be noted that the first group and the second group are only for distinguishing technical features, and the second group can be characterized as the infrastructure entities except the first group. A certain group other than the first group, multiple groups other than the first group, or a certain group among the multiple groups other than the first group are not specifically limited in this application.
参照图4所示,在上述方法的一实施例中,先将已经规划好的主机集群(HostAggregate,HA)下增加多个子HA,即进行分域,也相当于分组,定义子HA为SHA,SHA的个数可根据实际需要进行设置,主机集群包括多个主机设备,SHA可以为单个主机设备或包括多个子主机设备构成的设备群,网络功能实体即VNF在部署过程中,针对部署VNF的虚拟机进行分域, 并将具有同一分域的虚拟机的主机设备划分到同一群组中,例如,第一群组内主机设备的虚拟机上配置的VNF为同一分域下的,因此在对第一群组内主机设备进行升级的过程中,不会对部署了其它分域VNF的虚拟机提供升级处理,使得同一分域的虚拟机可以同批升级,从而避免了业务划分混乱,保证业务的可靠性,可以理解的是,第一群组可以为某个SHA,还可以包括多个SHA。Referring to Fig. 4, in one embodiment of the above method, first add a plurality of sub-HAs under the planned host cluster (HostAggregate, HA), that is, carry out domain division, which is also equivalent to grouping, and define sub-HAs as SHA, The number of SHAs can be set according to actual needs. The host cluster includes multiple host devices, and the SHA can be a single host device or a device group consisting of multiple sub-host devices. During the deployment process of the network function entity, that is, the VNF, for the deployment of the VNF The virtual machine is divided into domains, and the host devices of the virtual machines with the same domain are divided into the same group. For example, the VNFs configured on the virtual machines of the host devices in the first group are under the same domain, so in In the process of upgrading the host devices in the first group, the virtual machines deployed with other domain-specific VNFs will not be upgraded, so that the virtual machines in the same domain can be upgraded in the same batch, thereby avoiding business division confusion and ensuring For service reliability, it can be understood that the first group may be a certain SHA, and may also include multiple SHAs.
在一实施例中,虚拟机分域信息由网络功能实体根据虚拟机的种类信息以及虚拟机的数量信息进行分域处理后得到。网络功能实体根据虚拟机的种类信息,得到一定数量的分域,并对所有的虚拟机打上分域标签,虚拟机的种类信息与网络功能实体的分域情况相对应,并结合虚拟机的数量信息得到虚拟机的数量,基于以上特征对虚拟机进行分域,以使得分域后的虚拟机可以部署到同一主机设备中。In an embodiment, the virtual machine domain division information is obtained by the network function entity after performing domain division processing according to the virtual machine type information and the virtual machine quantity information. The network function entity obtains a certain number of domains according to the type information of the virtual machine, and labels all virtual machines with domain division. The type information of the virtual machine corresponds to the domain division of the network function entity, and combines the number of virtual machines The information obtains the number of virtual machines, and the virtual machines are divided into domains based on the above characteristics, so that the divided virtual machines can be deployed to the same host device.
在上述方法的一实施例中,VNF在部署时根据虚拟机的种类信息划分为多个分域,例如划分为a、b、c三个分域,VNF在部署时对所有虚拟机打上SHA标签,可以根据upgrade_az参数得到,例如,可以将SHA划分为SHA1、SHA2、SHA3三个群组标签,分成三个群组,虚拟机的种类信息跟分域数量信息相对应,并将a域的虚拟机对应的主机设备加入到SHA1中,将b域的虚拟机对应的主机设备加入到SHA2中,将c域的虚拟机对应的主机设备加入到SHA3中,在一实施例中,若SHA1中主机设备上的虚拟机数量不够,根据虚拟机的数量信息可以在将SHA划分为SHA1、SHA2、SHA3、SHA4四个标签,并将a域的虚拟机对应的一部分主机设备加入到SHA1中,另一部分主机设备加入到SHA2中,将b域的虚拟机对应的主机设备加入到SHA3中,将c域的虚拟机对应的主机设备加入到SHA4中,以此完成虚拟机的实例化。In an embodiment of the above method, the VNF is divided into multiple sub-domains according to the type information of the virtual machines during deployment, for example, divided into three sub-domains a, b, and c, and the VNF puts SHA tags on all virtual machines during deployment , can be obtained according to the upgrade_az parameter. For example, SHA can be divided into three group tags of SHA1, SHA2, and SHA3, and divided into three groups. The type information of the virtual machine corresponds to the number of sub-domains, and the virtual The host device corresponding to the machine is added to SHA1, the host device corresponding to the virtual machine in domain b is added to SHA2, and the host device corresponding to the virtual machine in domain c is added to SHA3. In one embodiment, if the host device in SHA1 The number of virtual machines on the device is not enough. According to the number of virtual machines, SHA can be divided into four labels: SHA1, SHA2, SHA3, and SHA4, and a part of the host devices corresponding to the virtual machines in domain a is added to SHA1, and the other part The host device is added to SHA2, the host device corresponding to the virtual machine in domain b is added to SHA3, and the host device corresponding to the virtual machine in domain c is added to SHA4, so as to complete the instantiation of the virtual machine.
需要说明的是,在一实施例中,对于不需要分域的虚拟机,表示在复位许可数量范围内的虚拟机不影响任何域业务,该数量由backup_instance_number参数得到,部分种类的VNF虚拟机自身便具有主备或者负荷分担等多种机制,例如,VNF虚拟机的种类包括管理类、接口类和处理类,管理类的虚拟机包括了主备情况,可以根据主备情况划分为2个分域,处理类的VNF虚拟机可以有20个,而一般不会对这20个虚拟机进行区分,也就是这20个处理类的虚拟机是不需要特别分域的,因此根据backup_instance_number参数进行部署,可以得到虚拟机的比例和数量情况,如将这类不需要分域的虚拟机分为2组,每组10个,可分别打上a、b标签,可将各10个虚拟机加入到SHA1和SHA2中,在升级处理的过程中依次对SHA1和SHA2中行的主机设备进行分批升级处理,实现对多个主机设备进行分组处理。It should be noted that, in one embodiment, for virtual machines that do not need to be divided into domains, it means that the number of virtual machines within the reset permission range will not affect any domain business. This number is obtained from the backup_instance_number parameter, and some types of VNF virtual machines themselves It has multiple mechanisms such as active/standby or load sharing. For example, the types of VNF virtual machines include management, interface, and processing. domain, there can be 20 VNF virtual machines of the processing type, but generally these 20 virtual machines are not distinguished, that is, the 20 processing type virtual machines do not need to be specially divided into domains, so they are deployed according to the backup_instance_number parameter , you can get the proportion and number of virtual machines. For example, divide this type of virtual machines that do not need to be divided into two groups, each group has 10, and can be marked with a and b labels respectively, and each 10 virtual machines can be added to SHA1 In the upgrade process of SHA1 and SHA2, host devices in SHA1 and SHA2 are upgraded in batches sequentially, so as to realize group processing of multiple host devices.
在满足本申请实施例要求的情况下,还可以通过其它参数对虚拟机的种类情况和数量情况得到虚拟机分域信息,本申请实施例不对其做具体限制。In the case that the requirements of the embodiment of the present application are met, the type and quantity of the virtual machine can also be obtained through other parameters, which are not specifically limited in the embodiment of the present application.
在一实施例中,基础设施实体在进行主机设备的升级操作后,基础设施实体会进入维护状态,在该状态下,不再进行虚拟机的创建和删除等操作,以减少其他操作引起的干扰。In one embodiment, after the infrastructure entity upgrades the host device, the infrastructure entity enters the maintenance state. In this state, operations such as creating and deleting virtual machines are no longer performed to reduce interference caused by other operations. .
在一实施例中,上述步骤S130之后,上述方法还可以包括但不限于以下步骤:向管理编排实体发送升级成功信息,升级成功信息表征第一群组内的主机设备升级成功,以使管理编排实体根据升级成功信息向网络功能实体发送业务回迁请求,以使网络功能实体根据业务回迁请求将业务回迁至升级成功后的第一群组内的主机设备所对应的虚拟机。In an embodiment, after the above step S130, the above method may also include but not limited to the following steps: sending upgrade success information to the management and arrangement entity, the upgrade success information indicates that the host devices in the first group have successfully upgraded, so that the management and arrangement entity The entity sends a service fetch request to the network function entity according to the upgrade success information, so that the network function entity fetches the service to the virtual machine corresponding to the host device in the first group after the upgrade is successful according to the service fetch request.
在一实施例中,第一群组内的主机设备升级成功后,需要将原来部署在第一群组内主机设备的虚拟机上的业务迁回,以便对其他主机设备进行升级,因此在第一群组内主机设备升级成功后,向管理编排实体发送升级成功信息,管理编排实体根据升级成功信息向网络功能实体发送业务回迁请求,网络功能实体根据业务回迁请求将业务回迁至升级成功后的第一群组内的主机设备所对应的虚拟机,在业务迁回后,重启后的虚拟机将重新承担业务,以便下一批主机设备进行升级处理,保证了基础设施实体在网络升级时进行重启但是不中断网络业务。可以理解的是,第一群组内主机设备的业务迁回完成后,网络功能实体向管理编排实体发送业务迁回成功信息,基础设施实体还可以接收管理编排实体发送的业务迁回完成信息,以便对其他主机设备进行升级处理,需要说明的是,业务迁回完成信息和业务迁回成功信息可以是同一字段下的信息,还可以是不同字段下的信息,本申请实施例不对其做具体限制。In one embodiment, after the host devices in the first group are successfully upgraded, the services originally deployed on the virtual machines of the host devices in the first group need to be migrated back to upgrade other host devices. After the host device in a group is successfully upgraded, it sends an upgrade success message to the management and orchestration entity. The management and orchestration entity sends a service relocation request to the network function entity according to the upgrade success information. For the virtual machines corresponding to the host devices in the first group, after the business is moved back, the restarted virtual machines will take on the business again, so that the next batch of host devices can be upgraded, ensuring that infrastructure entities can perform network upgrades during network upgrades. Restart but do not interrupt network services. It can be understood that after the service migration of the host device in the first group is completed, the network function entity sends the service migration success information to the management and orchestration entity, and the infrastructure entity can also receive the service migration completion information sent by the management and orchestration entity, In order to upgrade other host devices, it should be noted that the information on the completion of service relocation and the successful information on service relocation can be information in the same field, or information in different fields, and this embodiment of the application does not specify it. limit.
在一实施例中,完成基础设施实体内的所有主机设备的升级操作后,基础设施实体退出维护状态,基础设施实体恢复正常运行。In an embodiment, after the upgrade operation of all host devices in the infrastructure entity is completed, the infrastructure entity exits the maintenance state, and the infrastructure entity resumes normal operation.
基于图1所示的NFV系统架构,参照图5所示,本申请实施例还提供了一种网络升级方法,应用于网络功能实体,该网络升级方法包括但不限于以下步骤S310至步骤S330。Based on the NFV system architecture shown in FIG. 1 , referring to FIG. 5 , an embodiment of the present application also provides a network upgrade method applied to a network function entity. The network upgrade method includes but is not limited to the following steps S310 to S330.
步骤S310,接收管理编排实体发送的业务迁移请求,业务迁移请求为管理编排实体根据基础设施实体发送的第一主机设备信息所生成,第一主机设备信息表征为第一群组内的主机设备。Step S310, receiving a service migration request sent by the management and orchestration entity. The service migration request is generated by the management and orchestration entity according to the first host device information sent by the infrastructure entity. The first host device information is represented as a host device in the first group.
在一实施例中,第一主机设备信息表征为第一群组内的主机设备,基础设施实体将多个主机设备分为多个群组内,并在第一批对主机升级的时候,将第一群组内的主机设备进行升级处理,并在升级处理之前,先发送第一主机设备信息到管理编排实体中,以使管理编排实体根据第一主机设备信息向网络功能实体发送业务迁移请求,网络功能实体接收到管理编排实体发送的业务迁移请求,响应于业务迁移请求执行相应操作。In one embodiment, the information of the first host device is represented as host devices in the first group, and the infrastructure entity divides multiple host devices into multiple groups, and when upgrading the hosts in the first batch, the The host device in the first group performs upgrade processing, and before the upgrade process, first sends the first host device information to the management and arrangement entity, so that the management and arrangement entity sends a service migration request to the network function entity according to the first host device information , the network function entity receives the service migration request sent by the management and orchestration entity, and performs corresponding operations in response to the service migration request.
需要说明的是,第一主机设备信息为需要升级的第一群组内的主机设备的列表信息,基础设施实体将这一批需要升级的主机设备的列表信息发送给管理编排实体,以便对其进行升级处理。It should be noted that the first host device information is the list information of the host devices in the first group that needs to be upgraded, and the infrastructure entity sends the list information of this batch of host devices that need to be upgraded to the management and arrangement entity, so as to Perform upgrade processing.
步骤S320,根据业务迁移请求将第一主机设备信息对应的虚拟机的业务进行迁移处理。In step S320, the service of the virtual machine corresponding to the first host device information is migrated according to the service migration request.
在一实施例中,响应于基础设备实体发送的第一主机设备信息,网络功能实体对第一主机设备信息对应的虚拟机的业务进行迁移,将其迁移至其他暂时不需要升级的主机上的虚拟机中,以便对第一群组内的主机设备进行升级处理。In an embodiment, in response to the first host device information sent by the basic device entity, the network function entity migrates the business of the virtual machine corresponding to the first host device information to other hosts that do not need to be upgraded temporarily. virtual machine, so as to upgrade the host devices in the first group.
步骤S330,向管理编排实体发送业务迁移成功信息,以使管理编排实体根据业务迁移成功信息向基础设施实体发送业务迁移完成信息,以使基础设施实体根据业务迁移完成信息对第一群组内的主机设备进行升级处理。Step S330: Send service migration success information to the management and orchestration entity, so that the management and orchestration entity sends service migration completion information to the infrastructure entity according to the service migration success information, so that the infrastructure entity performs service migration completion information according to the service migration completion information in the first group. The host device performs upgrade processing.
在一实施例中,网络功能实体在业务迁移完成后,将反馈到管理编排实体中,向管理编排实体发送业务迁移成功信息,随后管理编排实体根据业务迁移成功信息发送业务迁移完成信息给基础设备实体,基础设备实体接收到业务迁移完成信息,表明第一群组内主机设备上的虚拟机业务已经完成迁移,此时对这批主机设备进行升级,并不会对主机上的业务造成影响,不会导致业务中断,因此基础设备实体对第一群组内的主机设备进行升级处理,完成这一批主机设备的升级处理,需要说明的是,业务迁移完成信息和业务迁移成功信息可以是同一字段下的信息,还可以是不同字段下的信息,本申请实施例不对其做具体限制。In an embodiment, after the service migration is completed, the network function entity will feed back to the management orchestration entity, send service migration success information to the management orchestration entity, and then the management orchestration entity will send service migration completion information to the basic equipment according to the service migration success information Entity, the basic equipment entity receives the service migration completion information, indicating that the virtual machine services on the host devices in the first group have been migrated. At this time, upgrading these host devices will not affect the business on the hosts. It will not cause service interruption, so the basic device entity upgrades the host devices in the first group to complete the upgrade process of this batch of host devices. It should be noted that the service migration completion information and the service migration success information can be the same The information under the fields may also be the information under different fields, which is not specifically limited in this embodiment of the present application.
需要说明的是,第一群组可以包括多个主机设备,其中,可以包括第一主机设备和第二主机设备,第一主机设备可以为单个主机设备或包括多个子主机设备构成的设备群,第二主机设备可以为单个主机设备或包括多个子主机设备构成的设备群,本申请实施例中的网络升级方法可以为先针对第一主机设备的网络升级,基础设施实体先发送包含第一群组内第一主机设备的第一主机设备信息给管理编排实体,网络功能实体再接收到业务迁移请求后对第一主机设备上的虚拟机业务进行迁移,迁移完成后基础设施实体对第一主机设备进行升级处理,随后才发送第一群组内第二主机设备的设备信息给管理编排实体,对第二主机设备进行升级处理,可以理解的是,分别对第一主机设备和第二主机设备进行升级,为基础设施实体针对不同的主机设备进行的分批升级,避免了业务中断,也提高了升级的可靠性,升级处理包括对主机设备或主机设备上的虚拟机进行关机或重启,本申请实施例不对其做具体限制。It should be noted that the first group may include multiple host devices, including a first host device and a second host device, and the first host device may be a single host device or a device group composed of multiple sub-host devices, The second host device can be a single host device or a device group composed of multiple sub-host devices. The network upgrade method in the embodiment of the present application can be to first upgrade the network of the first host device, and the infrastructure entity first sends a sub-host device containing the first group The first host device information of the first host device in the group is sent to the management and orchestration entity, and the network function entity migrates the virtual machine service on the first host device after receiving the service migration request. After the migration is completed, the infrastructure entity The device is upgraded, and then the device information of the second host device in the first group is sent to the management and arrangement entity, and the second host device is upgraded. It can be understood that the first host device and the second host device are respectively Upgrading is carried out in batches for different host devices for infrastructure entities, which avoids business interruption and improves the reliability of the upgrade. The upgrade process includes shutting down or restarting the host device or the virtual machine on the host device. The embodiment of the application does not specifically limit it.
需要说明的是,第一群组可以包括多个主机设备,其中,可以包括第一主机设备和第二主机设备,第一主机设备可以为单个主机设备或包括多个子主机设备构成的设备群,第二主机设备可以为单个主机设备或包括多个子主机设备构成的设备群,本申请实施例中的网络升级方法可以为针对第一主机设备的网络升级,其中,第二主机设备已经完成升级处理,因此基础设备实体可以针对第一群组内剩下的第一主机主机设备进行网络升级,可以理解的是,分别对第一主机设备和第二主机设备进行升级,为基础设施实体针对不同的主机设备进行的分批升级,避免了业务中断,也提高了升级的可靠性。It should be noted that the first group may include multiple host devices, including a first host device and a second host device, and the first host device may be a single host device or a device group composed of multiple sub-host devices, The second host device may be a single host device or a device group composed of multiple sub-host devices, and the network upgrade method in the embodiment of the present application may be a network upgrade for the first host device, wherein the second host device has completed the upgrade process , so the basic device entity can perform network upgrades for the remaining first host devices in the first group. The batch upgrade of the host device avoids service interruption and improves the reliability of the upgrade.
可以理解的是,本申请实施例中的网络升级方法,可以实现大规模的主机设备升级,将主机设备分为多个批次,第一群组内的主机设备特指当前需要升级的批次的主机设备,分批对主机设备进行升级,并在每一批主机设备的升级过程中,网络功能实体将该主机设备虚拟机上的业务迁移至其他主机设备的虚拟机上,避免了基础设施实体对第一群组内主机设备进行升级的过程中,造成网络业务中断,因此本申请实施例适用于大规模场景,操作简单,大规模的升级时间短。It can be understood that the network upgrade method in the embodiment of the present application can realize large-scale host device upgrades, divide the host devices into multiple batches, and the host devices in the first group specifically refer to the current batches that need to be upgraded The host devices are upgraded in batches, and during the upgrade process of each batch of host devices, the network function entity migrates the services on the virtual machines of the host devices to the virtual machines of other host devices, avoiding infrastructure During the upgrade process of the host devices in the first group, the network service is interrupted. Therefore, the embodiment of the present application is applicable to large-scale scenarios, and the operation is simple, and the large-scale upgrade takes a short time.
在一实施例中,上述步骤S320还可以包括:根据业务迁移请求将第一主机设备信息对应的虚拟机的业务迁移至第二主机设备信息对应的虚拟机,第二主机设备信息表征为第二群组内的主机设备。In an embodiment, the above step S320 may further include: migrating the service of the virtual machine corresponding to the first host device information to the virtual machine corresponding to the second host device information according to the service migration request, and the second host device information is characterized as the second Host devices in the group.
在一实施例中,基础设施实体设有多个主机设备,并可以进行分组,包括分为第一群组和第二群组,其中,在对第一群组内的主机设备进行升级处理中,网路功能模块可以将第一主机设备信息对应的虚拟机的业务迁移至第二主机设备信息对应的虚拟机,而第二主机设备信息表征为第二群组内的主机设备,从而避免了业务划分混乱,保证业务的可靠性,在满足本申请实施例要求的前提下,在对第一群组内第一主机设备进行升级处理过程中,网络功能实体可将第一主机设备对应的虚拟机的业务迁移至第一群组内第二主机设备对应的虚拟机上,本申请实施例以迁移到第二群组内主机设备的虚拟机为例子,但并不表示为对本申请实施例的限制。In an embodiment, the infrastructure entity is provided with a plurality of host devices, and can be grouped, including being divided into a first group and a second group, wherein, in the process of upgrading the host devices in the first group , the network function module can migrate the business of the virtual machine corresponding to the first host device information to the virtual machine corresponding to the second host device information, and the second host device information is characterized as a host device in the second group, thereby avoiding The service division is chaotic to ensure the reliability of the service. On the premise of meeting the requirements of the embodiment of this application, during the upgrade process of the first host device in the first group, the network function entity can upgrade the virtual host device corresponding to the first host device. The business of the host machine is migrated to the virtual machine corresponding to the second host device in the first group. The embodiment of the present application takes the virtual machine migrated to the host device in the second group as an example, but it does not represent the implementation of the embodiment of the present application. limit.
在一实施例中,上述步骤S310之前,还可以包括但不限于以下步骤:向管理编排实体发送虚拟机分域信息,以使管理编排实体向基础设备实体发送虚拟机分域信息,以使基础设施实体根据虚拟机分域信息对多个主机设备进行分组处理,得到第一主机设备信息和第二主机设备信息。In an embodiment, before the above step S310, it may also include but not limited to the following steps: sending the virtual machine domain division information to the management orchestration entity, so that the management orchestration entity sends the virtual machine domain division information to the infrastructure entity, so that the infrastructure The facility entity groups the multiple host devices according to the virtual machine domain information, and obtains information about the first host device and information about the second host device.
在一实施例中,网络功能实体在业务部署时进行分组处理,网络功能实体向管理编排实体发送虚拟机分域信息,随后基础设施实体接收管理编排实体发送的虚拟机分域信息,根据该虚拟机分域信息进行分组处理,包括根据虚拟机分域信息对多个主机设备进行分组处理,得到第一主机设备信息和第二主机设备信息,其中,第一主机设备信息和第二主机设备信息分别表征第一群组内的主机设备和第二群组内的主机设备,在对第一群组内的主机设备进行升级的过程中,网络功能实体对虚拟机进行分域后,基础设施实体根据虚拟机分域信息得到的分组进行批次升级,需要说明的是,第一群组和第二群组仅为了区别技术特征,第二群组可以表征为基础设施实体内除第一群组外的某个群组、除第一群组外的多个群组或除第一群组外的多个群组中的某个群组,本申请不对其做具体限制In one embodiment, the network function entity performs grouping processing during service deployment, the network function entity sends virtual machine domain division information to the management and orchestration entity, and then the infrastructure entity receives the virtual machine domain division information sent by the management and orchestration entity, and according to the virtual machine Machine domain information is grouped, including grouping multiple host devices according to the virtual machine domain information to obtain the first host device information and the second host device information, wherein the first host device information and the second host device information Respectively characterize the host devices in the first group and the host devices in the second group. In the process of upgrading the host devices in the first group, after the network function entity divides the virtual machine into domains, the infrastructure entity Batch upgrades are carried out according to the grouping obtained from the virtual machine domain information. It should be noted that the first group and the second group are only for distinguishing technical characteristics, and the second group can be characterized as the first group in the infrastructure entity. A certain group other than the first group, multiple groups other than the first group, or one of the multiple groups other than the first group, this application does not specifically limit it
参照图4所示,在上述方法的一实施例中,先将已经规划好的HA下增加多个子HA,即进行分域,也相当于分组,定义子HA为SHA,SHA的个数可根据实际需要进行设置,主机集群包括多个主机设备,SHA可以为单个主机设备或包括多个子主机设备构成的设备群,网络功能实体即VNF在部署过程中,针对部署VNF的虚拟机进行分域,并将具有同一分域的虚拟机的主机设备划分到同一群组中,例如,第一群组内主机设备的虚拟机上配置的VNF为同一分域下的,因此在对第一群组内主机设备进行升级的过程中,不会对部署了其它分域VNF的虚拟机提供升级处理,使得同一分域的虚拟机可以同批升级,从而避免了业务划分混乱,保证业务的可靠性,可以理解的是,第一群组可以为某个SHA,还可以包括多个SHA。Referring to Figure 4, in one embodiment of the above method, first add multiple sub-HAs to the planned HA, that is, to divide the domain, which is also equivalent to grouping, and define the sub-HA as SHA, and the number of SHAs can be determined according to Actual setting is required. The host cluster includes multiple host devices. The SHA can be a single host device or a device group consisting of multiple sub-host devices. During the deployment process of the network function entity (VNF), the virtual machine on which the VNF is deployed is divided into domains. And divide the host devices of the virtual machines with the same domain into the same group, for example, the VNF configured on the virtual machines of the host device in the first group is under the same domain, so in the first group During the upgrade process of the host device, the virtual machines deployed with other domain-specific VNFs will not be upgraded, so that the virtual machines in the same domain can be upgraded in the same batch, thereby avoiding business division confusion and ensuring business reliability. It is understood that the first group may be a certain SHA, and may also include multiple SHAs.
上述步骤向管理编排实体发送虚拟机分域信息还可以包括以下步骤:根据虚拟机的种类信息以及虚拟机的数量信息进行分域处理得到虚拟机分域信息。The above step of sending the virtual machine domain division information to the management and arrangement entity may further include the following step: performing domain division processing according to the virtual machine type information and the virtual machine quantity information to obtain the virtual machine domain division information.
在一实施例中,虚拟机分域信息由网络功能实体根据虚拟机的种类信息以及虚拟机的数量信息进行分域处理后得到。网络功能实体根据虚拟机的种类信息,得到一定数量的分域,并对所有的虚拟机打上分域标签,虚拟机的种类信息与网络功能实体的分域情况相对应,并结合虚拟机的数量信息得到虚拟机的数量,基于以上特征对虚拟机进行分域,以使得分域后的虚拟机可以部署到同一主机设备中。In an embodiment, the virtual machine domain division information is obtained by the network function entity after performing domain division processing according to the virtual machine type information and the virtual machine quantity information. The network function entity obtains a certain number of domains according to the type information of the virtual machine, and labels all virtual machines with domain division. The type information of the virtual machine corresponds to the domain division of the network function entity, and combines the number of virtual machines The information obtains the number of virtual machines, and the virtual machines are divided into domains based on the above characteristics, so that the divided virtual machines can be deployed to the same host device.
在上述方法的一实施例中,VNF在部署时根据虚拟机的种类信息划分为多个分域,例如 划分为a、b、c三个分域,VNF在部署时对所有虚拟机打上SHA标签,可以根据upgrade_az参数得到,例如,可以将SHA划分为SHA1、SHA2、SHA3三个群组标签,分成三个群组,虚拟机的种类信息跟分域数量信息相对应,并将a域的虚拟机对应的主机设备加入到SHA1中,将b域的虚拟机对应的主机设备加入到SHA2中,将c域的虚拟机对应的主机设备加入到SHA3中,在一实施例中,若SHA1中主机设备上的虚拟机数量不够,根据虚拟机的数量信息可以在将SHA划分为SHA1、SHA2、SHA3、SHA4四个标签,并将a域的虚拟机对应的一部分主机设备加入到SHA1中,另一部分主机设备加入到SHA2中,将b域的虚拟机对应的主机设备加入到SHA3中,将c域的虚拟机对应的主机设备加入到SHA4中,以此完成虚拟机的实例化。In an embodiment of the above method, the VNF is divided into multiple sub-domains according to the type information of the virtual machines during deployment, for example, divided into three sub-domains a, b, and c, and the VNF puts SHA tags on all virtual machines during deployment , can be obtained according to the upgrade_az parameter. For example, SHA can be divided into three group tags of SHA1, SHA2, and SHA3, and divided into three groups. The type information of the virtual machine corresponds to the number of sub-domains, and the virtual The host device corresponding to the machine is added to SHA1, the host device corresponding to the virtual machine in domain b is added to SHA2, and the host device corresponding to the virtual machine in domain c is added to SHA3. In one embodiment, if the host device in SHA1 The number of virtual machines on the device is not enough. According to the number of virtual machines, SHA can be divided into four labels: SHA1, SHA2, SHA3, and SHA4, and a part of the host devices corresponding to the virtual machines in domain a is added to SHA1, and the other part The host device is added to SHA2, the host device corresponding to the virtual machine in domain b is added to SHA3, and the host device corresponding to the virtual machine in domain c is added to SHA4, so as to complete the instantiation of the virtual machine.
需要说明的是,在一实施例中,对于不需要分域的虚拟机,表示在复位许可数量范围内的虚拟机不影响任何域业务,该数量由backup_instance_number参数得到,部分种类的VNF虚拟机自身便具有主备或者负荷分担等多种机制,例如,VNF虚拟机的种类包括管理类、接口类和处理类,管理类的虚拟机包括了主备情况,可以根据主备情况划分为2个分域,处理类的VNF虚拟机可以有20个,而一般不会对这20个虚拟机进行区分,也就是这20个处理类的虚拟机是不需要特别分域的,因此根据backup_instance_number参数进行部署,可以得到虚拟机的比例和数量情况,如将这类不需要分域的虚拟机分为2组,每组10个,可分别打上a、b标签,可将各10个虚拟机加入到SHA1和SHA2中,在升级处理的过程中依次对SHA1和SHA2中行的主机设备进行分批升级处理,实现对多个主机设备进行分组处理。It should be noted that, in one embodiment, for virtual machines that do not need to be divided into domains, it means that the number of virtual machines within the reset permission range will not affect any domain business. This number is obtained from the backup_instance_number parameter, and some types of VNF virtual machines themselves It has multiple mechanisms such as active/standby or load sharing. For example, the types of VNF virtual machines include management, interface, and processing. domain, there can be 20 VNF virtual machines of the processing type, but generally these 20 virtual machines are not distinguished, that is, the 20 processing type virtual machines do not need to be specially divided into domains, so they are deployed according to the backup_instance_number parameter , you can get the proportion and number of virtual machines. For example, divide this type of virtual machines that do not need to be divided into two groups, each group has 10, and can be marked with a and b labels respectively, and each 10 virtual machines can be added to SHA1 In the upgrade process of SHA1 and SHA2, host devices in SHA1 and SHA2 are upgraded in batches sequentially, so as to realize group processing of multiple host devices.
在满足本申请实施例要求的情况下,还可以通过其它参数对虚拟机的种类情况和数量情况得到虚拟机分域信息,本申请实施例不对其做具体限制。In the case that the requirements of the embodiment of the present application are met, the type and quantity of the virtual machine can also be obtained through other parameters, which are not specifically limited in the embodiment of the present application.
参照图6所示,在一实施例中,上述步骤S330之后,上述方法还可以包括但不限于以下步骤S410至步骤S420。Referring to FIG. 6 , in an embodiment, after the above step S330, the above method may further include but not limited to the following steps S410 to S420.
步骤S410,接收管理编排实体发送的业务回迁请求,业务回迁请求为管理编排实体根据基础设施实体发送的升级成功信息所生成。Step S410, receiving a service relocation request sent by the management and orchestration entity. The service relocation request is generated by the management and orchestration entity according to the upgrade success information sent by the infrastructure entity.
步骤S420,根据业务回迁请求将业务回迁至升级成功后的第一群组内的主机设备所对应的虚拟机。Step S420: According to the service reversion request, the service is relocated to the virtual machine corresponding to the host device in the first group after the upgrade is successful.
在一实施例中,第一群组内的主机设备升级成功后,需要将原来部署在第一群组内主机设备的虚拟机上的业务迁回,以便对其他主机设备进行升级,因此在第一群组内主机设备升级成功后,网络功能实体接收管理编排实体发送的业务回迁请求,业务回迁请求为管理编排实体根据基础设施实体发送的升级成功信息所生成,网络功能实体根据业务回迁请求将业务回迁至升级成功后的第一群组内的主机设备所对应的虚拟机,在业务迁回后,重启后的虚拟机将重新承担业务,以便下一批主机设备进行升级处理,保证了基础设施实体在网络升级时进行重启但是不中断网络业务。可以理解的是,第一群组内主机设备的业务迁回完成后,网络功能实体发送业务迁回成功信息给管理编排实体,还可以根据业务迁回成功信息发送业务迁回完成信息给基础设施实体,以便对其他主机设备进行升级处理,需要说明的是,业务迁回完成信息和业务迁回成功信息可以是同一字段下的信息,还可以是不同字段下的信息,本申请实施例不对其做具体限制。In one embodiment, after the host devices in the first group are successfully upgraded, the services originally deployed on the virtual machines of the host devices in the first group need to be migrated back to upgrade other host devices. After the host devices in a group are successfully upgraded, the network function entity receives the service relocation request sent by the management and orchestration entity. The service relocation request is generated by the management and orchestration entity based on the upgrade success information sent by the infrastructure entity. The business is moved back to the virtual machine corresponding to the host device in the first group after the upgrade is successful. After the business is moved back, the restarted virtual machine will assume the business again so that the next batch of host devices can be upgraded, ensuring the basic The facility entity restarts when the network is upgraded but does not interrupt network services. It can be understood that after the service migration of the host devices in the first group is completed, the network function entity sends the service migration success information to the management and orchestration entity, and can also send the service migration completion information to the infrastructure according to the service migration success information entity, so as to upgrade other host devices. It should be noted that the information on the completion of service relocation and the successful information on service relocation can be information in the same field or information in different fields. This embodiment of the application does not Make specific restrictions.
基于图1所示的NFV系统架构,参照图7所示,本申请实施例提供了一种网络升级方法,应用于基础设施实体,该网络升级方法包括但不限于以下步骤S510至步骤S530。Based on the NFV system architecture shown in FIG. 1 , referring to FIG. 7 , an embodiment of the present application provides a network upgrade method applied to an infrastructure entity. The network upgrade method includes but is not limited to the following steps S510 to S530.
步骤S510,接收基础设施实体发送的第一主机设备信息,第一主机设备信息表征为第一群组内的主机设备。Step S510, receiving first host device information sent by the infrastructure entity, where the first host device information represents a host device in the first group.
在一实施例中,第一主机设备信息表征为第一群组内的主机设备,基础设施实体将多个主机设备分为多个群组内,并在第一批对主机升级的时候,将第一群组内的主机设备进行升级处理,并在升级处理之前,先发送第一主机设备信息到管理编排实体中,管理编排实体接收第一主机设备信息发送的业务迁移请求,以使管理编排实体根据业务迁移请求执行相应操作。In one embodiment, the information of the first host device is represented as host devices in the first group, and the infrastructure entity divides multiple host devices into multiple groups, and when upgrading the hosts in the first batch, the The host devices in the first group perform upgrade processing, and before the upgrade process, first send the first host device information to the management arrangement entity, and the management arrangement entity receives the service migration request sent by the first host device information, so that the management arrangement The entity performs corresponding operations according to the service migration request.
需要说明的是,第一主机设备信息为需要升级的第一群组内的主机设备的列表信息,基 础设施实体将这一批需要升级的主机设备的列表信息发送给管理编排实体,以便对其进行升级处理。It should be noted that the first host device information is the list information of the host devices in the first group that needs to be upgraded, and the infrastructure entity sends the list information of this batch of host devices that need to be upgraded to the management and arrangement entity, so as to Perform upgrade processing.
步骤S520,根据第一主机设备信息向网络功能实体发送业务迁移请求,以使网络功能实体根据业务迁移请求将第一主机设备信息对应的虚拟机的业务进行迁移处理。Step S520: Send a service migration request to the network function entity according to the first host device information, so that the network function entity migrates the service of the virtual machine corresponding to the first host device information according to the service migration request.
在一实施例中,响应于基础设备实体发送的第一主机设备信息,管理编排实体根据第一主机设备信息向网络功能实体发送业务迁移请求,以使网络功能实体对第一主机设备信息对应的虚拟机的业务进行迁移,将其迁移至其他暂时不需要升级的主机上的虚拟机中。In an embodiment, in response to the first host device information sent by the basic device entity, the management and orchestration entity sends a service migration request to the network function entity according to the first host device information, so that the network function entity corresponds to the first host device information The business of the virtual machine is migrated to other virtual machines on other hosts that do not need to be upgraded temporarily.
步骤S530,接收网络功能实体发送的业务迁移成功信息,并根据业务迁移成功信息向基础设施实体发送业务迁移完成信息,以使基础设施实体根据业务迁移完成信息对第一群组内的主机设备进行升级处理。Step S530: Receive service migration success information sent by the network function entity, and send service migration completion information to the infrastructure entity according to the service migration success information, so that the infrastructure entity performs service migration completion information on the host devices in the first group according to the service migration completion information. Escalation process.
在一实施例中,网络功能实体在业务迁移完成后,网络功能实体反馈业务迁移成功信息到管理编排实体中,管理编排实体接收网络功能实体发送的业务迁移成功信息,随后管理编排实体根据业务迁移成功信息发送业务迁移完成信息给基础设备实体,以使基础设施实体根据业务迁移完成信息对第一群组内的主机设备进行升级处理,基础设备实体接收到业务迁移完成信息,表明第一群组内主机设备上的虚拟机业务已经完成迁移,此时对这批主机设备进行升级,并不会对主机上的业务造成影响,不会导致业务中断,因此基础设备实体对第一群组内的主机设备进行升级处理,完成这一批主机设备的升级处理,需要说明的是,业务迁移完成信息和业务迁移成功信息可以是同一字段下的信息,还可以是不同字段下的信息,本申请实施例不对其做具体限制。In one embodiment, after the network function entity completes the service migration, the network function entity feeds back service migration success information to the management and arrangement entity, and the management and arrangement entity receives the service migration success information sent by the network function entity, and then the management and arrangement entity The success message sends the service migration completion information to the basic equipment entity, so that the infrastructure entity can upgrade the host equipment in the first group according to the service migration completion information, and the basic equipment entity receives the service migration completion information, indicating that the first group The virtual machine services on the internal host devices have been migrated. Upgrading these host devices at this time will not affect the services on the hosts and will not cause service interruption. The host device performs the upgrade process to complete the upgrade process of this batch of host devices. It should be noted that the business migration completion information and the business migration success information can be information in the same field or information in different fields. This application implements The example does not impose specific restrictions on it.
需要说明的是,第一群组可以包括多个主机设备,其中,可以包括第一主机设备和第二主机设备,第一主机设备可以为单个主机设备或包括多个子主机设备构成的设备群,第二主机设备可以为单个主机设备或包括多个子主机设备构成的设备群,本申请实施例中的网络升级方法可以为先针对第一主机设备的网络升级,管理编排实体先接收基础设施实体先发送包含第一群组内第一主机设备的第一主机设备信息,根据第一主机设备信息发送业务迁移请求给网络功能实体对第一主机设备上的虚拟机业务进行迁移,迁移完成后基础设施实体对第一主机设备进行升级处理,随后管理编排实体才接收第一群组内第二主机设备的设备信息,对第二主机设备进行升级处理,可以理解的是,分别对第一主机设备和第二主机设备进行升级,为基础设施实体针对不同的主机设备进行的分批升级,避免了业务中断,也提高了升级的可靠性,升级处理包括对主机设备或主机设备上的虚拟机进行关机或重启,本申请实施例不对其做具体限制。It should be noted that the first group may include multiple host devices, including a first host device and a second host device, and the first host device may be a single host device or a device group composed of multiple sub-host devices, The second host device can be a single host device or a device group consisting of multiple sub-host devices. The network upgrade method in the embodiment of the present application can first target the network upgrade of the first host device, and the management and arrangement entity first receives the infrastructure entity first. Send the first host device information including the first host device in the first group, and send a service migration request to the network function entity to migrate the virtual machine service on the first host device according to the first host device information. After the migration is completed, the infrastructure The entity performs upgrade processing on the first host device, and then the management and arrangement entity receives the device information of the second host device in the first group, and performs upgrade processing on the second host device. It can be understood that the first host device and the The second host device is upgraded, and the infrastructure entity is upgraded in batches for different host devices, which avoids business interruption and improves the reliability of the upgrade. The upgrade process includes shutting down the host device or the virtual machine on the host device or reboot, which is not specifically limited in this embodiment of the application.
需要说明的是,第一群组可以包括多个主机设备,其中,可以包括第一主机设备和第二主机设备,第一主机设备可以为单个主机设备或包括多个子主机设备构成的设备群,第二主机设备可以为单个主机设备或包括多个子主机设备构成的设备群,本申请实施例中的网络升级方法可以为针对第一主机设备的网络升级,其中,第二主机设备已经完成升级处理,因此基础设备实体可以针对第一群组内剩下的第一主机主机设备进行网络升级,可以理解的是,分别对第一主机设备和第二主机设备进行升级,为基础设施实体针对不同的主机设备进行的分批升级,避免了业务中断,也提高了升级的可靠性。It should be noted that the first group may include multiple host devices, including a first host device and a second host device, and the first host device may be a single host device or a device group composed of multiple sub-host devices, The second host device may be a single host device or a device group composed of multiple sub-host devices, and the network upgrade method in the embodiment of the present application may be a network upgrade for the first host device, wherein the second host device has completed the upgrade process , so the basic device entity can perform network upgrades for the remaining first host devices in the first group. The batch upgrade of the host device avoids service interruption and improves the reliability of the upgrade.
可以理解的是,本申请实施例中的网络升级方法,可以实现大规模的主机设备升级,将主机设备分为多个批次,第一群组内的主机设备特指当前需要升级的批次的主机设备,分批对主机设备进行升级,并在每一批主机设备的升级过程中,将该主机设备虚拟机上的业务迁移至其他主机设备的虚拟机上,避免了对第一群组内主机设备进行升级的过程中,造成网络业务中断,因此本申请实施例适用于大规模场景,操作简单,大规模的升级时间短。It can be understood that the network upgrade method in the embodiment of the present application can realize large-scale host device upgrades, divide the host devices into multiple batches, and the host devices in the first group specifically refer to the current batches that need to be upgraded The host devices are upgraded in batches, and during the upgrade process of each batch of host devices, the business on the virtual machine of the host device is migrated to the virtual machines of other host devices, avoiding the During the upgrade process of the internal host device, network services are interrupted. Therefore, the embodiment of the present application is applicable to large-scale scenarios, and the operation is simple, and the large-scale upgrade takes a short time.
在一实施例中,上述步骤S520还可以包括:根据第一主机设备信息向网络功能实体发送业务迁移请求,以使网络功能实体根据业务迁移请求将第一主机设备信息对应的虚拟机的业务迁移至第二主机设备信息对应的虚拟机,第二主机设备信息表征为第二群组内的主机设备。In an embodiment, the above step S520 may further include: sending a service migration request to the network function entity according to the first host device information, so that the network function entity migrates the service of the virtual machine corresponding to the first host device information according to the service migration request To the virtual machine corresponding to the second host device information, the second host device information represents a host device in the second group.
在一实施例中,基础设施实体设有多个主机设备,并可以进行分组,包括分为第一群组 和第二群组,其中,在对第一群组内的主机设备进行升级处理中,可以将第一主机设备信息对应的虚拟机的业务迁移至第二主机设备信息对应的虚拟机,而第二主机设备信息表征为第二群组内的主机设备,从而避免了业务划分混乱,保证业务的可靠性,在满足本申请实施例要求的前提下,在对第一群组内第一主机设备进行升级处理过程中,可将第一主机设备对应的虚拟机的业务迁移至第一群组内第二主机设备对应的虚拟机上,本申请实施例以迁移到第二群组内主机设备的虚拟机为例子,但并不表示为对本申请实施例的限制。In an embodiment, the infrastructure entity is provided with a plurality of host devices, and can be grouped, including being divided into a first group and a second group, wherein, in the process of upgrading the host devices in the first group The business of the virtual machine corresponding to the first host device information can be migrated to the virtual machine corresponding to the second host device information, and the second host device information is characterized as a host device in the second group, thereby avoiding confusion in business division, To ensure the reliability of the business, on the premise of meeting the requirements of the embodiment of this application, during the process of upgrading the first host device in the first group, the business of the virtual machine corresponding to the first host device can be migrated to the first On the virtual machine corresponding to the second host device in the group, the embodiment of the present application takes the virtual machine migrated to the host device in the second group as an example, but this is not meant to limit the embodiment of the present application.
在一实施例中,上述步骤S510之前,还可以包括但不限于以下步骤:接收网络功能实体发送的虚拟机分域信息,并向基础设施实体发送虚拟机分域信息,以使基础设施实体根据虚拟机分域信息对多个主机设备进行分组处理,得到第一主机设备信息和第二主机设备信息。In an embodiment, before the above step S510, it may also include but not limited to the following steps: receiving the virtual machine domain information sent by the network function entity, and sending the virtual machine domain information to the infrastructure entity, so that the infrastructure entity The virtual machine domain division information performs group processing on multiple host devices to obtain first host device information and second host device information.
在一实施例中,网络功能实体在业务部署时进行分组处理,管理编排实体接收网络功能实体发送的虚拟机分域信息,并向基础设施实体发送虚拟机分域信息,随后基础设施实体接收管理编排实体发送的虚拟机分域信息,根据该虚拟机分域信息进行分组处理,包括根据虚拟机分域信息对多个主机设备进行分组处理,得到第一主机设备信息和第二主机设备信息,其中,第一主机设备信息和第二主机设备信息分别表征第一群组内的主机设备和第二群组内的主机设备,在对第一群组内的主机设备进行升级的过程中,网络功能实体对虚拟机进行分域后,基础设施实体根据虚拟机分域信息得到的分组进行批次升级,需要说明的是,第一群组和第二群组仅为了区别技术特征,第二群组可以表征为基础设施实体内除第一群组外的某个群组、除第一群组外的多个群组或除第一群组外的多个群组中的某个群组,本申请不对其做具体限制In one embodiment, the network function entity performs grouping processing during service deployment, the management and orchestration entity receives the virtual machine domain information sent by the network function entity, and sends the virtual machine domain information to the infrastructure entity, and then the infrastructure entity receives the management The virtual machine domain information sent by the orchestration entity is grouped according to the virtual machine domain information, including grouping multiple host devices according to the virtual machine domain information to obtain the first host device information and the second host device information, Wherein, the first host device information and the second host device information represent the host devices in the first group and the host devices in the second group respectively, and during the process of upgrading the host devices in the first group, the network After the functional entities divide the virtual machines into domains, the infrastructure entities perform batch upgrades based on the groups obtained from the domain division information of the virtual machines. It should be noted that the first group and the second group are only for distinguishing technical A group may be characterized as a group other than the first group, a group other than the first group, or a group of groups other than the first group within the infrastructure entity, This application does not specifically limit
参照图4所示,在上述方法的一实施例中,先将已经规划好的HA下增加多个子HA,即进行分域,也相当于分组,定义子HA为SHA,SHA的个数可根据实际需要进行设置,主机集群包括多个主机设备,SHA可以为单个主机设备或包括多个子主机设备构成的设备群,网络功能实体即VNF在部署过程中,针对部署VNF的虚拟机进行分域,并将具有同一分域的虚拟机的主机设备划分到同一群组中,例如,第一群组内主机设备的虚拟机上配置的VNF为同一分域下的,因此在对第一群组内主机设备进行升级的过程中,不会对部署了其它分域VNF的虚拟机提供升级处理,使得同一分域的虚拟机可以同批升级,从而避免了业务划分混乱,保证业务的可靠性,可以理解的是,第一群组可以为某个SHA,还可以包括多个SHA。Referring to Figure 4, in one embodiment of the above method, first add multiple sub-HAs to the planned HA, that is, to divide the domain, which is also equivalent to grouping, and define the sub-HA as SHA, and the number of SHAs can be determined according to Actual setting is required. The host cluster includes multiple host devices. The SHA can be a single host device or a device group consisting of multiple sub-host devices. During the deployment process of the network function entity (VNF), the virtual machine on which the VNF is deployed is divided into domains. And divide the host devices of the virtual machines with the same domain into the same group, for example, the VNF configured on the virtual machines of the host device in the first group is under the same domain, so in the first group During the upgrade process of the host device, the virtual machines deployed with other domain-specific VNFs will not be upgraded, so that the virtual machines in the same domain can be upgraded in the same batch, thereby avoiding business division confusion and ensuring business reliability. It is understood that the first group may be a certain SHA, and may also include multiple SHAs.
在一实施例中,虚拟机分域信息由网络功能实体根据虚拟机的种类信息以及虚拟机的数量信息进行分域处理后得到。网络功能实体根据虚拟机的种类信息,得到一定数量的分域,并对所有的虚拟机打上分域标签,虚拟机的种类信息与网络功能实体的分域情况相对应,并结合虚拟机的数量信息得到虚拟机的数量,基于以上特征对虚拟机进行分域,以使得分域后的虚拟机可以部署到同一主机设备中。In an embodiment, the virtual machine domain division information is obtained by the network function entity after performing domain division processing according to the virtual machine type information and the virtual machine quantity information. The network function entity obtains a certain number of domains according to the type information of the virtual machine, and labels all virtual machines with domain division. The type information of the virtual machine corresponds to the domain division of the network function entity, and combines the number of virtual machines The information obtains the number of virtual machines, and the virtual machines are divided into domains based on the above characteristics, so that the divided virtual machines can be deployed to the same host device.
在上述方法的一实施例中,VNF在部署时根据虚拟机的种类信息划分为多个分域,例如划分为a、b、c三个分域,VNF在部署时对所有虚拟机打上SHA标签,可以根据upgrade_az参数得到,例如,可以将SHA划分为SHA1、SHA2、SHA3三个群组标签,分成三个群组,虚拟机的种类信息跟分域数量信息相对应,并将a域的虚拟机对应的主机设备加入到SHA1中,将b域的虚拟机对应的主机设备加入到SHA2中,将c域的虚拟机对应的主机设备加入到SHA3中,在一实施例中,若SHA1中主机设备上的虚拟机数量不够,根据虚拟机的数量信息可以在将SHA划分为SHA1、SHA2、SHA3、SHA4四个标签,并将a域的虚拟机对应的一部分主机设备加入到SHA1中,另一部分主机设备加入到SHA2中,将b域的虚拟机对应的主机设备加入到SHA3中,将c域的虚拟机对应的主机设备加入到SHA4中,以此完成虚拟机的实例化。In an embodiment of the above method, the VNF is divided into multiple sub-domains according to the type information of the virtual machines during deployment, for example, divided into three sub-domains a, b, and c, and the VNF puts SHA tags on all virtual machines during deployment , can be obtained according to the upgrade_az parameter. For example, SHA can be divided into three group tags of SHA1, SHA2, and SHA3, and divided into three groups. The type information of the virtual machine corresponds to the number of sub-domains, and the virtual The host device corresponding to the machine is added to SHA1, the host device corresponding to the virtual machine in domain b is added to SHA2, and the host device corresponding to the virtual machine in domain c is added to SHA3. In one embodiment, if the host device in SHA1 The number of virtual machines on the device is not enough. According to the number of virtual machines, SHA can be divided into four labels: SHA1, SHA2, SHA3, and SHA4, and a part of the host devices corresponding to the virtual machines in domain a is added to SHA1, and the other part The host device is added to SHA2, the host device corresponding to the virtual machine in domain b is added to SHA3, and the host device corresponding to the virtual machine in domain c is added to SHA4, so as to complete the instantiation of the virtual machine.
需要说明的是,在一实施例中,对于不需要分域的虚拟机,表示在复位许可数量范围内的虚拟机不影响任何域业务,该数量由backup_instance_number参数得到,部分种类的VNF虚拟机自身便具有主备或者负荷分担等多种机制,例如,VNF虚拟机的种类包括管理类、接口类和处理类,管理类的虚拟机包括了主备情况,可以根据主备情况划分为2个分域,处理类的VNF虚拟机可以有20个,而一般不会对这20个虚拟机进行区分,也就是这20个处理类 的虚拟机是不需要特别分域的,因此根据backup_instance_number参数进行部署,可以得到虚拟机的比例和数量情况,如将这类不需要分域的虚拟机分为2组,每组10个,可分别打上a、b标签,可将各10个虚拟机加入到SHA1和SHA2中,在升级处理的过程中依次对SHA1和SHA2中行的主机设备进行分批升级处理,实现对多个主机设备进行分组处理。It should be noted that, in one embodiment, for virtual machines that do not need to be divided into domains, it means that the number of virtual machines within the reset permission range will not affect any domain business. This number is obtained from the backup_instance_number parameter, and some types of VNF virtual machines themselves It has multiple mechanisms such as active/standby or load sharing. For example, the types of VNF virtual machines include management, interface, and processing. domain, there can be 20 VNF virtual machines of the processing type, but generally these 20 virtual machines are not distinguished, that is, the 20 processing type virtual machines do not need to be specially divided into domains, so they are deployed according to the backup_instance_number parameter , you can get the proportion and number of virtual machines. For example, divide this type of virtual machines that do not need to be divided into two groups, each group has 10, and can be marked with a and b labels respectively, and each 10 virtual machines can be added to SHA1 In the upgrade process of SHA1 and SHA2, host devices in SHA1 and SHA2 are upgraded in batches sequentially, so as to realize group processing of multiple host devices.
在满足本申请实施例要求的情况下,还可以通过其它参数对虚拟机的种类情况和数量情况得到虚拟机分域信息,本申请实施例不对其做具体限制。In the case that the requirements of the embodiment of the present application are met, the type and quantity of the virtual machine can also be obtained through other parameters, which are not specifically limited in the embodiment of the present application.
参照图8所示,在一实施例中,上述步骤S530之后,上述方法还可以包括但不限于以下步骤S610至步骤S620。Referring to FIG. 8 , in an embodiment, after the above step S530, the above method may further include but not limited to the following steps S610 to S620.
步骤S610,接收基础设施实体发送的升级成功信息。Step S610, receiving the upgrade success information sent by the infrastructure entity.
步骤S620,根据升级成功信息向网络功能实体发送业务回迁请求,以使网络功能实体根据业务回迁请求将业务回迁至升级成功后的第一群组内的主机设备所对应的虚拟机。Step S620: Send a service relocation request to the network function entity according to the upgrade success information, so that the network function entity reverts the service to the virtual machine corresponding to the host device in the first group after the upgrade is successful according to the service relocation request.
在一实施例中,第一群组内的主机设备升级成功后,需要将原来部署在第一群组内主机设备的虚拟机上的业务迁回,以便对其他主机设备进行升级,因此在第一群组内主机设备升级成功后,管理编排实体接收基础设施实体发送的升级成功信息,管理编排实体根据升级成功信息向网络功能实体发送业务回迁请求,以使网络功能实体根据业务回迁请求将业务回迁至升级成功后的第一群组内的主机设备所对应的虚拟机,在业务迁回后,重启后的虚拟机将重新承担业务,以便下一批主机设备进行升级处理,保证了基础设施实体在网络升级时进行重启但是不中断网络业务。可以理解的是,第一群组内主机设备的业务迁回完成后,管理编排实体接收网络功能实体发送的业务迁回成功信息,还可以根据业务迁回成功信息发送业务迁回完成信息给基础设施实体,以便对其他主机设备进行升级处理,需要说明的是,业务迁回完成信息和业务迁回成功信息可以是同一字段下的信息,还可以是不同字段下的信息,本申请实施例不对其做具体限制。In one embodiment, after the host devices in the first group are successfully upgraded, the services originally deployed on the virtual machines of the host devices in the first group need to be migrated back to upgrade other host devices. After the upgrade of host devices in a group is successful, the management and orchestration entity receives the upgrade success information sent by the infrastructure entity, and the management and orchestration entity sends a service relocation request to the network function entity according to the upgrade success information, so that the network function entity will transfer the service according to the service relocation request. Move back to the virtual machine corresponding to the host device in the first group after the upgrade is successful. After the business is moved back, the restarted virtual machine will take on the business again, so that the next batch of host devices can be upgraded, ensuring the infrastructure The entity restarts when the network is upgraded but does not interrupt network services. It can be understood that after the service migration of the host devices in the first group is completed, the management and orchestration entity receives the service migration success information sent by the network function entity, and may also send the service migration completion information to the basic Facility entities, so as to upgrade other host devices. It should be noted that the information on the completion of business relocation and the successful information on business relocation can be information in the same field, or information in different fields. This embodiment of the application is not correct. It has specific restrictions.
实施例一,下面为本申请一具体实施例中的分域部署流程。Embodiment 1. The following is the domain-specific deployment process in a specific embodiment of the present application.
1)在已经规划好的HA下,增加子HA(SHA)的概念,也就是分域。每一个HA下,SHA的个数可以限制,否则会造成分批次数太多操作时间长,本申请实施例可将SHA的个数设置为4个,可根据实际需要设置SHA的个数。每一个SHA中单个VNF最多只能部署一个分域的虚拟机。1) Under the planned HA, add the concept of sub-HA (SHA), that is, domain division. Under each HA, the number of SHAs can be limited, otherwise it will cause too many batches and long operation time. In the embodiment of the present application, the number of SHAs can be set to 4, and the number of SHAs can be set according to actual needs. A single VNF in each SHA can deploy at most one domain-specific virtual machine.
在一实施例中,若VNF分3个域,包括a、b、c域,则a域的虚拟机可以部署到SHA1、SHA2,但是SHA1不再部署b、c域的虚拟机,这样保证SHA内的主机设备可以在同一批次内升级重启。In one embodiment, if the VNF is divided into three domains, including domains a, b, and c, then the virtual machines in domain a can be deployed to SHA1 and SHA2, but SHA1 will no longer deploy virtual machines in domains b and c. This ensures that SHA The host device in the same batch can be upgraded and restarted.
2)需要每个VNF将所有虚拟机分域。业务在一个域内具有完整性,一个域内的所有虚拟机或部分虚拟机重启,不会影响另外域的业务,而一个域的业务,允许全部迁移到另外一个域,保证该域内有虚拟机重启时不中断业务。2) Each VNF needs to divide all virtual machines into domains. The business has integrity in one domain. Restarting of all virtual machines or some virtual machines in one domain will not affect the business of another domain. However, the business of one domain is allowed to be completely migrated to another domain to ensure that when a virtual machine in this domain restarts No business interruption.
3)VNF在部署时,根据upgrade_az参数对所有的虚拟机打SHA(即上面的分域)的标签,取值自然数,不携带表示不需要分域,不分域的虚拟机,表示在复位许可数量范围内的虚拟机不影响任何域业务,该数量由backup_instance_number参数控制,取自然数则表示数量,取小数则表示比例。3) When the VNF is deployed, it tags all virtual machines with SHA (that is, the domain division above) according to the upgrade_az parameter. The number of virtual machines within the range does not affect any domain business. The number is controlled by the backup_instance_number parameter. A natural number indicates the number, and a decimal indicates the ratio.
4)MANO在部署的时候,下发upgrade_az和backup_instance_number参数给NFVI。4) When MANO is deployed, it sends the upgrade_az and backup_instance_number parameters to NFVI.
5)NFVI在实例化虚拟机的时候,根据虚拟机分域信息(包括根据upgrade_az参数和backup_instance_number参数中的至少一个),把相应的主机设备自动加入到对应的SHA中,这样实例化完成后自动建立SHA批次,实现分组处理。5) When NFVI instantiates the virtual machine, according to the domain information of the virtual machine (including at least one of the upgrade_az parameter and the backup_instance_number parameter), the corresponding host device is automatically added to the corresponding SHA, so that after the instantiation is completed, it will automatically Create SHA batches to realize group processing.
6)实例化完成后,虚拟机的迁移/重生,首先选当前虚拟机所在的SHA中的主机设备,次选空白主机设备,然后将该主机设备加入该SHA,这样不会造成已有的SHA划分混乱,最后为了保证重生可靠性,会选到别的SHA的主机设备上,本申请实施例不对其做具体限制。6) After the instantiation is completed, for the migration/rebirth of the virtual machine, first select the host device in the SHA where the current virtual machine is located, and then select a blank host device, and then add the host device to the SHA, so that the existing SHA will not be caused The division is chaotic, and in the end, in order to ensure the reliability of the regeneration, it will be selected on another SHA host device, which is not specifically limited in the embodiment of this application.
需要说明的是,NFVI、MANO和VNF之间的接口,需要增强,增加upgrade_az和backup_instance_number参数,对与不携带这两个参数的流程,仍然可以保证兼容,对与携 带了增强参数的,则支持该增强功能,本申请实施例不对其做具体限制。It should be noted that the interface between NFVI, MANO, and VNF needs to be enhanced. The parameters upgrade_az and backup_instance_number are added. Compatibility can still be guaranteed for processes that do not carry these two parameters, and support for processes that carry enhanced parameters. This enhanced function is not specifically limited in this embodiment of the application.
实施例二,参照图9所示,下面为本申请一具体实施例中的升级流程:NFVI在进行升级操作时,首先进行维护状态,不再进行虚拟机的创建或删除等操作,减少其他操作引起的干扰,NFVI根据VNF在实例化时通过MANO传递过来的参数,进行分批。每一批主机升级重启时,可以由VNF的可靠性机制保证不会中断业务。Embodiment 2, as shown in FIG. 9 , the following is an upgrade process in a specific embodiment of the present application: when NFVI performs an upgrade operation, it first performs maintenance status, and no longer performs operations such as creating or deleting a virtual machine, reducing other operations For the interference caused, NFVI performs batching according to the parameters passed by VNF through MANO when it is instantiated. When each batch of hosts is upgraded and restarted, the reliability mechanism of the VNF can ensure that the business will not be interrupted.
第一批主机设备升级时包括1)至10)。1) to 10) are included when the first batch of host devices are upgraded.
1)首先由NFVI将第一批主机设备列表信息发送给MANO,即将第一群组内主机设备的第一主机设备信息发送给MANO。1) First, the NFVI sends the first batch of host device list information to the MANO, that is, sends the first host device information of the host devices in the first group to the MANO.
2)MANO识别出该批主机设备上的虚拟机所对应的VNF,并将识别出的虚拟机对应信息通知到VNF,发送业务迁移请求给VNF。2) MANO identifies the VNFs corresponding to the virtual machines on the batch of host devices, notifies the VNFs of the identified virtual machines corresponding information, and sends a service migration request to the VNFs.
3)VNF收到MANO发送的业务迁移请求,确认对应的虚拟机即将会被重启,将相应的业务进行主备倒换、负荷分担等卸载方法进行业务迁移,本申请实施例以业务进行主备倒换、负荷分担进行卸载完成业务迁移为例子,但并不表示为对本申请实施例的限制。3) VNF receives the service migration request sent by MANO, confirms that the corresponding virtual machine will be restarted soon, and performs service migration by unloading methods such as active-standby switchover and load sharing for the corresponding service. 1. Load sharing and offloading to complete service migration are examples, but it does not represent a limitation to this embodiment of the application.
4)VNF完成业务迁移后,发送业务迁移成功信息给MANO,表明对应的虚拟机业务已经卸载完成,可以重启。4) After the VNF completes the service migration, it sends a service migration success message to the MANO, indicating that the corresponding virtual machine service has been uninstalled and can be restarted.
5)MANO根据业务迁移成功信息发送业务迁移完成信息给NFVI。5) MANO sends service migration completion information to NFVI according to the service migration success information.
6)NFVI对该批主机设备进行升级和重启,即对第一群组内主机设备进行升级。6) NFVI upgrades and restarts the batch of host devices, that is, upgrades the host devices in the first group.
7)NFVI待本批主机设备重启完成,升级成功,并启动虚拟机正常后,发送升级成功信息给MANO,表明本批主机升级完成。7) NFVI waits for the batch of host devices to be restarted, the upgrade is successful, and after the virtual machine is started normally, it will send an upgrade success message to MANO, indicating that the upgrade of this batch of hosts is complete.
8)MANO识别出升级成功的第一群组内主机设备对应的VNF,发送业务回迁请求给VNF将业务迁回原来的主机设备。8) MANO identifies the VNF corresponding to the host device in the first group that has been successfully upgraded, and sends a service migration request to the VNF to migrate the service back to the original host device.
9)VNF进行业务迁回,重启后的虚拟机重新承担业务,迁回完成后发送业务迁回成功信息通知MANO迁回成功。9) The VNF performs service relocation, and the restarted virtual machine assumes the service again. After the relocation is completed, a service relocation success message is sent to inform the MANO that the relocation is successful.
10)MANO根据业务迁回成功信息发送迁回完成信息通知NFVI业务迁回完成。10) The MANO sends a migration completion message to notify the NFVI of the completion of the migration based on the successful migration information.
需要说明的是,第一批主机设备升级成功,由于NFVI、MANO和VNF之间的联动流程,保证了NFVI是升级时进行主机设备重启但是不中断业务,后面其他批次主机设备重启,流程和第一批一致,重复进行,直至所有主机设备完成升级重启。It should be noted that the first batch of host devices was successfully upgraded. Due to the linkage process between NFVI, MANO, and VNF, it is guaranteed that NFVI restarts the host devices during the upgrade but does not interrupt the business. The other batches of host devices restart later. The process and The first batch is consistent, repeat until all host devices are upgraded and restarted.
完成所有主机设备升级重启后,NFVI退出维护模式,恢复正常运行。After all host devices are upgraded and restarted, NFVI exits maintenance mode and resumes normal operation.
图10示出了本申请实施例提供的电子设备100。电子设备100包括:处理器101、存储器102及存储在存储器102上并可在处理器101上运行的计算机程序,计算机程序运行时用于执行上述的网络升级方法。FIG. 10 shows an
处理器101和存储器102可以通过总线或者其他方式连接。The
存储器102作为一种非暂态计算机可读存储介质,可用于存储非暂态软件程序以及非暂态性计算机可执行程序,如本申请实施例描述的网络升级方法。处理器101通过运行存储在存储器102中的非暂态软件程序以及指令,从而实现上述的网络升级方法。The
存储器102可以包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需要的应用程序;存储数据区可存储执行上述的网络升级方法。此外,存储器102可以包括高速随机存取存储器102,还可以包括非暂态存储器102,例如至少一个储存设备存储器件、闪存器件或其他非暂态固态存储器件。在一些实施方式中,存储器102可选包括相对于处理器101远程设置的存储器102,这些远程存储器102可以通过网络连接至该电子设备100。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The
实现上述的网络升级方法所需的非暂态软件程序以及指令存储在存储器102中,当被一个或者多个处理器101执行时,执行上述的网络升级方法,例如,执行图2中的方法步骤S110至步骤S130、图3中的方法步骤S210至步骤S220、图5中的方法步骤S310至步骤S330、图6中的方法步骤S410至步骤S420、图7中的方法步骤S510至步骤S530、图8中的方法步 骤S610至步骤S620。The non-transitory software programs and instructions required to realize the above-mentioned network upgrade method are stored in the
以上所描述的装置实施例仅仅是示意性的,其中作为分离部件说明的单元可以是或者也可以不是物理上分开的,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。The device embodiments described above are only illustrative, and the units described as separate components may or may not be physically separated, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
本申请实施例至少包括以下有益效果:本申请实施例提供了一种网络升级方法、电子设备及存储介质,其中网络升级方法可应用在基础设施实体、网络功能实体或管理编排实体中,在对基础设施实体内的主机设备进行升级时,先发送表征为第一群组内主机设备的第一主机设备信息到管理编排实体中,管理编排实体根据第一主机设备信息得到业务迁移请求并发送到网络功能实体中,网络功能实体根据业务迁移请求将第一主机设备信息对应的虚拟机的业务进行迁移处理,随后基础设施实体对完成业务迁移的主机设备进行升级处理,由于部署在第一群组内主机设备的虚拟机上的业务已经迁移至其他不需要升级的主机设备中,因此本申请实施例能够在网络升级的过程中,实现网络业务不中断。The embodiments of the present application at least include the following beneficial effects: The embodiments of the present application provide a network upgrade method, electronic equipment, and storage media, wherein the network upgrade method can be applied to an infrastructure entity, a network function entity, or a management and orchestration entity. When the host device in the infrastructure entity is upgraded, it first sends the information of the first host device represented as the host device in the first group to the management arrangement entity, and the management arrangement entity obtains the service migration request according to the information of the first host device and sends it to In the network function entity, the network function entity migrates the service of the virtual machine corresponding to the first host device information according to the service migration request, and then the infrastructure entity upgrades the host device that has completed the service migration. The services on the virtual machine of the internal host device have been migrated to other host devices that do not need to be upgraded, so the embodiments of the present application can realize uninterrupted network services during the network upgrade process.
本领域普通技术人员可以理解,上文中所公开方法中的全部或某些步骤、系统可以被实施为软件、固件、硬件及其适当的组合。某些物理组件或所有物理组件可以被实施为由处理器,如中央处理器、数字信号处理器或微处理器执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。这样的软件可以分布在计算机可读介质上,计算机可读介质可以包括计算机存储介质(或非暂时性介质)和通信介质(或暂时性介质)。如本领域普通技术人员公知的,术语计算机存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、程序模块或其他数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质。计算机存储介质包括但不限于RAM、ROM、EEPROM、闪存或其他存储器技术、CD-ROM、数字多功能盘(DVD)或其他光盘存储、磁盒、磁带、储存设备存储或其他磁存储装置、或者可以用于存储期望的信息并且可以被计算机访问的任何其他的介质。此外,本领域普通技术人员公知的是,通信介质通常包括计算机可读指令、数据结构、程序模块或者诸如载波或其他传输机制之类的调制数据信号中的其他数据,并且可包括任何信息递送介质。Those skilled in the art can understand that all or some of the steps and systems in the methods disclosed above can be implemented as software, firmware, hardware and an appropriate combination thereof. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit . Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). As known to those of ordinary skill in the art, the term computer storage media includes both volatile and nonvolatile media implemented in any method or technology for storage of information, such as computer readable instructions, data structures, program modules, or other data. permanent, removable and non-removable media. Computer storage media including, but not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cartridges, magnetic tape, storage device storage or other magnetic storage devices, or Any other medium that can be used to store desired information and that can be accessed by a computer. Furthermore, as is well known to those of ordinary skill in the art, communication media typically embody computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media .
还应了解,本申请实施例提供的各种实施方式可以任意进行组合,以实现不同的技术效果。It should also be understood that the various implementation manners provided in the embodiments of the present application may be combined arbitrarily to achieve different technical effects.
以上是对本申请的一些实施进行了具体说明,但本申请并不局限于上述实施方式,熟悉本领域的技术人员在不违背本申请精神的共享条件下还可作出种种等同的变形或替换,这些等同的变形或替换均包括在本申请权利要求所限定的范围内。The above is a specific description of some implementations of the present application, but the present application is not limited to the above-mentioned embodiments. Those skilled in the art can also make various equivalent deformations or replacements without violating the spirit of the present application. Equivalent modifications or replacements are all within the scope defined by the claims of the present application.
Claims (17)
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202111152285.7 | 2021-09-29 | ||
| CN202111152285.7A CN115913940B (en) | 2021-09-29 | 2021-09-29 | Network upgrade methods, electronic devices and storage media |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2023050947A1 true WO2023050947A1 (en) | 2023-04-06 |
Family
ID=85739381
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2022/102900 Ceased WO2023050947A1 (en) | 2021-09-29 | 2022-06-30 | Network upgrade method, electronic device and storage medium |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN115913940B (en) |
| WO (1) | WO2023050947A1 (en) |
Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8190769B1 (en) * | 2008-12-30 | 2012-05-29 | Juniper Networks, Inc. | Methods and apparatus for provisioning at a network device in response to a virtual resource migration notification |
| CN105471994A (en) * | 2015-12-01 | 2016-04-06 | 华为技术有限公司 | Control method and device |
| CN106301876A (en) * | 2015-06-26 | 2017-01-04 | 中兴通讯股份有限公司 | Physical machine upgrade method, business migration method and device |
| CN106569871A (en) * | 2015-10-12 | 2017-04-19 | 中兴通讯股份有限公司 | Method and device for upgrade processing |
| CN108319492A (en) * | 2017-01-18 | 2018-07-24 | 华为技术有限公司 | Reset the method, apparatus and system of physical machine |
| CN111897554A (en) * | 2019-05-06 | 2020-11-06 | 中兴通讯股份有限公司 | An upgrade method, device and system |
| CN112346755A (en) * | 2019-08-09 | 2021-02-09 | 华为技术有限公司 | Version upgrading method and device based on network function virtualization |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106792692B (en) * | 2016-12-27 | 2019-11-05 | 兴唐通信科技有限公司 | A kind of physics dicing method based on SDN technology |
| CN108011846B (en) * | 2017-11-03 | 2022-07-26 | 华为技术有限公司 | Method and device for managing service in network function virtualization architecture |
-
2021
- 2021-09-29 CN CN202111152285.7A patent/CN115913940B/en active Active
-
2022
- 2022-06-30 WO PCT/CN2022/102900 patent/WO2023050947A1/en not_active Ceased
Patent Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8190769B1 (en) * | 2008-12-30 | 2012-05-29 | Juniper Networks, Inc. | Methods and apparatus for provisioning at a network device in response to a virtual resource migration notification |
| CN106301876A (en) * | 2015-06-26 | 2017-01-04 | 中兴通讯股份有限公司 | Physical machine upgrade method, business migration method and device |
| CN106569871A (en) * | 2015-10-12 | 2017-04-19 | 中兴通讯股份有限公司 | Method and device for upgrade processing |
| CN105471994A (en) * | 2015-12-01 | 2016-04-06 | 华为技术有限公司 | Control method and device |
| CN108319492A (en) * | 2017-01-18 | 2018-07-24 | 华为技术有限公司 | Reset the method, apparatus and system of physical machine |
| CN111897554A (en) * | 2019-05-06 | 2020-11-06 | 中兴通讯股份有限公司 | An upgrade method, device and system |
| CN112346755A (en) * | 2019-08-09 | 2021-02-09 | 华为技术有限公司 | Version upgrading method and device based on network function virtualization |
Also Published As
| Publication number | Publication date |
|---|---|
| CN115913940B (en) | 2025-11-04 |
| CN115913940A (en) | 2023-04-04 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11316800B2 (en) | Method and system for managing applications | |
| US11210132B2 (en) | Virtual machine migration in virtualization environment having different virtualization systems | |
| CN109885316B (en) | Hdfs-hbase deployment method and device based on kubernetes | |
| US11809901B2 (en) | Migrating the runtime state of a container between two nodes | |
| EP3291499A1 (en) | Method and apparatus for network service capacity expansion | |
| CN111143023B (en) | Resource changing method and device, equipment and storage medium | |
| WO2016177260A1 (en) | Libvirt software hot upgrading method and device | |
| CN111641515A (en) | VNF life cycle management method and device | |
| CN107967140A (en) | The initiating method of software modification, the method and device for issuing metadata | |
| US20220365822A1 (en) | Data Processing Method and Computer Device | |
| CN112328365A (en) | Virtual machine migration method, device, equipment and storage medium | |
| US20180203726A1 (en) | Virtual machine migration method and apparatus | |
| CN111447076A (en) | Container deployment method and network element of network function virtualization (NVF) system | |
| CN101877655A (en) | Network management system, network management server and method | |
| CN116743762A (en) | Service registration cluster flow switching method, flow switching device and storage medium | |
| CN118885158B (en) | Development environment creation method, storage medium, electronic device and computer program product | |
| WO2021254280A1 (en) | Disk mounting method and device, storage medium, and electronic device | |
| CN112015515B (en) | Instantiation method and device of virtual network function | |
| WO2023050947A1 (en) | Network upgrade method, electronic device and storage medium | |
| US20230273801A1 (en) | Method for configuring compute mode, apparatus, and computing device | |
| CN117435608A (en) | Multi-cluster data query methods, devices, equipment and storage media | |
| CN117472278A (en) | Distributed storage method, equipment and media based on vhost protocol | |
| CN117667132A (en) | Operating system update method, device and storage medium | |
| CN118567777A (en) | Management method of server and virtual instance based on cloud computing technology | |
| CN106803786B (en) | A method and system for updating network elements based on network function virtualization |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 22874344 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 22874344 Country of ref document: EP Kind code of ref document: A1 |