WO2016070302A1 - 虚拟网络功能实例的迁移方法、装置和系统 - Google Patents

虚拟网络功能实例的迁移方法、装置和系统 Download PDF

Info

Publication number
WO2016070302A1
WO2016070302A1 PCT/CN2014/090145 CN2014090145W WO2016070302A1 WO 2016070302 A1 WO2016070302 A1 WO 2016070302A1 CN 2014090145 W CN2014090145 W CN 2014090145W WO 2016070302 A1 WO2016070302 A1 WO 2016070302A1
Authority
WO
WIPO (PCT)
Prior art keywords
virtual network
network function
signaling message
copy
state information
Prior art date
Application number
PCT/CN2014/090145
Other languages
English (en)
French (fr)
Inventor
黄仰诚
Original Assignee
华为技术有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to JP2017523794A priority Critical patent/JP6432955B2/ja
Priority to EP14905543.6A priority patent/EP3206335B1/en
Priority to PCT/CN2014/090145 priority patent/WO2016070302A1/zh
Priority to KR1020177014894A priority patent/KR20170078799A/ko
Publication of WO2016070302A1 publication Critical patent/WO2016070302A1/zh
Priority to US15/585,862 priority patent/US10455412B2/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/40Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks using virtualisation of network functions or resources, e.g. SDN or NFV entities
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/30Network data restoration; Network data reliability; Network data fault tolerance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/16Error detection or correction of the data by redundancy in hardware
    • G06F11/1658Data re-synchronization of a redundant component, or initial sync of replacement, additional or spare unit
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/485Task life-cycle, e.g. stopping, restarting, resuming execution
    • G06F9/4856Task life-cycle, e.g. stopping, restarting, resuming execution resumption being on a different machine, e.g. task migration, virtual machine migration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0823Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
    • H04L41/0836Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability to enhance reliability, e.g. reduce downtime
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0895Configuration of virtualised networks or elements, e.g. virtualised network function or OpenFlow elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0896Bandwidth or capacity management, i.e. automatically increasing or decreasing capacities
    • H04L41/0897Bandwidth or capacity management, i.e. automatically increasing or decreasing capacities by horizontal or vertical scaling of resources, or by migrating entities, e.g. virtual resources or entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/02Processing of mobility data, e.g. registration information at HLR [Home Location Register] or VLR [Visitor Location Register]; Transfer of mobility data, e.g. between HLR, VLR or external networks
    • H04W8/08Mobility data transfer
    • H04W8/14Mobility data transfer between corresponding nodes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/4557Distribution of virtual machine instances; Migration and load balancing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery

