WO2016119631A1 - 一种接入云服务的方法及接入设备 - Google Patents

一种接入云服务的方法及接入设备 Download PDF

Info

Publication number
WO2016119631A1
WO2016119631A1 PCT/CN2016/071611 CN2016071611W WO2016119631A1 WO 2016119631 A1 WO2016119631 A1 WO 2016119631A1 CN 2016071611 W CN2016071611 W CN 2016071611W WO 2016119631 A1 WO2016119631 A1 WO 2016119631A1
Authority
WO
WIPO (PCT)
Prior art keywords
cloud service
feature information
service interface
version
access
Prior art date
Application number
PCT/CN2016/071611
Other languages
English (en)
French (fr)
Inventor
王超
周卫强
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to EP16742693.1A priority Critical patent/EP3253023A4/en
Publication of WO2016119631A1 publication Critical patent/WO2016119631A1/zh
Priority to US15/664,788 priority patent/US20170331862A1/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/1066Session management
    • H04L65/1069Session establishment or de-establishment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0876Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/083Network architectures or network communication protocols for network security for authentication of entities using passwords
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/40Network security protocols

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a method for accessing a cloud service and an access device.
  • NFV Network Functions Virtualization
  • NFV technology deploys previous telecom applications as virtualized software on a virtualized infrastructure through high-capacity servers, storage devices, and networks.
  • NFV technology can separate data and control platforms, enabling network devices to add and control virtual devices as needed, enabling software installation, modification and uninstallation management, virtual network function management, and ultimately business expansion.
  • VNFM virtualized network function manager
  • VIM virtual infrastructure manager
  • VIM virtualized network function
  • the VNFM needs to determine the cloud service interface type, the cloud service interface version, the cloud service access address, and the access account of the VIM to be accessed; the VNFM is specified by the cloud service access address and the access account login.
  • the cloud service starts to create the VNF; the VNFM loads the corresponding client package according to the cloud service interface type and the cloud service interface version to establish a connection with the VIM.
  • VNFM can access multiple different types of cloud services at the same time. Since there are many types of cloud services, and different cloud service interfaces and cloud service interface versions are different, VNFM is When connecting to each cloud service, it is necessary to manually confirm each cloud service interface type, cloud service interface version and other information, which increases the cumbersomeness of establishing a connection and reduces work efficiency.
  • the embodiments of the present invention provide a method for accessing a cloud service and an access device, which are used to solve the problem of manually identifying each cloud service interface type, a cloud service interface version, and the like in the prior art, and increase the complexity of establishing a connection. Degree, reducing the problem of work efficiency.
  • a first aspect a method for accessing a cloud service, where the method is applied to an access device, including:
  • the feature information set is read, wherein the feature information set stores a plurality of pieces of feature information, each piece of feature information includes a cloud service interface type identifier and at least one cloud service interface version information corresponding to the cloud service interface type identifier ;
  • the first access request message includes a cloud service interface type identifier and the access address in the first feature information, and the first feature information Is a piece of feature information in the feature information set;
  • the target cloud service interface version information is one of the at least one cloud service interface version information of the first feature information
  • the first access response message indicates the cloud service to be accessed
  • the interface type matches the cloud service interface type identifier in the first feature information.
  • the method further includes:
  • the cloud service interface type identifier and the access address, the second feature information is a piece of feature information in the feature information set different from the first feature information.
  • the cloud service interface version information includes a cloud service interface version global resource locator URL.
  • the connecting the cloud service to be accessed based on the target cloud service interface version information and the access account including:
  • Target cloud service interface version identifier Loading the software resource indicated by the target cloud service interface version identifier, and connecting the cloud service to be accessed according to the access account, where the target cloud service interface version identifier is at least one cloud service included in the version response message One of the interface version identifiers.
  • the method further includes: updating the feature information set.
  • the updating the feature information set includes:
  • Adding the feature information set to the new feature information includes: adding the cloud service interface type identifier to be added and the at least one cloud service interface version information corresponding to the cloud service interface type identifier to be added as new feature information. To the feature information set; or
  • modifying operation on the feature information set, specifically: determining feature information to be modified in the feature information set, identifying a cloud service interface type in the feature information to be modified, and/or Modifying at least one cloud service interface version information corresponding to the cloud service interface type identifier in the modified feature information.
  • an access device includes:
  • a first obtaining unit configured to acquire an access address and an access account of the cloud service to be accessed
  • a second acquiring unit configured to read a feature information set, where the feature information set stores a plurality of pieces of feature information, where each piece of feature information includes a cloud service interface type identifier and a corresponding to the cloud service interface type identifier At least one cloud service interface version information;
  • a sending unit configured to send a first access request message to the cloud service to be accessed, where the first access request message includes a cloud service interface type identifier and the access address in the first feature information, where The first feature information is one piece of feature information in the feature information set;
  • a connecting unit configured to: based on the target cloud service interface version information and the access account, when receiving the first access response message returned by the to-be-accessed cloud service based on the first access request message And connecting the to-be-accessed cloud service, the target cloud service interface version information is one of the at least one cloud service interface version information of the first feature information, and the first access response message indicates the The interface type of the cloud service to be accessed matches the cloud service interface type identifier in the first feature information.
  • the connecting unit is further configured to:
  • the cloud service interface type identifier and the access address, the second feature information is a piece of feature information in the feature information set different from the first feature information.
  • the cloud service interface version information includes a cloud service interface version global resource locator URL.
  • the connecting the cloud service to be accessed based on the target cloud service interface version information and the access account is specifically used for:
  • Target cloud service interface version identifier Loading the software resource indicated by the target cloud service interface version identifier, and connecting the cloud service to be accessed according to the access account, where the target cloud service interface version identifier is at least one cloud service included in the version response message One of the interface version identifiers.
  • the access device further includes: an updating unit, configured to update the feature information set.
  • the updating unit is specifically configured to:
  • Adding the feature information set to the new feature information includes: adding the cloud service interface type identifier to be added and the at least one cloud service interface version information corresponding to the cloud service interface type identifier to be added as new feature information. To the feature information set; or
  • modifying operation on the feature information set, specifically: determining feature information to be modified in the feature information set, identifying a cloud service interface type in the feature information to be modified, and/or Modifying at least one cloud service interface version information corresponding to the cloud service interface type identifier in the modified feature information.
  • the cloud service interface type identifier including one feature information in the feature information set and the first access request message of the access address of the cloud service to be accessed are sent to the cloud service to be accessed.
  • a target cloud service interface version information is used, and the cloud service to be accessed is connected based on the target service interface version information and an access account of the cloud service to be accessed.
  • the access device does not need to be manually set, and the first access request packet can be constructed by using the cloud service interface type identifier of one feature information in the preset feature information set, and sent to the cloud service to be accessed, and received.
  • the cloud service interface type and the cloud service interface version information of the cloud service to be accessed can be determined, and then the cloud to be accessed can be connected. Service reduces the cumbersomeness of establishing a connection with a cloud service and improves work efficiency.
  • FIG. 1 is a schematic structural diagram of a system of an NFV system according to an embodiment of the present invention
  • FIG. 2 is a flowchart of a method for accessing a cloud service according to an embodiment of the present invention
  • FIG. 3 is a specific flowchart of a method for accessing a cloud service according to an embodiment of the present invention
  • FIG. 4 is a schematic structural diagram of a communication system of a VNFM and a VIM according to an embodiment of the present invention
  • FIG. 5 is a schematic structural diagram of an access device according to an embodiment of the present disclosure.
  • FIG. 6 is a schematic diagram of an access device according to an embodiment of the present invention.
  • the embodiments of the present invention provide a method for accessing a cloud service and an access device, which are used to solve the problem of manually identifying each cloud service interface type, a cloud service interface version, and the like in the prior art, and increase the complexity of establishing a connection. Degree, reducing the problem of work efficiency.
  • the method and the access device are based on the same inventive concept. Since the principles of the method and the device for solving the problem are similar, the implementation of the access device and the method can be referred to each other, and the repeated description is not repeated.
  • an embodiment of the present invention provides a system architecture diagram of an NFV system, where the NFV system can be implemented through multiple networks, such as a data center network, a service provider network, or a local area network (Local Area Network, LAN). As shown in FIG. 1 , an embodiment of the present invention provides a system architecture diagram of an NFV system, where the NFV system can be implemented through multiple networks, such as a data center network, a service provider network, or a local area network (Local Area Network, LAN). As shown in FIG.
  • the NFV system may include an NFV Management and Orchestration System (NFV-MANO) 128, an NFV Infrastructure (NFVI) 130, and a plurality of virtual network functions (Virtualized Network Function, VNF) 108, multiple network element management systems (element management system, EMS) 122, service, VNF and infrastructure description (Service, VNF and Infrastructure Description) system 126, and one or more operational support systems / business support systems (OSS / BSS) 124.
  • NFV-MANO NFV Management and Orchestration System
  • NFVI NFV Infrastructure
  • VNF Virtualized Network Function
  • EMS network element management systems
  • service, VNF and infrastructure description Service, VNF and Infrastructure Description
  • OSS / BSS operational support systems / business support systems
  • the NFV-MANO 128 may include an Orchestrator 102, one or more VNFMs 104, and one or more Virtualized Infrastructure Managers (VIMs) 106; the NFVI 130 may include computing hardware 112, storage hardware 114 A hardware resource layer composed of network hardware 116, a virtualization layer, and a virtual resource layer composed of virtual computing 110 (eg, virtual machine), virtual storage 118, and virtual network 120.
  • VNFMs Virtualized Infrastructure Managers
  • the computing hardware 112 in the hardware resource layer can be a dedicated processor or a general purpose processor for providing processing and computing functions; the storage hardware 114 can be used to provide storage capabilities, which can be provided by the storage hardware 114 itself (eg The local memory of a server can also be provided through the network (for example, the server connects to a network storage device through a network); the network hardware 116 can be a switch, a router, and/or other network device, and the network hardware 116 is used to implement multiple devices. Communication between multiple devices via wireless or wired connection.
  • the virtualization layer in NFVI 130 is used to abstract the hardware resources of the hardware resource layer, decouple the VNF 108 from the physical layer to which the hardware resources belong, and provide virtual resources to the VNF.
  • the virtual resource layer can include virtual computing 110, virtual storage 118, and virtual network 120.
  • Virtual computing 110, virtual storage 118 may be provided to VNF 108 in the form of a virtual machine or other virtual container, for example, one or more VNFs 108 may be deployed on a virtual machine.
  • the virtualization layer forms a virtual network 120 through abstract network hardware 116.
  • Virtual networks 120 such as virtual switches (eg, Vswitches), are used to enable communication between multiple virtual machines, or between other types of virtual containers hosting VNFs.
  • Virtualization of network hardware can be virtualized by virtual LAN (Vritual LAN, VLAN), Virtual Private LAN Service (VPLS), Virtual eXtensible Local Area Network (VxLAN), or general routing encapsulation network ( Nerwork Virtualization using Generic Routing Encapsulation, NVGRE) and other technical implementations.
  • virtual LAN Virtual LAN
  • VPLS Virtual Private LAN Service
  • VxLAN Virtual eXtensible Local Area Network
  • NVGRE General routing encapsulation network
  • OSS/BSS124 is mainly for telecom service operators, providing comprehensive network management and service operation functions, including network management (such as fault monitoring, network information collection, etc.), billing management, and customer service management.
  • network management such as fault monitoring, network information collection, etc.
  • billing management billing management
  • customer service management customer service management.
  • the service, VNF, and infrastructure description system 126 is described in detail in the ETSI GS NFV 002v1.1.1 standard, and details are not described herein again.
  • NFV-MANO 128 can be used to monitor and manage VNF 108 and NFVI 130.
  • the compiler 102 can communicate with one or more VNFMs 104 to implement resource related requests, send configuration information to the VNFM 104, and collect status information for the VNF 108.
  • the compiler 102 can also communicate with the VIM 106 to effect resource allocation, and/or implement reservation and exchange of configuration information and status information for virtualized hardware resources.
  • the VNFM 104 can be used to manage one or more VNFs 108, performing various management functions, such as initializing, updating, querying, and/or terminating the VNF 108.
  • the VIM 106 can be used to control and manage the interaction of the VNF 108 and computing hardware 112, storage hardware 114, network hardware 116, virtual computing 110, virtual storage 118, virtual network 120.
  • VIM 106 can be used to perform resource allocation operations to VNF 108.
  • VNFM 104 and VIM 106 can communicate with each other to exchange virtualized hardware resource configuration and status information.
  • NFVI 130 includes both hardware and software that together create a virtualized environment to deploy, manage, and execute VNF 108.
  • the hardware resource layer and the virtual resource layer are used to provide virtual resources, such as virtual machines and/or other forms of virtual containers, to the VNF 108.
  • VNFM 104 can communicate with VNF 108 and EMS 122 to perform VNF lifecycle management and implement exchange of configuration/status information.
  • the VNF 108 is a virtualization of at least one network function that was previously provided by a physical network device.
  • the VNF 108 can be a virtualized Mobility Management Entity (MME) node for providing all network functions provided by a typical non-virtualized MME device.
  • MME Mobility Management Entity
  • the VNF 108 can be used to implement the functionality of some of the components provided on the non-virtualized MME device.
  • One or more VNFs 108 can be deployed on a virtual machine (or other form of virtual container).
  • the EMS 122 can be used to manage one or more VNFs.
  • the VNFM 104 is used to perform various management functions on the VNF 108, such as initialization, update, query, and The VNF 108 and the like are terminated, and the VIM 106 is used to control and manage the VNF 108 to interact with other parts. Therefore, if a VNF 108 is implemented, the VNFM 104 and the VIM 106 must work in cooperation, so that the VNFM 104 and the VIM 106 can communicate with each other for exchange.
  • the hardware resource configuration and status information is virtualized, wherein the VNFM 104 and the VIM 106 establish a communication connection through the interface, such as through the VNFM-VI interface.
  • a method for accessing a cloud service is applied to various virtualized access devices, such as VNFM, that are connected to a VIM (particularly a cloud service) in network function virtualization.
  • VNFM virtualized access devices
  • NFVO Network Functions Virtualization Orchestrator
  • the processing flow of the method includes:
  • Step 201 Obtain an access address and an access account of the cloud service to be accessed.
  • the virtualized access device needs to obtain the access address and the access account of the cloud service to be accessed, wherein the obtaining method may be pre-storage, or the user directly inputs, etc., the present invention is here. Not limited.
  • Step 202 Read a feature information set, where the feature information set stores a plurality of pieces of feature information, where each piece of feature information includes a cloud service interface type identifier and at least one cloud service interface version corresponding to the cloud service interface type identifier. information.
  • a preset feature information set is stored in the virtualized access device or other external storage device, where the feature information set stores a plurality of feature information, each feature information includes a cloud service interface type identifier, and corresponding The at least one cloud service interface version information, optionally, the software resource information corresponding to the cloud service interface version information.
  • one cloud service interface type identifier corresponds to one cloud service interface version information.
  • each cloud service interface type corresponds to a unique cloud service interface type identifier, which may be a key feature, name, and the like of the cloud service interface type;
  • the cloud service interface version information may include a cloud service interface version global resource locator (Uniform Resource Locator, URL), and/or the cloud service interface version identifier;
  • the software resource information corresponding to the cloud service interface version information may include any one or combination of the following: a software package name, a software package address, and a software package identifier.
  • the operator can manage the feature information set, such as adding, deleting, editing, querying, and updating the feature information, without performing upgrade and maintenance on the virtualized access device, and new feature information is present.
  • the feature information set can be dynamically updated and flexibly managed, which reduces the operator's work complexity and improves efficiency.
  • Step 203 Send a first access request message to the cloud service to be accessed, where the first access request message includes a cloud service interface type identifier and an access address in the first feature information, where the first feature information is feature information.
  • a piece of feature information in the collection is
  • the first feature information may be selected in the feature information set according to the set order, such as in the order of the automatically sorted item numbers from small to large, or according to a preset priority order, or randomly selected, etc.
  • the embodiment of the invention does not limit this.
  • the first access request message is configured based on the cloud service interface type identifier and the obtained access address in the first feature information, so that the first access request message carries the cloud service. Interface type identifier and access address.
  • the first access request message may be sent to the cloud service to be accessed corresponding to the access address.
  • the cloud service to be accessed may parse the access request message and determine the carried The cloud service interface type identifier; the cloud service to be accessed determines whether the interface type of the cloud service matches the cloud service interface type identifier. When the match is determined, the packet is returned to the virtualized access device to indicate that the first access response report is successfully matched.
  • the first access response message may include an identifier indicating that the matching is successful; otherwise, the access response message indicating that the matching fails is returned (for example, the access response message may include an identifier indicating that the matching fails, etc.), or Do nothing.
  • Step 204 Connect to the cloud service to be accessed based on the target cloud service interface version information and the access account, when receiving the first access response message returned by the to-be-accessed cloud service based on the access request message, the target The cloud service interface version information is one of the at least one cloud service interface version information in the first feature information, where the first access response message indicates an interface type of the cloud service to be accessed and a cloud service interface in the first feature information.
  • the type identifier matches.
  • the first access response message indicates that the type of the interface to be accessed by the cloud service matches the type of the cloud service interface type in the first feature information.
  • the first access response packet may include a matching success indicator.
  • the type of the interface indicated to indicate that the cloud service to be accessed matches the cloud service interface type identifier in the first feature information.
  • the virtualized access device receives the cloud service corresponding to the cloud service interface type identifier in the first feature information, when the virtual access device receives the first access response message that is included in the first feature information and receives the first access response message that is returned by the access request message.
  • the interface type is the interface type that the virtualized access device establishes a connection with the cloud service to be accessed.
  • the second access request message is sent to the cloud service to be accessed, and the second access is sent.
  • the request message includes a cloud service interface type identifier and an access address in the second feature information, where the second feature information is a piece of feature information different from the first feature information in the feature information set, until the cloud service to be accessed is received. If the second access request message that matches the success indication is returned, the second access request message is sent to the cloud service to be accessed, where the first access response message,
  • the second access response packet has the same physical meaning, except that the access response message belongs to a different number of times of feedback.
  • the next feature information of the first feature information may be selected in the order of the automatically sorted entry numbers, or according to a preset.
  • the priority order of the first feature information is used to select the feature information of the next priority of the first feature information, or is randomly selected, and the like.
  • the virtualized access device receives the first access response packet returned by the cloud service to be accessed based on the access request packet, and specifically, the virtualized access device corresponds to the cloud service interface type identifier of the first feature information.
  • selecting a cloud service interface version information as the target cloud service interface version information may be randomly selected.
  • a cloud service interface type identifier corresponds to a cloud service interface version information
  • the unique cloud service interface version information can be used as the target cloud service interface version information.
  • connecting the to-access cloud service includes:
  • the software resource indicated by the target cloud service interface version identifier is loaded, and the cloud service to be accessed is connected according to the obtained access account, and the target cloud service interface version identifier is at least one cloud service interface version identifier included in the version response message.
  • the cloud service interface version identifier may be a version number, a version name, or the like
  • the software resource is a client software package, such as a Hyper Text Transport Protocol (HTTP) client software package.
  • HTTP Hyper Text Transport Protocol
  • the software resource indicated by the target cloud service interface version identifier is loaded, and then the accessed access account is used to log in to the cloud service to establish a connection with the cloud service to be accessed.
  • the method for accessing the cloud service provided by the embodiment of the present invention further includes: updating the feature information set, specifically:
  • Adding the feature information set to the feature information includes: adding the cloud service interface type identifier to be added and at least one cloud service interface version information corresponding to the cloud service interface type identifier to be added as new feature information to the feature information set;
  • the modifying operation of the feature information set includes: determining, in the feature information set, the feature information to be modified, the cloud service interface type identifier in the feature information to be modified, and/or the feature information to be modified.
  • the at least one cloud service interface version information corresponding to the cloud service interface type identifier is modified.
  • the access device does not need to be manually set, and the first access request packet can be constructed by using the cloud service interface type identifier of one feature information in the preset feature information set. And sending to the cloud service to be accessed, and when receiving the first access response message indicating that the matching is successful, the cloud service interface type and the cloud service interface version information of the cloud service to be accessed may be determined, and then adaptive Connect to the cloud service to be connected, reducing the connection with the cloud service The cumbersomeness improves the work efficiency, and also avoids the connection error between the cloud service interface type and the cloud service interface version, and improves the success rate of accessing the cloud service. Further, the access device may also manage the feature information set without upgrading and maintaining the virtualized access device, and may set the feature information set when new feature information occurs or the saved feature information changes. Dynamic update and flexible management reduce the operator's work complexity and improve efficiency.
  • the embodiment of the present invention provides a specific process of the method for accessing the cloud service.
  • the access device may be a VNFM.
  • the specific process includes:
  • Step 301 The access device acquires an access address and an access account of the cloud service to be accessed.
  • the access device obtains the access address and the access account of the cloud service to be accessed, and may be obtained from a storage module that stores the access address and the access account in advance, and may also be directly obtained according to the input of the user.
  • the VNFM is used as an example.
  • the VNFM 410 may be various network entity devices, where the VNFM 410 may include a user interface (UI) 411.
  • the VNFM 410 establishes a communication connection with the VIM 420 through the VNFM-VI interface to implement multiple VNFs 421 in each VIM 420.
  • the UI 411 in the VNFM 410 is used to interact with the user, such as inputting an access address of the cloud service to be accessed, accessing an account, etc.
  • the connection module 412 is configured to implement the connection VIM 420
  • the management module 413 is configured to manage the feature information set and the like.
  • each component module shown in FIG. 4 is only a schematic description for facilitating the understanding of the technical solution.
  • the user interface (UI) 411, the connection module 412, and the management module 413 are only divided by functions.
  • the embodiment of the invention does not limit the communication system architecture of the VNFM and the VIM, the composition of the VNFM, and the composition of the VIM.
  • the access address obtained by the VNFM 410 is in the form of http://IP:port/xxx or http://domain name/xxx, and the access account may include a username and a password, optionally,
  • the user name is a user-defined VIM name.
  • Step 302 The access device reads the feature information set.
  • the feature information set includes a plurality of pieces of feature information, where each piece of feature information includes a cloud service interface type identifier and at least one cloud service interface version information corresponding to the cloud service interface type identifier.
  • the access device read feature information set may be read from the local storage module or may be read from other storage devices external to the access device. It should be understood that, after the access device is started and before the cloud service is accessed, the access device initializes the feature information set, for example, loading system preset feature information from a file or a database.
  • the access device can manage the feature information in the feature information set.
  • the management function of the feature information can be implemented. For example, when the manager adds the feature information, the feature information "addition" is first selected in the UI 411. The function, and then input the new cloud service interface type identifier and the at least one cloud service interface version information corresponding to the cloud service interface type identifier, and finally upload at least one software resource corresponding to each cloud service interface version information, or input each The storage path of the software resource corresponding to the cloud service interface version information. Each software resource corresponds to a unique cloud service interface version identifier.
  • the cloud service interface type identifier may be a key feature, a name, and the like of the cloud service interface type.
  • the cloud service interface type identifier is a key feature of the cloud service interface type, such as openstack, the cloud service interface corresponding to each cloud service.
  • the key features of the type can be obtained by looking up the manual.
  • the cloud service interface version information may be a cloud service interface version URL.
  • the feature information in the feature information set may also be deleted, edited, queried, or imported and saved.
  • these operations can be implemented by the UI 411 in the VNFM 410 and the management module 413.
  • the adding operation of the feature information set includes: adding the cloud service interface type identifier to be added and the at least one cloud service interface version information corresponding to the cloud service interface type identifier to be added as new feature information.
  • the modifying operation of the feature information set includes: determining, in the feature information set, the feature information to be modified, the cloud service interface type identifier in the feature information to be modified, and/or the feature information to be modified.
  • the at least one cloud service interface version information corresponding to the cloud service interface type identifier is modified.
  • the software resource corresponding to the added or modified cloud service interface version information needs to be uploaded.
  • Step 303 The access device sends a first access request message to the cloud service to be accessed.
  • the first access request message includes a cloud service interface type identifier in the first feature information and an access address of the cloud service to be accessed, and the first feature information is a piece of feature information in the feature information set.
  • the first access request message includes an access address of the cloud service to be accessed, so that the first access request message is sent to the cloud service to be accessed. For example, for the http protocol, the following message is constructed: Get URL.
  • the first feature information may be selected in the feature information set in a set order, such as in the order of the automatically sorted item numbers from small to large, or in accordance with a preset priority order, or randomly selected.
  • Step 304 The cloud service to be accessed is parsed by the cloud service to determine whether the obtained cloud service interface type identifier matches its own interface type. If not, step 305 is performed. If yes, step 306 is performed.
  • the cloud service to be accessed After receiving the first access request packet, the cloud service to be accessed, the first access request packet is parsed, the cloud service interface type identifier included in the first access request packet is obtained, and the cloud service interface is configured.
  • the type identifier matches its own interface type.
  • Step 305 The cloud service to be accessed sends an access response message indicating that the connection is not successful.
  • step 304 it is determined that the parsed cloud service interface type identifier does not match the interface type of the interface, and the access device sends an access response packet indicating that the match is not successful.
  • step 303 based on the cloud service interface type identifier in the second feature information of the different first feature information in the feature information set and the access address of the cloud service to be accessed, The second access request message is sent to the cloud service to be accessed, ... until the cloud service to be accessed sends an Nth access response message indicating that the matching is successful to the access device.
  • Step 306 The to-be-accessed cloud service sends a first access response message indicating that the matching is successful to the access device.
  • step 304 it is determined that the parsed cloud service interface type identifier matches the interface type of the network, and the first access response packet indicating that the matching is successful is sent to the access device to notify the access.
  • the device matches successfully, that is, the interface type of the cloud service to be accessed matches the cloud service interface type identifier in the first feature information.
  • the first access response message may include a matching success identifier, which is used to distinguish the access response message that is not matched successfully in step 305.
  • step 302 to step 306 can be understood as: after acquiring the feature information from the feature information set, detecting the type of the interface to be accessed by the cloud service (VIM) based on the cloud service interface type identifier in the feature information, until obtaining The interface type identifier is matched to complete the automatic detection of the interface library type of the cloud service to be accessed.
  • VIP cloud service
  • Step 307 The access device sends a version request message to the cloud service to be accessed.
  • the cloud service interface version information includes a cloud service interface version URL.
  • Step 308 The cloud service to be accessed sends a version response packet to the access device.
  • the cloud service to be accessed After receiving the version request packet, the cloud service to be accessed sends a version response message including at least one cloud service interface version identifier to the access device, and each cloud service interface version identifier corresponds to one cloud service to be accessed. Cloud service interface version.
  • Step 309 The access device parses the version response packet to obtain the target cloud service interface version identifier.
  • the access device parses the version response packet to obtain at least one cloud service interface of the cloud service to be accessed.
  • the version identifier and selecting a cloud service interface version identifier as the target cloud service interface version identifier in at least one cloud service interface version identifier.
  • Step 310 The access device loads the software resource indicated by the target cloud service interface version identifier, and connects to the cloud service to be accessed according to the access account.
  • the access device loads the software resource indicated by the target cloud service interface version identifier, and then logs in to the access cloud service through the obtained access account of the cloud service to be accessed, thereby establishing a connection with the cloud service to be accessed.
  • connection module 412 in FIG. 4 obtains the access address and access account of the VIM 420 through the UI 411, all the steps of constructing the message and interacting with the VIM 420 signaling in the above steps may be implemented.
  • the access device such as the VNFM, does not need to be manually set, and the first access request report can be constructed by using the cloud service interface type identifier of one feature information in the preset feature information set.
  • the message is sent to the cloud service to be accessed.
  • the cloud service interface type and the cloud service interface version information of the cloud service to be accessed may be determined.
  • Adapting the connection to be accessed to the cloud service reduces the cumbersomeness of establishing a connection with the cloud service, improves the work efficiency, and avoids the connection error between the cloud service interface type and the cloud service interface version, and improves the success rate of accessing the cloud service.
  • the access device may also manage the feature information set without upgrading and maintaining the virtualized access device, and may set the feature information set when new feature information occurs or the saved feature information changes. Dynamic update and flexible management reduce the operator's work complexity and improve efficiency.
  • the present invention further provides an access device.
  • the access device includes: a first obtaining unit 501, a second obtaining unit 502, a sending unit 503, and a connecting unit 504, where
  • the first obtaining unit 501 is configured to obtain an access address and an access account of the cloud service to be accessed;
  • the second obtaining unit 502 is configured to read the feature information set, where the feature information set stores a plurality of pieces of feature information, where each piece of feature information includes a cloud service interface type identifier and at least one corresponding to the cloud service interface type identifier Cloud service interface version information;
  • the sending unit 503 is configured to send a first access request message to the cloud service to be accessed, where the first access request message includes a cloud service interface type identifier and the access address in the first feature information, and the first feature information Is a piece of feature information in the feature information set;
  • the connecting unit 504 is configured to connect to the cloud service to be accessed based on the target cloud service interface version information and the access account, if the first access response message returned by the first access request message is received.
  • the target cloud service interface version information is one of the at least one cloud service interface version information in the first feature information
  • the first access response message indicates the interface type of the cloud service to be accessed and the first The cloud service interface type identifier in the feature information matches.
  • the connecting unit 504 is further configured to:
  • the second access request packet is sent to the cloud service to be accessed, where the second access request packet includes the cloud service interface type identifier in the second feature information.
  • the access address, the second feature information is a piece of feature information different from the first feature information in the feature information set.
  • the cloud service interface version information includes a cloud service interface version global resource locator URL.
  • connection unit 504 is configured to:
  • the software resource indicated by the target cloud service interface version identifier is loaded, and the cloud service to be accessed is connected according to the access account, and the target cloud service interface version identifier is one of at least one cloud service interface version identifier included in the version response message.
  • the access device further includes: an update unit, configured to update the feature information set.
  • the update unit is specifically used to:
  • Adding the feature information set to the feature information set includes: adding the cloud service interface type identifier to be added and the at least one cloud service interface version information corresponding to the cloud service interface type identifier to be added as the new feature information to the feature information set. ;or
  • the modifying operation of the feature information set includes: determining feature information to be modified in the feature information set, a cloud service interface type identifier in the feature information to be modified, and/or a cloud service interface in the feature information to be modified.
  • the at least one cloud service interface version information corresponding to the type identifier is modified.
  • each functional unit in each embodiment of the present application 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.
  • a computer readable 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 a processor to perform all or part of the steps of the methods described in various embodiments of the present application.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .
  • the access device does not need to be manually set, and can construct a first access request message by using a cloud service interface type identifier of a feature information in a preset feature information set, and send the message to the cloud service to be accessed.
  • the cloud service interface type and the cloud service interface version information that are to be accessed to the cloud service can be adaptively connected to the cloud service to be accessed, which reduces the cumbersomeness of establishing a connection with the cloud service, improves work efficiency, and avoids the cloud.
  • the connection error between the service interface type and the cloud service interface version improves the success rate of accessing the cloud service.
  • the access device may also manage the feature information set without upgrading and maintaining the virtualized access device, and may set the feature information set when new feature information occurs or the saved feature information changes. Dynamic update and flexible management reduce the operator's work complexity and improve efficiency.
  • the present invention further provides an access device.
  • the access device 600 includes: a transceiver 601, a processor 602, a bus 603, and a memory 604, where:
  • the transceiver 601, the processor 602, and the memory 604 are connected to each other through a bus 603.
  • the bus 603 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus. Wait.
  • PCI peripheral component interconnect
  • EISA extended industry standard architecture
  • the bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 6, but it does not mean that there is only one bus or one type of bus.
  • the transceiver 601 is configured to communicate with the cloud service to be accessed, such as sending a first access request message, a second access request message, and receiving a first connection to be sent by the cloud service to be accessed. Incoming response packet; sending a version request message to the cloud service to be accessed, and receiving a version response message sent by the cloud service to be accessed.
  • the processor 602 is used to implement the method for accessing the cloud service shown in Figure 2 of the embodiment of the present invention, including:
  • the feature information set is read, wherein the feature information set has a plurality of pieces of feature information, where each piece of feature information includes a cloud service interface type identifier and at least one cloud service interface version information corresponding to the cloud service interface type identifier;
  • the target cloud service interface version information is one of the at least one cloud service interface version information in the first feature information.
  • the first access response message indicates that the interface type of the cloud service to be accessed matches the cloud service interface type identifier in the first feature information.
  • the second access request packet is sent to the cloud service to be accessed, where the second access request packet includes the cloud in the second feature information.
  • the service interface type identifier and the acquired access address, the second feature information is a piece of feature information in the feature information set that is different from the first feature information.
  • the cloud service interface version information includes a cloud service interface version URL.
  • the cloud service to be accessed is connected based on the target cloud service interface version information and the obtained access account, including:
  • the software resource indicated by the target cloud service interface version identifier is loaded, and the cloud service to be accessed is connected according to the obtained access account, and the target cloud service interface version identifier is at least one cloud service interface version identifier included in the version response message.
  • the processor 602 can also update the set of feature information.
  • updating the feature information set includes:
  • Adding the feature information set to the feature information includes: adding the cloud service interface type identifier to be added and at least one cloud service interface version information corresponding to the cloud service interface type identifier to be added as new feature information to the feature information Collection; or
  • the modifying operation of the feature information set includes: determining feature information to be modified in the feature information set, identifying a cloud service interface type in the feature information to be modified, and/or The at least one cloud service interface version information corresponding to the cloud service interface type identifier in the feature information to be modified is modified.
  • the access device 600 also includes a memory 604 for storing programs and the like.
  • the program can include program code, the program code including computer operating instructions.
  • the memory 604 may include a random access memory (RAM), and may also include a non-volatile memory such as at least one disk storage.
  • the processor 602 executes the application stored in the memory 604 to implement the method of accessing the cloud service as described above.
  • the access device does not need to be manually set, and can construct a first access request message by using a cloud service interface type identifier of a feature information in a preset feature information set, and send the message to the cloud service to be accessed.
  • the cloud service interface type and the cloud service interface version information of the cloud service to be accessed may be determined, and the cloud service to be accessed may be adaptively connected, thereby being reduced.
  • the cumbersome connection with the cloud service improves the work efficiency, and also avoids the connection error between the cloud service interface type and the cloud service interface version, and improves the success rate of accessing the cloud service.
  • the access device may also manage the feature information set without upgrading and maintaining the virtualized access device, and may set the feature information set when new feature information occurs or the saved feature information changes. Dynamic update and flexible management reduce the operator's work complexity and improve efficiency.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Multimedia (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Power Engineering (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本发明公开了一种接入云服务的方法及接入设备,用以解决现有技术存在的需要人工确认每个云服务接口类型、云服务接口版本等信息,增加了建立连接的繁琐度,降低了工作效率的问题,该方法为:向待接入云服务发送包括一个特征信息的云服务接口类型标识以及待接入云服务的访问地址的接入请求报文,在接收到待接入云服务返回的表示匹配成功的接入响应报文时,将与该云服务接口类型标识对应的一个接口版本信息作为目标云服务接口版本信息,并基于该目标服务接口版本信息、访问账户连接待接入云服务。这样,接入设备可以自适应确定待接入云服务的云服务接口类型和接口版本信息,进而连接待接入云服务,降低了与云服务建立连接的繁琐度,提高了工作效率。

Description

一种接入云服务的方法及接入设备
本申请要求在2015年01月31日提交中国专利局、申请号为201510053184.2、发明名称为《一种接入云服务的方法及接入设备》的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明涉及通信技术领域,尤其涉及一种接入云服务的方法及接入设备。
背景技术
为了推动信息技术和通信技术的发展,网络功能虚拟化(Network Functions Virtualization,NFV)技术不仅可以提供新的网络环境,还可以提高工作效率等优势越来越受到通信领域研究人员的重视。
NFV技术即通过大容量服务器、存储设备以及网络,将之前的电信应用以虚拟化软件的形式部署在虚拟化基础设施上。NFV技术可以分离数据和控制平台,使网络设备可以根据需要添加和控制虚拟设备,实现对软件进行安装、修改卸载等管理,实现虚拟网络功能的管理,最终实现业务扩展。
在NFV系统架构中,通过虚拟网络功能管理器(Virtualized Network Function Manager,VNFM)与虚拟基础设施管理器(Virtualized Infrastructure Manager,VIM)通过接口建立连接,以实现虚拟网络功能(Virtualized Network Function,VFN)的管理,其中,VIM具体是云服务。
在VNFM与云服务建立连接过程中,VNFM需要确定待接入的VIM的云服务接口类型、云服务接口版本、云服务访问地址和访问账户等信息;VNFM通过云服务访问地址和访问账户登录指定的云服务,开始创建VNF;VNFM根据云服务接口类型、云服务接口版本加载对应的客户端软件包,从而与该VIM建立连接。
VNFM可以同时接入多个不同类型的云服务,由于云服务有多种类型,且不同的云服务提供的云服务接口类型、云服务接口版本均不同,VNFM在 与每个云服务连接时,都需要人工确认每个云服务接口类型、云服务接口版本等信息,增加了建立连接的繁琐度,降低了工作效率。
发明内容
本发明实施例提供一种接入云服务的方法及接入设备,用以解决现有技术中存在的需要人工确认每个云服务接口类型、云服务接口版本等信息,增加了建立连接的繁琐度,降低了工作效率的问题。
本发明实施例提供的具体技术方案如下:
第一方面,一种接入云服务的方法,所述方法应用于接入设备,包括:
获取待接入云服务的访问地址和访问账户;
读取特征信息集合,其中,所述特征信息集合中保存有若干条特征信息,每条特征信息包含一个云服务接口类型标识以及与所述云服务接口类型标识对应的至少一个云服务接口版本信息;
向所述待接入云服务发送第一接入请求报文,所述第一接入请求报文包括第一特征信息中的云服务接口类型标识以及所述访问地址,所述第一特征信息是所述特征信息集合中的一条特征信息;
在接收到所述待接入云服务基于所述第一接入请求报文返回的第一接入响应报文的情况下,基于目标云服务接口版本信息以及所述访问账户,连接所述待接入云服务,所述目标云服务接口版本信息是所述第一特征信息中的至少一个云服务接口版本信息中的一个,所述第一接入响应报文表示所述待接入云服务的接口类型与所述第一特征信息中的云服务接口类型标识匹配。
结合第一方面,在第一种可能的实现方式中,所述方法还包括:
在未接收到所述第一接入响应报文的情况下,向所述待接入云服务发送第二接入请求报文,所述第二接入请求报文包括第二特征信息中的云服务接口类型标识以及所述访问地址,所述第二特征信息是所述特征信息集合中不同于所述第一特征信息的一条特征信息。
结合第一方面或第一方面的第一种可能的实现方式,在第二种可能的实 现方式中,所述云服务接口版本信息包含云服务接口版本全球资源定位器URL。
结合第一方面的第二种可能的首先方式,在第三种可能的实现方式中,所述基于所述目标云服务接口版本信息以及所述访问账户,连接所述待接入云服务,包括:
向所述待接入云服务发送版本请求报文,所述版本请求报文包括所述目标云服务接口版本信息包含的云服务接口版本URL;
接收所述待接入云服务基于所述版本请求报文返回的版本响应报文,所述版本响应报文包含所述待接入云服务的至少一个云服务接口版本标识;
解析所述版本响应报文,获得所述待接入云服务的至少一个云服务接口版本标识;
加载目标云服务接口版本标识指示的软件资源,并根据所述访问账户,连接所述待接入云服务,所述目标云服务接口版本标识为所述版本响应报文中包括的至少一个云服务接口版本标识中的一个。
结合第一方面或第一方面的以上任一种可能的实现方式,在第四种可能的实现方式中,还包括:对所述特征信息集合进行更新。
结合第一方面的第四种可能的实现方式,在第五种可能的实现方式中,所述对所述特征信息集合进行更新,包括:
对所述特征信息集合进行新增操作,具体包括:将待添加的云服务接口类型标识以及与所述待添加的云服务接口类型标识对应的至少一个云服务接口版本信息作为新的特征信息添加至所述特征信息集合;或者
对所述特征信息集合进行修改操作,具体包括:在所述特征信息集合中确定待修改的特征信息,对所述待修改的特征信息中的云服务接口类型标识,和/或,所述待修改的特征信息中的云服务接口类型标识对应的至少一个云服务接口版本信息进行修改。
第二方面,一种接入设备,包括:
第一获取单元,用于获取待接入云服务的访问地址和访问账户;
第二获取单元,用于读取特征信息集合,其中,所述特征信息集合中保存有若干条特征信息,每条特征信息包含一个云服务接口类型标识以及与所述云服务接口类型标识对应的至少一个云服务接口版本信息;
发送单元,用于向所述待接入云服务发送第一接入请求报文,所述第一接入请求报文包括第一特征信息中的云服务接口类型标识以及所述访问地址,所述第一特征信息是所述特征信息集合中的一条特征信息;
连接单元,用于在接收到所述待接入云服务基于所述第一接入请求报文返回的第一接入响应报文的情况下,基于目标云服务接口版本信息以及所述访问账户,连接所述待接入云服务,所述目标云服务接口版本信息是所述第一特征信息中的至少一个云服务接口版本信息中的一个,所述第一接入响应报文表示所述待接入云服务的接口类型与所述第一特征信息中的云服务接口类型标识匹配。
结合第二方面,在第一种可能的实现方式中,所述连接单元还用于:
在未接收到所述第一接入响应报文的情况下,向所述待接入云服务发送第二接入请求报文,所述第二接入请求报文包括第二特征信息中的云服务接口类型标识以及所述访问地址,所述第二特征信息是所述特征信息集合中不同于所述第一特征信息的一条特征信息。
结合第二方面或第二方面的第一种可能的实现方式,在第二种可能的实现方式中,所述云服务接口版本信息包含云服务接口版本全球资源定位器URL。
结合第二方面的第二种可能的首先方式,在第三种可能的实现方式中,在基于所述目标云服务接口版本信息以及所述访问账户,连接所述待接入云服务方面,所述连接单元具体用于:
向所述待接入云服务发送版本请求报文,所述版本请求报文包括所述目标云服务接口版本信息包含的云服务接口版本URL;
接收所述待接入云服务基于所述版本请求报文返回的版本响应报文,所述版本响应报文包含所述待接入云服务的至少一个云服务接口版本标识;
解析所述版本响应报文,获得所述待接入云服务的至少一个云服务接口版本标识;
加载目标云服务接口版本标识指示的软件资源,并根据所述访问账户,连接所述待接入云服务,所述目标云服务接口版本标识为所述版本响应报文中包括的至少一个云服务接口版本标识中的一个。
结合第二方面或第二方面的以上任一种可能的实现方式,在第四种可能的实现方式中,该接入设备还包括:更新单元,用于对所述特征信息集合进行更新。
结合第二方面的第四种可能的实现方式,在第五种可能的实现方式中,所述更新单元具体用于:
对所述特征信息集合进行新增操作,具体包括:将待添加的云服务接口类型标识以及与所述待添加的云服务接口类型标识对应的至少一个云服务接口版本信息作为新的特征信息添加至所述特征信息集合;或者
对所述特征信息集合进行修改操作,具体包括:在所述特征信息集合中确定待修改的特征信息,对所述待修改的特征信息中的云服务接口类型标识,和/或,所述待修改的特征信息中的云服务接口类型标识对应的至少一个云服务接口版本信息进行修改。
采用本发明提供的接入云服务的方法,向待接入云服务发送包括特征信息集合中一个特征信息的云服务接口类型标识以及待接入云服务的访问地址的第一接入请求报文,在接收到待接入云服务返回的表示匹配成功指示的第一接入响应报文的情况下,在特征信息集合中该云服务接口类型标识对应的至少一个云服务接口版本信息中,选择一个作为目标云服务接口版本信息,并基于该目标服务接口版本信息以及待接入云服务的访问账户,连接待接入云服务。这样,接入设备不需要人工设置,可以通过预设的特征信息集合中的一个特征信息的云服务接口类型标识构造第一接入请求报文,并向待接入云服务发送,在收到表示匹配成功的第一接入响应报文时,即可确定待接入云服务的云服务接口类型以及云服务接口版本信息,进而可以连接待接入云 服务,降低了与云服务建立连接的繁琐度,提高了工作效率。
附图说明
图1为本发明实施例提供的一种NFV系统的系统架构示意图;
图2为本发明实施例提供的一种接入云服务的方法的流程图;
图3为本发明实施例提供的一种接入云服务的方法的具体流程图;
图4为本发明实施例提供的一种VNFM与VIM的通信系统架构示意图;
图5为本发明实施例提供的一种接入设备的结构示意图;
图6为本发明实施例提供的一种接入设备的示意图。
具体实施方式
为了使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明作进一步地详细描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本发明保护的范围。
本发明实施例提供一种接入云服务的方法及接入设备,用以解决现有技术中存在的需要人工确认每个云服务接口类型、云服务接口版本等信息,增加了建立连接的繁琐度,降低了工作效率的问题。其中,方法和接入设备是基于同一发明构思的,由于方法及装置解决问题的原理相似,因此接入设备与方法的实施可以相互参见,重复之处不再赘述。
参阅图1所示,本发明实施例提供了一种NFV系统的系统架构示意图,其中,该NFV系统可以通过多种网络实现,例如数据中心网络、服务提供者网络、或者局域网(Local Area Network,LAN)。如图1所示,该NFV系统可以包括NFV管理和编制系统(NFV Management and Orchestration System,NFV-MANO)128,NFV基础设施(NFV Infrastructure,NFVI)130,多个虚拟网络功能(Virtualized Network Function,VNF)108,多个网元管理系统 (element management system,EMS)122,服务、VNF和基础设施描述(Service,VNF and Infrastructure Description)系统126,以及一个或多个运营支撑系统/业务支撑系统(Operation Support System/Business Support System,OSS/BSS)124。
NFV-MANO 128可以包括编制器(Orchestrator)102、一个或多个VNFM104,以及一个或多个虚拟化基础设施管理器(Virtualized Infrastructure Manager,VIM)106;NFVI 130可以包括计算硬件112、存储硬件114、网络硬件116组成的硬件资源层、虚拟化层、以及虚拟计算110(例如虚拟机)、虚拟存储118和虚拟网络120组成的虚拟资源层。
硬件资源层中的计算硬件112可以为专用的处理器或通用的用于提供处理和计算功能的处理器;存储硬件114用于提供存储能力,该存储能力可以是存储硬件114本身提供的(例如一台服务器的本地内存),也可以通过网络提供(例如服务器通过网络连接一个网络存储设备);网络硬件116可以是交换机、路由器和/或其他网络设备,网络硬件116用于实现多个设备之间的通信,多个设备之间通过无线或有线连接。
NFVI 130中的虚拟化层用于抽象硬件资源层的硬件资源,将VNF 108和硬件资源所属的物理层解耦,向VNF提供虚拟资源。
虚拟资源层可以包括虚拟计算110、虚拟存储118和虚拟网络120。虚拟计算110、虚拟存储118可以以虚拟机或其他虚拟容器的形式向VNF 108提供,例如一个或多个VNF 108可以部署在一台虚拟机上。虚拟化层通过抽象网络硬件116形成虚拟网络120。虚拟网络120,例如虚拟交换机(例如Vswitches),用于实现多个虚拟机之间,或多个承载VNF的其他类型的虚拟容器之间的通信。网络硬件的虚拟化可以通过虚拟LAN(Vritual LAN,VLAN)、虚拟专用局域网业务(Virtual Private LAN Service,VPLS)、虚拟可扩展局域网(Virtual eXtensible Local Area Network,VxLAN)或通用路由封装网络虚拟化(Nerwork Virtualization using Generic Routing Encapsulation,NVGRE)等技术实现。
OSS/BSS124主要面向电信服务运营商,提供综合的网络管理和业务运营功能,包括网络管理(例如故障监控、网络信息收集等)、计费管理以及客户服务管理等。服务、VNF和基础设施描述系统126在ETSI GS NFV 002v1.1.1标准中有详细介绍,本发明实施例在此不再赘述。
NFV-MANO 128可以用于实现VNF 108和NFVI 130的监控和管理。编制器102可以与一个或多个VNFM 104进行通信以实现与资源相关的请求、发送配置信息给VNFM104、以及收集VNF 108的状态信息。另外,编制器102还可以与VIM 106进行通信以实现资源分配,和/或,实现虚拟化硬件资源的配置信息和状态信息的预留和交换。VNFM 104可以用于管理一个或多个VNF 108,执行各种管理功能,例如初始化、更新、查询、和/或终止VNF 108。VIM 106可以用于控制和管理VNF 108和计算硬件112、存储硬件114、网络硬件116、虚拟计算110、虚拟存储118、虚拟网络120的交互。例如,VIM 106可以用于执行资源向VNF 108的分配操作。VNFM 104和VIM 106可以互相通信以交换虚拟化硬件资源配置和状态信息。
NFVI 130包含硬件和软件,二者共同建立虚拟化环境以部署、管理和执行VNF108。换句话说,硬件资源层和虚拟资源层用于向VNF 108提供虚拟资源,例如虚拟机和/或其他形式的虚拟容器。
如图1所示,VNFM 104可以与VNF 108和EMS 122通信以执行VNF生命周期管理和实现配置/状态信息的交换。VNF 108是至少一个网络功能的虚拟化,该网络功能之前是由物理网络设备提供的。在一种实现方式下,VNF108可以是一个虚拟化的移动管理实体(Mobility Management Entity,MME)节点,用于提供典型的非虚拟化的MME设备提供的所有网络功能。在另一种实现方式下,VNF 108可以用于实现非虚拟化的MME设备上提供的全部组件中的部分组件的功能。一个虚拟机(或其他形式的虚拟容器)上可以部署有一个或多个VNF 108。EMS 122可以用于管理一个或多个VNF。
根据以上对NFV系统的系统架构中每个构成部分的功能论述可知,VNFM 104用于对VNF 108执行各种管理功能,如初始化、更新、查询以及 终止VNF 108等,而VIM106用于控制和管理VNF 108与其他部分进行交互,因此,若实现一个VNF 108,则必须VNFM 104和VIM 106协同工作,因此,VNFM 104和VIM 106可以互相通信以交换虚拟化硬件资源配置和状态信息,其中,VNFM 104和VIM 106通过接口建立通信连接,如通过VNFM-VI接口交互。
参阅图2所示,本发明实施例提供的一种接入云服务的方法应用于在网络功能虚拟化中与VIM(具体是云服务)进行对接的各种虚拟化接入设备中,如VNFM、网络功能虚拟化编排器(Network Functions Virtualization Orchestrator,NFVO)等等。
该方法的处理流程包括:
步骤201:获取待接入云服务的访问地址和访问账户。
首先,在确定待接入云服务后,虚拟化接入设备需要获取该待接入云服务的访问地址和访问账户,其中,获取方法可以为预先存储,或用户直接输入等,本发明在此不做限定。
步骤202:读取特征信息集合,其中,该特征信息集合中保存有若干条特征信息,每条特征信息包含一个云服务接口类型标识以及与该云服务接口类型标识对应的至少一个云服务接口版本信息。
在虚拟化接入设备中或其它外接存储设备中保存有预设的特征信息集合,该特征信息集合中保存有若干个特征信息,每一个特征信息均包含一个云服务接口类型标识,以及对应的至少一个云服务接口版本信息,可选的,还包括与云服务接口版本信息对应的软件资源信息,通常,在一个特征信息中,一个云服务接口类型标识对应一个云服务接口版本信息。具体的,每个云服务接口类型对应唯一的一个云服务接口类型标识,该标识可以为云服务接口类型的关键特征、名称等信息;云服务接口版本信息可以包含云服务接口版本全球资源定位器(Uniform Resource Locator,URL),和/或,云服务接口版本标识;云服务接口版本信息对应的软件资源信息可以包括以下任意一项或组合:软件包名称、软件包地址、软件包标识。
较佳地,操作人员可以对该特征信息集合进行管理,如特征信息的添加、删除、编辑、查询、更新等操作,而不需要对虚拟化接入设备进行升级维护,在出现新的特征信息或以保存的特征信息发生改变时,可以对特征信息集合进行动态更新,灵活管理,降低了操作人员的工作复杂度,提高了效率。
步骤203:向待接入云服务发送第一接入请求报文,该第一接入请求报文包括第一特征信息中的云服务接口类型标识以及访问地址,该第一特征信息是特征信息集合中的一条特征信息。
其中,第一特征信息可以是按照设定顺序在特征信息集合中选择的,如按照自动排序的条目编号的从小到大的顺序,或按照预先设定的优先级顺序,或者随机选择等,本发明实施例对此不做限定。
具体的,在执行步骤203时,基于第一特征信息中的云服务接口类型标识和获取的访问地址构造第一接入请求报文,使该第一接入请求报文中携带有该云服务接口类型标识和访问地址。该第一接入请求报文可以发送至该访问地址对应的待接入云服务;待接入云服务收到该接入请求报文后,对该接入请求报文进行解析,确定携带的云服务接口类型标识;待接入云服务判断自身的接口类型是否与云服务接口类型标识相匹配,当确定匹配时,则向虚拟化接入设备返回包表示匹配成功的第一接入响应报文,比如,第一接入响应报文可以包括表示匹配成功的标识;否则,返回表示匹配失败的接入响应报文(比如接入响应报文可以包括表示匹配失败的标识等等),或者不做任何操作。
步骤204:在接收到待接入云服务基于接入请求报文返回的第一接入响应报文的情况下,基于目标云服务接口版本信息以及访问账户,连接待接入云服务,该目标云服务接口版本信息是第一特征信息中的至少一个云服务接口版本信息中的一个,该第一接入响应报文表示待接入云服务的接口类型与第一特征信息中的云服务接口类型标识匹配。
第一接入响应报文表示待接入云服务的接口类型与第一特征信息中的云服务接口类型标识匹配,具体的,可以在第一接入响应报文包含匹配成功指 示用以表示待接入云服务的接口类型与第一特征信息中的云服务接口类型标识匹配。
虚拟化接入设备接收到待接入云服务基于接入请求报文返回的包含匹配成功指示的第一接入响应报文时,表示第一特征信息中的云服务接口类型标识对应的云服务接口类型是该虚拟化接入设备与待接入云服务建立连接的的接口类型。
在未接收到待接入云服务基于第一接入请求报文返回的第一接入响应报文的情况下,向待接入云服务发送第二接入请求报文,该第二接入请求报文包括第二特征信息中的云服务接口类型标识以及访问地址,该第二特征信息是特征信息集合中不同于第一特征信息的一条特征信息,直至接收到待接入云服务基于第二接入请求报文返回的包含匹配成功指示的第二接入响应报文为止,否则,继续向待接入云服务发送第三接入请求报文,其中,第一接入响应报文、第二接入响应报文物理意义相同,只是区别属于不同次数反馈的接入响应报文。
在特征信息集合中选择第二特征信息时,与选择第一特征信息类似,可以如按照自动排序的条目编号的从小到大的顺序选择第一特征信息的下一个特征信息,或按照预先设定的优先级顺序选择第一特征信息优先级的下一个优先级的特征信息,或者随机选择等,本发明实施例对此不做限定。
虚拟化接入设备接收到待接入云服务基于接入请求报文返回的第一接入响应报文,具体的,虚拟化接入设备在第一特征信息的云服务接口类型标识对应的至少一个云服务接口版本信息中,选择一个云服务接口版本信息作为目标云服务接口版本信息,可以随机选择,由于通常在一个特征信息中,一个云服务接口类型标识对应一个云服务接口版本信息,因此,可以将唯一的一个云服务接口版本信息作为目标云服务接口版本信息。
在云服务接口版本信息包含云服务接口版本URL的情况下,具体的,基于目标云服务接口版本信息以及访问账户,连接待接入云服务包括:
向待接入云服务发送版本请求报文,该版本请求报文包括目标云服务接 口版本信息包含的云服务接口版本URL;
接收待接入云服务基于版本请求报文返回的版本响应报文,该版本响应报文包含待接入云服务的至少一个云服务接口版本标识;
解析该版本响应报文,获得待接入云服务的至少一个云服务接口版本标识;
加载目标云服务接口版本标识指示的软件资源,并根据获取的访问账户,连接待接入云服务,目标云服务接口版本标识为该版本响应报文中包括的至少一个云服务接口版本标识中的一个。
具体的,云服务接口版本标识可以为版本号、版本名称等,该软件资源为客户端软件包,如超级文本传送协议(Hyper Text Transport Protocol,HTTP)客户端软件包等。
加载目标云服务接口版本标识指示的软件资源,然后通过获取的访问账户进行登录待接入云服务,从而与待接入云服务建立连接。
本发明实施例提供的上述接入云服务的方法,还包括:对特征信息集合进行更新,具体包括:
对特征信息集合进行新增操作,具体包括:将待添加的云服务接口类型标识以及与该待添加的云服务接口类型标识对应的至少一个云服务接口版本信息作为新的特征信息添加至特征信息集合;
对特征信息集合进行修改操作,具体包括:在特征信息集合中确定待修改的特征信息,对该待修改的特征信息中的云服务接口类型标识,和/或,该待修改的特征信息中的云服务接口类型标识对应的至少一个云服务接口版本信息进行修改。
采用本发明上述实施例中的接入云服务的方法,接入设备不需要人工设置,可以通过预设的特征信息集合中的一个特征信息的云服务接口类型标识构造第一接入请求报文,并向待接入云服务发送,在收到表示匹配成功的第一接入响应报文时,即可确定待接入云服务的云服务接口类型以及云服务接口版本信息,进而可以自适应连接待接入云服务,降低了与云服务建立连接 的繁琐度,提高了工作效率,同时也避免了云服务接口类型和云服务接口版本对接错误,提高了接入云服务的成功率。进一步的,接入设备还可以对该特征信息集合进行管理,而不需要对虚拟化接入设备进行升级维护,在出现新的特征信息或以保存的特征信息发生改变时,可以对特征信息集合进行动态更新,灵活管理,降低了操作人员的工作复杂度,提高了效率。
基于以上实施例,本发明实施例提供了一种接入云服务的方法的具体流程,具体的,接入设备可以是VNFM,参阅图3所示,具体流程包括:
步骤301:接入设备获取待接入云服务的访问地址、访问账户。
具体的,接入设备获取待接入云服务的访问地址、访问账户,可以从预先存储访问地址和访问账户的存储模块中获取,还可以根据用户的输入直接获取。
具体的,以VNFM为例,参阅图4所示的VNFM与VIM的通信系统架构,该VNFM 410可以是各种网络实体设备,其中,该VNFM 410可以包含用户界面(User Interface,UI)411、连接模块412以及管理模块413;每个虚拟化基础设施420对应一个VIM,不同的虚拟化基础设施420对应的VIM类型不同,即云服务接口类型或云服务接口版本不同如图所示,VIM 1和VIM2类型不同。VNFM410通过VNFM-VI接口与VIM 420建立通信连接,从而在每个VIM 420中实现多个VNF421。
VNFM 410中的UI 411用于与用户进行交互,如输入待接入云服务的访问地址、访问账户等,连接模块412用于实现连接VIM 420,管理模块413用于管理特征信息集合等。需要说明的是,图4中所示的各组成模块只是为了方便技术方案理解的示意性说明,该用户界面(User Interface,UI)411、连接模块412以及管理模块413只是以功能进行划分,本发明实施例对VNFM与VIM的通信系统架构、VNFM的组成方式以及VIM的组成方式不做限制。
在通过用户直接输入的情况下,VNFM 410获取的访问地址的形式如http://IP:port/xxx或http://域名/xxx,访问账户可以包括用户名及密码,可选的,该用户名为用户自定义的VIM名称。
步骤302:接入设备读取特征信息集合。
该该特征信息集合中保存有若干条特征信息,每条特征信息包含一个云服务接口类型标识以及与该云服务接口类型标识对应的至少一个云服务接口版本信息。
接入设备读取特征信息集合可以从本地存储模块中读取,也可以从与接入设备外接的其它存储设备中读取。应当理解的是,在接入设备启动后以及进行云服务接入前,接入设备会对特征信息集合进行初始化,比如,从文件或者数据库中加载系统预置的特征信息。
显然,该特征信息集合中的特征信息是预先配置的,因此,接入设备可以对特征信息集合中的特征信息进行的管理。示例性的,如图4中VNFM 410中的管理模块413,即可实现对特征信息的管理功能,如,管理人员在对特征信息进行添加时,首先在UI 411中选择特征信息“新增”功能,然后输入新增的云服务接口类型标识以及对该云服务接口类型标识对应的至少一个云服务接口版本信息,最后上传每个云服务接口版本信息对应的至少一个软件资源,或者输入每个云服务接口版本信息对应的软件资源的存储路径。每个软件资源对应唯一的一个云服务接口版本标识。
具体的,云服务接口类型标识可以为云服务接口类型的关键特征、名称等信息,当云服务接口类型标识为云服务接口类型的关键特征时,如openstack,每个云服务对应的云服务接口类型的关键特征可以通过查手册可以得到。
具体的,云服务接口版本信息可以为可以包含云服务接口版本URL。
可选的,还可以对特征信息集合中的特征信息进行删除、编辑、查询或导入保存等操作。示例性的,这些操作可以通过VNFM 410中的UI 411以及管理模块413实现。
具体的,对特征信息集合进行新增操作,具体包括:将待添加的云服务接口类型标识以及与该待添加的云服务接口类型标识对应的至少一个云服务接口版本信息作为新的特征信息添加至特征信息集合;
对特征信息集合进行修改操作,具体包括:在特征信息集合中确定待修改的特征信息,对该待修改的特征信息中的云服务接口类型标识,和/或,该待修改的特征信息中的云服务接口类型标识对应的至少一个云服务接口版本信息进行修改。
具体的,在对特征信息集合中的特征信息更新后,还需要上传新增或修改的云服务接口版本信息对应的软件资源。
步骤303:接入设备向待接入云服务发送第一接入请求报文。
其中,第一接入请求报文包括第一特征信息中的云服务接口类型标识以及待接入云服务的访问地址,该第一特征信息是特征信息集合中的一条特征信息。第一接入请求报文包括待接入云服务的访问地址,以使该第一接入请求报文发送至该待接入云服务。例如,针对http协议,会构造如下报文:Get URL。
第一特征信息可以是按照设定顺序在特征信息集合中选择的,如按照自动排序的条目编号的从小到大的顺序,或按照预先设定的优先级顺序,或者随机选择等。
步骤304:待接入云服务解析第一接入请求报文,判断得到的云服务接口类型标识与自身的接口类型是否匹配,若不匹配,则执行步骤305,若匹配,则执行步骤306。
待接入云服务接收到第一接入请求报文后,解析该第一接入请求报文,获得该第一接入请求报文中包含的云服务接口类型标识,并将该云服务接口类型标识与自身的接口类型进行匹配。
步骤305:待接入云服务向接入设备发送表示未匹配成功的接入响应报文。
当待接入云服务在执行步骤304中,确定解析得到的云服务接口类型标识与自身的接口类型不匹配,则向接入设备发送表示未匹配成功的接入响应报文,令接入设备继续执行步骤303,基于特征信息集合中不同第一特征信息的第二特征信息中的云服务接口类型标识以及待接入云服务的访问地址,构 造第二接入请求报文,并发送给待接入云服务,……直至待接入云服务向接入设备发送表示匹配成功的第N接入响应报文。
步骤306:待接入云服务向接入设备发送表示匹配成功的第一接入响应报文。
当待接入云服务在执行步骤304中,确定解析得到的云服务接口类型标识与自身的接口类型相匹配,则向接入设备发送表示匹配成功的第一接入响应报文,通知接入设备匹配成功,即待接入云服务的接口类型与第一特征信息中的云服务接口类型标识匹配。
可选的,该第一接入响应报文中可以包含匹配成功标识,用以和步骤305中的表示未匹配成功的接入响应报文相区分。
总的来说,步骤302至步骤306可以理解为从特征信息集合中获取特征信息后,基于特征信息中的云服务接口类型标识循环对待接入云服务(VIM)的接口类型进行探测,直至获得匹配的接口类型标识,从而完成待接入云服务的接口库类型的自动探测。
步骤307:接入设备向待接入云服务发送版本请求报文。
在接入设备接收到表示匹配成功的第一接入响应报文后,将第一特征信息中云服务接口类型标识对应的至少一个云服务接口版本信息中,选择一个云服务接口版本信息作为目标云服务接口版本信息。其中,云服务接口版本信息包含云服务接口版本URL。
基于目标云服务接口版本信息包含的云服务接口版本URL向待接入云服务发送版本请求报文。
步骤308:待接入云服务向接入设备发送版本响应报文。
待接入云服务接收到版本请求报文后,向接入设备发送包含有至少一个云服务接口版本标识的版本响应报文,每个云服务接口版本标识均对应一个该待接入云服务支持的云服务接口版本。
步骤309:接入设备解析版本响应报文,获得目标云服务接口版本标识。
接入设备解析版本响应报文,获得待接入云服务的至少一个云服务接口 版本标识,并在至少一个云服务接口版本标识中选择一个云服务接口版本标识作为目标云服务接口版本标识。
步骤310:接入设备加载目标云服务接口版本标识指示的软件资源,根据访问账户,连接待接入云服务。
接入设备加载目标云服务接口版本标识指示的软件资源,然后通过获取的待接入云服务的访问账户进行登录待接入云服务,从而与待接入云服务建立连接。
例如,示意性的,图4中的连接模块412通过UI 411获得VIM 420的访问地址和访问账户后,可以实现上述步骤中构造报文以及与VIM 420信令交互的所有步骤。
采用本发明实施例提供的接入云服务的方法,接入设备如VNFM不需要人工设置,可以通过预设的特征信息集合中的一个特征信息的云服务接口类型标识构造第一接入请求报文,并向待接入云服务发送,在收到表示匹配成功的第一接入响应报文时,即可确定待接入云服务的云服务接口类型以及云服务接口版本信息,进而可以自适应连接待接入云服务,降低了与云服务建立连接的繁琐度,提高了工作效率,同时也避免了云服务接口类型和云服务接口版本对接错误,提高了接入云服务的成功率。进一步的,接入设备还可以对该特征信息集合进行管理,而不需要对虚拟化接入设备进行升级维护,在出现新的特征信息或以保存的特征信息发生改变时,可以对特征信息集合进行动态更新,灵活管理,降低了操作人员的工作复杂度,提高了效率。
基于以上实施例,本发明还提供了一种接入设备,参阅图5所示,该接入设备包括:第一获取单元501、第二获取单元502、发送单元503以及连接单元504,其中,
第一获取单元501,用于获取待接入云服务的访问地址和访问账户;
第二获取单元502,用于读取特征信息集合,其中,特征信息集合中保存有若干条特征信息,每条特征信息包含一个云服务接口类型标识以及与该云服务接口类型标识对应的至少一个云服务接口版本信息;
发送单元503,用于向该待接入云服务发送第一接入请求报文,第一接入请求报文包括第一特征信息中的云服务接口类型标识以及该访问地址,第一特征信息是特征信息集合中的一条特征信息;
连接单元504,用于在接收到该待接入云服务基于第一接入请求报文返回的第一接入响应报文的情况下,基于目标云服务接口版本信息以及该访问账户,连接该待接入云服务,目标云服务接口版本信息是第一特征信息中的至少一个云服务接口版本信息中的一个,第一接入响应报文表示该待接入云服务的接口类型与第一特征信息中的云服务接口类型标识匹配。
需要说明的是,在该接入云服务的访问地址和访问账户是预存储的情况下,
具体的,连接单元504还用于:
在未接收到第一接入响应报文的情况下,向该待接入云服务发送第二接入请求报文,第二接入请求报文包括第二特征信息中的云服务接口类型标识以及访问地址,第二特征信息是特征信息集合中不同于第一特征信息的一条特征信息。
可选的,云服务接口版本信息包含云服务接口版本全球资源定位器URL。
具体的,在基于目标云服务接口版本信息以及访问账户,连接该待接入云服务的方面,连接单元504用于:
向该待接入云服务发送版本请求报文,版本请求报文包括目标云服务接口版本信息包含的云服务接口版本URL;
接收该待接入云服务基于版本请求报文返回的版本响应报文,版本响应报文包含待接入云服务的至少一个云服务接口版本标识;
解析版本响应报文,获得待接入云服务的至少一个云服务接口版本标识;
加载目标云服务接口版本标识指示的软件资源,并根据访问账户,连接该待接入云服务,目标云服务接口版本标识为版本响应报文中包括的至少一个云服务接口版本标识中的一个。
该接入设备还包括:更新单元,用于对特征信息集合进行更新。
更新单元具体用于:
对特征信息集合进行新增操作,具体包括:将待添加的云服务接口类型标识以及与待添加的云服务接口类型标识对应的至少一个云服务接口版本信息作为新的特征信息添加至特征信息集合;或者
对特征信息集合进行修改操作,具体包括:在特征信息集合中确定待修改的特征信息,对待修改的特征信息中的云服务接口类型标识,和/或,待修改的特征信息中的云服务接口类型标识对应的至少一个云服务接口版本信息进行修改。
需要说明的是,本发明实施例中对单元的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如第一获取单元和第二获取单元可以是同一获取单元或者不同的获取单元,或一些特征可以忽略,或不执行。另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(processor)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。
本发明实施例提供的接入设备不需要人工设置,可以通过预设的特征信息集合中的一个特征信息的云服务接口类型标识构造第一接入请求报文,并向待接入云服务发送,在收到表示匹配成功的第一接入响应报文时,即可确 定待接入云服务的云服务接口类型以及云服务接口版本信息,进而可以自适应连接待接入云服务,降低了与云服务建立连接的繁琐度,提高了工作效率,同时也避免了云服务接口类型和云服务接口版本对接错误,提高了接入云服务的成功率。进一步的,接入设备还可以对该特征信息集合进行管理,而不需要对虚拟化接入设备进行升级维护,在出现新的特征信息或以保存的特征信息发生改变时,可以对特征信息集合进行动态更新,灵活管理,降低了操作人员的工作复杂度,提高了效率。
基于以上实施例,本发明还提供了一种接入设备,参阅图6所示,该接入设备600包括:收发器601、处理器602、总线603以及存储器604,其中:
收发器601、处理器602以及存储器604通过总线603相互连接;总线603可以是外设部件互连标准(peripheral component interconnect,简称PCI)总线或扩展工业标准结构(extended industry standard architecture,简称EISA)总线等。所述总线可以分为地址总线、数据总线、控制总线等。为便于表示,图6中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。
收发器601用于与待接入云服务进行通信,如向待接入云服务发送第一接入请求报文、第二接入请求报文,以及接收待接入云服务发送的第一接入响应报文;向待接入云服务发送版本请求报文,以及接收待接入云服务发送的版本响应报文等。
处理器602用于实现本发明实施例图2所示的接入云服务的方法,包括:
获取待接入云服务的访问地址和访问账户;
读取特征信息集合,其中,该特征信息集合中保存有若干条特征信息,每条特征信息包含一个云服务接口类型标识以及与该云服务接口类型标识对应的至少一个云服务接口版本信息;
向该待接入云服务发送第一接入请求报文,第一接入请求报文包括第一特征信息中的云服务接口类型标识以及所述访问地址,所述第一特征信息是所述特征信息集合中的一条特征信息;
在接收到该待接入云服务基于第一接入请求报文返回的第一接入响应报 文的情况下,基于目标云服务接口版本信息以及获取的访问账户,连接该待接入云服务,目标云服务接口版本信息是第一特征信息中的至少一个云服务接口版本信息中的一个,第一接入响应报文表示该待接入云服务的接口类型与第一特征信息中的云服务接口类型标识匹配。
可选的,在未接收到第一接入响应报文的情况下,向该待接入云服务发送第二接入请求报文,第二接入请求报文包括第二特征信息中的云服务接口类型标识以及获取的访问地址,第二特征信息是所述特征信息集合中不同于第一特征信息的一条特征信息。
可选的,云服务接口版本信息包含云服务接口版本URL。
基于目标云服务接口版本信息以及获取的访问账户,连接该待接入云服务,包括:
向该待接入云服务发送版本请求报文,该版本请求报文包括目标云服务接口版本信息包含的云服务接口版本URL;
接收该待接入云服务基于该版本请求报文返回的版本响应报文,版本响应报文包含该待接入云服务的至少一个云服务接口版本标识;
解析版本响应报文,获得该待接入云服务的至少一个云服务接口版本标识;
加载目标云服务接口版本标识指示的软件资源,并根据获取的访问账户,连接该待接入云服务,目标云服务接口版本标识为版本响应报文中包括的至少一个云服务接口版本标识中的一个。
处理器602还可以对特征信息集合进行更新。
具体的,对特征信息集合进行更新,包括:
对特征信息集合进行新增操作,具体包括:将待添加的云服务接口类型标识以及与该待添加的云服务接口类型标识对应的至少一个云服务接口版本信息作为新的特征信息添加至特征信息集合;或者
对特征信息集合进行修改操作,具体包括:在特征信息集合中确定待修改的特征信息,对该待修改的特征信息中的云服务接口类型标识,和/或,该 待修改的特征信息中的云服务接口类型标识对应的至少一个云服务接口版本信息进行修改。
该接入设备600还包括存储器604,用于存放程序等。具体地,程序可以包括程序代码,该程序代码包括计算机操作指令。存储器604可能包含随机存取存储器(random access memory,RAM),也可能还包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。处理器602执行存储器604所存放的应用程序,实现如上接入云服务的方法。
本发明实施例提供的接入设备不需要人工设置,可以通过预设的特征信息集合中的一个特征信息的云服务接口类型标识构造第一接入请求报文,并向待接入云服务发送,在收到表示匹配成功的第一接入响应报文时,即可确定待接入云服务的云服务接口类型以及云服务接口版本信息,进而可以自适应连接待接入云服务,降低了与云服务建立连接的繁琐度,提高了工作效率,同时也避免了云服务接口类型和云服务接口版本对接错误,提高了接入云服务的成功率。进一步的,接入设备还可以对该特征信息集合进行管理,而不需要对虚拟化接入设备进行升级维护,在出现新的特征信息或以保存的特征信息发生改变时,可以对特征信息集合进行动态更新,灵活管理,降低了操作人员的工作复杂度,提高了效率。
尽管已描述了本发明的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例做出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本发明范围的所有变更和修改。
显然,本领域的技术人员可以对本发明实施例进行各种改动和变型而不脱离本发明实施例的精神和范围。这样,倘若本发明实施例的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。

Claims (18)

  1. 一种接入云服务的方法,所述方法应用于接入设备,其特征在于,包括:
    获取待接入云服务的访问地址和访问账户;
    读取特征信息集合,其中,所述特征信息集合中保存有若干条特征信息,每条特征信息包含一个云服务接口类型标识以及与所述云服务接口类型标识对应的至少一个云服务接口版本信息;
    向所述待接入云服务发送第一接入请求报文,所述第一接入请求报文包括第一特征信息中的云服务接口类型标识以及所述访问地址,所述第一特征信息是所述特征信息集合中的一条特征信息;
    在接收到所述待接入云服务基于所述第一接入请求报文返回的第一接入响应报文的情况下,基于目标云服务接口版本信息以及所述访问账户,连接所述待接入云服务,所述目标云服务接口版本信息是所述第一特征信息中的至少一个云服务接口版本信息中的一个,所述第一接入响应报文表示所述待接入云服务的接口类型与所述第一特征信息中的云服务接口类型标识匹配。
  2. 如权利要求1所述的方法,其特征在于,所述方法还包括:
    在未接收到所述第一接入响应报文的情况下,向所述待接入云服务发送第二接入请求报文,所述第二接入请求报文包括第二特征信息中的云服务接口类型标识以及所述访问地址,所述第二特征信息是所述特征信息集合中不同于所述第一特征信息的一条特征信息。
  3. 如权利要求1或2所述的方法,其特征在于,所述云服务接口版本信息包含云服务接口版本全球资源定位器URL。
  4. 如权利要求3所述的方法,其特征在于,所述基于所述目标云服务接口版本信息以及所述访问账户,连接所述待接入云服务,包括:
    向所述待接入云服务发送版本请求报文,所述版本请求报文包括所述目标云服务接口版本信息包含的云服务接口版本URL;
    接收所述待接入云服务基于所述版本请求报文返回的版本响应报文,所述版本响应报文包含所述待接入云服务的至少一个云服务接口版本标识;
    解析所述版本响应报文,获得所述待接入云服务的至少一个云服务接口版本标识;
    加载目标云服务接口版本标识指示的软件资源,并根据所述访问账户,连接所述待接入云服务,所述目标云服务接口版本标识为所述版本响应报文中包括的至少一个云服务接口版本标识中的一个。
  5. 如权利要求1-4任一项所述的方法,其特征在于,还包括:对所述特征信息集合进行更新。
  6. 如权利要求5所述的方法,其特征在于,所述对所述特征信息集合进行更新,包括:
    对所述特征信息集合进行新增操作,具体包括:将待添加的云服务接口类型标识以及与所述待添加的云服务接口类型标识对应的至少一个云服务接口版本信息作为新的特征信息添加至所述特征信息集合;或者
    对所述特征信息集合进行修改操作,具体包括:在所述特征信息集合中确定待修改的特征信息,对所述待修改的特征信息中的云服务接口类型标识,和/或,所述待修改的特征信息中的云服务接口类型标识对应的至少一个云服务接口版本信息进行修改。
  7. 一种接入设备,其特征在于,包括:
    第一获取单元,用于获取待接入云服务的访问地址和访问账户;
    第二获取单元,用于读取特征信息集合,其中,所述特征信息集合中保存有若干条特征信息,每条特征信息包含一个云服务接口类型标识以及与所述云服务接口类型标识对应的至少一个云服务接口版本信息;
    发送单元,用于向所述待接入云服务发送第一接入请求报文,所述第一接入请求报文包括第一特征信息中的云服务接口类型标识以及所述访问地址,所述第一特征信息是所述特征信息集合中的一条特征信息;
    连接单元,用于在接收到所述待接入云服务基于所述第一接入请求报文 返回的第一接入响应报文的情况下,基于目标云服务接口版本信息以及所述访问账户,连接所述待接入云服务,所述目标云服务接口版本信息是所述第一特征信息中的至少一个云服务接口版本信息中的一个,所述第一接入响应报文表示所述待接入云服务的接口类型与所述第一特征信息中的云服务接口类型标识匹配。
  8. 如权利要求7所述的接入设备,其特征在于,所述连接单元还用于:
    在未接收到所述第一接入响应报文的情况下,向所述待接入云服务发送第二接入请求报文,所述第二接入请求报文包括第二特征信息中的云服务接口类型标识以及所述访问地址,所述第二特征信息是所述特征信息集合中不同于所述第一特征信息的一条特征信息。
  9. 如权利要求7或8所述的接入设备,其特征在于,所述云服务接口版本信息包含云服务接口版本全球资源定位器URL。
  10. 如权利要求9所述的接入设备,其特征在于,在基于所述目标云服务接口版本信息以及所述访问账户,连接所述待接入云服务方面,所述连接单元具体用于:
    向所述待接入云服务发送版本请求报文,所述版本请求报文包括所述目标云服务接口版本信息包含的云服务接口版本URL;
    接收所述待接入云服务基于所述版本请求报文返回的版本响应报文,所述版本响应报文包含所述待接入云服务的至少一个云服务接口版本标识;
    解析所述版本响应报文,获得所述待接入云服务的至少一个云服务接口版本标识;
    加载目标云服务接口版本标识指示的软件资源,并根据所述访问账户,连接所述待接入云服务,所述目标云服务接口版本标识为所述版本响应报文中包括的至少一个云服务接口版本标识中的一个。
  11. 如权利要求7-10任一项所述的接入设备,其特征在于,还包括:更新单元,用于对所述特征信息集合进行更新。
  12. 如权利要求11所述的接入设备,其特征在于,所述更新单元具体用 于:
    对所述特征信息集合进行新增操作,具体包括:将待添加的云服务接口类型标识以及与所述待添加的云服务接口类型标识对应的至少一个云服务接口版本信息作为新的特征信息添加至所述特征信息集合;或者
    对所述特征信息集合进行修改操作,具体包括:在所述特征信息集合中确定待修改的特征信息,对所述待修改的特征信息中的云服务接口类型标识,和/或,所述待修改的特征信息中的云服务接口类型标识对应的至少一个云服务接口版本信息进行修改。
  13. 一种接入设备,其特征在于,包括:
    存储器,用于存放程序;
    处理器,用于调用所述存储器中存放的程序,以使所述接入设备执行下述方法:获取待接入云服务的访问地址和访问账户;
    读取特征信息集合,其中,所述特征信息集合中保存有若干条特征信息,每条特征信息包含一个云服务接口类型标识以及与所述云服务接口类型标识对应的至少一个云服务接口版本信息;
    向所述待接入云服务发送第一接入请求报文,所述第一接入请求报文包括第一特征信息中的云服务接口类型标识以及所述访问地址,所述第一特征信息是所述特征信息集合中的一条特征信息;
    在接收到所述待接入云服务基于所述第一接入请求报文返回的第一接入响应报文的情况下,基于目标云服务接口版本信息以及所述访问账户,连接所述待接入云服务,所述目标云服务接口版本信息是所述第一特征信息中的至少一个云服务接口版本信息中的一个,所述第一接入响应报文表示所述待接入云服务的接口类型与所述第一特征信息中的云服务接口类型标识匹配。
  14. 如权利要求13所述的接入设备,其特征在于,所述处理器还用于:
    在未接收到所述第一接入响应报文的情况下,向所述待接入云服务发送第二接入请求报文,所述第二接入请求报文包括第二特征信息中的云服务接口类型标识以及所述访问地址,所述第二特征信息是所述特征信息集合中不 同于所述第一特征信息的一条特征信息。
  15. 如权利要求13或14所述的接入设备,其特征在于,所述云服务接口版本信息包含云服务接口版本全球资源定位器URL。
  16. 如权利要求15所述的接入设备,其特征在于,所述处理器在基于所述目标云服务接口版本信息以及所述访问账户,连接所述待接入云服务时,具体用于:
    向所述待接入云服务发送版本请求报文,所述版本请求报文包括所述目标云服务接口版本信息包含的云服务接口版本URL;
    接收所述待接入云服务基于所述版本请求报文返回的版本响应报文,所述版本响应报文包含所述待接入云服务的至少一个云服务接口版本标识;
    解析所述版本响应报文,获得所述待接入云服务的至少一个云服务接口版本标识;
    加载目标云服务接口版本标识指示的软件资源,并根据所述访问账户,连接所述待接入云服务,所述目标云服务接口版本标识为所述版本响应报文中包括的至少一个云服务接口版本标识中的一个。
  17. 如权利要求13-16任一项所述的接入设备,其特征在于,所述处理器还用于:对所述特征信息集合进行更新。
  18. 如权利要求17所述的接入设备,其特征在于,所述处理器在对所述特征信息集合进行更新时,具体用于:
    对所述特征信息集合进行新增操作,具体包括:将待添加的云服务接口类型标识以及与所述待添加的云服务接口类型标识对应的至少一个云服务接口版本信息作为新的特征信息添加至所述特征信息集合;或者
    对所述特征信息集合进行修改操作,具体包括:在所述特征信息集合中确定待修改的特征信息,对所述待修改的特征信息中的云服务接口类型标识,和/或,所述待修改的特征信息中的云服务接口类型标识对应的至少一个云服务接口版本信息进行修改。
PCT/CN2016/071611 2015-01-31 2016-01-21 一种接入云服务的方法及接入设备 WO2016119631A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP16742693.1A EP3253023A4 (en) 2015-01-31 2016-01-21 Method for accessing cloud service and access device
US15/664,788 US20170331862A1 (en) 2015-01-31 2017-07-31 Method for accessing cloud service and access device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510053184.2 2015-01-31
CN201510053184.2A CN104601592B (zh) 2015-01-31 2015-01-31 一种接入云服务的方法及接入设备

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US15/664,788 Continuation US20170331862A1 (en) 2015-01-31 2017-07-31 Method for accessing cloud service and access device

Publications (1)

Publication Number Publication Date
WO2016119631A1 true WO2016119631A1 (zh) 2016-08-04

Family

ID=53127097

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/071611 WO2016119631A1 (zh) 2015-01-31 2016-01-21 一种接入云服务的方法及接入设备

Country Status (4)

Country Link
US (1) US20170331862A1 (zh)
EP (1) EP3253023A4 (zh)
CN (1) CN104601592B (zh)
WO (1) WO2016119631A1 (zh)

Families Citing this family (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104601592B (zh) * 2015-01-31 2017-10-17 华为技术有限公司 一种接入云服务的方法及接入设备
WO2016179803A1 (zh) * 2015-05-12 2016-11-17 华为技术有限公司 建立vnfm与vim之间的连接的方法、装置及系统
CN106301829B (zh) * 2015-05-21 2019-08-09 华为技术有限公司 一种网络业务扩容的方法和装置
CN106304144A (zh) * 2015-06-23 2017-01-04 中兴通讯股份有限公司 虚拟化核心网关开局方法、装置和系统
CN107924383B (zh) * 2015-08-25 2021-02-26 华为技术有限公司 用于网络功能虚拟化资源管理的系统和方法
US10892942B2 (en) * 2016-01-22 2021-01-12 Equinix, Inc. Container-based cloud exchange disaster recovery
CN105700961B (zh) * 2016-02-29 2019-03-08 华为技术有限公司 业务容器创建方法及装置
US10528625B2 (en) * 2017-06-21 2020-01-07 Cisco Technology, Inc. Client cloud synchronizer
CN108021462B (zh) * 2017-12-08 2019-06-04 北京百度网讯科技有限公司 用于调用云服务的方法和装置
US10855531B2 (en) * 2018-08-30 2020-12-01 Juniper Networks, Inc. Multiple networks for virtual execution elements
CN109167834A (zh) * 2018-09-11 2019-01-08 上海庆科信息技术有限公司 一种智能设备的连云方法及其相关装置
CN109471740A (zh) * 2018-10-31 2019-03-15 深圳智链物联科技有限公司 内部系统与第三方系统软件对接方法、装置及终端设备
CN110381113A (zh) * 2019-06-12 2019-10-25 深圳市奥克多普科技有限公司 一种服务选择方法和系统
CN112311669B (zh) * 2019-08-02 2022-02-01 中国电信股份有限公司 网络业务切换方法、装置、系统和存储介质
CN110636114B (zh) * 2019-08-23 2022-03-18 四川汇安融信息技术股份有限公司 一种客服接入方法及接入系统、业务系统、云平台
CN111225018A (zh) * 2019-10-23 2020-06-02 上海艾融软件股份有限公司 一种请求报文处理方法、装置和电子设备
CN113162785A (zh) * 2020-01-23 2021-07-23 华为技术有限公司 一种网络接口的建立方法、装置及系统
WO2023099343A1 (en) * 2021-12-01 2023-06-08 Koninklijke Kpn N.V. Establishing local connectivity between devices and applications in private cloud environment
CN114598735B (zh) * 2022-01-30 2024-05-14 阿里巴巴(中国)有限公司 数据处理方法和系统
CN114640533B (zh) * 2022-03-29 2023-11-24 北京有竹居网络技术有限公司 传输消息的方法、装置、存储介质及电子设备

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104253866A (zh) * 2014-09-20 2014-12-31 华为技术有限公司 虚拟网络功能网元的软件部署方法、系统及相关设备
CN104601592A (zh) * 2015-01-31 2015-05-06 华为技术有限公司 一种接入云服务的方法及接入设备

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7949999B1 (en) * 2007-08-07 2011-05-24 Amazon Technologies, Inc. Providing support for multiple interface access to software services
US9450783B2 (en) * 2009-05-28 2016-09-20 Red Hat, Inc. Abstracting cloud management

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104253866A (zh) * 2014-09-20 2014-12-31 华为技术有限公司 虚拟网络功能网元的软件部署方法、系统及相关设备
CN104601592A (zh) * 2015-01-31 2015-05-06 华为技术有限公司 一种接入云服务的方法及接入设备

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
3GPP.: "Study on Network Management ot Virtualized Networks", 3GPP TR 32.842 V0.3.0, 30 November 2014 (2014-11-30), XP055404922 *
ETSI.: "Network Functions Virtualisation (NFV); Virtual Network Functions Architecture", ETSI GS NFV-SWA 001 V1.1.1, 31 December 2014 (2014-12-31), XP055330166 *
See also references of EP3253023A4 *

Also Published As

Publication number Publication date
CN104601592A (zh) 2015-05-06
US20170331862A1 (en) 2017-11-16
CN104601592B (zh) 2017-10-17
EP3253023A1 (en) 2017-12-06
EP3253023A4 (en) 2018-01-17

Similar Documents

Publication Publication Date Title
WO2016119631A1 (zh) 一种接入云服务的方法及接入设备
US11277306B2 (en) Sending information of a network repository function instance storing network function instance information
EP3595244B1 (en) Network slice management method, unit and system
US10341468B2 (en) System and method for managing communications between a portable data terminal and a server
WO2016155394A1 (zh) 一种虚拟网络功能间链路建立方法及装置
US10091055B2 (en) Configuration service for configuring instances
US9628290B2 (en) Traffic migration acceleration for overlay virtual environments
CN107222324B (zh) 网络服务的业务配置方法和装置
WO2019184164A1 (zh) 自动部署Kubernetes从节点的方法、装置、终端设备及可读存储介质
US9021005B2 (en) System and method to provide remote device management for mobile virtualized platforms
US9858105B1 (en) Service for managing custom virtual machine images
CN112217771B (zh) 基于租户信息的数据转发方法及数据转发装置
KR101692733B1 (ko) 가상 머신 관리 방법 및 이를 위한 장치
US11317276B2 (en) Methods and/or systems for activation and/or configuration of an electronic subscriber identity module (eSIM)
WO2017066931A1 (zh) 网络功能虚拟化架构中证书的管理方法及装置
US20210289435A1 (en) Virtualization management method and apparatus
EP3676699A1 (en) Apparatus and method for configuring and monitoring virtual applications
WO2017114219A1 (zh) 部署网络服务的方法和装置
US10942785B2 (en) Integration of software applications with infrastructure
CN108370329B (zh) 管理功能对象的管理方法及装置
CN114726789A (zh) 流量管理、配置流量管理策略的方法、装置、设备及介质
US10924575B2 (en) Automatic network management system and methods
CN115250234A (zh) 一种部署网络设备的方法、装置、设备、系统及存储介质
US9225552B2 (en) Mail service management system
CN114258020A (zh) 专有云部署方法、平台及电子设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16742693

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

REEP Request for entry into the european phase

Ref document number: 2016742693

Country of ref document: EP