WO2016179803A1 - Method, device and system for establishing connection between vnfm and vim - Google Patents

Method, device and system for establishing connection between vnfm and vim Download PDF

Info

Publication number
WO2016179803A1
WO2016179803A1 PCT/CN2015/078801 CN2015078801W WO2016179803A1 WO 2016179803 A1 WO2016179803 A1 WO 2016179803A1 CN 2015078801 W CN2015078801 W CN 2015078801W WO 2016179803 A1 WO2016179803 A1 WO 2016179803A1
Authority
WO
WIPO (PCT)
Prior art keywords
vim
vnfm
identifier
connection
information
Prior art date
Application number
PCT/CN2015/078801
Other languages
French (fr)
Chinese (zh)
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 CN201580079212.6A priority Critical patent/CN107534678B/en
Priority to PCT/CN2015/078801 priority patent/WO2016179803A1/en
Publication of WO2016179803A1 publication Critical patent/WO2016179803A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a method, apparatus, and system for establishing a connection between a VNFM and a VIM.
  • NFV network function virtualization
  • NFV network function virtualization scheduling node
  • NFVO network function virtualization orchestrator
  • VIM virtual machine infrastructure management node
  • VNFM virtual network function management node
  • VNF virtualized network function manager
  • VNF virtualized network function
  • the NFVO notifies the VNFM that manages the VNF
  • the VNFM sends a request message to the VIM specified by the NFVO to request the VIM to allocate resources for the VNF.
  • the network maintenance personnel need to save the connection information of the VNFM in the VIM in advance, and save the connection information of the VIM in the VNFM, and manually establish the VNFM and the VNFM. The connection between the VIMs.
  • the VNFM may be between the VIM and the VIM. There is no connection established. If the connection between the VNFM and the VIM is established manually according to the above method, the efficiency of establishing a connection is low, and the efficiency of resource allocation of the VNF is affected.
  • the invention provides a method, device and system for establishing a connection between a VNFM and a VIM, which can automatically establish a connection between the VNFM and the VIM, thereby improving the efficiency of resource allocation of the resource VNF.
  • the present invention provides a method of establishing a connection between a VNFM and a VIM, including:
  • the VNFM receives the notification message sent by the management node, where the notification message carries the identifier of the VIM and the connection information of the VIM, and the identifier of the VIM and the connection information of the VIM are used by the VNFM to establish a connection with the VIM. ;
  • the VNFM When the VNFM does not establish a connection with the VIM, the VNFM saves the identifier of the VIM and the connection information of the VIM;
  • the VNFM sends a request message to the VIM, where the request message carries the identifier of the VNFM and the connection information of the VNFM, and the identifier of the VNFM and the connection information of the VNFM are used to establish and establish the VIM.
  • the connection of the VNFM is not limited to the VNFM.
  • a method for determining that the VNFM does not establish a connection with the VIM includes:
  • the VNFM determines that the identifier of the VIM and the identifier of the at least one VIM that has established a connection with the VNFM are different, the VNFM does not establish a connection with the VIM;
  • the VNFM determines that the identifier of the VIM is the same as the identifier of any one of the VIMs that have established a connection with the VNFM, the VNFM has established a connection with the VIM.
  • connection information of the VIM includes at least an IP address of the VIM
  • the connection information of the VNFM includes at least an IP address of the VNFM.
  • the method also includes:
  • the notification message and the request message further carry resource quota information, where the resource quota information is used to indicate a resource quota that is allowed to be allocated by the VIM to the VNFM.
  • the present invention provides a method of establishing a connection between a VNFM and a VIM, including:
  • the VIM receives the request message sent by the VNFM, where the request message carries the identifier of the VNFM and the connection information of the VNFM, and the identifier of the VNFM and the connection information of the VNFM are used by the VIM to establish the VNFM with the VNFM. connection;
  • the VIM When the VIM does not establish a connection with the VNFM, the VIM saves the identifier of the VNFM and the connection information of the VNFM.
  • the determining method that the VIM does not establish a connection with the VNFM includes:
  • the VIM determines that the identifier of the VNFM and the identifier of the at least one VNFM that has established a connection with the VIM are different, the VIM does not establish a connection with the VNFM;
  • the VIM determines that the identifier of the VNFM is the same as the identifier of any one of the VNFMs that have established a connection with the VIM, the VIM has established a connection with the VNFM.
  • the connection information of the VNFM includes at least an IP address of the VNFM.
  • the request message further carries resource quota information, where the resource quota information is used. Indicates a resource quota that is allowed to be allocated by the VIM to the VNFM;
  • the VIM saves the identifier of the VNFM and the connection information of the VNFM, including:
  • the VIM saves the identifier of the VNFM, the connection information of the VNFM, and the resource quota information.
  • the present invention provides a method for establishing a connection between a VNFM and a VIM, including:
  • the management node obtains the identifier of the VIM, where the VIM is a VIM that satisfies the resource requirement information of the virtual network function VNF of the resource to be allocated;
  • the management node acquires connection information of the VIM corresponding to the identifier of the VIM according to the identifier of the VIM;
  • the management node sends a notification message to the VNFM, where the notification message carries the identifier of the VIM and the connection information of the VIM, and the identifier of the VIM and the connection information of the VIM are used by the VNFM to establish and VIM connection.
  • the method before the acquiring, by the management node, the connection information of the VIM corresponding to the identifier of the VIM, the method further includes:
  • the management node acquires, according to the identifier of the VIM, the connection information of the VIM corresponding to the identifier of the VIM, including:
  • the management node determines that the connection between the VIM and the VNFM is not established, the management node acquires connection information of the VIM corresponding to the identifier of the VIM according to the identifier of the VIM.
  • the management node determines whether a connection is established between the VIM and the VNFM, including:
  • the management node determines whether a connection has been established between the VIM and the VNFM according to a preset resource mapping table.
  • the management node after the management node obtains the identifier of the VIM, the management node acquires the VIM according to the identifier of the VIM. Before the corresponding connection information of the VIM is identified, the method further includes:
  • the management node sends a resource reservation request message to the VIM, where the resource reservation request message carries the identifier of the VNFM, and the identifier of the VNFM is used by the VIM to determine whether a connection with the VNFM has been established. ;
  • the management node Receiving, by the management node, a resource reservation response message sent by the VIM, where the resource reservation response message carries a connection indication identifier, where the connection indication identifier indicates whether the VIM has established a connection with the VNFM;
  • the management node determines whether a connection has been established between the VIM and the VNFM, including:
  • the management node determines, according to the connection indication identifier, whether a connection has been established between the VIM and the VNFM.
  • the management node After obtaining the identifier of the VIM, before the management node sends the notification message to the VNFM, the method further includes:
  • the management node acquires resource quota information configured by the management node for the VIM, where the resource quota information is used to indicate a resource quota that is allowed to be allocated by the VIM to the VNFM.
  • the resource information is also carried in the notification message.
  • the present invention provides an apparatus comprising:
  • a receiving unit configured to receive a notification message sent by the management node, where the notification message carries the identifier of the VIM and the connection information of the VIM, where the identifier of the VIM and the connection information of the VIM are used to establish and describe the virtual VNFM.
  • VIM connection ;
  • a saving unit configured to save, when the VNFM does not establish a connection with the VIM, the identifier of the VIM and the connection information of the VIM received by the receiving unit;
  • a sending unit configured to send a request message to the VIM, where the request message carries The identification of the VNFM and the connection information of the VNFM, the identifier of the VNFM and the connection information of the VNFM are used by the VIM to establish a connection with the VNFM.
  • the saving unit is specifically configured to determine whether the identifier of the VIM received by the receiving unit and the identifier of the VIM that is established by the saving unit and that is connected to the VNFM are the same, if the identifier of the VIM is The identifier of the VIM that has been connected to the VNFM is different, and the VNFM does not establish a connection with the VIM. If the identifier of the VIM and any one of the VIMMs are established, the VNFM is established. The VIMs have the same identity, and the VNFM has established a connection with the VIM.
  • connection information of the VIM received by the receiving unit includes at least a source IP address of the VIM
  • the connection information of the VNFM sent by the sending unit includes at least an IP address of the VNFM.
  • the notification message received by the receiving unit and the request message sent by the sending unit further carry resource quota information, where the resource quota information is used to indicate a resource quota that is allowed to be allocated by the VIM to the VNFM.
  • the present invention provides an apparatus comprising:
  • a receiving unit configured to receive a request message sent by the VNFM, where the request message carries the identifier of the VNFM and the connection information of the VNFM, where the identifier of the VNFM and the connection information of the VNFM are used for VIM establishment and VNFM connection;
  • a saving unit configured to save an identifier of the VNFM and a connection letter of the VNFM received by the receiving unit when the VIM does not establish a connection with the VNFM interest.
  • the saving unit is specifically configured to determine whether the identifier of the VNFM received by the receiving unit and the identifier of the VNFM that is established by the saving unit and that is connected to the VIM are the same, if the identifier of the VNFM is The identifier of the VNFM that is connected to the VIM is different, and the VIM does not establish a connection with the VNFM, and if the identifier of the VNFM and any one of the VIMs are established, the VIM is established.
  • the VNFM has the same identity, and the VIM has established a connection with the VNFM.
  • connection information of the VNFM received by the receiving unit includes at least an IP address of the VNFM.
  • the request message received by the receiving unit further carries resource quota information, where the resource quota information is used to indicate a resource quota that is allowed to be allocated by the VIM to the VNFM;
  • the saving unit is specifically configured to save the identifier of the VNFM, the connection information of the VNFM, and the resource quota information.
  • the present invention provides an apparatus comprising:
  • An obtaining unit configured to obtain an identifier of a VIM, where the VIM is a VIM that meets resource requirement information of a VNF of a resource to be allocated;
  • the obtaining unit is further configured to acquire, according to the identifier of the VIM, connection information of the VIM corresponding to the identifier of the VIM;
  • a sending unit configured to send a notification message to the VNFM, where the notification message carries the identifier of the VIM acquired by the acquiring unit and the connection information of the VIM, where the identifier of the VIM and the connection information of the VIM are used.
  • the VNFM is established and described VIM connection.
  • the apparatus further includes a determining unit,
  • the determining unit is configured to determine whether a connection has been established between the VIM and the VNFM before the obtaining unit obtains the connection information of the VIM corresponding to the identifier of the VIM according to the identifier of the VIM. ;
  • the obtaining unit is configured to: when the determining unit determines that the connection between the VIM and the VNFM is not established, obtain the connection information of the VIM corresponding to the identifier of the VIM according to the identifier of the VIM .
  • the determining unit is specifically configured to determine whether a connection has been established between the VIM and the VNFM according to a preset resource mapping table.
  • the apparatus further includes a receiving unit,
  • the sending unit is further configured to: after the acquiring unit acquires the identifier of the VIM, before the acquiring unit acquires the connection information of the VIM corresponding to the identifier of the VIM according to the identifier of the VIM, The VIM sends a resource reservation request message, where the resource reservation request message carries the identifier of the VNFM, and the identifier of the VNFM is used to determine whether the VIM has established a connection with the VNFM.
  • the receiving unit is configured to receive a resource reservation response message sent by the VIM, where the resource reservation response message carries a connection indication identifier, where the connection indication identifier indicates whether the VIM has established a connection with the VNFM ;
  • the determining unit is specifically configured to determine whether a connection has been established between the VIM and the VNFM according to the connection indication identifier received by the receiving unit.
  • the obtaining unit is further configured to: after acquiring the identifier of the VIM, the sending unit Before the notification message is sent to the VNFM, the resource quota information configured by the management node for the VIM is obtained, where the resource quota information is used to indicate a resource quota that is allowed to be allocated by the VIM to the VNFM.
  • the notification message sent by the sending unit further carries the resource quota information acquired by the acquiring unit.
  • the present invention provides an apparatus comprising:
  • a processor configured to receive a notification message sent by the management node, where the notification message carries the identifier of the VIM and the connection information of the VIM, where the identifier of the VIM and the connection information of the VIM are used by the VNFM to establish the VIM Connection;
  • the processor is further configured to save the identifier of the VIM and the connection information of the VIM when the VNFM does not establish a connection with the VIM;
  • the processor is further configured to send a request message to the VIM, where the request message carries the identifier of the VNFM and the connection information of the VNFM, and the identifier of the VNFM and the connection information of the VNFM are used by the The VIM establishes a connection with the VNFM.
  • the processor is specifically configured to determine whether the identifier of the VIM and the identifier of the VIM that the processor has established to establish a connection with the VNFM are the same, if the identifier of the VIM and the at least one The VNF is not connected to the VIM.
  • the VNFM does not establish a connection with the VIM. If the identifier of the VIM is the same as the identifier of any VIM that has been connected to the VNFM, Then the VNFM has established a connection with the VIM.
  • connection information of the VIM received by the processor includes at least an IP address of the VIM
  • the connection information of the VNFM sent by the processor includes at least an IP address of the VNFM.
  • resource quota information is used to indicate the resource quota allocated by the VIM for the VNFM.
  • the present invention provides an apparatus comprising:
  • a processor configured to receive a request message sent by the VNFM, where the request message carries the identifier of the VNFM and the connection information of the VNFM, and the identifier of the VNFM and the connection information of the VNFM are used for VIM establishment and VNFM connection;
  • the processor is further configured to save the identifier of the VNFM and the connection information of the VNFM when the VIM does not establish a connection with the VNFM.
  • the processor is specifically configured to determine whether the identifier of the VNFM and the identifier of the VNFM that the processor has established to establish a connection with the VIM are the same, if the identifier of the VNFM and the at least one The VIM is not connected to the VNFM, and the VIM is not connected to the VNFM. If the identifier of the VNFM is the same as the identifier of any VNFM that has established a connection with the VIM, Then the VIM has established a connection with the VNFM.
  • connection information of the VNFM received by the processor includes at least an IP address of the VNFM.
  • the request message received by the processor further includes resource quota information, where the resource quota information is used to indicate a resource quota that is allowed to be allocated by the VIM to the VNFM.
  • the processor is specifically configured to save the identifier of the VNFM, the VNFM Connection information and the resource quota information.
  • the present invention provides an apparatus comprising:
  • a processor configured to obtain an identifier of the VIM, where the VIM is a VIM that meets resource requirement information of a VNF of a resource to be allocated;
  • the processor is further configured to acquire connection information of the VIM corresponding to the identifier of the VIM according to the identifier of the VIM;
  • the processor is further configured to send a notification message to the VNFM, where the notification message carries the identifier of the VIM acquired by the acquiring unit and the connection information of the VIM, and the identifier of the VIM and the connection of the VIM Information is used by the VNFM to establish a connection with the VIM.
  • the processor is further configured to determine whether a connection has been established between the VIM and the VNFM before acquiring the connection information of the VIM corresponding to the identifier of the VIM according to the identifier of the VIM;
  • the processor is configured to: when it is determined that the connection between the VIM and the VNFM is not established, obtain the connection information of the VIM corresponding to the identifier of the VIM according to the identifier of the VIM.
  • the processor is specifically configured to determine whether a connection has been established between the VIM and the VNFM according to a preset resource mapping table.
  • the processor is further configured to send a resource reservation request message to the VIM before acquiring the connection information of the VIM corresponding to the identifier of the VIM, after acquiring the identifier of the VIM, according to the identifier of the VIM,
  • the resource reservation request message carries an identifier of the VNFM, where the identifier of the VNFM is used to determine whether the VIM has established a connection with the VNFM.
  • the processor is further configured to receive a resource reservation response message sent by the VIM,
  • the resource reservation response message carries a connection indication identifier, where the connection indication identifier indicates whether the VIM has established a connection with the VNFM;
  • the processor is specifically configured to determine, according to the connection indication identifier, whether a connection has been established between the VIM and the VNFM.
  • the processor is further configured to: after obtaining the identifier of the VIM, send the resource quota information configured by the management node for the VIM, and the resource quota information is used to indicate that the VIM is allowed to be the Resource quota allocated by VNFM;
  • the notification message sent by the processor further carries the resource quota information acquired by the acquiring unit.
  • the present invention provides a communication system, including:
  • the apparatus according to any one of the seventh aspect or the seventh aspect, the apparatus of any one of the eighth aspect or the eighth aspect, and the ninth aspect or the ninth aspect The device of any of the implementations.
  • the present invention provides a method, an apparatus, and a system for establishing a connection between a VNFM and a VIM.
  • the method may include: the VNFM receiving management node sends a notification message, where the notification message carries the identifier of the VIM and the connection information of the VIM, when the VNFM is not When the connection with the VIM is established, the VNFM saves the identifier of the VIM and the connection information of the VIM, and sends a request message to the VIM, where the request message carries the identifier of the VNFM and the connection information of the VNFM, where the VNFM The connection information to the VNFM is used to establish a connection with the VNFM.
  • the VNFM can automatically protect the VIM when it is determined that the connection with the VIM is not established.
  • the connection information of the VNFM and the connection information of the VNFM are carried in the request message and sent to the VIM, so that the VIM can automatically save the identifier of the VNFM and the connection information of the VNFM to complete
  • the establishment of the connection between the VNFM and the VIM improves the efficiency of establishing a connection between the VIM and the VNFM, thereby improving the efficiency of resource allocation of the VNF.
  • FIG. 1 is an architectural diagram of an existing NFV system
  • FIG. 2 is a flowchart 1 of a method for establishing a connection between a VNFM and a VIM according to an embodiment of the present invention
  • FIG. 3 is a second flowchart of a method for establishing a connection between a VNFM and a VIM according to an embodiment of the present invention
  • FIG. 4 is a flowchart 3 of a method for establishing a connection between a VNFM and a VIM according to an embodiment of the present invention
  • FIG. 5 is an interaction diagram 1 of a method for establishing a connection between a VNFM and a VIM according to an embodiment of the present invention
  • FIG. 6 is an interaction diagram 2 of a method for establishing a connection between a VNFM and a VIM according to an embodiment of the present invention
  • FIG. 7 is an interaction diagram 3 of a method for establishing a connection between a VNFM and a VIM according to an embodiment of the present invention
  • FIG. 8 is an interaction diagram 4 of a method for establishing a connection between a VNFM and a VIM according to an embodiment of the present invention
  • FIG. 9 is a schematic structural diagram of a device according to an embodiment of the present disclosure.
  • FIG. 10 is a schematic structural diagram of a device according to an embodiment of the present disclosure.
  • FIG. 11 is a schematic structural diagram of an apparatus according to an embodiment of the present disclosure.
  • FIG. 12 is a schematic structural diagram of a device according to an embodiment of the present disclosure.
  • FIG. 13 is a schematic structural diagram of a device according to an embodiment of the present disclosure.
  • FIG. 14 is a schematic structural diagram of hardware of an apparatus according to an embodiment of the present disclosure.
  • FIG. 15 is a schematic structural diagram of hardware of an apparatus according to an embodiment of the present disclosure.
  • FIG. 16 is a schematic structural diagram of hardware of a device according to an embodiment of the present disclosure.
  • FIG. 17 is a block diagram of a communication system according to an embodiment of the present invention.
  • the NFV system includes: NFVO, VNFM, VIM, operation support system (English: operations support system, abbreviation: OSS) or business support system (English: business support system, abbreviation: BSS), network element management node (English: element manager , abbreviations: EM), VNF nodes, virtual network function infrastructure (English: network function virtualization infrastructure, abbreviation: NFVI) and other functional nodes, where OSS/BSS, or OSS/BSS user interface can be called network management Node (English: network manager, abbreviation: NM).
  • NFVO In the NFV system, NFVO, VNFM and VIM form the NFV management and orchestration (NFV-MANO) domain. Among them, NFVO can also be called network function virtualization orchestrator.
  • NFVO can operate, manage and coordinate VIM in NFV system, and NFVO is connected with all VIM and VNFM in NFV system.
  • VIM is the management portal for infrastructure and resources. It provides resource management for VNF, including configuration maintenance, resource monitoring, alarming, and performance management for infrastructure-related hardware and virtualization resources for VNF.
  • VNFM is responsible for VNF lifecycle management, such as instantiation, expansion/contraction, query, update, and termination.
  • the connection between the VNFM and the VIM needs to be manually established.
  • a VIM is required to allocate resources for a certain VNF managed by a VNFM
  • the connection between the VNFM and the VIM is not established yet.
  • the connection between the VNFM and the VIM needs to be manually established.
  • the connection between the VNFM and the VIM is inefficient. Therefore, it will affect the efficiency of resource allocation of VNF.
  • the method and device for establishing a connection between a VNFM and a VIM provided by the embodiment of the present invention can automatically establish a connection between the VNFM and the VIM, thereby improving the efficiency of resource allocation of the VNF.
  • any one of the foregoing NFV systems may be implemented by one physical device, or may be implemented by multiple physical devices, and multiple functional nodes in the NFV system may be different.
  • the physical device implementations may also be implemented by the same physical device. It can be understood that any functional node in the NFV system may be a logical functional module in the physical device, or may be a logical functional module composed of multiple physical devices.
  • each step in the method provided by the embodiment of the present invention may be performed by an entity device, and each step in the method provided by the embodiment of the present invention may be performed by multiple entity devices. This invention is not limited.
  • the logical function module ie, the function node in the NFV system
  • the logic function module depends on the hardware resources on the physical device in which it is implemented.
  • the NFV system can be applied to a long term evolution (English: long term evolution, abbreviation: LTE) communication system, and can also be applied to an LTE evolved communication system, such as LTE-A (English full name: long term In the evolution advanced system, it can also be applied to third-generation mobile communication (English: 3rd-Generation, 3G) system such as WCDMA, and the present invention is not limited.
  • LTE long term evolution
  • LTE-A English full name: long term In the evolution advanced system
  • 3G Third-generation mobile communication
  • WCDMA Wideband Code Division Multiple Access
  • An embodiment of the present invention provides a method for establishing a connection between a VNFM and a VIM. As shown in FIG. 2, the method may include:
  • the VNFM receives a notification message sent by the management node, where the notification message carries The identifier of the VIM and the connection information of the VIM, the identifier of the VIM and the connection information of the VIM are used by the VNFM to establish a connection with the VIM.
  • the management node may be an NFVO in the NFV system where the VNFM is located, or may be a functional node capable of managing all VIMs in the NFV system.
  • the management node stores related information of each VIM in the NFV system, including an identifier of each VIM, connection information of each VIM, and allocation of resources of each VIM, so that the management node can The related information determines the VIM that can allocate resources for the VNF of the resource to be allocated.
  • the management node may determine a VIM according to the resource requirement of the VNF, and carry the identifier of the VIM in the notification message, and send the VNFM to the VNF to manage the VNF.
  • the VNFM is notified that the VIM can be requested to allocate resources for the VNF.
  • the management node sends the connection information of the VIM to the VNFM in the notification message. After receiving the notification message, the VNFM does not establish a connection with the VIM.
  • the VNFM can establish a connection with the VIM according to the identifier of the VIM and the connection information of the VIM.
  • connection information of the VIM may include at least an IP address of the VIM.
  • connection information of the VIM may further include any one of a uniform resource locator (English: universal resource locator, abbreviation: URL), a user name, an authentication password, and the like.
  • a uniform resource locator English: universal resource locator, abbreviation: URL
  • the VNFM When the VNFM does not establish a connection with the VIM, the VNFM saves the identifier of the VIM and the connection information of the VIM.
  • the VNFM may first determine whether it has established a connection with the VIM. Since the information about the VIM that has established a connection with the VNFM is stored in the VNFM, for example, the identifier of the VIM that has established a connection with the VNFM, etc., the VNFM can determine whether or not the VIM identifier is saved by the VNFM. Determine if a connection to the VIM has been established.
  • the VNFM determines that the method for establishing a connection with the VIM may include:
  • the VNFM can determine that the VIM's identity and at least one of its holds have been associated with Whether the VNFM establishes the identity of the connected VIM is the same, that is, the VNFM compares the VIM identifier with the identifier of at least one VIM that has been established with the VNFM.
  • the VNFM may determine that a connection with the VIM is not established.
  • the VNFM may determine that a connection with the VIM has been established.
  • the VNFM determines that the connection with the VIM is not established, the VNFM establishes a connection with the VIM, that is, the VNFM saves the identifier of the VIM and the connection information of the VIM.
  • the VNFM can save the VIM connection information to a specific unit within the VNFM.
  • the specific unit may be a transmission unit dedicated to transmitting data in the VNFM; or a virtual communication interface newly created in the VNFM, the communication interface may be the VNFM through a preset algorithm, according to the connection information of the VIM Created, when the VNFM needs to send data to the VIM, the VNFM can transmit through the communication interface.
  • the identifier of the VIM can uniquely identify the VIM. After the VNFM saves the identifier of the VIM, the VNFM can identify the VIM by using the identifier of the VIM during subsequent communication with the VIM.
  • the VNFM sends a request message to the VIM, where the request message carries the identifier of the VNFM and the connection information of the VNFM, and the identifier of the VNFM and the connection information of the VNFM are used by the VIM to establish a connection with the VNFM.
  • the VNFM establishes a connection with the VIM, that is, the VNFM saves the VIM identifier and the VIM connection information to the VNFM; the VIM establishes a connection with the VNFM, that is, the VIM identifies the VNFM.
  • the connection information of the VNFM is saved to the VIM; the connection between the VNFM and the VIM can be understood as: the VIM saves the VNFM identifier and the VNFM connection information to the VIM.
  • the VNFM saves the VIM identity and the VIM connection information to the VNFM.
  • the VNFM after the VNFM obtains the identifier of the VIM and the connection information of the VIM through the management node, the VNFM needs to send the identifier of the VNFM and the connection information of the VNFM to the VIM, and The VIM is saved, and the connection between the VNFM and the VIM can be successfully established.
  • the VNFM after receiving the notification message sent by the management node, the VNFM needs to send a request message to the VIM according to the notification message, to request the VIM to allocate resources for the VNF of the resource to be allocated.
  • the VNFM may carry the identifier of the VNFM and the connection information of the VNFM in the request message, and send the message to the VIM, so that the VIM can save the identifier of the VNFM and the connection information of the VNFM after receiving the request message. To complete the establishment of the connection between the VIM and the VNFM.
  • the VNFM when the VNFM sends a request message to the VIM, although the connection between the VNFM and the VIM has not been successfully established, the connection information of the VIM has been saved in the VNFM, that is, the VNFM has determined the VIM.
  • the IP address and associated transmission information therefore, the VNFM can send a request message to the VIM according to the connection information of the VIM, so that the VIM can receive and identify the request message.
  • the connection information of the VNFM may include at least an IP address of the VNFM.
  • connection information of the VNFM may further include any one of a URL, a user name, an authentication password, and the like of the VNFM.
  • An embodiment of the present invention provides a method for establishing a connection between a VNFM and a VIM.
  • the method may include: the VNFM receiving management node sends a notification message, where the notification message carries the identifier of the VIM and the connection information of the VIM, when the VNFM is not established.
  • the VNFM saves the identifier of the VIM and the connection information of the VIM, and sends a request message to the VIM, where the request message carries the identifier of the VNFM and the connection information of the VNFM, where the VNFM is identified and
  • the connection information of the VNFM is used by the VIM to establish a connection with the VNFM.
  • the VNFM can automatically protect the VIM identifier and the VIM connection information when the connection with the VIM is not established, and carry the VNFM identifier and the VNFM connection information in the
  • the request message is sent to the VIM to enable the VIM to be self-
  • the VNFM identifier and the connection information of the VNFM are saved to complete the establishment of the connection between the VNFM and the VIM, thereby improving the efficiency of establishing a connection between the VIM and the VNFM, thereby improving the efficiency of resource allocation of the VNF. .
  • An embodiment of the present invention provides a method for establishing a connection between a VNFM and a VIM. As shown in FIG. 3, the method may include:
  • the VIM receives the request message sent by the VNFM, where the request message carries the identifier of the VNFM and the connection information of the VNFM, and the identifier of the VNFM and the connection information of the VNFM are used by the VIM to establish a connection with the VNFM.
  • the connection information of the VNFM may include at least an IP address of the VNFM.
  • connection information of the VNFM may further include any one of a URL, a user name, an authentication password, and the like of the VNFM.
  • the VIM When the VIM does not establish a connection with the VNFM, the VIM saves the identifier of the VNFM and the connection information of the VNFM.
  • the VIM may first determine whether it establishes a connection with the VNFM. Since the information about the VNFM that has been connected to the VIM is stored in the VIM, for example, the VNFM that has established a connection with the VIM, the VIM can determine whether the VNFM is saved by determining whether it holds the VNFM identifier. A connection to the VNFM is established.
  • the VIM determines that the method for establishing a connection with the VNFM is not established.
  • the VNFM determines that the method for establishing a connection with the VIM is not established.
  • the VNFM determines its method of establishing a connection with the VIM and will not be described here.
  • the VIM when the VIM does not establish a connection with the VNFM, the VIM needs to establish a connection with the VNFM, that is, it can be understood that the VIM saves the identifier of the VNFM and the connection information of the VNFM.
  • the VIM can save the VNFM connection information to a specific unit within the VIM.
  • the specific unit may be a transmission unit dedicated to transmitting data in the VIM; or a virtual communication interface newly created in the VIM, the communication interface may be the VIM through a preset algorithm, according to the VNFM Connection information
  • the VIM can be sent through the communication interface when the VIM needs to send data to the VNFM.
  • the identifier of the VNFM can uniquely identify the VNFM.
  • the VIM can identify the VNFM through the identifier of the VNFM when it needs to communicate with the VNFM.
  • the VIM can receive the request message sent by the VNFM, indicating that the VNFM has saved the identifier of the VIM and the connection information of the VIM. Therefore, when the VIM saves the identifier of the VNFM carried in the request message, After the connection information of the VNFM, the connection between the VIM and the VNFM is established successfully.
  • An embodiment of the present invention provides a method for establishing a connection between a VNFM and a VIM.
  • the method may include the VIM receiving a request message sent by the VNFM, where the request message carries the identifier of the VNFM and the connection information of the VNFM, when the VIM is not established.
  • the VIM saves the identity of the VNFM and the connection information of the VNFM.
  • the VIM can automatically save the identifier of the VNFM and the connection information of the VNFM carried in the request message after receiving the request message sent by the VNFM, so as to complete the establishment of the connection between the VIM and the VNFM. No need to manually establish, which greatly improves the efficiency of establishing a connection between VIM and VNFM, thereby improving the efficiency of resource allocation of VNF.
  • An embodiment of the present invention provides a method for establishing a connection between a VNFM and a VIM. As shown in FIG. 4, the method may include:
  • the management node acquires an identifier of the VIM, where the VIM is a VIM that meets resource requirement information of the VNF of the resource to be allocated.
  • the management node may be an NFVO in the NFV system where the VNF of the resource to be allocated is located, or a function node capable of managing all VIMs in the NFV system.
  • a resource mapping table is set, and the information about each VIM in the NFV system is recorded in the resource mapping table, including the identifier of each VIM, the connection information, the managed resources, and the allocation of resources.
  • the central processing unit (English: central processing unit, abbreviation: CPU) that each VIM is responsible for managing.
  • the resource requirement information of the VNF may be an identifier of a virtual network function descriptor (VNFD) of the VNF, and an identifier of a configuration style (English: deployment flavor).
  • the management node may determine the resources required by the VNF according to the VNFD indicated by the identifier of the VNFD of the VNF. For example, the number of CPUs required by the VNF, the type of the CPU, the amount of the memory, and the like may be included.
  • the management node determines the resource requirement information VIM of the VNF that can satisfy the resource to be allocated by querying the resource mapping table, the VIM identifier can be obtained in the resource mapping table, and the VIM is directly determined to be allocated by the VIM to the VNF. Resources.
  • the management node may first instruct the VIM to perform resource reservation, that is, send a resource reservation request message to the VIM, where the resource reservation information carries the resource requirement information, if the VIM passes the The VIM sends a resource reservation response message to the management node, and when the management node receives the resource reservation response message, it can be determined that the VIM allocates resources for the VNF.
  • the management node acquires connection information of the VIM corresponding to the identifier of the VIM according to the identifier of the VIM.
  • the management node may directly search for the connection information of the VIM corresponding to the identifier of the VIM in the resource mapping table.
  • the management node sends a notification message to the VNFM, where the notification message carries the identifier of the VIM and the connection information of the VIM, and the identifier of the VIM and the connection information of the VIM are used by the VNFM to establish a connection with the VIM.
  • the management node After the management node determines the identifier of the VIM that can allocate the resource to the VNF, the management node carries the identifier of the VIM in the notification message and sends it to the VNFM that manages the VNF to notify the VNFM that the VNFM can The VIM sends a request message to request the VIM to allocate resources for the VNF.
  • the management node may acquire the connection information of the VIM before sending the notification message to the VNFM, and the connection information may be obtained.
  • the identifier of the VIM and the connection information of the VIM are carried in the notification message and sent to the VNFM, so that after receiving the notification message, the VNFM can be carried according to the notification message without establishing a connection with the VIM.
  • the identifier of the VIM and the connection information of the VIM establish a connection with the VIM to ensure that the VNFM can send a request message to the VIM.
  • the embodiment of the present invention provides a method for establishing a connection between a VNFM and a VIM, which may include the management node acquiring the identifier of the VIM and the connection information of the VIM corresponding to the identifier of the VIM, and sending a notification message to the VNFM, where the The VIM is a VIM that meets the resource requirement information of the VNF of the resource to be allocated.
  • the notification message carries the identifier of the VIM and the connection information of the VIM, and the identifier of the VIM and the connection information of the VIM are used by the VNFM to establish the VIM with the VIM. connection.
  • the management node can carry the identifier of the VIM and the connection information of the VIM in the notification message, and send the information to the VNFM, so that the VNFM can automatically save the identifier of the VIM and the connection information of the VIM to automatically establish the VIM with the VIM.
  • the connection improves the efficiency of establishing a connection between the VIM and the VNFM, thereby improving the efficiency of resource allocation of the VNF.
  • the embodiment of the present invention provides a method for establishing a connection between a VNFM and a VIM, which can be applied to a scenario in which a resource needs to be allocated for a VNF.
  • the method may include:
  • the management node acquires an identifier of the VIM, where the VIM is a VIM that meets resource requirement information of the VNF of the resource to be allocated.
  • the VNF of the resource to be allocated may be a VNF to be instantiated or a VNF to be extended.
  • the grant lifecycle management request message includes resource requirement information such as an identifier of the VNFD of the VNF and an identifier of the deployment style, to instruct the management node to instantiate or expand the VNF according to the resource requirement information. Therefore, the management node may determine, according to the saved resource mapping table and the resource requirement information of the VNF, a VIM that satisfies the resource requirement information for the VNF, that is, a VIM that can allocate resources for the VNF.
  • each VIM may establish a connection with the VNFM that manages the VNF, or may not establish a connection with the VNFM, or the at least one VIM includes the VNFM.
  • a VIM is established between the connection and a VIM that is not connected to the VNFM.
  • the VIM is one of the at least one VIM, and no connection is established between the VIM and the VNFM.
  • the management node acquires connection information of the VIM corresponding to the identifier of the VIM according to the identifier of the VIM.
  • the management node sends a notification message to the VNFM, where the notification message carries the identifier of the VIM and the connection information of the VIM.
  • the VNFM After the VNFM receives the notification message, when the VNFM does not establish a connection with the VIM, the VNFM saves the identifier of the VIM and the connection information of the VIM.
  • the VNFM sends a request message to the VIM, where the request message carries the identifier of the VNFM and the connection information of the VNFM.
  • the request message is used to indicate that the VIM allocates resources for the VNF. Therefore, the request message also carries resource-related information, such as configuration parameters of a virtual machine (virtual machine, abbreviated: VM), network connection information, and the like.
  • VM virtual machine
  • the VIM After the VIM receives the request message, when the VIM does not establish a connection with the VNFM, the VIM saves the identifier of the VNFM and the connection information of the VNFM.
  • the request message is used to indicate that the VIM is The VNF allocates resources. Therefore, after receiving the request message, the VIM needs to start the related VM according to the request message indication, perform parameter configuration on the activated VM, and perform corresponding network connection on the activated VM. To complete the resource allocation operation for the VNF.
  • the VIM sends a response message to the VNFM.
  • the VIM After the VIM successfully allocates resources for the VNF, it sends a response message to the VNFM to notify the VNFM that resources have been allocated for the VNF.
  • the VNFM can continue to perform the subsequent operations of instantiating the VNF or extending the VNF, for example, including configuring the deployment parameters of the VNF, and notifying the EM that the instantiation of the VNF has been completed or the extension of the VNF has been completed. Then, the EM configures the application parameters of the VNF.
  • the VNFM can continue to perform the subsequent operations of instantiating the VNF or extending the VNF, for example, including configuring the deployment parameters of the VNF, and notifying the EM that the instantiation of the VNF has been completed or the extension of the VNF has been completed.
  • the EM configures the application parameters of the VNF.
  • the VNFM can determine that the VIM has saved the identifier of the VNFM and the connection information of the VNFM, thereby determining the VIM and the The connection between the VNFMs has been established successfully.
  • An embodiment of the present invention provides a method for establishing a connection between a VNFM and a VIM. As shown in FIG. 6, the method may include:
  • the management node acquires an identifier of the VIM, where the VIM is a VIM that meets resource requirement information of the VNF of the resource to be allocated.
  • the management node determines whether a connection is established between the VIM and the VNFM.
  • the management node may directly determine, according to the resource mapping table, whether a connection has been established between the VIM and the VNFM.
  • the management node may determine which VNFMs in the NFV system are associated with the VIM by querying the resource mapping table.
  • a connection is established between the management node to determine whether the VNFM is a VNFM that has established a connection with the VIM by querying the resource mapping table.
  • the connection between the VNFM and the VIM in the NFV system is also recorded in the resource mapping table, that is, the management node can determine which VIMs in the NFV system are established with the VNFM by querying the resource mapping table.
  • the connection is made so that the management node can determine whether the VIM is a VNFM that has established a connection with the VNFM by querying the resource mapping table.
  • the management node determines that the connection between the VIM and the VNFM is not established, the management node acquires the connection information of the VIM corresponding to the identifier of the VIM according to the identifier of the VIM.
  • the management node sends a notification message to the VNFM, where the notification message carries the identifier of the VIM and the connection information of the VIM.
  • the management node determines that the connection between the VIM and the VNFM is established, the management node does not need to obtain the connection information of the VIM, and only the identifier of the VIM is carried in the notification message and sent to the VNFM.
  • the management node determines that the connection between the VIM and the VNFM is not established, the management node needs to obtain the connection information of the VIM, and the connection information of the VIM and the VIM.
  • the identifier is carried in the notification message and sent to the VNFM, so that the VNFM establishes a connection with the VIM according to the identifier of the VIM and the connection information of the VIM.
  • the VNFM After the VNFM receives the notification message, when the VNFM does not establish a connection with the VIM, the VNFM saves the identifier of the VIM and the connection information of the VIM.
  • the VNFM sends a request message to the VIM, where the request message carries the identifier of the VNFM and the connection information of the VNFM.
  • the VIM After the VIM receives the request message, when the VIM does not establish a connection with the VNFM, the VIM saves the identifier of the VNFM and the connection information of the VNFM.
  • the VIM sends a response message to the VNFM.
  • the implementation manners of the foregoing S505-S508 are the same as the implementation manners of the S404-S407 in the embodiment shown in FIG. 5 .
  • the implementation manners of the foregoing S505-S508 are the same as the implementation manners of the S404-S407 in the embodiment shown in FIG. 5 .
  • the related description in the embodiment shown in FIG. 3 and details are not described herein again.
  • the method for establishing a connection between the VNFM and the VIM may further include:
  • the management node sends a resource reservation request message to the VIM.
  • the resource reservation request message carries the identifier of the VNFM, and the identifier of the VNFM is used by the VIM to determine whether a connection with the VNFM has been established.
  • the resource reservation request message further carries the resource requirement information, where the reservation request message is used to indicate whether the VIM determines whether the resource requirement information is met.
  • the VIM After receiving the resource reservation request message, the VIM determines whether the VIM satisfies the resource requirement information.
  • the specific manner for the first VIM to determine whether the resource requirement information is met according to the resource reservation request message may be referred to the related description in the prior art, and details are not described herein again.
  • the VIM determines, according to the identifier of the VNFM, whether a connection with the VNFM has been established.
  • the VIM when the VIM determines that it meets the When the source information is required, the VIM may further determine, according to the identifier of the VNFM carried in the resource reservation request message, whether the VIM has established a connection with the VNFM.
  • the VIM determines, according to the identifier of the VNFM, whether the connection with the VNFM has been established. For details, refer to the related description in S202 in the embodiment shown in FIG. 3, and details are not described herein again.
  • the VIM may form a connection indication identifier for indicating whether the VIM has established a connection with the VNFM. For example, when the connection indication flag is 1, it indicates that the VIM has established a connection with the VNFM; when the connection indication flag is 0, it indicates that the VIM does not establish a connection with the VNFM.
  • the VIM sends a resource reservation response message to the management node, where the resource reservation response message carries a connection indication identifier.
  • the VIM determines that the resource requirement information is met, the VIM sends a resource reservation response message to the management node to notify the management node that the VIM can allocate resources for the VNF. . That is, the management node may send a resource reservation response message according to the VIM, and further determine that the VIM is a VIM that satisfies the resource requirement information.
  • the above S502 may be:
  • the management node determines, according to the connection indication identifier, whether a connection is established between the VIM and the VNFM.
  • the management node may further obtain the resource quota information of the VIM, where the resource quota information is used to indicate that the VIM is allowed to be the Resource quota allocated by VNFM (English: quota).
  • the resource quota information may be a specific percentage, for example, 30%, then the resource quota information may indicate that the resource quota allocated by the VIM for the VNFM is 30% of the total resource of the VIM.
  • the resource quota information may also be a quota of a specific type of resource, for example, 20% of the computing resource, then the resource quota information may indicate that the maximum computing resource amount allowed by the VIM to be allocated to the VNFM is 20% of the total computing resources of the VIM.
  • the embodiments of the present invention are not limited.
  • the resource quota information may be configured for the VIM for the VIMM, that is, the resource quota information is used to indicate the resource quota that the VIM is allowed to allocate for a VNFM.
  • the resource quota information may also be configured for the VIM by the management node, and is used to indicate a resource quota that is allowed to be allocated by the VIM to any one of the VNFMs.
  • the resource quota may be the maximum amount of resources that the VIM is allowed to allocate for the VNFM.
  • the resource quota information is 2.
  • the VNFM allocates resources to the requesting VIM, the VIM is allowed to allocate the VNFM at most. 2 CPUs.
  • the resource quota may also refer to the maximum amount of resources that the VIM is allowed to allocate for the VNFM in total. For example, if the resource quota information is 6, when the VNFM requests the VIM to allocate 4 CPUs for the VNF1 managed by it, 4 ⁇ 6 Therefore, the VIM allows the 4 CPUs to be allocated for the VNFM. When the VNFM requests the VIM to allocate 3 CPUs for the VNF2 managed by it, the VNFM requests the VIM to allocate 7 CPUs to it. Since 7>6, the VIM refuses to be the VNFM again. Allocate 3 CPUs.
  • the VIM allocates resources for the VNF managed by a certain VNFM, that is, the VIM allocates resources for the VNFM.
  • the management node may directly send the resource quota information configured for the VIM to the VIM.
  • the resource allocation information is the resource quota information of the VIM for a certain VNFM
  • the management node may also allocate the resource quota information to the VNFM, and the VNFM forwards the VMN to the VIM.
  • the resource allocation information is the resource quota information of the VIM for a certain VNFM
  • the VNFM and the VIM are provided between the VNFM and the VIM provided by the embodiment of the present invention.
  • the method of connection also includes:
  • the management node acquires resource quota information configured by the management node for the VIM.
  • S513 may be performed before S503 is executed, or S513 may be executed after S503 is executed.
  • the foregoing S504 may include:
  • the management node sends a notification message to the VNFM, where the notification message carries the identifier of the VIM, the connection information of the VIM, and the resource quota information.
  • the resource quota information may be forwarded by the VNFM to the VIM.
  • the foregoing S506 may include:
  • the VNFM sends a request message to the VIM, where the request message carries the identifier of the VNFM, the connection information of the VNFM, and the resource quota information.
  • the above S507 may include:
  • the VIM After the VIM receives the request message, when the VIM does not establish a connection with the VNFM, the VIM saves the identifier of the VNFM, the connection information of the VNFM, and the resource quota information.
  • the VIM saves the resource quota information, and when the VIM allocates resources for the VNFM, if the amount of resources requested by the VNFM to the VIM exceeds the resource quota information The resource quota, then the VIM can refuse to allocate resources for the VNFM.
  • resource allocation may be performed for the VNFM in the following manners.
  • VIM1, VIM2, VNFM1, and VNFM2 The following modes are exemplified in the following with VIM1, VIM2, VNFM1, and VNFM2.
  • the VIM1 After receiving the request message of the VNFM1, the VIM1 determines, according to the request message, the resource requested by the VNFM1 to the VIM1, and exceeds the resource quota for the VNFM1.
  • the resource quota refers to the maximum amount of resources that VIM1 is allowed to allocate for VNFM1 in total.
  • the VIM1 sends a notification message to the management node, and notifies the management node that the amount of resources requested by the VNFM1 exceeds the resource quota.
  • VIM1 can notify the management node, the relationship between the amount of resources requested by VNFM1 and the resource quota, the information of the requested excess resource amount, and the like.
  • the needle The resource quota for VNFM1 is 40% of the total resource of VIM1.
  • VNFM1 has requested 20% of VIM1 resources from VIM1 before requesting resource allocation to VIM1. This time, VNFM1 requests VIM1 for 30% of VIM1 resources.
  • VIM1 can notify the management node that the remaining available resources of VNFM1 are 20% of the total resources of VIM1.
  • the total amount of resources of VIM1 is 10 CPUs, and the remaining available resources of VNFM1 are 2 CPUs. .
  • the management node performs judgment or decision according to the saved resource usage information.
  • the resource usage information is used to represent the resource allocation of the VIM1, and is recorded in the resource mapping table saved by the management node.
  • the management node if the management node queries the resource usage information of the VIM1 to determine that the VNFM2 has a small amount of resources used on the VIM1, and the VNFM2 has more remaining resources available on the VIM1, the management node can adjust the VNFM1. And VNFM2 resource quota on VIM1.
  • the management node sends the updated resource quota information for VNFM1 to VIM1.
  • the management node can adjust the resource quota of VNFM1 on VIM1 from 40% of the total amount of resources of VIM1 to 60%, and adjust the resource quota of VNFM2 on VIM1 from 60% of the total amount of resources of VIM1. Up to 40%.
  • the VIM1 allocates resources to the VNFM1 according to the received updated resource quota information, and sends a response message to the VNFM1.
  • VIM1 determines that the request of VNFM1 can be satisfied according to the updated resource quota information, so that VIM1 can allocate resources for VNFM1.
  • the VIM1 receives the request message of the VNFM1, and determines, according to the request message, the resource requested by the VNFM1 to the VIM1, exceeding the resource quota for the VNFM1.
  • the VIM1 sends a notification message to the management node to notify the management node that the amount of resources requested by the VNFM1 exceeds the resource quota.
  • the management node performs judgment or decision according to the saved resource usage information.
  • the management node if the management node queries the resource usage information of VIM1, If the amount of the remaining resources of the VIM1 is small, the management node can query the resource usage information of the other VIMs to determine other VIMs with a large amount of remaining resources, such as VIM2, to allocate resources for the VNFM1.
  • the management node sends the identifier of the VIM2 to the VNFM1.
  • the VNFM1 After receiving the identifier of the VIM2, the VNFM1 sends a request message to the VIM2.
  • VIM2 allocates resources for VNFM1.
  • VIM2 sends a response message to VNFM1.
  • the VIM1 After receiving the request message of the VNFM1, the VIM1 determines, according to the request message, the resource requested by the VNFM1 to the VIM1, and exceeds the resource quota for the VNFM1.
  • the VIM sends a reject message to the VNFM1.
  • the rejection message may carry the relationship between the amount of resources requested by the VNFM1 and the resource quota, the information of the requested excess resource, and the like.
  • the VNFM1 can reduce the VNF of the resource to be allocated according to the reject message, so that the remaining available resources of the VNFM1 on the VIM can satisfy the amount of resources required for the VNF after the shrinking.
  • VNFM1 resends the updated request message to VIM1.
  • the request message carries the updated resource information.
  • the SIM and the VIM1 After receiving the request message, the SIM and the VIM1 allocate resources to the VNFM1 according to the request message.
  • VIM1 sends a response message to VNFM1.
  • An embodiment of the present invention provides a method for establishing a connection between a VNFM and a VIM.
  • the method may include: the VNFM receiving management node sends a notification message, where the notification message carries the identifier of the VIM and the connection information of the VIM, when the VNFM is not established.
  • the VNFM saves the identifier of the VIM and the connection information of the VIM, and sends a request message to the VIM, where the request message carries the identifier of the VNFM and the connection information of the VNFM, where the VNFM is identified and
  • the connection information of the VNFM is used by the VIM to establish a connection with the VNFM.
  • VNFM receives After the notification message, when the connection with the VIM is not established, the identifier of the VIM and the connection information of the VIM are automatically saved, and the identifier of the VNFM and the connection information of the VNFM are carried in the request message and sent to the VIM, so that the VIM can automatically save the identifier of the VNFM and the connection information of the VNFM to complete the establishment of the connection between the VNFM and the VIM, thereby improving the efficiency of establishing a connection between the VIM and the VNFM, thereby improving The efficiency of resource allocation for VNF.
  • an embodiment of the present invention provides an apparatus, which may be an entity of a VNFM as described in the embodiment shown in FIG. 2, or as shown in any of FIG. 5 to FIG.
  • the device may also be a physical device in the NFV system in which a logical function module capable of executing the method flow that the VNFM can execute, the physical device may be independently installed in the physical device of the VNFM, or may be capable of interacting with the VNFM.
  • the apparatus can also be presented in the form of a chip carrying an application capable of implementing a method flow that the VNFM can execute.
  • the device can include:
  • the receiving unit 10 is configured to receive a notification message sent by the management node, where the notification message carries the identifier of the VIM and the connection information of the VIM, and the identifier of the VIM and the connection information of the VIM are used for establishing and speaking the VNFM. VIM connection.
  • the saving unit 11 is configured to save the identifier of the VIM and the connection information of the VIM received by the receiving unit 10 when the VNFM does not establish a connection with the VIM.
  • the sending unit 12 is configured to send a request message to the VIM, where the request message carries the identifier of the VNFM and the connection information of the VNFM, and the identifier of the VNFM and the connection information of the VNFM are used by the VIM Establish a connection with the VNFM.
  • the saving unit 11 is specifically configured to determine whether the identifier of the VIM received by the receiving unit 10 and the identifier of the VIM that is saved by the saving unit 11 and that has established a connection with the VNFM are the same.
  • the VNFM does not establish a connection with the VIM, if the identifier of the VIM and any one of the The VIM that has established a connection with the VNFM has the same identity, and the VNFM has established a connection with the VIM.
  • connection information of the VIM received by the receiving unit 10 includes at least an IP address of the VIM.
  • the connection information of the VNFM sent by the sending unit 12 includes at least an IP address of the VNFM.
  • the notification message received by the receiving unit 10 and the request message sent by the sending unit 12 further carry resource quota information, where the resource quota information is used to indicate that the VIM is allowed to be the VNFM.
  • the assigned resource quota is used to indicate that the VIM is allowed to be the VNFM.
  • An embodiment of the present invention provides a device, which is configured to receive, by a management node, a notification message, where the notification message carries a VIM identifier and connection information of the VIM.
  • the device can save the An identifier of the VIM and the connection information of the VIM, and sending a request message to the VIM, where the request message carries the identifier of the VNFM and the connection information of the VNFM, where the identifier of the VNFM and the connection information of the VNFM are used for the VIM Establish a connection to the VNFM.
  • the device provided by the embodiment of the present invention can automatically protect the identifier of the VIM and the connection information of the VIM when the VNFM determines that the connection with the VIM is not established, and the identifier of the VNFM and the VNFM.
  • the connection information is carried in the request message and sent to the VIM, so that the VIM can automatically save the identifier of the VNFM and the connection information of the VNFM to complete the establishment of the connection between the VNFM and the VIM without manual operation.
  • Established thereby greatly improving the efficiency of establishing a connection between VIM and VNFM, thereby improving the efficiency of resource allocation of VNF.
  • an embodiment of the present invention provides an apparatus, which may be an entity of a VIM as described in the embodiment shown in FIG. 3, or as shown in any of FIG. 5 to FIG.
  • the device may also be a physical device in the NFV system in which a logical function module capable of executing the method flow that the VIM can execute may be performed, and the physical device may be independently installed in the physical device of the VIM, or may be capable of interacting with the VIM.
  • the apparatus can also be presented in the form of a chip carrying an application capable of implementing a method flow that the VNFM can execute.
  • the device can include:
  • the receiving unit 20 is configured to receive a request message sent by the VNFM, where the request message carries the identifier of the VNFM and the connection information of the VNFM, and the identifier of the VNFM and the connection information of the VNFM are used for establishing and connecting the VIM.
  • the connection of the VNFM is configured to receive a request message sent by the VNFM, where the request message carries the identifier of the VNFM and the connection information of the VNFM, and the identifier of the VNFM and the connection information of the VNFM are used for establishing and connecting the VIM. The connection of the VNFM.
  • the saving unit 21 is configured to save the identifier of the VNFM and the connection information of the VNFM received by the receiving unit 20 when the VIM does not establish a connection with the VNFM.
  • the saving unit 21 is configured to determine whether the identifier of the VNFM received by the receiving unit 20 and the identifier of the VNFM that the at least one saved by the saving unit 21 has established with the VIM are the same.
  • the VIM does not establish a connection with the VNFM, if the identifier of the VNFM and any one of the The VNFM that has established a connection with the VIM has the same identity, and the VIM has established a connection with the VNFM.
  • connection information of the VNFM received by the receiving unit 20 includes at least an IP address of the VNFM.
  • the request message received by the receiving unit 20 further includes resource quota information, where the resource quota information is used to indicate a resource quota that is allowed to be allocated by the VIM to the VNFM.
  • the saving unit 21 is specifically configured to save the identifier of the VNFM, the connection information of the VNFM, and the resource quota information.
  • the embodiment of the present invention provides a device, which is capable of receiving a request message sent by a VNFM, where the request message carries the identifier of the VNFM and the connection information of the VNFM.
  • the device can save the device.
  • the apparatus provided by the embodiment of the present invention can automatically save the identifier of the VNFM and the connection information of the VNFM carried in the request message after receiving the request message sent by the VNFM, to complete the VIM and the VNFM.
  • the establishment of the connection between the two thereby improving the efficiency of establishing a connection between the VIM and the VNFM, thereby improving the efficiency of resource allocation of the VNF.
  • an embodiment of the present invention provides a device, which may be the management node as described in the embodiment shown in FIG. 4 or any of the figures shown in FIG. 5 to FIG.
  • the physical device may also be a physical device in the NFV system, which is capable of executing a logical function module of the method flow that the management node can execute, and the physical device may be independently installed in the physical device of the management node, or may be a physical device.
  • the apparatus can also be presented in the form of a chip carrying an application capable of implementing a method flow that the management node can execute.
  • the device can include:
  • the obtaining unit 30 is configured to obtain an identifier of the VIM, where the VIM is a VIM that meets resource requirement information of the VNF of the resource to be allocated.
  • the obtaining unit 30 is further configured to acquire, according to the identifier of the VIM, connection information of the VIM corresponding to the identifier of the VIM.
  • the sending unit 31 is configured to send a notification message to the VNFM, where the notification message carries the identifier of the VIM acquired by the acquiring unit 30 and the connection information of the VIM, the identifier of the VIM, and the connection information of the VIM. Used for the VNFM to establish a connection with the VIM.
  • the apparatus further includes a determining unit 32.
  • the determining unit 32 is configured to determine, before the obtaining unit 30 obtains the connection information of the VIM corresponding to the identifier of the VIM, according to the identifier of the VIM, whether the VIM and the VNFM are establish connection.
  • the obtaining unit 30 is specifically configured to: when the determining unit 32 determines that the connection between the VIM and the VNFM is not established, obtain the VIM corresponding to the identifier of the VIM according to the identifier of the VIM. Connection information.
  • the determining unit 32 is configured to determine whether a connection is established between the VIM and the VNFM according to a preset resource mapping table.
  • the apparatus further includes a receiving unit 33.
  • the sending unit 31 is further configured to: after the acquiring unit 30 acquires the identifier of the VIM, before the acquiring unit 30 acquires the connection information of the VIM corresponding to the identifier of the VIM, according to the identifier of the VIM And sending a resource reservation request message to the VIM, where the resource reservation request message carries the identifier of the VNFM, where the identifier of the VNFM is used to determine whether the VIM has established a connection with the VNFM.
  • the receiving unit 33 is configured to receive a resource reservation response message sent by the VIM, where the resource reservation response message carries a connection indication identifier, where the connection indication identifier indicates whether the VIM has been established with the VNFM connection.
  • the determining unit 32 is specifically configured to determine whether a connection has been established between the VIM and the VNFM according to the connection indication identifier received by the receiving unit 33.
  • the obtaining unit 30 is further configured to: after obtaining the identifier of the VIM, the sending unit 31 obtains resource quota information configured by the management node for the VIM, and the resource quota information, before sending the notification message to the VNFM.
  • the notification message sent by the sending unit 31 further carries the resource quota information acquired by the acquiring unit.
  • the embodiment of the present invention provides a device, which can obtain the VIM identifier and the VIM connection information corresponding to the VIM, and send a notification message to the VNFM, where the VIM is a resource that satisfies the VNF of the resource to be allocated.
  • the VIM of the request information carries the identifier of the VIM and the connection information of the VIM, and the identifier of the VIM and the connection information of the VIM are used by the VNFM to establish a connection with the VIM.
  • the identifier of the VIM and the connection information of the VIM can be carried in the notification message and sent to the VNFM, so that the VNFM can automatically save the identifier of the VIM and the connection information of the VIM to automatically establish
  • the connection with the VIM improves the efficiency of establishing a connection between the VIM and the VNFM, thereby improving the efficiency of resource allocation of the VNF.
  • an embodiment of the present invention provides a device, where the device may be a physical device where the VNFM is located in the foregoing embodiment, or may be a physical device capable of communicating with a physical device where the VNFM is located.
  • the apparatus is capable of executing a method flow that the VNFM can perform.
  • the apparatus can include a processor 40, a memory 41, a communication interface 42, and a system bus 43.
  • the processor 40, the memory 41, and the communication interface 42 are connected by the system bus 43 and complete communication with each other.
  • the processor 40 may be a central processing unit (English: central processing unit, abbreviated as CPU), or an application specific integrated circuit (ASIC), or configured to implement the implementation of the present invention.
  • CPU central processing unit
  • ASIC application specific integrated circuit
  • the memory 41 may include a volatile memory (English: Volatile memory), such as a random access memory (English: random-access memory, abbreviation: RAM); the memory 41 may also include a non-volatile memory (English: Non-volatile memory, such as read-only memory (English: read-only memory, abbreviation: ROM), flash memory (English: flash memory), hard disk (English: hard disk drive, abbreviation: HDD) or solid state drive (English) : solid-state drive, abbreviated: SSD); the memory 41 may also include a combination of the above types of memories.
  • a volatile memory English: Volatile memory
  • RAM random access memory
  • RAM random access memory
  • non-volatile memory such as read-only memory (English: read-only memory, abbreviation: ROM), flash memory (English: flash memory), hard disk (English: hard disk drive, abbreviation: HDD) or solid state drive (English) : solid-state drive, abbreviated: SSD
  • the memory 41 may also include
  • the communication interface 42 is used to interact with other nodes, such as a function node such as a VIM or a management node.
  • the processor 40 and the memory 41 may perform the method flow described in FIG. 2 or any one of FIG. 5 to FIG.
  • the processor 40 is configured to receive, by using the communication interface 42, a notification message sent by the management node, where the notification message carries the identifier of the VIM and the connection information of the VIM, and when the VNFM does not establish a connection with the VIM And storing the connection information of the VIM and the connection information of the VIM, and sending a request message to the VIM by using the communication interface 42, where the request message carries the identifier of the VNFM and the connection information of the VNFM, Wherein the identifier of the VIM and the connection letter of the VIM
  • the VNFM establishes a connection with the VIM, and the identifier of the VNFM and the connection information of the VNFM are used by the VIM to establish a connection with the VNFM.
  • the memory 41 is configured to store a code of the notification message, a code of the identifier of the VIM, a code of the connection information of the VIM, a code of the request message, a code of the identifier of the VNFM, the VNFM Code of connection information, and a software program that controls the processor 40 to perform the above process, such that the processor 40 executes the software program and invokes the code of the notification message, the code of the identifier of the VIM,
  • the code of the connection information of the VIM, the code of the request message, the code of the identifier of the VNFM, and the code of the connection information of the VNFM complete the above process.
  • the processor 40 is specifically configured to determine whether the identifier of the VIM and the identifier of the VIM that is stored by the processor and that is connected to the VNFM are the same.
  • the VNFM does not establish a connection with the VIM, if the identifier of the VIM and any one of the The VIM that has established a connection with the VNFM has the same identity, and the VNFM has established a connection with the VIM.
  • connection information of the VIM received by the processor 40 includes at least an IP address of the VIM.
  • the connection information of the VNFM sent by the processor 40 includes at least an IP address of the VNFM.
  • the notification message and the request message received by the processor 40 further carry resource quota information, where the resource quota information is used to indicate a resource quota that is allowed to be allocated by the VIM to the VNFM.
  • An embodiment of the present invention provides a device, which is configured to receive, by a management node, a notification message, where the notification message carries a VIM identifier and connection information of the VIM.
  • the device can save the The identifier of the VIM and the connection information of the VIM, and sending a request message to the VIM, where the request message carries the identifier of the VNFM and the connection information of the VNFM, where the label of the VNFM
  • the connection information to the VNFM is used to establish a connection with the VNFM.
  • the device provided by the embodiment of the present invention can automatically protect the identifier of the VIM and the connection information of the VIM when the VNFM determines that the connection with the VIM is not established, and the identifier of the VNFM and the VNFM.
  • the connection information is carried in the request message and sent to the VIM, so that the VIM can automatically save the identifier of the VNFM and the connection information of the VNFM to complete the establishment of the connection between the VNFM and the VIM, thereby improving the establishment.
  • the efficiency of the connection between VIM and VNFM which in turn increases the efficiency of resource allocation of the VNF.
  • an embodiment of the present invention provides a device, which may be a physical device where a VIM is located in the foregoing embodiment, or may be a physical device capable of communicating with a physical device where the VIM is located.
  • the apparatus is capable of executing a method flow that the VIM can execute.
  • the apparatus can include a processor 50, a memory 51, a communication interface 52, and a system bus 53.
  • the processor 50, the memory 51, and the communication interface 52 are connected by the system bus 53 and complete communication with each other.
  • the processor 50 can be a CPU or an ASIC, or one or more integrated circuits configured to implement embodiments of the present invention.
  • the memory 51 may include a volatile memory such as a RAM; the memory 51 may also include a non-volatile memory such as a ROM, a flash memory, an HDD or an SSD; the memory 51 may also include a memory of the above kind combination.
  • a volatile memory such as a RAM
  • the memory 51 may also include a non-volatile memory such as a ROM, a flash memory, an HDD or an SSD
  • the memory 51 may also include a memory of the above kind combination.
  • the communication interface 52 is used to interact with other nodes, for example, with a function node such as a VNFM or a management node.
  • a function node such as a VNFM or a management node.
  • the processor 50 and the memory 51 may perform the method flow described in FIG. 3 or any of the figures in FIG. 5 to FIG.
  • the processor 50 is configured to receive, by using the communication interface 52, a request message sent by the VNFM, where the request message carries the identifier of the VNFM and the connection information of the VNFM, when the VIM does not establish a connection with the VNFM.
  • the memory 51 a code for storing the request message, a code of the VNFM identification, a connection information of the VNFM, and a software program for controlling the processor 50 to complete the above process, so that the processor 50 executes the
  • the software program calls the code of the request message, the code of the VNFM identification, and the code of the VNFM connection information to complete the above process.
  • the processor 50 is specifically configured to determine whether the identifier of the VNFM and the identifier of the VNFM that is configured by the processor 50 to establish a connection with the VIM are the same.
  • the VIM does not establish a connection with the VNFM, if the identifier of the VNFM and any one of the The VNFM that has established a connection with the VIM has the same identity, and the VIM has established a connection with the VNFM.
  • connection information of the VNFM received by the processor 50 includes at least an IP address of the VNFM.
  • the request message received by the processor 50 further carries resource quota information, where the resource quota information is used to indicate a resource quota that is allowed to be allocated by the VIM to the VNFM.
  • the processor 50 is specifically configured to save the identifier of the VNFM, the connection information of the VNFM, and the resource quota information.
  • the embodiment of the present invention provides a device, which is capable of receiving a request message sent by a VNFM, where the request message carries the identifier of the VNFM and the connection information of the VNFM.
  • the device can save the device.
  • the device provided by the embodiment of the present invention can automatically save the identifier of the VNFM and the connection information of the VNFM carried in the request message after receiving the request message sent by the VNFM, so as to complete the connection between the VIM and the VNFM.
  • the establishment of the connection thereby improving the efficiency of establishing a connection between VIM and VNFM, thereby improving the efficiency of resource allocation of VNF.
  • the embodiment of the present invention provides a device, which may be the physical device where the management node is located in the foregoing embodiment, or may be A physical device in which the physical device in which the management node is located communicates.
  • the apparatus is capable of executing a method flow that a management node can perform.
  • the apparatus can include a processor 60, a memory 61, a communication interface 62, and a system bus 63.
  • the processor 60, the memory 61, and the communication interface 62 are connected by the system bus 63 and complete communication with each other.
  • the processor 60 can be a CPU or an ASIC, or one or more integrated circuits configured to implement embodiments of the present invention.
  • the memory 61 may include a volatile memory such as a RAM; the memory 61 may also include a non-volatile memory such as a ROM, a flash memory, an HDD or an SSD; the memory 61 may also include a memory of the above kind combination.
  • the communication interface 62 is used to interact with other nodes, for example, with functional nodes such as VNFM and VIM.
  • the processor 60 and the memory 61 may perform the method flow described in any of FIG. 4 to FIG. 8 when the device is in operation, and specifically includes:
  • the processor 60 is configured to acquire the identifier of the VIM, obtain the connection information of the VIM corresponding to the identifier of the VIM, and send a notification message to the VNFM by using the communication interface 60, according to the identifier of the VIM,
  • the notification message carries the identifier of the VIM and the connection information of the VIM that are obtained by the acquiring unit, and the identifier of the VIM and the connection information of the VIM are used by the VNFM to establish a connection with the VIM.
  • the VIM is a VIM that satisfies the resource requirement information of the VNF of the resource to be allocated.
  • the memory 61 is configured to store a code of the identifier of the VIM, a code of the connection information of the VIM, a code of the notification message, a code of the resource requirement information, and control the processor 60 to complete the foregoing process.
  • Software program such that the processor 60 executes the software program and invokes the code of the VIM, the code of the connection information of the VIM, the code of the notification message, and the code of the resource requirement information.
  • the processor 60 is further configured to: before determining, according to the identifier of the VIM, the connection information of the VIM corresponding to the identifier of the VIM, determining whether the VIM and the VNFM are establish connection.
  • the processor 60 is configured to: when it is determined that the connection between the VIM and the VNFM is not established, obtain the connection information of the VIM corresponding to the identifier of the VIM according to the identifier of the VIM.
  • the processor 60 is configured to determine whether a connection is established between the VIM and the VNFM according to a preset resource mapping table.
  • the processor 60 is further configured to: after acquiring the identifier of the VIM, obtain the connection information of the VIM corresponding to the identifier of the VIM according to the identifier of the VIM, and send the resource to the VIM.
  • the request message is reserved, and the resource reservation request message carries the identifier of the VNFM, and the identifier of the VNFM is used to determine whether the VIM has established a connection with the VNFM.
  • the processor 60 is further configured to receive a resource reservation response message sent by the VIM, where the resource reservation response message carries a connection indication identifier, where the connection indication identifier indicates whether the VIM has been established with the VNFM Connection.
  • the processor 60 is specifically configured to determine, according to the connection indication identifier, whether a connection has been established between the VIM and the VNFM.
  • the processor 60 is further configured to: after obtaining the identifier of the VIM, before acquiring the notification message to the VNFM, acquiring resource quota information configured by the management node for the VIM, where the resource quota information is used to indicate permission The resource quota allocated by the VIM for the VNFM.
  • the notification message sent by the processor 60 further carries the resource quota information acquired by the acquiring unit.
  • the embodiment of the present invention provides a device, which can obtain the VIM identifier and the VIM connection information corresponding to the VIM, and send a notification message to the VNFM, where the VIM is a resource that satisfies the VNF of the resource to be allocated.
  • the VIM of the request information carries the identifier of the VIM and the connection information of the VIM, and the identifier of the VIM and the connection information of the VIM are used by the VNFM to establish a connection with the VIM.
  • the identifier of the VIM and the connection information of the VIM can be carried in the notification message and sent to the VNFM, so that the VNFM can automatically save the identifier of the VIM and the connection information of the VIM to automatically establish Connected with the VIM
  • the connection improves the efficiency of establishing a connection between the VIM and the VNFM, thereby improving the efficiency of resource allocation of the VNF.
  • an embodiment of the present invention provides a communication system, which may include the apparatus shown in FIG. 9, the apparatus shown in FIG. 10, and any of FIGS. 11-13.
  • the device shown, and the VNF; alternatively, the communication system can include the device shown in Figure 14, the device shown in Figure 15, the device shown in Figure 16, and the VNF.
  • VNFM both the device shown in FIG. 9 and the device shown in FIG. 14 may be referred to as VNFM; the device shown in FIG. 10 and the device shown in FIG. 15 may be referred to as VIM; FIG. 11 to FIG.
  • VIM the device shown in FIG. 10 and the device shown in FIG. 15
  • the apparatus shown in any of the figures, and the apparatus shown in FIG. 16 may be referred to as a management node.
  • the management node can obtain the identifier of the VIM and the connection information of the VIM corresponding to the identifier of the VIM, and send a notification message to the VNFM, where the notification message carries the identifier of the VIM and the VIM.
  • the connection information, the identifier of the VIM and the connection information of the VIM are used by the VNFM to establish a connection with the VIM; after receiving the notification message, the VNFM saves the identifier of the VIM when the VNFM does not establish a connection with the VIM.
  • connection information of the VIM and sending a request message to the VIM, where the request message carries the identifier of the VNFM and the connection information of the VNFM, and the identifier of the VNFM and the connection information of the VNFM are used for establishing the VIM with the VNFM.
  • the VIM receives the request message, when the VIM does not establish a connection with the VNFM, the VIM saves the identifier of the VNFM and the connection information of the VNFM, where the VNFM is a VNF responsible for managing resources to be allocated, the VIM VIM to meet the resource requirements information of the VNF.
  • the VNFM in the communication system can perform the method for establishing a connection between the VNFM and the VIM as described in any of FIG. 2 or FIG. 5 to FIG.
  • the specific functions of the modules or devices in the VNFM and the flow of the execution method refer to the description in the embodiment shown in FIG. 2 or FIG. 5 to any one of FIG. 8 , and details are not described herein again. .
  • the VIM in the communication system provided by the embodiment of the present invention can perform the method for establishing a connection between the VNFM and the VIM as shown in any one of FIG. 3 or FIG. 5 to FIG. 8 , in the pair of VIMs
  • the specific function of each module or device and the flow of the method for performing the method reference may be made to the description in the embodiment shown in FIG. 3 or FIG. 5 to any one of FIG. 8 , and details are not described herein again.
  • the management node in the communication system provided by the embodiment of the present invention can perform the method for establishing a connection between the VNFM and the VIM as shown in any one of FIG. 4 or FIG. 5 to FIG. 8 , the pair of management nodes
  • the pair of management nodes For the specific functions of the modules or devices and the flow of the execution method, refer to the description in the embodiment shown in any one of FIG. 4 to FIG. 8 , and details are not described herein again.
  • the VNFM when the VNFM receives the notification message sent by the management node, the VNFM can automatically ensure the connection between the VIM and the VIM when the VNFM determines that the connection with the VIM is not established, and The identifier of the VNFM and the connection information of the VNFM are sent to the VIM in the request message, so that the VIM can automatically save the identifier of the VNFM and the connection information of the VNFM when determining that the connection with the VNFM is not established.
  • the establishment of the connection between the VNFM and the VIM is completed, thereby improving the efficiency of establishing a connection between the VIM and the VNFM, thereby improving the efficiency of resource allocation of the VNF.
  • the disclosed system, apparatus, and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the modules or units is only a logical function division.
  • there may be another division manner for example, multiple units or components may be used. Combine or can be integrated into another system, or some features can be ignored Slightly, or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
  • the technical solution of the present invention which is essential or contributes to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium.
  • a number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read only memory (English full name: Read-Only Memory, English abbreviation: ROM), a random access memory (English full name: Random Access Memory, English abbreviation: RAM), magnetic A variety of media that can store program code, such as a disc or a disc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Multimedia (AREA)

Abstract

The present invention relates to the technical field of communications. Provided in embodiments of the present invention are a method, device and system for establishing a connection between VNFM and VIM, capable of automatically establishing the connection between the VNFM and the VIM, thus increasing a resource allocation efficiency of resource VNF. The method comprises: receiving, by VNFM, a notification message transmitted by a management node, the notification message carrying a VIM identifier and connection information of the VIM; and when the VNFM does not connect with the VIM, storing, by the VNFM, the VIM identifier and the connection information of the VIM, and transmitting a request message to the VIM, wherein the request message carries the VNFM identifier and the connection information of the VNFM, and the VNFM identifier and the connection information of the VNFM are used by the VIM to establish a connection with the VNFM. The method is used in an NFV system.

Description

建立VNFM与VIM之间的连接的方法、装置及系统Method, device and system for establishing connection between VNFM and VIM 技术领域Technical field
本发明涉及通信技术领域,尤其涉及建立VNFM与VIM之间的连接的方法、装置及系统。The present invention relates to the field of communications technologies, and in particular, to a method, apparatus, and system for establishing a connection between a VNFM and a VIM.
背景技术Background technique
随着虚拟化技术的飞速发展,在通用的物理设备上,实现网络中专用的网元设备的功能的网络功能虚拟化(英文:network function virtualization,缩写:NFV)系统逐渐受到人们的重视。With the rapid development of virtualization technology, the network function virtualization (English: network function virtualization, NFV) system, which realizes the functions of dedicated network element devices in the network, has gradually received attention.
在NFV系统中存在网络功能虚拟化调度节点(英文:network function virtualization orchestrator,缩写:NFVO)、虚拟机基础设施管理节点(英文:virtualized infrastructure manager,缩写:VIM)、虚拟网络功能管理节点(英文:virtualized network function manager,VNFM)、以及虚拟网络功能(英文:virtualized network function,缩写:VNF)等功能节点。其中,VIM负责管理VNF所需的资源,VNFM负责管理VNF,NFVO负责对所有的VIM所管理的资源进行调度。实现一个VNF,首先需要为该VNF分配资源,即由NFVO通知管理该VNF的VNFM,由该VNFM向NFVO指定的VIM发送请求消息,以请求该VIM为该VNF分配资源。为保证该VNFM与该VIM之间能够通信,网络维护人员需提前将该VNFM的连接信息保存在该VIM中,并将该VIM的连接信息保存在该VNFM中,以手动的方式建立该VNFM和该VIM之间的连接。In the NFV system, there is a network function virtualization scheduling node (English: network function virtualization orchestrator, abbreviation: NFVO), virtual machine infrastructure management node (English: virtualized infrastructure manager, abbreviation: VIM), virtual network function management node (English: Virtualized network function manager (VNFM), and virtual network function (English: virtualized network function, abbreviated: VNF) and other functional nodes. Among them, VIM is responsible for managing the resources required by VNF, VNFM is responsible for managing VNF, and NFVO is responsible for scheduling all resources managed by VIM. To implement a VNF, it is first necessary to allocate resources for the VNF, that is, the NFVO notifies the VNFM that manages the VNF, and the VNFM sends a request message to the VIM specified by the NFVO to request the VIM to allocate resources for the VNF. To ensure communication between the VNFM and the VIM, the network maintenance personnel need to save the connection information of the VNFM in the VIM in advance, and save the connection information of the VIM in the VNFM, and manually establish the VNFM and the VNFM. The connection between the VIMs.
由于在网络运营的过程中,NFV系统中的VIM和VNF会根据网络运营的需要而改变,因此,当NFVO通知某个VNFM请求某个VIM为VNF分配资源时,该VNFM可能与该VIM之间并没有建立连接。若按照上述方法,以手动的方式建立该VNFM和该VIM之间的连接,则会由于建立连接的效率较低,而影响VNF的资源分配的效率。 Since the VIM and VNF in the NFV system change according to the needs of the network operation during the network operation, when the NFVO notifies a VNFM to request a VIM to allocate resources for the VNF, the VNFM may be between the VIM and the VIM. There is no connection established. If the connection between the VNFM and the VIM is established manually according to the above method, the efficiency of establishing a connection is low, and the efficiency of resource allocation of the VNF is affected.
发明内容Summary of the invention
本发明提供建立VNFM与VIM之间的连接的方法、装置及系统,能够自动建立VNFM与VIM之间的连接,从而提高资源VNF的资源分配的效率。The invention provides a method, device and system for establishing a connection between a VNFM and a VIM, which can automatically establish a connection between the VNFM and the VIM, thereby improving the efficiency of resource allocation of the resource VNF.
为达到上述目的,本发明采用如下技术方案:In order to achieve the above object, the present invention adopts the following technical solutions:
第一方面,本发明提供一种建立VNFM与VIM之间的连接的方法,包括:In a first aspect, the present invention provides a method of establishing a connection between a VNFM and a VIM, including:
VNFM接收管理节点发送的通知消息,所述通知消息中携带VIM的标识和所述VIM的连接信息,所述VIM的标识和所述VIM的连接信息用于所述VNFM建立与所述VIM的连接;The VNFM receives the notification message sent by the management node, where the notification message carries the identifier of the VIM and the connection information of the VIM, and the identifier of the VIM and the connection information of the VIM are used by the VNFM to establish a connection with the VIM. ;
当所述VNFM未建立与所述VIM的连接时,所述VNFM保存所述VIM的标识和所述VIM的连接信息;When the VNFM does not establish a connection with the VIM, the VNFM saves the identifier of the VIM and the connection information of the VIM;
所述VNFM向所述VIM发送请求消息,所述请求消息中携带所述VNFM的标识和所述VNFM的连接信息,所述VNFM的标识和所述VNFM的连接信息用于所述VIM建立与所述VNFM的连接。The VNFM sends a request message to the VIM, where the request message carries the identifier of the VNFM and the connection information of the VNFM, and the identifier of the VNFM and the connection information of the VNFM are used to establish and establish the VIM. The connection of the VNFM.
在第一方面的第一种可能的实现方式中,所述VNFM未建立与所述VIM的连接的判断方法包括:In a first possible implementation manner of the first aspect, a method for determining that the VNFM does not establish a connection with the VIM includes:
所述VNFM确定所述VIM的标识和所述VNFM保存的至少一个已与所述VNFM建立连接的VIM的标识是否相同;Determining, by the VNFM, whether the identifier of the VIM and the identifier of the VIM that the VNFM holds to establish a connection with the VNFM are the same;
若所述VNFM确定所述VIM的标识和所述至少一个已与所述VNFM建立连接的VIM的标识均不相同,则所述VNFM未建立与所述VIM的连接;If the VNFM determines that the identifier of the VIM and the identifier of the at least one VIM that has established a connection with the VNFM are different, the VNFM does not establish a connection with the VIM;
若所述VNFM确定所述VIM的标识和任意一个所述已与所述VNFM建立连接的VIM的标识相同,则所述VNFM已建立与所述VIM的连接。And if the VNFM determines that the identifier of the VIM is the same as the identifier of any one of the VIMs that have established a connection with the VNFM, the VNFM has established a connection with the VIM.
结合前述的第一方面或第一方面的第一种可能的实现方式,在第二种可能的实现方式中,In conjunction with the first aspect of the foregoing or the first possible implementation of the first aspect, in a second possible implementation manner,
所述VIM的连接信息至少包括所述VIM的IP地址;The connection information of the VIM includes at least an IP address of the VIM;
所述VNFM的连接信息至少包括所述VNFM的IP地址。 The connection information of the VNFM includes at least an IP address of the VNFM.
结合前述的第一方面或第一方面的第一种可能的实现方式至第一方面的第二种可能的实现方式中的任一种实现方式,在第三种可能的实现方式中,所述方法还包括:With reference to the foregoing first aspect or the first possible implementation of the first aspect to any one of the second possible implementations of the first aspect, in a third possible implementation, The method also includes:
所述通知消息和所述请求消息中还携带资源配额信息,所述资源配额信息用于指示允许所述VIM为所述VNFM分配的资源配额。The notification message and the request message further carry resource quota information, where the resource quota information is used to indicate a resource quota that is allowed to be allocated by the VIM to the VNFM.
第二方面,本发明提供一种建立VNFM与VIM之间的连接的方法,包括:In a second aspect, the present invention provides a method of establishing a connection between a VNFM and a VIM, including:
VIM接收VNFM发送的请求消息,所述请求消息中携带所述VNFM的标识和所述VNFM的连接信息,所述VNFM的标识和所述VNFM的连接信息用于所述VIM建立与所述VNFM的连接;The VIM receives the request message sent by the VNFM, where the request message carries the identifier of the VNFM and the connection information of the VNFM, and the identifier of the VNFM and the connection information of the VNFM are used by the VIM to establish the VNFM with the VNFM. connection;
当所述VIM未建立与所述VNFM的连接时,所述VIM保存所述VNFM的标识和所述VNFM的连接信息。When the VIM does not establish a connection with the VNFM, the VIM saves the identifier of the VNFM and the connection information of the VNFM.
在第二方面的第一种可能的实现方式中,所述VIM未建立与所述VNFM的连接的判断方法包括:In a first possible implementation manner of the second aspect, the determining method that the VIM does not establish a connection with the VNFM includes:
所述VIM确定所述VNFM的标识和所述VIM保存的至少一个已与所述VIM建立连接的VNFM的标识是否相同;Determining, by the VIM, whether the identifier of the VNFM and the identifier of the VNFM that the VIM holds at least one connection that has been established with the VIM are the same;
若所述VIM确定所述VNFM的标识和所述至少一个已与所述VIM建立连接的VNFM的标识均不相同,则所述VIM未建立与所述VNFM的连接;If the VIM determines that the identifier of the VNFM and the identifier of the at least one VNFM that has established a connection with the VIM are different, the VIM does not establish a connection with the VNFM;
若所述VIM确定所述VNFM的标识和任意一个所述已与所述VIM建立连接的VNFM的标识相同,则所述VIM已建立与所述VNFM的连接。And if the VIM determines that the identifier of the VNFM is the same as the identifier of any one of the VNFMs that have established a connection with the VIM, the VIM has established a connection with the VNFM.
结合前述的第二方面或第二方面的第一种可能的实现方式,在第二种可能的实现方式中,In conjunction with the second aspect of the foregoing or the first possible implementation of the second aspect, in a second possible implementation manner,
所述VNFM的连接信息至少包括所述VNFM的IP地址。The connection information of the VNFM includes at least an IP address of the VNFM.
结合前述的第二方面或第二方面的第一种可能的实现方式至第二方面的第二种可能的实现方式中的任一种实现方式,在第三种可能的实现方式中,In combination with the foregoing second aspect or the first possible implementation of the second aspect to any one of the second possible implementation manners of the second aspect, in a third possible implementation manner,
所述请求消息中还携带资源配额信息,所述资源配额信息用于 指示允许所述VIM为所述VNFM分配的资源配额;The request message further carries resource quota information, where the resource quota information is used. Indicates a resource quota that is allowed to be allocated by the VIM to the VNFM;
所述VIM保存所述VNFM的标识和所述VNFM的连接信息,包括:The VIM saves the identifier of the VNFM and the connection information of the VNFM, including:
所述VIM保存所述VNFM的标识、所述VNFM的连接信息以及所述资源配额信息。The VIM saves the identifier of the VNFM, the connection information of the VNFM, and the resource quota information.
第三方面,本发明提供一种建立VNFM与VIM之间的连接的方法,包括:In a third aspect, the present invention provides a method for establishing a connection between a VNFM and a VIM, including:
管理节点获取VIM的标识,所述VIM为满足待分配资源的虚拟网络功能VNF的资源需求信息的VIM;The management node obtains the identifier of the VIM, where the VIM is a VIM that satisfies the resource requirement information of the virtual network function VNF of the resource to be allocated;
所述管理节点根据所述VIM的标识,获取与所述VIM的标识对应的所述VIM的连接信息;The management node acquires connection information of the VIM corresponding to the identifier of the VIM according to the identifier of the VIM;
所述管理节点向VNFM发送通知消息,所述通知消息中携带所述VIM的标识和所述VIM的连接信息,所述VIM的标识和所述VIM的连接信息用于所述VNFM建立与所述VIM的连接。The management node sends a notification message to the VNFM, where the notification message carries the identifier of the VIM and the connection information of the VIM, and the identifier of the VIM and the connection information of the VIM are used by the VNFM to establish and VIM connection.
在第三方面的第一种可能的实现方式中,所述管理节点根据所述VIM的标识,获取与所述VIM的标识对应的所述VIM的连接信息之前,所述方法还包括:In a first possible implementation manner of the third aspect, before the acquiring, by the management node, the connection information of the VIM corresponding to the identifier of the VIM, the method further includes:
所述管理节点确定所述VIM与所述VNFM之间是否已建立连接;Determining, by the management node, whether a connection has been established between the VIM and the VNFM;
所述管理节点根据所述VIM的标识,获取与所述VIM的标识对应的所述VIM的连接信息,包括:The management node acquires, according to the identifier of the VIM, the connection information of the VIM corresponding to the identifier of the VIM, including:
当所述管理节点确定所述VIM与所述VNFM之间未建立连接时,所述管理节点根据所述VIM的标识,获取与所述VIM的标识对应的所述VIM的连接信息。When the management node determines that the connection between the VIM and the VNFM is not established, the management node acquires connection information of the VIM corresponding to the identifier of the VIM according to the identifier of the VIM.
结合第一方面的第一种可能的实现方式,在第二种可能的实现方式中,所述管理节点确定所述VIM与所述VNFM之间是否已建立连接,包括:With reference to the first possible implementation of the first aspect, in a second possible implementation manner, the management node determines whether a connection is established between the VIM and the VNFM, including:
所述管理节点根据预设的资源映射表确定所述VIM与所述VNFM之间是否已建立连接。 The management node determines whether a connection has been established between the VIM and the VNFM according to a preset resource mapping table.
结合第一方面的第一种可能的实现方式,在第三种可能的实现方式中,所述管理节点获取VIM的标识之后,所述管理节点根据所述VIM的标识,获取与所述VIM的标识对应的所述VIM的连接信息之前,所述方法还包括:With reference to the first possible implementation manner of the first aspect, in a third possible implementation, after the management node obtains the identifier of the VIM, the management node acquires the VIM according to the identifier of the VIM. Before the corresponding connection information of the VIM is identified, the method further includes:
所述管理节点向所述VIM发送资源预留请求消息,所述资源预留请求消息中携带所述VNFM的标识,所述VNFM的标识用于所述VIM确定是否已建立与所述VNFM的连接;The management node sends a resource reservation request message to the VIM, where the resource reservation request message carries the identifier of the VNFM, and the identifier of the VNFM is used by the VIM to determine whether a connection with the VNFM has been established. ;
所述管理节点接收所述VIM发送的资源预留应答消息,所述资源预留应答消息中携带连接指示标识,所述连接指示标识表征所述VIM是否已建立与所述VNFM的连接;Receiving, by the management node, a resource reservation response message sent by the VIM, where the resource reservation response message carries a connection indication identifier, where the connection indication identifier indicates whether the VIM has established a connection with the VNFM;
所述管理节点确定所述VIM与所述VNFM之间是否已建立连接,包括:The management node determines whether a connection has been established between the VIM and the VNFM, including:
所述管理节点根据所述连接指示标识,确定所述VIM与所述VNFM之间是否已建立连接。The management node determines, according to the connection indication identifier, whether a connection has been established between the VIM and the VNFM.
结合前述的第三方面或第三方面的第一种可能的实现方式至第三方面的第三种可能的实现方式中的任一种实现方式,在第四种可能的实现方式中,管理节点获取VIM的标识之后,所述管理节点向VNFM发送通知消息之前,所述方法还包括:In combination with the foregoing third aspect or the first possible implementation of the third aspect to any one of the third possible implementation manners of the third aspect, in a fourth possible implementation manner, the management node After obtaining the identifier of the VIM, before the management node sends the notification message to the VNFM, the method further includes:
所述管理节点获取所述管理节点为所述VIM配置的资源配额信息,所述资源配额信息用于指示允许所述VIM为所述VNFM分配的资源配额;The management node acquires resource quota information configured by the management node for the VIM, where the resource quota information is used to indicate a resource quota that is allowed to be allocated by the VIM to the VNFM.
其中,所述通知消息中还携带所述资源配额信息。The resource information is also carried in the notification message.
第四方面,本发明提供一种装置,包括:In a fourth aspect, the present invention provides an apparatus comprising:
接收单元,用于接收管理节点发送的通知消息,所述通知消息中携带VIM的标识和所述VIM的连接信息,所述VIM的标识和所述VIM的连接信息用于虚拟VNFM建立与所述VIM的连接;a receiving unit, configured to receive a notification message sent by the management node, where the notification message carries the identifier of the VIM and the connection information of the VIM, where the identifier of the VIM and the connection information of the VIM are used to establish and describe the virtual VNFM. VIM connection;
保存单元,用于当所述VNFM未建立与所述VIM的连接时,保存所述接收单元接收的所述VIM的标识和所述VIM的连接信息;a saving unit, configured to save, when the VNFM does not establish a connection with the VIM, the identifier of the VIM and the connection information of the VIM received by the receiving unit;
发送单元,用于向所述VIM发送请求消息,所述请求消息中携 带所述VNFM的标识和所述VNFM的连接信息,所述VNFM的标识和所述VNFM的连接信息用于所述VIM建立与所述VNFM的连接。a sending unit, configured to send a request message to the VIM, where the request message carries The identification of the VNFM and the connection information of the VNFM, the identifier of the VNFM and the connection information of the VNFM are used by the VIM to establish a connection with the VNFM.
在第四方面的第一种可能的实现方式中,In a first possible implementation of the fourth aspect,
所述保存单元,具体用于确定所述接收单元接收的所述VIM的标识和所述保存单元保存的至少一个已与所述VNFM建立连接的VIM的标识是否相同,若所述VIM的标识和所述至少一个已与所述VNFM建立连接的VIM的标识均不相同,则所述VNFM未建立与所述VIM的连接,若所述VIM的标识和任意一个所述已与所述VNFM建立连接的VIM的标识相同,则所述VNFM已建立与所述VIM的连接。The saving unit is specifically configured to determine whether the identifier of the VIM received by the receiving unit and the identifier of the VIM that is established by the saving unit and that is connected to the VNFM are the same, if the identifier of the VIM is The identifier of the VIM that has been connected to the VNFM is different, and the VNFM does not establish a connection with the VIM. If the identifier of the VIM and any one of the VIMMs are established, the VNFM is established. The VIMs have the same identity, and the VNFM has established a connection with the VIM.
结合前述的第四方面或第四方面的第一种可能的实现方式,在第二种可能的实现方式中,With reference to the foregoing fourth aspect or the first possible implementation manner of the fourth aspect, in a second possible implementation manner,
所述接收单元接收的所述VIM的连接信息至少包括所述VIM的源IP地址;The connection information of the VIM received by the receiving unit includes at least a source IP address of the VIM;
所述发送单元发送的所述VNFM的连接信息至少包括所述VNFM的IP地址。The connection information of the VNFM sent by the sending unit includes at least an IP address of the VNFM.
结合前述的第四方面或第四方面的第一种可能的实现方式至第四方面的第二种可能的实现方式中的任一种实现方式,在第三种可能的实现方式中,In combination with the foregoing fourth aspect, or the first possible implementation manner of the fourth aspect, to any one of the second possible implementation manners of the fourth aspect, in a third possible implementation manner,
所述接收单元接收的所述通知消息和所述发送单元发送的所述请求消息中还携带资源配额信息,所述资源配额信息用于指示允许所述VIM为所述VNFM分配的资源配额。The notification message received by the receiving unit and the request message sent by the sending unit further carry resource quota information, where the resource quota information is used to indicate a resource quota that is allowed to be allocated by the VIM to the VNFM.
第五方面,本发明提供一种装置,包括:In a fifth aspect, the present invention provides an apparatus comprising:
接收单元,用于接收VNFM发送的请求消息,所述请求消息中携带所述VNFM的标识和所述VNFM的连接信息,所述VNFM的标识和所述VNFM的连接信息用于VIM建立与所述VNFM的连接;a receiving unit, configured to receive a request message sent by the VNFM, where the request message carries the identifier of the VNFM and the connection information of the VNFM, where the identifier of the VNFM and the connection information of the VNFM are used for VIM establishment and VNFM connection;
保存单元,用于当所述VIM未建立与所述VNFM的连接时,保存所述接收单元接收的所述VNFM的标识和所述VNFM的连接信 息。a saving unit, configured to save an identifier of the VNFM and a connection letter of the VNFM received by the receiving unit when the VIM does not establish a connection with the VNFM interest.
在第五方面的第一种可能的实现方式中,In a first possible implementation of the fifth aspect,
所述保存单元,具体用于确定所述接收单元接收的所述VNFM的标识和所述保存单元保存的至少一个已与所述VIM建立连接的VNFM的标识是否相同,若所述VNFM的标识和所述至少一个已与所述VIM建立连接的VNFM的标识均不相同,则所述VIM未建立与所述VNFM的连接,若所述VNFM的标识和任意一个所述已与所述VIM建立连接的VNFM的标识相同,则所述VIM已建立与所述VNFM的连接。The saving unit is specifically configured to determine whether the identifier of the VNFM received by the receiving unit and the identifier of the VNFM that is established by the saving unit and that is connected to the VIM are the same, if the identifier of the VNFM is The identifier of the VNFM that is connected to the VIM is different, and the VIM does not establish a connection with the VNFM, and if the identifier of the VNFM and any one of the VIMs are established, the VIM is established. The VNFM has the same identity, and the VIM has established a connection with the VNFM.
结合前述的第五方面或第五方面的第一种可能的实现方式,在第二种可能的实现方式中,In combination with the foregoing fifth aspect or the first possible implementation manner of the fifth aspect, in a second possible implementation manner,
所述接收单元接收的所述VNFM的连接信息至少包括所述VNFM的IP地址。The connection information of the VNFM received by the receiving unit includes at least an IP address of the VNFM.
结合前述的第五方面或第五方面的第一种可能的实现方式至第五方面的第二种可能的实现方式中的任一种实现方式,在第三种可能的实现方式中,In combination with the foregoing fifth aspect, or any one of the first possible implementation manner of the fifth aspect, and the second possible implementation manner of the fifth aspect, in a third possible implementation manner,
所述接收单元接收的所述请求消息中还携带资源配额信息,所述资源配额信息用于指示允许所述VIM为所述VNFM分配的资源配额;The request message received by the receiving unit further carries resource quota information, where the resource quota information is used to indicate a resource quota that is allowed to be allocated by the VIM to the VNFM;
所述保存单元,具体用于保存所述VNFM的标识、所述VNFM的连接信息以及所述资源配额信息。The saving unit is specifically configured to save the identifier of the VNFM, the connection information of the VNFM, and the resource quota information.
第六方面,本发明提供一种装置,包括:In a sixth aspect, the present invention provides an apparatus comprising:
获取单元,用于获取VIM的标识,所述VIM为满足待分配资源的VNF的资源需求信息的VIM;An obtaining unit, configured to obtain an identifier of a VIM, where the VIM is a VIM that meets resource requirement information of a VNF of a resource to be allocated;
所述获取单元,还用于根据所述VIM的标识,获取与所述VIM的标识对应的所述VIM的连接信息;The obtaining unit is further configured to acquire, according to the identifier of the VIM, connection information of the VIM corresponding to the identifier of the VIM;
发送单元,用于向VNFM发送通知消息,所述通知消息中携带所述获取单元获取的所述VIM的标识和所述VIM的连接信息,所述VIM的标识和所述VIM的连接信息用于所述VNFM建立与所述 VIM的连接。a sending unit, configured to send a notification message to the VNFM, where the notification message carries the identifier of the VIM acquired by the acquiring unit and the connection information of the VIM, where the identifier of the VIM and the connection information of the VIM are used. The VNFM is established and described VIM connection.
在第六方面的第一种可能的实现方式中,所述装置还包括确定单元,In a first possible implementation manner of the sixth aspect, the apparatus further includes a determining unit,
所述确定单元,用于在所述获取单元根据所述VIM的标识,获取与所述VIM的标识对应的所述VIM的连接信息之前,确定所述VIM与所述VNFM之间是否已建立连接;The determining unit is configured to determine whether a connection has been established between the VIM and the VNFM before the obtaining unit obtains the connection information of the VIM corresponding to the identifier of the VIM according to the identifier of the VIM. ;
所述获取单元,具体用于当所述确定单元确定所述VIM与所述VNFM之间未建立连接时,根据所述VIM的标识,获取与所述VIM的标识对应的所述VIM的连接信息。The obtaining unit is configured to: when the determining unit determines that the connection between the VIM and the VNFM is not established, obtain the connection information of the VIM corresponding to the identifier of the VIM according to the identifier of the VIM .
结合第六方面的第一种可能的实现方式,在第二种可能的实现方式中,In conjunction with the first possible implementation of the sixth aspect, in a second possible implementation manner,
所述确定单元,具体用于根据预设的资源映射表确定所述VIM与所述VNFM之间是否已建立连接。The determining unit is specifically configured to determine whether a connection has been established between the VIM and the VNFM according to a preset resource mapping table.
结合第六方面的第一种可能的实现方式,在第三种可能的实现方式中,所述装置还包括接收单元,In conjunction with the first possible implementation of the sixth aspect, in a third possible implementation, the apparatus further includes a receiving unit,
所述发送单元,还用于在所述获取单元获取VIM的标识之后,在所述获取单元根据所述VIM的标识,获取与所述VIM的标识对应的所述VIM的连接信息之前,向所述VIM发送资源预留请求消息,所述资源预留请求消息中携带所述VNFM的标识,所述VNFM的标识用于确定所述VIM是否已建立与所述VNFM的连接;The sending unit is further configured to: after the acquiring unit acquires the identifier of the VIM, before the acquiring unit acquires the connection information of the VIM corresponding to the identifier of the VIM according to the identifier of the VIM, The VIM sends a resource reservation request message, where the resource reservation request message carries the identifier of the VNFM, and the identifier of the VNFM is used to determine whether the VIM has established a connection with the VNFM.
所述接收单元,用于接收所述VIM发送的资源预留应答消息,所述资源预留应答消息中携带连接指示标识,所述连接指示标识表征所述VIM是否已建立与所述VNFM的连接;The receiving unit is configured to receive a resource reservation response message sent by the VIM, where the resource reservation response message carries a connection indication identifier, where the connection indication identifier indicates whether the VIM has established a connection with the VNFM ;
所述确定单元,具体用于根据所述接收单元接收的所述连接指示标识,确定所述VIM与所述VNFM之间是否已建立连接。The determining unit is specifically configured to determine whether a connection has been established between the VIM and the VNFM according to the connection indication identifier received by the receiving unit.
结合前述的第六方面或第六方面的第一种可能的实现方式至第六方面的第三种可能的实现方式中的任一种实现方式,在第四种可能的实现方式中,With reference to the foregoing sixth aspect, or the first possible implementation manner of the sixth aspect, to any one of the third possible implementation manners of the sixth aspect, in a fourth possible implementation manner,
所述获取单元,还用于在获取VIM的标识之后,所述发送单元 向VNFM发送通知消息之前,获取管理节点为所述VIM配置的资源配额信息,所述资源配额信息用于指示允许所述VIM为所述VNFM分配的资源配额;The obtaining unit is further configured to: after acquiring the identifier of the VIM, the sending unit Before the notification message is sent to the VNFM, the resource quota information configured by the management node for the VIM is obtained, where the resource quota information is used to indicate a resource quota that is allowed to be allocated by the VIM to the VNFM.
其中,所述发送单元发送的所述通知消息中还携带所述获取单元获取的所述资源配额信息。The notification message sent by the sending unit further carries the resource quota information acquired by the acquiring unit.
第七方面,本发明提供一种装置,包括:In a seventh aspect, the present invention provides an apparatus comprising:
处理器,用于接收管理节点发送的通知消息,所述通知消息中携带VIM的标识和所述VIM的连接信息,所述VIM的标识和所述VIM的连接信息用于VNFM建立与所述VIM的连接;a processor, configured to receive a notification message sent by the management node, where the notification message carries the identifier of the VIM and the connection information of the VIM, where the identifier of the VIM and the connection information of the VIM are used by the VNFM to establish the VIM Connection;
所述处理器,还用于当所述VNFM未建立与所述VIM的连接时,保存所述VIM的标识和所述VIM的连接信息;The processor is further configured to save the identifier of the VIM and the connection information of the VIM when the VNFM does not establish a connection with the VIM;
所述处理器,还用于向所述VIM发送请求消息,所述请求消息中携带所述VNFM的标识和所述VNFM的连接信息,所述VNFM的标识和所述VNFM的连接信息用于所述VIM建立与所述VNFM的连接。The processor is further configured to send a request message to the VIM, where the request message carries the identifier of the VNFM and the connection information of the VNFM, and the identifier of the VNFM and the connection information of the VNFM are used by the The VIM establishes a connection with the VNFM.
在第七方面的第一种可能的实现方式中,In a first possible implementation of the seventh aspect,
所述处理器,具体用于确定所述VIM的标识和所述处理器保存的至少一个已与所述VNFM建立连接的VIM的标识是否相同,若所述VIM的标识和所述至少一个已与所述VNFM建立连接的VIM的标识均不相同,则所述VNFM未建立与所述VIM的连接,若所述VIM的标识和任意一个所述已与所述VNFM建立连接的VIM的标识相同,则所述VNFM已建立与所述VIM的连接。The processor is specifically configured to determine whether the identifier of the VIM and the identifier of the VIM that the processor has established to establish a connection with the VNFM are the same, if the identifier of the VIM and the at least one The VNF is not connected to the VIM. The VNFM does not establish a connection with the VIM. If the identifier of the VIM is the same as the identifier of any VIM that has been connected to the VNFM, Then the VNFM has established a connection with the VIM.
结合前述的第七方面或第七方面的第一种可能的实现方式,在第二种可能的实现方式中,In conjunction with the foregoing seventh aspect or the first possible implementation manner of the seventh aspect, in a second possible implementation manner,
所述处理器接收的所述VIM的连接信息至少包括所述VIM的IP地址;The connection information of the VIM received by the processor includes at least an IP address of the VIM;
所述处理器发送的所述VNFM的连接信息至少包括所述VNFM的IP地址。The connection information of the VNFM sent by the processor includes at least an IP address of the VNFM.
结合前述的第七方面或第七方面的第一种可能的实现方式至第 七方面的第二种可能的实现方式中的任一种实现方式,在第三种可能的实现方式中,Combining the foregoing seventh aspect or the first possible implementation of the seventh aspect to the Any one of the second possible implementations of the seven aspects, in a third possible implementation,
所述处理器接收的所述通知消息和所述请求消息中还携带资源配额信息,所述资源配额信息用于指示允许所述VIM为所述VNFM分配的资源配额。And the resource quota information is used to indicate the resource quota allocated by the VIM for the VNFM.
第八方面,本发明提供一种装置,包括:In an eighth aspect, the present invention provides an apparatus comprising:
处理器,用于接收VNFM发送的请求消息,所述请求消息中携带所述VNFM的标识和所述VNFM的连接信息,所述VNFM的标识和所述VNFM的连接信息用于VIM建立与所述VNFM的连接;a processor, configured to receive a request message sent by the VNFM, where the request message carries the identifier of the VNFM and the connection information of the VNFM, and the identifier of the VNFM and the connection information of the VNFM are used for VIM establishment and VNFM connection;
所述处理器,还用于当所述VIM未建立与所述VNFM的连接时,保存所述VNFM的标识和所述VNFM的连接信息。The processor is further configured to save the identifier of the VNFM and the connection information of the VNFM when the VIM does not establish a connection with the VNFM.
在第八方面的第一种可能的实现方式中,In a first possible implementation of the eighth aspect,
所述处理器,具体用于确定所述VNFM的标识和所述处理器保存的至少一个已与所述VIM建立连接的VNFM的标识是否相同,若所述VNFM的标识和所述至少一个已与所述VIM建立连接的VNFM的标识均不相同,则所述VIM未建立与所述VNFM的连接,若所述VNFM的标识和任意一个所述已与所述VIM建立连接的VNFM的标识相同,则所述VIM已建立与所述VNFM的连接。The processor is specifically configured to determine whether the identifier of the VNFM and the identifier of the VNFM that the processor has established to establish a connection with the VIM are the same, if the identifier of the VNFM and the at least one The VIM is not connected to the VNFM, and the VIM is not connected to the VNFM. If the identifier of the VNFM is the same as the identifier of any VNFM that has established a connection with the VIM, Then the VIM has established a connection with the VNFM.
结合前述的第八方面或第八方面的第一种可能的实现方式,在第二种可能的实现方式中,With reference to the foregoing eighth aspect or the first possible implementation manner of the eighth aspect, in a second possible implementation manner,
所述处理器接收的所述VNFM的连接信息至少包括所述VNFM的IP地址。The connection information of the VNFM received by the processor includes at least an IP address of the VNFM.
结合前述的第八方面或第八方面的第一种可能的实现方式至第八方面的第二种可能的实现方式中的任一种实现方式,在第三种可能的实现方式中,With reference to the foregoing eighth aspect, or the first possible implementation manner of the eighth aspect, to any one of the second possible implementation manners of the eighth aspect, in a third possible implementation manner,
所述处理器接收的所述请求消息中还携带资源配额信息,所述资源配额信息用于指示允许所述VIM为所述VNFM分配的资源配额;The request message received by the processor further includes resource quota information, where the resource quota information is used to indicate a resource quota that is allowed to be allocated by the VIM to the VNFM.
所述处理器,具体用于保存所述VNFM的标识、所述VNFM的 连接信息以及所述资源配额信息。The processor is specifically configured to save the identifier of the VNFM, the VNFM Connection information and the resource quota information.
第九方面,本发明提供一种装置,包括:In a ninth aspect, the present invention provides an apparatus comprising:
处理器,用于获取VIM的标识,所述VIM为满足待分配资源的VNF的资源需求信息的VIM;a processor, configured to obtain an identifier of the VIM, where the VIM is a VIM that meets resource requirement information of a VNF of a resource to be allocated;
所述处理器,还用于根据所述VIM的标识,获取与所述VIM的标识对应的所述VIM的连接信息;The processor is further configured to acquire connection information of the VIM corresponding to the identifier of the VIM according to the identifier of the VIM;
所述处理器,还用于向VNFM发送通知消息,所述通知消息中携带所述获取单元获取的所述VIM的标识和所述VIM的连接信息,所述VIM的标识和所述VIM的连接信息用于所述VNFM建立与所述VIM的连接。The processor is further configured to send a notification message to the VNFM, where the notification message carries the identifier of the VIM acquired by the acquiring unit and the connection information of the VIM, and the identifier of the VIM and the connection of the VIM Information is used by the VNFM to establish a connection with the VIM.
在第九方面的第一种可能的实现方式中,In a first possible implementation of the ninth aspect,
所述处理器,还用于在根据所述VIM的标识,获取与所述VIM的标识对应的所述VIM的连接信息之前,确定所述VIM与所述VNFM之间是否已建立连接;The processor is further configured to determine whether a connection has been established between the VIM and the VNFM before acquiring the connection information of the VIM corresponding to the identifier of the VIM according to the identifier of the VIM;
所述处理器,具体用于当确定所述VIM与所述VNFM之间未建立连接时,根据所述VIM的标识,获取与所述VIM的标识对应的所述VIM的连接信息。The processor is configured to: when it is determined that the connection between the VIM and the VNFM is not established, obtain the connection information of the VIM corresponding to the identifier of the VIM according to the identifier of the VIM.
结合第九方面的第一种可能的实现方式,在第二种可能的实现方式中,With reference to the first possible implementation manner of the ninth aspect, in a second possible implementation manner,
所述处理器,具体用于根据预设的资源映射表确定所述VIM与所述VNFM之间是否已建立连接。The processor is specifically configured to determine whether a connection has been established between the VIM and the VNFM according to a preset resource mapping table.
结合第九方面的第一种可能的实现方式,在第三种可能的实现方式中,In conjunction with the first possible implementation of the ninth aspect, in a third possible implementation manner,
所述处理器,还用于在获取VIM的标识之后,根据所述VIM的标识,获取与所述VIM的标识对应的所述VIM的连接信息之前,向所述VIM发送资源预留请求消息,所述资源预留请求消息中携带所述VNFM的标识,所述VNFM的标识用于确定所述VIM是否已建立与所述VNFM的连接;The processor is further configured to send a resource reservation request message to the VIM before acquiring the connection information of the VIM corresponding to the identifier of the VIM, after acquiring the identifier of the VIM, according to the identifier of the VIM, The resource reservation request message carries an identifier of the VNFM, where the identifier of the VNFM is used to determine whether the VIM has established a connection with the VNFM.
所述处理器,还用于接收所述VIM发送的资源预留应答消息, 所述资源预留应答消息中携带连接指示标识,所述连接指示标识表征所述VIM是否已建立与所述VNFM的连接;The processor is further configured to receive a resource reservation response message sent by the VIM, The resource reservation response message carries a connection indication identifier, where the connection indication identifier indicates whether the VIM has established a connection with the VNFM;
所述处理器,具体用于根据所述连接指示标识,确定所述VIM与所述VNFM之间是否已建立连接。The processor is specifically configured to determine, according to the connection indication identifier, whether a connection has been established between the VIM and the VNFM.
结合前述的第九方面或第九方面的第一种可能的实现方式至第九方面的第三种可能的实现方式中的任一种实现方式,在第四种可能的实现方式中,With reference to the foregoing ninth aspect, or the first possible implementation manner of the ninth aspect, to any one of the third possible implementation manners of the ninth aspect, in a fourth possible implementation manner,
所述处理器,还用于在获取VIM的标识之后,向VNFM发送通知消息之前,获取管理节点为所述VIM配置的资源配额信息,所述资源配额信息用于指示允许所述VIM为所述VNFM分配的资源配额;The processor is further configured to: after obtaining the identifier of the VIM, send the resource quota information configured by the management node for the VIM, and the resource quota information is used to indicate that the VIM is allowed to be the Resource quota allocated by VNFM;
其中,所述处理器发送的所述通知消息中还携带所述获取单元获取的所述资源配额信息。The notification message sent by the processor further carries the resource quota information acquired by the acquiring unit.
第十方面,本发明提供一种通信系统,包括:In a tenth aspect, the present invention provides a communication system, including:
如上述第四方面或第四方面的任一种实现方式所述的装置、如上述第五方面或第五方面的任一种实现方式所述的装置,以及如上述第六方面或第六方面的任一种实现方式所述的装置;或者,The apparatus of any one of the foregoing fourth aspect or the fourth aspect, the apparatus of any one of the fifth aspect or the fifth aspect, and the sixth or sixth aspect as described above Any of the devices described in the implementation; or,
如上述第七方面或第七方面的任一种实现方式所述的装置、如上述第八方面或第八方面的任一种实现方式所述的装置,以及如上述第九方面或第九方面的任一种实现方式所述的装置。The apparatus according to any one of the seventh aspect or the seventh aspect, the apparatus of any one of the eighth aspect or the eighth aspect, and the ninth aspect or the ninth aspect The device of any of the implementations.
本发明提供一种建立VNFM与VIM之间的连接的方法、装置及系统,该方法可以包括VNFM接收管理节点发送通知消息,该通知消息中携带VIM的标识和该VIM的连接信息,当VNFM未建立与该VIM的连接时,VNFM保存该VIM的标识和该VIM的连接信息,并向该VIM发送请求消息,该请求消息中携带该VNFM的标识和该VNFM的连接信息,其中,该VNFM的标识和该VNFM的连接信息用于该VIM建立与该VNFM的连接。通过本发明提供的建立VNFM与VIM之间的连接的方法、装置及系统,VNFM接收到通知消息后,能够在确定未建立与该VIM的连接时,自动保该VIM的 标识和该VIM的连接信息,并将该VNFM的标识和该VNFM的连接信息携带在该请求消息中发送至该VIM,使得该VIM能够自动保存该VNFM的标识和该VNFM的连接信息,以完成该VNFM与该VIM之间的连接的建立,提高了建立VIM与VNFM之间的连接的效率,进而提高了VNF的资源分配的效率。The present invention provides a method, an apparatus, and a system for establishing a connection between a VNFM and a VIM. The method may include: the VNFM receiving management node sends a notification message, where the notification message carries the identifier of the VIM and the connection information of the VIM, when the VNFM is not When the connection with the VIM is established, the VNFM saves the identifier of the VIM and the connection information of the VIM, and sends a request message to the VIM, where the request message carries the identifier of the VNFM and the connection information of the VNFM, where the VNFM The connection information to the VNFM is used to establish a connection with the VNFM. Through the method, device and system for establishing a connection between a VNFM and a VIM provided by the present invention, after receiving the notification message, the VNFM can automatically protect the VIM when it is determined that the connection with the VIM is not established. And the connection information of the VNFM and the connection information of the VNFM are carried in the request message and sent to the VIM, so that the VIM can automatically save the identifier of the VNFM and the connection information of the VNFM to complete The establishment of the connection between the VNFM and the VIM improves the efficiency of establishing a connection between the VIM and the VNFM, thereby improving the efficiency of resource allocation of the VNF.
附图说明DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,而不是所有的实施例。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only It is some embodiments of the invention, not all of the embodiments.
图1为一种现有的NFV系统的架构图;1 is an architectural diagram of an existing NFV system;
图2为本发明实施例提供的建立VNFM与VIM之间的连接的方法的流程图一;2 is a flowchart 1 of a method for establishing a connection between a VNFM and a VIM according to an embodiment of the present invention;
图3为本发明实施例提供的建立VNFM与VIM之间的连接的方法的流程图二;3 is a second flowchart of a method for establishing a connection between a VNFM and a VIM according to an embodiment of the present invention;
图4为本发明实施例提供的建立VNFM与VIM之间的连接的方法的流程图三;4 is a flowchart 3 of a method for establishing a connection between a VNFM and a VIM according to an embodiment of the present invention;
图5为本发明实施例提供的建立VNFM与VIM之间的连接的方法的交互图一;FIG. 5 is an interaction diagram 1 of a method for establishing a connection between a VNFM and a VIM according to an embodiment of the present invention;
图6为本发明实施例提供的建立VNFM与VIM之间的连接的方法的交互图二;FIG. 6 is an interaction diagram 2 of a method for establishing a connection between a VNFM and a VIM according to an embodiment of the present invention;
图7为本发明实施例提供的建立VNFM与VIM之间的连接的方法的交互图三;FIG. 7 is an interaction diagram 3 of a method for establishing a connection between a VNFM and a VIM according to an embodiment of the present invention;
图8为本发明实施例提供的建立VNFM与VIM之间的连接的方法的交互图四;FIG. 8 is an interaction diagram 4 of a method for establishing a connection between a VNFM and a VIM according to an embodiment of the present invention;
图9为本发明实施例提供的一种装置的结构示意图;FIG. 9 is a schematic structural diagram of a device according to an embodiment of the present disclosure;
图10为本发明实施例提供的一种装置的结构示意图;FIG. 10 is a schematic structural diagram of a device according to an embodiment of the present disclosure;
图11为本发明实施例提供的一种装置的结构示意图;FIG. 11 is a schematic structural diagram of an apparatus according to an embodiment of the present disclosure;
图12为本发明实施例提供的一种装置的结构示意图; FIG. 12 is a schematic structural diagram of a device according to an embodiment of the present disclosure;
图13为本发明实施例提供的一种装置的结构示意图;FIG. 13 is a schematic structural diagram of a device according to an embodiment of the present disclosure;
图14为本发明实施例提供的一种装置的硬件结构示意图;FIG. 14 is a schematic structural diagram of hardware of an apparatus according to an embodiment of the present disclosure;
图15为本发明实施例提供的一种装置的硬件结构示意图;FIG. 15 is a schematic structural diagram of hardware of an apparatus according to an embodiment of the present disclosure;
图16为本发明实施例提供的一种装置的硬件结构示意图;FIG. 16 is a schematic structural diagram of hardware of a device according to an embodiment of the present disclosure;
图17为本发明实施例提供的一种通信系统的框图。FIG. 17 is a block diagram of a communication system according to an embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all embodiments.
如图1所示,为一种NFV系统的架构图。该NFV系统包括:NFVO、VNFM、VIM、运营支撑系统(英文:operations support system,缩写:OSS)或业务支撑系统(英文:business support system,缩写:BSS)、网元管理节点(英文:element manager,缩写:EM)、VNF节点、虚拟网络功能基础设施(英文:network function virtualization infrastructure,缩写:NFVI)等功能节点,其中,OSS/BSS,或者是OSS/BSS的用户操作界面可以称为网络管理节点(英文:network manager,缩写:NM)。As shown in Figure 1, it is an architectural diagram of an NFV system. The NFV system includes: NFVO, VNFM, VIM, operation support system (English: operations support system, abbreviation: OSS) or business support system (English: business support system, abbreviation: BSS), network element management node (English: element manager , abbreviations: EM), VNF nodes, virtual network function infrastructure (English: network function virtualization infrastructure, abbreviation: NFVI) and other functional nodes, where OSS/BSS, or OSS/BSS user interface can be called network management Node (English: network manager, abbreviation: NM).
在NFV系统中,NFVO、VNFM以及VIM构成了NFV系统的管理编排(英文:NFV management and orchestration,缩写:NFV-MANO)域,其中,NFVO也可以称为网络功能虚拟化编排者。In the NFV system, NFVO, VNFM and VIM form the NFV management and orchestration (NFV-MANO) domain. Among them, NFVO can also be called network function virtualization orchestrator.
其中,NFVO可以对NFV系统中的VIM进行操作,管理及协调,NFVO与NFV系统中的所有VIM以及VNFM均相连。Among them, NFVO can operate, manage and coordinate VIM in NFV system, and NFVO is connected with all VIM and VNFM in NFV system.
VIM是基础设施和资源的管理入口,为VNF提供资源管理,包括为VNF提供基础设施相关硬件和虚拟化资源的配置维护、资源监控、告警、性能管理等功能。VIM is the management portal for infrastructure and resources. It provides resource management for VNF, including configuration maintenance, resource monitoring, alarming, and performance management for infrastructure-related hardware and virtualization resources for VNF.
VNFM负责VNF的生命周期管理,如实例化、扩展/收缩、查询、更新及终止等。VNFM is responsible for VNF lifecycle management, such as instantiation, expansion/contraction, query, update, and termination.
在现有技术中,VNFM和VIM之间的连接都是需要手动建立的,当需要某个VIM为某个VNFM管理的某个VNF分配资源时,若该 VNFM与该VIM之间还未建立连接,则此时需先手动建立该VNFM和该VIM之间的连接,当采用手动建立连接的方式时,由于VNFM与VIM之间建立连接的效率较低,因此会影响VNF的资源分配的效率。In the prior art, the connection between the VNFM and the VIM needs to be manually established. When a VIM is required to allocate resources for a certain VNF managed by a VNFM, The connection between the VNFM and the VIM is not established yet. In this case, the connection between the VNFM and the VIM needs to be manually established. When the connection is manually established, the connection between the VNFM and the VIM is inefficient. Therefore, it will affect the efficiency of resource allocation of VNF.
本发明实施例提供的建立VNFM和VIM之间的连接的方法及装置,能够自动建立VNFM和VIM之间的连接,从而提高VNF的资源分配的效率。The method and device for establishing a connection between a VNFM and a VIM provided by the embodiment of the present invention can automatically establish a connection between the VNFM and the VIM, thereby improving the efficiency of resource allocation of the VNF.
需要说明的是,在本发明实例中,上述NFV系统中的任意一种功能节点可能由一个实体设备实现,也可能由多个实体设备共同实现,NFV系统中的多个功能节点可能分别由不同的实体设备实现,也可能都由同一个实体设备实现。可以理解的是,NFV系统中的任意一种功能节点都可能是实体设备内的一个逻辑功能模块,也可能是由多个实体设备组成的一个逻辑功能模块。It should be noted that, in the example of the present invention, any one of the foregoing NFV systems may be implemented by one physical device, or may be implemented by multiple physical devices, and multiple functional nodes in the NFV system may be different. The physical device implementations may also be implemented by the same physical device. It can be understood that any functional node in the NFV system may be a logical functional module in the physical device, or may be a logical functional module composed of multiple physical devices.
因此,在下述的本发明实施例中,可以由一个实体设备执行本发明实施例提供的方法中的各个步骤,可以由多个实体设备协作执行本发明实施例提供的方法中的各个步骤,对此本发明不作限定。Therefore, in the following embodiments of the present invention, each step in the method provided by the embodiment of the present invention may be performed by an entity device, and each step in the method provided by the embodiment of the present invention may be performed by multiple entity devices. This invention is not limited.
进一步地,为了更清楚地介绍本发明提供的建立VNFM和VIM之间的连接的方法,下文中均以逻辑功能模块(即NFV系统中的功能节点)作为执行主体进行说明,本领域技术人员可以理解,逻辑功能模块在具体实现时需依赖于其所在的实体设备上的硬件资源。Further, in order to more clearly describe the method for establishing a connection between the VNFM and the VIM provided by the present invention, the following describes the logical function module (ie, the function node in the NFV system) as an execution subject, and those skilled in the art may It is understood that the logic function module depends on the hardware resources on the physical device in which it is implemented.
在本发明实施例中,NFV系统可以应用于长期演进(英文:long term evolution,缩写:LTE)通信系统中,也可以应用于LTE的演进通信系统中,如LTE-A(英文全称:long term evolution advanced)系统中,还可以应用于WCDMA等第三代移动通信(英文:3rd-Generation,缩写:3G)系统中等,本发明不作限制。In the embodiment of the present invention, the NFV system can be applied to a long term evolution (English: long term evolution, abbreviation: LTE) communication system, and can also be applied to an LTE evolved communication system, such as LTE-A (English full name: long term In the evolution advanced system, it can also be applied to third-generation mobile communication (English: 3rd-Generation, 3G) system such as WCDMA, and the present invention is not limited.
实施例一Embodiment 1
本发明实施例提供一种建立VNFM与VIM之间的连接的方法,如图2所示,该方法可以包括:An embodiment of the present invention provides a method for establishing a connection between a VNFM and a VIM. As shown in FIG. 2, the method may include:
S101、VNFM接收管理节点发送的通知消息,该通知消息中携 带VIM的标识和该VIM的连接信息,该VIM的标识和该VIM的连接信息用于VNFM建立与该VIM的连接。S101. The VNFM receives a notification message sent by the management node, where the notification message carries The identifier of the VIM and the connection information of the VIM, the identifier of the VIM and the connection information of the VIM are used by the VNFM to establish a connection with the VIM.
在本发明实施例中,管理节点可以为VNFM所在的NFV系统中的NFVO,也可以为能够管理该NFV系统中所有VIM的功能节点。其中,管理节点中保存有该NFV系统中的每个VIM的相关信息,包括每个VIM的标识、每个VIM的连接信息,以及每个VIM的资源的分配情况等,从而管理节点可以根据这些相关信息确定能够为待分配资源的VNF分配资源的VIM。In the embodiment of the present invention, the management node may be an NFVO in the NFV system where the VNFM is located, or may be a functional node capable of managing all VIMs in the NFV system. The management node stores related information of each VIM in the NFV system, including an identifier of each VIM, connection information of each VIM, and allocation of resources of each VIM, so that the management node can The related information determines the VIM that can allocate resources for the VNF of the resource to be allocated.
具体的,当需要为待分配资源的VNF分配资源时,管理节点可以根据该VNF的资源需求,确定一个VIM,并将该VIM的标识携带在通知消息中,发送至管理该VNF的VNFM,以通知该VNFM可以请求该VIM为该VNF分配资源。Specifically, when the resource needs to be allocated to the VNF to be allocated, the management node may determine a VIM according to the resource requirement of the VNF, and carry the identifier of the VIM in the notification message, and send the VNFM to the VNF to manage the VNF. The VNFM is notified that the VIM can be requested to allocate resources for the VNF.
进一步地,在本发明实施例中,管理节点将VIM的连接信息也携带在通知消息中发送至VNFM,该VNFM接收到该通知消息后,若该VNFM并未建立与该VIM的连接,则该VNFM能够根据该VIM的标识和该VIM的连接信息,建立与该VIM之间的连接。Further, in the embodiment of the present invention, the management node sends the connection information of the VIM to the VNFM in the notification message. After receiving the notification message, the VNFM does not establish a connection with the VIM. The VNFM can establish a connection with the VIM according to the identifier of the VIM and the connection information of the VIM.
其中,VIM的连接信息至少可以包括该VIM的IP地址。The connection information of the VIM may include at least an IP address of the VIM.
进一步地,VIM的连接信息还可以包括该VIM的统一资源定位符(英文:uniform resource locator,缩写:URL)、用户名、认证密码等中的任一项信息。Further, the connection information of the VIM may further include any one of a uniform resource locator (English: universal resource locator, abbreviation: URL), a user name, an authentication password, and the like.
S102、当VNFM未建立与该VIM的连接时,VNFM保存该VIM的标识和该VIM的连接信息。S102. When the VNFM does not establish a connection with the VIM, the VNFM saves the identifier of the VIM and the connection information of the VIM.
在本发明实施例中,当VNFM接收到通知消息后,VNFM可以先确定确定其是否已建立了与该VIM的连接。由于在VNFM中,保存有已与该VNFM建立了连接的VIM的相关信息,例如,已与该VNFM建立了连接的VIM的标识等,因此,VNFM可以通过判断其是否保存有该VIM的标识,确定是否已建立了与该VIM的连接。In the embodiment of the present invention, after the VNFM receives the notification message, the VNFM may first determine whether it has established a connection with the VIM. Since the information about the VIM that has established a connection with the VNFM is stored in the VNFM, for example, the identifier of the VIM that has established a connection with the VNFM, etc., the VNFM can determine whether or not the VIM identifier is saved by the VNFM. Determine if a connection to the VIM has been established.
具体的,VNFM确定其未建立与该VIM的连接的方法可以包括:Specifically, the VNFM determines that the method for establishing a connection with the VIM may include:
VNFM可以确定该VIM的标识和其保存的至少一个已与该 VNFM建立连接的VIM的标识是否相同,即该VNFM将该VIM的标识与其保存的至少一个已与该VNFM建立连接的VIM的标识分别进行对比。The VNFM can determine that the VIM's identity and at least one of its holds have been associated with Whether the VNFM establishes the identity of the connected VIM is the same, that is, the VNFM compares the VIM identifier with the identifier of at least one VIM that has been established with the VNFM.
若该VNFM确定该VIM的标识和至少一个已与该VNFM建立连接的VIM的标识均不相同,则该VNFM可以确定未建立与该VIM的连接。If the VNFM determines that the identity of the VIM and the identity of at least one VIM that has established a connection with the VNFM are different, the VNFM may determine that a connection with the VIM is not established.
若该VNFM确定该VIM的标识和任意一个已与该VNFM建立连接的VIM的标识相同,则该VNFM可以确定已建立与该VIM的连接。If the VNFM determines that the identity of the VIM is the same as the identity of any VIM that has established a connection with the VNFM, the VNFM may determine that a connection with the VIM has been established.
进一步地,当VNFM确定未建立与该VIM的连接时,VNFM建立与该VIM的连接,即可以理解为VNFM保存该VIM的标识和该VIM的连接信息。Further, when the VNFM determines that the connection with the VIM is not established, the VNFM establishes a connection with the VIM, that is, the VNFM saves the identifier of the VIM and the connection information of the VIM.
示例性的,VNFM可以将该VIM连接信息保存到该VNFM内特定的单元中。该特定的单元可以为该VNFM中专门用于发送数据的传输单元;也可以该VNFM中新创建的一个虚拟的通信接口,该通信接口可以是该VNFM通过预设算法,根据该VIM的连接信息创建的,当该VNFM需要向该VIM发送数据时,该VNFM可以通过该通信接口进行发送。Exemplarily, the VNFM can save the VIM connection information to a specific unit within the VNFM. The specific unit may be a transmission unit dedicated to transmitting data in the VNFM; or a virtual communication interface newly created in the VNFM, the communication interface may be the VNFM through a preset algorithm, according to the connection information of the VIM Created, when the VNFM needs to send data to the VIM, the VNFM can transmit through the communication interface.
该VIM的标识能够唯一表征该VIM,当VNFM在保存了该VIM的标识后,VNFM可以在后续与该VIM进行通信的过程中,通过该VIM的标识识别该VIM。The identifier of the VIM can uniquely identify the VIM. After the VNFM saves the identifier of the VIM, the VNFM can identify the VIM by using the identifier of the VIM during subsequent communication with the VIM.
S103、VNFM向该VIM发送请求消息,该请求消息中携带该VNFM的标识和该VNFM的连接信息,该VNFM的标识和该VNFM的连接信息用于该VIM建立与该VNFM的连接。S103. The VNFM sends a request message to the VIM, where the request message carries the identifier of the VNFM and the connection information of the VNFM, and the identifier of the VNFM and the connection information of the VNFM are used by the VIM to establish a connection with the VNFM.
需要说明的是,在本发明实施例中,VNFM建立与VIM的连接,即为VNFM将VIM的标识以及VIM的连接信息保存到VNFM中;VIM建立与VNFM的连接,即为VIM将VNFM的标识以及VNFM的连接信息保存到VIM中;建立VNFM与VIM之间的连接可以理解为:VIM将VNFM的标识以及VNFM的连接信息保存到VIM中, 且VNFM将VIM的标识以及VIM的连接信息保存到VNFM中。It should be noted that, in the embodiment of the present invention, the VNFM establishes a connection with the VIM, that is, the VNFM saves the VIM identifier and the VIM connection information to the VNFM; the VIM establishes a connection with the VNFM, that is, the VIM identifies the VNFM. And the connection information of the VNFM is saved to the VIM; the connection between the VNFM and the VIM can be understood as: the VIM saves the VNFM identifier and the VNFM connection information to the VIM. The VNFM saves the VIM identity and the VIM connection information to the VNFM.
因此,在本发明实施例中,当VNFM通过管理节点获取到VIM的标识以及VIM的连接信息并保存后,该VNFM还需将该VNFM的标识以及该VNFM的连接信息发送至该VIM,并由该VIM保存,即可成功建立该VNFM与该VIM之间的连接。Therefore, in the embodiment of the present invention, after the VNFM obtains the identifier of the VIM and the connection information of the VIM through the management node, the VNFM needs to send the identifier of the VNFM and the connection information of the VNFM to the VIM, and The VIM is saved, and the connection between the VNFM and the VIM can be successfully established.
在本发明实施例中,当VNFM接收到管理节点发送的通知消息后,需要根据该通知消息向VIM发送请求消息,以请求该VIM为待分配资源的VNF分配资源。此时,VNFM可以将该VNFM的标识和该VNFM的连接信息携带在请求消息中,发送至该VIM,以使得该VIM接收到该请求消息后,能够保存该VNFM的标识和该VNFM的连接信息,以完成该VIM与该VNFM之间的连接的建立。In the embodiment of the present invention, after receiving the notification message sent by the management node, the VNFM needs to send a request message to the VIM according to the notification message, to request the VIM to allocate resources for the VNF of the resource to be allocated. At this time, the VNFM may carry the identifier of the VNFM and the connection information of the VNFM in the request message, and send the message to the VIM, so that the VIM can save the identifier of the VNFM and the connection information of the VNFM after receiving the request message. To complete the establishment of the connection between the VIM and the VNFM.
可以理解的是,当VNFM向VIM发送请求消息时,虽然该VNFM和该VIM之间的连接还未建立成功,但是该VNFM中已保存了该VIM的连接信息,即该VNFM已经确定了该VIM的IP地址以及相关的传输信息,因此,该VNFM可以根据该VIM的连接信息向该VIM发送请求消息,以使得该VIM能够接收并识别该请求消息。It can be understood that when the VNFM sends a request message to the VIM, although the connection between the VNFM and the VIM has not been successfully established, the connection information of the VIM has been saved in the VNFM, that is, the VNFM has determined the VIM. The IP address and associated transmission information, therefore, the VNFM can send a request message to the VIM according to the connection information of the VIM, so that the VIM can receive and identify the request message.
其中,VNFM的连接信息至少可以包括该VNFM的IP地址。The connection information of the VNFM may include at least an IP address of the VNFM.
进一步地,VNFM的连接信息还可以包括该VNFM的URL、用户名、认证密码等中的任一项信息。Further, the connection information of the VNFM may further include any one of a URL, a user name, an authentication password, and the like of the VNFM.
本发明实施例提供一种建立VNFM与VIM之间的连接的方法,该方法可以包括VNFM接收管理节点发送通知消息,该通知消息中携带VIM的标识和该VIM的连接信息,当VNFM未建立与该VIM的连接时,VNFM保存该VIM的标识和该VIM的连接信息,并向该VIM发送请求消息,该请求消息中携带该VNFM的标识和该VNFM的连接信息,其中,该VNFM的标识和该VNFM的连接信息用于该VIM建立与该VNFM的连接。通过上述方法,VNFM接收到通知消息后,能够在确定未建立与该VIM的连接时,自动保该VIM的标识和该VIM的连接信息,并将该VNFM的标识和该VNFM的连接信息携带在该请求消息中发送至该VIM,以使得该VIM能够自 动保存该VNFM的标识和该VNFM的连接信息,以完成该VNFM与该VIM之间的连接的建立,从而提高了建立VIM与VNFM之间的连接的效率,进而提高了VNF的资源分配的效率。An embodiment of the present invention provides a method for establishing a connection between a VNFM and a VIM. The method may include: the VNFM receiving management node sends a notification message, where the notification message carries the identifier of the VIM and the connection information of the VIM, when the VNFM is not established. When the VIM is connected, the VNFM saves the identifier of the VIM and the connection information of the VIM, and sends a request message to the VIM, where the request message carries the identifier of the VNFM and the connection information of the VNFM, where the VNFM is identified and The connection information of the VNFM is used by the VIM to establish a connection with the VNFM. After receiving the notification message, the VNFM can automatically protect the VIM identifier and the VIM connection information when the connection with the VIM is not established, and carry the VNFM identifier and the VNFM connection information in the The request message is sent to the VIM to enable the VIM to be self- The VNFM identifier and the connection information of the VNFM are saved to complete the establishment of the connection between the VNFM and the VIM, thereby improving the efficiency of establishing a connection between the VIM and the VNFM, thereby improving the efficiency of resource allocation of the VNF. .
本发明实施例提供一种建立VNFM与VIM之间的连接的方法,如图3所示,该方法可以包括:An embodiment of the present invention provides a method for establishing a connection between a VNFM and a VIM. As shown in FIG. 3, the method may include:
S201、VIM接收VNFM发送的请求消息,该请求消息中携带该VNFM的标识和该VNFM的连接信息,该VNFM的标识和该VNFM的连接信息用于VIM建立与该VNFM之间的连接。S201: The VIM receives the request message sent by the VNFM, where the request message carries the identifier of the VNFM and the connection information of the VNFM, and the identifier of the VNFM and the connection information of the VNFM are used by the VIM to establish a connection with the VNFM.
其中,VNFM的连接信息至少可以包括该VNFM的IP地址。The connection information of the VNFM may include at least an IP address of the VNFM.
进一步地,VNFM的连接信息还可以包括该VNFM的URL、用户名、认证密码等中的任一项信息。Further, the connection information of the VNFM may further include any one of a URL, a user name, an authentication password, and the like of the VNFM.
S202、当VIM未建立与该VNFM的连接时,VIM保存该VNFM的标识和该VNFM的连接信息。S202. When the VIM does not establish a connection with the VNFM, the VIM saves the identifier of the VNFM and the connection information of the VNFM.
在本发明实施例中,当VIM接收到VNFM发送的请求消息后,VIM可以先判断其是否建立了与该VNFM的连接。由于在VIM中,保存有已与其建立了连接的VNFM的相关信息,例如,已与该VIM建立了连接的VNFM的标识,因此,VIM可以通过判断其是否保存有该VNFM的标识,确定是否已建立了与该VNFM的连接。In the embodiment of the present invention, after the VIM receives the request message sent by the VNFM, the VIM may first determine whether it establishes a connection with the VNFM. Since the information about the VNFM that has been connected to the VIM is stored in the VIM, for example, the VNFM that has established a connection with the VIM, the VIM can determine whether the VNFM is saved by determining whether it holds the VNFM identifier. A connection to the VNFM is established.
具体的,VIM确定其未建立与该VNFM的连接的方法,与如图2所示实施例中,VNFM确定其未建立与VIM的连接的方法类似,具体可参见如图2所示实施例中VNFM确定其未建立与VIM的连接的方法,此处不再赘述。Specifically, the VIM determines that the method for establishing a connection with the VNFM is not established. In the embodiment shown in FIG. 2, the VNFM determines that the method for establishing a connection with the VIM is not established. For details, refer to the embodiment shown in FIG. 2 . The VNFM determines its method of establishing a connection with the VIM and will not be described here.
进一步地,当VIM未建立与该VNFM的连接时,VIM需建立立与该VNFM的连接,即可以理解为VIM将该VNFM的标识和该VNFM的连接信息进行保存。Further, when the VIM does not establish a connection with the VNFM, the VIM needs to establish a connection with the VNFM, that is, it can be understood that the VIM saves the identifier of the VNFM and the connection information of the VNFM.
示例性的,VIM可以将该VNFM连接信息保存到该VIM内特定的单元中。其中,该特定的单元可以为该VIM中专门用于发送数据的传输单元;也可以该VIM中新创建的一个虚拟的通信接口,该通信接口可以是该VIM通过预设算法,根据该VNFM的连接信息创 建的,当该VIM需要向该VNFM发送数据时,该VIM可以通过该通信接口进行发送。Exemplarily, the VIM can save the VNFM connection information to a specific unit within the VIM. The specific unit may be a transmission unit dedicated to transmitting data in the VIM; or a virtual communication interface newly created in the VIM, the communication interface may be the VIM through a preset algorithm, according to the VNFM Connection information The VIM can be sent through the communication interface when the VIM needs to send data to the VNFM.
该VNFM的标识能够唯一表征该VNFM,当VIM在保存了该VNFM的标识后,VIM可以在后续需要与该VNFM进行通信时,通过该VNFM的标识识别该VNFM。The identifier of the VNFM can uniquely identify the VNFM. When the VIM saves the identifier of the VNFM, the VIM can identify the VNFM through the identifier of the VNFM when it needs to communicate with the VNFM.
需要说明的是,VIM能够接收到该VNFM发送的请求消息,表明该VNFM已经保存了该VIM的标识以及该VIM的连接信息,因此,当VIM保存了该请求消息中携带的该VNFM的标识和该VNFM的连接信息后,该VIM与该VNFM之间的连接建立成功。It should be noted that the VIM can receive the request message sent by the VNFM, indicating that the VNFM has saved the identifier of the VIM and the connection information of the VIM. Therefore, when the VIM saves the identifier of the VNFM carried in the request message, After the connection information of the VNFM, the connection between the VIM and the VNFM is established successfully.
本发明实施例提供一种建立VNFM与VIM之间的连接的方法,该方法可以包括VIM接收VNFM发送的请求消息,该请求消息中携带该VNFM的标识和该VNFM的连接信息,当VIM未建立与该VNFM的连接时,VIM保存该VNFM的标识和该VNFM的连接信息。通过该方法,VIM能够在接收到VNFM发送的请求消息后,自动保存该请求消息中携带的该VNFM的标识和该VNFM的连接信息,以完成该VIM与该VNFM之间的连接的建立,而无需进行手动建立,从而大大提高了建立VIM与VNFM之间的连接的效率,进而提高了VNF的资源分配的效率。An embodiment of the present invention provides a method for establishing a connection between a VNFM and a VIM. The method may include the VIM receiving a request message sent by the VNFM, where the request message carries the identifier of the VNFM and the connection information of the VNFM, when the VIM is not established. When connecting to the VNFM, the VIM saves the identity of the VNFM and the connection information of the VNFM. With the method, the VIM can automatically save the identifier of the VNFM and the connection information of the VNFM carried in the request message after receiving the request message sent by the VNFM, so as to complete the establishment of the connection between the VIM and the VNFM. No need to manually establish, which greatly improves the efficiency of establishing a connection between VIM and VNFM, thereby improving the efficiency of resource allocation of VNF.
本发明实施例提供一种建立VNFM与VIM之间的连接的方法,如图4所示,该方法可以包括:An embodiment of the present invention provides a method for establishing a connection between a VNFM and a VIM. As shown in FIG. 4, the method may include:
S301、管理节点获取VIM的标识,该VIM为满足待分配资源的VNF的资源需求信息的VIM。S301. The management node acquires an identifier of the VIM, where the VIM is a VIM that meets resource requirement information of the VNF of the resource to be allocated.
在本发明实施例中,管理节点可以为该待分配资源的VNF所在的NFV系统中的NFVO,也可以为能够管理该NFV系统中所有VIM的功能节点。In the embodiment of the present invention, the management node may be an NFVO in the NFV system where the VNF of the resource to be allocated is located, or a function node capable of managing all VIMs in the NFV system.
在管理节点中,设置有资源映射表,该资源映射表中记录了该NFV系统中的每个VIM的相关信息,包括每个VIM的标识、连接信息、所管理的资源以及及资源的分配情况等,例如,每个VIM负责管理的中央处理器(英文:central processing unit,缩写:CPU) 的数量,CPU的类型,内存的数量,以及未使用的CPU的类型及其数量,内存的数量等。In the management node, a resource mapping table is set, and the information about each VIM in the NFV system is recorded in the resource mapping table, including the identifier of each VIM, the connection information, the managed resources, and the allocation of resources. Etc. For example, the central processing unit (English: central processing unit, abbreviation: CPU) that each VIM is responsible for managing. The number, the type of CPU, the amount of memory, and the type of unused CPU and its number, the amount of memory, and so on.
VNF的资源需求信息可以为该VNF的虚拟网络功能描述器(英文:virtualized network function descriptor,缩写:VNFD)的标识,配置风格(英文:deployment flavor)的标识等信息。管理节点可以根据该VNF的VNFD的标识指示的VNFD,确定该VNF需要的资源,例如,可以包括该VNF需要的CPU的数量,CPU的类型,内存数量等。The resource requirement information of the VNF may be an identifier of a virtual network function descriptor (VNFD) of the VNF, and an identifier of a configuration style (English: deployment flavor). The management node may determine the resources required by the VNF according to the VNFD indicated by the identifier of the VNFD of the VNF. For example, the number of CPUs required by the VNF, the type of the CPU, the amount of the memory, and the like may be included.
因此,当管理节点通过查询该资源映射表,确定能够满足待分配资源的VNF的资源需求信息VIM后,可以在该资源映射表中获取该VIM的标识,并直接确定由该VIM为该VNF分配资源。Therefore, after the management node determines the resource requirement information VIM of the VNF that can satisfy the resource to be allocated by querying the resource mapping table, the VIM identifier can be obtained in the resource mapping table, and the VIM is directly determined to be allocated by the VIM to the VNF. Resources.
管理节点也可以在获取到该VIM的标识后,先指示该VIM进行资源预留,即向该VIM发送资源预留请求消息,该资源预留信息中携带了该资源需求信息,若该VIM经过自身判断确定其满足该资源需求信息,则该VIM会向管理节点发送资源预留应答消息,当管理节点接收到该资源预留应答消息时,可以确定由该VIM为该VNF分配资源。After obtaining the identifier of the VIM, the management node may first instruct the VIM to perform resource reservation, that is, send a resource reservation request message to the VIM, where the resource reservation information carries the resource requirement information, if the VIM passes the The VIM sends a resource reservation response message to the management node, and when the management node receives the resource reservation response message, it can be determined that the VIM allocates resources for the VNF.
S302、管理节点根据该VIM的标识,获取与该VIM的标识对应的该VIM的连接信息。S302. The management node acquires connection information of the VIM corresponding to the identifier of the VIM according to the identifier of the VIM.
具体的,管理节点可以直接在该资源映射表中查找与该VIM的标识对应的该VIM的连接信息。Specifically, the management node may directly search for the connection information of the VIM corresponding to the identifier of the VIM in the resource mapping table.
S303、管理节点向VNFM发送通知消息,该通知消息中携带该VIM的标识和该VIM的连接信息,该VIM的标识和该VIM的连接信息用于该VNFM建立与该VIM之间的连接。S303. The management node sends a notification message to the VNFM, where the notification message carries the identifier of the VIM and the connection information of the VIM, and the identifier of the VIM and the connection information of the VIM are used by the VNFM to establish a connection with the VIM.
在本发明实施例中,当管理节点确定能够为该VNF分配资源的VIM的标识后,管理节点会将该VIM的标识携带在通知消息中发送至管理该VNF的VNFM,以通知该VNFM可以向该VIM发送请求消息,以请求该VIM为该VNF分配资源。In the embodiment of the present invention, after the management node determines the identifier of the VIM that can allocate the resource to the VNF, the management node carries the identifier of the VIM in the notification message and sends it to the VNFM that manages the VNF to notify the VNFM that the VNFM can The VIM sends a request message to request the VIM to allocate resources for the VNF.
为避免该VNFM在接收到通知消息后,由于该VNFM和该VIM 之间还未建立连接,而导致该VNFM无法向该VIM发送请求消息的情况,在本发明实施例中,管理节点可以在向该VNFM发送通知消息之前,先获取该VIM的连接信息,并将该VIM的标识和该VIM的连接信息都携带在通知消息中发送至该VNFM,以使得该VNFM接收到通知消息后,能够在未建立与该VIM的连接的情况下,根据通知消息中携带的该VIM的标识和该VIM的连接信息建立与该VIM的连接,以保证该VNFM能够向该VIM发送请求消息。In order to avoid the VNFM after receiving the notification message, due to the VNFM and the VIM In the embodiment of the present invention, the management node may acquire the connection information of the VIM before sending the notification message to the VNFM, and the connection information may be obtained. The identifier of the VIM and the connection information of the VIM are carried in the notification message and sent to the VNFM, so that after receiving the notification message, the VNFM can be carried according to the notification message without establishing a connection with the VIM. The identifier of the VIM and the connection information of the VIM establish a connection with the VIM to ensure that the VNFM can send a request message to the VIM.
本发明实施例提供一种建立VNFM与VIM之间的连接的方法,可以包括管理节点获取VIM的标识和与该VIM的标识对应的该VIM的连接信息,并向VNFM发送通知消息,其中,该VIM为满足待分配资源的VNF的资源需求信息的VIM,该通知消息中携带该VIM的标识和该VIM的连接信息,该VIM的标识和该VIM的连接信息用于该VNFM建立与该VIM的连接。通过该方法,管理节点能够将VIM的标识和该VIM的连接信息携带在通知消息中,发送至VNFM,使得该VNFM能够自动保存该VIM的标识和该VIM的连接信息,以自动建立与该VIM的连接,从而提高了建立VIM与VNFM之间的连接的效率,进而提高了VNF的资源分配的效率。The embodiment of the present invention provides a method for establishing a connection between a VNFM and a VIM, which may include the management node acquiring the identifier of the VIM and the connection information of the VIM corresponding to the identifier of the VIM, and sending a notification message to the VNFM, where the The VIM is a VIM that meets the resource requirement information of the VNF of the resource to be allocated. The notification message carries the identifier of the VIM and the connection information of the VIM, and the identifier of the VIM and the connection information of the VIM are used by the VNFM to establish the VIM with the VIM. connection. With the method, the management node can carry the identifier of the VIM and the connection information of the VIM in the notification message, and send the information to the VNFM, so that the VNFM can automatically save the identifier of the VIM and the connection information of the VIM to automatically establish the VIM with the VIM. The connection improves the efficiency of establishing a connection between the VIM and the VNFM, thereby improving the efficiency of resource allocation of the VNF.
实施例二Embodiment 2
本发明实施例提供一种建立VNFM与VIM之间的连接的方法,可以应用于需要为VNF分配资源的场景中,如图5所示,该方法可以包括:The embodiment of the present invention provides a method for establishing a connection between a VNFM and a VIM, which can be applied to a scenario in which a resource needs to be allocated for a VNF. As shown in FIG. 5, the method may include:
S401、管理节点获取VIM的标识,该VIM为满足待分配资源的VNF的资源需求信息的VIM。S401. The management node acquires an identifier of the VIM, where the VIM is a VIM that meets resource requirement information of the VNF of the resource to be allocated.
需要说明的是,待分配资源的VNF可以为待实例化的VNF,也可以为待扩展的VNF。It should be noted that the VNF of the resource to be allocated may be a VNF to be instantiated or a VNF to be extended.
即在上述S401之前,当该VNF所在的NFV系统中的网元管理节点(英文:element manager,缩写:EM)、NM、VNFM或者NFVO等功能节点发起对该VNF的实例化,或者发起对该VNF的扩展(英文:scale)后,由管理该VNF的VNFM向管理节点发送授予生命 周期管理请求(英文:grant lifecycle operation)消息。That is, before the above S401, when the function node of the network element management node (English: element manager, EM), NM, VNFM or NFVO in the NFV system where the VNF is located initiates instantiation of the VNF, or initiates the After the extension of VNF (English: scale), the VNFM that manages the VNF sends the life to the management node. Periodic life management request (English: grant lifecycle operation) message.
其中,授予生命周期管理请求消息包括该VNF的VNFD的标识和部署风格的标识等资源需求信息,以指示管理节点根据该资源需求信息对该VNF进行实例化或者扩展。从而,管理节点可以根据保存的资源映射表和该VNF的资源需求信息,为该VNF确定满足该资源需求信息的VIM,即能够为该VNF分配资源的VIM。The grant lifecycle management request message includes resource requirement information such as an identifier of the VNFD of the VNF and an identifier of the deployment style, to instruct the management node to instantiate or expand the VNF according to the resource requirement information. Therefore, the management node may determine, according to the saved resource mapping table and the resource requirement information of the VNF, a VIM that satisfies the resource requirement information for the VNF, that is, a VIM that can allocate resources for the VNF.
具体的,上述S401的实现方式可以参见如图4所示的实施例中的S301的实现方式,此处不再赘述。For the implementation of the foregoing S401, refer to the implementation manner of S301 in the embodiment shown in FIG. 4, and details are not described herein again.
需要说明的是,待分配资源的VNF需要的资源可能只需由一个VIM为该VNF进行分配,也可能同时需要由多个VIM为该VNF进行分配,即满足该资源需求信息的VIM可能至少存在一个,该至少一个VIM中,可能每个VIM都与管理该VNF的VNFM之间建立了连接,也可能都与该VNFM之间没有建立连接,或者,该至少一个VIM中包括了与该VNFM之间建立了连接的VIM,和与该VNFM之间没有建立连接的VIM。It should be noted that the resources required by the VNF of the resource to be allocated may need to be allocated by the VIM for the VNF, or may be allocated by the multiple VIMs for the VNF, that is, the VIM that satisfies the resource requirement information may exist at least. In the at least one VIM, each VIM may establish a connection with the VNFM that manages the VNF, or may not establish a connection with the VNFM, or the at least one VIM includes the VNFM. A VIM is established between the connection and a VIM that is not connected to the VNFM.
在本发明实施例中,假设,该VIM为该至少一个VIM中的一个,且该VIM与该VNFM之间并未建立连接。In the embodiment of the present invention, it is assumed that the VIM is one of the at least one VIM, and no connection is established between the VIM and the VNFM.
S402、管理节点根据该VIM的标识,获取与该VIM的标识对应的该VIM的连接信息。S402. The management node acquires connection information of the VIM corresponding to the identifier of the VIM according to the identifier of the VIM.
S403、管理节点向VNFM发送通知消息,该通知消息中携带该VIM的标识和该VIM的连接信息。S403. The management node sends a notification message to the VNFM, where the notification message carries the identifier of the VIM and the connection information of the VIM.
具体的,上述S402-S403的实现方式,具体可参见如图4所示实施例中S302-S303的是实现方式,此处不再赘述。Specifically, the implementation manners of the foregoing S402-S403 are specifically implemented in the embodiment S302-S303 in the embodiment shown in FIG. 4, and details are not described herein again.
S404、该VNFM接收到通知消息后,当该VNFM未建立与该VIM的连接时,VNFM保存该VIM的标识和该VIM的连接信息。S404. After the VNFM receives the notification message, when the VNFM does not establish a connection with the VIM, the VNFM saves the identifier of the VIM and the connection information of the VIM.
S405、该VNFM向该VIM发送请求消息,该请求消息中携带该VNFM的标识和该VNFM的连接信息。S405. The VNFM sends a request message to the VIM, where the request message carries the identifier of the VNFM and the connection information of the VNFM.
具体的,上述S404-S405的实现方式和如图2所示实施例中S102-S103的实现方式相同,具体可参见如图2所示实施例中对 S102-S103的相关描述,此处不再赘述。Specifically, the implementation manners of the foregoing S404-S405 are the same as the implementation manners of the S102-S103 in the embodiment shown in FIG. The related description of S102-S103 is not described here.
进一步地,需要说明的是,当该VNFM将其标识和连接信息携带在请求消息中发送至该VIM时,由于在本发明实施例中,该请求消息用于指示该VIM为该VNF分配资源,因此,该请求消息还携带与资源相关的信息,例如,虚拟机(英文:virtual machine,缩写:VM)的配置参数,以及网络连接信息等。Further, it should be noted that, when the VNFM sends the identifier and the connection information to the VIM in the request message, in the embodiment of the present invention, the request message is used to indicate that the VIM allocates resources for the VNF. Therefore, the request message also carries resource-related information, such as configuration parameters of a virtual machine (virtual machine, abbreviated: VM), network connection information, and the like.
S406、该VIM接收到该请求消息后,当该VIM未建立与该VNFM的连接时,该VIM保存该VNFM的标识和该VNFM的连接信息。S406. After the VIM receives the request message, when the VIM does not establish a connection with the VNFM, the VIM saves the identifier of the VNFM and the connection information of the VNFM.
具体的,上述S406的实现方式可以参见如图3所示实施例中S102的实现方式,此处不再赘述。Specifically, the implementation manner of the above S406 can be referred to the implementation manner of S102 in the embodiment shown in FIG. 3, and details are not described herein again.
需要说明的是,该VIM在根据请求消息中携带的该VNFM的标识和该VNFM的连接信息,建立与该VNFM的连接时,由于在本发明实施例中,该请求消息用于指示该VIM为该VNF分配资源,因此,当该VIM接收到该请求消息后,还需根据该请求消息指示,启动相关的VM,并对启动的VM进行参数配置,以及对启动的VM进行相应的网络连接,以完成对该VNF的资源分配操作。It should be noted that, when the VIM establishes a connection with the VNFM according to the identifier of the VNFM carried in the request message and the connection information of the VNFM, in the embodiment of the present invention, the request message is used to indicate that the VIM is The VNF allocates resources. Therefore, after receiving the request message, the VIM needs to start the related VM according to the request message indication, perform parameter configuration on the activated VM, and perform corresponding network connection on the activated VM. To complete the resource allocation operation for the VNF.
S407、该VIM向该VNFM发送应答消息。S407. The VIM sends a response message to the VNFM.
当该VIM成功为该VNF分配资源后,会向该VNFM发送应答消息,以通知该VNFM为已为该VNF分配了资源。进而,该VNFM即可继续进行实例化该VNF或者扩展该VNF的后续操作,例如,包括对该VNF进行部署参数的配置,并通知EM,该VNF的实例化已经完成或者该VNF的扩展已经完成,再由EM对该VNF进行应用参数的配置等。具体可参见现有技术中的相关描述,此处不作具体描述。After the VIM successfully allocates resources for the VNF, it sends a response message to the VNFM to notify the VNFM that resources have been allocated for the VNF. In turn, the VNFM can continue to perform the subsequent operations of instantiating the VNF or extending the VNF, for example, including configuring the deployment parameters of the VNF, and notifying the EM that the instantiation of the VNF has been completed or the extension of the VNF has been completed. Then, the EM configures the application parameters of the VNF. For details, refer to related descriptions in the prior art, which are not specifically described herein.
可以理解的是,在本发明实施例中,若该VNFM能够接收到该应答消息,则该VNFM即可确定该VIM已保存了该VNFM的标识和该VNFM的连接信息,进而确定该VIM与该VNFM之间的连接已建立成功。 It can be understood that, in the embodiment of the present invention, if the VNFM can receive the response message, the VNFM can determine that the VIM has saved the identifier of the VNFM and the connection information of the VNFM, thereby determining the VIM and the The connection between the VNFMs has been established successfully.
本发明实施例提供一种建立VNFM与VIM之间的连接的方法,如图6所示,该方法可以包括:An embodiment of the present invention provides a method for establishing a connection between a VNFM and a VIM. As shown in FIG. 6, the method may include:
S501、管理节点获取VIM的标识,该VIM为满足待分配资源的VNF的资源需求信息的VIM。S501. The management node acquires an identifier of the VIM, where the VIM is a VIM that meets resource requirement information of the VNF of the resource to be allocated.
其中,S501的具体实施方式可以参见上述S401的具体实现过程,此处不再赘述。For a specific implementation manner of the S501, refer to the specific implementation process of the foregoing S401, and details are not described herein again.
S502、管理节点确定该VIM与VNFM之间是否已建立连接。S502. The management node determines whether a connection is established between the VIM and the VNFM.
具体的,管理节点可以直接根据资源映射表确定该VIM与该VNFM之间是否已建立了连接。Specifically, the management node may directly determine, according to the resource mapping table, whether a connection has been established between the VIM and the VNFM.
需要说明的是,由于在资源映射表中记录有该VIM与该NFV系统中的VNFM之间的连接情况,即管理节点可以通过查询该资源映射表,确定该NFV系统中的哪些VNFM与该VIM之间建立了连接,从而管理节点可以通过查询该资源映射表确定该VNFM是否为已与该VIM之间建立了连接的VNFM。It should be noted that, since the connection between the VIM and the VNFM in the NFV system is recorded in the resource mapping table, the management node may determine which VNFMs in the NFV system are associated with the VIM by querying the resource mapping table. A connection is established between the management node to determine whether the VNFM is a VNFM that has established a connection with the VIM by querying the resource mapping table.
或者,在资源映射表中也记录有该VNFM与该NFV系统中的VIM之间的连接情况,即管理节点可以通过查询该资源映射表,确定该NFV系统中的哪些VIM与该VNFM之间建立了连接,从而管理节点可以通过查询该资源映射表确定该VIM是否为已与该VNFM之间建立了连接的VNFM。Alternatively, the connection between the VNFM and the VIM in the NFV system is also recorded in the resource mapping table, that is, the management node can determine which VIMs in the NFV system are established with the VNFM by querying the resource mapping table. The connection is made so that the management node can determine whether the VIM is a VNFM that has established a connection with the VNFM by querying the resource mapping table.
S503、当管理节点确定该VIM与该VNFM之间未建立连接时,管理节点根据该VIM的标识,获取与该VIM的标识对应的该VIM的连接信息。S503. When the management node determines that the connection between the VIM and the VNFM is not established, the management node acquires the connection information of the VIM corresponding to the identifier of the VIM according to the identifier of the VIM.
S504、管理节点向该VNFM发送通知消息,该通知消息中携带该VIM的标识和该VIM的连接信息。S504. The management node sends a notification message to the VNFM, where the notification message carries the identifier of the VIM and the connection information of the VIM.
需要说明的是,若管理节点确定该VIM与该VNFM之间已建立连接,则管理节点不需要获取该VIM的连接信息,只将该VIM的标识携带在通知消息中发送至该VNFM。It should be noted that, if the management node determines that the connection between the VIM and the VNFM is established, the management node does not need to obtain the connection information of the VIM, and only the identifier of the VIM is carried in the notification message and sent to the VNFM.
若管理节点确定该VIM与该VNFM之间未建立连接,则管理节点需要获取该VIM的连接信息,并将该VIM的连接信息和该VIM 的标识都携带在通知消息中发送至该VNFM,以便于该VNFM根据该VIM的标识和该VIM的连接信息建立与该VIM的连接。If the management node determines that the connection between the VIM and the VNFM is not established, the management node needs to obtain the connection information of the VIM, and the connection information of the VIM and the VIM. The identifier is carried in the notification message and sent to the VNFM, so that the VNFM establishes a connection with the VIM according to the identifier of the VIM and the connection information of the VIM.
S505、该VNFM接收到通知消息后,当该VNFM未建立与该VIM的连接时,VNFM保存该VIM的标识和该VIM的连接信息。S505. After the VNFM receives the notification message, when the VNFM does not establish a connection with the VIM, the VNFM saves the identifier of the VIM and the connection information of the VIM.
S506、该VNFM向该VIM发送请求消息,该请求消息中携带该VNFM的标识和该VNFM的连接信息。S506. The VNFM sends a request message to the VIM, where the request message carries the identifier of the VNFM and the connection information of the VNFM.
S507、该VIM接收到该请求消息后,当该VIM未建立与该VNFM的连接时,该VIM保存该VNFM的标识和该VNFM的连接信息。S507. After the VIM receives the request message, when the VIM does not establish a connection with the VNFM, the VIM saves the identifier of the VNFM and the connection information of the VNFM.
S508、该VIM向该VNFM发送应答消息。S508. The VIM sends a response message to the VNFM.
具体的,上述S505-S508的实现方式和如图5所示实施例中S404-S407的实现方式相同,具体可参见如图3所示实施例中的相关描述,此处不再赘述。Specifically, the implementation manners of the foregoing S505-S508 are the same as the implementation manners of the S404-S407 in the embodiment shown in FIG. 5 . For details, refer to the related description in the embodiment shown in FIG. 3 , and details are not described herein again.
进一步地,结合图6,如图7所示,在上述S501之后,S502之前,本发明实施例提供的建立VNFM与VIM之间的连接的方法,还可以包括:Further, in conjunction with FIG. 6, as shown in FIG. 7, after the foregoing S501, before S502, the method for establishing a connection between the VNFM and the VIM provided by the embodiment of the present invention may further include:
S509、管理节点向该VIM发送资源预留请求消息。S509. The management node sends a resource reservation request message to the VIM.
其中,该资源预留请求消息中携带该VNFM的标识,该VNFM的标识用于该VIM确定是否已建立与该VNFM的连接。该资源预留请求消息中还携带该资源需求信息,该预留请求消息用于指示该VIM确定其是否满足该资源需求信息。The resource reservation request message carries the identifier of the VNFM, and the identifier of the VNFM is used by the VIM to determine whether a connection with the VNFM has been established. The resource reservation request message further carries the resource requirement information, where the reservation request message is used to indicate whether the VIM determines whether the resource requirement information is met.
S510、该VIM接收到该资源预留请求消息后,确定该VIM是否满足该资源需求信息。S510. After receiving the resource reservation request message, the VIM determines whether the VIM satisfies the resource requirement information.
具体的,第一VIM根据该资源预留请求消息确定是否满足该资源需求信息的具体方式可以参见现有技术中的相关描述,此处不再赘述。Specifically, the specific manner for the first VIM to determine whether the resource requirement information is met according to the resource reservation request message may be referred to the related description in the prior art, and details are not described herein again.
S511、当该VIM确定满足该资源需求信息时,该VIM根据该VNFM的标识确定是否已建立与该VNFM的连接。S511. When the VIM determines that the resource requirement information is met, the VIM determines, according to the identifier of the VNFM, whether a connection with the VNFM has been established.
需要说明的是,在本发明实施例中,当该VIM确定其满足该资 源需求信息时,该VIM可以进一步根据该资源预留请求消息中携带的VNFM的标识确定该VIM是否已建立与该VNFM的连接。It should be noted that, in the embodiment of the present invention, when the VIM determines that it meets the When the source information is required, the VIM may further determine, according to the identifier of the VNFM carried in the resource reservation request message, whether the VIM has established a connection with the VNFM.
具体的,VIM根据VNFM的标识确定是否已建立与该VNFM的连接的方式,可以参见如图3所示实施例中的S202中的相关描述,此处不再赘述。Specifically, the VIM determines, according to the identifier of the VNFM, whether the connection with the VNFM has been established. For details, refer to the related description in S202 in the embodiment shown in FIG. 3, and details are not described herein again.
进一步地,VIM在根据VNFM的标识确定是否已建立与该VNFM的连接后,可形成一个连接指示标识,用于表征该VIM是否已建立与该VNFM的连接。例如,当该连接指示标识为1时,表征该VIM已建立与该VNFM的连接;当该连接指示标识为0时,表征该VIM未建立与该VNFM的连接。Further, after determining, according to the identifier of the VNFM, whether the VIMM has established a connection with the VNFM, the VIM may form a connection indication identifier for indicating whether the VIM has established a connection with the VNFM. For example, when the connection indication flag is 1, it indicates that the VIM has established a connection with the VNFM; when the connection indication flag is 0, it indicates that the VIM does not establish a connection with the VNFM.
S5012、该VIM向管理节点发送资源预留应答消息,该资源预留应答消息中携带连接指示标识。S5012: The VIM sends a resource reservation response message to the management node, where the resource reservation response message carries a connection indication identifier.
需要说明的是,在本发明实施例中,若该VIM确定其满足该资源需求信息,则该VIM会向管理节点发送资源预留应答消息,以通知管理节点,该VIM可以为该VNF分配资源。即管理节点可以根据该VIM发送资源预留应答消息,进一步确定该VIM为满足该资源需求信息的VIM。It should be noted that, in the embodiment of the present invention, if the VIM determines that the resource requirement information is met, the VIM sends a resource reservation response message to the management node to notify the management node that the VIM can allocate resources for the VNF. . That is, the management node may send a resource reservation response message according to the VIM, and further determine that the VIM is a VIM that satisfies the resource requirement information.
进一步地,如图7所示,上述S502可以为:Further, as shown in FIG. 7, the above S502 may be:
S502a、管理节点根据该连接指示标识,确定该VIM与该VNFM之间是否已建立连接。S502a. The management node determines, according to the connection indication identifier, whether a connection is established between the VIM and the VNFM.
进一步地,在本发明实施例中,当管理节点确定了满足该VNF的资源需求信息的VIM后,管理节点还可以获取该VIM的资源配额信息,该资源配额信息用于指示允许该VIM为该VNFM分配的资源配额(英文:quota)。Further, in the embodiment of the present invention, after the management node determines the VIM that satisfies the resource requirement information of the VNF, the management node may further obtain the resource quota information of the VIM, where the resource quota information is used to indicate that the VIM is allowed to be the Resource quota allocated by VNFM (English: quota).
示例性的,该资源配额信息可以为一个具体的百分比,例如30%,那么该资源配额信息即可指示允许该VIM为该VNFM分配的资源配额为,该VIM的资源总量的30%。该资源配额信息也可为某一特定种类的资源的配额,例如,20%的计算资源,那么该资源配额信息即可指示允许该VIM为该VNFM分配的最大计算资源量为, 该VIM的计算资源总量的20%等。对此,本发明实施例不作限制。Exemplarily, the resource quota information may be a specific percentage, for example, 30%, then the resource quota information may indicate that the resource quota allocated by the VIM for the VNFM is 30% of the total resource of the VIM. The resource quota information may also be a quota of a specific type of resource, for example, 20% of the computing resource, then the resource quota information may indicate that the maximum computing resource amount allowed by the VIM to be allocated to the VNFM is 20% of the total computing resources of the VIM. In this regard, the embodiments of the present invention are not limited.
需要说明的是,资源配额信息可以为管理节点针对某一个VNFM,为该VIM配置的,即该资源配额信息用于指示允许该VIM为某一个VNFM分配的资源配额。资源配额信息也可以为管理节点为该VIM配置的,用于指示允许该VIM为任意一个VNFM分配的资源配额。It should be noted that the resource quota information may be configured for the VIM for the VIMM, that is, the resource quota information is used to indicate the resource quota that the VIM is allowed to allocate for a VNFM. The resource quota information may also be configured for the VIM by the management node, and is used to indicate a resource quota that is allowed to be allocated by the VIM to any one of the VNFMs.
其中,资源配额可以指允许该VIM每一次为该VNFM分配的最大资源量,例如,该资源配额信息为2,当该VNFM每一次向该请求VIM分配资源时,允许该VIM最多为该VNFM分配2个CPU。The resource quota may be the maximum amount of resources that the VIM is allowed to allocate for the VNFM. For example, the resource quota information is 2. When the VNFM allocates resources to the requesting VIM, the VIM is allowed to allocate the VNFM at most. 2 CPUs.
资源配额也可以指允许该VIM总共为该VNFM分配的最大资源量,例如,假设该资源配额信息为6,当该VNFM请求该VIM为由其管理的VNF1分配4个CPU时,由于4<6,因此,该VIM允许为该VNFM分配该4个CPU。当该VNFM再次请求该VIM为由其管理的VNF2分配3个CPU时,此时,该VNFM共向该VIM请求为其分配7个CPU,由于7>6,因此,该VIM拒绝再为该VNFM分配3个CPU。The resource quota may also refer to the maximum amount of resources that the VIM is allowed to allocate for the VNFM in total. For example, if the resource quota information is 6, when the VNFM requests the VIM to allocate 4 CPUs for the VNF1 managed by it, 4<6 Therefore, the VIM allows the 4 CPUs to be allocated for the VNFM. When the VNFM requests the VIM to allocate 3 CPUs for the VNF2 managed by it, the VNFM requests the VIM to allocate 7 CPUs to it. Since 7>6, the VIM refuses to be the VNFM again. Allocate 3 CPUs.
需要说明的是,VIM为由某个VNFM负责管理的VNF分配资源,即可以理解为该VIM为该VNFM分配资源。It should be noted that the VIM allocates resources for the VNF managed by a certain VNFM, that is, the VIM allocates resources for the VNFM.
进一步的,管理节点可以直接将为VIM配置的资源配额信息发送至该VIM。当该资源配信息为该VIM针对与某一个VNFM的资源配额信息时,管理节点也可向该VNFM分配该资源配额信息,并有该VNFM转发至该VIM。Further, the management node may directly send the resource quota information configured for the VIM to the VIM. When the resource allocation information is the resource quota information of the VIM for a certain VNFM, the management node may also allocate the resource quota information to the VNFM, and the VNFM forwards the VMN to the VIM.
具体的,当该资源配信息为该VIM针对与某一个VNFM的资源配额信息时,结合图6,如图8所示,上述S502之后,S504之前本发明实施例提供的建立VNFM与VIM之间的连接的方法还包括:Specifically, when the resource allocation information is the resource quota information of the VIM for a certain VNFM, in conjunction with FIG. 6, as shown in FIG. 8, after the foregoing S502, before the S504, the VNFM and the VIM are provided between the VNFM and the VIM provided by the embodiment of the present invention. The method of connection also includes:
S513、管理节点获取管理节点为该VIM配置的资源配额信息。S513. The management node acquires resource quota information configured by the management node for the VIM.
需要说明的是,上述S513和S503的执行顺序不作限制,即可以在执行S503之前执行S513,也可以在执行S503之后执行S513。It should be noted that the execution order of the foregoing S513 and S503 is not limited, that is, S513 may be performed before S503 is executed, or S513 may be executed after S503 is executed.
进一步地,如图8所示,上述S504可以包括: Further, as shown in FIG. 8, the foregoing S504 may include:
S504a、管理节点向VNFM发送通知消息,该通知消息中携带该VIM的标识、该VIM的连接信息以及该资源配额信息。S504a. The management node sends a notification message to the VNFM, where the notification message carries the identifier of the VIM, the connection information of the VIM, and the resource quota information.
管理节点将该资源配额信息携带在通知消息中发送至该VNFM后,可以由该VNFM将该资源配额信息转发至该VIM中。具体的,上述S506可以包括:After the management node carries the resource quota information in the notification message and sends the information to the VNFM, the resource quota information may be forwarded by the VNFM to the VIM. Specifically, the foregoing S506 may include:
S506a、该VNFM向该VIM发送请求消息,该请求消息中携带该VNFM的标识、该VNFM的连接信息以及该资源配额信息。S506a. The VNFM sends a request message to the VIM, where the request message carries the identifier of the VNFM, the connection information of the VNFM, and the resource quota information.
上述S507可以包括:The above S507 may include:
S507a、该VIM接收到该请求消息后,当该VIM未建立与该VNFM的连接时,该VIM保存该VNFM的标识、该VNFM的连接信息以及该资源配额信息。After the VIM receives the request message, when the VIM does not establish a connection with the VNFM, the VIM saves the identifier of the VNFM, the connection information of the VNFM, and the resource quota information.
进一步地,VIM在建立与VNFM的连接的过程中,将该资源配额信息进行保存后,当该VIM为该VNFM分配资源时,若该VNFM向该VIM请求的资源量超过该资源配额信息所指示的资源配额,则该VIM可以拒绝为该VNFM进行资源分配。Further, in the process of establishing a connection with the VNFM, the VIM saves the resource quota information, and when the VIM allocates resources for the VNFM, if the amount of resources requested by the VNFM to the VIM exceeds the resource quota information The resource quota, then the VIM can refuse to allocate resources for the VNFM.
可选的,当VNFM向VIM请求的资源量超过针对该VNFM的资源配额时,在本发明实施例中,还可以通过如下几种方式为该VNFM进行资源分配。Optionally, when the amount of resources requested by the VNFM to the VIM exceeds the resource quota for the VNFM, in the embodiment of the present invention, resource allocation may be performed for the VNFM in the following manners.
下面结合VIM1、VIM2、VNFM1,以及VNFM2,对如下几种方式进行示例性的说明。The following modes are exemplified in the following with VIM1, VIM2, VNFM1, and VNFM2.
方式1:Method 1:
S10、VIM1接收VNFM1的请求消息后,根据该请求消息确定VNFM1向VIM1请求的资源,超过了针对VNFM1的资源配额。S10. After receiving the request message of the VNFM1, the VIM1 determines, according to the request message, the resource requested by the VNFM1 to the VIM1, and exceeds the resource quota for the VNFM1.
其中,资源配额是指允许VIM1总共为VNFM1分配的最大资源量。The resource quota refers to the maximum amount of resources that VIM1 is allowed to allocate for VNFM1 in total.
S11、VIM1向管理节点发送通知消息,通知管理节点VNFM1请求的资源量超过了该资源配额。S11. The VIM1 sends a notification message to the management node, and notifies the management node that the amount of resources requested by the VNFM1 exceeds the resource quota.
示例性的,VIM1可以通知管理节点,VNFM1请求的资源量和该资源配额之间的关系、请求的超出的资源量的信息等。例如,针 对VNFM1的资源配额为VIM1的资源总量的40%,VNFM1在本次向VIM1请求资源分配前,已经向VIM1请求了VIM1的20%的资源,本次VNFM1向VIM1请求VIM1的30%的资源,那么,VIM1可以通知管理节点,VNFM1的剩余的可用资源量为VIM1的资源总量的20%,例如,VIM1的资源总量为10个CPU,那么VNFM1的剩余的可用资源量为2个CPU。Exemplarily, VIM1 can notify the management node, the relationship between the amount of resources requested by VNFM1 and the resource quota, the information of the requested excess resource amount, and the like. For example, the needle The resource quota for VNFM1 is 40% of the total resource of VIM1. VNFM1 has requested 20% of VIM1 resources from VIM1 before requesting resource allocation to VIM1. This time, VNFM1 requests VIM1 for 30% of VIM1 resources. Then, VIM1 can notify the management node that the remaining available resources of VNFM1 are 20% of the total resources of VIM1. For example, the total amount of resources of VIM1 is 10 CPUs, and the remaining available resources of VNFM1 are 2 CPUs. .
S12、管理节点根据保存的资源使用信息进行判断或决策。S12. The management node performs judgment or decision according to the saved resource usage information.
其中,资源使用信息用于表征VIM1的资源分配情况,记录于该管理节点保存的资源映射表中。The resource usage information is used to represent the resource allocation of the VIM1, and is recorded in the resource mapping table saved by the management node.
示例性的,若管理节点通过对VIM1的资源使用信息进行查询,确定VNFM2在VIM1上已使用的资源量较少,该VNFM2在VIM1上的剩余的可用资源量较多,则管理节点可以调整VNFM1和VNFM2在VIM1上的资源配额。Exemplarily, if the management node queries the resource usage information of the VIM1 to determine that the VNFM2 has a small amount of resources used on the VIM1, and the VNFM2 has more remaining resources available on the VIM1, the management node can adjust the VNFM1. And VNFM2 resource quota on VIM1.
S13、管理节点向VIM1发送针对VNFM1的更新后的资源配额信息。S13. The management node sends the updated resource quota information for VNFM1 to VIM1.
示例性的,管理节点可以将VNFM1在VIM1上的资源配额,从VIM1的资源总量的40%调整到60%,而将VNFM2在VIM1上的资源配额,从VIM1的资源总量的60%调整到40%。Exemplarily, the management node can adjust the resource quota of VNFM1 on VIM1 from 40% of the total amount of resources of VIM1 to 60%, and adjust the resource quota of VNFM2 on VIM1 from 60% of the total amount of resources of VIM1. Up to 40%.
S14、VIM1根据接收到的更新后的资源配额信息,为VNFM1分配资源,并向VNFM1发送应答消息。S14. The VIM1 allocates resources to the VNFM1 according to the received updated resource quota information, and sends a response message to the VNFM1.
需要说明的是,VIM1根据更新后的资源配额信息,确定可以满足VNFM1的请求,从而VIM1可以为VNFM1分配资源。It should be noted that VIM1 determines that the request of VNFM1 can be satisfied according to the updated resource quota information, so that VIM1 can allocate resources for VNFM1.
方式2:Method 2:
S20、VIM1接收VNFM1的请求消息,根据该请求消息确定VNFM1向VIM1请求的资源,超过了针对VNFM1的资源配额。S20. The VIM1 receives the request message of the VNFM1, and determines, according to the request message, the resource requested by the VNFM1 to the VIM1, exceeding the resource quota for the VNFM1.
S21、VIM1向管理节点发送通知消息,通知管理节点,VNFM1请求的资源量超过了该资源配额。S21. The VIM1 sends a notification message to the management node to notify the management node that the amount of resources requested by the VNFM1 exceeds the resource quota.
S22、管理节点根据保存的资源使用信息进行判断或决策。S22. The management node performs judgment or decision according to the saved resource usage information.
示例性的,若管理节点通过对VIM1的资源使用信息进行查询, 确定VIM1的剩余资源量较少,则管理节点可以再对其他VIM的资源使用信息进行查询,确定一个剩余资源量较多的其他VIM,例如VIM2,为VNFM1分配资源。Exemplarily, if the management node queries the resource usage information of VIM1, If the amount of the remaining resources of the VIM1 is small, the management node can query the resource usage information of the other VIMs to determine other VIMs with a large amount of remaining resources, such as VIM2, to allocate resources for the VNFM1.
S23、管理节点向VNFM1发送VIM2的标识。S23. The management node sends the identifier of the VIM2 to the VNFM1.
S24、接收到VIM2的标识后,VNFM1向VIM2发送请求消息。S24. After receiving the identifier of the VIM2, the VNFM1 sends a request message to the VIM2.
S25、VIM2接收到该请求消息后,为VNFM1分配资源。S25. After receiving the request message, VIM2 allocates resources for VNFM1.
S26、VIM2向VNFM1发送应答消息。S26. VIM2 sends a response message to VNFM1.
方式3:Method 3:
S30、VIM1接收VNFM1的请求消息后,根据该请求消息确定VNFM1向VIM1请求的资源,超过了针对VNFM1的资源配额。S30. After receiving the request message of the VNFM1, the VIM1 determines, according to the request message, the resource requested by the VNFM1 to the VIM1, and exceeds the resource quota for the VNFM1.
S31、VIM向VNFM1发送拒绝消息。S31. The VIM sends a reject message to the VNFM1.
示例性的,该拒绝消息中可以携带VNFM1请求的资源量和该资源配额之间的关系、请求的超出的资源量的信息等。Exemplarily, the rejection message may carry the relationship between the amount of resources requested by the VNFM1 and the resource quota, the information of the requested excess resource, and the like.
S32、VNFM1根据拒绝消息进行决策。S32 and VNFM1 make a decision according to the rejection message.
示例性的,VNFM1可以根据该拒绝消息对待分配资源的VNF进行缩容,以使得VNFM1在该VIM上的剩余的可用资源量,能够满足缩容后的该VNF所需的资源量。Exemplarily, the VNFM1 can reduce the VNF of the resource to be allocated according to the reject message, so that the remaining available resources of the VNFM1 on the VIM can satisfy the amount of resources required for the VNF after the shrinking.
S33、VNFM1重新向VIM1发送更新后的请求消息。S33. VNFM1 resends the updated request message to VIM1.
其中,该请求消息中携带了更新后的资源信息。The request message carries the updated resource information.
S34、VIM1接收到该请求消息后,根据该请求消息,为VNFM1分配资源。After receiving the request message, the SIM and the VIM1 allocate resources to the VNFM1 according to the request message.
S35、VIM1并向VNFM1发送应答消息。S35. VIM1 sends a response message to VNFM1.
本发明实施例提供一种建立VNFM与VIM之间的连接的方法,该方法可以包括VNFM接收管理节点发送通知消息,该通知消息中携带VIM的标识和该VIM的连接信息,当VNFM未建立与该VIM的连接时,VNFM保存该VIM的标识和该VIM的连接信息,并向该VIM发送请求消息,该请求消息中携带该VNFM的标识和该VNFM的连接信息,其中,该VNFM的标识和该VNFM的连接信息用于该VIM建立与该VNFM的连接。通过上述方法,VNFM接收到 通知消息后,能够在确定未建立与该VIM的连接时,自动保该VIM的标识和该VIM的连接信息,并将该VNFM的标识和该VNFM的连接信息携带在该请求消息中发送至该VIM,以使得该VIM能够自动保存该VNFM的标识和该VNFM的连接信息,以完成该VNFM与该VIM之间的连接的建立,从而提高了建立VIM与VNFM之间的连接的效率,进而提高了VNF的资源分配的效率。An embodiment of the present invention provides a method for establishing a connection between a VNFM and a VIM. The method may include: the VNFM receiving management node sends a notification message, where the notification message carries the identifier of the VIM and the connection information of the VIM, when the VNFM is not established. When the VIM is connected, the VNFM saves the identifier of the VIM and the connection information of the VIM, and sends a request message to the VIM, where the request message carries the identifier of the VNFM and the connection information of the VNFM, where the VNFM is identified and The connection information of the VNFM is used by the VIM to establish a connection with the VNFM. Through the above method, VNFM receives After the notification message, when the connection with the VIM is not established, the identifier of the VIM and the connection information of the VIM are automatically saved, and the identifier of the VNFM and the connection information of the VNFM are carried in the request message and sent to the VIM, so that the VIM can automatically save the identifier of the VNFM and the connection information of the VNFM to complete the establishment of the connection between the VNFM and the VIM, thereby improving the efficiency of establishing a connection between the VIM and the VNFM, thereby improving The efficiency of resource allocation for VNF.
实施例三Embodiment 3
如图9所示,本发明实施例提供一种装置,所述装置可以是如图2,或如图5至如图8中的任一附图所示的实施例中所述的VNFM的实体装置,也可以是NFV系统中能够执行所述VNFM能够执行的方法流程的一个逻辑功能模块所在的实体装置,该实体装置可以独立安装在所述VNFM的实体装置内,也可以为一个能够与VNFM的实体装置通信的实体装置。该装置还可以通过芯片的形式呈现,该芯片中承载了能够实现所述VNFM能够执行的方法流程的应用程序。As shown in FIG. 9, an embodiment of the present invention provides an apparatus, which may be an entity of a VNFM as described in the embodiment shown in FIG. 2, or as shown in any of FIG. 5 to FIG. The device may also be a physical device in the NFV system in which a logical function module capable of executing the method flow that the VNFM can execute, the physical device may be independently installed in the physical device of the VNFM, or may be capable of interacting with the VNFM. A physical device that communicates with a physical device. The apparatus can also be presented in the form of a chip carrying an application capable of implementing a method flow that the VNFM can execute.
所述装置可以包括:The device can include:
接收单元10,用于接收管理节点发送的通知消息,所述通知消息中携带VIM的标识和所述VIM的连接信息,所述VIM的标识和所述VIM的连接信息用于VNFM建立与所述VIM的连接。The receiving unit 10 is configured to receive a notification message sent by the management node, where the notification message carries the identifier of the VIM and the connection information of the VIM, and the identifier of the VIM and the connection information of the VIM are used for establishing and speaking the VNFM. VIM connection.
保存单元11,用于当所述VNFM未建立与所述VIM的连接时,保存所述接收单元10接收的所述VIM的标识和所述VIM的连接信息。The saving unit 11 is configured to save the identifier of the VIM and the connection information of the VIM received by the receiving unit 10 when the VNFM does not establish a connection with the VIM.
发送单元12,用于向所述VIM发送请求消息,所述请求消息中携带所述VNFM的标识和所述VNFM的连接信息,所述VNFM的标识和所述VNFM的连接信息用于所述VIM建立与所述VNFM的连接。The sending unit 12 is configured to send a request message to the VIM, where the request message carries the identifier of the VNFM and the connection information of the VNFM, and the identifier of the VNFM and the connection information of the VNFM are used by the VIM Establish a connection with the VNFM.
可选的,所述保存单元11,具体用于确定所述接收单元10接收的所述VIM的标识和所述保存单元11保存的至少一个已与所述VNFM建立连接的VIM的标识是否相同。 Optionally, the saving unit 11 is specifically configured to determine whether the identifier of the VIM received by the receiving unit 10 and the identifier of the VIM that is saved by the saving unit 11 and that has established a connection with the VNFM are the same.
若所述VIM的标识和所述至少一个已与所述VNFM建立连接的VIM的标识均不相同,则所述VNFM未建立与所述VIM的连接,若所述VIM的标识和任意一个所述已与所述VNFM建立连接的VIM的标识相同,则所述VNFM已建立与所述VIM的连接。If the identifier of the VIM and the identifier of the at least one VIM that has established a connection with the VNFM are different, the VNFM does not establish a connection with the VIM, if the identifier of the VIM and any one of the The VIM that has established a connection with the VNFM has the same identity, and the VNFM has established a connection with the VIM.
可选的,所述接收单元10接收的所述VIM的连接信息至少包括所述VIM的IP地址。Optionally, the connection information of the VIM received by the receiving unit 10 includes at least an IP address of the VIM.
所述发送单元12发送的所述VNFM的连接信息至少包括所述VNFM的IP地址。The connection information of the VNFM sent by the sending unit 12 includes at least an IP address of the VNFM.
可选的,所述接收单元10接收的所述通知消息和所述发送单元12发送的所述请求消息中还携带资源配额信息,所述资源配额信息用于指示允许所述VIM为所述VNFM分配的资源配额。Optionally, the notification message received by the receiving unit 10 and the request message sent by the sending unit 12 further carry resource quota information, where the resource quota information is used to indicate that the VIM is allowed to be the VNFM. The assigned resource quota.
本发明实施例提供一种装置,该装置能够接收管理节点发送通知消息,该通知消息中携带VIM的标识和该VIM的连接信息,当VNFM未建立与该VIM的连接时,该装置能够保存该VIM的标识和该VIM的连接信息,并向该VIM发送请求消息,该请求消息中携带该VNFM的标识和该VNFM的连接信息,其中,该VNFM的标识和该VNFM的连接信息用于该VIM建立与该VNFM的连接。通过本发明实施例提供的装置,接收到通知消息后,能够在VNFM确定未建立与该VIM的连接时,自动保该VIM的标识和该VIM的连接信息,并将该VNFM的标识和该VNFM的连接信息携带在该请求消息中发送至该VIM,以使得该VIM能够自动保存该VNFM的标识和该VNFM的连接信息,以完成该VNFM与该VIM之间的连接的建立,而无需进行手动建立,从而大大提高了建立VIM与VNFM之间的连接的效率,进而提高了VNF的资源分配的效率。An embodiment of the present invention provides a device, which is configured to receive, by a management node, a notification message, where the notification message carries a VIM identifier and connection information of the VIM. When the VNFM does not establish a connection with the VIM, the device can save the An identifier of the VIM and the connection information of the VIM, and sending a request message to the VIM, where the request message carries the identifier of the VNFM and the connection information of the VNFM, where the identifier of the VNFM and the connection information of the VNFM are used for the VIM Establish a connection to the VNFM. After receiving the notification message, the device provided by the embodiment of the present invention can automatically protect the identifier of the VIM and the connection information of the VIM when the VNFM determines that the connection with the VIM is not established, and the identifier of the VNFM and the VNFM. The connection information is carried in the request message and sent to the VIM, so that the VIM can automatically save the identifier of the VNFM and the connection information of the VNFM to complete the establishment of the connection between the VNFM and the VIM without manual operation. Established, thereby greatly improving the efficiency of establishing a connection between VIM and VNFM, thereby improving the efficiency of resource allocation of VNF.
如图10所示,本发明实施例提供一种装置,所述装置可以是如图3,或如图5至如图8中的任一附图所示的实施例中所述的VIM的实体装置,也可以是NFV系统中能够执行所述VIM能够执行的方法流程的一个逻辑功能模块所在的实体装置,该实体装置可以独立安装在所述VIM的实体装置内,也可以为一个能够与VIM的实 体装置通信的实体装置。该装置还可以通过芯片的形式呈现,该芯片中承载了能够实现所述VNFM能够执行的方法流程的应用程序。As shown in FIG. 10, an embodiment of the present invention provides an apparatus, which may be an entity of a VIM as described in the embodiment shown in FIG. 3, or as shown in any of FIG. 5 to FIG. The device may also be a physical device in the NFV system in which a logical function module capable of executing the method flow that the VIM can execute may be performed, and the physical device may be independently installed in the physical device of the VIM, or may be capable of interacting with the VIM. Real A physical device that communicates with a device. The apparatus can also be presented in the form of a chip carrying an application capable of implementing a method flow that the VNFM can execute.
所述装置可以包括:The device can include:
接收单元20,用于接收VNFM发送的请求消息,所述请求消息中携带所述VNFM的标识和所述VNFM的连接信息,所述VNFM的标识和所述VNFM的连接信息用于VIM建立与所述VNFM的连接。The receiving unit 20 is configured to receive a request message sent by the VNFM, where the request message carries the identifier of the VNFM and the connection information of the VNFM, and the identifier of the VNFM and the connection information of the VNFM are used for establishing and connecting the VIM. The connection of the VNFM.
保存单元21,用于当所述VIM未建立与所述VNFM的连接时,保存所述接收单元20接收的所述VNFM的标识和所述VNFM的连接信息。The saving unit 21 is configured to save the identifier of the VNFM and the connection information of the VNFM received by the receiving unit 20 when the VIM does not establish a connection with the VNFM.
可选的,所述保存单元21,具体用于确定所述接收单元20接收的所述VNFM的标识和所述保存单元21保存的至少一个已与所述VIM建立连接的VNFM的标识是否相同。Optionally, the saving unit 21 is configured to determine whether the identifier of the VNFM received by the receiving unit 20 and the identifier of the VNFM that the at least one saved by the saving unit 21 has established with the VIM are the same.
若所述VNFM的标识和所述至少一个已与所述VIM建立连接的VNFM的标识均不相同,则所述VIM未建立与所述VNFM的连接,若所述VNFM的标识和任意一个所述已与所述VIM建立连接的VNFM的标识相同,则所述VIM已建立与所述VNFM的连接。If the identifier of the VNFM and the identifier of the at least one VNFM that has established a connection with the VIM are different, the VIM does not establish a connection with the VNFM, if the identifier of the VNFM and any one of the The VNFM that has established a connection with the VIM has the same identity, and the VIM has established a connection with the VNFM.
可选的,所述接收单元20接收的所述VNFM的连接信息至少包括所述VNFM的IP地址。Optionally, the connection information of the VNFM received by the receiving unit 20 includes at least an IP address of the VNFM.
可选的,所述接收单元20接收的所述请求消息中还携带资源配额信息,所述资源配额信息用于指示允许所述VIM为所述VNFM分配的资源配额。Optionally, the request message received by the receiving unit 20 further includes resource quota information, where the resource quota information is used to indicate a resource quota that is allowed to be allocated by the VIM to the VNFM.
所述保存单元21,具体用于保存所述VNFM的标识、所述VNFM的连接信息以及所述资源配额信息。The saving unit 21 is specifically configured to save the identifier of the VNFM, the connection information of the VNFM, and the resource quota information.
本发明实施例提供一种装置,该装置能够接收VNFM发送的请求消息,该请求消息中携带该VNFM的标识和该VNFM的连接信息,当VIM未建立与该VNFM的连接时,该装置能够保存该VNFM的标识和该VNFM的连接信息。通过本发明实施例提供的装置,能够在接收到VNFM发送的请求消息后,自动保存该请求消息中携带的该VNFM的标识和该VNFM的连接信息,以完成该VIM与该VNFM 之间的连接的建立,从而提高了建立VIM与VNFM之间的连接的效率,进而提高了VNF的资源分配的效率。The embodiment of the present invention provides a device, which is capable of receiving a request message sent by a VNFM, where the request message carries the identifier of the VNFM and the connection information of the VNFM. When the VIM does not establish a connection with the VNFM, the device can save the device. The VNFM's identity and the connection information of the VNFM. The apparatus provided by the embodiment of the present invention can automatically save the identifier of the VNFM and the connection information of the VNFM carried in the request message after receiving the request message sent by the VNFM, to complete the VIM and the VNFM. The establishment of the connection between the two, thereby improving the efficiency of establishing a connection between the VIM and the VNFM, thereby improving the efficiency of resource allocation of the VNF.
如图11所示,本发明实施例提供一种装置,所述装置可以是如图4,或如图5至如图8中的任一附图所示的实施例中所述的管理节点的实体装置,也可以是NFV系统中能够执行所述管理节点能够执行的方法流程的一个逻辑功能模块所在的实体装置,该实体装置可以独立安装在所述管理节点的实体装置内,也可以为一个能够与管理节点的实体装置通信的个实体装置。该装置还可以通过芯片的形式呈现,该芯片中承载了能够实现所述管理节点能够执行的方法流程的应用程序。As shown in FIG. 11, an embodiment of the present invention provides a device, which may be the management node as described in the embodiment shown in FIG. 4 or any of the figures shown in FIG. 5 to FIG. The physical device may also be a physical device in the NFV system, which is capable of executing a logical function module of the method flow that the management node can execute, and the physical device may be independently installed in the physical device of the management node, or may be a physical device. A physical device capable of communicating with a physical device of a management node. The apparatus can also be presented in the form of a chip carrying an application capable of implementing a method flow that the management node can execute.
所述装置可以包括:The device can include:
获取单元30,用于获取VIM的标识,所述VIM为满足待分配资源的VNF的资源需求信息的VIM。The obtaining unit 30 is configured to obtain an identifier of the VIM, where the VIM is a VIM that meets resource requirement information of the VNF of the resource to be allocated.
所述获取单元30,还用于根据所述VIM的标识,获取与所述VIM的标识对应的所述VIM的连接信息。The obtaining unit 30 is further configured to acquire, according to the identifier of the VIM, connection information of the VIM corresponding to the identifier of the VIM.
发送单元31,用于向VNFM发送通知消息,所述通知消息中携带所述获取单元30获取的所述VIM的标识和所述VIM的连接信息,所述VIM的标识和所述VIM的连接信息用于所述VNFM建立与所述VIM的连接。The sending unit 31 is configured to send a notification message to the VNFM, where the notification message carries the identifier of the VIM acquired by the acquiring unit 30 and the connection information of the VIM, the identifier of the VIM, and the connection information of the VIM. Used for the VNFM to establish a connection with the VIM.
可选的,结合图11,如图12所示,所述装置还包括确定单元32。Optionally, in conjunction with FIG. 11, as shown in FIG. 12, the apparatus further includes a determining unit 32.
所述确定单元32,用于在所述获取单元30根据所述VIM的标识,获取与所述VIM的标识对应的所述VIM的连接信息之前,确定所述VIM与所述VNFM之间是否已建立连接。The determining unit 32 is configured to determine, before the obtaining unit 30 obtains the connection information of the VIM corresponding to the identifier of the VIM, according to the identifier of the VIM, whether the VIM and the VNFM are establish connection.
所述获取单元30,具体用于当所述确定单元32确定所述VIM与所述VNFM之间未建立连接时,根据所述VIM的标识,获取与所述VIM的标识对应的所述VIM的连接信息。The obtaining unit 30 is specifically configured to: when the determining unit 32 determines that the connection between the VIM and the VNFM is not established, obtain the VIM corresponding to the identifier of the VIM according to the identifier of the VIM. Connection information.
可选的,所述确定单元32,具体用于根据预设的资源映射表确定所述VIM与所述VNFM之间是否已建立连接。 Optionally, the determining unit 32 is configured to determine whether a connection is established between the VIM and the VNFM according to a preset resource mapping table.
可选的,结合图12,如图13所示,所述装置还包括接收单元33。Optionally, in conjunction with FIG. 12, as shown in FIG. 13, the apparatus further includes a receiving unit 33.
所述发送单元31,还用于在所述获取单元30获取VIM的标识之后,在所述获取单元30根据所述VIM的标识,获取与所述VIM的标识对应的所述VIM的连接信息之前,向所述VIM发送资源预留请求消息,所述资源预留请求消息中携带所述VNFM的标识,所述VNFM的标识用于确定所述VIM是否已建立与所述VNFM的连接。The sending unit 31 is further configured to: after the acquiring unit 30 acquires the identifier of the VIM, before the acquiring unit 30 acquires the connection information of the VIM corresponding to the identifier of the VIM, according to the identifier of the VIM And sending a resource reservation request message to the VIM, where the resource reservation request message carries the identifier of the VNFM, where the identifier of the VNFM is used to determine whether the VIM has established a connection with the VNFM.
所述接收单元33,用于接收所述VIM发送的资源预留应答消息,所述资源预留应答消息中携带连接指示标识,所述连接指示标识表征所述VIM是否已建立与所述VNFM的连接。The receiving unit 33 is configured to receive a resource reservation response message sent by the VIM, where the resource reservation response message carries a connection indication identifier, where the connection indication identifier indicates whether the VIM has been established with the VNFM connection.
所述确定单元32,具体用于根据所述接收单元33接收的所述连接指示标识,确定所述VIM与所述VNFM之间是否已建立连接。The determining unit 32 is specifically configured to determine whether a connection has been established between the VIM and the VNFM according to the connection indication identifier received by the receiving unit 33.
可选的,所述获取单元30,还用于在获取VIM的标识之后,所述发送单元31向VNFM发送通知消息之前,获取管理节点为所述VIM配置的资源配额信息,所述资源配额信息用于指示允许所述VIM为所述VNFM分配的资源配额。Optionally, the obtaining unit 30 is further configured to: after obtaining the identifier of the VIM, the sending unit 31 obtains resource quota information configured by the management node for the VIM, and the resource quota information, before sending the notification message to the VNFM. A resource quota for indicating that the VIM is allowed to be allocated to the VNFM.
其中,所述发送单元31发送的所述通知消息中还携带所述获取单元获取的所述资源配额信息。The notification message sent by the sending unit 31 further carries the resource quota information acquired by the acquiring unit.
本发明实施例提供一种装置,该装置能够获取VIM的标识和与该VIM的标识对应的该VIM的连接信息,并向VNFM发送通知消息,其中,该VIM为满足待分配资源的VNF的资源需求信息的VIM,该通知消息中携带该VIM的标识和该VIM的连接信息,该VIM的标识和该VIM的连接信息用于该VNFM建立与该VIM的连接。通过本发明实施例提供的装置,能够将VIM的标识和该VIM的连接信息携带在通知消息中,发送至VNFM,使得该VNFM能够自动保存该VIM的标识和该VIM的连接信息,以自动建立与该VIM的连接,从而提高了建立VIM与VNFM之间的连接的效率,进而提高了VNF的资源分配的效率。 The embodiment of the present invention provides a device, which can obtain the VIM identifier and the VIM connection information corresponding to the VIM, and send a notification message to the VNFM, where the VIM is a resource that satisfies the VNF of the resource to be allocated. The VIM of the request information carries the identifier of the VIM and the connection information of the VIM, and the identifier of the VIM and the connection information of the VIM are used by the VNFM to establish a connection with the VIM. With the device provided by the embodiment of the present invention, the identifier of the VIM and the connection information of the VIM can be carried in the notification message and sent to the VNFM, so that the VNFM can automatically save the identifier of the VIM and the connection information of the VIM to automatically establish The connection with the VIM improves the efficiency of establishing a connection between the VIM and the VNFM, thereby improving the efficiency of resource allocation of the VNF.
实施例四Embodiment 4
如图14所示,本发明实施例提供一种装置,所述装置可以是上述实施例中所述的VNFM所在的实体装置,也可以为一个能够与所述VNFM所在的实体装置通信的实体装置。所述装置能够执行所述VNFM能够执行的方法流程,具体的,所述装置可以包括:处理器40、存储器41、通信接口42、以及系统总线43。所述处理器40、所述存储器41以及通信接口42之间通过所述系统总线43连接并完成相互间的通信。As shown in FIG. 14, an embodiment of the present invention provides a device, where the device may be a physical device where the VNFM is located in the foregoing embodiment, or may be a physical device capable of communicating with a physical device where the VNFM is located. . The apparatus is capable of executing a method flow that the VNFM can perform. Specifically, the apparatus can include a processor 40, a memory 41, a communication interface 42, and a system bus 43. The processor 40, the memory 41, and the communication interface 42 are connected by the system bus 43 and complete communication with each other.
所述处理器40可以是一个中央处理器(英文:central processing unit,缩写:CPU),或者是特定集成电路(英文:application specific integrated circuit,缩写:ASIC),或者是被配置成实施本发明实施例的一个或多个集成电路。The processor 40 may be a central processing unit (English: central processing unit, abbreviated as CPU), or an application specific integrated circuit (ASIC), or configured to implement the implementation of the present invention. An example of one or more integrated circuits.
所述存储器41可以包括易失性存储器(英文:Volatile memory),例如随机存取存储器(英文:random-access memory,缩写:RAM);所述存储器41也可以包括非易失性存储器(英文:non-volatile memory),例如只读存储器(英文:read-only memory,缩写:ROM),快闪存储器(英文:flash memory),硬盘(英文:hard disk drive,缩写:HDD)或固态硬盘(英文:solid-state drive,缩写:SSD);所述存储器41还可以包括上述种类的存储器的组合。The memory 41 may include a volatile memory (English: Volatile memory), such as a random access memory (English: random-access memory, abbreviation: RAM); the memory 41 may also include a non-volatile memory (English: Non-volatile memory, such as read-only memory (English: read-only memory, abbreviation: ROM), flash memory (English: flash memory), hard disk (English: hard disk drive, abbreviation: HDD) or solid state drive (English) : solid-state drive, abbreviated: SSD); the memory 41 may also include a combination of the above types of memories.
所述通信接口42用于与其他节点进行交互,例如与VIM、管理节点等功能节点进行交互。The communication interface 42 is used to interact with other nodes, such as a function node such as a VIM or a management node.
当所述装置运行时,所述处理器40和所述存储器41可以执行图2、或如图5至如图8中的任一附图所述的方法流程,具体包括:When the device is in operation, the processor 40 and the memory 41 may perform the method flow described in FIG. 2 or any one of FIG. 5 to FIG.
处理器40,用于通过所述通信接口42接收管理节点发送的通知消息,所述通知消息中携带VIM的标识和所述VIM的连接信息,并当所述VNFM未建立与所述VIM的连接时,保存所述VIM的标识和所述VIM的连接信息,以及通过所述通信接口42向所述VIM发送请求消息,所述请求消息中携带所述VNFM的标识和所述VNFM的连接信息,其中,所述VIM的标识和所述VIM的连接信 息用于VNFM建立与所述VIM的连接,所述VNFM的标识和所述VNFM的连接信息用于所述VIM建立与所述VNFM的连接。The processor 40 is configured to receive, by using the communication interface 42, a notification message sent by the management node, where the notification message carries the identifier of the VIM and the connection information of the VIM, and when the VNFM does not establish a connection with the VIM And storing the connection information of the VIM and the connection information of the VIM, and sending a request message to the VIM by using the communication interface 42, where the request message carries the identifier of the VNFM and the connection information of the VNFM, Wherein the identifier of the VIM and the connection letter of the VIM The VNFM establishes a connection with the VIM, and the identifier of the VNFM and the connection information of the VNFM are used by the VIM to establish a connection with the VNFM.
所述存储器41,用于存储所述通知消息的代码、所述VIM的标识的代码、所述VIM的连接信息的代码、所述请求消息的代码、所述VNFM的标识的代码、所述VNFM的连接信息的代码,以及控制所述处理器40完成上述过程的软件程序,从而所述处理器40通过执行所述软件程序并调用所述通知消息的代码、所述VIM的标识的代码、所述VIM的连接信息的代码、所述请求消息的代码、所述VNFM的标识的代码,以及所述VNFM的连接信息的代码,完成上述过程。The memory 41 is configured to store a code of the notification message, a code of the identifier of the VIM, a code of the connection information of the VIM, a code of the request message, a code of the identifier of the VNFM, the VNFM Code of connection information, and a software program that controls the processor 40 to perform the above process, such that the processor 40 executes the software program and invokes the code of the notification message, the code of the identifier of the VIM, The code of the connection information of the VIM, the code of the request message, the code of the identifier of the VNFM, and the code of the connection information of the VNFM complete the above process.
可选的,所述处理器40,具体用于确定所述VIM的标识和所述处理器保存的至少一个已与所述VNFM建立连接的VIM的标识是否相同.Optionally, the processor 40 is specifically configured to determine whether the identifier of the VIM and the identifier of the VIM that is stored by the processor and that is connected to the VNFM are the same.
若所述VIM的标识和所述至少一个已与所述VNFM建立连接的VIM的标识均不相同,则所述VNFM未建立与所述VIM的连接,若所述VIM的标识和任意一个所述已与所述VNFM建立连接的VIM的标识相同,则所述VNFM已建立与所述VIM的连接。If the identifier of the VIM and the identifier of the at least one VIM that has established a connection with the VNFM are different, the VNFM does not establish a connection with the VIM, if the identifier of the VIM and any one of the The VIM that has established a connection with the VNFM has the same identity, and the VNFM has established a connection with the VIM.
可选的,所述处理器40接收的所述VIM的连接信息至少包括所述VIM的IP地址。Optionally, the connection information of the VIM received by the processor 40 includes at least an IP address of the VIM.
所述处理器40发送的所述VNFM的连接信息至少包括所述VNFM的IP地址。The connection information of the VNFM sent by the processor 40 includes at least an IP address of the VNFM.
可选的,所述处理器40接收的所述通知消息和所述请求消息中还携带资源配额信息,所述资源配额信息用于指示允许所述VIM为所述VNFM分配的资源配额。Optionally, the notification message and the request message received by the processor 40 further carry resource quota information, where the resource quota information is used to indicate a resource quota that is allowed to be allocated by the VIM to the VNFM.
本发明实施例提供一种装置,该装置能够接收管理节点发送通知消息,该通知消息中携带VIM的标识和该VIM的连接信息,当VNFM未建立与该VIM的连接时,该装置能够保存该VIM的标识和该VIM的连接信息,并向该VIM发送请求消息,该请求消息中携带该VNFM的标识和该VNFM的连接信息,其中,该VNFM的标 识和该VNFM的连接信息用于该VIM建立与该VNFM的连接。通过本发明实施例提供的装置,接收到通知消息后,能够在VNFM确定未建立与该VIM的连接时,自动保该VIM的标识和该VIM的连接信息,并将该VNFM的标识和该VNFM的连接信息携带在该请求消息中发送至该VIM,以使得该VIM能够自动保存该VNFM的标识和该VNFM的连接信息,以完成该VNFM与该VIM之间的连接的建立,从而提高了建立VIM与VNFM之间的连接的效率,进而提高了VNF的资源分配的效率。An embodiment of the present invention provides a device, which is configured to receive, by a management node, a notification message, where the notification message carries a VIM identifier and connection information of the VIM. When the VNFM does not establish a connection with the VIM, the device can save the The identifier of the VIM and the connection information of the VIM, and sending a request message to the VIM, where the request message carries the identifier of the VNFM and the connection information of the VNFM, where the label of the VNFM The connection information to the VNFM is used to establish a connection with the VNFM. After receiving the notification message, the device provided by the embodiment of the present invention can automatically protect the identifier of the VIM and the connection information of the VIM when the VNFM determines that the connection with the VIM is not established, and the identifier of the VNFM and the VNFM. The connection information is carried in the request message and sent to the VIM, so that the VIM can automatically save the identifier of the VNFM and the connection information of the VNFM to complete the establishment of the connection between the VNFM and the VIM, thereby improving the establishment. The efficiency of the connection between VIM and VNFM, which in turn increases the efficiency of resource allocation of the VNF.
如图15所示,本发明实施例提供一种装置,所述装置可以是上述实施例中所述的VIM所在的实体装置,也可以为一个能够与所述VIM所在的实体装置通信的实体装置。所述装置能够执行VIM能够执行的方法流程,具体的,所述装置可以包括:处理器50、存储器51、通信接口52、以及系统总线53。所述处理器50、所述存储器51以及通信接口52之间通过所述系统总线53连接并完成相互间的通信。As shown in FIG. 15, an embodiment of the present invention provides a device, which may be a physical device where a VIM is located in the foregoing embodiment, or may be a physical device capable of communicating with a physical device where the VIM is located. . The apparatus is capable of executing a method flow that the VIM can execute. Specifically, the apparatus can include a processor 50, a memory 51, a communication interface 52, and a system bus 53. The processor 50, the memory 51, and the communication interface 52 are connected by the system bus 53 and complete communication with each other.
所述处理器50可以是一个CPU或者是ASIC,或者是被配置成实施本发明实施例的一个或多个集成电路。The processor 50 can be a CPU or an ASIC, or one or more integrated circuits configured to implement embodiments of the present invention.
所述存储器51可以包括易失性存储器,例如RAM;所述存储器51也可以包括非易失性存储器,例如ROM,快闪存储器,HDD或SSD;所述存储器51还可以包括上述种类的存储器的组合。The memory 51 may include a volatile memory such as a RAM; the memory 51 may also include a non-volatile memory such as a ROM, a flash memory, an HDD or an SSD; the memory 51 may also include a memory of the above kind combination.
所述通信接口52用于与其他节点进行交互,例如与VNFM、管理节点等功能节点进行交互。The communication interface 52 is used to interact with other nodes, for example, with a function node such as a VNFM or a management node.
当所述装置运行时,所述处理器50和所述存储器51可以执行图3、或如图5至如图8中的任一附图所述的方法流程,具体包括:When the device is in operation, the processor 50 and the memory 51 may perform the method flow described in FIG. 3 or any of the figures in FIG. 5 to FIG.
处理器50,用于通过所述通信接口52接收VNFM发送的请求消息,所述请求消息中携带所述VNFM的标识和所述VNFM的连接信息,当所述VIM未建立与所述VNFM的连接时,保存所述VNFM的标识和所述VNFM的连接信息,所述VNFM的标识和所述VNFM的连接信息用于VIM建立与所述VNFM的连接;所述存储器51, 用于存储所述请求消息的代码、所述VNFM的标识的代码、所述VNFM的连接信息的代码,以及控制所述处理器50完成上述过程的软件程序,从而所述处理器50通过执行所述软件程序并调用所述请求消息的代码、所述VNFM的标识的代码,以及所述VNFM的连接信息的代码,以完成上述过程。The processor 50 is configured to receive, by using the communication interface 52, a request message sent by the VNFM, where the request message carries the identifier of the VNFM and the connection information of the VNFM, when the VIM does not establish a connection with the VNFM. And storing the identifier of the VNFM and the connection information of the VNFM, where the identifier of the VNFM and the connection information of the VNFM are used by the VIM to establish a connection with the VNFM; the memory 51, a code for storing the request message, a code of the VNFM identification, a connection information of the VNFM, and a software program for controlling the processor 50 to complete the above process, so that the processor 50 executes the The software program calls the code of the request message, the code of the VNFM identification, and the code of the VNFM connection information to complete the above process.
可选的,所述处理器50,具体用于确定所述VNFM的标识和所述处理器50保存的至少一个已与所述VIM建立连接的VNFM的标识是否相同。Optionally, the processor 50 is specifically configured to determine whether the identifier of the VNFM and the identifier of the VNFM that is configured by the processor 50 to establish a connection with the VIM are the same.
若所述VNFM的标识和所述至少一个已与所述VIM建立连接的VNFM的标识均不相同,则所述VIM未建立与所述VNFM的连接,若所述VNFM的标识和任意一个所述已与所述VIM建立连接的VNFM的标识相同,则所述VIM已建立与所述VNFM的连接。If the identifier of the VNFM and the identifier of the at least one VNFM that has established a connection with the VIM are different, the VIM does not establish a connection with the VNFM, if the identifier of the VNFM and any one of the The VNFM that has established a connection with the VIM has the same identity, and the VIM has established a connection with the VNFM.
可选的,所述处理器50接收的所述VNFM的连接信息至少包括所述VNFM的IP地址。Optionally, the connection information of the VNFM received by the processor 50 includes at least an IP address of the VNFM.
可选的,所述处理器50接收的所述请求消息中还携带资源配额信息,所述资源配额信息用于指示允许所述VIM为所述VNFM分配的资源配额。Optionally, the request message received by the processor 50 further carries resource quota information, where the resource quota information is used to indicate a resource quota that is allowed to be allocated by the VIM to the VNFM.
所述处理器50,具体用于保存所述VNFM的标识、所述VNFM的连接信息以及所述资源配额信息。The processor 50 is specifically configured to save the identifier of the VNFM, the connection information of the VNFM, and the resource quota information.
本发明实施例提供一种装置,该装置能够接收VNFM发送的请求消息,该请求消息中携带该VNFM的标识和该VNFM的连接信息,当VIM未建立与该VNFM的连接时,该装置能够保存该VNFM的标识和该VNFM的连接信息。通过本发明实施例提供的装置,能够在接收到VNFM发送的请求消息后,自动保存该请求消息中携带的该VNFM的标识和该VNFM的连接信息,以完成该VIM与该VNFM之间的连接的建立,从而提高了建立VIM与VNFM之间的连接的效率,进而提高了VNF的资源分配的效率。The embodiment of the present invention provides a device, which is capable of receiving a request message sent by a VNFM, where the request message carries the identifier of the VNFM and the connection information of the VNFM. When the VIM does not establish a connection with the VNFM, the device can save the device. The VNFM's identity and the connection information of the VNFM. The device provided by the embodiment of the present invention can automatically save the identifier of the VNFM and the connection information of the VNFM carried in the request message after receiving the request message sent by the VNFM, so as to complete the connection between the VIM and the VNFM. The establishment of the connection, thereby improving the efficiency of establishing a connection between VIM and VNFM, thereby improving the efficiency of resource allocation of VNF.
如图16所示,本发明实施例提供一种装置,所述装置可以是上述实施例中所述的管理节点所在的实体装置,也可以为一个能够与 所述管理节点所在的实体装置通信的实体装置。所述装置能够执行管理节点能够执行的方法流程,具体的,所述装置可以包括:处理器60、存储器61、通信接口62、以及系统总线63。所述处理器60、所述存储器61以及通信接口62之间通过所述系统总线63连接并完成相互间的通信。As shown in FIG. 16, the embodiment of the present invention provides a device, which may be the physical device where the management node is located in the foregoing embodiment, or may be A physical device in which the physical device in which the management node is located communicates. The apparatus is capable of executing a method flow that a management node can perform. Specifically, the apparatus can include a processor 60, a memory 61, a communication interface 62, and a system bus 63. The processor 60, the memory 61, and the communication interface 62 are connected by the system bus 63 and complete communication with each other.
所述处理器60可以是一个CPU或者是ASIC,或者是被配置成实施本发明实施例的一个或多个集成电路。The processor 60 can be a CPU or an ASIC, or one or more integrated circuits configured to implement embodiments of the present invention.
所述存储器61可以包括易失性存储器,例如RAM;所述存储器61也可以包括非易失性存储器,例如ROM,快闪存储器,HDD或SSD;所述存储器61还可以包括上述种类的存储器的组合。The memory 61 may include a volatile memory such as a RAM; the memory 61 may also include a non-volatile memory such as a ROM, a flash memory, an HDD or an SSD; the memory 61 may also include a memory of the above kind combination.
所述通信接口62用于与其他节点进行交互,例如与VNFM、VIM等功能节点进行交互。The communication interface 62 is used to interact with other nodes, for example, with functional nodes such as VNFM and VIM.
当所述装置运行时,所述处理器60和所述存储器61可以执行图4至如图8中的任一附图所述的方法流程,具体包括:The processor 60 and the memory 61 may perform the method flow described in any of FIG. 4 to FIG. 8 when the device is in operation, and specifically includes:
处理器60,用于获取VIM的标识,并根据所述VIM的标识,获取与所述VIM的标识对应的所述VIM的连接信息,以及通过所述通信接口60向VNFM发送通知消息,所述通知消息中携带所述获取单元获取的所述VIM的标识和所述VIM的连接信息,所述VIM的标识和所述VIM的连接信息用于所述VNFM建立与所述VIM的连接,所述VIM为满足待分配资源的VNF的资源需求信息的VIM。The processor 60 is configured to acquire the identifier of the VIM, obtain the connection information of the VIM corresponding to the identifier of the VIM, and send a notification message to the VNFM by using the communication interface 60, according to the identifier of the VIM, The notification message carries the identifier of the VIM and the connection information of the VIM that are obtained by the acquiring unit, and the identifier of the VIM and the connection information of the VIM are used by the VNFM to establish a connection with the VIM. The VIM is a VIM that satisfies the resource requirement information of the VNF of the resource to be allocated.
所述存储器61,用于存储所述VIM的标识的代码、所述VIM的连接信息的代码、所述通知消息的代码、所述资源需求信息的代码,以及控制所述处理器60完成上述过程的软件程序,从而所述处理器60通过执行所述软件程序并调用所述VIM的标识的代码、所述VIM的连接信息的代码、所述通知消息的代码,以及所述资源需求信息的代码,以完成上述过程。The memory 61 is configured to store a code of the identifier of the VIM, a code of the connection information of the VIM, a code of the notification message, a code of the resource requirement information, and control the processor 60 to complete the foregoing process. Software program, such that the processor 60 executes the software program and invokes the code of the VIM, the code of the connection information of the VIM, the code of the notification message, and the code of the resource requirement information. To complete the above process.
可选的,所述处理器60,还用于在根据所述VIM的标识,获取与所述VIM的标识对应的所述VIM的连接信息之前,确定所述VIM与所述VNFM之间是否已建立连接。 Optionally, the processor 60 is further configured to: before determining, according to the identifier of the VIM, the connection information of the VIM corresponding to the identifier of the VIM, determining whether the VIM and the VNFM are establish connection.
所述处理器60,具体用于当确定所述VIM与所述VNFM之间未建立连接时,根据所述VIM的标识,获取与所述VIM的标识对应的所述VIM的连接信息。The processor 60 is configured to: when it is determined that the connection between the VIM and the VNFM is not established, obtain the connection information of the VIM corresponding to the identifier of the VIM according to the identifier of the VIM.
可选的,所述处理器60,具体用于根据预设的资源映射表确定所述VIM与所述VNFM之间是否已建立连接。Optionally, the processor 60 is configured to determine whether a connection is established between the VIM and the VNFM according to a preset resource mapping table.
可选的,所述处理器60,还用于在获取VIM的标识之后,根据所述VIM的标识,获取与所述VIM的标识对应的所述VIM的连接信息之前,向所述VIM发送资源预留请求消息,所述资源预留请求消息中携带所述VNFM的标识,所述VNFM的标识用于确定所述VIM是否已建立与所述VNFM的连接。Optionally, the processor 60 is further configured to: after acquiring the identifier of the VIM, obtain the connection information of the VIM corresponding to the identifier of the VIM according to the identifier of the VIM, and send the resource to the VIM. The request message is reserved, and the resource reservation request message carries the identifier of the VNFM, and the identifier of the VNFM is used to determine whether the VIM has established a connection with the VNFM.
所述处理器60,还用于接收所述VIM发送的资源预留应答消息,所述资源预留应答消息中携带连接指示标识,所述连接指示标识表征所述VIM是否已建立与所述VNFM的连接。The processor 60 is further configured to receive a resource reservation response message sent by the VIM, where the resource reservation response message carries a connection indication identifier, where the connection indication identifier indicates whether the VIM has been established with the VNFM Connection.
所述处理器60,具体用于根据所述连接指示标识,确定所述VIM与所述VNFM之间是否已建立连接。The processor 60 is specifically configured to determine, according to the connection indication identifier, whether a connection has been established between the VIM and the VNFM.
可选的,所述处理器60,还用于在获取VIM的标识之后,向VNFM发送通知消息之前,获取管理节点为所述VIM配置的资源配额信息,所述资源配额信息用于指示允许所述VIM为所述VNFM分配的资源配额。Optionally, the processor 60 is further configured to: after obtaining the identifier of the VIM, before acquiring the notification message to the VNFM, acquiring resource quota information configured by the management node for the VIM, where the resource quota information is used to indicate permission The resource quota allocated by the VIM for the VNFM.
其中,所述处理器60发送的所述通知消息中还携带所述获取单元获取的所述资源配额信息。The notification message sent by the processor 60 further carries the resource quota information acquired by the acquiring unit.
本发明实施例提供一种装置,该装置能够获取VIM的标识和与该VIM的标识对应的该VIM的连接信息,并向VNFM发送通知消息,其中,该VIM为满足待分配资源的VNF的资源需求信息的VIM,该通知消息中携带该VIM的标识和该VIM的连接信息,该VIM的标识和该VIM的连接信息用于该VNFM建立与该VIM的连接。通过本发明实施例提供的装置,能够将VIM的标识和该VIM的连接信息携带在通知消息中,发送至VNFM,使得该VNFM能够自动保存该VIM的标识和该VIM的连接信息,以自动建立与该VIM的连 接,从而提高了建立VIM与VNFM之间的连接的效率,进而提高了VNF的资源分配的效率。The embodiment of the present invention provides a device, which can obtain the VIM identifier and the VIM connection information corresponding to the VIM, and send a notification message to the VNFM, where the VIM is a resource that satisfies the VNF of the resource to be allocated. The VIM of the request information carries the identifier of the VIM and the connection information of the VIM, and the identifier of the VIM and the connection information of the VIM are used by the VNFM to establish a connection with the VIM. With the device provided by the embodiment of the present invention, the identifier of the VIM and the connection information of the VIM can be carried in the notification message and sent to the VNFM, so that the VNFM can automatically save the identifier of the VIM and the connection information of the VIM to automatically establish Connected with the VIM The connection improves the efficiency of establishing a connection between the VIM and the VNFM, thereby improving the efficiency of resource allocation of the VNF.
实施例五Embodiment 5
如图17所示,本发明实施例提供一种通信系统,该通信系统可以包括如图9所示的装置、如图10所示的装置、如图11至图13中的任一附图所示的装置,以及VNF;或者,该通信系统可以包括如图14所示的装置、如图15所示的装置、如图16所示的装置,以及VNF。As shown in FIG. 17, an embodiment of the present invention provides a communication system, which may include the apparatus shown in FIG. 9, the apparatus shown in FIG. 10, and any of FIGS. 11-13. The device shown, and the VNF; alternatively, the communication system can include the device shown in Figure 14, the device shown in Figure 15, the device shown in Figure 16, and the VNF.
其中,如图9所示的装置和如图14所示的装置都可以称为VNFM;如图10所示的装置和如图15所示的装置都可以称为VIM;如图11至图13中的任一幅图所示的装置,和如图16所示的装置都可以称为管理节点。Wherein, both the device shown in FIG. 9 and the device shown in FIG. 14 may be referred to as VNFM; the device shown in FIG. 10 and the device shown in FIG. 15 may be referred to as VIM; FIG. 11 to FIG. The apparatus shown in any of the figures, and the apparatus shown in FIG. 16 may be referred to as a management node.
在本发明实施例提供的通信系统中管理节点能够获取VIM的标识和与该VIM的标识对应的该VIM的连接信息,并向VNFM发送通知消息,该通知消息中携带该VIM的标识和该VIM的连接信息,该VIM的标识和该VIM的连接信息用于该VNFM建立与该VIM的连接;VNFM接收到该通知消息后,当VNFM未建立与该VIM的连接时,VNFM保存该VIM的标识和该VIM的连接信息,并向该VIM发送请求消息,该请求消息中携带该VNFM的标识和该VNFM的连接信息,该VNFM的标识和该VNFM的连接信息用于该VIM建立与该VNFM的连接;该VIM接收到该请求消息后,当VIM未建立与该VNFM的连接时,VIM保存该VNFM的标识和该VNFM的连接信息,其中,该VNFM为负责管理待分配资源的VNF,该VIM为满足该VNF的资源需求信息的VIM。In the communication system provided by the embodiment of the present invention, the management node can obtain the identifier of the VIM and the connection information of the VIM corresponding to the identifier of the VIM, and send a notification message to the VNFM, where the notification message carries the identifier of the VIM and the VIM. The connection information, the identifier of the VIM and the connection information of the VIM are used by the VNFM to establish a connection with the VIM; after receiving the notification message, the VNFM saves the identifier of the VIM when the VNFM does not establish a connection with the VIM. And the connection information of the VIM, and sending a request message to the VIM, where the request message carries the identifier of the VNFM and the connection information of the VNFM, and the identifier of the VNFM and the connection information of the VNFM are used for establishing the VIM with the VNFM. After the VIM receives the request message, when the VIM does not establish a connection with the VNFM, the VIM saves the identifier of the VNFM and the connection information of the VNFM, where the VNFM is a VNF responsible for managing resources to be allocated, the VIM VIM to meet the resource requirements information of the VNF.
可以理解的是,本发明实施例提供的通信系统中的VNFM,能够执行如图2,或图5至如图8中的任一幅图所述的建立VNFM与VIM之间的连接的方法,该对VNFM内的各模块或器件的具体功能和执行方法的流程可以参照如图2,或图5至如图8中的任一幅图所示的实施例中的描述,此处不再赘述。 It can be understood that the VNFM in the communication system provided by the embodiment of the present invention can perform the method for establishing a connection between the VNFM and the VIM as described in any of FIG. 2 or FIG. 5 to FIG. For the specific functions of the modules or devices in the VNFM and the flow of the execution method, refer to the description in the embodiment shown in FIG. 2 or FIG. 5 to any one of FIG. 8 , and details are not described herein again. .
本发明实施例提供的通信系统中的VIM,能够执行如图3,或图5至如图8中的任一幅图所述的建立VNFM与VIM之间的连接的方法,该对VIM内的各模块或器件的具体功能和执行方法的流程可以参照如图3,或图5至如图8中的任一幅图所示的实施例中的描述,此处不再赘述。The VIM in the communication system provided by the embodiment of the present invention can perform the method for establishing a connection between the VNFM and the VIM as shown in any one of FIG. 3 or FIG. 5 to FIG. 8 , in the pair of VIMs For the specific function of each module or device and the flow of the method for performing the method, reference may be made to the description in the embodiment shown in FIG. 3 or FIG. 5 to any one of FIG. 8 , and details are not described herein again.
本发明实施例提供的通信系统中的管理节点,能够执行如图4,或图5至如图8中的任一幅图所述的建立VNFM与VIM之间的连接的方法,该对管理节点内的各模块或器件的具体功能和执行方法的流程可以参照如图4至如图8中的任一幅图所示的实施例中的描述,此处不再赘述。The management node in the communication system provided by the embodiment of the present invention can perform the method for establishing a connection between the VNFM and the VIM as shown in any one of FIG. 4 or FIG. 5 to FIG. 8 , the pair of management nodes For the specific functions of the modules or devices and the flow of the execution method, refer to the description in the embodiment shown in any one of FIG. 4 to FIG. 8 , and details are not described herein again.
通过本发明实施例提供的通信系统,当VNFM接收到管理节点发送的通知消息后,能够在VNFM确定未建立与该VIM的连接时,自动保该VIM的标识和该VIM的连接信息,并将该VNFM的标识和该VNFM的连接信息携带在该请求消息中发送至该VIM,使得该VIM能够在确定未建立与该VNFM的连接时,自动保存该VNFM的标识和该VNFM的连接信息,以完成该VNFM与该VIM之间的连接的建立,从而提高了建立VIM与VNFM之间的连接的效率,进而提高了VNF的资源分配的效率。With the communication system provided by the embodiment of the present invention, when the VNFM receives the notification message sent by the management node, the VNFM can automatically ensure the connection between the VIM and the VIM when the VNFM determines that the connection with the VIM is not established, and The identifier of the VNFM and the connection information of the VNFM are sent to the VIM in the request message, so that the VIM can automatically save the identifier of the VNFM and the connection information of the VNFM when determining that the connection with the VNFM is not established. The establishment of the connection between the VNFM and the VIM is completed, thereby improving the efficiency of establishing a connection between the VIM and the VNFM, thereby improving the efficiency of resource allocation of the VNF.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。It will be clearly understood by those skilled in the art that for the convenience and brevity of the description, only the division of each functional module described above is exemplified. In practical applications, the above function assignment can be completed by different functional modules as needed. The internal structure of the device is divided into different functional modules to perform all or part of the functions described above. For the specific working process of the system, the device and the unit described above, reference may be made to the corresponding process in the foregoing method embodiments, and details are not described herein again.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽 略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided by the present application, it should be understood that the disclosed system, apparatus, and method may be implemented in other manners. For example, the device embodiments described above are merely illustrative. For example, the division of the modules or units is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be used. Combine or can be integrated into another system, or some features can be ignored Slightly, or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(英文全称:Read-Only Memory,英文缩写:ROM)、随机存取存储器(英文全称:Random Access Memory,英文缩写:RAM)、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium. A number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to perform all or part of the steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes: a U disk, a mobile hard disk, a read only memory (English full name: Read-Only Memory, English abbreviation: ROM), a random access memory (English full name: Random Access Memory, English abbreviation: RAM), magnetic A variety of media that can store program code, such as a disc or a disc.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应所述以权利要求的保护范围为准。 The above is only a specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or substitutions within the technical scope of the present invention. It should be covered by the scope of the present invention. Therefore, the scope of the invention should be determined by the scope of the claims.

Claims (27)

  1. 一种建立虚拟网络功能管理节点VNFM与虚拟机基础设施管理节点VIM之间的连接的方法,其特征在于,包括:A method for establishing a connection between a virtual network function management node VNFM and a virtual machine infrastructure management node VIM, comprising:
    VNFM接收管理节点发送的通知消息,所述通知消息中携带VIM的标识和所述VIM的连接信息,所述VIM的标识和所述VIM的连接信息用于所述VNFM建立与所述VIM的连接;The VNFM receives the notification message sent by the management node, where the notification message carries the identifier of the VIM and the connection information of the VIM, and the identifier of the VIM and the connection information of the VIM are used by the VNFM to establish a connection with the VIM. ;
    当所述VNFM未建立与所述VIM的连接时,所述VNFM保存所述VIM的标识和所述VIM的连接信息;When the VNFM does not establish a connection with the VIM, the VNFM saves the identifier of the VIM and the connection information of the VIM;
    所述VNFM向所述VIM发送请求消息,所述请求消息中携带所述VNFM的标识和所述VNFM的连接信息,所述VNFM的标识和所述VNFM的连接信息用于所述VIM建立与所述VNFM的连接。The VNFM sends a request message to the VIM, where the request message carries the identifier of the VNFM and the connection information of the VNFM, and the identifier of the VNFM and the connection information of the VNFM are used to establish and establish the VIM. The connection of the VNFM.
  2. 根据权利要求1所述的方法,其特征在于,所述VNFM未建立与所述VIM的连接的判断方法包括:The method according to claim 1, wherein the method for determining that the VNFM does not establish a connection with the VIM comprises:
    所述VNFM确定所述VIM的标识和所述VNFM保存的至少一个已与所述VNFM建立连接的VIM的标识是否相同;Determining, by the VNFM, whether the identifier of the VIM and the identifier of the VIM that the VNFM holds to establish a connection with the VNFM are the same;
    若所述VNFM确定所述VIM的标识和所述至少一个已与所述VNFM建立连接的VIM的标识均不相同,则所述VNFM未建立与所述VIM的连接;If the VNFM determines that the identifier of the VIM and the identifier of the at least one VIM that has established a connection with the VNFM are different, the VNFM does not establish a connection with the VIM;
    若所述VNFM确定所述VIM的标识和任意一个所述已与所述VNFM建立连接的VIM的标识相同,则所述VNFM已建立与所述VIM的连接。And if the VNFM determines that the identifier of the VIM is the same as the identifier of any one of the VIMs that have established a connection with the VNFM, the VNFM has established a connection with the VIM.
  3. 根据权利要求1或2所述的方法,其特征在于,Method according to claim 1 or 2, characterized in that
    所述VIM的连接信息至少包括所述VIM的源互联网协议IP地址;The connection information of the VIM includes at least a source Internet Protocol IP address of the VIM;
    所述VNFM的连接信息至少包括所述VNFM的IP地址。The connection information of the VNFM includes at least an IP address of the VNFM.
  4. 根据权利要求1-3任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 3, wherein the method further comprises:
    所述通知消息和所述请求消息中还携带资源配额信息,所述资源配额信息用于指示允许所述VIM为所述VNFM分配的资源配额。 The notification message and the request message further carry resource quota information, where the resource quota information is used to indicate a resource quota that is allowed to be allocated by the VIM to the VNFM.
  5. 一种建立虚拟网络功能管理节点VNFM与虚拟机基础设施管理节点VIM之间的连接的方法,其特征在于,包括:A method for establishing a connection between a virtual network function management node VNFM and a virtual machine infrastructure management node VIM, comprising:
    VIM接收VNFM发送的请求消息,所述请求消息中携带所述VNFM的标识和所述VNFM的连接信息,所述VNFM的标识和所述VNFM的连接信息用于所述VIM建立与所述VNFM的连接;The VIM receives the request message sent by the VNFM, where the request message carries the identifier of the VNFM and the connection information of the VNFM, and the identifier of the VNFM and the connection information of the VNFM are used by the VIM to establish the VNFM with the VNFM. connection;
    当所述VIM未建立与所述VNFM的连接时,所述VIM保存所述VNFM的标识和所述VNFM的连接信息。When the VIM does not establish a connection with the VNFM, the VIM saves the identifier of the VNFM and the connection information of the VNFM.
  6. 根据权利要求5所述的方法,其特征在于,所述VIM未建立与所述VNFM的连接的判断方法包括:The method according to claim 5, wherein the method for determining that the VIM does not establish a connection with the VNFM comprises:
    所述VIM确定所述VNFM的标识和所述VIM保存的至少一个已与所述VIM建立连接的VNFM的标识是否相同;Determining, by the VIM, whether the identifier of the VNFM and the identifier of the VNFM that the VIM holds at least one connection that has been established with the VIM are the same;
    若所述VIM确定所述VNFM的标识和至少一个所述已与所述VIM建立连接的VNFM的标识均不相同,则所述VIM未建立与所述VNFM的连接;If the VIM determines that the identifier of the VNFM and the identifier of at least one of the VNFMs that have established a connection with the VIM are different, the VIM does not establish a connection with the VNFM;
    若所述VIM确定所述VNFM的标识和任意一个所述已与所述VIM建立连接的VNFM的标识相同,则所述VIM已建立与所述VNFM的连接。And if the VIM determines that the identifier of the VNFM is the same as the identifier of any one of the VNFMs that have established a connection with the VIM, the VIM has established a connection with the VNFM.
  7. 根据权利要求5或6所述的方法,其特征在于,Method according to claim 5 or 6, characterized in that
    所述VNFM的连接信息至少包括所述VNFM的源互联网协议IP地址。The connection information of the VNFM includes at least a source internet protocol IP address of the VNFM.
  8. 根据权利要求5-7任一项所述的方法,其特征在于,A method according to any one of claims 5-7, wherein
    所述请求消息中还携带资源配额信息,所述资源配额信息用于指示允许所述VIM为所述VNFM分配的资源配额;The request message further includes resource quota information, where the resource quota information is used to indicate a resource quota that is allowed to be allocated by the VIM to the VNFM.
    所述VIM保存所述VNFM的标识和所述VNFM的连接信息,包括:The VIM saves the identifier of the VNFM and the connection information of the VNFM, including:
    所述VIM保存所述VNFM的标识、所述VNFM的连接信息以及所述资源配额信息。The VIM saves the identifier of the VNFM, the connection information of the VNFM, and the resource quota information.
  9. 一种建立虚拟网络功能管理节点VNFM与虚拟机基础设施管理节点VIM之间的连接的方法,其特征在于,包括: A method for establishing a connection between a virtual network function management node VNFM and a virtual machine infrastructure management node VIM, comprising:
    管理节点获取VIM的标识,所述VIM为满足待分配资源的虚拟网络功能VNF的资源需求信息的VIM;The management node obtains the identifier of the VIM, where the VIM is a VIM that satisfies the resource requirement information of the virtual network function VNF of the resource to be allocated;
    所述管理节点根据所述VIM的标识,获取与所述VIM的标识对应的所述VIM的连接信息;The management node acquires connection information of the VIM corresponding to the identifier of the VIM according to the identifier of the VIM;
    所述管理节点向VNFM发送通知消息,所述通知消息中携带所述VIM的标识和所述VIM的连接信息,所述VIM的标识和所述VIM的连接信息用于所述VNFM建立与所述VIM的连接。The management node sends a notification message to the VNFM, where the notification message carries the identifier of the VIM and the connection information of the VIM, and the identifier of the VIM and the connection information of the VIM are used by the VNFM to establish and VIM connection.
  10. 根据权利要求9所述的方法,其特征在于,所述管理节点根据所述VIM的标识,获取与所述VIM的标识对应的所述VIM的连接信息之前,所述方法还包括:The method according to claim 9, wherein the method further includes: before the management node acquires the connection information of the VIM corresponding to the identifier of the VIM, according to the identifier of the VIM, the method further includes:
    所述管理节点确定所述VIM与所述VNFM之间是否已建立连接;Determining, by the management node, whether a connection has been established between the VIM and the VNFM;
    所述管理节点根据所述VIM的标识,获取与所述VIM的标识对应的所述VIM的连接信息,包括:The management node acquires, according to the identifier of the VIM, the connection information of the VIM corresponding to the identifier of the VIM, including:
    当所述管理节点确定所述VIM与所述VNFM之间未建立连接时,所述管理节点根据所述VIM的标识,获取与所述VIM的标识对应的所述VIM的连接信息。When the management node determines that the connection between the VIM and the VNFM is not established, the management node acquires connection information of the VIM corresponding to the identifier of the VIM according to the identifier of the VIM.
  11. 根据权利要求10所述的方法,其特征在于,所述管理节点确定所述VIM与所述VNFM之间是否已建立连接,包括:The method according to claim 10, wherein the management node determines whether a connection has been established between the VIM and the VNFM, including:
    所述管理节点根据预设的资源映射表确定所述VIM与所述VNFM之间是否已建立连接。The management node determines whether a connection has been established between the VIM and the VNFM according to a preset resource mapping table.
  12. 根据权利要求10所述的方法,其特征在于,所述管理节点获取VIM的标识之后,所述管理节点根据所述VIM的标识,获取与所述VIM的标识对应的所述VIM的连接信息之前,所述方法还包括:The method according to claim 10, wherein after the management node obtains the identifier of the VIM, the management node acquires the connection information of the VIM corresponding to the identifier of the VIM according to the identifier of the VIM. The method further includes:
    所述管理节点向所述VIM发送资源预留请求消息,所述资源预留请求消息中携带所述VNFM的标识,所述VNFM的标识用于所述VIM确定是否已建立与所述VNFM的连接;The management node sends a resource reservation request message to the VIM, where the resource reservation request message carries the identifier of the VNFM, and the identifier of the VNFM is used by the VIM to determine whether a connection with the VNFM has been established. ;
    所述管理节点接收所述VIM发送的资源预留应答消息,所述资源预留应答消息中携带连接指示标识,所述连接指示标识表征所述 VIM是否已建立与所述VNFM的连接;Receiving, by the management node, a resource reservation response message sent by the VIM, where the resource reservation response message carries a connection indication identifier, where the connection indication identifier represents the Whether the VIM has established a connection with the VNFM;
    所述管理节点确定所述VIM与所述VNFM之间是否已建立连接,包括:The management node determines whether a connection has been established between the VIM and the VNFM, including:
    所述管理节点根据所述连接指示标识,确定所述VIM与所述VNFM之间是否已建立连接。The management node determines, according to the connection indication identifier, whether a connection has been established between the VIM and the VNFM.
  13. 根据权利要求9-12任一项所述的方法,其特征在于,管理节点获取VIM的标识之后,所述管理节点向VNFM发送通知消息之前,所述方法还包括:The method according to any one of claims 9 to 12, wherein, after the management node obtains the identifier of the VIM, before the management node sends the notification message to the VNFM, the method further includes:
    所述管理节点获取所述管理节点为所述VIM配置的资源配额信息,所述资源配额信息用于指示允许所述VIM为所述VNFM分配的资源配额;The management node acquires resource quota information configured by the management node for the VIM, where the resource quota information is used to indicate a resource quota that is allowed to be allocated by the VIM to the VNFM.
    其中,所述通知消息中还携带所述资源配额信息。The resource information is also carried in the notification message.
  14. 一种装置,其特征在于,包括:A device, comprising:
    接收单元,用于接收管理节点发送的通知消息,所述通知消息中携带虚拟机基础设施管理节点VIM的标识和所述VIM的连接信息,所述VIM的标识和所述VIM的连接信息用于虚拟网络功能管理节点VNFM建立与所述VIM的连接;a receiving unit, configured to receive a notification message sent by the management node, where the notification message carries an identifier of the virtual machine infrastructure management node VIM and connection information of the VIM, where the identifier of the VIM and the connection information of the VIM are used a virtual network function management node VNFM establishes a connection with the VIM;
    保存单元,用于当所述VNFM未建立与所述VIM的连接时,保存所述接收单元接收的所述VIM的标识和所述VIM的连接信息;a saving unit, configured to save, when the VNFM does not establish a connection with the VIM, the identifier of the VIM and the connection information of the VIM received by the receiving unit;
    发送单元,用于向所述VIM发送请求消息,所述请求消息中携带所述VNFM的标识和所述VNFM的连接信息,所述VNFM的标识和所述VNFM的连接信息用于所述VIM建立与所述VNFM的连接。a sending unit, configured to send a request message to the VIM, where the request message carries the identifier of the VNFM and the connection information of the VNFM, where the identifier of the VNFM and the connection information of the VNFM are used to establish the VIM Connection to the VNFM.
  15. 根据权利要求14所述的装置,其特征在于,The device of claim 14 wherein:
    所述保存单元,具体用于确定所述接收单元接收的所述VIM的标识和所述保存单元保存的至少一个已与所述VNFM建立连接的VIM的标识是否相同,若所述VIM的标识和所述至少一个已与所述VNFM建立连接的VIM的标识均不相同,则所述VNFM未建立与所述VIM的连接,若所述VIM的标识和任意一个所述已与所述VNFM建立连接的VIM的标识相同,则所述VNFM已建立与所述VIM的连 接。The saving unit is specifically configured to determine whether the identifier of the VIM received by the receiving unit and the identifier of the VIM that is established by the saving unit and that is connected to the VNFM are the same, if the identifier of the VIM is The identifier of the VIM that has been connected to the VNFM is different, and the VNFM does not establish a connection with the VIM. If the identifier of the VIM and any one of the VIMMs are established, the VNFM is established. The VIM has the same identity, and the VNFM has established a connection with the VIM. Pick up.
  16. 根据权利要求14或15所述的装置,其特征在于,Device according to claim 14 or 15, characterized in that
    所述接收单元接收的所述VIM的连接信息至少包括所述VIM的源互联网协议IP地址;The connection information of the VIM received by the receiving unit includes at least a source Internet Protocol IP address of the VIM;
    所述发送单元发送的所述VNFM的连接信息至少包括所述VNFM的IP地址。The connection information of the VNFM sent by the sending unit includes at least an IP address of the VNFM.
  17. 根据权利要求14-16任一项所述的装置,其特征在于,Apparatus according to any one of claims 14-16, wherein
    所述接收单元接收的所述通知消息和所述发送单元发送的所述请求消息中还携带资源配额信息,所述资源配额信息用于指示允许所述VIM为所述VNFM分配的资源配额。The notification message received by the receiving unit and the request message sent by the sending unit further carry resource quota information, where the resource quota information is used to indicate a resource quota that is allowed to be allocated by the VIM to the VNFM.
  18. 一种装置,其特征在于,包括:A device, comprising:
    接收单元,用于接收虚拟网络功能管理节点VNFM发送的请求消息,所述请求消息中携带所述VNFM的标识和所述VNFM的连接信息,所述VNFM的标识和所述VNFM的连接信息用于虚拟机基础设施管理节点VIM建立与所述VNFM的连接;a receiving unit, configured to receive a request message sent by the virtual network function management node VNFM, where the request message carries the identifier of the VNFM and the connection information of the VNFM, where the identifier of the VNFM and the connection information of the VNFM are used. The virtual machine infrastructure management node VIM establishes a connection with the VNFM;
    保存单元,用于当所述VIM未建立与所述VNFM的连接时,保存所述接收单元接收的所述VNFM的标识和所述VNFM的连接信息。And a saving unit, configured to save the identifier of the VNFM and the connection information of the VNFM received by the receiving unit when the VIM does not establish a connection with the VNFM.
  19. 根据权利要求18所述的装置,其特征在于,The device of claim 18, wherein
    所述保存单元,具体用于确定所述接收单元接收的所述VNFM的标识和所述保存单元保存的至少一个已与所述VIM建立连接的VNFM的标识是否相同,若所述VNFM的标识和所述至少一个已与所述VIM建立连接的VNFM的标识均不相同,则所述VIM未建立与所述VNFM的连接,若所述VNFM的标识和任意一个所述已与所述VIM建立连接的VNFM的标识相同,则所述VIM已建立与所述VNFM的连接。The saving unit is specifically configured to determine whether the identifier of the VNFM received by the receiving unit and the identifier of the VNFM that is established by the saving unit and that is connected to the VIM are the same, if the identifier of the VNFM is The identifier of the VNFM that is connected to the VIM is different, and the VIM does not establish a connection with the VNFM, and if the identifier of the VNFM and any one of the VIMs are established, the VIM is established. The VNFM has the same identity, and the VIM has established a connection with the VNFM.
  20. 根据权利要求18或19所述的装置,其特征在于,Device according to claim 18 or 19, characterized in that
    所述接收单元接收的所述VNFM的连接信息至少包括所述VNFM的源互联网协议IP地址。The connection information of the VNFM received by the receiving unit includes at least a source Internet Protocol IP address of the VNFM.
  21. 根据权利要求18-20任一项所述的装置,其特征在于, Apparatus according to any one of claims 18-20, wherein
    所述接收单元接收的所述请求消息中还携带资源配额信息,所述资源配额信息用于指示允许所述VIM为所述VNFM分配的资源配额;The request message received by the receiving unit further carries resource quota information, where the resource quota information is used to indicate a resource quota that is allowed to be allocated by the VIM to the VNFM;
    所述保存单元,具体用于保存所述VNFM的标识、所述VNFM的连接信息以及所述资源配额信息。The saving unit is specifically configured to save the identifier of the VNFM, the connection information of the VNFM, and the resource quota information.
  22. 一种装置,其特征在于,包括:A device, comprising:
    获取单元,用于获取虚拟机基础设施管理节点VIM的标识,所述VIM为满足待分配资源的虚拟网络功能VNF的资源需求信息的VIM;An obtaining unit, configured to obtain an identifier of a virtual machine infrastructure management node VIM, where the VIM is a VIM that meets resource requirement information of a virtual network function VNF of a resource to be allocated;
    所述获取单元,还用于根据所述VIM的标识,获取与所述VIM的标识对应的所述VIM的连接信息;The obtaining unit is further configured to acquire, according to the identifier of the VIM, connection information of the VIM corresponding to the identifier of the VIM;
    发送单元,用于向虚拟网络功能管理节点VNFM发送通知消息,所述通知消息中携带所述获取单元获取的所述VIM的标识和所述VIM的连接信息,所述VIM的标识和所述VIM的连接信息用于所述VNFM建立与所述VIM的连接。a sending unit, configured to send a notification message to the virtual network function management node VNFM, where the notification message carries the identifier of the VIM acquired by the acquiring unit and the connection information of the VIM, the identifier of the VIM, and the VIM The connection information is used by the VNFM to establish a connection with the VIM.
  23. 根据权利要求22所述的装置,其特征在于,所述装置还包括确定单元,The device according to claim 22, wherein said device further comprises a determining unit,
    所述确定单元,用于在所述获取单元根据所述VIM的标识,获取与所述VIM的标识对应的所述VIM的连接信息之前,确定所述VIM与所述VNFM之间是否已建立连接;The determining unit is configured to determine whether a connection has been established between the VIM and the VNFM before the obtaining unit obtains the connection information of the VIM corresponding to the identifier of the VIM according to the identifier of the VIM. ;
    所述获取单元,具体用于当所述确定单元确定所述VIM与所述VNFM之间未建立连接时,根据所述VIM的标识,获取与所述VIM的标识对应的所述VIM的连接信息。The obtaining unit is configured to: when the determining unit determines that the connection between the VIM and the VNFM is not established, obtain the connection information of the VIM corresponding to the identifier of the VIM according to the identifier of the VIM .
  24. 根据权利要求23所述的装置,其特征在于,The device according to claim 23, wherein
    所述确定单元,具体用于根据预设的资源映射表确定所述VIM与所述VNFM之间是否已建立连接。The determining unit is specifically configured to determine whether a connection has been established between the VIM and the VNFM according to a preset resource mapping table.
  25. 根据权利要求23所述的装置,其特征在于,所述装置还包括接收单元,The device according to claim 23, wherein said device further comprises a receiving unit,
    所述发送单元,还用于在所述获取单元获取VIM的标识之后,在所述获取单元根据所述VIM的标识,获取与所述VIM的标识对应 的所述VIM的连接信息之前,向所述VIM发送资源预留请求消息,所述资源预留请求消息中携带所述VNFM的标识,所述VNFM的标识用于确定所述VIM是否已建立与所述VNFM的连接;The sending unit is further configured to: after the acquiring unit acquires the identifier of the VIM, obtain, by the acquiring unit, the identifier corresponding to the VIM according to the identifier of the VIM Before the connection information of the VIM, the resource reservation request message is sent to the VIM, where the resource reservation request message carries the identifier of the VNFM, and the identifier of the VNFM is used to determine whether the VIM has been established. The connection of the VNFM;
    所述接收单元,用于接收所述VIM发送的资源预留应答消息,所述资源预留应答消息中携带连接指示标识,所述连接指示标识表征所述VIM是否已建立与所述VNFM的连接;The receiving unit is configured to receive a resource reservation response message sent by the VIM, where the resource reservation response message carries a connection indication identifier, where the connection indication identifier indicates whether the VIM has established a connection with the VNFM ;
    所述确定单元,具体用于根据所述接收单元接收的所述连接指示标识,确定所述VIM与所述VNFM之间是否已建立连接。The determining unit is specifically configured to determine whether a connection has been established between the VIM and the VNFM according to the connection indication identifier received by the receiving unit.
  26. 根据权利要求22-25任一项所述的装置,其特征在于,A device according to any one of claims 22-25, wherein
    所述获取单元,还用于在获取VIM的标识之后,所述发送单元向VNFM发送通知消息之前,获取管理节点为所述VIM配置的资源配额信息,所述资源配额信息用于指示允许所述VIM为所述VNFM分配的资源配额;The obtaining unit is further configured to: after obtaining the identifier of the VIM, before sending the notification message to the VNFM, the sending unit acquires resource quota information configured by the management node for the VIM, where the resource quota information is used to indicate that the The resource quota allocated by the VIM to the VNFM;
    其中,所述发送单元发送的所述通知消息中还携带所述获取单元获取的所述资源配额信息。The notification message sent by the sending unit further carries the resource quota information acquired by the acquiring unit.
  27. 一种通信系统,其特征在于,包括:A communication system, comprising:
    如权利要求14-17任一项所述的装置、如权利要求18-21任一项所述的装置,以及如权利要求22-26任一项所述的装置。 A device according to any one of claims 14-17, a device according to any of claims 18-21, and a device according to any of claims 22-26.
PCT/CN2015/078801 2015-05-12 2015-05-12 Method, device and system for establishing connection between vnfm and vim WO2016179803A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201580079212.6A CN107534678B (en) 2015-05-12 2015-05-12 Method, device and system for establishing connection between VNFM and VIM
PCT/CN2015/078801 WO2016179803A1 (en) 2015-05-12 2015-05-12 Method, device and system for establishing connection between vnfm and vim

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/078801 WO2016179803A1 (en) 2015-05-12 2015-05-12 Method, device and system for establishing connection between vnfm and vim

Publications (1)

Publication Number Publication Date
WO2016179803A1 true WO2016179803A1 (en) 2016-11-17

Family

ID=57248728

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/078801 WO2016179803A1 (en) 2015-05-12 2015-05-12 Method, device and system for establishing connection between vnfm and vim

Country Status (2)

Country Link
CN (1) CN107534678B (en)
WO (1) WO2016179803A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110839034B (en) * 2019-11-15 2022-05-13 腾讯科技(深圳)有限公司 Communication connection control method and related equipment
CN114760048A (en) * 2020-12-28 2022-07-15 中兴通讯股份有限公司 Method, equipment and system for establishing data secure connection between VNFM and VNF
CN113518016B (en) * 2021-06-22 2022-08-30 新华三大数据技术有限公司 Message sending method, VNFM and computer readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140201374A1 (en) * 2013-01-11 2014-07-17 Futurewei Technologies, Inc. Network Function Virtualization for a Network Device
CN104219127A (en) * 2014-08-30 2014-12-17 华为技术有限公司 Creation method and device of virtual network instance
CN104270428A (en) * 2014-09-19 2015-01-07 上海华为技术有限公司 Cloud aggregation method and related equipment
WO2015031866A1 (en) * 2013-08-30 2015-03-05 Clearpath Networks, Inc. System and method of network functions virtualization of network services within and across clouds
CN104410672A (en) * 2014-11-12 2015-03-11 华为技术有限公司 Method of upgrading network function virtualization application as well as method and device for forwarding business
CN104601592A (en) * 2015-01-31 2015-05-06 华为技术有限公司 Method for accessing cloud service and access device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9621425B2 (en) * 2013-03-27 2017-04-11 Telefonaktiebolaget L M Ericsson Method and system to allocate bandwidth for heterogeneous bandwidth request in cloud computing networks

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140201374A1 (en) * 2013-01-11 2014-07-17 Futurewei Technologies, Inc. Network Function Virtualization for a Network Device
WO2015031866A1 (en) * 2013-08-30 2015-03-05 Clearpath Networks, Inc. System and method of network functions virtualization of network services within and across clouds
CN104219127A (en) * 2014-08-30 2014-12-17 华为技术有限公司 Creation method and device of virtual network instance
CN104270428A (en) * 2014-09-19 2015-01-07 上海华为技术有限公司 Cloud aggregation method and related equipment
CN104410672A (en) * 2014-11-12 2015-03-11 华为技术有限公司 Method of upgrading network function virtualization application as well as method and device for forwarding business
CN104601592A (en) * 2015-01-31 2015-05-06 华为技术有限公司 Method for accessing cloud service and access device

Also Published As

Publication number Publication date
CN107534678B (en) 2020-01-21
CN107534678A (en) 2018-01-02

Similar Documents

Publication Publication Date Title
US10701139B2 (en) Life cycle management method and apparatus
US11163607B2 (en) Method for associating NS with VNF, apparatus, and system
US20190230004A1 (en) Network slice management method and management unit
US10924966B2 (en) Management method, management unit, and system
US10764132B2 (en) Scale-out association method and apparatus, and system
US11831509B2 (en) Network service management method, device, and system
US10541862B2 (en) VNF processing policy determining method, apparatus, and system
EP3531749B1 (en) Management method, management unit and system for network function
US20160070597A1 (en) Dynamic zone-based cloud management
US20180219793A1 (en) Network functions virtualization resource processing method and virtualized network function manager
WO2019029310A1 (en) Network management method and system
US11301284B2 (en) Method for managing VNF instantiation and device
WO2018000202A1 (en) Load migration method, apparatus and system
EP3893437B1 (en) Method and device for deploying virtual network function
CN112073555A (en) Method for configuring IP address, electronic device and computer readable storage medium
WO2016179803A1 (en) Method, device and system for establishing connection between vnfm and vim
WO2017070963A1 (en) Method, apparatus, and system for deploying virtual resources
WO2016154860A1 (en) Method, apparatus and system for establishing interface between vnfms
WO2023016460A1 (en) Computing task policy determination or resource allocation method and apparatus, network element, and medium
WO2016197395A1 (en) Connection release method, device and system
KR102025425B1 (en) Network apparatus for deploying virtual network function and method thereof
WO2021121595A1 (en) Discovering an instance of a virtual network function

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15891506

Country of ref document: EP

Kind code of ref document: A1