Definitions

  • the embodiments of the present invention relate to the field of computers, and in particular, to a method, an apparatus, and a system for migrating virtual network function instances.
  • NFV Network Function Virtualization
  • general-purpose hardware such as x86 and virtualization technology to carry software with many different functions.
  • NFV can establish virtual network function (VNF) through hardware and software decoupling and functional abstraction, so that the functions of network devices no longer depend on dedicated hardware, resources can be fully flexibly shared, and new services can be quickly developed and deployed. And based on actual business needs, automatic deployment, elastic scaling, fault isolation and self-healing.
  • MME Mobility Management Entity
  • the backup method is adopted to avoid the impact of the network node failure.
  • the MME is used as an example.
  • the user equipment context information is sent to the backup MME node by means of state synchronization, but the core node such as the MME is involved.
  • state synchronization takes a lot of time and resources, resulting in slow recovery and reduced reliability.
  • the embodiment of the invention provides a migration method and device for a virtual network function instance, which improves the migration efficiency of the virtual network function instance, and can also be a virtual network function running the virtual network function instance or a network node of the virtual network function host. Improve failure recovery in the event of a failure rate.
  • the embodiment of the present invention provides a method for migrating a virtual network function instance, where the method includes: starting a copy operation of the running state information, where the copying operation includes: sending the first running state information to the destination virtual network function.
  • the first running state information is the running state information that is existing before the copying operation is started in the source virtual network function; and the signaling message is started at the same time as the copying operation is started or before the copying operation is started.
  • the migrating operation comprising: sending the first signaling message to a destination virtual network function before the first signaling message is processed by the source virtual network function, the first signaling message being used to indicate Determining that the virtual network function creates second operational state information on the destination virtual network function; and sends a copy of the second signaling message to the destination virtual network function, the second signaling message being used to indicate the location Determining the virtual network function to update the first operational status information or the second operational status information; A copy of the operational status information is all received by the destination virtual network function, and if the copies of the first signaling message and the second signaling message are all processed by the destination virtual network function,
  • the source virtual network function is wired to facilitate execution of the virtual network function instance by the destination virtual network function.
  • the sending, by the destination virtual network function, the copy of the first running state information includes: prioritizing the copy of the first running state information
  • the high-end sequence is sent to the destination virtual network function, wherein the higher the frequency of change of the first running state information, the higher the priority of the copy of the first running state information.
  • the changing frequency is a historical change frequency of the first operating state information or a history according to the first operating state information Change the frequency of future changes predicted by information.
  • the first possible implementation manner of the first aspect, the first or the second possible implementation manner, in the third possible implementation manner the determining the copy of the first running state information Receiving, by the destination virtual network function, the first summary sent by the destination virtual network function after the copy of the first running state information is all executed and sent to the destination virtual network function
  • the first summary is that the destination virtual network function is generated according to the running state information received by the destination virtual network function from the source virtual network function; If the first digest is the same as the second digest, determining that the copy of the first operational status information is all received by the destination virtual network function, wherein the second digest is a source virtual network function according to the first The operational status information or the copy of the first operational status information is determined.
  • the operating state information includes a user equipment context.
  • an embodiment of the present invention provides a method for migrating a virtual network function instance, where the virtual network function instance is migrated from a source virtual network function to a destination virtual network function, and the method is applied to the destination virtual network function.
  • the method includes: receiving a copy of the first operational status information, where the first operational status information is operational status information that is already present in the source virtual network function before the migration begins; receiving the first signaling And generating a second running state information according to the first signaling message, receiving a copy of the second signaling message, and updating the first running state information or the first according to the copy of the second signaling message Two operating state information; in a case where it is determined that all copies of the first operating state information are received, and the copies of the first signaling message and the second signaling message are all processed, indicating The source virtual network function is offline to facilitate execution of the virtual network function instance by the destination virtual network function.
  • the updating the first operating state information according to the copy of the second signaling message includes: if the second signaling message The copy indicates that the updated first operational status information exists, and the first operational status information is updated according to the second signaling message; if the copy of the second signaling message indicates that the updated first operational status information does not exist Causing a pre-processed result of the copy of the second signaling message or the copy of the second signaling message to facilitate receiving the non-existent first operational status information from the source virtual network function And updating the first running state information according to the copy of the second signaling message or the pre-processing result of the copy of the second signaling message.
  • the pre-processing result of buffering the copy of the second signaling message includes: parsing the second signaling message Replica to obtain information carried in a copy of the second signaling message; constructing the information carried in the copy of the second signaling message to indicate an update operation with a copy of the second signaling message Shape
  • the data structure of the state information has the same data structure; the data structure is cached.
  • the determining receives all the first operations
  • the step of the status information includes: determining a first digest according to the received copy of the first operational status information, and transmitting the first digest to the source virtual network function; receiving the indication information sent by the source virtual network function The indication information is used to indicate that the first digest is the same as the second digest determined by the source virtual network function, and then determining to receive all the first running status information, where the second digest is the The source virtual network function is determined based on all of the first operational status information.
  • the indicating the source virtual network function includes: sending the offline indication information to the source virtual network function, so that the source virtual network function performs the offline operation.
  • an embodiment of the present invention provides a migration apparatus for a virtual network function instance, where the apparatus includes: an operation status information copy unit, configured to initiate a copy operation of the operation status information, where the copy operation includes: The network function sends a copy of the first running state information, where the first running state information is running state information that is existing before the copying operation is started in the source virtual network function; and the signaling message migration unit is configured to start the copying Simultaneously or prior to initiating the copy operation, initiate a migration operation of the signaling message, the migration operation including: transmitting the first signaling message to the destination virtual network function before the first signaling message is processed by the source virtual network function a signaling message, the first signaling message is used to indicate that the destination virtual network function creates second running state information on the destination virtual network function; and sends a second signaling message to the destination virtual network function.
  • a copy of the second signaling message for indicating that the destination virtual network function updates the first Running status information or the second running status information; a offline unit, configured to determine that the copy of the first operating status information is all received by the destination virtual network function, and the first signaling message and the If the copy of the second signaling message is all processed by the destination virtual network function, the source virtual network function is offline, so that the virtual network function function runs the virtual network function instance.
  • the operational status letter The information copying unit is configured to send the copy of the first running state information to the destination virtual network function according to the priority from the highest to the bottom, wherein the higher the frequency of change of the first running state information, the The higher the priority of the copy of the first operational status information.
  • the embodiment of the present invention provides a migration device of a virtual network function instance, where the device includes: a first receiving unit, configured to receive a copy of the first running state information, where the first running state information The operating state information that is already in the source virtual network function before the start of the migration; the second receiving unit is configured to receive the first signaling message; and the operating state information creating unit is configured to use, according to the second receiving unit Receiving the first signaling message to create the second running state information; the third receiving unit is configured to receive a copy of the second signaling message; and the running state information updating unit is configured to receive according to the third receiving unit The copy of the second signaling message updates the first running state information or the second running state information; the offline unit is configured to determine that all copies of the first operating state information are received, and In the case that all the copies of the first signaling message and the second signaling message are processed, the source virtual network function is instructed to go offline, so as to facilitate Destination virtual network function operates the virtual network function instance.
  • the operating state information updating unit is configured to update the first copy according to the second signaling message received by the third receiving unit
  • An operation status information is specifically configured to: if the copy of the second signaling message indicates that the updated first running status information exists, update the first running status information according to the second signaling message; a copy of the second signaling message indicating that the updated first operational status information does not exist, and buffering a copy of the second signaling message or a pre-processing result of the copy of the second signaling message, so as to be in the
  • the source virtual network function updates the first running according to the copy of the second signaling message or the pre-processing result of the copy of the second signaling message. status information.
  • an embodiment of the present invention provides a network node, where the network node includes a hardware layer, a virtual machine monitor running on the hardware layer, and one running on the virtual machine monitor. Or a plurality of virtual machines, wherein the one or more virtual machines run a first virtual network function, wherein the first virtual network function is used to initiate a copy operation of the running state information, where the copying operation includes: The second virtual network function sends a copy of the first operational status information, the first operational status The information is running state information associated with the virtual network function instance running on the first virtual network function that is existing before the copying operation is started in the first virtual network function; the first virtual network function is further used for Initiating a migration operation of the signaling message at the same time as starting the copy operation or before initiating the copy operation, the migrating operation comprising: before the first signaling message is processed by the first virtual network function The second virtual network function sends the first signaling message, where the first signaling message is used to indicate that the second virtual network function creates second running
  • the first virtual network function is specifically configured to perform, according to the priority, a copy of the first running state information
  • the high-order sequence is sent to the second virtual network function, wherein the higher the frequency of change of the first operational state information, the higher the priority of the copy of the first operational state information.
  • an embodiment of the present invention provides a network node, where the network node includes a hardware layer, a virtual machine monitor running on the hardware layer, and one or a running on the virtual machine monitor. a plurality of virtual machines, wherein the one or more virtual machines run a second virtual network function, wherein
  • the second virtual network function is configured to receive a copy of the first running state information, where the first running state information is running state information that is already in the first virtual network function before the operation of the migration virtual network function instance starts
  • the virtual network function instance runs on the first virtual network function before the start of the migration operation; receives a first signaling message, and creates second running state information according to the first signaling message; And a second copy of the signaling message, and updating the first running state information or the second running state information according to the copy of the second signaling message; determining to receive a copy of all the first running state information, And, in a case that all the copies of the first signaling message and the second signaling message are processed, indicating that the first virtual network function is offline, so as to facilitate The second virtual network function runs the virtual network function instance.
  • the second virtual network function is specifically used to update the first running status information according to the copy of the second signaling message And the copy of the second signaling message indicates that the updated first running state information exists, and the first running state information is updated according to the second signaling message; if the copy of the second signaling message indicates an update If the first running state information does not exist, buffering a copy of the second signaling message or a pre-processing result of the copy of the second signaling message, so as to receive the non-existent in receiving the source virtual network function The first operational status information is then updated according to the copy of the second signaling message or the pre-processing result of the copy of the second signaling message.
  • an embodiment of the present invention provides a migration system of a virtual network function instance, where the migration system includes a source network node and a destination network node, and the source network node runs an active virtual network function, and the purpose is The destination virtual network function is run on the network node, and the virtual network function instance runs on the source virtual network function before the virtual network function instance is migrated, where
  • the source virtual network function is configured to: initiate and execute a copy operation of the running state information, the copy operation comprising: transmitting a copy of the first running state information to the destination virtual network function on the destination network node,
  • the first running state information is the running state information that is existing before the copying operation is started in the source virtual network function;
  • the destination virtual network function is configured to receive and store a copy of the first operational status information from the source virtual network function
  • the source virtual network function is further configured to start and perform a migration operation of the signaling message at the same time as starting the copy operation or before starting the copy operation, where the migrating operation comprises: the first signaling message is Transmitting, by the source virtual network function, the first signaling message to the destination virtual network function; and transmitting a copy of the second signaling message to the destination virtual network function;
  • the destination virtual network function is further configured to receive the first signaling message, and create second running state information according to the first signaling message; receive a copy of the second signaling message, and according to the second signaling message Replicating the first operational status information or the second operational status information;
  • the source virtual network function is further configured to determine that all copies of the first operational state information are Receiving, by the destination virtual network function, that the first signaling message and the copy of the second signaling message are all processed by the destination virtual network function, the source virtual network function is offline
  • the virtual network function instance is executed to facilitate the virtual network function of the destination.
  • an embodiment of the present invention provides a migration system of a virtual network function instance, where the migration system includes a source network node, a destination network node, and a third-party management function entity, where the source network node runs active virtual a network function, where the destination network node runs a destination virtual network function, where the virtual network function instance runs on the source virtual network function before the virtual network function instance is migrated, where
  • the third-party management function entity is configured to control a copy operation of the source virtual network function to start running state information; and control the source virtual network function to start a letter at the same time as starting the copy operation or before starting the copy operation The migration operation of the message;
  • the source virtual network function is configured to start and execute a copy operation of the running state information under the control of the third-party management function entity, where the copying operation includes: sending a copy of the first running state information to the destination virtual network function
  • the first running state information is the running state information that is existing before the copying operation is started in the source virtual network function;
  • the destination virtual network function is configured to receive and store a copy of the first operational status information from the source virtual network function
  • the source virtual network function is further configured to start and perform a migration operation of the signaling message under the control of the third-party management function entity, where the migration operation includes: the first signaling message is used by the source virtual network Transmitting the first signaling message to the destination virtual network function before the function processing; and transmitting a copy of the second signaling message to the destination virtual network function;
  • the destination virtual network function is further configured to receive the first signaling message, and create second running state information according to the first signaling message; receive a copy of the second signaling message, and according to the second signaling message Replicating the first operational status information or the second operational status information;
  • the destination virtual network function is further configured to: when it is determined that all copies of the first operational status information are received, and the copies of the first signaling message and the second signaling message are all processed Sending an offline indication message to the third-party management function entity;
  • the third-party management function entity is further configured to control the source virtual network according to the indication message
  • the function is offline to facilitate execution of the virtual network function instance for the purpose virtual network function.
  • the embodiment of the present invention provides a method, an apparatus, and a system for migrating a virtual network function instance, and starts a signaling message migration operation before or at the same time as starting the running state information replication, so that the migration of the signaling message can also be virtualized.
  • the migration of the network function instance is synchronized with the replication of the running status information.
  • the embodiment of the present invention adopts a relatively low-cost signaling message migration manner, so that the new running state information and the changed running state information created after the migration start can be accompanied by the migration of the signaling message.
  • the synchronization action of a large amount of running state information is avoided at a large cost, thereby improving the migration efficiency of the virtual network function instance, so that the virtual network function for backup can take over the failed virtual network as quickly as possible.
  • FIG. 1 is a schematic structural diagram of an NFV system according to an embodiment of the present invention.
  • FIG. 2 is a schematic flowchart of a method for migrating a virtual network function instance according to an embodiment of the present disclosure
  • FIG. 3 is a schematic diagram of an implementation architecture of a third-party management function entity control migration implementation according to an embodiment of the present disclosure
  • FIG. 4 is a schematic flowchart of a method for migrating a virtual network function instance according to an embodiment of the present disclosure
  • FIG. 5 is a schematic diagram of a logical structure of a migration apparatus of a virtual network function instance according to an embodiment of the present disclosure
  • FIG. 6 is a schematic diagram of a logical structure of a migration apparatus of a virtual network function instance according to an embodiment of the present disclosure
  • FIG. 7 is a schematic structural diagram of a migration system of a virtual network function instance according to an embodiment of the present disclosure.
  • FIG. 7b is a schematic structural diagram of another migration system of a virtual network function instance according to an embodiment of the present disclosure.
  • FIG. 8 is a schematic diagram of a logical structure of a computer system according to an embodiment of the present invention.
  • FIG. 9 is a schematic diagram of a logical structure of a network node according to an embodiment of the present invention.
  • FIG. 1 is a schematic diagram of a system architecture of an NFV system 100 that can be applied according to an embodiment of the present invention. It should be noted that the NFV system is only an example, and the scope of application of the present invention is not limited thereto.
  • the NFV system shown in Figure 1 can be implemented over a variety of networks, such as a data center network, a service provider network, or a local area network (LAN).
  • the NFV system may include an NFV Management and Orchestration System 128, an NFV Infrastructure (NFVI) 130, multiple virtual network functions (VNF) 108, and multiple network element management.
  • EMS NFV Management and Orchestration System
  • EMS service, VNF and infrastructure description
  • OSS operational support systems/business support systems
  • the NFV management and authoring system 128 may include an organizer 102, one or more VNF managers 104, and one or more virtualized infrastructure managers 106.
  • the NFVI 130 may include a computing hardware 112, storage hardware 114, a hardware resource layer composed of network hardware 116, a virtualization layer, and a virtual resource layer composed of virtual computing 110 (eg, virtual machine), virtual storage 118, and virtual network 120.
  • Computing hardware 112 can be a dedicated processor or a general purpose processor for providing processing and computing functions.
  • the storage hardware 114 is configured to provide storage capabilities, which may be provided by the storage hardware 114 itself (for example, a local memory of a server), or may be provided through a network (for example, a server is connected through a network) Network storage device).
  • Network hardware 116 may be a switch, router, and/or other network device, and network hardware 116 is used to enable communication between multiple devices, with wireless or wired connections between multiple devices.
  • the virtualization layer in NFVI130 is used to abstract the hardware resources of the hardware resource layer, decouple the VNF 108 from the physical layer to which the hardware resources belong, and provide virtual resources to the VNF.
  • virtual resources may include virtual computing 110, virtual storage 118, and virtual network 120.
  • Virtual computing 110, virtual storage 118 may be provided to VNF 108 in the form of a virtual machine or other virtual container, such as one or more VNFs 108 may be deployed on a virtual machine.
  • the virtualization layer forms a virtual network 120 through abstract network hardware 116.
  • Virtual networks 120 such as virtual switches (eg, Vswitches), are used to enable communication between multiple virtual machines, or between other types of virtual containers hosting VNFs.
  • Virtualization of network hardware can be virtualized by virtual LAN (Vritual LAN, VLAN), Virtual Private LAN Service (VPLS), Virtual eXtensible Local Area Network (VxLAN), or general routing encapsulation network ( Nerwork Virtualization using Generic Routing Encapsulation, NVGRE) and other technical implementations.
  • OSS/BSS124 is mainly for telecom service operators, providing comprehensive network management and service operation functions, including network management (such as fault monitoring, network information collection, etc.), billing management, and customer service management.
  • the VNF and the infrastructure description system 126 are described in detail in the ETSI GS NFV 002 v1.1.1 standard, and the details are not described herein again.
  • the NFV management and authoring system 128 can be used to implement monitoring and management of the VNF 108 and NFVI 130.
  • the compiler 102 can communicate with one or more VNF managers 104 to implement resource related requests, send configuration information to the VNF manager 104, and collect status information for the VNF 108.
  • the compiler 102 can also communicate with the virtual infrastructure manager 106 to effect resource allocation, and/or to implement provisioning and exchange of configuration information and status information for virtualized hardware resources.
  • the VNF manager 104 can be used to manage one or more VNFs 108, performing various management functions, such as initializing, updating, querying, and/or terminating the VNF 108.
  • the virtual infrastructure manager 106 can be used to control and manage the interaction of the VNF 108 and computing hardware 112, storage hardware 114, network hardware 116, virtual computing 110, virtual storage 118, virtual network 120.
  • virtual infrastructure manager 106 can be used to perform resource allocation operations to VNF 108.
  • the VNF manager 104 and the virtual infrastructure manager 106 can communicate with each other to exchange virtualized hardware resource configuration and status information.
  • NFVI 130 includes both hardware and software that together create a virtualized environment to deploy, manage, and execute VNF 108.
  • the hardware resource layer and the virtual resource layer are used to provide virtual resources, such as virtual machines and/or other forms of virtual containers, to the VNF 108.
  • VNF manager 104 can communicate with VNF 108 and EMS 122 to perform VNF lifecycle management and implement exchange of configuration information/status information.
  • the VNF 108 is a virtualization of at least one network function that was previously provided by a physical network device.
  • the VNF 108 can be a virtualized Mobility Management Entity (MME) node for providing all network functions provided by a typical non-virtualized MME device.
  • MME Mobility Management Entity
  • the VNF 108 can be used to implement the functionality of some of the components provided on the non-virtualized MME device.
  • One or more VNFs 108 can be deployed on a virtual machine (or other form of virtual container).
  • the EMS 122 can be used to manage one or more VNFs.
  • the MME is a key control node of the 3GPP (3rd Generation Partnership Project) LTE (Long Term Evolution) access network. It is responsible for the positioning, paging and relaying of the UE (User Equipment) in idle mode. Simply speaking, the MME is responsible for signaling processing. section. When a UE initializes and connects to the MME, the MME is responsible for selecting an SGW (Serving Gateway) for this UE. The MME is also used to authenticate a user by interacting with the HSS (Home Subscriber Server) and assign a temporary ID (identifier) to a user. MME also supports interception and monitoring within the scope permitted by law.
  • 3GPP 3rd Generation Partnership Project
  • LTE Long Term Evolution
  • the following part uses the MME as an example to describe the migration method of the virtual network function instance implemented by the embodiment of the present invention, that is, the migration of the virtual MME instance from one virtual MME to another virtual MME, where two virtual MMEs may be located.
  • the same virtual machine (or other form of virtual container) may also be on a different virtual machine.
  • the present invention is not limited to the implementation of the migration of the virtual MME instance.
  • the migration of other types of VNF instances may be implemented in whole or in part by referring to the method provided by the embodiments of the present invention.
  • FIG. 2 is a schematic flowchart of a method for migrating a virtual network function instance according to an embodiment of the present invention. This method is used to migrate a virtual network function instance from a source virtual network function to a target virtual network function.
  • the target virtual network Before starting the migration operation of the virtual network function instance, the target virtual network The network function has also been started and initialized.
  • the source virtual network function and the target virtual network function are usually located on different virtual devices, such as different network nodes, different virtual machines, or other forms of virtual containers.
  • the source virtual network function and the target virtual network function may also be located in the same virtual container.
  • the migration method provided by the embodiment of the present invention can be applied to the source virtual network function (also applicable to the network node hosted by the source virtual network function), and can also be applied to the OSS system or other management function entity in FIG. 1 .
  • the method includes:
  • the copying operation includes sending a copy of the first running state information to the destination virtual network function, where the first running state information is the running state information that is existing before the copying operation is started in the source virtual network function.
  • the operational status information is operational status information associated with a virtual network function instance that needs to be migrated, such as a user equipment context.
  • the newly generated running state information or the updated running state information (assuming both of them) in the source virtual network function after the copying operation is started does not need to be copied.
  • step S101 can be understood as the OSS system or other management function entity controlling the source virtual network function execution operation. Copy operation of status information.
  • the OSS system (or other management function entity) in FIG. 1 is responsible for monitoring the virtual network function instance.
  • the target virtual network function is triggered. Start and initialize a new virtual network function to receive the virtual network function instance sent by the source virtual network function and run the instance.
  • the OSS system may further send a migration request to the source virtual network function, so that the source virtual network function starts the operation of copying the running status information to the destination virtual network function after receiving the migration request.
  • the source virtual network function is responsible for monitoring the virtual network function instance.
  • the source virtual network function triggers the destination virtual network function or the source virtual network function to notify the OSS system.
  • the destination virtual network function is triggered by the OSS system to enable the destination virtual network to functionally initiate and initialize a new virtual network function for receiving the virtual network function instance sent by the source virtual network function and running the instance. Further, after the initial establishment of the new virtual network function instance on the virtual network function of the destination is successful, the source virtual network function starts to activate the running status information related to the virtual network function instance that needs to be migrated to the destination virtual network function. .
  • the virtual network function instance needs to be relocated is determined by the specific relocation requirement, for example, the source virtual network function is found to have a software bug or a functional failure, or the virtual device where the source virtual network function is located is found to be faulty.
  • the embodiments of the present invention are only examples, and are not specifically limited thereto.
  • the virtual network function is used as the virtual MME.
  • the virtual network function instance that needs to be migrated is the instance that the source virtual MME runs before the fault occurs.
  • the virtual MME instance is migrated from the source virtual MME to the destination virtual MME.
  • the running status information may include user equipment context information related to the virtual MME instance.
  • the concept of the context in the embodiment of the present invention is similar to the context commonly used in the computer field.
  • the context information of a process includes a process state, one or more thread addresses and their states, a user data area, and each code data segment address mapping. Even register information and so on.
  • the user equipment here includes all user equipments that access the virtual MME instance before the migration is started.
  • the user equipment context is a set of data associated with the behavior of the user equipment or the entity itself, including Mobility Management (MM) context and EPS (Evolved Packet System) bearer context associated with the user equipment, eg International Mobile Subscriber Identity (IMSI), access mode, radio access capability, and network capabilities of the user equipment (including security algorithms and key generation functions supported by the user equipment) )Wait.
  • MME Mobility Management
  • EPS Evolved Packet System
  • the status information can also be information associated with a running instance of the other virtual network device.
  • UE context information associated with a running instance of the virtual SGW and the virtual PGW, such as parameters of the IP bearer service (including various identifier information and bearer QoS parameter information), routing information inside the network, and the like.
  • step S102 Perform a migration operation of the signaling message.
  • the migration operation is initiated at the same time as the copy operation of step S101 is initiated or before the copy operation is initiated.
  • control operation of the signaling message is initiated before the K seconds of the copy operation of step S101 is initiated, where K is greater than zero and K is less than or equal to five.
  • K is greater than zero and K is less than or equal to five.
  • those skilled in the art can determine the value of K based on the time interval of the signaling message and/or other factors.
  • the embodiment of the present invention does not specifically limit, and those skilled in the art may dynamically determine according to the change rule of the running state information, or determine the optimal starting time point by using the prediction means, or implement by using other algorithms.
  • the migration operation of the signaling message is started at the same time as or before the replication operation of the running state information, so as to avoid the migration operation of the signaling message after the replication operation of the running state information is started.
  • the source virtual network function may not receive the update signaling message of the already copied running status information, and the source virtual network function and the destination virtual network are still not activated because the migration operation of the signaling message is still not started.
  • the source virtual network function still receives and parses the signaling message used to create the operational status information, while the destination virtual network function receives The signaling message is not received, so that the source virtual network function still creates new running state information after the copying operation of the running state information is started, and the new running state information is not obtained by the method provided by the embodiment of the present invention. Is copied to the destination virtual network function, so it is possible The purpose virtual network function caused by not receiving these new operational status information. It can be seen that if the migration operation of the signaling message is started at the same time as or before the replication operation of the running state information, the migration of the running state information is likely to be failed, and the migration of the virtual network function instance fails.
  • the migration operation performed in step S102 includes the following a) and b).
  • the first signaling message is a signaling message used to create running state information.
  • the second running state information here is different from the first running state information, and is the newly created running state information after the migration operation of the virtual network function instance starts.
  • a signaling message for creating a user equipment context such as an attach message
  • the destination virtual network function will not receive the signaling message or will not receive the signaling message or will not
  • the signaling message is processed. This involves a signaling flow forwarding operation.
  • the "processing" in this embodiment can be understood as acquiring the content of the signaling message and creating corresponding operating state information according to the content of the signaling message.
  • the copy of the second signaling message is used to indicate that the destination virtual network function updates the first running state information or the second Running status information.
  • the second signaling message is a signaling message used to update the running status information.
  • the source virtual network function provided in the embodiment of the present invention also receives the second signaling message.
  • a signaling message for updating the user equipment context such as a Track Area Update message
  • a signaling message for updating the user equipment context such as a Track Area Update message
  • Both the source virtual network function and the destination virtual network function process the signaling message. This involves a signaling stream copy operation.
  • the source virtual network function receives the second signaling message, determining that the second signaling message indicates that the updated running state information does not exist on the source virtual network function, that is, the running state information is started.
  • the migration operation of the signaling message is only the second running state information created on the destination virtual network function, when the source virtual network function receives the signaling message, the signaling message may not be processed, for example, the signaling message is discarded. .
  • the method provided by the embodiment of the present invention may further subdivide the second signaling message into a signaling message for updating the second running state information and signaling for updating the first running state information.
  • the second running state information refers to the running state created in the target virtual device in a) State information
  • the first running state information refers to running state information existing on the source virtual device before the copying operation described in step S101 is started.
  • the signaling message for updating the second operational status information may only be sent to the destination virtual network function (because only the destination virtual network function has the new operational status information), and the signaling message for updating the first operational status information is The virtual network function is sent to the source virtual network function and destination.
  • the method of subdividing signaling messages can be implemented by using existing technologies, such as Deep Packet Inspection (DPI). After the subdivision, the two different operations can be performed on the two different types of the second signaling messages, and the implementation of the present invention is not described in detail.
  • DPI Deep Packet Inspection
  • the OSS system (or the third-party management function entity) or the source virtual network function may re-encapsulate the original signaling flow, and establish the relationship between the source virtual network function and the destination virtual network function.
  • the temporary data tunnel implements the forwarding and/or copying operations of the aforementioned signaling streams.
  • the destination virtual network function may first store the second signaling. And preprocessing the second signaling message and storing the pre-processing result of the second signaling message.
  • the process of storing the pre-processing result may include: parsing a copy of the second signaling message to obtain information carried in a copy of the second signaling message; and copying the second signaling message
  • the carried information is constructed as the same data structure as the data structure of the second signaling message indicating updated operational state information; the data structure is cached.
  • the pre-processing of the second signaling message has the beneficial effect that, after the first operating state information indicated by the second signaling message reaches the destination virtual network function, if it is determined that the first operating state exists in the cache
  • the data structure corresponding to the information can quickly replace the first running state information according to the cached data structure, thereby implementing the updating of the first running state information more quickly.
  • the determination of whether the destination virtual network function has running status information or whether there is a data structure may be performed for a single signaling message or a single running status information, or may be performed in batches, for example, determining a received set of information.
  • a message or a set of operational status information may be determined for a single signaling message or a single running status information, or may be performed in batches, for example, determining a received set of information.
  • Specific algorithm A person skilled in the art may determine the type of the signaling message, or may be determined according to factors such as the time when the signaling message or the running status information is received, or may be determined according to the combination of the foregoing factors, which is not limited by the embodiment of the present invention.
  • the first signaling message for creating the running state information will not be processed by the source virtual network function, and the second signaling message for updating the running state information may be virtualized by the source virtual network function and the destination. Network function processing. There are many ways to achieve this.
  • the source virtual network function when the source virtual network function receives the signaling message and determines that the signaling message is the first signaling message, the first signaling message is directly forwarded to the destination virtual network function; And when the message is determined to be the second signaling message, copying the second signaling message and sending a copy of the second signaling message to the destination virtual network function, so that the source virtual network function and the destination virtual network function are also The signaling message can be processed.
  • a third-party management function entity (such as an OSS system) is responsible for controlling operations such as sending signaling messages.
  • the third-party management function entity analyzes the signaling message by using a signaling identification technology, such as DPI, and when determining that the signaling message is the first signaling message, the control The first signaling message is directly forwarded to the destination virtual network function, and the first signaling message is no longer sent to the source virtual network function; and when the signaling message is determined to be the second signaling message, the third-party management function entity controls A copy of the second signaling message is implemented, and control is implemented to send the second signaling message and the copy of the second signaling message to the source virtual network function and the destination virtual network function, respectively.
  • a signaling identification technology such as DPI
  • the embodiment of the present invention provides a preferred implementation method: taking the virtual MME as an example, it is assumed that the open virtual switch, that is, the open vSwitch mechanism, is introduced in the NFV system architecture shown in FIG.
  • the flow controller in the open vSwitch usually runs in the OSS system, and the flow switch runs on the path of the signaling data stream.
  • a DPI function is added to the flow switch for determining the type of signaling message.
  • the flow controller is used to specify the operational policy of the signaling flow and is used to configure the flow switch. As shown in FIG.
  • the flow switch uses the DPI technology to identify that the signaling is signaling for creating the running status information, and then forwards the signaling directly to the destination virtual MME (a); if the signaling is used for identification, After the signaling of the running status information is updated, the signaling is sent to the source virtual MME and the destination virtual MME (b and a).
  • the OSS system in the implementation method further It can be used to control the source virtual MME to copy the running status information (c) to the destination virtual MME.
  • the source virtual MME and the destination virtual MME of the embodiment shown in FIG. 3 are respectively hosted on the network node 1 and the network node 2. In other implementations, the source virtual MME and the destination virtual MME may be hosted on the same network node.
  • the signaling message operation scheme described in the embodiment of the present invention may be deployed in different places.
  • One suggestion is to deploy the signaling message operation scheme in other networks except the network node 1 and the network node 2 in the signaling message transmission path.
  • On the node such as a switch or router; another suggestion is to deploy the signaling message operation scheme on the network node 1 hosted by the source virtual MME, but ensure that it is deployed outside the core function of the source virtual MME for signaling. The message can be intercepted before being processed by the source virtual MME.
  • the source virtual network function may not be processed for the second signaling message for updating the second running state information.
  • Condition two whether the copies of the first signaling message and the second signaling message are all processed by the destination virtual network function.
  • condition 2 it may be determined by: if it is determined that the destination virtual network function does not buffer the copy of the second signaling message and the pre-processing result of the copy of the second signaling message or the destination virtual network function Determining the pre-processed result of the cached second signaling message or the copy of the second signaling message is completed, and after the first signaling message is all processed, determining the first signaling message and the A copy of the second signaling message is all processed by the destination virtual network function.
  • step S104 is performed, that is, the source virtual network function is offline, so that the virtual network function function is executed by the destination virtual network function.
  • step S103 When the result of the determination in step S103 is NO, that is, if any of the above two conditions is not established, the source virtual network function cannot be offline.
  • the source virtual network function and the destination virtual network function may implement collaborative work.
  • the corresponding request is implemented by the destination virtual network function; for the user equipment related to the first running state information that existed before the startup of the copying operation, the user equipment may still be The corresponding request is implemented by the source virtual network function. That is, in the process performed by the foregoing method, the source virtual network function is used to process a request message of the network device related to the first running state information that has existed before the method execution starts, and the destination virtual network function is used to process and the method.
  • a request message of a network device related to the second running state information created after the start is executed. It can be seen that, through the method provided by the embodiment of the present invention, the network communication established before the virtual network function instance migration migration and the network communication established after the migration start can be uninterrupted.
  • the destination virtual network function may send the response message or the processing result to the source virtual network function, so that the response message or the processing result is sent to the user equipment or other network device through the source virtual network function, so that, for other devices In this case, only the source virtual network function is perceived, and the destination virtual network function is not perceived, thereby realizing the transparency of the virtual network function instance migration.
  • the core functions of the destination virtual network function and the source virtual network function provided in the embodiment of the present invention are the same, but there are also differences: when the second signaling message for updating the running state information reaches the destination virtual network function, If the corresponding running status information has not been copied, the destination virtual network function buffers the second signaling message (or the processing result of the second signaling message), so that the running status information is copied after the running status information is copied. Update. This feature may not exist in the source virtual network function.
  • the embodiment of the present invention may adopt a conventional means, for example, after all the running state information has performed the copying operation and the sending operation, it is assumed that all the operating state information has been Successfully copied to the destination virtual network function, regardless of the case of replication or transmission failure.
  • the determining method of the condition 1 includes: after the copy of the first running state information is all performed, performing the operation of sending the function to the destination virtual network, receiving the sending of the destination virtual network function. a first summary, wherein the first digest is that the destination virtual network function generates an operational status information received from the source virtual network function according to the destination virtual network function. If the first digest is the same as the second digest, determining that the copy of the first operational status information is all received by the destination virtual network function, wherein the second digest is a source virtual network function according to the Determining the first operational status information or a copy of the first operational status information.
  • the second digest may be generated before the replication operation is started, or a copy of all current running status information may be retained before the replication operation is started, so that the second digest can be utilized in real time when needed.
  • the second summary is obtained by calculation.
  • the embodiment of the present invention provides a migration method of a virtual network function instance, and initiates a migration operation of a signaling message before or at the same time as starting the running state information replication, so that the signaling message is migrated. It can also be synchronized with the replication of the running status information during the migration of the virtual network function instance.
  • the embodiment of the present invention adopts a relatively low-cost signaling message migration manner, so that the new running state information and the changed running state information created after the migration start can be accompanied by the migration of the signaling message.
  • the synchronization action of a large amount of running state information is avoided at a large cost, thereby improving the migration efficiency of the virtual network function instance, so that the virtual network function for backup can take over the failed virtual network as quickly as possible.
  • the failed virtual network function (source virtual network function) and the virtual network function for backup (destination virtual network function) can cooperate in the migration process of the virtual network function instance, so that the degree is avoided to some extent.
  • the interruption of the network communication related to the virtual network function instance can cooperate in the migration process of the virtual network function instance, so that the degree is avoided to some extent.
  • the virtual network function for the destination can interact with the user equipment through the source virtual network function, thereby ensuring the transparency of the virtual network function instance migration.
  • the foregoing embodiment does not define a copying method of the first operating state information, and those skilled in the art may A method of copying the specific first operational status information is determined according to the specific environment of the migration.
  • the embodiment of the present invention further provides a method for sending first operating state information based on priority, which is to perform a priority copy of the first running state information from a high priority to a destination virtual network function.
  • the sending wherein the higher the frequency of change of the first running state information, the higher the priority of the copy of the first running state information.
  • the first running state information may be all copied locally before, and then the replica is sent to the destination virtual network function according to the priority from high to low; of course, the first running state information may be prioritized from high.
  • the copy side sends a copy to the destination virtual network function. (It is also possible to copy the first running status information from high to low in order of priority to the destination virtual network function).
  • the factor considered by the method is the frequency of change of the first operational state information, that is, the earlier the change frequency is sent to the destination virtual network function, because the first operational state information with higher change frequency is more likely to be used for updating the operational state.
  • the update target of the second signaling message of the information the sooner the first running state information is sent to the destination virtual network function, the more the number of the second signaling messages buffered by the destination virtual network function can be reduced, thereby reducing the cache cost. Improve the processing efficiency of signaling messages, and thus improve the migration efficiency of virtual network function instances.
  • the copy of the first running state information and the first running state information are the same, so the changing frequency of the copy of the first running state information is equal to the changing frequency of the first running state information.
  • the change frequency of the first running state information is a historical change frequency of the first running state information, that is, the first running state determined according to the change information in the past time period of the first running state information.
  • the "period" may be a period of time that is the closest to the current time.
  • the specific length of time may be determined according to the actual virtual network function and/or the application scenario, which is not limited by the embodiment of the present invention.
  • the frequency of change of the first operating state information is a future changing frequency predicted according to historical change information of the first operating state information.
  • the method relates to a prediction method, that is, predicting a possible change frequency of the operation state information for a certain period of time in the future according to the change information of the first operation state in a past period of time.
  • decision tree algorithms including classification trees and regression trees.
  • the field A person skilled in the art can refer to related documents of data mining or machine learning, which will not be described in detail in the embodiments of the present invention.
  • the process of determining the priority of the first operational status information may be implemented in the OSS, fully utilizing various information collected by the OSS from the virtual network function side, or may be implemented by the source virtual network function.
  • the migration method of the virtual network function instance may be as follows: the first running state information has not been copied to the destination virtual network function, but is used to update the first A second signaling message of operational status information has been copied to the destination virtual network function. If the virtual network function migration method provided by the embodiment of the present invention applies the priority-based operation state information replication method, the first operation state information may be prevented from being copied later than the corresponding second signaling message to a certain extent, thereby reducing The amount of signaling message cache of the destination virtual network function further improves the migration efficiency of the virtual network function.
  • the embodiment of the present invention further provides another planning-based first running state information copying method, which may be used in combination with the above priority-based method, or may be used separately.
  • another planning-based first running state information copying method which may be used in combination with the above priority-based method, or may be used separately.
  • the first replication method is based on the premise that the resources are limited, that is, the resources for the replication operation are limited.
  • the resources include network resources and system resources.
  • the system resources include a CPU (Central Process Unit), and the network resources include network bandwidth.
  • the CPU load for the copy operation is 5% or less, and the network bandwidth is less than 1 Mbps.
  • the steps of the copy method are as follows:
  • current network resource conditions such as bandwidth
  • system resource conditions such as CPU
  • the premise of the second copy method is that the copy must be completed within the specified time.
  • the steps of the copy method are as follows:
  • a) Determine the required resources (ie, estimate the usage of system resources and network resources) based on the replication time (the replication operation must be completed within the replication time) and the size of the first operational state information to be replicated.
  • the priority of the first operational status information to be copied may also be considered at the same time, and the resources are preferentially assigned to the first operational status information with high priority.
  • the replication consumption of the first operational state information can be more comprehensively considered, which facilitates the rapid and successful replication of the operational state information.
  • an embodiment of the present invention further provides a method for receiving a virtual network function instance.
  • the virtual network function instance is migrated from the source virtual network function to the destination virtual network function, and the method is applied to the virtual network function of the destination, and the method includes:
  • S202 Receive a first signaling message, and create second running state information according to the first signaling message.
  • S203 Receive a copy of the second signaling message, and update the first running state information or the second running state information according to the copy of the second signaling message.
  • updating the first running state information according to the copy of the second signaling message may exist in one or two of the following two situations:
  • the copy of the second signaling message indicates that the updated first running state information does not exist, buffering a copy of the second signaling message or a pre-processing result of the copy of the second signaling message, so as to facilitate And updating, according to the copy of the second signaling message or the pre-processing result of the copy of the second signaling message, after receiving the non-existent first running state information from the source virtual network function, First operational status information.
  • the pre-processing result of buffering the copy of the second signaling message includes: parsing a copy of the second signaling message to obtain information carried in a copy of the second signaling message;
  • the information carried in the copy of the second signaling message is constructed as the same data structure as the data structure of the second signaling message indicating updated operational status information; the data structure is buffered.
  • the pre-processing result of the buffering the signaling message includes: parsing the signaling message to obtain information carried in the signaling message; constructing the information carried in the signaling message a data structure identical to the data structure of the operational status information; the data structure is cached.
  • the information carried in the signaling message is constructed with the same data structure as the running state information, and the running state information can be directly replaced by the data structure when the running state information is updated, so that the update is quickly implemented.
  • the information carried in the signaling message can be constructed as other types of data structures or other pre-processing methods, which are not limited in this embodiment of the present invention.
  • the indication information is used to indicate that all copies of the first running state information have been sent.
  • the destination virtual network function or all of the first operational status information has been copied to the destination virtual network function, and the destination virtual network function determines that all of the first operational status information is received.
  • the destination virtual network function determines the first digest according to the received copy of the first operational status information, and sends the first digest to the source virtual network function or a third-party management entity, if the source is received.
  • the first operational status information is described.
  • the second summary is determined by the source virtual network function or the third operating state information that the third-party management entity has already existed in the source virtual network function before all the migration starts.
  • the destination virtual network function may periodically send the first digest, or may preset the timing of sending the first digest, for example, receiving the source virtual network function or the indication sent by the third-party management entity.
  • the first summary is sent after the indication information that the first running state information in the source virtual network function has been sent; or a time length t is set in advance, if it is greater than or equal to the length of time t
  • the virtual network function receives the new running status information and sends the first digest.
  • the unit of t may be in the form of microseconds, seconds, or grading, and may be determined according to the transmission rate of the communication channel between the source virtual network function and the destination virtual network function in the actual application scenario, which is not specifically limited in the embodiment of the present invention.
  • the destination virtual network function may also determine, when a new running state information is not received for a long time, the operating state information that has been stored in the source virtual network function before all the migration starts. According to the method provided by the embodiment of the present invention, other implementation manners are easily conceivable by those skilled in the art, and the present invention will not be repeated herein.
  • the step of indicating that the source virtual network function is offline may be implemented by: the destination virtual network function sending the offline indication information to the source virtual network function, so that the source virtual network function performs the offline operation; It can be implemented that: the destination virtual network function sends the offline indication information to a third-party management function entity (for example, an OSS system), and the third-party management function entity controls the source virtual network function to go offline.
  • a third-party management function entity for example, an OSS system
  • the virtual network function instance is received, and the migration of the signaling message can also be performed in synchronization with the replication of the running state information during the migration process of the virtual network function instance. Due to the replication of the running status information and the simultaneous migration of the signaling message, the new running status information created after the migration and the changed running status information can be synchronized to the virtual network function for backup by the migration of the signaling message. Instead of copying or sending them through their own operations, the number of replication or sending of running status information is reduced, and the migration efficiency of virtual network function instances is improved, so that the virtual network function for backup can take over the failed virtual network as soon as possible. Network function improves the efficiency of fault recovery.
  • an embodiment of the present invention provides a migration device 10 for a virtual network function instance, which is used to implement a function of migrating a virtual network function instance from a source virtual network function to a destination virtual network function.
  • the device can be applied to the source virtual network function or a third party management function entity, such as an OSS system.
  • the device includes:
  • the operation state information copying unit 11 is configured to start a copy operation of the operation state information, the copying The operation includes: sending a copy of the first running state information to the destination virtual network function, where the first running state information is the running state information that is existing before the copying operation is started in the source virtual network function.
  • the operational status information is operational status information associated with the virtual network function instance.
  • the operation state information copying unit 11 is configured to control a copy operation of the source virtual network function to start the running state information.
  • the source virtual network function is used to initiate and execute a copy operation of the running status information under the control of the third-party management function entity.
  • the signaling message migration unit 12 is configured to start a migration operation of the signaling message at the same time as starting the copy operation or before starting the copy operation, where the migration operation includes: the first signaling message is used by the source The first signaling message is sent to the destination virtual network function, where the first signaling message is used to indicate that the destination virtual network function creates the second running state information on the destination virtual network function. And sending a copy of the second signaling message to the destination virtual network function, where the copy of the second signaling message is used to indicate that the destination virtual network function updates the first running state information or the second running state information;
  • the signaling message migration unit 12 is configured to control the source virtual network function to initiate signaling before starting the copy operation or before starting the copy operation.
  • the migration operation of the message is used to initiate and perform a migration operation of signaling messages under the control of the third-party management function entity.
  • a downlink unit 13 configured to determine, in the determination that the copy of the first operational status information is all received by the destination virtual network function, and that the copies of the first signaling message and the second signaling message are all In the case that the virtual network function processing is completed, the source virtual network function is offline, so that the virtual network function function runs the virtual network function instance.
  • the offline unit 13 when the device is applied to a third-party management function entity, the offline unit 13 is configured to determine that all copies of the first operational state information are received by the destination virtual network function, and the When a signaling message and a copy of the second signaling message are all processed by the destination virtual network function, the source virtual network function is controlled to go offline, for example, sending an offline command to the source virtual network function. .
  • the offline unit 13 in the third-party management function entity may determine the pair of the first operational status information by information collected from the source virtual network function and/or the destination virtual network. Is it all received by the destination virtual network function, or whether the copies of the first signaling message and the second signaling message are all processed by the destination virtual network function.
  • the running state information copying unit 11 is specifically configured to: send the copy of the first running state information to the destination virtual network function according to the priority from high to low, (in other words, the first running The status information is copied to the destination virtual network function according to the priority from the highest to the lowest, wherein the higher the frequency of change of the first operational status information, the higher the priority of the copy of the first operational status information.
  • the change frequency may be a historical change frequency of the first operational state information, or may be a future change frequency predicted according to historical change information of the first operational state information.
  • the specific acquisition method of the variation frequency can be referred to the foregoing method embodiment.
  • the offline unit 13 is specifically configured to: in the first operating state information, determining that the copy of the first running state information is all received by the destination virtual network function Receiving a first digest sent by the destination virtual network function after the copy is sent to the destination virtual network function, where the first digest is that the destination virtual network function is virtual according to the destination And generating, by the network function, the running status information received by the source virtual network function; if the first digest is the same as the second digest, determining that the copy of the first running status information is all received by the destination virtual network function And wherein the second digest is determined by the source virtual network function according to the first running status information or the copy of the first running status information. This can guarantee to a certain extent that the running status information that needs to be copied is successfully copied to the destination virtual network function.
  • the implementation of the "determining" step may also refer to other methods described in the foregoing method embodiments or other methods not provided in the embodiments of the present invention.
  • the running status information includes a user equipment context.
  • the controlling operation of starting the signaling message before starting the copying operation comprises: starting a control operation of the signaling message before starting the copying operation for K seconds, where K is greater than 0, and K is less than or equal to 5 .
  • the source virtual network function and the destination virtual network function may implement collaborative work.
  • the corresponding virtual network function implements its corresponding request;
  • the user equipment related to the running status information that existed before the copy operation can still implement its corresponding request by the source virtual network function. That is, in the process of the foregoing method, the source virtual network function is used to process a request message of the network device related to the running state information that has existed before the method execution starts, and the destination virtual network function is used to process and start the method execution. After the creation of the running status information related to the network device's request message. It can be seen that, through the method provided by the embodiment of the present invention, the network communication established before the virtual network function instance migration migration and the network communication established after the migration start can be uninterrupted.
  • the destination virtual network function may send the response message or the processing result to the source virtual network function, so that the response message or the processing result is sent to the user equipment or other network device through the source virtual network function, so that, for other devices In this case, only the source virtual network function is perceived, and the destination virtual network function is not perceived, thereby realizing the transparency of the virtual network function instance migration.
  • the embodiment of the present invention provides a migration function of a virtual network function instance, and initiates a migration operation of signaling messages before or after the startup operation state information is copied, so that the signaling message is migrated. It can also be synchronized with the replication of the running state information during the migration process of the virtual network function instance, and the new running state information created after the migration and the changed one are caused by the replication of the running state information and the simultaneous migration of the signaling message.
  • the running status information is not synchronized to the destination virtual network function, which reduces the number of copies of the running status information, thereby improving the migration efficiency of the virtual network function instance, so that the virtual network function for backup can take over the failed virtual network function as soon as possible. Improve the efficiency of fault recovery.
  • the failed virtual network function (source virtual network function) and the virtual network function for backup (destination virtual network function) can achieve collaborative work during the migration process of the virtual network function instance, so that the degree is avoided to some extent Interruption of network communication related to virtual network function instances. Further, the embodiment of the present invention can also ensure the transparency of virtual network function instance migration.
  • the embodiment of the present invention further provides another migration function device 20 of a virtual network function instance, which can be applied to a destination virtual network function, and is used to implement a virtual network function instance from a source virtual network function to the destination virtual network.
  • the migration device 20 includes:
  • the first receiving unit 21 is configured to receive a copy of the first running state information, where the first running state information is operating state information that is already in the source virtual network function before the migration starts.
  • the operational status information is operational status information associated with the virtual network function and may be stored on a physical machine hosted by the source virtual network function.
  • the second receiving unit 22 is configured to receive a first signaling message, where the first signaling message is a signaling message used to create running state information.
  • the operation state information creating unit 23 is configured to create second running state information according to the first signaling message received by the second receiving unit;
  • the third receiving unit 24 is configured to receive a copy of the second signaling message, where the second signaling message is a signaling message for updating the running status information, and the copy of the second signaling message is equal to the second signaling message. .
  • the operation status information updating unit 25 is configured to update the first running status information or the second running status information if the copy of the second signaling message is received by the third receiving unit.
  • a offline unit 26 configured to: when it is determined that all copies of the first operating state information are received, and the copies of the first signaling message and the second signaling message are all processed, indicating The source virtual network function is offline, so that the virtual network function of the destination runs the virtual network function instance.
  • the running status information updating unit 25 may perform one or two of the following steps when updating the first running status information according to the copy of the second signaling message received by the third receiving unit.
  • the copy of the second signaling message indicates that the updated first running state information does not exist, buffering a copy of the second signaling message or a pre-processing result of the copy of the second signaling message, so as to facilitate And updating, according to the copy of the second signaling message or the pre-processing result of the copy of the second signaling message, after receiving the non-existent first running state information from the source virtual network function, First operational status information.
  • the running status information updating unit 25 is configured to: parse a copy of the second signaling message to obtain the second signaling message, by using a pre-processing result of buffering the copy of the second signaling message.
  • Information carried in the copy the information is constructed as the same data structure as the data structure of the first operational state information; the data structure is cached.
  • the offline unit 26 is specifically configured to: when receiving all the first operating state information, receive the indication information sent by the source virtual network function, where the indication information is used. A copy indicating all of the first operational status information has been transmitted, and determining to receive a copy of all of the first operational status information.
  • the offline unit 26 is specifically configured to: determine, according to the received copy of the running state information, the first digest, and to the source virtual network, in determining that all the first operating state information is received
  • the function sends the first digest; if the indication information sent by the source virtual network function is received, the indication information is used to indicate that the first digest is the same as the second digest determined by the source virtual network function, and then the All of the first operational status information, wherein the second digest is that the source virtual network function is determined according to all of the first operational status information.
  • the offline unit 26 is specifically configured to: send the offline indication information to the source virtual network function, to facilitate the source, in indicating that the source virtual network function is offline.
  • the virtual network function performs offline operations.
  • the offline unit 26 sends the offline indication information to a third-party management function entity, such as an OSS, so that the third-party management function entity controls the source virtual network function to go offline.
  • a virtual network function instance migration system 30 includes a source network node and a destination network node, and the source network node runs an active virtual network function 31, and the destination network node runs a destination virtual network function 32, where the virtual network function instance is Before the migration, the virtual network function instance runs on the source virtual network function 31.
  • the virtual network function migration method provided by the embodiment of the present invention may be only the source virtual network function 31 and the destination virtual network. Function 32 is implemented.
  • the source virtual network function 31 is configured to: initiate and execute a copy operation of the running state information, where the copying operation includes: sending a copy of the first running state information to the destination virtual network function 32 on the destination network node, where The first running state information is running state information that has existed before the copying operation is started in the source virtual network function 31.
  • the running status information is running status information associated with the virtual network function 31 stored by the source virtual network function 31;
  • the destination virtual network function 32 is configured to: receive and store a copy of the first running state information from the source virtual network function 31;
  • the source virtual network function 31 is further configured to: initiate and perform a migration operation of the signaling message at the same time as starting the copy operation or before starting the copy operation, where the migration operation includes: the first signaling message Sending the first signaling message to the destination virtual network function before being processed by the source virtual network function 31; and transmitting a copy of the second signaling message to the destination virtual network function 32;
  • the destination virtual network function 32 is further configured to: receive the first signaling message, and create second running state information according to the first signaling message; receive a copy of the second signaling message, and according to the second letter Having the copy of the message update the first operational status information or the second operational status information;
  • the source virtual network function 31 is further configured to: determine that the copy of the first operational status information is all received by the destination virtual network function 32, and the first signaling message and the second signaling message In the case where all of the copies are processed by the destination virtual network function 32, the source virtual network function 31 is offline, so that the destination virtual network function 32 runs the virtual network function instance.
  • the offline operation of the source virtual network function 31 may also be actively implemented by the destination virtual network function 32.
  • the destination virtual network function 32 is further configured to determine that the copy of the first operational state information is all received by the destination virtual network function 32, and the first signaling message and the second signal In the event that all copies of the message are processed by the destination virtual network function 32, the source virtual network function 31 is instructed to go offline so that the destination virtual network function 32 runs the virtual network function instance.
  • source virtual network function 31 and the destination virtual network function 32 shown in FIG. 7a are located on different network nodes.
  • the source virtual network function 31 and the destination virtual network function 32 may also be located on the same network node, such as on different virtual machines of the same network node or on the same virtual machine.
  • FIG. 7b illustrates a virtual network function instance migration system 30 according to an embodiment of the present invention.
  • the migration system 30 includes a source network node, a destination network node, and a third-party management function entity 33.
  • the source network node runs an active virtual network function 31, and the destination network node runs a destination virtual network function 32.
  • the virtual network function instance runs on the source virtual network function 31 before the virtual network function instance is migrated.
  • the virtual network function migration system provided by the embodiment of the present invention relates to a third-party management function entity, such as an OSS system, and the third-party management function entity controls the source virtual network function and the destination virtual network function to implement migration of the virtual network function instance.
  • a third-party management function entity such as an OSS system
  • the third-party management function entity 33 can be used to control the copy operation of the source virtual network function to start the running state information; and control the source virtual network function while starting the copy operation. Or initiate a migration operation of the signaling message before initiating the copy operation.
  • the third-party management function entity 33 can perform the above operations on the premise that the preset condition is met. More specifically, the third-party management function entity 33 may provide a source virtual network function when determining that the source virtual network function 31 has failed (received a failure message sent by the source virtual network function 31 or the physical host hosted by the source virtual network function 31). 31 sends an indication message for starting the migration operation of the virtual network function instance, thereby controlling the copy operation of the source virtual network function to start the running status information.
  • the third party management function entity 33 is further configured to control the source virtual network function 31 to initiate a migration operation of the signaling message while initiating the copy operation or before initiating the copy operation.
  • the source virtual network function 31 is configured to start and execute a copy operation of the running state information under the control of the third-party management function entity 33, where the copying operation includes: sending a first running state to the destination virtual network function 32. a copy of the information, where the first running state information is the running state information that is existing before the copying operation is started in the source virtual network function 31;
  • the destination virtual network function 32 is configured to receive and store a copy of the first operational status information from the source virtual network function 31;
  • the source virtual network function 31 is further configured to start and perform a migration operation of the signaling message under the control of the third-party management function entity 33, where the migration operation includes: the first signaling message is used by the source
  • the virtual network function 31 sends the first signaling message to the destination virtual network function 32 before processing; and sends a copy of the second signaling message to the destination virtual network function 32;
  • the destination virtual network function 32 is further configured to receive the first signaling message, and create second running state information according to the first signaling message, receive a copy of the second signaling message, and according to the second signaling Updating the first operational status information or the second operational status information by a copy of the message;
  • the destination virtual network function 32 is further configured to determine that all copies of the first operational status information are received, and that all copies of the first signaling message and the second signaling message are processed In the case of the third party management function entity 33, the offline indication message is sent;
  • the third-party management function entity 33 is further configured to control the source virtual network function 31 to go offline according to the indication message, so that the destination virtual network function 32 runs the virtual network function instance.
  • the source virtual network function 31, the destination virtual network function 32, and the third party management functions illustrated in Figure 7b are located on different network nodes.
  • the source virtual network function 31, the destination virtual network function 32, and the third-party management function may be located on the same network node, or the source virtual network function 31 and the destination virtual network function 32 may be located on the same network node.
  • FIG. 8 is a computer system 40 according to an embodiment of the present invention.
  • the computer system 40 is provided with an Operation Support System (OSS), or a combined system of OSS and BSS, or other types of third party management function entities.
  • OSS Operation Support System
  • the OSS 441 is stored as a software program in the memory 44 of the computer system 40.
  • the processor 43 stores the OSS 441.
  • the OSS 441 can cooperate with the source virtual network function and the destination virtual network function to implement the migration method of the virtual network function instance provided by the embodiment of the present invention (the OSS 441 can also implement the function of the OSS system in the prior art).
  • the processor 43 reads the OSS 441 in the memory 44, the following operations are performed: controlling the source virtual network function to initiate a copy operation of the running state information; and controlling the source virtual network function to start the copy operation or The migration operation of the signaling message is initiated before the copying operation is initiated; after the migration is completed, the control controls the source virtual network function to go offline, so that the virtual network function function runs the virtual network function instance.
  • the computer system 40 may further include an input device 41, such as a touch screen, a keyboard, a mouse, etc., and an output device 42, such as a display screen having only a display function or a touch screen having both display and input functions.
  • Wait. 41-44 can be connected to bus 45.
  • the bus 45 may be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus, or an EISA (Extended Industry Standard Architecture) bus.
  • the bus may be one or more physical lines, and when it is a plurality of physical lines, it may be divided into an address bus, a data bus, a control bus, and the like.
  • the memory 44 is also typically stored for the operating system 442, which may be any type of operating system, such as Windows or Linux or Unix.
  • the computer system 40 introduced in the foregoing embodiment is used to implement an OSS or other type of third-party management function entity, so that the OSS or other types of third-party management function entities, source virtual network functions, and destination virtual network functions jointly implement the implementation of the present invention.
  • the migration method of the virtual network function instance provided by the example.
  • FIG. 9 is a network node 50 according to an embodiment of the present invention.
  • the network node 50 may be an MME node, an SGW node, or a PGW node.
  • the virtual network function 536 on the network node is used to implement the function of the MME, and the SGW.
  • the function or function of the PGW is not limited to an MME node, an SGW node, or a PGW node.
  • the network node 50 includes a hardware layer 51, a virtual machine monitor (VMM) 52 running on the hardware layer 51, and one or more virtual machines running on the VMM 52 (Virtual Machine, VM) 53.
  • the hardware layer 51 may include a processor 511, a physical memory 512, a hard disk 513, and a network interface device 514, where the processor 511 may be one or more; the network interface device 514 may be a network adapter or a network card for use with any
  • a connectable network can be connected, such as the Internet (Internet), a corporate network, and the like.
  • the VM 53 may include a virtual processor 531, a virtual memory 532, a virtual hard disk 533, and a guest operating system (Guest OS) 535, wherein the guest OS 535 is virtual running on the virtual processor 531, the virtual memory 532, the virtual hard disk 533, and the like.
  • the operating system on the device A virtual network function 536 is also run on top of the Guest OS 535.
  • the virtual network function 536 can serve as a first virtual network function for implementing the source virtual network function described in the previous embodiments.
  • the first virtual network function 536 is configured to start a copy operation of the running state information, where the copying operation includes: sending a copy of the first running state information to the second virtual network function, where the first running state information is The operating state information associated with the virtual network function instance running on the first virtual network function that has existed before the copying operation is started in the first virtual network function;
  • the first virtual network function 536 is further configured to start a migration operation of the signaling message at the same time as starting the copy operation or before starting the copy operation, where the migration operation includes: the first signaling message is Sending, by the first virtual network function 536, the first signaling message to the second virtual network function, where the first signaling message is used to indicate that the second virtual network function is in the second virtual network function Creating a second operational state information; and transmitting a copy of the second signaling message to the second virtual network function, the second signaling message being used to instruct the second virtual network function to update the first Running status information or the second operating status information;
  • the first virtual network function 536 is further configured to: determine that all copies of the first operational state information are received by the second virtual network function, and that the first signaling message and the second signaling message are If the copy is all processed by the second virtual network function, the first virtual network function is offline, so that the second virtual network function runs the virtual network function instance.
  • the source virtual network function is specifically configured to send, according to a priority, a copy of the first running state information to a destination virtual network function according to a priority in performing the copy operation, where the The higher the frequency of change of the operational status information, the higher the priority of the copy of the first operational status information.
  • the virtual network function 536 can also implement the migration method of the destination virtual network function described in the foregoing embodiments as the second virtual network function.
  • the destination virtual network function 536 is configured to receive a copy of the first running state information, where the first running state information is an operation that exists in the first virtual network function before the operation of the migration virtual network function instance starts.
  • Status information the virtual network function instance runs on the first virtual network function before the start of the migration operation; receives a first signaling message, and creates second running state information according to the first signaling message; Receiving a copy of the second signaling message, and updating the first running state information or the second running state information according to the copy of the second signaling message; determining that all the first operating state information is received a copy, and in a case where all copies of the first signaling message and the second signaling message are processed, indicating that the first virtual network function is offline, so that the second virtual network function is running.
  • the virtual network function instance is configured to receive a copy of the first running state information, where the first running state information is an operation that exists in the first virtual network function before the operation of the migration virtual network function instance starts.
  • Status information the virtual network function instance runs on
  • first virtual network function source virtual network function
  • second virtual network function destination virtual network function
  • the majority of the components of the structure shown in FIG. 9 is a general structure of the virtualization technology.
  • the OSS system or other types of third-party management function entities introduced in other embodiments of the present invention may adopt a virtualization technology, and the general structure is implemented by using the general structure. .
  • the network node 50 shown in FIG. 9 can be a physical host or multiple physical hosts.
  • the virtual resources of multiple physical hosts such as virtual processors, virtual memory, or virtual hard disks, can be shared by multiple virtual machines running on the upper layer.
  • the method, device, and system for migrating a virtual network function instance provided by the embodiment of the present invention initiate a migration operation of a signaling message before or at the same time of starting the running state information replication, so that the migration of the signaling message can also be performed.
  • the migration of the virtual network function instance is synchronized with the replication of the running status information.
  • the embodiment of the present invention adopts a relatively low-cost signaling message migration manner, so that the new running state information and the changed running state information created after the migration start can be accompanied by the migration of the signaling message.
  • the synchronization action of a large amount of running state information is avoided at a large cost, thereby improving the migration efficiency of the virtual network function instance, so that the virtual network function for backup can take over the failed virtual network as quickly as possible.
  • the failed virtual network function (source virtual network function) and the virtual network function for backup (destination virtual network function) can cooperate in the migration process of the virtual network function instance, so that the degree is avoided to some extent.
  • the interruption of the network communication related to the virtual network function instance can cooperate in the migration process of the virtual network function instance, so that the degree is avoided to some extent.
  • the virtual network function for the destination can interact with the user equipment through the source virtual network function, thereby ensuring the transparency of the virtual network function instance migration.
  • the “copy” mentioned in the embodiment of the present invention is not necessarily that the original information is
  • the information generated after copying that is identical to the original information may also refer to the original information.
  • the copy of the running status information may refer to the original running status information itself, and may also refer to the same running status information generated by the original running status information after being copied.
  • the send copy can be sent first and then sent, or it can be sent while the original information is being read and the original information is kept locally.
  • implementation of the method provided by the present invention may involve “an implementation manner” and “another implementation manner”, etc., which is not limited to the implementation of the present invention, and the implementation manners listed are only As a specific example of the present invention, other implementations that are easily conceivable by those skilled in the art in accordance with the methods disclosed herein are also intended to be within the scope of the present invention.
  • any of the device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as the cells may or may not be Physical units can be located in one place or distributed to multiple network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • the connection relationship between the modules indicates that there is a communication connection between them, and specifically, one or more communication buses or signal lines can be realized.
  • the present invention can be implemented by means of software plus necessary general hardware, and of course, dedicated hardware, dedicated CPU, dedicated memory, dedicated memory, Special components and so on.
  • functions performed by computer programs can be easily implemented with the corresponding hardware, and the specific hardware structure used to implement the same function can be various, such as analog circuits, digital circuits, or dedicated circuits. Circuits, etc.
  • software program implementation is a better implementation in more cases.
  • the technical solution of the present invention which is essential or contributes to the prior art, can be embodied in the form of a software product stored in a readable storage medium, such as a floppy disk of a computer.
  • U disk mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., including a number of instructions to make a computer device (may be A personal computer, server, or network device, etc.) performs the methods described in various embodiments of the present invention.
  • a computer device may be A personal computer, server, or network device, etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Quality & Reliability (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本发明实施例通过提供一种虚拟网络功能实例的迁移方法、装置和系统,在启动运行状态信息复制之前或同时,启动信令消息的迁移操作,使得信令消息的迁移也能在虚拟网络功能实例的迁移过程中与运行状态信息的复制同步进行。由于信令消息迁移和运行状态信息的复制的同时发生,使得迁移后创建的新运行状态信息和发生变化后的运行状态信息可通过信令消息的迁移被同步,减少了运行状态信息的复制数量,从而提高虚拟网络功能实例的迁移效率,使得用于备份的虚拟网络功能可尽快接管发生故障的虚拟网络功能,提高了故障恢复的效率。

Description

虚拟网络功能实例的迁移方法、装置和系统 技术领域
本发明实施例涉及计算机领域,更具体地,涉及一种虚拟网络功能实例的迁移方法、装置和系统。
背景技术
网络功能虚拟化(Network Function Virtualization,NFV)的基本原理是通过使用x86等通用性硬件以及虚拟化技术来承载很多不同功能的软件,从而降低网络昂贵的设备成本。NFV可以通过软硬件解耦及功能抽象建立虚拟网络功能(Virtual Network Function,VNF),从而使网络设备的功能不再依赖于专用硬件,资源可以充分灵活共享,实现新业务的快速开发和部署,并基于实际业务需求进行自动部署、弹性伸缩、故障隔离和自愈等。
将虚拟化技术应用于网络功能的一个基本挑战就是可靠性。许多待虚拟化的网络功能在移动网络架构中扮演关键角色,尤其像核心节点,例如移动管理实体(Mobility Management Entity,MME),它包含大量用户状态信息,且用户状态信息更新频繁,因此不容许任何节点级故障的发生。而在NFV架构下,由于采用软件实现网络功能,和基于硬件的实现方案相比,更难达到电信级的可靠性。
现有技术多采用备份方式来避免网络节点发生故障时造成的影响,以MME为例,当发生故障时采用状态同步的方式向备份的MME节点发送用户设备上下文信息,但是MME这样的核心节点涉及大量快速变化的用户设备上下文信息,状态同步花费的时间和资源会很多,从而导致故障恢复很慢,可靠性降低。
发明内容
本发明实施例提供一种虚拟网络功能实例的迁移方法和装置,提高了虚拟网络功能实例的迁移效率,进而能够在运行有该虚拟网络功能实例的虚拟网络功能或该虚拟网络功能宿主的网络节点发生故障的情况下,提高故障恢复的效 率。
第一方面,本发明实施例提供了一种虚拟网络功能实例的迁移方法,所述方法包括:启动运行状态信息的复制操作,所述复制操作包括:向目的虚拟网络功能发送第一运行状态信息的副本,所述第一运行状态信息为源虚拟网络功能中启动所述复制操作前已存在的运行状态信息;在启动所述复制操作的同时或在启动所述复制操作之前,启动信令消息的迁移操作,所述迁移操作包括:在第一信令消息被所述源虚拟网络功能处理之前向目的虚拟网络功能发送所述第一信令消息,所述第一信令消息用于指示所述目的虚拟网络功能在所述目的虚拟网络功能上创建第二运行状态信息;以及向所述目的虚拟网络功能发送第二信令消息的副本,所述第二信令消息的副本用于指示所述目的虚拟网络功能更新所述第一运行状态信息或所述第二运行状态信息;在确定所述第一运行状态信息的副本全部被所述目的虚拟网络功能接收,并且,所述第一信令消息和所述第二信令消息的副本全部被所述目的虚拟网络功能处理完成的情况下,下线所述源虚拟网络功能,以便于所述目的虚拟网络功能运行所述虚拟网络功能实例。
结合第一方面,在第一方面的第一种可能的实现方式中,所述向目的虚拟网络功能发送第一运行状态信息的副本,包括:将所述第一运行状态信息的副本按照优先级从高到底的顺序向目的虚拟网络功能发送,其中,所述第一运行状态信息的变化频率越高,则所述第一运行状态信息的副本的优先级越高。
结合第一方面的第一种可能的实现方式,在第二种可能的实现方式中,所述变化频率为所述第一运行状态信息的历史变化频率或根据所述第一运行状态信息的历史变化信息预测的未来变化频率。
结合第一方面,第一方面的第一种可能的实现方式第一或第二种可能的实现方式,在第三种可能的实现方式中,所述确定所述第一运行状态信息的副本全部被所述目的虚拟网络功能接收的步骤包括:在所述第一运行状态信息的副本被全部执行完发送到所述目的虚拟网络功能的操作之后,接收所述目的虚拟网络功能发送的第一摘要,其中,所述第一摘要是所述目的虚拟网络功能根据所述目的虚拟网络功能从所述源虚拟网络功能接收到的运行状态信息生成的; 若所述第一摘要与第二摘要相同,则确定所述第一运行状态信息的副本全部被所述目的虚拟网络功能接收,其中,所述第二摘要是源虚拟网络功能根据所述第一运行状态信息或所述第一运行状态信息的副本确定的。
结合第一方面,或者第一方面的第一至第三种可能的实现方式中的任意一种可能的实现方式,在第四种可能的实现方式中,所述运行状态信息包括用户设备上下文。
第二方面,本发明实施例提供了一种虚拟网络功能实例的迁移方法,,所述虚拟网络功能实例从源虚拟网络功能迁移到目的虚拟网络功能,所述方法应用于所述目的虚拟网络功能,所述方法包括:接收第一运行状态信息的副本,其中,所述第一运行状态信息为所述迁移开始前已经存在在所述源虚拟网络功能中的运行状态信息;接收第一信令消息,并根据所述第一信令消息创建第二运行状态信息;接收第二信令消息的副本,并根据所述第二信令消息的副本更新所述第一运行状态信息或所述第二运行状态信息;在确定接收到所有所述第一运行状态信息的副本,并且,所述第一信令消息和所述第二信令消息的副本全部被处理完成的情况下,指示所述源虚拟网络功能下线,以便于所述目的虚拟网络功能运行所述虚拟网络功能实例。
结合第二方面,在第二方面的第一种可能的实现方式中,所述根据所述第二信令消息的副本更新所述第一运行状态信息,包括:若所述第二信令消息的副本指示更新的第一运行状态信息存在,则根据所述第二信令消息更新所述第一运行状态信息;若所述第二信令消息的副本指示更新的第一运行状态信息不存在,则缓存所述第二信令消息的副本或所述第二信令消息的副本的预处理结果,以便于在从所述源虚拟网络功能接收到所述不存在的第一运行状态信息之后再根据所述第二信令消息的副本或所述第二信令消息的副本的所述预处理结果更新所述第一运行状态信息。
结合第二方面的第一种可能的实现方式,在第二种可能的实现方式中,所述缓存所述第二信令消息的副本的预处理结果,包括:解析所述第二信令消息的副本以获取所述第二信令消息的副本中携带的信息;将所述第二信令消息的副本中携带的所述信息构建为与所述第二信令消息的副本指示更新的运行状 态信息的数据结构相同的数据结构;缓存所述数据结构。
结合第二方面,或者第二方面第一种可能的实现方式或者第二方面的第二种可能的实现方式,在第三种可能的实现方式中,所述确定接收到所有所述第一运行状态信息的步骤包括:根据接收到的第一运行状态信息的副本确定第一摘要,并向所述源虚拟网络功能发送所述第一摘要;若接收到所述源虚拟网络功能发送的指示信息,所述指示信息用于指示所述第一摘要与所述源虚拟网络功能确定的第二摘要相同,则确定接收到所有所述第一运行状态信息,其中,所述第二摘要是所述源虚拟网络功能根据所有所述第一运行状态信息确定的。
结合第二方面,或者第二方面第一至第三种中可能的实现方式中的任意一种可能的实现方式,在第四种可能的实现方式中,所述指示所述源虚拟网络功能下线,包括:向所述源虚拟网络功能发送下线指示信息,以便于源虚拟网络功能执行下线操作。
第三方面,本发明实施例提供了一种虚拟网络功能实例的迁移装置,所述装置包括:运行状态信息复制单元,用于启动运行状态信息的复制操作,所述复制操作包括:向目的虚拟网络功能发送第一运行状态信息的副本,所述第一运行状态信息为源虚拟网络功能中启动所述复制操作前已存在的运行状态信息;信令消息迁移单元,用于在启动所述复制操作的同时或在启动所述复制操作之前,启动信令消息的迁移操作,所述迁移操作包括:在第一信令消息被所述源虚拟网络功能处理之前向目的虚拟网络功能发送所述第一信令消息,所述第一信令消息用于指示所述目的虚拟网络功能在所述目的虚拟网络功能上创建第二运行状态信息;以及向所述目的虚拟网络功能发送第二信令消息的副本,所述第二信令消息的副本用于指示所述目的虚拟网络功能更新所述第一运行状态信息或所述第二运行状态信息;下线单元,用于在确定所述第一运行状态信息的副本全部被所述目的虚拟网络功能接收,并且,所述第一信令消息和所述第二信令消息的副本全部被所述目的虚拟网络功能处理完成的情况下,下线所述源虚拟网络功能,以便于所述目的虚拟网络功能运行所述虚拟网络功能实例。
结合第三方面,在第三方面的第一种可能的实现方式中,所述运行状态信 息复制单元具体用于:将所述第一运行状态信息的副本按照优先级从高到底的顺序向目的虚拟网络功能发送,其中,所述第一运行状态信息的变化频率越高,则所述第一运行状态信息的副本的优先级越高。
第四方面,本发明实施例提供了一种虚拟网络功能实例的迁移装置,所述装置包括:第一接收单元,用于接收第一运行状态信息的副本,其中,所述第一运行状态信息为所述迁移开始前已经存在在所述源虚拟网络功能中的运行状态信息;第二接收单元,用于接收第一信令消息;运行状态信息创建单元,用于根据所述第二接收单元接收到的所述第一信令消息创建第二运行状态信息;第三接收单元,用于接收第二信令消息的副本;运行状态信息更新单元,用于根据所述第三接收单元接收到的所述第二信令消息的副本更新所述第一运行状态信息或所述第二运行状态信息;下线单元,用于在确定接收到所有所述第一运行状态信息的副本,并且,所述第一信令消息和所述第二信令消息的副本全部被处理完成的情况下,指示所述源虚拟网络功能下线,以便于所述目的虚拟网络功能运行所述虚拟网络功能实例。
结合第四方面,在第四方面的第一种可能的实现方式中,所述运行状态信息更新单元在根据所述第三接收单元接收到的所述第二信令消息的副本更新所述第一运行状态信息方面具体用于:若所述第二信令消息的副本指示更新的第一运行状态信息存在,则根据所述第二信令消息更新所述第一运行状态信息;若所述第二信令消息的副本指示更新的第一运行状态信息不存在,则缓存所述第二信令消息的副本或所述第二信令消息的副本的预处理结果,以便于在从所述源虚拟网络功能接收到所述不存在的第一运行状态信息之后再根据所述第二信令消息的副本或所述第二信令消息的副本的所述预处理结果更新所述第一运行状态信息。
第五方面,本发明实施例提供了一种网络节点,,所述网络节点包括硬件层,运行在所述硬件层之上的虚拟机监视器,以及运行在所述虚拟机监视器上的一个或多个虚拟机,所述一个或多个虚拟机内运行有第一虚拟网络功能,其中,所述第一虚拟网络功能用于启动运行状态信息的复制操作,所述复制操作包括:向第二虚拟网络功能发送第一运行状态信息的副本,所述第一运行状态 信息为所述第一虚拟网络功能中启动所述复制操作前已存在的与所述第一虚拟网络功能上运行的虚拟网络功能实例关联的运行状态信息;所述第一虚拟网络功能还用于在启动所述复制操作的同时或在启动所述复制操作之前,启动信令消息的迁移操作,所述迁移操作包括:在第一信令消息被所述第一虚拟网络功能处理之前向所述第二虚拟网络功能发送所述第一信令消息,所述第一信令消息用于指示所述第二虚拟网络功能在所述第二虚拟网络功能上创建第二运行状态信息;以及向所述第二虚拟网络功能发送第二信令消息的副本,所述第二信令消息的副本用于指示所述第二虚拟网络功能更新所述第一运行状态信息或所述第二运行状态信息;所述第一虚拟网络功能还用于在确定所述第一运行状态信息的副本全部被所述第二虚拟网络功能接收,并且,所述第一信令消息和所述第二信令消息的副本全部被所述第二虚拟网络功能处理完成的情况下,下线所述第一虚拟网络功能,以便于所述第二虚拟网络功能运行所述虚拟网络功能实例。
结合第五方面,在第五方面的第一种可能的实现方式中,所述第一虚拟网络功能在执行所述复制操作方面具体用于将所述第一运行状态信息的副本按照优先级从高到底的顺序向第二虚拟网络功能发送,其中,所述第一运行状态信息的变化频率越高,则所述第一运行状态信息的副本的优先级越高。
第六方面,本发明实施例提供了一种网络节点,所述网络节点包括硬件层,运行在所述硬件层之上的虚拟机监视器,以及运行在所述虚拟机监视器上的一个或多个虚拟机,所述一个或多个虚拟机内运行有第二虚拟网络功能,其中,
所述第二虚拟网络功能用于接收第一运行状态信息的副本,其中,所述第一运行状态信息为迁移虚拟网络功能实例的操作开始前已经存在在第一虚拟网络功能中的运行状态信息,所述虚拟网络功能实例在所述迁移操作开始前运行在所述第一虚拟网络功能上;接收第一信令消息,并根据所述第一信令消息创建第二运行状态信息;接收第二信令消息的副本,并根据所述第二信令消息的副本更新所述第一运行状态信息或所述第二运行状态信息;在确定接收到所有所述第一运行状态信息的副本,并且,所述第一信令消息和所述第二信令消息的副本全部被处理完成的情况下,指示所述第一虚拟网络功能下线,以便于 所述第二虚拟网络功能运行所述虚拟网络功能实例。
结合第六方面,在第六方面的第一种可能的实现方式中,所述第二虚拟网络功能在根据所述第二信令消息的副本更新所述第一运行状态信方面具体用于若所述第二信令消息的副本指示更新的第一运行状态信息存在,则根据所述第二信令消息更新所述第一运行状态信息;若所述第二信令消息的副本指示更新的第一运行状态信息不存在,则缓存所述第二信令消息的副本或所述第二信令消息的副本的预处理结果,以便于在从所述源虚拟网络功能接收到所述不存在的第一运行状态信息之后再根据所述第二信令消息的副本或所述第二信令消息的副本的所述预处理结果更新所述第一运行状态信息。
第七方面,本发明实施例提供了一种虚拟网络功能实例的迁移系统,,所述迁移系统包括源网络节点和目的网络节点,所述源网络节点上运行有源虚拟网络功能,所述目的网络节点上运行有目的虚拟网络功能,在所述虚拟网络功能实例被迁移之前,所述虚拟网络功能实例运行在所述源虚拟网络功能上,其中,
所述源虚拟网络功能用于:启动并执行运行状态信息的复制操作,所述复制操作包括:向所述目的网络节点上的所述目的虚拟网络功能发送第一运行状态信息的副本,所述第一运行状态信息为源虚拟网络功能中启动所述复制操作前已存在的运行状态信息;
所述目的虚拟网络功能用于从所述源虚拟网络功能接收并存储所述第一运行状态信息的副本;
所述源虚拟网络功能还用于在启动所述复制操作的同时或在启动所述复制操作之前,启动并执行信令消息的迁移操作,所述迁移操作包括:在第一信令消息被所述源虚拟网络功能处理之前向目的虚拟网络功能发送所述第一信令消息;以及向所述目的虚拟网络功能发送第二信令消息的副本;
所述目的虚拟网络功能还用于接收第一信令消息,并根据所述第一信令消息创建第二运行状态信息;接收第二信令消息的副本,并根据所述第二信令消息的副本更新所述第一运行状态信息或所述第二运行状态信息;
所述源虚拟网络功能还用于在确定所述第一运行状态信息的副本全部被 所述目的虚拟网络功能接收,并且,所述第一信令消息和所述第二信令消息的副本全部被所述目的虚拟网络功能处理完成的情况下,下线所述源虚拟网络功能,以便于所述目的虚拟网络功能运行所述虚拟网络功能实例。
第八方面,本发明实施例提供了一种虚拟网络功能实例的迁移系统,,所述迁移系统包括源网络节点、目的网络节点和第三方管理功能实体,所述源网络节点上运行有源虚拟网络功能,所述目的网络节点上运行有目的虚拟网络功能,在所述虚拟网络功能实例被迁移之前,所述虚拟网络功能实例运行在所述源虚拟网络功能上,其中,
所述第三方管理功能实体用于控制所述源虚拟网络功能启动运行状态信息的复制操作;以及控制所述源虚拟网络功能在启动所述复制操作的同时或在启动所述复制操作之前启动信令消息的迁移操作;
所述源虚拟网络功能用于在所述第三方管理功能实体的控制下启动并执行所述运行状态信息的复制操作,所述复制操作包括:向目的虚拟网络功能发送第一运行状态信息的副本,所述第一运行状态信息为源虚拟网络功能中启动所述复制操作前已存在的运行状态信息;
所述目的虚拟网络功能用于从所述源虚拟网络功能接收并存储所述第一运行状态信息的副本;
所述源虚拟网络功能还用于在所述第三方管理功能实体的控制下启动并执行所述信令消息的迁移操作,所述迁移操作包括:在第一信令消息被所述源虚拟网络功能处理之前向目的虚拟网络功能发送所述第一信令消息;以及向所述目的虚拟网络功能发送第二信令消息的副本;
所述目的虚拟网络功能还用于接收第一信令消息,并根据所述第一信令消息创建第二运行状态信息;接收第二信令消息的副本,并根据所述第二信令消息的副本更新所述第一运行状态信息或所述第二运行状态信息;
所述目的虚拟网络功能还用于在确定接收到所有所述第一运行状态信息的副本,并且,所述第一信令消息和所述第二信令消息的副本全部被处理完成的情况下,向所述第三方管理功能实体发送下线指示消息;
所述第三方管理功能实体还用于根据所述指示消息控制所述源虚拟网络 功能下线,以便于所述目的虚拟网络功能运行所述虚拟网络功能实例。
可见,本发明实施例通过提供一种虚拟网络功能实例的迁移方法、装置和系统,在启动运行状态信息复制之前或同时,启动信令消息的迁移操作,使得信令消息的迁移也能在虚拟网络功能实例的迁移过程中与运行状态信息的复制同步进行。在虚拟网络功能上存在大量快速变化的运行状态信息的情况下,相对于现有技术中迁移开始前的运行状态信息、迁移开始后创建的新运行状态信息以及发生变化的运行状态信息都需要被同步到目的虚拟网络功能上,本发明实施例采用较小代价的信令消息迁移的方式,使得迁移开始后创建的新运行状态信息和发生变化的运行状态信息能够伴随着信令消息的迁移而出现在目的虚拟网络功能,避免了较大代价的大量运行状态信息的同步动作,从而提高了虚拟网络功能实例的迁移效率,使得用于备份的虚拟网络功能可尽可能快地接管发生故障的虚拟网络功能,提高了故障恢复的效率。
附图说明
为了更清楚地说明本发明实施例的技术方案,下面将对现有技术或实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以如这些附图获得其他的附图。
图1为本发明实施例提供的NFV系统的架构示意图;
图2为本发明实施例提供的虚拟网络功能实例的迁移方法的流程示意图;
图3为本发明实施例提供的第三方管理功能实体控制迁移实现的实现架构示意图;
图4为本发明实施例提供的虚拟网络功能实例的迁移方法的流程示意图;
图5为本发明实施例提供的一种虚拟网络功能实例的迁移装置的逻辑结构示意图;
图6为本发明实施例提供的一种虚拟网络功能实例的迁移装置的逻辑结构示意图;
图7a为本发明实施例提供的一种虚拟网络功能实例的迁移系统的架构示意图;
图7b为本发明实施例提供的另一种虚拟网络功能实例的迁移系统的架构示意图;
图8为本发明实施例提供的一种计算机系统的逻辑结构示意图;
图9为本发明实施例提供的一种网络节点的逻辑结构示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域技术人员所获得的所有其他实施例,都属于本发明保护的范围。
请参考图1,为本发明实施例可以应用的NFV系统100的系统架构示意图。需要说明的是,该NFV系统只是举例说明,本发明的应用范围并不局限于此。
图1所示的NFV系统可以通过多种网络实现,例如数据中心网络、服务提供者网络、或者局域网(Local Area Network,LAN)。如图1所示,该NFV系统可以包括NFV管理和编制系统(Management and Orchestration System)128,NFV基础设施(NFV Infrastructure,NFVI)130,多个虚拟网络功能(VNF)108,多个网元管理系统(element management system,EMS)122,服务、VNF和基础设施描述(Service,VNF and Infrastructure Description)系统126,以及一个或多个运营支撑系统/业务支撑系统(Operation Support System/Business Support System,OSS/BSS)124。
NFV管理和编制系统128可以包括编制器(Orchestrator)102、一个或多个VNF管理器(VNF Manager)104,以及一个或多个虚拟基础设施管理器(Virtualized Infrastructure Manager)106。NFVI 130可以包括计算硬件112、存储硬件114、网络硬件116组成的硬件资源层、虚拟化层、以及虚拟计算110(例如虚拟机)、虚拟存储118和虚拟网络120组成的虚拟资源层。计算硬件112可以为专用的处理器或通用的用于提供处理和计算功能的处理器。存储硬件114用于提供存储能力,该存储能力可以是存储硬件114本身提供的(例如一台服务器的本地内存),也可以通过网络提供(例如服务器通过网络连接一个 网络存储设备)。网络硬件116可以是交换机、路由器和/或其他网络设备,网络硬件116用于实现多个设备之间的通信,多个设备之间通过无线或有线连接。NFVI130中的虚拟化层用于抽象硬件资源层的硬件资源,将VNF108和硬件资源所属的物理层解耦,向VNF提供虚拟资源。如图1所示,虚拟资源可以包括虚拟计算110、虚拟存储118和虚拟网络120。虚拟计算110、虚拟存储118可以以虚拟机或其他虚拟容器的形式向VNF108提供,例如一个或多个VNF108可以部署在一台虚拟机上。虚拟化层通过抽象网络硬件116形成虚拟网络120。虚拟网络120,例如虚拟交换机(例如Vswitches),用于实现多个虚拟机之间,或多个承载VNF的其他类型的虚拟容器之间的通信。网络硬件的虚拟化可以通过虚拟LAN(Vritual LAN,VLAN)、虚拟专用局域网业务(Virtual Private LAN Service,VPLS)、虚拟可扩展局域网(Virtual eXtensible Local Area Network,VxLAN)或通用路由封装网络虚拟化(Nerwork Virtualization using Generic Routing Encapsulation,NVGRE)等技术实现。OSS/BSS124主要面向电信服务运营商,提供综合的网络管理和业务运营功能,包括网络管理(例如故障监控、网络信息收集等)、计费管理以及客户服务管理等。VNF和基础设施描述系统126在ETSI GS NFV 002 v1.1.1标准中有详细介绍,本发明实施例在此不再赘述。
NFV管理和编制系统128可以用于实现VNF 108和NFVI 130的监控和管理。编制器102可以与一个或多个VNF管理器104通信以实现与资源相关的请求、发送配置信息给VNF管理器104、以及收集VNF 108的状态信息。另外,编制器102还可以与虚拟基础设施管理器106进行通信以实现资源分配,和/或实现虚拟化硬件资源的配置信息和状态信息的预留和交换。VNF管理器104可以用于管理一个或多个VNF 108,执行各种管理功能,例如初始化、更新、查询、和/或终止VNF 108。虚拟基础设施管理器106可以用于控制和管理VNF108和计算硬件112、存储硬件114、网络硬件116、虚拟计算110、虚拟存储118、虚拟网络120的交互。例如,虚拟基础设施管理器106可以用于执行资源向VNF108的分配操作。VNF管理器104和虚拟基础设施管理器106可以互相通信以交换虚拟化硬件资源配置和状态信息。
NFVI 130包含硬件和软件,二者共同建立虚拟化环境以部署、管理和执行VNF108。换句话说,硬件资源层和虚拟资源层用于向VNF108提供虚拟资源,例如虚拟机和/或其他形式的虚拟容器。
如图1所示,VNF管理器104可以与VNF108和EMS122通信以执行VNF生命周期管理和实现配置信息/状态信息的交换。VNF108是至少一个网络功能的虚拟化,该网络功能之前是由物理网络设备提供的。在一种实现方式下,VNF108可以是一个虚拟化的移动管理实体(Mobility Management Entity,MME)节点,用于提供典型的非虚拟化的MME设备提供的所有网络功能。在另一种实现方式下,VNF108可以用于实现非虚拟化的MME设备上提供的全部组件中的部分组件的功能。一个虚拟机(或其他形式的虚拟容器)上可以部署有一个或多个VNF108。EMS122可以用于管理一个或多个VNF。
MME是3GPP(3rd Generation Partnership Project)协议LTE(Long Term Evolution)接入网络的关键控制节点,它负责空闲模式的UE(User Equipment)的定位,传呼和中继,简单的说MME负责信令处理部分。当一个UE初始化并且连接到该MME时,该MME负责为这个UE选择一个SGW(Serving Gateway)。MME还用于通过和HSS(Home Subscriber Server)交互认证一个用户,为一个用户分配一个临时ID(identifier)。MME也支持在法律许可的范围内进行拦截和监听。
接下来的部分多以MME为例来介绍本发明实施例所实现的虚拟网络功能实例的迁移方法,即实现将虚拟MME的实例从一个虚拟MME迁移到另一个虚拟MME,两个虚拟MME可能位于同一虚拟机(或其他形式的虚拟容器),也可能位于不同的虚拟机。但本发明并不局限于实现虚拟MME实例的迁移,其他种类的VNF实例的迁移也可以全部或部分参考本发明实施例提供的方法实现。
请参考图2,为本发明实施例提供的虚拟网络功能实例的迁移方法的流程示意图。该方法用于将一个虚拟网络功能实例从源虚拟网络功能迁移到目标虚拟网络功能。
本发明实施例中,在启动虚拟网络功能实例的迁移操作之前,目标虚拟网 络功能也已经启动并初始化。
需要说明的是,本发明实施例中源虚拟网络功能和目标虚拟网络功能通常位于不同的虚拟设备上,例如不同的网络节点、不同的虚拟机或其他形式的虚拟容器上。在其他实现方式下,源虚拟网络功能和目标虚拟网络功能也可能位于同一虚拟容器内。
本发明实施例提供的迁移方法可以应用于源虚拟网络功能(也可以说应用于源虚拟网络功能所宿主的网络节点),也可以应用于如图1中的OSS系统或其他管理功能实体。
如图2所示,该方法包括:
S101、执行运行状态信息的复制操作。
具体的,该复制操作包括向目的虚拟网络功能发送第一运行状态信息的副本,所述第一运行状态信息为源虚拟网络功能中启动所述复制操作前已存在的运行状态信息。所述运行状态信息为与需要被迁移的虚拟网络功能实例关联的运行状态信息,例如用户设备上下文。
本领域技术人员可以理解的是,向目的虚拟网络功能发送第一运行状态信息的副本,换句话说,即向目的虚拟网络功能复制第一运行状态信息。下面实施例中涉及到发送副本的可以做类似理解。
在本发明实施例中,复制操作启动后源虚拟网络功能中新产生的运行状态信息或被更新的运行状态信息(假设有这二者的话)都不需要复制。
本领域技术人员可以理解的是,当该方法应用于如图1中的OSS系统或其他管理功能实体时,该步骤S101可以理解为该OSS系统或其他管理功能实体控制该源虚拟网络功能执行运行状态信息的复制操作。
在一种实现方式下,由图1中的OSS系统(或其他管理功能实体)负责监测该虚拟网络功能实例,当该OSS系统确定该虚拟网络功能实例需要进行迁移时,触发目的虚拟网络功能上启动并初始化一个新的虚拟网络功能,以便于接收源虚拟网络功能发送过来的虚拟网络功能实例并运行该实例。进一步的,该OSS系统还可以向源虚拟网络功能发送迁移请求,以便于该源虚拟网络功能接收到所述迁移请求后启动向前述目的虚拟网络功能复制运行状态信息的操作。
在另一种实现方式下,由源虚拟网络功能负责监测该虚拟网络功能实例,当确定该虚拟网络功能实例需要进行迁移时,源虚拟网络功能触发目的虚拟网络功能或源虚拟网络功能通知OSS系统由OSS系统触发目的虚拟网络功能,以使得该目的虚拟网络功能上启动并初始化一个新的虚拟网络功能,该虚拟网络功能用于接收源虚拟网络功能发送过来的虚拟网络功能实例并运行该实例。进一步的,在该目的虚拟网络功能上的该新的虚拟网络功能实例初始化成功后,源虚拟网络功能开始启动向该目的虚拟网络功能上复制与该需要迁移的虚拟网络功能实例相关的运行状态信息。
需要说明的是,虚拟网络功能实例是否需要搬迁由具体的搬迁需求决定,例如源虚拟网络功能被发现软件bug或功能故障,或者源虚拟网络功能所在的虚拟设备被发现设备故障等。本发明实施例只是举例而言,对此不做具体限定。
以虚拟网络功能为虚拟MME为例,需要被迁移的虚拟网络功能实例即为源虚拟MME在故障发生之前一直运行着的实例,称之为虚拟MME实例,本发明实施例提供的方法即为将该虚拟MME实例从源虚拟MME迁移到目的虚拟MME。在该虚拟MME实例的迁移过程中,运行状态信息可以包括与该虚拟MME实例相关的用户设备上下文(user equipment context)信息。本发明实施例中上下文的概念与计算机领域惯用的上下文是类似的意思,例如一个进程的上下文信息包括进程状态、一个或多个线程地址及其状态、用户数据区、各个代码数据段地址映射,甚至寄存器信息等。这里的用户设备包括在迁移启动之前接入该虚拟MME实例的所有用户设备。用户设备上下文为与这些用户设备的行为或者实体本身关联的一组数据集合,包括与这些用户设备相关的移动管理(Mobility Management,MM)上下文和EPS(Evolved Packet System)承载(bearer)上下文,例如用户设备的国际移动用户识别码(International Mobile Subscriber Identity,IMSI)、接入模式(access mode)、无线接入能力(radio access capability)、网络能力(包括用户设备支持的安全算法和秘钥生成功能)等。这些上下文信息后续可能会被查询、修改和使用。关于MME中用户设备上下文的更详细的介绍详见3GPP TS 23.401中5.7.2章节,本发明实施例不再详述。
当虚拟网络功能为其它虚拟网络设备时,相应的,本发明实施例中的运行 状态信息还可以为与该其他虚拟网络设备的运行实例关联的信息。例如与虚拟SGW和虚拟PGW的运行实例关联的UE上下文信息,例如IP承载服务的参数(包括各种标示符信息和承载QoS参数信息),网络内部的路由信息等。
S102、执行信令消息的迁移操作。该迁移操作是在启动步骤S101的复制操作的同时或在启动所述复制操作之前启动的。
在一种实现方式下,在启动骤S101的复制操作的K秒之前启动信令消息的控制操作,其中,K大于0,且K小于或等于5。在其他实现方式下,本领域技术人员可以根据信令消息的时间间隔和/或其他因素来决定该K的值。对于启动时间点,本发明实施例不做具体限定,本领域技术人员可以根据运行状态信息的变化规律动态确定,或者采用预测的手段确定最优启动时间点,或者采用其它算法实现。
需要说明的是,本发明实施例之所以要保证在运行状态信息的复制操作的同时或之前启动信令消息的迁移操作,是为了避免运行状态信息的复制操作启动之后,信令消息的迁移操作仍未启动,而由于信令消息的迁移操作仍未启动,一方面,目的虚拟网络功能将可能接收不到已经复制的运行状态信息的更新信令消息,从而导致源虚拟网络功能和目的虚拟网络功能上同一运行状态信息的状态不一致性,这种不一致性会导致服务中断;另一方面,源虚拟网络功能仍然接收并解析用于创建运行状态信息的信令消息,而目的虚拟网络功能却接收不到该信令消息,从而导致源虚拟网络功能在运行状态信息的复制操作启动之后仍然创建出新的运行状态信息,而通过本发明实施例提供的方法,这些新的运行状态信息是不会被复制到目的虚拟网络功能的,这样就可能导致目的虚拟网络功能接收不到这些新的运行状态信息。可见,如果不保证在运行状态信息的复制操作的同时或之前启动信令消息的迁移操作,容易造成运行状态信息迁移的失败,进而导致虚拟网络功能实例迁移的失败。
但是本领域技术人员应当理解的是,假设存在一种机制能够事先获知在运行状态信息的复制操作启动之后的某一段时间范围内不会存在任何信令消息到达,那么也可以在运行状态信息的复制操作启动之后的该段时间之内启动信令消息的迁移操作。
具体的,步骤S102这种执行的该迁移操作包括以下a)和b)。
a).在第一信令消息被所述源虚拟网络功能处理之前向目的虚拟网络功能发送所述第一信令消息,所述第一信令消息用于指示所述目的虚拟网络功能在所述目的虚拟网络功能上创建第二运行状态信息。
需要说明的是,该第一信令消息为用于创建运行状态信息的信令消息。这里的第二运行状态信息区别于第一运行状态信息,是虚拟网络功能实例的迁移操作开始之后新创建的运行状态信息。
以虚拟MME实例为例,用于创建用户设备上下文的信令消息,例如attach消息,将会被转发到目的虚拟网络功能,源虚拟网络功能将不会接收到该信令消息或者不会对该信令消息进行处理。此处涉及信令流转发操作。本实施例中的“处理”可理解为获取信令消息的内容并根据该信令消息的内容创建相应的运行状态信息。
b).向所述目的虚拟网络功能发送第二信令消息的副本,所述第二信令消息的副本用于指示所述目的虚拟网络功能更新所述第一运行状态信息或所述第二运行状态信息。
需要说明的是,该第二信令消息为用于更新运行状态信息的信令消息。本发明实施例中提供的源虚拟网络功能也会接收该第二信令消息。
以虚拟MME实例为例,用于更新用户设备上下文的信令消息,例如Track Area Update消息,将被复制到目的虚拟网络功能。源虚拟网络功能和目的虚拟网络功能都会对该信令消息进行处理。此处涉及信令流复制操作。
这里需要注意的是,如果源虚拟网络功能接收到该第二信令消息之后,确定该第二信令消息指示更新的运行状态信息不存在在源虚拟网络功能上,即该运行状态信息是启动信令消息的迁移操作之后只在目的虚拟网络功能上创建的第二运行状态信息,那么源虚拟网络功能收到该信令消息时,可以不对该信令消息进行处理,例如丢弃该信令消息。
可选的,本发明实施例提供的方法可以对第二信令消息进行进一步的细分,分为用于更新第二运行状态信息的信令消息和用于更新第一运行状态信息的信令消息。其中第二运行状态信息是指a)中在目的虚拟设备上创建的运行状 态信息,第一运行状态信息是指S101步骤中描述的所述复制操作启动之前源虚拟设备上存在的运行状态信息。用于更新第二运行状态信息的信令消息可以只被发送到目的虚拟网络功能(因为只有目的虚拟网络功能存在该新运行状态信息),而用于更新第一运行状态信息的信令消息则被发送到源虚拟网络功能和目的虚拟网络功能。细分信令消息的方法可以利用现有技术,例如深度报文检测(Deep Package Inspection,DPI)等实现。经过细分之后,可以分别对两种不同类型的第二信令消息执行上述两种不同的操作,具体实现本领域技术人员可以理解,本发明实施例在此不再详述。
可选的,在本发明实施例中,OSS系统(或第三方管理功能实体)或源虚拟网络功能可以对原始信令流进行重新封装,通过源虚拟网络功能和目的虚拟网络功能之间建立的临时数据隧道实现前述信令流的转发和/或复制操作。
在本发明实施例中,由于信令消息的迁移操作和运行状态信息的复制操作几乎同步进行,那么可能存在第二信令消息被复制到目的虚拟网络功能之后,该第二信令消息所指示更新的第一运行状态信息还未被复制到目的虚拟网络功能的情况(本发明实施例后续将介绍如何尽量避免此情况的发生),此时,目的虚拟网络功能可以先存储该第二信令消息,或者对该第二信令消息进行预处理并存储该第二信令消息的预处理结果。具体的,存储该预处理结果的过程可以包括:解析所述第二信令消息的副本以获取所述第二信令消息的副本中携带的信息;将所述第二信令消息的副本中携带的所述信息构建为与所述第二信令消息的副本指示更新的运行状态信息的数据结构相同的数据结构;缓存所述数据结构。
对该第二信令消息进行预处理的有益效果是,当该第二信令消息所指示更新的第一运行状态信息到达目的虚拟网络功能后,若确定缓存中已存在与该第一运行状态信息对应的数据结构,则可以根据缓存的数据结构快速替换该第一运行状态信息,从而更快速地实现该第一运行状态信息的更新。
需要说明的是,目的虚拟网络功能对是否存在运行状态信息或是否存在数据结构的判断可以是针对单个信令消息或单个运行状态信息进行的,也可以批量进行,例如判断接收到的一组信令消息或一组运行状态信息。具体的算法本 领域技术人员可以根据信令消息的类型确定,也可以根据接收到信令消息或运行状态信息的时间等因素确定,也可以根据上述因素组合确定,本发明实施例对此不做限定。
在本发明实施例中,用于创建运行状态信息的第一信令消息将不会被源虚拟网络功能处理,用于更新运行状态信息的第二信令消息可以被源虚拟网络功能和目的虚拟网络功能处理。实现这样的目的有很多方式。
在一种实现方式下,源虚拟网络功能在接收到信令消息并确定该信令消息为第一信令消息时,将该第一信令消息直接向目的虚拟网络功能转发;在接收到信令消息并确定该信令消息为第二信令消息时,复制该第二信令消息并向目的虚拟网络功能发送该第二信令消息的副本,这样源虚拟网络功能和目的虚拟网络功能也可以对该信令消息进行处理。
在另一种实现方式下,第三方管理功能实体(例如OSS系统)负责控制信令消息的发送等操作。在信令消息到达源虚拟网络功能之前,第三方管理功能实体利用信令识别技术,例如DPI,对该信令消息进行分析,当确定该信令消息为第一信令消息时,控制将该第一信令消息直接向目的虚拟网络功能转发,该第一信令消息不再被发送给源虚拟网络功能;而在确定该信令消息为第二信令消息时,第三方管理功能实体控制实现该第二信令消息的复制,并控制实现分别向源虚拟网络功能和目的虚拟网络功能发送该第二信令消息和该第二信令消息的副本。
对于后一种方式,本发明实施例提供一种较优的实现方法:以虚拟MME为例,假设图1所示的NFV系统架构中引入了开放式虚拟交换,即open vSwitch机制,参考图3所示,open vSwitch中的流控制器(flow controller)通常运行在OSS系统中,流交换器(flow switch)则运行在信令数据流的路径上。在流交换器中增加DPI功能,以用于确定信令消息的类型。流控制器则用来指定信令流的操作策略并用于配置流交换器。如图3所示,流交换器通过DPI技术识别出信令为用于创建运行状态信息的信令,则将该信令直接转发到目的虚拟MME(a);若识别出该信令为用于更新运行状态信息的信令,则将该信令向源虚拟MME和目的虚拟MME发送(b和a)。可选的,本实现方法中的OSS系统还 可以用于控制源虚拟MME向目的虚拟MME复制运行状态信息(c)。图3所示的实施例源虚拟MME和目的虚拟MME分别宿主在网络节点1和网络节点2上。在其他实现方式中,源虚拟MME和目的虚拟MME可以宿主在同一网络节点上。
本发明实施例中所描述的信令消息操作方案可以部署在不同的地方,一个建议是将该信令消息操作方案部署在信令消息传输路径中的除网络节点1和网络节点2的其它网络节点上,例如交换机或路由器等;另一个建议是将该信令消息操作方案部署在源虚拟MME所宿主的网络节点1上,但是要保证部署在源虚拟MME的核心功能的外面,以便信令消息能够在被源虚拟MME处理之前被截获。
需要说明的是,若第二信令消息按照前面所述的方法被进一步细分,则对于用于更新第二运行状态信息的第二信令消息,源虚拟网络功能可以不处理。
S103、判断以下两个条件是否都成立:
条件一,步骤S101中的第一运行状态信息的副本是否全部被所述目的虚拟网络功能接收;
条件二,所述第一信令消息和所述第二信令消息的副本是否全部被所述目的虚拟网络功能处理完成。
具体的,对于条件二,可以用如下方法判断:若确定所述目的虚拟网络功能没有缓存过第二信令消息的副本和第二信令消息的副本的预处理结果或所述目的虚拟网络功能缓存的第二信令消息的副本或第二信令消息的副本的预处理结果全部被处理完成,且,第一信令消息全部被处理完成,则确定所述第一信令消息和所述第二信令消息的副本全部被所述目的虚拟网络功能处理完成。
当步骤S103的判断结果为是时,即以上两个条件都成立时,执行步骤S104,即下线所述源虚拟网络功能,以便于所述目的虚拟网络功能运行所述虚拟网络功能实例。
当步骤S103的判断结果为否时,即以上两个条件有任意一个不成立时,源虚拟网络功能还不能下线。
需要说明的是,在上述复制操作和迁移操作的执行过程中,源虚拟网络功能和目的虚拟网络功能可以实现协同工作。对于与启动复制操作后创建的第二运行状态信息相关的用户设备,由目的虚拟网络功能实现其相应的请求;对于与启动复制操作前已存在的第一运行状态信息相关的用户设备,仍然可以由源虚拟网络功能实现其相应的请求。即在上述方法执行的过程中,源虚拟网络功能用于处理与所述方法执行开始前已经存在的第一运行状态信息相关的网络设备的请求消息,目的虚拟网络功能用于处理与所述方法执行开始后创建的第二运行状态信息相关的网络设备的请求消息。可见,通过本发明实施例提供的方法,虚拟网络功能实例迁移迁移之前建立的网络通讯和迁移开始之后建立的网络通讯都可以不被中断。
可选的,目的虚拟网络功能可以把响应消息或处理结果发送给源虚拟网络功能,使得这些响应消息或处理结果还是通过源虚拟网络功能向用户设备或其他网络设备发送,这样,对于其他的设备而言,只感知到源虚拟网络功能,对目的虚拟网络功能不感知,从而实现虚拟网络功能实例迁移的透明性。
本发明实施例中提供的目的虚拟网络功能和源虚拟网络功能的核心功能是相同的,但也存在不同之处:当用于更新运行状态信息的第二信令消息到达目的虚拟网络功能时,若相应的运行状态信息还未被复制过来,那么目的虚拟网络功能将缓存该第二信令消息(或该第二信令消息的处理结果),以便在该运行状态信息复制过来后对其进行更新。这个功能在源虚拟网络功能中可以不存在。
对于前述条件一的确定方法,在一种实现方式下,本发明实施例可以采取常规的手段,例如当所有运行状态信息都已经执行过复制操作和发送操作之后,就假定所有运行状态信息都已经被成功复制到目的虚拟网络功能,不考虑复制或发送失败的情况。
在另一种实现方式下,条件一的确定方法包括:在所述第一运行状态信息的副本被全部执行完发送到所述目的虚拟网络功能的操作之后,接收所述目的虚拟网络功能发送的第一摘要,其中,所述第一摘要是所述目的虚拟网络功能根据所述目的虚拟网络功能从所述源虚拟网络功能接收到的运行状态信息生 成的;若所述第一摘要与第二摘要相同,则确定所述第一运行状态信息的副本全部被所述目的虚拟网络功能接收,其中,所述第二摘要是源虚拟网络功能根据所述第一运行状态信息或所述第一运行状态信息的副本确定的。
由于可能存在网络故障或其他故障,造成部分运行状态信息可能没有真正被复制到目的虚拟网络功能,所以后一种实现方法可以更加可靠地保证目的虚拟网络功能成功接收到所有需要被复制的运行状态信息,进一步保证虚拟网络功能实例迁移的效率。
需要说明的是,第二摘要可以在启动复制操作之前就已经生成,或者也可以在启动复制操作之前保留一份当下所有运行状态信息的副本,以便于第二摘要被需要时利用该副本进行实时计算进而获取该第二摘要。
通过上述实施例的描述可以看出,本发明实施例通过提供一种虚拟网络功能实例的迁移方法,在启动运行状态信息复制之前或同时,启动信令消息的迁移操作,使得信令消息的迁移也能在虚拟网络功能实例的迁移过程中与运行状态信息的复制同步进行。在虚拟网络功能上存在大量快速变化的运行状态信息的情况下,相对于现有技术中迁移开始前的运行状态信息、迁移开始后创建的新运行状态信息以及发生变化的运行状态信息都需要被同步到目的虚拟网络功能上,本发明实施例采用较小代价的信令消息迁移的方式,使得迁移开始后创建的新运行状态信息和发生变化的运行状态信息能够伴随着信令消息的迁移而出现在目的虚拟网络功能,避免了较大代价的大量运行状态信息的同步动作,从而提高了虚拟网络功能实例的迁移效率,使得用于备份的虚拟网络功能可尽可能快地接管发生故障的虚拟网络功能,提高了故障恢复的效率。
进一步的,发生故障的虚拟网络功能(源虚拟网络功能)和用于备份的虚拟网络功能(目的虚拟网络功能)能够在虚拟网络功能实例的迁移过程中实现协同工作,这样一定程度上避免了与该虚拟网络功能实例相关的网络通讯的中断。
进一步的,在迁移的过程中,用于目的虚拟网络功能可以通过源虚拟网络功能与用户设备交互,从而保证虚拟网络功能实例迁移的透明性。
前述实施例并没有限定第一运行状态信息的复制方法,本领域技术人员可 以根据迁移的具体环境确定具体的第一运行状态信息的复制方法。
优选的,本发明实施例还提供一种基于优先级的第一运行状态信息的发送方法,该方法为将所述第一运行状态信息的副本按照优先级从高到底的顺序向目的虚拟网络功能发送,其中,所述第一运行状态信息的变化频率越高,则所述第一运行状态信息的副本的优先级越高。
可以理解的是,第一运行状态信息可以先全部在本地被复制,然后按照优先级从高到低的顺序向目的虚拟网络功能发送副本;当然也可以将第一运行状态信息按照优先级从高到底的顺序边复制边向目的虚拟网络功能进行发送副本,(也可以为将第一运行状态信息按照优先级从高到底的顺序复制到目的虚拟网络功能)。该方法考虑的因素是第一运行状态信息的变化频率,即变化频率越高的越早被发送到目的虚拟网络功能,因为变化频率越高的第一运行状态信息越可能成为用于更新运行状态信息的第二信令消息的更新目标,这种第一运行状态信息越早被发送到目的虚拟网络功能,就越能减少目的虚拟网络功能缓存第二信令消息的数量,从而减少缓存成本,提高信令消息的处理效率,进而提高虚拟网络功能实例的迁移效率。
需说明的是,本发明实施例中第一运行状态信息的副本和第一运行状态信息是相同的,所以第一运行状态信息的副本的变化频率等同于第一运行状态信息的变化频率。
在一种实现方式下,第一运行状态信息的变化频率为该第一运行状态信息的历史变化频率,即根据该第一运行状态信息的过去一段时间内的变化信息确定的该第一运行状态信息过去的变化频率。该“一段时间”可以是距离当前时间最近的一段时间,具体的时间长度可以根据实际的虚拟网络功能来确定和/或应用场景来确定,本发明实施例对此不做限定。
在另一种实现方式下,第一运行状态信息的变化频率为根据该第一运行状态信息的历史变化信息预测的未来变化频率。该方法涉及预测方法,即根据该第一运行状态过去一段时间内的变化信息预测该运行状态信息将来一段时间内可能的变化频率。实现该预测方法的现有技术很多,例如决策树算法,包括分类树和回归树等。对于决策树算法以及其它预测方法的具体实现,本领域普 通技术人员可以参考数据挖掘或机器学习的相关文献,本发明实施例对此不再赘述。
第一运行状态信息的优先级的确定过程可以在OSS实现,充分利用OSS从虚拟网络功能侧收集的各种信息,也可以由源虚拟网络功能实现。
在本发明之前的实施例中已有介绍,本发明实施例提供的虚拟网络功能实例的迁移方法可能出现如下情况:第一运行状态信息还未复制到目的虚拟网络功能,但用于更新该第一运行状态信息的第二信令消息已经被复制到目的虚拟网络功能。若本发明实施例提供的虚拟网络功能迁移方法应用该基于优先级的运行状态信息复制方法,可以从一定程度上避免第一运行状态信息比相应的第二信令消息晚复制的情况,从而减少目的虚拟网络功能的信令消息缓存量,进而进一步提高虚拟网络功能的迁移效率。
另外,本发明实施例还提供另一种基于规划的第一运行状态信息复制方法,该方法可以与以上基于优先级的方法联合使用,也可以单独使用。具体的,有以下两种复制方法。
第一种复制方法的前提是资源有限,即供给复制操作的资源是有限的,该资源包括网络资源和系统资源,系统资源包括CPU(Central Process Unit,中央处理器),网络资源包括网络带宽。例如供给复制操作的CPU负荷在5%以下,网络带宽消耗在1Mbps以下。在这种情况下,该复制方法步骤如下:
a)根据当前网络资源状况(如带宽)和系统资源状况(如CPU),确定可供复制操作的多个时间段,即哪些时间段有可供复制操作的资源;
b)根据待复制的第一运行状态信息的大小(也可以根据待复制的第一运行状态信息的大小以及这些第一运行状态信息的优先级),将这些第一运行状态信息分成多个信息块,并将该多个信息块分配到所确定的多个时间段上,在相应的时间段内进行相应的信息块的复制。
第二种复制方法的前提是复制必须在规定的时间内完成。在这种情况下,该复制方法步骤如下:
a)根据复制时间(复制操作必须在该复制时间内完成)以及待复制的第一运行状态信息的大小,确定所需资源(即估算系统资源和网络资源的使用量)
b)将所有待复制的第一运行状态信息分成一个或多个数据块,并分配到所确定的资源中,从而利用所分配的资源进行复制操作。在该步骤中,也可以同时考虑待复制的第一运行状态信息的优先级,将资源优先分配给优先级高的第一运行状态信息。
采用该基于规划的第一运行状态信息的复制方法,可以更全面的考虑第一运行状态信息的复制消耗,有利于运行状态信息尽快和成功复制。
请参阅图4,从目的虚拟网络功能的角度,本发明实施例还提供一种接收虚拟网络功能实例的方法。该虚拟网络功能实例从源虚拟网络功能迁移到目的虚拟网络功能,该方法应用于该目的虚拟网络功能,该方法包括:
S201、接收第一运行状态信息的副本,其中,所述第一运行状态信息为所述迁移开始前已经存在在所述源虚拟网络功能中的运行状态信息。
S202、接收第一信令消息,并根据所述第一信令消息创建第二运行状态信息;
S203、接收第二信令消息的副本,并根据所述第二信令消息的副本更新所述第一运行状态信息或所述第二运行状态信息;
具体的,根据所述第二信令消息的副本更新所述第一运行状态信息可能存在如下两种情况中的一种或两种:
若所述第二信令消息的副本指示更新的第一运行状态信息存在,则根据所述第二信令消息更新所述第一运行状态信息;
若所述第二信令消息的副本指示更新的第一运行状态信息不存在,则缓存所述第二信令消息的副本或所述第二信令消息的副本的预处理结果,以便于在从所述源虚拟网络功能接收到所述不存在的第一运行状态信息之后再根据所述第二信令消息的副本或所述第二信令消息的副本的所述预处理结果更新所述第一运行状态信息。
可选的,缓存所述第二信令消息的副本的预处理结果,包括:解析所述第二信令消息的副本以获取所述第二信令消息的副本中携带的信息;将所述第二信令消息的副本中携带的所述信息构建为与所述第二信令消息的副本指示更新的运行状态信息的数据结构相同的数据结构;缓存所述数据结构。
S204、在确定接收到所有所述第一运行状态信息的副本,并且,所述第一信令消息和所述第二信令消息的副本全部被处理完成的情况下,指示所述源虚拟网络功能下线,以便于所述目的虚拟网络功能运行所述虚拟网络功能实例。
可选的,所述缓存所述信令消息的预处理结果,包括:解析所述信令消息以获取所述信令消息中携带的信息;将所述信令消息中携带的所述信息构建为与所述运行状态信息的数据结构相同的数据结构;缓存所述数据结构。将信令消息中携带的信息构建与为所述运行状态信息相同的数据结构,可以在更新运行状态信息的时候直接用该数据结构替换该运行状态信息,从而快速实现更新。
本领域技术人员可以理解的是,还可以将信令消息中携带的信息构建为其他类型的数据结构或采取其他的预处理方法,本发明实施例对此不做限定。
对于S204,具体的,在一种实现方式下,若接收到源虚拟网络功能或第三方管理实体发送的指示信息,所述指示信息用于指示所有所述第一运行状态信息的副本已经被发送到目的虚拟网络功能或所有所述第一运行状态信息已经被复制到目的虚拟网络功能,则该目的虚拟网络功能确定接收到所有所述第一运行状态信息。
在另一种实现方式下,目的虚拟网络功能根据接收到的第一运行状态信息的副本确定第一摘要,并将该第一摘要发送给源虚拟网络功能或第三方管理实体,若接收到源虚拟网络功能或第三方管理实体发送的指示信息,所述指示信息用于指示第一摘要与源虚拟网络功能或第三方管理实体确定的第二摘要相同,则目的虚拟网络功能确定接收到所有所述第一运行状态信息。其中,第二摘要是该源虚拟网络功能或该第三方管理实体根据所有所述迁移开始前就已经存在在所述源虚拟网络功能中的第一运行状态信息确定的。
在后一种实现方式中,目的虚拟网络功能可以周期性发送第一摘要,也可以预先设定发送第一摘要的时机,例如接收到源虚拟网络功能或第三方管理实体发送的指示所有所述迁移开始前就已经存在在所述源虚拟网络功能中的第一运行状态信息已经被发送完毕的指示信息之后发送第一摘要;或者预先设置一个时间长度t,若在大于或等于该时间长度t之后目的虚拟网络功能没有从源 虚拟网络功能接收到新的运行状态信息,则发送第一摘要。t的单位可以为微秒、秒、或者分等,具体可以根据实际应用场景中源虚拟网络功能和目的虚拟网络功能之间的通信通道的传输速率确定,本发明实施例不做具体限定。
在其他实现方式中,目的虚拟网络功能也可以在长时间接收不到新的运行状态信息时就确定接收到所有所述迁移开始前就已经存在在所述源虚拟网络功能中的运行状态信息。根据本发明实施例提供的方法,本领域技术人员容易想到其他实现方式,本发明在此不一一赘述。
可选的,对于指示所述源虚拟网络功能下线的步骤,可以这样实现:目的虚拟网络功能发送下线指示信息给所述源虚拟网络功能,以便于源虚拟网络功能执行下线操作;也可以实现为:目的虚拟网络功能发送下线指示信息给第三方管理功能实体(例如OSS系统),由该第三方管理功能实体控制源虚拟网络功能下线。
本发明实施例的的全部或部分具体实现可参考前面实施例所述,在此不再赘述。
可见,根据本发明实施例提供的方法来接收虚拟网络功能实例,可以使得信令消息的迁移也能在虚拟网络功能实例的迁移过程中与运行状态信息的复制同步进行。由于运行状态信息的复制和信令消息迁移的同时发生,使得迁移后创建的新运行状态信息和发生变化后的运行状态信息可以通过信令消息的迁移被同步到用于备份的虚拟网络功能上,而非通过他们自己的复制或发送操作,从而减少了运行状态信息的复制或发送数量,提高了虚拟网络功能实例的迁移效率,进而使得用于备份的虚拟网络功能可尽快接管发生故障的虚拟网络功能,提高了故障恢复的效率。
请参与图5,本发明实施例提供一种虚拟网络功能实例的迁移装置10,该装置用于实现将虚拟网络功能实例从源虚拟网络功能迁移到目的虚拟网络功能。该装置可以应用于该源虚拟网络功能或第三方管理功能实体,例如OSS系统。如图5所示,该装置包括:
运行状态信息复制单元11,用于启动运行状态信息的复制操作,所述复制 操作包括:向目的虚拟网络功能发送第一运行状态信息的副本,所述第一运行状态信息为源虚拟网络功能中启动所述复制操作前已存在的运行状态信息。所述运行状态信息为与所述虚拟网络功能实例关联的运行状态信息。
可以理解的是,当该装置应用于第三方管理功能实体时,该运行状态信息复制单元11用于控制源虚拟网络功能启动运行状态信息的复制操作。源虚拟网络功能则用于在该第三方管理功能实体的控制下启动并执行运行状态信息的复制操作。
信令消息迁移单元12,用于在启动所述复制操作的同时或在启动所述复制操作之前,启动信令消息的迁移操作,所述迁移操作包括:在第一信令消息被所述源虚拟网络功能处理之前向目的虚拟网络功能发送所述第一信令消息,所述第一信令消息用于指示所述目的虚拟网络功能在所述目的虚拟网络功能上创建第二运行状态信息;以及向所述目的虚拟网络功能发送第二信令消息的副本,所述第二信令消息的副本用于指示所述目的虚拟网络功能更新所述第一运行状态信息或所述第二运行状态信息;
可以理解的是,当该装置应用于第三方管理功能实体时,该信令消息迁移单元12用于控制源虚拟网络功能在启动所述复制操作的同时或在启动所述复制操作之前启动信令消息的迁移操作。源虚拟网络功能则用于在该第三方管理功能实体的控制下启动并执行信令消息的迁移操作。
下线单元13,用于在确定所述第一运行状态信息的副本全部被所述目的虚拟网络功能接收,并且,所述第一信令消息和所述第二信令消息的副本全部被所述目的虚拟网络功能处理完成的情况下,下线所述源虚拟网络功能,以便于所述目的虚拟网络功能运行所述虚拟网络功能实例。
可以理解的是,当该装置应用于第三方管理功能实体时,该下线单元13用于在确定所述第一运行状态信息的副本全部被所述目的虚拟网络功能接收,并且,所述第一信令消息和所述第二信令消息的副本全部被所述目的虚拟网络功能处理完成的情况下,控制所述源虚拟网络功能下线,例如发送下线命令给所述源虚拟网络功能。第三方管理功能实体中的下线单元13可以通过从源虚拟网络功能和/或目的虚拟网络收集到的信息来确定所述第一运行状态信息的副 本是否全部被所述目的虚拟网络功能接收,或所述第一信令消息和所述第二信令消息的副本是否全部被所述目的虚拟网络功能处理完成。
可选的,运行状态信息复制单元11具体用于:将所述第一运行状态信息的副本按照优先级从高到底的顺序向目的虚拟网络功能发送,(换句话说,将所述第一运行状态信息按照优先级从高到底的顺序向目的虚拟网络功能进行复制),其中,所述第一运行状态信息的变化频率越高,则所述第一运行状态信息的副本的优先级越高。具体的,该变化频率可以为所述第一运行状态信息的历史变化频率,也可以为根据所述第一运行状态信息的历史变化信息预测的未来变化频率。变化频率的具体获取方法可参考前述方法实施例所述。
可选的,在一种实现方式下,所述下线单元13在确定所述第一运行状态信息的副本全部被所述目的虚拟网络功能接收方面具体用于:在所述第一运行状态信息的副本被全部执行完发送到所述目的虚拟网络功能的操作之后,接收所述目的虚拟网络功能发送的第一摘要,其中,所述第一摘要是所述目的虚拟网络功能根据所述目的虚拟网络功能从所述源虚拟网络功能接收到的运行状态信息生成的;若所述第一摘要与第二摘要相同,则确定所述第一运行状态信息的副本全部被所述目的虚拟网络功能接收,其中,所述第二摘要是源虚拟网络功能根据所述第一运行状态信息或所述第一运行状态信息的副本确定的。这样可以一定程度上保证需要被复制的运行状态信息都成功被复制到目的虚拟网络功能。
在其他实现方式下,该“确定”步骤的实现也可参考前述方法实施例所述的其他方法或本发明实施例未提出的其他方法。
可选的,所述运行状态信息包括用户设备上下文。
可选的,在启动所述复制操作之前启动信令消息的控制操作,包括:在启动所述复制操作K秒之前启动信令消息的控制操作,其中,K大于0,且K小于或等于5。
需要说明的是,在上述复制操作和迁移操作的执行过程中,源虚拟网络功能和目的虚拟网络功能可以实现协同工作。对于与启动复制操作后创建的运行状态信息相关的用户设备,由目的虚拟网络功能实现其相应的请求;对于与启 动复制操作前已存在的运行状态信息相关的用户设备,仍然可以由源虚拟网络功能实现其相应的请求。即在上述方法执行的过程中,源虚拟网络功能用于处理与所述方法执行开始前已经存在的运行状态信息相关的网络设备的请求消息,目的虚拟网络功能用于处理与所述方法执行开始后创建的运行状态信息相关的网络设备的请求消息。可见,通过本发明实施例提供的方法,虚拟网络功能实例迁移迁移之前建立的网络通讯和迁移开始之后建立的网络通讯都可以不被中断。
可选的,目的虚拟网络功能可以把响应消息或处理结果发送给源虚拟网络功能,使得这些响应消息或处理结果还是通过源虚拟网络功能向用户设备或其他网络设备发送,这样,对于其他的设备而言,只感知到源虚拟网络功能,对目的虚拟网络功能不感知,从而实现虚拟网络功能实例迁移的透明性。
本发明实施例的其他具体实现可参考前述方法实施例所述,在此不再赘述。
通过上述实施例的描述可以看出,本发明实施例通过提供一种虚拟网络功能实例的迁移装置,在启动运行状态信息复制之前或同时,启动信令消息的迁移操作,使得信令消息的迁移也能在虚拟网络功能实例的迁移过程中与运行状态信息的复制同步进行,且由于运行状态信息的复制和信令消息迁移的同时发生,使得迁移后创建的新运行状态信息和发生变化后的运行状态信息不用被同步到目的虚拟网络功能上,减少了运行状态信息的复制数量,从而提高虚拟网络功能实例的迁移效率,使得用于备份的虚拟网络功能可尽快接管发生故障的虚拟网络功能,提高了故障恢复的效率。
同时,发生故障的虚拟网络功能(源虚拟网络功能)和用于备份的虚拟网络功能(目的虚拟网络功能)能够在虚拟网络功能实例的迁移过程中实现协同工作,这样一定程度上避免了与该虚拟网络功能实例相关的网络通讯的中断。进一步的,本发明实施例也可以保证虚拟网络功能实例迁移的透明性。
请参考图6,本发明实施例还提供另一种虚拟网络功能实例的迁移装置20,该装置可以应用于目的虚拟网络功能,用于实现虚拟网络功能实例从源虚拟网络功能到该目的虚拟网络功能的迁移。该迁移装置20包括:
第一接收单元21,用于接收第一运行状态信息的副本,其中,所述第一运行状态信息为所述迁移开始前已经存在在所述源虚拟网络功能中的运行状态信息。所述运行状态信息为与所述虚拟网络功能关联的运行状态信息,可以在所述源虚拟网络功能所宿主的物理机上存储。
第二接收单元22,用于接收第一信令消息,所述第一信令消息为用于创建运行状态信息的信令消息;
运行状态信息创建单元23,用于根据所述第二接收单元接收到的第一信令消息创建第二运行状态信息;
第三接收单元24,用于接收第二信令消息的副本,所述第二信令消息为用于更新运行状态信息的信令消息,第二信令消息的副本等同于第二信令消息。
运行状态信息更新单元25,用于若所述第三接收单元接收的所述用第二信令消息的副本更新所述第一运行状态信息或所述第二运行状态信息。
下线单元26,用于在确定接收到所有所述第一运行状态信息的副本,并且,所述第一信令消息和所述第二信令消息的副本全部被处理完成的情况下,指示所述源虚拟网络功能下线,以便于所述目的虚拟网络功能运行所述虚拟网络功能实例。
具体的,所述运行状态信息更新单元25在根据所述第三接收单元接收到的所述第二信令消息的副本更新所述第一运行状态信息时可能执行以下步骤中的一种或两种:
若所述第二信令消息的副本指示更新的第一运行状态信息存在,则根据所述第二信令消息更新所述第一运行状态信息;
若所述第二信令消息的副本指示更新的第一运行状态信息不存在,则缓存所述第二信令消息的副本或所述第二信令消息的副本的预处理结果,以便于在从所述源虚拟网络功能接收到所述不存在的第一运行状态信息之后再根据所述第二信令消息的副本或所述第二信令消息的副本的所述预处理结果更新所述第一运行状态信息。
可选的,运行状态信息更新单元25在缓存所述第二信令消息的副本的预处理结果方面具体用于:解析所述第二信令消息的副本以获取所述第二信令消息 的副本中携带的信息;将所述信息构建为与所述第一运行状态信息的数据结构相同的数据结构;缓存所述数据结构。
可选的,在一种实现方式下,下线单元26在确定接收到所有所述第一运行状态信息方面具体用于:若接收到源虚拟网络功能发送的指示信息,所述指示信息用于指示所有所述第一运行状态信息的副本已经被发送,则确定接收到所有所述第一运行状态信息的副本。在另一种实现方式下,下线单元26在确定接收到所有所述第一运行状态信息方面具体用于:根据接收到的运行状态信息的副本确定第一摘要,并向所述源虚拟网络功能发送所述第一摘要;若接收到所述源虚拟网络功能发送的指示信息,所述指示信息用于指示所述第一摘要与源虚拟网络功能确定的第二摘要相同,则确定接收到所有所述第一运行状态信息,其中,所述第二摘要是所述源虚拟网络功能根据所有所述第一运行状态信息确定的。
可选的,在一种实现方式下,下线单元26在指示所述源虚拟网络功能下线方面具体用于:下线单元26发送下线指示信息给所述源虚拟网络功能,以便于源虚拟网络功能执行下线操作。在另一种实现方式下,下线单元26向第三方管理功能实体,例如OSS,发送所述下线指示信息,以便于该第三方管理功能实体控制所述源虚拟网络功能下线。
请参考图7a,为本发明实施例提供的一种虚拟网络功能实例迁移系统30。所述迁移系统30包括源网络节点和目的网络节点,所述源网络节点上运行有源虚拟网络功能31,所述目的网络节点上运行有目的虚拟网络功能32,在所述虚拟网络功能实例被迁移之前,所述虚拟网络功能实例运行在所述源虚拟网络功能31上,根据前述实施例所述,本发明实施例提供的虚拟网络功能迁移方法可以仅由源虚拟网络功能31和目的虚拟网络功能32实现。
所述源虚拟网络功能31用于:启动并执行运行状态信息的复制操作,所述复制操作包括:向所述目的网络节点上的所述目的虚拟网络功能32发送第一运行状态信息的副本,所述第一运行状态信息为源虚拟网络功能31中启动所述复制操作前已存在的运行状态信息。其中,所述运行状态信息为所述源虚拟网络功能31存储的与所述虚拟网络功能31关联的运行状态信息;
所述目的虚拟网络功能32用于:从所述源虚拟网络功能31接收并存储该第一运行状态信息的副本;
所述源虚拟网络功能31还用于:在启动所述复制操作的同时或在启动所述复制操作之前,启动并执行信令消息的迁移操作,所述迁移操作包括:在第一信令消息被所述源虚拟网络功能31处理之前向目的虚拟网络功能发送所述第一信令消息;以及向所述目的虚拟网络功能32发送第二信令消息的副本;
所述目的虚拟网络功能32还用于:接收第一信令消息,并根据所述第一信令消息创建第二运行状态信息;接收第二信令消息的副本,并根据所述第二信令消息的副本更新所述第一运行状态信息或所述第二运行状态信息;
所述源虚拟网络功能31还用于:在确定所述第一运行状态信息的副本全部被所述目的虚拟网络功能32接收,并且,所述第一信令消息和所述第二信令消息的副本全部被所述目的虚拟网络功能32处理完成的情况下,下线所述源虚拟网络功能31,以便于所述目的虚拟网络功能32运行所述虚拟网络功能实例。
可选的,在其他实现方式下,对于源虚拟网络功能31的下线操作,也可以由目的虚拟网络功能32主动实现。这种方式下,目的虚拟网络功能32还用于在确定所述第一运行状态信息的副本全部被所述目的虚拟网络功能32接收,并且,所述第一信令消息和所述第二信令消息的副本全部被所述目的虚拟网络功能32处理完成的情况下,指示所述源虚拟网络功能31下线,以便于所述目的虚拟网络功能32运行所述虚拟网络功能实例。
需要说明的是,图7a所示出的源虚拟网络功能31和目的虚拟网络功能32位于不同的网络节点上。在其他实现方式中,源虚拟网络功能31和目的虚拟网络功能32也可以位于同一网络节点上,例如同一网络节点的不同虚拟机上或同一虚拟机上。
请参考图7b,为本发明实施例提供的一种虚拟网络功能实例迁移系统30。该迁移系统30包括源网络节点、目的网络节点和第三方管理功能实体33,所述源网络节点上运行有源虚拟网络功能31,所述目的网络节点上运行有目的虚拟网络功能32,在所述虚拟网络功能实例被迁移之前,所述虚拟网络功能实例运行在所述源虚拟网络功能31上。
本发明实施例提供的虚拟网络功能迁移系统涉及第三方管理功能实体,例如OSS系统,由该第三方管理功能实体控制源虚拟网络功能和目的虚拟网络功能实现虚拟网络功能实例的迁移。
在图7b所示的迁移系统中,第三方管理功能实体33可以用于控制所述源虚拟网络功能启动运行状态信息的复制操作;以及控制所述源虚拟网络功能在启动所述复制操作的同时或在启动所述复制操作之前启动信令消息的迁移操作。具体的,第三方管理功能实体33可以在满足预设条件的前提下执行上述操作。更具体的,第三方管理功能实体33可以在确定源虚拟网络功能31发生故障(接收到源虚拟网络功能31或该源虚拟网络功能31宿主的物理主机发送的故障消息)时向源虚拟网络功能31发送启动虚拟网络功能实例的迁移操作的指示消息,从而控制源虚拟网络功能启动运行状态信息的复制操作。
第三方管理功能实体33还用于控制所述源虚拟网络功能31在启动所述复制操作的同时或在启动所述复制操作之前启动信令消息的迁移操作。
所述源虚拟网络功能31用于在所述第三方管理功能实体33的控制下启动并执行所述运行状态信息的复制操作,所述复制操作包括:向目的虚拟网络功能32发送第一运行状态信息的副本,所述第一运行状态信息为源虚拟网络功能31中启动所述复制操作前已存在的运行状态信息;
所述目的虚拟网络功能32用于从所述源虚拟网络功能31接收并存储所述第一运行状态信息的副本;
所述源虚拟网络功能31还用于在所述第三方管理功能实体33的控制下启动并执行所述信令消息的迁移操作,所述迁移操作包括:在第一信令消息被所述源虚拟网络功能31处理之前向目的虚拟网络功能32发送所述第一信令消息;以及向所述目的虚拟网络功能32发送第二信令消息的副本;
所述目的虚拟网络功能32还用于接收第一信令消息,并根据所述第一信令消息创建第二运行状态信息;接收第二信令消息的副本,并根据所述第二信令消息的副本更新所述第一运行状态信息或所述第二运行状态信息;
所述目的虚拟网络功能32还用于在确定接收到所有所述第一运行状态信息的副本,并且,所述第一信令消息和所述第二信令消息的副本全部被处理完 成的情况下,向所述第三方管理功能实体33发送下线指示消息;
所述第三方管理功能实体33还用于根据所述指示消息控制所述源虚拟网络功能31下线,以便于所述目的虚拟网络功能32运行所述虚拟网络功能实例。
图7b所示出的源虚拟网络功能31、目的虚拟网络功能32以及第三方管理功能位于不同的网络节点上。在其它实现方式下,源虚拟网络功能31、目的虚拟网络功能32以及第三方管理功能可以位于同一网络节点上,或者,源虚拟网络功能31和目的虚拟网络功能32位于同一个网络节点上。
需要说明的是,以上迁移系统中涉及的源虚拟网络功能向目的虚拟网络功能进行实例迁移的方法以及更多具体实现可参考前述方法和/或装置实施例所述。
下面将通过实施例介绍第三方管理功能实体、源网络节点/目的网络节点的具体结构。
请参考图8,为本发明实施例提供的一种计算机系统40。该计算机系统40中设置有运营支撑系统(Operation Support System,OSS),或OSS和BSS的组合系统,或者其它类型的第三方管理功能实体。本发明实施例以OSS441为例,该OSS441作为软件程序存储在计算机系统40的存储器44中,处理器43中存储有OSS441。该OSS441可以与源虚拟网络功能和目的虚拟网络功能协同实现本发明实施例提供的虚拟网络功能实例的迁移方法(该OSS441还可以实现现有技术中OSS系统的功能)。具体的,处理器43读取存储器44中的OSS441后执行如下操作:控制所述源虚拟网络功能启动运行状态信息的复制操作;以及控制所述源虚拟网络功能在启动所述复制操作的同时或在启动所述复制操作之前启动信令消息的迁移操作;在迁移完成之后控制控制所述源虚拟网络功能下线,以便于所述目的虚拟网络功能运行所述虚拟网络功能实例。
需说明的是,OSS441与源虚拟网络功能和目的虚拟网络功能协同实现迁移的具体方法可参考前述实施例所述,在此不再赘述。
可选的,如图8所示,该计算机系统40还可以包括输入设备41,例如触摸屏、键盘、鼠标等,输出设备42,例如仅具备显示功能的显示屏或同时具备显示和输入功能的触摸屏等。41-44可以同总线45进行连接。本发明实施例 中的总线45可以是ISA(Industry Standard Architecture,工业标准体系结构)总线、PCI(Peripheral Component Interconnect,外部设备互连)总线或EISA(Extended Industry Standard Architecture,扩展工业标准体系结构)总线等。所述总线可以是一条或多条物理线路,当是多条物理线路时可以分为地址总线、数据总线、控制总线等。存储器44中一般还存储有用于操作系统442,该操作系统可以为任意类型的操作系统,例如Windows或Linux或Unix等。
前述实施例介绍的计算机系统40用于实现OSS或其它类型的第三方管理功能实体,以便于该OSS或其它类型的第三方管理功能实体、源虚拟网络功能以及目的虚拟网络功能共同实现本发明实施例提供的虚拟网络功能实例的迁移方法。
图9为本发明实施例提供的一种网络节点50,该网络节点50可以是MME节点、SGW节点或PGW节点,相应的,该网络节点上的虚拟网络功能536用于实现MME的功能、SGW的功能或PGW的功能。
请参考图9,该网络节点50中包括硬件层51,运行在硬件层51之上的虚拟机监视器(Virtual Machine Monitor,VMM)52,以及运行在VMM52上的一个或多个虚拟机(Virtual Machine,VM)53。硬件层51可以包括处理器511、物理内存512、硬盘513以及网络接口设备514,其中处理器511可以是一个,也可以是多个;网络接口设备514可以是网络适配器或网卡,用于跟任何可连接的网络做连接,例如互联网(Internet)、企业网等。VM53可以包括虚拟处理器531、虚拟内存532、虚拟硬盘533以及客户操作系统(Guest Operation System,Guest OS)535,其中Guest OS 535是运行在虚拟处理器531、虚拟内存532、虚拟硬盘533等虚拟设备之上的操作系统。在Guest OS 535之上还运行有虚拟网络功能536。该虚拟网络功能536可以作为第一虚拟网络功能,用于实现前述实施例所描述的源虚拟网络功能的方法。
具体的,该第一虚拟网络功能536用于启动运行状态信息的复制操作,所述复制操作包括:向第二虚拟网络功能发送第一运行状态信息的副本,所述第一运行状态信息为所述第一虚拟网络功能中启动所述复制操作前已存在的与所述第一虚拟网络功能上运行的虚拟网络功能实例关联的运行状态信息;
该第一虚拟网络功能536还用于在启动所述复制操作的同时或在启动所述复制操作之前,启动信令消息的迁移操作,所述迁移操作包括:在第一信令消息被所述第一虚拟网络功能536处理之前向所述第二虚拟网络功能发送所述第一信令消息,所述第一信令消息用于指示所述第二虚拟网络功能在所述第二虚拟网络功能上创建第二运行状态信息;以及向所述第二虚拟网络功能发送第二信令消息的副本,所述第二信令消息的副本用于指示所述第二虚拟网络功能更新所述第一运行状态信息或所述第二运行状态信息;
该第一虚拟网络功能536还用于在确定所述第一运行状态信息的副本全部被所述第二虚拟网络功能接收,并且,所述第一信令消息和所述第二信令消息的副本全部被所述第二虚拟网络功能处理完成的情况下,下线所述第一虚拟网络功能,以便于所述第二虚拟网络功能运行所述虚拟网络功能实例。
可选的,所述源虚拟网络功能在执行所述复制操作方面具体用于将所述第一运行状态信息的副本按照优先级从高到底的顺序向目的虚拟网络功能发送,其中,所述第一运行状态信息的变化频率越高,则所述第一运行状态信息的副本的优先级越高。
更详细的实现方式可参考前述实施例所述,在此不再赘述。
在其他实现方式中,该虚拟网络功能536也可以作为第二虚拟网络功能实现前述实施例所描述的目的虚拟网络功能的迁移方法。
具体的,该目的虚拟网络功能536用于接收第一运行状态信息的副本,其中,所述第一运行状态信息为迁移虚拟网络功能实例的操作开始前已经存在在第一虚拟网络功能中的运行状态信息,所述虚拟网络功能实例在所述迁移操作开始前运行在所述第一虚拟网络功能上;接收第一信令消息,并根据所述第一信令消息创建第二运行状态信息;接收第二信令消息的副本,并根据所述第二信令消息的副本更新所述第一运行状态信息或所述第二运行状态信息;在确定接收到所有所述第一运行状态信息的副本,并且,所述第一信令消息和所述第二信令消息的副本全部被处理完成的情况下,指示所述第一虚拟网络功能下线,以便于所述第二虚拟网络功能运行所述虚拟网络功能实例。
更详细的实现方式可参考前述实施例所述,在此不再赘述。
需要说明的是,以上描述的第一虚拟网络功能(源虚拟网络功能)和第二虚拟网络功能(目的虚拟网络功能)也可以位于同时位于该网络节点50上,例如二者分别位于该网络节点50的两个虚拟机内,或者二者位于该网络节点50的同一虚拟机内。
图9所示出的结构的大部分组成部分是虚拟化技术的通用结构,本发明其它实施例中介绍的OSS系统或其它类型的第三方管理功能实体可以采用虚拟化技术,借助该通用结构实现。
可以理解的是,图9所示的网络节点50可以为一台物理主机,也可以为多台物理主机。当为多台物理主机时,多台物理主机的的虚拟资源,例如虚拟处理器、虚拟内存或虚拟硬盘等,可以被多个运行在上层的虚拟机共享。
综上所述,本发明实施例提供的虚拟网络功能实例的迁移方法、装置和系统,在启动运行状态信息复制之前或同时,启动信令消息的迁移操作,使得信令消息的迁移也能在虚拟网络功能实例的迁移过程中与运行状态信息的复制同步进行。在虚拟网络功能上存在大量快速变化的运行状态信息的情况下,相对于现有技术中迁移开始前的运行状态信息、迁移开始后创建的新运行状态信息以及发生变化的运行状态信息都需要被同步到目的虚拟网络功能上,本发明实施例采用较小代价的信令消息迁移的方式,使得迁移开始后创建的新运行状态信息和发生变化的运行状态信息能够伴随着信令消息的迁移而出现在目的虚拟网络功能,避免了较大代价的大量运行状态信息的同步动作,从而提高了虚拟网络功能实例的迁移效率,使得用于备份的虚拟网络功能可尽可能快地接管发生故障的虚拟网络功能,提高了故障恢复的效率。
进一步的,发生故障的虚拟网络功能(源虚拟网络功能)和用于备份的虚拟网络功能(目的虚拟网络功能)能够在虚拟网络功能实例的迁移过程中实现协同工作,这样一定程度上避免了与该虚拟网络功能实例相关的网络通讯的中断。
进一步的,在迁移的过程中,用于目的虚拟网络功能可以通过源虚拟网络功能与用户设备交互,从而保证虚拟网络功能实例迁移的透明性。
需要说明的是,本发明实施例中所提到的“副本”并非一定是原始信息被 复制后产生的和原始信息相同的信息,也可以指原始信息。例如,运行状态信息的副本可以指这个原始运行状态信息本身,也可以指这个原始运行状态信息被复制后产生的与这个原始运行状态信息相同的运行状态信息。发送副本可以是先复制后发送,也可以是边读取原始信息边发送且保留原始信息在本地。
需要说明的是,本发明提供的方法实现可能涉及“一种实现方式”和“另一种实现方式”等,此并非限定本发明只能由列举出的实现方式实现,列举出的实现方式只是作为本发明的具体示例,本领域技术人员根据本发明公开的方法容易想到的其他实现方式也应该在本发明的保护范围之下。
需说明的是,以上描述的任意装置实施例都仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。另外,本发明提供的装置实施例附图中,模块之间的连接关系表示它们之间具有通信连接,具体可以实现为一条或多条通信总线或信号线。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到本发明可借助软件加必需的通用硬件的方式来实现,当然也可以通过专用硬件包括专用集成电路、专用CPU、专用存储器、专用元器件等来实现。一般情况下,凡由计算机程序完成的功能都可以很容易地用相应的硬件来实现,而且,用来实现同一功能的具体硬件结构也可以是多种多样的,例如模拟电路、数字电路或专用电路等。但是,对本发明而言更多情况下软件程序实现是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在可读取的存储介质中,如计算机的软盘,U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。
所属领域的技术人员可以清楚地了解到,上述描述的系统、装置或单元的 具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。

Claims (20)

  1. 一种虚拟网络功能实例的迁移方法,其特征在于,所述方法包括:
    启动运行状态信息的复制操作,所述复制操作包括:向目的虚拟网络功能发送第一运行状态信息的副本,所述第一运行状态信息为源虚拟网络功能中启动所述复制操作前已存在的运行状态信息;
    在启动所述复制操作的同时或在启动所述复制操作之前,启动信令消息的迁移操作,所述迁移操作包括:在第一信令消息被所述源虚拟网络功能处理之前向目的虚拟网络功能发送所述第一信令消息,所述第一信令消息用于指示所述目的虚拟网络功能在所述目的虚拟网络功能上创建第二运行状态信息;以及向所述目的虚拟网络功能发送第二信令消息的副本,所述第二信令消息的副本用于指示所述目的虚拟网络功能更新所述第一运行状态信息或所述第二运行状态信息;
    在确定所述第一运行状态信息的副本全部被所述目的虚拟网络功能接收,并且,所述第一信令消息和所述第二信令消息的副本全部被所述目的虚拟网络功能处理完成的情况下,下线所述源虚拟网络功能,以便于所述目的虚拟网络功能运行所述虚拟网络功能实例。
  2. 根据权利要求1所述的方法,其特征在于,所述向目的虚拟网络功能发送第一运行状态信息的副本,包括:
    将所述第一运行状态信息的副本按照优先级从高到底的顺序向目的虚拟网络功能发送,其中,所述第一运行状态信息的变化频率越高,则所述第一运行状态信息的副本的优先级越高。
  3. 根据权利要求2所述的方法,其特征在于,所述变化频率为所述第一运行状态信息的历史变化频率或根据所述第一运行状态信息的历史变化信息预测的未来变化频率。
  4. 根据权利要求1-3任一项所述的方法,其特征在于,所述确定所述第一运行状态信息的副本全部被所述目的虚拟网络功能接收的步骤包括:
    在所述第一运行状态信息的副本被全部执行完发送到所述目的虚拟网络功能的操作之后,接收所述目的虚拟网络功能发送的第一摘要,其中,所述第 一摘要是所述目的虚拟网络功能根据所述目的虚拟网络功能从所述源虚拟网络功能接收到的运行状态信息生成的;
    若所述第一摘要与第二摘要相同,则确定所述第一运行状态信息的副本全部被所述目的虚拟网络功能接收,其中,所述第二摘要是源虚拟网络功能根据所述第一运行状态信息或所述第一运行状态信息的副本确定的。
  5. 根据权利要求1-4任一项所述的方法,其特征在于,所述运行状态信息包括用户设备上下文。
  6. 一种虚拟网络功能实例的迁移方法,其特征在于,所述虚拟网络功能实例从源虚拟网络功能迁移到目的虚拟网络功能,所述方法应用于所述目的虚拟网络功能,所述方法包括:
    接收第一运行状态信息的副本,其中,所述第一运行状态信息为所述迁移开始前已经存在在所述源虚拟网络功能中的运行状态信息;
    接收第一信令消息,并根据所述第一信令消息创建第二运行状态信息;
    接收第二信令消息的副本,并根据所述第二信令消息的副本更新所述第一运行状态信息或所述第二运行状态信息;
    在确定接收到所有所述第一运行状态信息的副本,并且,所述第一信令消息和所述第二信令消息的副本全部被处理完成的情况下,指示所述源虚拟网络功能下线,以便于所述目的虚拟网络功能运行所述虚拟网络功能实例。
  7. 根据权利要求6所述的方法,其特征在于,所述根据所述第二信令消息的副本更新所述第一运行状态信息,包括:
    若所述第二信令消息的副本指示更新的第一运行状态信息存在,则根据所述第二信令消息更新所述第一运行状态信息;
    若所述第二信令消息的副本指示更新的第一运行状态信息不存在,则缓存所述第二信令消息的副本或所述第二信令消息的副本的预处理结果,以便于在从所述源虚拟网络功能接收到所述不存在的第一运行状态信息之后再根据所述第二信令消息的副本或所述第二信令消息的副本的所述预处理结果更新所述第一运行状态信息。
  8. 根据权利要求7所述的方法,其特征在于,所述缓存所述第二信令消息 的副本的预处理结果,包括:
    解析所述第二信令消息的副本以获取所述第二信令消息的副本中携带的信息;
    将所述第二信令消息的副本中携带的所述信息构建为与所述第二信令消息的副本指示更新的运行状态信息的数据结构相同的数据结构;
    缓存所述数据结构。
  9. 根据权利要求6-8任意一项所述的方法,其特征在于,所述确定接收到所有所述第一运行状态信息的步骤包括:
    根据接收到的第一运行状态信息的副本确定第一摘要,并向所述源虚拟网络功能发送所述第一摘要;
    若接收到所述源虚拟网络功能发送的指示信息,所述指示信息用于指示所述第一摘要与所述源虚拟网络功能确定的第二摘要相同,则确定接收到所有所述第一运行状态信息,其中,所述第二摘要是所述源虚拟网络功能根据所有所述第一运行状态信息确定的。
  10. 根据权利要求6-9任一项所述的方法,其特征在于,所述指示所述源虚拟网络功能下线,包括:向所述源虚拟网络功能发送下线指示信息,以便于源虚拟网络功能执行下线操作。
  11. 一种虚拟网络功能实例的迁移装置,其特征在于,所述装置包括:
    运行状态信息复制单元,用于启动运行状态信息的复制操作,所述复制操作包括:向目的虚拟网络功能发送第一运行状态信息的副本,所述第一运行状态信息为源虚拟网络功能中启动所述复制操作前已存在的运行状态信息;
    信令消息迁移单元,用于在启动所述复制操作的同时或在启动所述复制操作之前,启动信令消息的迁移操作,所述迁移操作包括:在第一信令消息被所述源虚拟网络功能处理之前向目的虚拟网络功能发送所述第一信令消息,所述第一信令消息用于指示所述目的虚拟网络功能在所述目的虚拟网络功能上创建第二运行状态信息;以及向所述目的虚拟网络功能发送第二信令消息的副本,所述第二信令消息的副本用于指示所述目的虚拟网络功能更新所述第一运行状态信息或所述第二运行状态信息;
    下线单元,用于在确定所述第一运行状态信息的副本全部被所述目的虚拟网络功能接收,并且,所述第一信令消息和所述第二信令消息的副本全部被所述目的虚拟网络功能处理完成的情况下,下线所述源虚拟网络功能,以便于所述目的虚拟网络功能运行所述虚拟网络功能实例。
  12. 根据权利要求11所述的装置,其特征在于,所述运行状态信息复制单元具体用于:
    将所述第一运行状态信息的副本按照优先级从高到底的顺序向目的虚拟网络功能发送,其中,所述第一运行状态信息的变化频率越高,则所述第一运行状态信息的副本的优先级越高。
  13. 一种虚拟网络功能实例的迁移装置,其特征在于,所述装置包括:
    第一接收单元,用于接收第一运行状态信息的副本,其中,所述第一运行状态信息为所述迁移开始前已经存在在所述源虚拟网络功能中的运行状态信息;
    第二接收单元,用于接收第一信令消息;
    运行状态信息创建单元,用于根据所述第二接收单元接收到的所述第一信令消息创建第二运行状态信息;
    第三接收单元,用于接收第二信令消息的副本;
    运行状态信息更新单元,用于根据所述第三接收单元接收到的所述第二信令消息的副本更新所述第一运行状态信息或所述第二运行状态信息;
    下线单元,用于在确定接收到所有所述第一运行状态信息的副本,并且,所述第一信令消息和所述第二信令消息的副本全部被处理完成的情况下,指示所述源虚拟网络功能下线,以便于所述目的虚拟网络功能运行所述虚拟网络功能实例。
  14. 根据权利要求13所述的装置,其特征在于,所述运行状态信息更新单元在根据所述第三接收单元接收到的所述第二信令消息的副本更新所述第一运行状态信息方面具体用于:若所述第二信令消息的副本指示更新的第一运行状态信息存在,则根据所述第二信令消息更新所述第一运行状态信息;若所述第二信令消息的副本指示更新的第一运行状态信息不存在,则缓存所述第二信 令消息的副本或所述第二信令消息的副本的预处理结果,以便于在从所述源虚拟网络功能接收到所述不存在的第一运行状态信息之后再根据所述第二信令消息的副本或所述第二信令消息的副本的所述预处理结果更新所述第一运行状态信息。
  15. 一种网络节点,其特征在于,所述网络节点包括硬件层,运行在所述硬件层之上的虚拟机监视器,以及运行在所述虚拟机监视器上的一个或多个虚拟机,所述一个或多个虚拟机内运行有第一虚拟网络功能,其中,
    所述第一虚拟网络功能用于启动运行状态信息的复制操作,所述复制操作包括:向第二虚拟网络功能发送第一运行状态信息的副本,所述第一运行状态信息为所述第一虚拟网络功能中启动所述复制操作前已存在的与所述第一虚拟网络功能上运行的虚拟网络功能实例关联的运行状态信息;
    所述第一虚拟网络功能还用于在启动所述复制操作的同时或在启动所述复制操作之前,启动信令消息的迁移操作,所述迁移操作包括:在第一信令消息被所述第一虚拟网络功能处理之前向所述第二虚拟网络功能发送所述第一信令消息,所述第一信令消息用于指示所述第二虚拟网络功能在所述第二虚拟网络功能上创建第二运行状态信息;以及向所述第二虚拟网络功能发送第二信令消息的副本,所述第二信令消息的副本用于指示所述第二虚拟网络功能更新所述第一运行状态信息或所述第二运行状态信息;
    所述第一虚拟网络功能还用于在确定所述第一运行状态信息的副本全部被所述第二虚拟网络功能接收,并且,所述第一信令消息和所述第二信令消息的副本全部被所述第二虚拟网络功能处理完成的情况下,下线所述第一虚拟网络功能,以便于所述第二虚拟网络功能运行所述虚拟网络功能实例。
  16. 根据权利要求15所述的网络节点,其特征在于,所述第一虚拟网络功能在执行所述复制操作方面具体用于将所述第一运行状态信息的副本按照优先级从高到底的顺序向第二虚拟网络功能发送,其中,所述第一运行状态信息的变化频率越高,则所述第一运行状态信息的副本的优先级越高。
  17. 一种网络节点,其特征在于,所述网络节点包括硬件层,运行在所述硬件层之上的虚拟机监视器,以及运行在所述虚拟机监视器上的一个或多个虚 拟机,所述一个或多个虚拟机内运行有第二虚拟网络功能,其中,
    所述第二虚拟网络功能用于接收第一运行状态信息的副本,其中,所述第一运行状态信息为迁移虚拟网络功能实例的操作开始前已经存在在第一虚拟网络功能中的运行状态信息,所述虚拟网络功能实例在所述迁移操作开始前运行在所述第一虚拟网络功能上;接收第一信令消息,并根据所述第一信令消息创建第二运行状态信息;接收第二信令消息的副本,并根据所述第二信令消息的副本更新所述第一运行状态信息或所述第二运行状态信息;在确定接收到所有所述第一运行状态信息的副本,并且,所述第一信令消息和所述第二信令消息的副本全部被处理完成的情况下,指示所述第一虚拟网络功能下线,以便于所述第二虚拟网络功能运行所述虚拟网络功能实例。
  18. 根据权利要求17所述的网络节点,其特征在于,所述第二虚拟网络功能在根据所述第二信令消息的副本更新所述第一运行状态信方面具体用于若所述第二信令消息的副本指示更新的第一运行状态信息存在,则根据所述第二信令消息更新所述第一运行状态信息;若所述第二信令消息的副本指示更新的第一运行状态信息不存在,则缓存所述第二信令消息的副本或所述第二信令消息的副本的预处理结果,以便于在从所述源虚拟网络功能接收到所述不存在的第一运行状态信息之后再根据所述第二信令消息的副本或所述第二信令消息的副本的所述预处理结果更新所述第一运行状态信息。
  19. 一种虚拟网络功能实例的迁移系统,其特征在于,所述迁移系统包括源网络节点和目的网络节点,所述源网络节点上运行有源虚拟网络功能,所述目的网络节点上运行有目的虚拟网络功能,在所述虚拟网络功能实例被迁移之前,所述虚拟网络功能实例运行在所述源虚拟网络功能上,其中,
    所述源虚拟网络功能用于:启动并执行运行状态信息的复制操作,所述复制操作包括:向所述目的网络节点上的所述目的虚拟网络功能发送第一运行状态信息的副本,所述第一运行状态信息为源虚拟网络功能中启动所述复制操作前已存在的运行状态信息;
    所述目的虚拟网络功能用于从所述源虚拟网络功能接收并存储所述第一运行状态信息的副本;
    所述源虚拟网络功能还用于在启动所述复制操作的同时或在启动所述复制操作之前,启动并执行信令消息的迁移操作,所述迁移操作包括:在第一信令消息被所述源虚拟网络功能处理之前向目的虚拟网络功能发送所述第一信令消息;以及向所述目的虚拟网络功能发送第二信令消息的副本;
    所述目的虚拟网络功能还用于接收第一信令消息,并根据所述第一信令消息创建第二运行状态信息;接收第二信令消息的副本,并根据所述第二信令消息的副本更新所述第一运行状态信息或所述第二运行状态信息;
    所述源虚拟网络功能还用于在确定所述第一运行状态信息的副本全部被所述目的虚拟网络功能接收,并且,所述第一信令消息和所述第二信令消息的副本全部被所述目的虚拟网络功能处理完成的情况下,下线所述源虚拟网络功能,以便于所述目的虚拟网络功能运行所述虚拟网络功能实例。
  20. 一种虚拟网络功能实例的迁移系统,其特征在于,所述迁移系统包括源网络节点、目的网络节点和第三方管理功能实体,所述源网络节点上运行有源虚拟网络功能,所述目的网络节点上运行有目的虚拟网络功能,在所述虚拟网络功能实例被迁移之前,所述虚拟网络功能实例运行在所述源虚拟网络功能上,其中,
    所述第三方管理功能实体用于控制所述源虚拟网络功能启动运行状态信息的复制操作;以及控制所述源虚拟网络功能在启动所述复制操作的同时或在启动所述复制操作之前启动信令消息的迁移操作;
    所述源虚拟网络功能用于在所述第三方管理功能实体的控制下启动并执行所述运行状态信息的复制操作,所述复制操作包括:向目的虚拟网络功能发送第一运行状态信息的副本,所述第一运行状态信息为源虚拟网络功能中启动所述复制操作前已存在的运行状态信息;
    所述目的虚拟网络功能用于从所述源虚拟网络功能接收并存储所述第一运行状态信息的副本;
    所述源虚拟网络功能还用于在所述第三方管理功能实体的控制下启动并执行所述信令消息的迁移操作,所述迁移操作包括:在第一信令消息被所述源虚拟网络功能处理之前向目的虚拟网络功能发送所述第一信令消息;以及向所 述目的虚拟网络功能发送第二信令消息的副本;
    所述目的虚拟网络功能还用于接收第一信令消息,并根据所述第一信令消息创建第二运行状态信息;接收第二信令消息的副本,并根据所述第二信令消息的副本更新所述第一运行状态信息或所述第二运行状态信息;
    所述目的虚拟网络功能还用于在确定接收到所有所述第一运行状态信息的副本,并且,所述第一信令消息和所述第二信令消息的副本全部被处理完成的情况下,向所述第三方管理功能实体发送下线指示消息;
    所述第三方管理功能实体还用于根据所述指示消息控制所述源虚拟网络功能下线,以便于所述目的虚拟网络功能运行所述虚拟网络功能实例。
PCT/CN2014/090145 2014-11-03 2014-11-03 虚拟网络功能实例的迁移方法、装置和系统 WO2016070302A1 (zh)

Priority Applications (5)

Application Number Priority Date Filing Date Title
JP2017523794A JP6432955B2 (ja) 2014-11-03 2014-11-03 仮想ネットワーク機能インスタンスをマイグレーションさせるための方法、装置およびシステム
EP14905543.6A EP3206335B1 (en) 2014-11-03 2014-11-03 Virtual network function instance migration method, device and system
PCT/CN2014/090145 WO2016070302A1 (zh) 2014-11-03 2014-11-03 虚拟网络功能实例的迁移方法、装置和系统
KR1020177014894A KR20170078799A (ko) 2014-11-03 2014-11-03 가상 네트워크 기능 인스턴스를 이동하기 위한 방법, 장치 및 시스템
US15/585,862 US10455412B2 (en) 2014-11-03 2017-05-03 Method, apparatus, and system for migrating virtual network function instance

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/090145 WO2016070302A1 (zh) 2014-11-03 2014-11-03 虚拟网络功能实例的迁移方法、装置和系统

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US15/585,862 Continuation US10455412B2 (en) 2014-11-03 2017-05-03 Method, apparatus, and system for migrating virtual network function instance

Publications (1)

Publication Number Publication Date
WO2016070302A1 true WO2016070302A1 (zh) 2016-05-12

Family

ID=55908326

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/090145 WO2016070302A1 (zh) 2014-11-03 2014-11-03 虚拟网络功能实例的迁移方法、装置和系统

Country Status (5)

Country Link
US (1) US10455412B2 (zh)
EP (1) EP3206335B1 (zh)
JP (1) JP6432955B2 (zh)
KR (1) KR20170078799A (zh)
WO (1) WO2016070302A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190026168A1 (en) * 2017-07-24 2019-01-24 At&T Intellectual Property I, L.P. Geographical Redundancy and Dynamic Scaling for Virtual Network Functions

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11122129B2 (en) * 2016-12-31 2021-09-14 Intel Corporation Virtual network function migration
KR102127150B1 (ko) * 2017-10-30 2020-06-26 에스케이텔레콤 주식회사 네트워크 시스템, 이에 적용되는 네트워크장치 및 그 장치의 동작, 네트워크노드의 동작 방법
WO2019088621A1 (ko) 2017-10-30 2019-05-09 에스케이텔레콤 주식회사 네트워크 시스템, 이에 적용되는 네트워크장치 및 그 장치의 동작, 네트워크노드의 동작 방법
WO2019119305A1 (en) 2017-12-20 2019-06-27 Nokia Shanghai Bell Co., Ltd. Method and apparatus for load balancing in a cloud-radio access network
US11115317B1 (en) 2018-01-05 2021-09-07 Open Invention Network Llc EMS assisted split-brain resolution in virtual network function components
JP7326443B2 (ja) * 2018-11-14 2023-08-15 テレフオンアクチーボラゲット エルエム エリクソン(パブル) Nf間のダイレクトシグナリングを使用したnfサービスコンシューマー再起動検出
FR3094812A1 (fr) * 2019-04-08 2020-10-09 Orange Procédé et dispositif de migration d’une fonction virtualisée en cas de défaillance de l’environnement technique de serveurs
CN110190987B (zh) * 2019-05-08 2022-02-01 南京邮电大学 基于备份收益与重映射的虚拟网络功能可靠性部署方法
CN114401194B (zh) * 2021-12-29 2023-08-01 山东省计算中心(国家超级计算济南中心) 一种支持网络功能虚拟化的动态扩展方法、平台及计算机
CN116737445B (zh) * 2023-08-14 2023-10-27 南京翼辉信息技术有限公司 一种利用伪容器实现资源隔离的控制方法

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101430649A (zh) * 2008-11-19 2009-05-13 北京航空航天大学 基于虚拟机的虚拟计算环境系统
US20130083690A1 (en) * 2011-10-04 2013-04-04 International Business Machines Corporation Network Adapter Hardware State Migration Discovery in a Stateful Environment
CN104115447A (zh) * 2014-04-14 2014-10-22 华为技术有限公司 一种云计算架构下的容灾方案配置方法及装置

Family Cites Families (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FI108599B (fi) 1999-04-14 2002-02-15 Ericsson Telefon Ab L M Toipuminen matkaviestinjärjestelmissä
US9715401B2 (en) 2008-09-15 2017-07-25 International Business Machines Corporation Securing live migration of a virtual machine from a secure virtualized computing environment, over an unsecured network, to a different virtualized computing environment
US8499297B2 (en) * 2008-10-28 2013-07-30 Vmware, Inc. Low overhead fault tolerance through hybrid checkpointing and replay
US8254249B2 (en) 2009-08-06 2012-08-28 Telefonaktiebolaget L M Ericsson (Publ) Session resilience prioritization queuing mechanism to minimize and eliminate packet loss
US20110032830A1 (en) 2009-08-06 2011-02-10 Jacobus Van Der Merwe Live Router Migration
US8386731B2 (en) 2009-09-14 2013-02-26 Vmware, Inc. Method and system for optimizing live migration of persistent data of virtual machine using disk I/O heuristics
US8370560B2 (en) 2009-11-16 2013-02-05 International Business Machines Corporation Symmetric live migration of virtual machines
US8489699B2 (en) 2010-08-13 2013-07-16 Vmware, Inc. Live migration of virtual machine during direct access to storage over SR IOV adapter
US8549129B2 (en) 2010-10-12 2013-10-01 Microsoft Corporation Live migration method for large-scale IT management systems
US8559299B2 (en) 2010-11-30 2013-10-15 Telefonaktiebolaget L M Ericsson (Publ) Mobile gateways in pool for session resilience
JP5534031B2 (ja) * 2010-12-15 2014-06-25 富士通株式会社 データ移行プログラム、計算機およびデータ移行方法
US8490092B2 (en) 2011-07-06 2013-07-16 Microsoft Corporation Combined live migration and storage migration using file shares and mirroring
WO2013110352A1 (en) 2012-01-24 2013-08-01 Telefonaktiebolaget L M Ericsson (Publ) Mme restoration
US8908603B2 (en) 2012-01-24 2014-12-09 Telefonaktiebolaget L M Ericsson (Publ) MME restoration
JP2013200805A (ja) * 2012-03-26 2013-10-03 Nec Corp 信号振り分けシステム、信号振り分け方法及びコンピュータ・プログラム
JP6028415B2 (ja) * 2012-06-28 2016-11-16 日本電気株式会社 仮想サーバ環境のデータ移行制御装置、方法、システム
US9083724B2 (en) * 2013-05-30 2015-07-14 Netapp, Inc. System iteratively reducing I/O requests during migration of virtual storage system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101430649A (zh) * 2008-11-19 2009-05-13 北京航空航天大学 基于虚拟机的虚拟计算环境系统
US20130083690A1 (en) * 2011-10-04 2013-04-04 International Business Machines Corporation Network Adapter Hardware State Migration Discovery in a Stateful Environment
CN104115447A (zh) * 2014-04-14 2014-10-22 华为技术有限公司 一种云计算架构下的容灾方案配置方法及装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3206335A4 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190026168A1 (en) * 2017-07-24 2019-01-24 At&T Intellectual Property I, L.P. Geographical Redundancy and Dynamic Scaling for Virtual Network Functions
US11003516B2 (en) * 2017-07-24 2021-05-11 At&T Intellectual Property I, L.P. Geographical redundancy and dynamic scaling for virtual network functions

Also Published As

Publication number Publication date
JP6432955B2 (ja) 2018-12-05
EP3206335A4 (en) 2017-11-01
KR20170078799A (ko) 2017-07-07
EP3206335A1 (en) 2017-08-16
JP2017535196A (ja) 2017-11-24
EP3206335B1 (en) 2020-01-08
US10455412B2 (en) 2019-10-22
US20170238171A1 (en) 2017-08-17

Similar Documents

Publication Publication Date Title
WO2016070302A1 (zh) 虚拟网络功能实例的迁移方法、装置和系统
CN114902182B (zh) 通信服务提供商网络中的云计算
CN114946166B (zh) 在包括云边缘位置的异构计算环境中的动态资源移动的方法和系统
US11917446B1 (en) Mobility of cloud compute instances hosted within communications service provider networks
US11941423B2 (en) Data processing method and related device
JP7109148B2 (ja) スケーラブルな進化したパケットコア
EP4049139B1 (en) Latency-based placement of cloud compute instances within communications service provider networks
CN102412978B (zh) 一种针对虚拟主机进行网络配置的方法和系统
BR112020023244A2 (pt) mensagem e sistema para influência de função de aplicativo na rota de tráfego
US11153194B2 (en) Control plane isolation for software defined network routing services
US11394662B2 (en) Availability groups of cloud provider edge locations
US20160100330A1 (en) Scalable network function virtualization
EP3097672B1 (en) Method of operating a network entity
JP2018519736A (ja) Vnfフェイルオーバの方法及び装置
CN114945903A (zh) 使用边缘优化计算实例在提供商底层扩展处执行用户工作负载
JP6471244B2 (ja) Sdnに支援されたシームレスなranアプリマイグレーション
CN111092770A (zh) 一种虚拟网络管理方法及电子设备

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: 14905543

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2017523794

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

REEP Request for entry into the european phase

Ref document number: 2014905543

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 20177014894

Country of ref document: KR

Kind code of ref document: A