A method, device and system for deploying a service

Create business instances and network instances through the controller, and use business templates to automatically obtain configuration information, which solves the problems of complexity and low efficiency in virtual cloud private network service deployment, and achieves rapid deployment and efficient business rollout.

CN115118585BActive Publication Date: 2024-10-11HUAWEI TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202111164145.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2021-03-18
Filing Date
2021-09-30
Publication Date
2024-10-11
Estimated Expiration
2041-09-30

AI Technical Summary

Technical Problem

When enterprises deploy virtual cloud private network services, they face complex processes and high workloads, resulting in low deployment efficiency and error-prone, making it difficult to quickly meet business needs.

Method used

Create business instances and network instances through the controller to simplify the deployment process, reduce complexity, improve efficiency and accuracy, and use business templates to automatically obtain configuration information and reduce manual configuration complexity.

Benefits of technology

It realizes the rapid deployment of virtual cloud private network services, reduces the configuration complexity of operation and maintenance personnel, improves deployment efficiency and accuracy, simplifies network parameter settings, and improves the speed of business online.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115118585B_ABST
    Figure CN115118585B_ABST
Patent Text Reader

Abstract

This application provides a service deployment method, apparatus, and system. In this method, a controller creates a service instance corresponding to the service, and within the service instance, creates a first network instance and a second network instance corresponding to the service. The first network instance is a network instance corresponding to a first device, and includes the device identifier of the first device. The second network instance is a network instance corresponding to a first cloud operator's edge PE, and includes the device identifier of the first cloud PE. The first cloud PE is used to connect to the first cloud. This method simplifies the virtual cloud private network service deployment process, reduces the complexity of service deployment, and improves the efficiency and accuracy of service deployment.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application claims priority to Chinese patent application No. 202110293083.8 filed on March 18, 2021, with invention name “A method, device and system for deploying a service”, the entire contents of which are incorporated by reference into this application. Technical Field

[0002] The present application relates to the field of communication technology, and in particular to a method, device and system for deploying a service. Background Art

[0003] As the trend of cloudification of enterprise services becomes increasingly prominent and cloud services are widely used, enterprise users' focus has shifted from network connectivity to service quality, experience, and security. Service providers and operators hope to provide enterprise users with virtual cloud private network services that can guarantee service quality, experience, and security. However, the opening and deployment of services requires technical personnel to plan and deploy them by themselves. The service deployment is highly complex and the deployment workload is large, resulting in low service deployment efficiency and prone to errors. Summary of the invention

[0004] The embodiments of the present application provide a method, device and system for deploying a service. By creating a service instance corresponding to the service through a controller and creating a corresponding network instance in the service instance, the service deployment process can be simplified, the complexity of service deployment can be reduced, and the efficiency and accuracy of service deployment can be improved.

[0005] In a first aspect, an embodiment of the present application provides a method for deploying a service, wherein the service is a virtual cloud private network provided by a tenant. The virtual cloud private network is used for tenants to access a first cloud. The above method is executed by a controller, which creates a service instance corresponding to the service; the controller creates a first network instance and a second network instance in the service instance. The first network instance and the second network instance are used to deploy the service. Among them, the first network instance is a network instance corresponding to the first device, and the first network instance includes a device identifier of the first device. The device identifier of the first device includes but is not limited to the device serial number ESN of the first device, the device name of the first device, or the media access control MAC address of the first device. The second network instance is a network instance corresponding to the edge PE of the first cloud operator, and the second network instance includes the device identifier of the first cloud PE. The device identifier of the first cloud PE includes but is not limited to the device serial number ESN of the first cloud PE, the device name of the first cloud PE, and the media access control MAC address of the first cloud PE. The first cloud PE is used to connect to the first cloud. The first device and the first cloud PE are edge devices of the virtual cloud private network. The tenant accesses the cloud through the first device and the first cloud PE. The above method simplifies the deployment process of the virtual cloud private network service into the creation of a service instance, a first network instance and a second network instance, thereby reducing the complexity of service deployment and improving the efficiency and accuracy of service deployment.

[0006] Optionally, before the controller creates the service instance, the connection information of the first cloud PE connecting to the first cloud is set. The connection information includes one or more of the following: the device identification of the first cloud PE, the location information of the first cloud PE, the identification of the first interface of the first cloud PE, the identification of the first virtual local area network VLAN of the first cloud PE, the first interface is configured with the first VLAN, and the first cloud PE is connected to the first cloud through the first VLAN. By first setting the connection information of the first cloud PE in the controller, when subsequently creating a service instance or creating a second network instance, the device identification and other information of the first cloud PE can be associated with one or more information in the connection information, thereby reducing the number of times the network parameters are set in the service deployment process and further improving the efficiency of service deployment.

[0007] Optionally, the business instance includes an identifier of the business instance. The identifier of the business instance includes, but is not limited to, the name of the business instance, an identifier ID of the business instance, and other information that can identify the business instance. The business instance also includes one or more of the following: the type of the business instance, the number of created network instances, and the order information of the tenant.

[0008] Optionally, the type of the service instance includes single cloud or multi-cloud, where single cloud means that the tenant can only access one cloud through the first device, and multi-cloud means that the tenant can access multiple clouds through the first device.

[0009] Optionally, the device type of the first device is a customer premises equipment (CPE). When the first device is a first CPE, the first network instance further includes one or more of the following: location information of the first CPE, a network-side IP address of the first CPE, a tenant-side IP address of the first CPE, and routing information from the first CPE to the tenant's local area network.

[0010] Optionally, the device type of the first device is cloud PE. When the first device is a second cloud PE, the second cloud PE is used to connect to the second cloud. That is, the edge devices of the virtual cloud private network are the second cloud PE and the first cloud PE. The first network instance also includes one or more of the following: location information of the second cloud PE, supplier information of the second cloud, IP address of the second cloud PE connected to the second cloud, routing information of the second cloud PE connected to the second cloud, and interface service quality information of the second cloud PE connected to the second cloud.

[0011] Optionally, the second network instance also includes one or more of the following: location information of the first cloud PE, supplier information of the first cloud, IP address of the first cloud PE connected to the first cloud, routing information of the first cloud PE connected to the first cloud, and interface service quality information of the first cloud PE connected to the first cloud.

[0012] Optionally, the controller determines the device identifier of the first cloud PE according to the location information of the first cloud PE and the connection information of the first cloud PE connecting to the first cloud.

[0013] Optionally, the controller deploys the first network instance and the second network instance. Through the above method, the network operation and maintenance personnel simplify the deployment process of the virtual cloud private network service to create a service instance on the controller, create the first network instance and the second network instance, and deploy the first network instance and the second network instance. This method further simplifies the service deployment process, reduces the complexity of service deployment, and improves the efficiency and accuracy of service deployment. Optionally, the controller sends first configuration information for configuring the service to the first device; and sends second configuration information for configuring the service to the first cloud PE.

[0014] Optionally, the controller determines the first configuration information and the second configuration information according to the first network instance, the second network instance and the first service template. The first service template indicates the configuration information of the service instance. The configuration information of the service instance includes one or more of the following: tunnel configuration information, virtual private network VPN instance configuration information or routing information. Before deploying the first network instance and the second network instance, the controller sets the first service template according to the type of the service instance. The purpose of setting the first service template is to template the configuration information of the service corresponding to the service instance in terms of configuring tunnels, configuring VPN instances, configuring routes, etc. During the service deployment process, each type of service instance corresponds to a service template, and the configuration information of the service instance can be quickly obtained, thereby solving the problem that network operation and maintenance personnel need to set a large amount of configuration information for each service when deploying services. The method of obtaining configuration information through a service template simplifies the process of obtaining configuration information in the deployment of virtual cloud private network services, and further improves the efficiency of service deployment.

[0015] Optionally, the virtual cloud private network is also used for the tenant to access the third cloud. The controller creates a third network instance in the service instance. The third network instance is a network instance corresponding to the third cloud PE, and the third network instance includes a device identifier of the third cloud PE. The third cloud PE is used to connect to the third cloud.

[0016] Optionally, before the controller creates the service instance, the controller receives a first request sent by the service deployment device. The first request is used for the service deployment device to call a first application programming interface API of the controller to create the service instance, and the first request includes an identifier of the service instance. The first request also includes one or more of the following: the type of the service instance, the identifier of the tenant, and the order information of the tenant.

[0017] Optionally, before the controller creates the first network instance and the second network instance, the controller receives a second request sent by the service deployment device. The second request is used for the service deployment device to call the second API of the controller to create the first network instance and / or the second network instance. The second request includes information for creating the first network instance and / or information for creating the second network instance. The information for creating the first network instance includes an identifier of the service instance, an identifier of the first network instance, and a device identifier of the first device. The information for creating the second network instance includes an identifier of the service instance, an identifier of the second network instance, and a device identifier of the first cloud PE.

[0018] Optionally, when the first device is the first CPE, the information used to create the first network instance also includes one or more of the following: location information of the first CPE, the network side IP address of the first CPE, the tenant side IP address of the first CPE, and routing information from the first CPE to the tenant's local area network.

[0019] Optionally, the second cloud PE is used to connect to the second cloud. When the first device is the second cloud PE, the information used to create the first network instance also includes one or more of the following: location information of the second cloud PE, provider information of the second cloud, an IP address of the second cloud PE connected to the second cloud, routing information of the second cloud PE connected to the second cloud, and quality of service information of the interface of the second cloud PE connected to the second cloud.

[0020] Optionally, the information used to create the second network instance includes one or more of the following: location information of the first cloud PE, provider information of the first cloud, IP address of the first cloud PE connected to the first cloud, routing information of the first cloud PE connected to the first cloud, and interface service quality information of the first cloud PE connected to the first cloud.

[0021] Optionally, before the controller deploys the first network instance and the second network instance, the controller receives a third request sent by the service deployment device. The third request is used for the service deployment device to call a third API of the controller to deploy the first network instance and / or the second network instance. The third request includes information for deploying the first network instance and / or information for deploying the second network instance. The information for deploying the first network instance includes an identifier of the service instance and an identifier of the first network instance. The information for deploying the second network instance includes an identifier of the service instance and an identifier of the second network instance.

[0022] Optionally, the controller sends the deployment result information of the first network instance and / or the deployment result information of the second network instance to the service deployment device. The deployment result information of the first network instance includes, but is not limited to: the identifier of the first network instance, the deployment success mark of the first network instance, the deployment failure mark of the first network instance, and the deployment failure reason of the first network instance. The deployment result information of the second network instance includes, but is not limited to: the identifier of the second network instance, the deployment success mark of the second network instance, the deployment failure mark of the second network instance, and the deployment failure reason of the second network instance.

[0023] Optionally, the controller receives a fourth request sent by the service deployment device, where the fourth request is used to call a fourth API of the controller to obtain deployment result information of the first network instance and / or deployment result information of the second network instance.

[0024] Optionally, the controller sends service instance creation result information to the service deployment device. The service instance creation result information includes but is not limited to: service instance identifier, service instance creation success mark, service instance creation failure mark, and service instance creation failure reason.

[0025] Optionally, the controller receives a fifth request sent by the service deployment device, where the fifth request is used to call a fifth API of the controller to obtain creation result information of the service instance.

[0026] Optionally, the controller sends the creation result information of the first network instance and / or the creation result information of the second network instance to the service deployment device. The creation result information of the first network instance includes, but is not limited to: the identifier of the first network instance, the creation success mark of the first network instance, the creation failure mark of the first network instance, and the reason for the creation failure of the first network instance. The creation result information of the second network instance includes, but is not limited to: the identifier of the second network instance, the creation success mark of the second network instance, the creation failure mark of the second network instance, and the reason for the creation failure of the second network instance.

[0027] Optionally, the controller receives a sixth request sent by the service deployment device, and the sixth request is used to call a sixth API of the controller to obtain creation result information of the first network instance and / or creation result information of the second network instance. Optionally, the virtual cloud private network is used for at least one site of the tenant to access the first cloud through at least one virtual private line.

[0028] Optionally, the first cloud includes at least one virtual private cloud VPC.

[0029] Optionally, the type of each site in the at least one site of the tenant includes: a branch network or a cloud.

[0030] In a second aspect, an embodiment of the present application provides a method for deploying a service, wherein the service is to provide a virtual cloud private network for a tenant. The virtual cloud private network is used for tenants to access a first cloud. The above method is performed by a service deployment device, wherein the service deployment device sends a first request to a controller, wherein the first request is used to call a first application programming interface API of the controller to create a service instance of the service, and the first request includes an identifier of the service instance; and sends a second request to the controller, wherein the second request is used to call a second API of the controller to create a first network instance and / or a second network instance. The second request includes information for creating a first network instance and / or information for creating a second network instance. The information for creating the first network instance includes an identifier of the service instance, an identifier of the first network instance, and a device identifier of the first device. The information for creating the second network instance includes an identifier of the service instance, an identifier of the second network instance, and a device identifier of the first cloud PE. Among them, the first network instance and the second network instance are used to deploy a service. The first network instance is a network instance corresponding to the first device, and the first network instance includes a device identifier of the first device. The second network instance is a network instance corresponding to the edge PE of the first cloud operator, and the second network instance includes a device identifier of the first cloud PE. The first cloud PE is used to connect to the first cloud. The first device and the first cloud PE are edge devices of the virtual cloud private network. The tenant accesses the cloud through the first device and the first cloud PE. The network personnel call the service-oriented interface provided by the controller through the service deployment device to deploy the service, simplifying the process of virtual cloud private network service deployment to creating a service instance, creating a first network instance and a second network instance, reducing the complexity of service deployment and improving the efficiency and accuracy of service deployment.

[0031] Optionally, the first request further includes one or more of the following: the type of business instance, the identifier of the tenant, and the order information of the tenant.

[0032] Optionally, the device type of the first device is a customer premises equipment (CPE). When the first device is a first CPE, the information used to create the first network instance further includes one or more of the following: location information of the first CPE, a network-side IP address of the first CPE, a tenant-side IP address of the first CPE, and routing information from the first CPE to the tenant's local area network.

[0033] Optionally, the device type of the first device is a cloud PE. The second cloud PE is used to connect to the second cloud. When the first device is a second cloud PE, the information used to create the first network instance also includes one or more of the following: location information of the second cloud PE, provider information of the second cloud, an IP address of the second cloud PE connected to the second cloud, routing information of the second cloud PE connected to the second cloud, and quality of service information of the interface of the second cloud PE connected to the second cloud.

[0034] Optionally, the information used to create the second network instance includes one or more of the following: location information of the first cloud PE, supplier information of the first cloud, IP address of the first cloud PE connected to the first cloud, routing information of the first cloud PE connected to the first cloud, and interface service quality information of the first cloud PE connected to the first cloud. Optionally, the service deployment device sends a third request to the controller. The third request is used for the service deployment device to call a third API of the controller to deploy the first network instance and / or the second network instance. The third request includes information for deploying the first network instance and / or information for deploying the second network instance. The information for deploying the first network instance includes an identifier of the service instance and an identifier of the first network instance, and the information for deploying the second network instance includes an identifier of the service instance and an identifier of the second network instance.

[0035] Optionally, the service deployment device receives service instance creation result information sent by the controller. The service instance creation result information includes but is not limited to: service instance identifier, service instance creation success mark, service instance creation failure mark, and service instance creation failure reason.

[0036] Optionally, the service deployment device outputs creation result information of the service instance.

[0037] Optionally, the service deployment device receives the creation result information of the first network instance and / or the creation result information of the second network instance sent by the controller. The creation result information of the first network instance includes but is not limited to: the identifier of the first network instance, the creation success mark of the first network instance, the creation failure mark of the first network instance, and the reason for the creation failure of the first network instance. The creation result information of the second network instance includes but is not limited to: the identifier of the second network instance, the creation success mark of the second network instance, the creation failure mark of the second network instance, and the reason for the creation failure of the second network instance.

[0038] Optionally, the service deployment device outputs creation result information of the first network instance and / or creation result information of the second network instance.

[0039] Optionally, the service deployment device receives the deployment result information of the first network instance and / or the deployment result information of the second network instance sent by the controller. The deployment result information of the first network instance includes, but is not limited to: the identifier of the first network instance, the deployment success mark of the first network instance, the deployment failure mark of the first network instance, and the deployment failure reason of the first network instance. The deployment result information of the second network instance includes, but is not limited to: the identifier of the second network instance, the deployment success mark of the second network instance, the deployment failure mark of the second network instance, and the deployment failure reason of the second network instance.

[0040] Optionally, the service deployment device outputs deployment result information of the first network instance and / or deployment result information of the second network instance.

[0041] Optionally, the type of the service instance includes: single cloud or multi-cloud, where single cloud means that the tenant can only access one cloud through the first device, and multi-cloud means that the tenant can access multiple clouds through the first device.

[0042] Optionally, the virtual cloud private network is used for at least one site of the tenant to access the first cloud through at least one virtual private line.

[0043] Optionally, the first cloud includes at least one virtual private cloud VPC.

[0044] Optionally, the type of each site in the at least one site of the tenant includes: a branch network or a cloud.

[0045] In a third aspect, an embodiment of the present application provides a device for service deployment. The service is to provide a virtual cloud private network for tenants, and the virtual cloud private network is used for tenants to access the first cloud. The device includes: a service instance creation module, which is used to create a service instance corresponding to the service. The device includes: a network instance creation module, which is used to create a first network instance and a second network instance in the service instance. The first network instance and the second network instance are used to deploy the service. Among them, the first network instance is a network instance corresponding to the first device, and the first network instance includes a device identifier of the first device. The device identifier of the first device includes but is not limited to the device serial number ESN of the first device, the device name of the first device, or the media access control MAC address of the first device. The second network instance is a network instance corresponding to the edge PE of the first cloud operator, and the second network instance includes the device identifier of the first cloud PE. The device identifier of the first cloud PE includes but is not limited to the device serial number ESN of the first cloud PE, the device name of the first cloud PE, and the media access control MAC address of the first cloud PE. The first cloud PE is used to connect to the first cloud. The first device and the first cloud PE are edge devices of the virtual cloud private network. The tenant accesses the cloud through the first device and the first cloud PE. Through the above-mentioned device, the virtual cloud private network service department deploys the service deployment process by the service deployment device, simplifying it to creating a service instance, creating a first network instance and a second network instance, thereby reducing the complexity of service deployment and improving the efficiency and accuracy of service deployment.

[0046] Optionally, the device also includes: an information setting module, which is used to set the connection information of the first cloud PE connecting to the first cloud. The connection information includes one or more of the following: the device identification of the first cloud PE, the location information of the first cloud PE, the identification of the first interface of the first cloud PE, the identification of the first virtual local area network VLAN of the first cloud PE, the first interface is used for the first cloud PE to connect to the first cloud, and the first VLAN is used for the first cloud PE to connect to the first cloud. By setting the connection information of the first cloud PE on the device, when creating a business instance or creating a second network instance, the device identification of the first cloud PE and other information can be associated with one or more information in the connection information, thereby reducing the number of times the network parameters are set in the business deployment process and further improving the efficiency of business deployment. Optionally, the business instance includes an identification of the business instance. The identification of the business instance includes but is not limited to the name of the business instance, the identifier ID of the business instance, and other information that can identify the business instance.

[0047] Optionally, the service instance further includes one or more of the following: the type of service instance, the number of created network instances, and the order information of the tenant.

[0048] Optionally, the type of the service instance includes single cloud or multi-cloud, where single cloud means that the tenant can only access one cloud through the first device, and multi-cloud means that the tenant can access multiple clouds through the first device.

[0049] Optionally, the device type of the first device is a customer premises equipment (CPE). When the first device is a first CPE, the first network instance further includes one or more of the following: location information of the first CPE, a network-side IP address of the first CPE, a tenant-side IP address of the first CPE, and routing information from the first CPE to the tenant's local area network.

[0050] Optionally, the device type of the first device is a cloud PE. The second cloud PE is used to connect to the second cloud. When the first device is a second cloud PE, the first network instance further includes one or more of the following: location information of the second cloud PE, provider information of the second cloud, an IP address of the second cloud PE connected to the second cloud, routing information of the second cloud PE connected to the second cloud, and quality of service information of the interface of the second cloud PE connected to the second cloud.

[0051] Optionally, the second network instance also includes one or more of the following: location information of the first cloud PE, supplier information of the first cloud, IP address of the first cloud PE connected to the first cloud, routing information of the first cloud PE connected to the first cloud, and interface service quality information of the first cloud PE connected to the first cloud.

[0052] Optionally, the apparatus further includes: a network instance creation module, further used to determine a device identifier of the first cloud PE according to the location information of the first cloud PE and connection information of the first cloud PE connecting to the first cloud.

[0053] Optionally, the device further includes: a network instance deployment module, which is used to deploy the first network instance and the second network instance. The device simplifies the deployment process of the virtual cloud private network service to create a service instance on the control, create the first network instance and the second network instance, and deploy the first network instance and the second network instance. The device further simplifies the service deployment process, reduces the complexity of service deployment, and improves the efficiency and accuracy of service deployment.

[0054] Optionally, the apparatus further includes: a network instance deployment module, further used to send first configuration information to the first device, the first configuration information is used to configure the service; and further used to send second configuration information to the first cloud PE, the second configuration information is used to configure the service.

[0055] Optionally, the device further includes: a network instance deployment module, further configured to determine first configuration information and second configuration information according to the first network instance, the second network instance and the first service template. The first service template indicates configuration information of the service instance. The configuration information of the service instance includes one or more of the following: tunnel configuration information, virtual private network VPN instance configuration information or routing information.

[0056] Optionally, the device further includes: an information setting module, which is also used to set a first service template according to the type of the service instance. Before deploying the first network instance and the second network instance, the device sets the first service template according to the type of the service instance. The purpose of setting the first service template is to template the configuration information of the service corresponding to the service instance in terms of configuring tunnels, configuring VPN instances, configuring routes, etc. In the service deployment process, each type of service instance corresponds to a service template. According to the service template, the configuration information of the service instance can be quickly obtained, thereby solving the problem that network operation and maintenance personnel need to set a large amount of configuration information for each service when deploying services. The method of obtaining configuration information through a service template simplifies the process of obtaining configuration information in the virtual cloud private network service deployment, and further improves the efficiency of service deployment. Optionally, the virtual cloud private network is also used for tenants to access the third cloud. The network instance creation module is also used to create a third network instance in the service instance. The third network instance is a network instance corresponding to the third cloud PE, and the third network instance includes a device identifier of the third cloud PE. The third cloud PE is used to connect to the third cloud.

[0057] Optionally, the device further comprises: a request message processing module, configured to receive a first request sent by the service deployment device. The first request is used to call a first application programming interface API of the device to create a service instance, and the first request includes an identifier of the service instance.

[0058] Optionally, the first request further includes one or more of the following: the type of business instance, the identifier of the tenant, and the order information of the tenant.

[0059] Optionally, the device also includes: a request message processing module, which is also used to receive a second request sent by the service deployment device. The second request is used to call the second API of the device to create a first network instance and / or a second network instance. The second request includes information for creating the first network instance and / or information for creating the second network instance. The information for creating the first network instance includes an identifier of the service instance, an identifier of the first network instance, and a device identifier of the first device. The information for creating the second network instance includes an identifier of the service instance, an identifier of the second network instance, and a device identifier of the first cloud PE.

[0060] Optionally, the device type of the first device is CPE. When the first device is a first CPE, the information used to create the first network instance also includes one or more of the following: location information of the first CPE, a network-side IP address of the first CPE, a tenant-side IP address of the first CPE, and routing information from the first CPE to the tenant's local area network.

[0061] Optionally, the device type of the first device is a cloud PE. The second cloud PE is used to connect to the second cloud. When the first device is a second cloud PE, the information used to create the first network instance also includes one or more of the following: location information of the second cloud PE, provider information of the second cloud, an IP address of the second cloud PE connected to the second cloud, routing information of the second cloud PE connected to the second cloud, and quality of service information of the interface of the second cloud PE connected to the second cloud.

[0062] Optionally, the information used to create the second network instance includes one or more of the following: location information of the first cloud PE, supplier information of the first cloud, IP address of the first cloud PE connected to the first cloud, routing information of the first cloud PE connected to the first cloud, and interface service quality information of the first cloud PE connected to the first cloud. Optionally, the device also includes: a request message processing module, which is also used to receive a third request sent by the service deployment device. The third request is used to call the third API of the device to deploy the first network instance and / or the second network instance. The third request includes information for deploying the first network instance and / or information for deploying the second network instance. The information for deploying the first network instance includes an identifier of the service instance and an identifier of the first network instance. The information for deploying the second network instance includes an identifier of the service instance and an identifier of the second network instance.

[0063] Optionally, the device also includes: a request message processing module, which is also used to receive a fourth request sent by the service deployment device, and the fourth request is used to call the fourth API of the device to obtain the deployment result information of the first network instance and / or the deployment result information of the second network instance. The deployment result information of the first network instance includes but is not limited to: an identifier of the first network instance, a deployment success mark of the first network instance, a deployment failure mark of the first network instance, and a deployment failure reason of the first network instance. The deployment result information of the second network instance includes but is not limited to: an identifier of the second network instance, a deployment success mark of the second network instance, a deployment failure mark of the second network instance, and a deployment failure reason of the second network instance.

[0064] Optionally, the device further includes: a result information processing module, configured to send the deployment result of the first network instance and / or the deployment result of the second network instance to the service deployment device.

[0065] Optionally, the device further comprises: a result information processing module, which is used to send the service instance creation result information to the service deployment device. The service instance creation result information includes but is not limited to: the service instance identifier, the service instance creation success mark, the service instance creation failure mark, and the service instance creation failure reason.

[0066] Optionally, the device further includes: a result information processing module, configured to receive a fifth request sent by the service deployment device, wherein the fifth request is used to call a fifth API of the controller to obtain creation result information of the service instance.

[0067] Optionally, the device further includes: a result information processing module, which is used to send the creation result information of the first network instance and / or the creation result information of the second network instance to the service deployment device. The creation result information of the first network instance includes but is not limited to: the identification of the first network instance, the creation success mark of the first network instance, the creation failure mark of the first network instance, and the reason for the creation failure of the first network instance. The creation result information of the second network instance includes but is not limited to: the identification of the second network instance, the creation success mark of the second network instance, the creation failure mark of the second network instance, and the reason for the creation failure of the second network instance.

[0068] Optionally, the device also includes: a result information processing module, used to receive a sixth request sent by the service deployment device, the sixth request is used to call a sixth API of the controller to obtain creation result information of the first network instance and / or creation result information of the second network instance.

[0069] Optionally, the virtual cloud private network is used for at least one site of the tenant to access the first cloud through at least one virtual private line.

[0070] Optionally, the first cloud includes at least one virtual private cloud VPC.

[0071] Optionally, the type of each site in the at least one site of the tenant includes: a branch network or a cloud.

[0072] In a fourth aspect, an embodiment of the present application provides a device for service deployment. The service is to provide a virtual cloud private network for tenants, and the virtual cloud private network is used for tenants to access the first cloud. The device includes: a request message processing module, which is used to send a first request to a controller. The first request is used to call the first application programming interface API of the controller to create a service instance of the service, and the first request includes an identifier of the service instance. The device includes: a request message processing module, which is also used to send a second request to the controller. The second request is used to call the second API of the controller to create a first network instance and / or a second network instance. The second request includes information for creating the first network instance and / or information for creating the second network instance. The information for creating the first network instance includes an identifier of the service instance, an identifier of the first network instance, and a device identifier of the first device. The information for creating the second network instance includes an identifier of the service instance, an identifier of the second network instance, and a device identifier of the first cloud PE. Among them, the first network instance and the second network instance are used to deploy the service, and the first network instance is a network instance corresponding to the first device. The first network instance includes the device identifier of the first device. The second network instance is a network instance corresponding to the edge PE of the first cloud operator, and the second network instance includes the device identifier of the first cloud PE. The first cloud PE is used to connect to the first cloud. The first device and the first cloud PE are edge devices of the virtual cloud private network. The tenant accesses the cloud through the first device and the first cloud PE. The above device deploys services by calling the service-oriented interface provided by the controller, simplifies the process of virtual cloud private network service deployment into the creation of service instances, first network instances, and second network instances, reduces the complexity of service deployment, and improves the efficiency and accuracy of service deployment.

[0073] Optionally, the first request further includes one or more of the following: the type of business instance, the identifier of the tenant, and the order information of the tenant.

[0074] Optionally, the device type of the first device is a customer premises equipment (CPE). When the first device is a first CPE, the information used to create the first network instance further includes one or more of the following: location information of the first CPE, a network-side IP address of the first CPE, a tenant-side IP address of the first CPE, and routing information from the first CPE to the tenant's local area network.

[0075] Optionally, the device type of the first device is a cloud PE. The second cloud PE is used to connect to the second cloud. When the first device is a second cloud PE, the information used to create the first network instance also includes one or more of the following: location information of the second cloud PE, provider information of the second cloud, an IP address of the second cloud PE connected to the second cloud, routing information of the second cloud PE connected to the second cloud, and quality of service information of the interface of the second cloud PE connected to the second cloud.

[0076] Optionally, the information used to create the second network instance includes one or more of the following: location information of the first cloud PE, provider information of the first cloud, IP address of the first cloud PE connected to the first cloud, routing information of the first cloud PE connected to the first cloud, and interface service quality information of the first cloud PE connected to the first cloud.

[0077] Optionally, the device further includes: a request message processing module, further used to send a third request to the controller, the third request being used to call a third API of the controller to deploy the first network instance and / or the second network instance. The third request includes information for deploying the first network instance and / or information for deploying the second network instance. The information for deploying the first network instance includes an identifier of the service instance and an identifier of the first network instance. The information for deploying the second network instance includes an identifier of the service instance and an identifier of the second network instance.

[0078] Optionally, the device further comprises: a result information processing module, configured to receive the creation result information of the service instance sent by the controller. The creation result information of the service instance includes but is not limited to: an identifier of the service instance, a mark of successful creation of the service instance, a mark of failed creation of the service instance, and a reason for failed creation of the service instance.

[0079] Optionally, the device further includes: a result information processing module, further configured to output creation result information of the service instance.

[0080] Optionally, the device further includes: a result information processing module, which is also used to receive the creation result information of the first network instance and / or the creation result information of the second network instance sent by the controller. The creation result information of the first network instance includes but is not limited to: the identification of the first network instance, the creation success mark of the first network instance, the creation failure mark of the first network instance, and the reason for the creation failure of the first network instance. The creation result information of the second network instance includes but is not limited to: the identification of the second network instance, the creation success mark of the second network instance, the creation failure mark of the second network instance, and the reason for the creation failure of the second network instance.

[0081] Optionally, the device further includes: a result information processing module, which is also used to output the creation result information of the first network instance and / or the creation result information of the second network instance. Optionally, the device further includes: a result information processing module, which is also used to receive the deployment result information of the first network instance and / or the deployment result information of the second network instance sent by the controller. The deployment result information of the first network instance includes but is not limited to: an identifier of the first network instance, a deployment success mark of the first network instance, a deployment failure mark of the first network instance, and a deployment failure reason of the first network instance. The deployment result information of the second network instance includes but is not limited to: an identifier of the second network instance, a deployment success mark of the second network instance, a deployment failure mark of the second network instance, and a deployment failure reason of the second network instance. Optionally, the device further includes: a result information processing module, which is also used to output the deployment result information of the first network instance and / or the deployment result information of the second network instance.

[0082] Optionally, the type of the service instance includes: single cloud or multi-cloud, where single cloud means that the tenant can only access one cloud through the first device, and multi-cloud means that the tenant can access multiple clouds through the first device.

[0083] Optionally, the virtual cloud private network is used for at least one site of the tenant to access the first cloud through at least one virtual private line.

[0084] Optionally, the first cloud includes at least one virtual private cloud VPC.

[0085] Optionally, the type of each site in the at least one site of the tenant includes: a branch network or a cloud.

[0086] In a fifth aspect, an embodiment of the present application provides a service deployment system, which includes a controller and a service deployment device, wherein the controller implements the steps performed by the controller in the method of the above aspect, and the service deployment device implements the steps performed by the service deployment device in the method of the above aspect.

[0087] In a sixth aspect, an embodiment of the present application provides a communication device, which includes a memory and a processor, wherein the memory includes instructions, and when the processor executes the instructions, the communication device executes the steps performed by the controller in the method in the above aspect.

[0088] In a seventh aspect, an embodiment of the present application provides a communication device, the communication device includes a memory and a processor, the memory includes instructions, when the processor executes the instructions, the communication device executes the steps performed by the service deployment device in the method in the above aspects. In an eighth aspect, an embodiment of the present application provides a computer-readable storage medium, the computer-readable storage medium stores instructions, when the instructions are executed by the processor, the service deployment method provided in any of the above aspects is implemented.

[0089] In a ninth aspect, an embodiment of the present application provides a computer program product comprising instructions, which, when executed by a processor, implements a method for deploying the services provided by any of the above aspects and any possible implementation methods. BRIEF DESCRIPTION OF THE DRAWINGS

[0090] FIG. 1( a ) is a network topology and architecture diagram of a method for deploying a service provided in an embodiment of the present application;

[0091] FIG1( b) is a network topology and architecture diagram of a method for deploying a service provided in an embodiment of the present application;

[0092] FIG. 2( a) is a schematic diagram of an application scenario of a method for deploying a service provided in an embodiment of the present application;

[0093] FIG2( b) is a schematic diagram of an application scenario of a method for deploying a service provided in an embodiment of the present application;

[0094] FIG2( c ) is a schematic diagram of an application scenario of a service deployment method provided in an embodiment of the present application;

[0095] Figure 3 A schematic diagram of an interface for setting connection information in an embodiment of a method for deploying a service provided in an embodiment of the present application;

[0096] FIG. 4( a) is a flow chart of an implementation method 400 of a service deployment method provided in an embodiment of the present application;

[0097] FIG4( b) is a flow chart of an implementation method 4050 of deploying a service provided in an embodiment of the present application;

[0098] FIG4( c ) is a flow chart of an implementation method 40550 of deploying a service provided in an embodiment of the present application;

[0099] FIG5( a) is a schematic diagram of an interface for creating a service instance in an embodiment of a service deployment method provided in an embodiment of the present application;

[0100] FIG5( b) is a schematic diagram of an interface of a service instance list in an embodiment of a service deployment method provided in an embodiment of the present application;

[0101] FIG6( a) is a schematic diagram of an interface for creating a network instance in an embodiment of a method for deploying a service provided in an embodiment of the present application;

[0102] FIG6( b) is a schematic diagram of an interface for creating a network instance in an embodiment of a method for deploying a service provided in an embodiment of the present application;

[0103] FIG6( c) is a schematic diagram of an interface for creating a network instance in an embodiment of a method for deploying a service provided in an embodiment of the present application;

[0104] Figure 7 A flowchart of an implementation method 700 of a service deployment method provided in an embodiment of the present application;

[0105] Figure 8 A schematic diagram of the architecture of a service deployment system provided in an embodiment of the present application;

[0106] Fig. 9 A schematic diagram of the architecture of a service deployment device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0107] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments.

[0108] The network architecture and business scenarios described in the embodiments of this application are intended to illustrate the technical solutions of this application by way of examples, and do not mean that this application is only applicable to the following embodiments. It is known to those skilled in the art that with the evolution of network architecture and the emergence of new business scenarios, the technical solutions provided by this application are also applicable to similar technical problems.

[0109] The following is an explanation of the terms involved in this application:

[0110] Virtual cloud private network: A virtual cloud private network is a virtual private network for tenants or enterprise users to access the cloud. For example, through a virtual cloud private network, terminals or servers at a tenant site can access the cloud. The service provider establishes one or more virtual private lines between the network equipment at the tenant site and the network equipment at the cloud, so that the terminals or servers at the tenant site can access the cloud through private lines. Compared with tenants accessing the cloud through Internet lines, tenants accessing the cloud through a virtual cloud private network will have higher security and reliability.

[0111] Tenant site: A tenant's network where terminals or servers need to access the cloud through a virtual cloud private network. Tenant site types include, but are not limited to, branch networks or clouds.

[0112] Service Provider Network: The service provider network is a network deployed and maintained by the service provider. It is the network infrastructure that provides virtual cloud private network services to tenants. Based on this network, the service provider provides a virtual private line from the tenant side to the cloud side for the tenant's services, so that the terminals or servers at the tenant site can access the cloud through the virtual cloud private network.

[0113] The application scenario schematic diagrams shown in Figures 1(a) and 1(b) describe the network topology and system architecture of the service provider system, tenant sites, service provider network and cloud of the virtual cloud private network service provider in this embodiment. As shown in Figures 1(a) and 1(b), the service provider provides virtual cloud private network services to tenants A, tenant B and tenant C through the service provider system 1000. The service provider provides accessible clouds to tenants, and the clouds include a first cloud 50, a second cloud 60 and a third cloud 70. The types of clouds include but are not limited to public clouds, private clouds or hybrid clouds. The cloud accessed by the tenant can be a cloud, or it can be one or more virtual private clouds VPC (Virtual Private Cloud) virtualized based on the cloud through virtualization technology.

[0114] As shown in FIG. 1(a) and FIG. 1(b), the tenant site type of tenant A is a branch network. The tenant site of tenant A includes a branch network 10. The branch network 10 includes a terminal 101. The tenant site type of tenant B is a branch network. The tenant site of tenant B includes a branch network 20. The branch network 20 includes a terminal 201. The tenant site type of tenant C is a cloud. The tenant site of tenant C includes a cloud 80. The cloud 80 includes a virtual private cloud VPC 801.

[0115] As shown in FIG1(a), the service provider network is a multi-domain network, including a network of a network domain A 30 and a network domain B 40. Network domain A includes customer premises equipment CPE (Customer Premises Equipment) 301, CPE 302, and cloud provider edge PE (Provider Edge) 303. CPE 301 is a network device deployed in the service provider network and located at the tenant A site side. CPE 302 is a network device deployed in the service provider network and located at the tenant B site side. Cloud PE 303 is a network device deployed in the service provider network and located at the tenant C site side. Network domain A also includes other equipment of the service provider, which are not described one by one here. Network domain B includes network PE 305, network PE 306, cloud PE 401, cloud PE 402, and cloud PE 403. Network PE 305 and network PE 306 are deployed in the service provider network and are located at the boundary devices of network domain A and network domain B. Cloud PE 401 is a device deployed in the service provider network and located at the first cloud 50 side. Cloud PE 402 is a device deployed in the service provider network and located on the second cloud 60. Cloud PE 403 is a device deployed in the service provider network and located on the third cloud 70. Network domain B also includes other devices of the service provider, which are not described one by one here.

[0116] As shown in Figure 1(b), the service provider network is a single-domain network, including a network of network domain C 90. Network domain C includes CPE301, CPE302, cloud PE303, cloud PE401, cloud PE402 and cloud PE403. CPE301 is a network device deployed in the service provider network and located on the tenant A site side. CPE302 is a network device deployed in the service provider network and located on the tenant B site side. Cloud PE303 is a network device deployed in the service provider network and located on the tenant C site side. Cloud PE401 is a device deployed in the service provider network and located on the first cloud 50 side. Cloud PE402 is a device deployed in the service provider network and located on the second cloud 60 side. Cloud PE403 is a device deployed in the service provider network and located on the third cloud 70 side. Network domain C also includes other devices of the service provider, which are not described one by one here.

[0117] The business requirement of tenant A is that the terminal 101 in the tenant A site (branch network 10 ) only accesses the first cloud 50 .

[0118] The service requirement of tenant B is: the terminal 201 in the tenant B site (branch network 20 ) accesses the second cloud 60 and the third cloud 70 .

[0119] The business requirement of tenant C is that the server in the tenant C site (cloud 80 ) only accesses the third cloud 70 .

[0120] The service provider divides the service type of the virtual cloud private network into single cloud or multi-cloud according to the business needs of the tenants. Single cloud means that the tenant can only access one cloud through the equipment on the tenant side. Multi-cloud means that the tenant can access multiple clouds through the equipment on the tenant side. For example, the business demand of tenant A is that the terminal 101 only accesses the first cloud 50 through CPE301, so the business type of tenant A is single cloud; the business demand of tenant C is that the server only accesses the third cloud 70 through cloud PE303, so the business type of tenant C is single cloud. For another example, the business demand of tenant B is that the terminal can access the second cloud 60 and the third cloud 70 through CPE302, so the business type of tenant B is multi-cloud.

[0121] As shown in FIG. 1(a) and FIG. 1(b), the service provider system 1000 is a service deployment system provided in an embodiment of the present application. The service provider system 1000 includes a service deployment device 1100 and a controller 1200 corresponding to the service provider network. The service deployment device 1100 may be an operation support system OSS (Operations Support System), a business support system (Business Support System) or a network service orchestrator NSO (Network Service Orchestrator), etc. As shown in FIG. 1(a), the controller 1200 is a cross-domain controller for managing and operating network devices in network domain A 30 and network domain B 40. As shown in FIG. 1(b), the controller 1200 is a single-domain controller for managing and operating network devices in network domain C 90. As shown in FIG. 1(a) and FIG. 1(b), the service deployment device 1100 deploys virtual cloud private network services by calling one or more application programming interfaces API (Application Programming Interface) of the controller 1200.

[0122] In order to provide tenants with a virtual cloud private network that meets the tenants' business needs, the service provider needs to provide tenants with one or more virtual private lines, which are used for terminals or servers in the tenant site to access the cloud. The above-mentioned virtual private line is a data transmission tunnel from the network device on the tenant side in the service provider network to the network device on the cloud side. Tunnel types include but are not limited to Layer 2 virtual private network VPN (Virtual Private Network) tunnels or Layer 3 VPN tunnels. As shown in Figure 2(a), the service provider provides tenant A with a virtual cloud private network A, and the business type of virtual cloud private network A is single cloud. A virtual private line 500 is created from CPE301 to cloud PE401. Based on the virtual private line 500, the data forwarding process for the data packet from the terminal 101 at the tenant A site accessing the first cloud 50 is as follows:

[0123] 1) The terminal 101 in the tenant A site sends a data message to access the first cloud 50 , and the data message is forwarded to the CPE 301 by the network device in the branch network 10 .

[0124] 2) After receiving the message, CPE301 encapsulates the data message into the tunnel (the virtual dedicated line 500 between CPE301 and cloud PE401) according to the resolution result of the destination IP address.

[0125] 3) Cloud PE 401 receives the data message through the virtual private line 500, decapsulates the data message, and forwards the data message to the first cloud 50 according to the routing information of the destination IP address network segment.

[0126] Through the above data message processing flow, the terminal 101 of the tenant A site can access the first cloud 50. As shown in Figure 2(b), according to the business needs of tenant B, the service provider provides tenant B with a virtual cloud private network B and creates two virtual private lines, including a virtual private line 501 from CPE302 to cloud PE402 and a virtual private line 502 from CPE302 to cloud PE403. As shown in Figure 2(c), according to the business needs of tenant C, the service provider provides tenant C with a virtual cloud private network C and creates a virtual private line 503 from cloud PE303 to cloud PE403.

[0127] If the service provider deploys the above tenant services according to the existing services, the specific service deployment process is as follows:

[0128] 1) When the network operation and maintenance personnel of the service provider receive the business requirements of the tenant, they need to first determine the equipment information of the network equipment deployed at the tenant's site and the equipment information of the cloud PE corresponding to the cloud service purchased by the tenant.

[0129] 2) Go to the network management system corresponding to the above-mentioned device to view the corresponding device resources, such as the device interface information, the device's existing configuration, etc.

[0130] 3) Network operation and maintenance personnel need to view the resource information of the network equipment of the service provider network between the equipment on the tenant site side and the cloud PE on the cloud side. The purpose of the view is to plan a virtual private line from the equipment on the tenant site side to the cloud PE.

[0131] 4) According to the planning information, through the command line, the configuration interface of the network management system or calling the API interface of the network management system, configure the tunnel configuration information, VPN instance configuration information and routing information corresponding to the virtual private line for the relevant network devices through which the planned virtual private line passes.

[0132] From the above process description, it can be seen that network operation and maintenance personnel need to plan virtual private lines according to the business needs of each tenant, query, identify and allocate network inventory resources, and then set the configuration information to related network equipment. The business deployment process is complicated and the workload is large, resulting in the inability to quickly deploy the business and slow tenant business launch.

[0133] The embodiments of the present application provide a method, device and system for deploying a service, which simplifies the service deployment process, reduces the complexity of service deployment, and improves the efficiency and accuracy of service deployment by creating a service instance corresponding to the service and creating a corresponding network instance in the service instance.

[0134] FIG4(a) shows a flow chart of a method 400 for service deployment provided in the present application, wherein the network architecture of the application method 400 includes a controller, a service deployment device, a first device, and a first cloud PE. The network architecture of the application method 400 may be, for example, the network architecture shown in FIG1(a) or FIG1(b). At this time, the controller may be, for example, the controller 1200 shown in FIG1(a) or FIG1(b), the service deployment device may be, for example, the service deployment device 1100 shown in FIG1(a) or FIG1(b), the first device may be, for example, the CPE 301 or CPE 302 shown in FIG1(a) or FIG1(b), the first device may also be, for example, the cloud PE 303 shown in FIG1(a) or FIG1(b), and the first cloud PE may be, for example, the cloud PE 401, cloud PE 402, or cloud PE 403 shown in FIG1(a) or FIG1(b). The method 400 is executed by the controller, and specifically includes:

[0135] S401: Create a business instance corresponding to the business.

[0136] The controller creates a service instance corresponding to the service. In some embodiments, when the service provider receives the service requirements of the tenant's virtual cloud private network, the network operation and maintenance personnel create a service instance on the controller according to the service requirements. The service instance includes an identifier of the service instance. The identifier of the service instance includes but is not limited to the name of the service instance, the identifier ID of the service instance, etc. The service instance also identifies the service type of the virtual cloud private network. The service instance may also include the type of the service instance. The type of the service instance indicates the service type, such as single cloud, multi-cloud, etc. As shown in FIG2(a), if a corresponding service instance is to be created for virtual cloud private network A, the type of the service instance is single cloud. As shown in FIG2(b), if a corresponding service instance is to be created for virtual cloud private network B, the type of the service instance is multi-cloud. The service instance may also include tenant information, including but not limited to the identifier of the tenant or the order information of the tenant. The service instance may also include information of the created network instance. The information of the created network instance includes but is not limited to the number of network instances, the type of network instances, and the identifier of the network instance. The network instance is an instance corresponding to the edge device of the virtual cloud private network. As shown in Figure 2(a), the network instances in the service instance corresponding to virtual cloud private network A include but are not limited to the network instance corresponding to CPE301 and the network instance corresponding to cloud PE401. The number of created network instances describes the number of network instances that have been created in the service instance. The type of network instance identifies the type of network device corresponding to the network instance. Figure 2(a)-Figure 2(c) As shown, the device types of the virtual cloud private network edge device include but are not limited to CPE or cloud PE. The purpose of creating a service instance is to record the service to be deployed and provide resource information for this service. Specifically, when deploying services on the controller, it is necessary to describe and record the service information in the controller, and it is necessary to provide resource information for the service deployment based on the service information. For example, the inventory information of the network equipment corresponding to the service, the configuration information corresponding to the service, etc. The deployment process of the virtual cloud dedicated line service is to create a data transmission path from the tenant site side to the cloud side, and the data transmission path includes creating a data transmission tunnel between the equipment from the tenant site side to the cloud side in the service provider network. The service instance records the service type information, the information of the boundary node of the virtual cloud private network, and the tenant information corresponding to the service. The virtual cloud private network service and the edge device are associated through the service instance. In addition, the service and the tenant are associated through the service instance. The service provider can find related services based on the tenant information to facilitate subsequent inquiries about the service. In some embodiments, the service instance corresponds one-to-one to the service that needs to be deployed for the tenant. For example, the service provider provides the service of virtual cloud private network A to tenant A, and the service provider needs to create a service instance 2000 corresponding to the service of virtual cloud private network A in the service provider system 1000 .

[0137] As an example, on the business instance creation page shown in Figure 5(a), the input box corresponding to "Business Instance Identification" is used to obtain the name of the business instance or the ID of the business instance, such as "Virtual Cloud Private Network A"; the input box corresponding to "Business Instance Type" is used to obtain the business type, such as "Single Cloud"; the input box corresponding to "Tenant Name" is used to obtain the name of the tenant who purchased the service or the tenant ID, such as "Tenant A"; the input box corresponding to "Order Information" is used to obtain the business order information of the above tenant, such as the order identification, such as the order number "123456".

[0138] S403: Create a first network instance and a second network instance in the service instance, wherein the first network instance and the second network instance are used to deploy the service, wherein the first network instance is a network instance corresponding to a first device, the first network instance includes a device identifier of the first device, the second network instance is a network instance corresponding to a first cloud operator edge PE, the second network instance includes a device identifier of the first cloud PE, and the first cloud PE is used to connect to the first cloud.

[0139] The controller creates a first network instance and a second network instance in the service instance. The first network instance and the second network instance are used to deploy services. The first network instance is a network instance corresponding to the first device. The second network instance is a network instance corresponding to the first cloud PE. The first device and the first cloud PE are edge devices of the virtual cloud private network. The first device is a boundary device connecting the tenant site and the service provider network. The tenant site accesses the virtual private line of the virtual cloud private network through the first device. The first cloud PE is a device connected to the cloud side in the service provider network. The tenant accesses the cloud through the first device and the first cloud PE. The first device is a tenant site side device in the service provider network, the first network instance is a network instance corresponding to the first device, the first cloud PE is a network device connected to the cloud side, and the second network instance is a network instance corresponding to the first cloud provider edge PE (ProviderEdge). The first network instance includes a device identifier of the first device. The second network instance includes a device identifier of the first cloud PE. For example, the service of the virtual cloud private network A involves the tenant A site and the first cloud 50, and the service of the virtual cloud private network A corresponds to the service instance 2000. The first device is CPE301 in Figure 2 (a), and the first network instance is the network instance corresponding to CPE301. The first cloud PE is cloud PE401, and the second network instance is the network instance corresponding to cloud PE401. The controller 1200 creates the first network instance and the second network instance in the service instance 2000. In other embodiments, the service of the virtual cloud private network C corresponds to the service instance 3000. Then the first device is cloud PE 403 in Figure 2(c), and the first network instance is the network instance corresponding to cloud PE 403. The first cloud PE is cloud PE402, and the second network instance is the network instance corresponding to cloud PE402. The controller 1200 creates the first network instance and the second network instance in the service instance 3000.

[0140] The first network instance includes the device identification of the first device, and the second network instance includes the device identification of the first cloud PE. The device identification includes but is not limited to the device name, the device serial number ESN (Equipment Serial Number), the device ID or the media access control MAC address of the device, and other identification information used to identify the device.

[0141] according to Figure 2(a)-Figure 2(c)As shown, the device type of the virtual cloud private network edge device includes but is not limited to CPE or cloud PE. In some embodiments, the device type of the first device corresponding to the first network instance is CPE, that is, the type of the tenant site is a branch network. Taking the service of the virtual cloud private network A of tenant A in Figure 2 (a) as an example, the service type of the virtual cloud private network A is a single cloud. The controller creates a service instance 2000 for the virtual cloud private network A. As shown in Figure 1 (a) or Figure 1 (b), tenant A only accesses the first cloud 50 through CPE301. The first network instance is the network instance corresponding to CPE301. The first network instance also includes the name of the first network instance, the location information of CPE301, the network side IP address of CPE301, the tenant side IP address of CPE301, and the routing information from CPE301 to the branch network 10 LAN of the tenant A. The network side IP address of CPE301 is the IP address of the interface of CPE301 connecting the branch network 10 of the tenant A site. The tenant side IP address of CPE301 is the IP address of the network device interface of the tenant A site connected by CPE301. The routing information from CPE 301 to the branch network 10 of the tenant A is used to forward the access response data message sent from the first cloud 50 from CPE 301 to the local area network of the tenant A site. The routing information includes but is not limited to the destination network segment and the next hop information.

[0142] As an example, FIG6(a) is an interface for creating the first network instance corresponding to CPE301. The input box corresponding to "Network Instance Name" on the interface is used to obtain the name of the network instance corresponding to CPE301; the input box corresponding to "Location Information" is used to obtain the location information of CPE301, such as "City A"; the input box corresponding to "Device Identification" is used to obtain the device identification information of CPE301, such as ESN "111222333"; the input box corresponding to "Network Side IP Address" is used to obtain the IP address "10.10.10.10 / 20" of the interface connecting CPE301 to the tenant site; the input box corresponding to "Tenant Side IP Address" is used to obtain the IP address "10.1.1.1 / 20" of the network device of the tenant site connected to CPE301; the input box corresponding to "Routing Information" is used to obtain the routing information of the LAN from CPE301 to the tenant site.

[0143] The second network instance is the network instance corresponding to cloud PE401. Cloud PE401 is used to connect to the first cloud 50 that tenant A wants to access. Then the second network instance also includes the name of the second network instance, the location information of cloud PE401, the provider information of cloud PE401, the IP address of cloud PE401 connecting to the first cloud 50, the interface identifier of cloud PE401 connecting to the first cloud 50, the VLAN (Virtual Local Area Network) identifier of cloud PE401 connecting to the first cloud 50, the routing information of cloud PE401 connecting to the first cloud 50, and the interface service quality information of cloud PE401 connecting to the first cloud 50. The provider information of cloud PE401 includes the provider information corresponding to the first cloud 50 connected to cloud PE401. The IP address of cloud PE401 connecting to the first cloud 50 is the IP address of the interface of cloud PE401 connecting to the first cloud 50. The routing information of cloud PE401 connecting to the first cloud 50 is the routing information used to forward data from cloud PE401 to the first cloud 50, including the destination network segment and the next hop information. The interface service quality information of cloud PE401 connecting to the first cloud 50 is used to set the service quality QoS (Quality of Service) information of the interface connecting cloud PE401 to the first cloud 50. The service quality information includes but is not limited to bandwidth, delay, jitter and other information.

[0144] As an example, FIG6(c) is an interface for creating a second network instance corresponding to cloud PE401. The input box corresponding to "Network Instance Name" on the interface is used to obtain the name of the network instance corresponding to cloud PE401; the input box corresponding to "Location Information" is used to obtain the location information of cloud PE401, such as "City A. The device identification of cloud PE401 can be manually entered, and can also be associated with the device identification of cloud PE401 through the location information of cloud PE401 according to the connection information of cloud PE set on controller 1200. The input box corresponding to "Provider Information" is used to obtain the provider name of the first cloud 50 connected to cloud PE401. The input box corresponding to "IP address of cloud PE connected to cloud" is used to obtain the IP address "10.1.2.20 / 20" of the interface of cloud PE401 connected to the first cloud 50; the input box corresponding to "VLAN" is used to obtain the VLAN identifier set for the interface of cloud PE401 connected to the first cloud 50. The input box corresponding to "Interface Service Quality Information" is used to obtain the QoS information set for the interface of cloud PE401 connected to the first cloud 50. The input box corresponding to "Routing Information" is used to obtain routing information from cloud PE401 to the first cloud 50.

[0145] The process of setting the connection information of cloud PE by the controller is as follows:

[0146] Before providing tenants with services of virtual cloud private network A, virtual cloud private network B and virtual cloud private network C, the service provider creates a network in the controller that can connect tenant site A, tenant site B and tenant site C with the first cloud 50 and the second cloud 60, i.e., the service provider network shown in FIG. 1(a) or FIG. 1(b). One or more cloud PEs are deployed in the above service provider network to connect one or more clouds to which the service provider can provide cloud services. For example, the deployed cloud PE 401 is used to connect to the first cloud 50; the deployed cloud PE 402 is used to connect to the second cloud 60; and the deployed cloud PE 403 is used to connect to the third cloud 70. In some embodiments, in order to manage the corresponding relationship between the cloud PE on the cloud side and the cloud in the service provider network, the connection information of the cloud PE is set in the service provider system.

[0147] In some embodiments, the connection information can be set in the controller 1200, and in other embodiments, the connection information can be set in the service deployment device 1100. The connection information that needs to be set includes: the device identification of the cloud PE, the location information of the cloud PE, the interface identification of the cloud PE, and the VLAN identification of the cloud PE. Among them, the device identification of the cloud PE includes the device name or device identifier ID of the cloud PE. The location information of the cloud PE refers to the name or identification of the location of the cloud to which the above-mentioned cloud PE is connected, for example, using the name of the regional location as the location information, such as city A, or using the location identification corresponding to the cloud as the location information, such as region B, or using the identification of the service provider that can correspond to the location of the cloud, such as manufacturer C-001. The interface of the cloud PE refers to the physical interface used to connect to the cloud, such as the physical interface Gigabit Ethernet1 / 0 / 31. The VLAN of the cloud PE identifies that the above-mentioned VLAN needs to be configured on the above-mentioned interface so that the above-mentioned cloud PE connects to the corresponding cloud through the above-mentioned VLAN.

[0148] As an example, Figure 3 The connection information setting interface for setting the connection information of the cloud PE 401 connected to the first cloud 50 in the embodiment is presented. Specifically, the input box corresponding to the "Device Name" is used to input the device identifier of the cloud PE, such as Figure 3 The input box corresponding to "region information" is used for the location information of the cloud PE, such as Figure 3 The input box corresponding to "Interface Information" is used to enter the interface identifier of the cloud PE, such as Figure 3 GE3 / 0 / 1 in the “VLAN” field is used to enter the VLAN ID of the cloud PE. Figure 3100 in. After setting the above connectable information, the service provider system 1000 stores and records the connection information of the cloud PE 401 connected to the first cloud 50 in the service provider network. Through the above connection information, the device identification and other connection information of the cloud PE can be matched through the location information of the cloud PE. Therefore, when the network operation and maintenance personnel create the second network instance, they do not need to enter the device identification of the first cloud PE on the created interface, and can associate the device identification of the first cloud PE through the location information of the first cloud PE.

[0149] After the above process, the controller 1200 creates the first network instance and the second network instance in the service instance 2000. By creating the first network instance and the second network instance, the controller determines the information of the edge device of the virtual cloud private network, such as the device identification, the location information of the device, the routing information, etc.

[0150] As an example, the controller creates a network instance in the business instance, as shown in the business instance list page in Figure 5(b). The page includes information about two business instances, "Virtual Cloud Private Network A" and "Virtual Cloud Private Network B". The "Business Instance Type" of "Virtual Cloud Private Network A" is "Single Cloud", the "Order Information" is "123456", and the "Number of Network Instances" is "2".

[0151] In some embodiments, as shown in FIG2( b), the virtual cloud private network B of tenant B, the service type of virtual cloud private network B is multi-cloud. The controller creates a service instance 2001 corresponding to the service of virtual cloud private network B. In service instance 2001, a first network instance corresponding to CPE302, a second network instance corresponding to cloud PE401, and a third network instance corresponding to cloud PE402 are created. The first network instance is the network instance corresponding to CPE302. The first network instance also includes the name of the first network instance, the location information of CPE302, the network-side IP address of CPE3012, the tenant-side IP address of CPE302, and the routing information from CPE302 to the branch network 20 LAN of tenant B. The network-side IP address of CPE302 is the IP address of the interface of CPE302 connecting the branch network 20 of tenant B site. The tenant-side IP address of CPE302 is the IP address of the network device interface of the tenant B site connected by CPE302. The routing information from CPE302 to the LAN of the branch network 20 of tenant B is the routing information used to forward data from CPE302 to the LAN of the tenant B site, including the destination network segment and next hop information.

[0152] The second network instance is the network instance corresponding to cloud PE401, and the second network instance also includes the name of the second network instance, the location information of cloud PE401, the provider information of cloud PE401, the IP address of cloud PE401 connected to the first cloud 50, the interface identifier of cloud PE401 connected to the first cloud 50, the VLAN identifier of cloud PE401 connected to the first cloud 50, the routing information of cloud PE401 connected to the first cloud 50, and the interface service quality information of cloud PE401 connected to the first cloud 50. The third network instance is the network instance corresponding to cloud PE402, and the third network instance includes the device identifier of cloud PE402, the name of the third network instance, the location information of cloud PE402, the provider information of cloud PE402, the IP address of cloud PE402 connected to the second cloud 60, the interface identifier of cloud PE402 connected to the second cloud 60, the VLAN identifier of cloud PE402 connected to the second cloud 60, the routing information of cloud PE402 connected to the first cloud 60, and the interface service quality information of cloud PE402 connected to the second cloud 60.

[0153] After creating the first network instance, the second network instance and the third network instance in the service instance 2001, the service instance list page shown in FIG5(b) shows that the "service instance type" of the "Virtual Cloud Private Network B" is "Multi-cloud", the "order information" is "212345", and the "number of network instances" is "3" in the service instance of the "Virtual Cloud Private Network B".

[0154] In some embodiments, the type of the first device corresponding to the first network instance is cloud PE, that is, the type of the tenant site is cloud. For example, the virtual cloud private network C of tenant C in Figure 2(c). The controller creates a business instance 2002 corresponding to the business of the virtual cloud private network C. The controller creates a first network instance and a second network instance in the business instance 2002. The first device corresponding to the first network instance is cloud PE303, and cloud PE303 is used to connect to the cloud 80 corresponding to the tenant C site. The first network instance also includes the name of the first network instance, the location information of cloud PE303, the provider information of cloud PE303, the IP address of cloud PE303 connected to cloud 80, the interface identifier of cloud PE303 connected to cloud 80, the VLAN identifier of cloud PE303 connected to cloud 80, the routing information of cloud PE303 connected to cloud 80, and the interface service quality information of cloud PE303 connected to cloud 80. The provider information of cloud PE303 includes the provider information corresponding to the cloud 80 connected to cloud PE303. The IP address of cloud PE303 connected to cloud 80 is the IP address of the interface of cloud PE303 connected to cloud 80. The routing information of cloud PE303 connecting to cloud 80 is used to forward the response data sent from the third cloud 70 from cloud PE303 to the routing information of tenant C site cloud 80, including the destination network segment and next hop information. The interface service quality information of cloud PE303 connecting to cloud 80 is used to set the service quality QoS information of the interface of cloud PE303 connecting to cloud 80, including but not limited to bandwidth, delay, jitter and other information. Figure 6(b) is an interface for creating the first network instance corresponding to cloud PE303. The input box corresponding to "network instance name" on the interface is used to obtain the name of the network instance corresponding to cloud PE403. The input box corresponding to "location information" is used to obtain the location information of cloud PE403, such as "city B". The device identification can be obtained by entering in the input box. It is also possible to associate the device identification of cloud PE303 through the location information of cloud PE303 based on the connection information of cloud PE previously set on controller 1200. The input box corresponding to "supplier information" is used to obtain the supplier name of cloud 80 to which cloud PE303 is connected. The input box corresponding to "IP address of cloud PE connected to cloud" is used to obtain the IP address "10.1.1.10 / 20" of the interface connecting cloud PE303 to cloud 80. The input box corresponding to "VLAN" is used to obtain the VLAN identifier set for the interface connecting cloud PE303 to cloud 80. The input box corresponding to "Interface service quality information" is used to obtain the QoS information set for the interface connecting cloud PE303 to cloud 80. The input box corresponding to "Routing information" is used to obtain the routing information from cloud PE303 to cloud 80. For the second network instance in the business instance 2002 corresponding to the business of virtual cloud private network C, the network device corresponding to the second network instance is cloud PE403.By creating the first network instance and the second network instance in business instance 2002, the controller 1200 has created the device identification, location information, IP address, routing information and other information used for business deployment of the first device on the tenant side in the service provider network and the first cloud PE connected to the cloud side of the business instance 2002.

[0155] After creating the first network instance and the second network instance in business instance 2002. As shown in Figure 5(b), the business instance list page includes the information of the business instance of "Virtual Cloud Private Network C". The "Business Instance Type" of "Virtual Cloud Private Network C" is "Single Cloud", the "Order Information" is "311222", and the "Number of Network Instances" is the number of network instances created in the business instance of "Virtual Cloud Private Network C" is "2". The business instance corresponding to the virtual cloud private network business is created through the controller, and the corresponding first network instance and second network instance are created in the business instance, so that the process of business deployment is simplified, the complexity of business deployment is reduced, and the efficiency and accuracy of business deployment are improved.

[0156] S405: Deploy the first network instance and the second network instance.

[0157] Optionally, the controller deploys the first network instance and the second network instance. Through the steps described in S401 and the steps described in S405, the controller has created the business instance corresponding to the business, as well as the first network instance and the second network instance. The edge device and business type of the virtual cloud private network corresponding to the business to be deployed have been determined on the controller. Network operation and maintenance personnel need to set tunnel configuration information, VPN instance configuration information and routing information for the determined first device and first cloud PE according to the business type. Methods for setting configuration information for the first device and the first cloud PE include but are not limited to:

[0158] 1) Configure specific parameters for the first device and the first cloud PE through the tunnel configuration interface on the controller. Configure specific parameters for the first device and the first cloud PE through the VPN instance configuration interface of the controller. Configure specific parameters for the first device and the first cloud PE through the routing configuration interface of the controller.

[0159] 2) Obtain the management IP address of the first device or the first cloud PE through the controller. Log in to the command line interface of the above device through the management IP address of the first device or the first cloud PE and the remote login protocol or tool to configure the tunnel configuration information, VPN instance configuration information and routing information.

[0160] 3) The controller sends first configuration information for configuring the service to the first device, and the controller sends second configuration information for configuring the service to the first cloud PE.

[0161] Method 4050 for determining the first configuration information and the second configuration information according to the first network instance and the second network instance, specifically refer to the steps shown in FIG. 4( b):

[0162] S4051: Obtain device information of the first device and device information of the first cloud PE according to the first network instance and the second network instance.

[0163] The first device and the first cloud PE are edge devices of the virtual cloud private network. The tenant accesses the cloud through the first device and the first cloud PE. When the tenant site type is a branch network, the type of the first device is CPE. The service provider provides the first device to the tenant, and the tenant deploys the first device on the tenant site side. When the tenant site type is a cloud, the type of the first device is a cloud PE. The service provider deploys the above cloud PE for the tenant in the service provider network.

[0164] The first network instance includes information such as the device identification of the first device, and the second network instance includes information such as the device identification of the first cloud PE. The controller can determine the device information of the first device and the device information of the first cloud PE according to the first network instance and the second network instance, that is, determine and obtain the device information of the endpoint device of the virtual private line. The controller can query the device information of the first device in the controller according to the identification of the first device in the first network instance. The device information of the first device includes but is not limited to the identification of the first device, the management IP address of the first device, the location information of the first device, the routing information of the first device, and the network resource information of the first device. The network resource information of the first device includes but is not limited to the port information of the first device, the memory occupancy information of the first device, the CPU usage information of the first device, and the effective configuration information of the first device. The first cloud PE information includes but is not limited to the identification of the first cloud PE, the management IP address of the first cloud PE, the location information of the first cloud PE, the information of the first cloud PE connecting to the cloud, the routing information of the first cloud PE, and the network resource information of the first cloud PE. The network resource information of the first cloud PE includes but is not limited to the port information of the first cloud PE, the memory occupancy information of the first cloud PE, the CPU usage information of the first cloud PE, and the effective configuration information of the first cloud PE.

[0165] As shown in FIG2(a), the service of virtual cloud private network A of tenant A, that is, the terminal in the tenant site user network 10 of tenant A accesses the first cloud through a virtual private line 500. The service type of virtual cloud private network A is single cloud, that is, tenant A can only access one cloud. According to the steps described in S403, the controller 1200 has created a first network instance corresponding to CPE301 and a second network instance corresponding to cloud PE401. The controller 1200 obtains the device information of CPE301 and the device information of cloud PE401 according to the first network instance and the second network instance.

[0166] S4053: Obtain network resource information according to the device information of the first device and the device information of the first cloud PE.

[0167] The controller obtains the device information of the first device and the device information of the first cloud PE according to the steps described in S4051. The controller can determine the network set or network domain set through which the virtual private line passes according to the network topology information of the service provider network. The purpose of the controller obtaining the network resource information is to obtain the resource information of the network or network domain through which the virtual private line passes.

[0168] As shown in Figure 1(a), after the controller 1200 obtains the device information of CPE301 and the device information of cloud PE401 according to the first network instance and the second network instance, CPE301 and cloud PE401 pass through network domain A and network domain B, and the network domain set is (network domain A, network domain B). The controller 1200 obtains the network resource information of each network domain in the above network domain set. The above network resource information includes but is not limited to the network topology information of the network domain, the device information of each network element in the network domain and the network connection information between the network element devices, etc. The above device information includes but is not limited to the network element device name, network element device type, ESN of the network element device, management IP address of the network element device, network location of the network element device, etc. The above network connection information includes but is not limited to physical links and logical links. Logical link types include but are not limited to Layer 2 VPN tunnels and Layer 3 VPN tunnels. Controller 1200 obtains network resource information of network domain A, which includes but is not limited to: 1. Network topology information of network domain A; 2. Information of each network element device in network domain A, which includes the ESN serial number of the network element device, network element device type, device model, version information, management IP address, MAC address, etc.; 3. Port information of each network element device, including physical port and logical port information; 4. Link information between network elements, including physical link information, tunnel information, VPN information, etc.

[0169] S4055: Obtain first configuration information and second configuration information.

[0170] The controller obtains the device information of the first device, the device information of the first cloud PE, and the network resource information according to the steps described in S4051 and S4053. The controller obtains the first configuration information and the second configuration information based on the above information. The first configuration information is the configuration information corresponding to the first device. The first configuration information includes the tunnel configuration information, VPN instance configuration information, and routing information that the first device needs to be configured to implement the business. The second configuration information is the configuration information corresponding to the first cloud PE. The second configuration information includes the tunnel configuration information, VPN instance configuration information, and routing information that the first cloud PE needs to be configured to implement the business. The specific acquisition steps are method 40550 shown in Figure 4(c):

[0171] S40551: Obtain the tunnel configuration information in the first configuration information and the tunnel configuration information in the second configuration information.

[0172] The controller obtains the tunnel configuration information in the first configuration information and the tunnel configuration information in the second configuration information. The tunnel configuration information in the first configuration information and the tunnel configuration information in the second configuration information are used to configure the data transmission tunnel between the first device and the first cloud PE. The tunnel configuration information in the first configuration information is the tunnel configuration information that needs to be configured on the first device. The tunnel configuration information in the second configuration information is the tunnel configuration information that needs to be configured on the first cloud PE.

[0173] In some embodiments, the service provider can define the virtual private line in the service of a single cloud as a three-layer VPN tunnel based on the service planning. For example, the virtual private line 500 in the virtual cloud private network A of tenant A is a three-layer VPN tunnel. The controller 1200 obtains network resource information such as network topology information of network domain A and network domain B through the network resource information of network domain A and network domain B that has been acquired. The controller 1200 analyzes whether the existing network resource information satisfies the establishment of a three-layer VPN tunnel from CPE301 to cloud PE401 based on the above network resource information. If the analysis result is that the network resources can meet the generation of a three-layer VPN tunnel from CPE301 to cloud PE401, the controller 1200 provides a configuration interface, and the network personnel plan the three-layer VPN tunnel configuration information that needs to be configured on CPE301 and cloud PE401 based on the configuration interface.

[0174] In other embodiments, the controller 1200 obtains the tunnel configuration information of CPE301 and cloud PE401 according to the service template corresponding to the service instance of the single cloud. The above service template is set before the service instance is deployed. Before the service instance is deployed, the controller sets the service template according to the service type corresponding to the service instance. The service template indicates the configuration information of the service. The configuration information of the service includes but is not limited to tunnel configuration information, VPN instance configuration information or routing information. The service template includes but is not limited to tunnel configuration information, VPN instance configuration information or routing information. When creating a service instance, the corresponding service template is associated with the type of service. When the controller creates the first network instance and the second network instance in the service instance, because the service instance has generated an association relationship with the service template, the first network instance and the second network instance also generate an association relationship with the service template. The service template includes but is not limited to a tunnel sub-service template, a VPN instance sub-service template and a routing sub-service template. Therefore, the first configuration information and the second configuration information can be determined according to the first network instance, the second network instance and each sub-service template. The controller splits the configuration information in the tunnel sub-service template to the first device and the first cloud PE according to the dimensions of the first device and the first cloud PE, and generates the tunnel configuration information in the first configuration information and the tunnel configuration information in the second configuration information.

[0175] In this way, the tunnel configuration information in the first configuration information corresponding to the first device and the tunnel configuration information in the second configuration information corresponding to the first cloud PE are obtained. If the analysis result cannot meet the requirement of establishing an end-to-end tunnel to carry the Layer 3 VPN link, the administrator can be prompted to reselect the cloud PE or perform equipment expansion operations before obtaining the tunnel configuration information. S40553: Obtain the VPN instance configuration information in the first configuration information and the VPN instance configuration information in the second configuration information.

[0176] The controller obtains the VPN instance configuration information in the first configuration information and the VPN instance configuration information in the second configuration information. The VPN instance configuration information in the first configuration information and the VPN instance configuration information in the second configuration information are used to configure the VPN instance from the first device and the first cloud PE. The VPN instance configuration information in the first configuration information is the VPN instance configuration information that needs to be configured on the first device. The VPN instance configuration information in the second configuration information is the VPN instance configuration information that needs to be configured on the first cloud PE. In some embodiments, the virtual private line type of the virtual cloud private network A of tenant A is a three-layer VPN, and it is necessary to obtain the configuration information of the virtual private network forwarding VRF (VPN Routing and Forwarding) of CPE301 and cloud PE401; in other embodiments, the virtual private line type of the virtual cloud private network A of tenant A is a two-layer VPN, then it is necessary to obtain the configuration information of the Ethernet private virtual network EVPN (Ethernet Virtual Private Network) instance EVI (EVPN Instance) or the virtual switch instance VSI (Virtual Switch Instance) of CPE301 and cloud PE401. The controller 1200 can provide a configuration interface, and the network personnel can plan the VPN instance configuration information that needs to be configured in the CPE 301 and the cloud PE 401 according to the configuration interface.

[0177] In some instances, the controller 1200 obtains VPN configuration information of CPE301 and cloud PE401 according to the service template corresponding to the service instance of a single cloud. The above service template is set before the service instance is deployed. Before the service instance is deployed, the controller sets the service template according to the service type corresponding to the service instance. The service template indicates the configuration information of the service. The configuration information of the service includes but is not limited to tunnel configuration information, VPN instance configuration information or routing information. The service template includes but is not limited to tunnel configuration information, VPN instance configuration information or routing information. When creating a service instance, the corresponding service template is associated with the type of service. When the controller creates the first network instance and the second network instance in the service instance, because the service instance has generated an association relationship with the service template, the first network instance and the second network instance also generate an association relationship with the service template. The service template includes but is not limited to a tunnel sub-service template, a VPN instance sub-service template and a routing sub-service template. Therefore, the first configuration information and the second configuration information can be determined according to the first network instance, the second network instance and each sub-service template. The controller splits the configuration information in the VPN instance sub-service template to the first device and the first cloud PE according to the dimensions of the first device and the first cloud PE, and generates the VPN instance configuration information in the first configuration information and the VPN instance configuration information in the second configuration information.

[0178] S40555: Obtain routing configuration information in the first configuration information and routing configuration information in the second configuration information.

[0179] The controller obtains the routing configuration information in the first configuration information and the routing configuration information in the second configuration information. The routing configuration information in the first configuration information and the routing configuration information in the second configuration information are used to configure the routing information of the first device and the first cloud PE. The routing information of the first device is used for data forwarding routing from the first device to the tenant site side. The routing information of the first cloud PE is used for data forwarding routing from the first cloud PE to the cloud side. The routing configuration information in the first configuration information is the routing configuration information that needs to be configured on the first device. The routing configuration information in the second configuration information is the routing configuration information that needs to be configured on the first cloud PE.

[0180] The routing configuration information in the first configuration information is used to enable the first device to forward the response data message from the cloud side to the tenant site. For example, CPE301 forwards the data message from the first cloud 50 destined for the tenant site terminal 101 to the tenant A site branch network 10 according to the routing configuration information. The routing configuration information in the second configuration information is used for the cloud PE to forward the data message from the tenant site side accessing the cloud to the cloud. For example, the data message from the tenant A site accessing the first cloud 50 is forwarded to the first cloud 50 by the cloud PE401 according to the routing configuration information. The controller 1200 provides a configuration interface, and the network personnel need to configure the routing configuration information on the CPE301 and the cloud PE401 according to the interface planning.

[0181] In some embodiments, the controller 1200 obtains the routing configuration information of CPE301 and cloud PE401 according to the service template corresponding to the service instance of the single cloud. The above service template is set before the service instance is deployed. Before the service instance is deployed, the controller sets the service template according to the service type corresponding to the service instance. The service template indicates the configuration information of the service. The configuration information of the service includes but is not limited to tunnel configuration information, VPN instance configuration information or routing information. The service template includes but is not limited to tunnel configuration information, VPN instance configuration information or routing information. When creating a service instance, the corresponding service template is associated with the type of service. When the controller creates the first network instance and the second network instance in the service instance, because the service instance has generated an association relationship with the service template, the first network instance and the second network instance also generate an association relationship with the service template. The service template includes but is not limited to a tunnel sub-service template, a VPN instance sub-service template and a routing sub-service template. Therefore, the first configuration information and the second configuration information can be determined according to the first network instance, the second network instance and each sub-service template. The controller splits the configuration information in the routing sub-service template to the first device and the first cloud PE according to the dimensions of the first device and the first cloud PE, and generates the routing configuration information in the first configuration information and the routing configuration information in the second configuration information.

[0182] By executing the steps described from S40551 to S40555, the controller 1200 obtains the first configuration information and the second configuration information.

[0183] S4057: Send first configuration information to the first device, and send second configuration information to the first cloud PE.

[0184] The controller sends first configuration information to the first device, and the controller sends second configuration information to the first cloud PE.

[0185] The state of the first device or the first cloud PE includes being managed by the controller or not being managed by the controller. When the device is in the state of being managed by the controller, the controller can perform management and operation operations such as configuration management or device status query on the device. When the device is in the state of not being managed by the controller, the controller cannot obtain the device information and cannot manage the configuration of the device.

[0186] In some embodiments, when the controller inquires that the first device and the first cloud PE are both in a managed state, that is, the controller can send configuration information to the first device and the first cloud PE, then after the controller receives the message of deploying the network instance, the controller sends the first configuration information to the first device, and the controller sends the second configuration information to the first cloud PE. The controller can send the above configuration information through the simple network management protocol SNMP (Simple Network Management Protocol), the telecommunication network protocol Telnet (Telecommunication Network Protocol), the network configuration protocol Netconf (Network Configuration Protocol) or a private configuration protocol based on the user datagram protocol UDP (User Datagram Protocol) / transmission control protocol TCP (Transmission Control Protocol). When the first device and the first cloud PE receive and validate the first configuration information and the second configuration information. As shown in Figure 1 (a) or Figure 1 (b), the CPE301 on the tenant A site side and the cloud PE401 on the first cloud 50 side validate the first configuration information and the second configuration information, then a virtual private line 500 is established between the CPE301 and the cloud PE401, which is used to connect the tenant A site branch network 10 and the first cloud 50.

[0187] It should be noted that when the first device or the first cloud PE is in a state where it is not managed by the controller, the first device or the first cloud PE cannot be managed and maintained by the controller, and cannot receive and take effect the first configuration information or the second configuration information. The controller pre-stores the above configuration information, and after the first device or the first cloud PE completes the management and online process, the controller sends the first configuration information or the second configuration information to the first device or the first cloud PE to complete the deployment of the first network instance or the second network instance.

[0188] The controller automatically obtains the first configuration information corresponding to the first device and the second configuration information corresponding to the first cloud PE according to the first network instance, the second network instance and the preset information, and sends the first configuration information and the second configuration information through the controller, thereby reducing the complexity of manual configuration and improving the efficiency of business deployment.

[0189] Figure 7 FIG. 2 is a flow chart of a method 700 for service deployment in the present application. The method is executed by the service deployment device 1100 and the controller 1200 in FIG. 2 , and the specific method includes:

[0190] S701: The service deployment apparatus sends a first request to a controller, where the first request is used to call a first application programming interface API of the controller to create a service instance of the service, and the first request includes an identifier of the service instance.

[0191] The service deployment device sends a first request to the controller. The first request is used to call a first API of the controller to create a service instance of the service. The first request includes an identifier of the service instance.

[0192] In some embodiments, the service provider uses the service deployment device 1100 shown in FIG. 1( a) to deploy a virtual cloud private network service, and the controller 1200 provides an API of the service deployment device for the service deployment device 1100 to call to complete the service deployment. The controller 1200 provides a service instance creation API to the third-party system. The service deployment device 1100 sends a first request to the controller 1200, and the first request is used to call the first API of the controller 1200, such as the service instance creation API, to create a service instance of the service. The first request includes an identifier of the service instance, and the identifier of the service instance includes information that can identify the service instance, such as the name of the service instance or the ID of the service instance. The first request also includes the type of the service instance, the identifier of the tenant, the order information of the tenant, etc. The types of service instances include single cloud, multi-cloud, etc. The identifier of the tenant includes the name of the tenant, the tenant ID, etc. The order information of the tenant includes the order number, the order name, etc.

[0193] S703: The controller receives a first request sent by the service deployment device.

[0194] The controller receives a first request sent by the service deployment device. The first request is used to call a first API of the controller to create a service instance of the service.

[0195] In some examples, the controller 1200 shown in FIG. 1( a ) receives a first request sent by the service deployment device 1100 .

[0196] S705: The controller creates the service instance.

[0197] The controller creates the service instance based on the identifier of the service instance in the first request.

[0198] In some examples, after receiving the first request, the controller 1200 as shown in FIG1(a) creates a corresponding service instance according to the identifier of the service instance in the first request. The specific process of the controller 1200 creating the service instance can refer to the relevant description of S401, which will not be repeated here.

[0199] S707: The controller sends the creation result information of the service instance to the service deployment device.

[0200] The controller sends the service instance creation result information to the service deployment device.

[0201] In some examples, after creating a service instance, the controller 1200 shown in FIG1(a) sends the service instance creation result information to the service deployment device 1100. The service instance creation result information includes but is not limited to: the service instance identifier, the service instance creation success mark, the service instance creation failure mark, and the service instance creation failure reason.

[0202] Optionally, in some embodiments, after completing the creation of the above-mentioned service instance, the controller 1200 shown in FIG. 1( a ) sends result information of the service instance creation to the service deployment device 1100 .

[0203] Optionally, in other embodiments, the service deployment device 1100 shown in FIG1(a) sends a service instance creation query request to the controller 1200, and the query request is used to query the result information of the service instance creation by the controller 1200. After receiving the query request, the controller 1200 sends the creation result information of the service instance to the service deployment device 1100.

[0204] S709: The service deployment device receives the creation result information of the service instance sent by the controller.

[0205] The service deployment device receives the creation result information of the service instance sent by the controller.

[0206] Optionally, in some embodiments, after completing the creation of the service instance, the controller 1200 shown in FIG1(a) sends the service instance creation result information to the service deployment device 1100. The service deployment device 1100 receives the service instance creation result information sent by the controller.

[0207] Optionally, in some other embodiments, the service deployment device 1100 shown in FIG1(a) sends a service instance creation query request to the controller 1200, and the query request is used to query the result information of the service instance creation by the controller 1200. After receiving the query request, the controller 1200 sends the service instance creation result information to the service deployment device 1100. The service deployment device 1100 receives the service instance creation result information sent by the controller.

[0208] S711: The service deployment device outputs creation result information of the service instance.

[0209] The service deployment device outputs the creation result information of the service instance.

[0210] Optionally, the business deployment device 1100 shown in FIG. 1(a) can display the obtained business instance creation result information through the display interface of the business deployment device 1100 or the display interface of a third-party system. The business deployment device 1100 can also export the obtained business instance creation result information to network personnel in a file format such as word, txt, or excel. The business deployment device 1100 can also open the obtained business instance creation result information to other business systems through an API. The manner in which the business deployment device outputs the creation result information of the business instance is not described one by one here.

[0211] S713: The service deployment device sends a second request to the controller, where the second request is used to call a second API of the controller to create the first network instance and the second network instance.

[0212] The service deployment device sends a second request to the controller. The second request is used to call a second API of the controller to create the first network instance and the second network instance.

[0213] In some embodiments, the controller 1200 as shown in FIG. 1( a ) provides a second API for a third-party system to create a network instance. The second API supports creating one network instance or batch creating multiple network instances.

[0214] When the second API only supports the creation of a network instance, the second request sent by the service deployment device 1100 to the controller 1200 as shown in FIG1(a) is used to call the second API of the controller 1200 to create a first network instance. The second request includes information for creating the first network instance, and the information for creating the first network instance includes the identifier of the service instance, the identifier of the first network instance, and the device identifier of the first device, wherein the first network instance is used to deploy the service, the first network instance is a network instance corresponding to the first device, and the first network instance includes the device identifier of the first device. The second request sent by the service deployment device 1100 to the controller 1200, the second request is also used to call the second API of the controller 1200 to create a second network instance. The second request includes information for creating the second network instance, and the information for creating the second network instance includes the identifier of the service instance, the identifier of the second network instance, and the device identifier of the first cloud PE, wherein the second network instance is used to deploy the service. The second network instance is a network instance corresponding to the first cloud PE, the second network instance includes the device identifier of the first cloud PE, and the first cloud PE is used to connect to the first cloud.

[0215] When the second API only supports batch creation of multiple network instances, the service deployment device 1100 sends a second request to the controller 1200, and the second request is used to call the second API of the controller 1200 to create a first network instance and a second network instance. The second request includes information for creating the first network instance and information for creating the second network instance, the information for creating the first network instance includes the identifier of the service instance, the identifier of the first network instance, and the device identifier of the first device, and the information for creating the second network instance includes the identifier of the service instance, the identifier of the second network instance, and the device identifier of the first cloud PE, wherein the first network instance and the second network instance are used to deploy services, the first network instance is a network instance corresponding to the first device, the first network instance includes the device identifier of the first device, the second network instance is a network instance corresponding to the first cloud PE, the second network instance includes the device identifier of the first cloud PE, and the first cloud PE is used to connect to the first cloud.

[0216] S715: The controller receives a second request sent by the service deployment device.

[0217] The controller receives a second request sent by the service deployment device. The second request is used to call a second API of the controller to create the first network instance and the second network instance.

[0218] Optionally, when the controller's second API only supports the creation of a network instance, the controller 1200 shown in Figure 1(a) receives a second request sent by the business deployment device 1100, and the second request is used to call the controller's second API to create a first network instance. The second request includes an identifier of the business instance, an identifier of the first network instance, and a device identifier of the first device.

[0219] Optionally, when the controller's second API only supports creating a network instance, the controller 1200 receives a second request sent by the business deployment device 1100, and the second request is used to call the controller's second API to create a second network instance. The second request includes the business instance identifier, the second network instance identifier, and the device identifier of the first cloud PE.

[0220] Optionally, when the controller's second API supports batch creation of multiple network instances, the controller 1200 receives a second request sent by the business deployment device 1100, and the second request is used to call the controller's second API to create a first network instance and a second network instance. The second request includes the business instance identifier, the first network instance identifier, the second network instance identifier, and the device identifier of the first cloud PE.

[0221] S717: The controller creates the first network instance and the second network instance.

[0222] The controller creates a first network instance and a second network instance according to the second request.

[0223] After the controller 1200 as shown in Fig. 1(a) receives the second request, the controller 1200 creates a first network instance and a second network instance. The specific process of the controller 1200 creating a network instance can refer to the relevant description of S403, which will not be repeated here.

[0224] S719: The controller sends the creation result information of the first network instance and the creation result of the second network instance to the service deployment device.

[0225] The controller sends the creation result information of the first network instance and the creation result of the second network instance to the service deployment device.

[0226] The controller 1200 shown in FIG. 1( a ) sends the creation result information of the first network instance and the creation result of the second network instance to the service deployment device 1100 .

[0227] Optionally, in some embodiments, after completing the creation of the above-mentioned network instance, the controller 1200 shown in Figure 1(a) sends result information of the network instance creation to the service deployment device 1100, such as result information of the first network instance creation and result information of the second network instance creation.

[0228] Optionally, in some other embodiments, the service deployment device 1100 shown in FIG1(a) sends a network instance creation query request to the controller 1200, and the query request is used to query the result information of the network instance creation by the controller 1200. After receiving the query request, the controller 1200 sends the creation result information of the network instance to the service deployment device 1100.

[0229] S721: The service deployment apparatus receives the creation result information of the first network instance and the creation result of the second network instance sent by the controller.

[0230] The service deployment device receives the creation result information of the first network instance and the creation result of the second network instance sent by the controller. The creation result information of the first network instance includes but is not limited to: the identifier of the first network instance, the creation success mark of the first network instance, the creation failure mark of the first network instance, and the reason for the creation failure of the first network instance. The creation result information of the second network instance includes but is not limited to: the identifier of the second network instance, the creation success mark of the second network instance, the creation failure mark of the second network instance, and the reason for the creation failure of the second network instance.

[0231] Optionally, in some embodiments, after completing the creation of the above network instance, the controller 1200 shown in FIG1(a) sends the result information of the network instance creation, such as the result information of the first network instance creation and the result information of the second network instance creation, to the service deployment device 1100. The service deployment device 1100 receives the creation result information of the network instance sent by the controller.

[0232] Optionally, in some other embodiments, the service deployment device 1100 shown in FIG1(a) sends a network instance creation query request to the controller 1200, and the query request is used to query the result information of the network instance creation by the controller 1200. After receiving the query request, the controller 1200 sends the creation result information of the network instance to the service deployment device 1100. The service deployment device 1100 receives the creation result information of the network instance sent by the controller.

[0233] S723: The service deployment apparatus outputs the creation result information of the first network instance and the creation result of the second network instance.

[0234] The service deployment device outputs the creation result information of the first network instance and the creation result of the second network instance.

[0235] Optionally, the service deployment device 1100 shown in FIG. 1(a) can display the obtained network instance creation result information through the display interface of the service deployment device 1100 or the display interface of the third-party system. The service deployment device 1100 can also export the obtained network instance creation result information to network personnel in a file format such as word, txt, or excel. The service deployment device 1100 can also open the obtained network instance creation result information to other service systems through an API or the like. The manner in which the service deployment device outputs the creation result information of the network instance is not described one by one here.

[0236] S725: The service deployment device sends a third request to the controller, where the third request is used to call a third API of the controller to deploy the first network instance and the second network instance.

[0237] The service deployment device sends a third request to the controller. The third request is used to call a third API of the controller to deploy the first network instance and the second network instance.

[0238] In some embodiments, the controller 1200 shown in FIG. 1( a ) provides a third API to a third-party system for deploying a network instance, where the third API is used to deploy one network instance and / or batch deploy multiple network instances.

[0239] When the third API is used to deploy only one network instance, the third request sent by the service deployment device 1100 to the controller 1200 as shown in FIG1(a) is used to call the third API of the controller 1200 to deploy the first network instance. The third request includes information for deploying the first network instance, and the information for deploying the first network instance includes an identifier of the service instance and an identifier of the first network instance.

[0240] When the third API is used to deploy only one network instance, the third request sent by the service deployment device 1100 to the controller 1200 as shown in FIG1(a) is used to call the third API of the controller 1200 to deploy the second network instance. The third request includes information for deploying the second network instance, and the information for deploying the second network instance includes an identifier of the service instance and an identifier of the second network instance.

[0241] When the third API is used to deploy multiple network instances in batches, the third request sent by the service deployment device 1100 to the controller 1200 as shown in FIG1(a) is used to call the third API of the controller 1200 to deploy the first network instance and the second network instance. The third request includes information for deploying the first network instance and information for deploying the second network instance, and the information for deploying the first network instance includes the identifier of the service instance and the identifier of the first network instance. The information for deploying the second network instance includes the identifier of the service instance and the identifier of the second network instance.

[0242] S727: The controller receives a third request sent by the service deployment device.

[0243] The controller receives a third request sent by the service deployment device. The third request is used to call a third API of the controller to deploy the first network instance and the second network instance.

[0244] The controller 1200 receives the third request sent by the service deployment device 1100 .

[0245] In some embodiments, the controller 1200 provides a third API to a third-party system for deploying a network instance, and the third API is used to deploy one network instance and / or batch deploy multiple network instances.

[0246] When the third API is used to deploy only one network instance, the third request is used to call the third API of the controller 1200 to deploy the first network instance. The third request includes information for deploying the first network instance, and the information for deploying the first network instance includes the identifier of the service instance and the identifier of the first network instance.

[0247] When the third API is used to deploy only one network instance, the third request is used to call the third API of the controller 1200 to deploy the second network instance. The third request includes information for deploying the second network instance, and the information for deploying the second network instance includes an identifier of the service instance and an identifier of the second network instance.

[0248] When the third API is used to deploy multiple network instances in batches, the third request is used to call the third API of the controller 1200 to deploy the first network instance and the second network instance. The third request includes information for deploying the first network instance and information for deploying the second network instance, and the information for deploying the first network instance includes an identifier of the service instance and an identifier of the first network instance. The information for deploying the second network instance includes an identifier of the service instance and an identifier of the second network instance.

[0249] S7029: The controller deploys the first network instance and the second network instance.

[0250] The controller deploys the first network instance and the second network instance according to the third request.

[0251] After receiving the third message, the controller 1200 as shown in Fig. 1(a) deploys the first network instance and the second network instance. The specific process of the controller 1200 deploying the first network instance and the second network instance can refer to the relevant description of S405, which will not be repeated here.

[0252] S731: The controller sends the deployment result information of the first network instance and the deployment result information of the second network instance to the service deployment device.

[0253] The controller sends the deployment result information of the first network instance and the deployment result information of the second network instance to the service deployment device. The deployment result information of the first network instance includes but is not limited to: the identifier of the first network instance, the deployment success mark of the first network instance, the deployment failure mark of the first network instance, and the deployment failure reason of the first network instance. The deployment result information of the second network instance includes but is not limited to: the identifier of the second network instance, the deployment success mark of the second network instance, the deployment failure mark of the second network instance, and the deployment failure reason of the second network instance.

[0254] The controller 1200 shown in FIG. 1( a ) sends deployment result information of the first network instance and deployment result information of the second network instance to the service deployment device 1100 .

[0255] Optionally, in some embodiments, after completing the deployment of the above-mentioned network instance, the controller 1200 shown in Figure 1(a) sends result information of the network instance deployment to the service deployment device 1100, such as the result information of the first network instance deployment and the result information of the second network instance deployment.

[0256] Optionally, in other embodiments, the service deployment device 1100 shown in FIG1(a) sends a network instance deployment query request to the controller 1200, and the query request is used to query the result information of the network instance deployment of the controller 1200. After receiving the query request, the controller 1200 sends the deployment result information of the network instance to the service deployment device 1100.

[0257] S733: The service deployment apparatus receives the deployment result information of the first network instance and the deployment result information of the second network instance sent by the controller.

[0258] The service deployment device receives the deployment result information of the first network instance and the deployment result information of the second network instance sent by the controller.

[0259] Optionally, in some embodiments, after completing the deployment of the above network instance, the controller 1200 shown in FIG1(a) sends the result information of the network instance deployment, such as the result information of the first network instance deployment and the result information of the second network instance deployment, to the service deployment device 1100. The service deployment device 1100 receives the deployment result information of the network instance sent by the controller.

[0260] Optionally, in some other embodiments, the service deployment device 1100 shown in FIG1(a) sends a network instance deployment query request to the controller 1200, and the query request is used to query the result information of the network instance deployment of the controller 1200. After receiving the query request, the controller 1200 sends the deployment result information of the network instance to the service deployment device 1100. The service deployment device 1100 receives the deployment result information of the network instance sent by the controller.

[0261] S735: Output the deployment result information of the first network instance and the deployment result information of the second network instance.

[0262] The service deployment device outputs deployment result information of the first network instance and deployment result information of the second network instance.

[0263] Optionally, the service deployment device 1100 shown in FIG. 1(a) can display the acquired network instance deployment result information through the display interface of the service deployment device 1100 or the display interface of a third-party system. The service deployment device 1100 can also export the acquired network instance deployment result information to network personnel in a file format such as word, txt, or excel. The service deployment device 1100 can also open the acquired network instance deployment result information to other service systems through an API or the like. The manner in which the service deployment device outputs the deployment result information of the network instance is not described one by one here.

[0264] S737: The service deployment device sends a fourth request to the controller, where the fourth request is used to call a fourth API of the controller to delete the service instance.

[0265] The service deployment device sends a fourth request to the controller. The fourth request is used to call a fourth API of the controller to delete the service instance.

[0266] As shown in FIG. 1( a ), the service deployment device 1100 sends a fourth request to the controller 1200, and the fourth request is used to call a fourth API of the controller 1200 to delete the service instance and the network instance in the service instance. The fourth API of the controller 1200 is used to delete the created service instance. The fourth request includes an identifier of the service instance to be deleted.

[0267] S739: The controller receives a fourth request sent by the service deployment device.

[0268] The controller receives a fourth request sent by the service deployment device. The fourth request is used to call a fourth API of the controller to delete the service instance.

[0269] The controller 1200 shown in FIG. 1( a ) receives a fourth request sent by the service deployment device 1100 .

[0270] S741: The controller deletes the service instance.

[0271] The controller deletes the business instance.

[0272] After receiving the fourth request sent by the service deployment device 1100, the controller 1200 shown in FIG. 1(a) deletes the service instance specified in the fourth request.

[0273] The specific method is as follows:

[0274] The controller first determines whether there is a deployed network instance in the service instance to be deleted. If there is no deployed network instance, the controller deletes the corresponding service instance on the controller according to the identifier of the service instance carried in the fourth request.

[0275] If the business instance to be deleted contains a deployed network instance, the controller obtains the information of the corresponding business instance according to the identifier of the business instance. The information of the above business instance includes the type of business instance, the information of the created network instance, the order information of the tenant, etc. The created network instance is obtained through the information of the created network instance in the information of the business instance. The network device corresponding to the above network instance is obtained through the information of the created network instance. Before deleting the configuration information related to the above business instance in the above network device, the controller needs to determine whether there are network resources shared by other business instances in the above network device. If there are no shared network resources, the controller deletes the configuration information related to the above business instance, deletes the network instance related to the business instance, and completes the deletion operation. If there are shared network resources, the controller does not delete the configuration information and ends the deletion operation. The above configuration information includes tunnel configuration information, VPN instance information and routing information.

[0276] By calling the service-oriented API of the controller in the service deployment device to directly create a service instance corresponding to the virtual cloud private network service, and creating the corresponding first network instance and second network instance in the service instance, the deployment of the first network instance and the second network instance reduces the number of interactions between the service deployment device and the controller, reduces the complexity of manual configuration and the difficulty of service deployment, and improves the efficiency of service deployment.

[0277] Figure 8 The structure diagram of the service deployment system 800 provided in one embodiment of the present application is as follows. The service deployment system 600 is used to Figure 7 The service deployment device 1100 and the controller 1200 shown in the figure perform the aforementioned multiple embodiments, for example, Figure 4(a)-Figure 4(c) The operations performed by the service deployment system in the corresponding embodiment. Figure 8 As shown in the modules corresponding to the solid-line boxes, the service deployment system 800 includes the following modules.

[0278] The service instance creation module 8001 is used to create a service instance corresponding to the service.

[0279] The network instance creation module 8002 is used to create a first network instance and a second network instance in the service instance, wherein the first network instance and the second network instance are used to deploy the service, wherein the first network instance is a network instance corresponding to a first device, the first network instance includes a device identifier of the first device, and the second network instance is a network instance corresponding to a first cloud operator edge PE, the second network instance includes a device identifier of the first cloud PE, and the first cloud PE is used to connect to the first cloud.

[0280] In some embodiments, Figure 8As shown in the module corresponding to the dotted box, the service deployment system 800 also includes: an information setting module 8003. The information setting module 8003 is used to set the connection information of the first cloud PE connecting to the first cloud, and the connection information includes one or more of the following: the device identifier of the first cloud PE, the location information of the first cloud PE, the identifier of the first interface of the first cloud PE, the identifier of the first virtual local area network VLAN of the first cloud PE, the first interface is used for the first cloud PE to connect to the first cloud, and the first VLAN is used for the first cloud PE to connect to the first cloud. The information setting module 8003 is also used to set the first service template according to the type of the service instance.

[0281] In some embodiments, Figure 8 As shown in the module corresponding to the dotted box, the service deployment system 800 also includes: a network instance deployment module 8004.

[0282] The network instance deployment module 8004 is used to deploy the first network instance and the second network instance. The network instance deployment module 8004 is also used to send first configuration information to the first device. The first configuration information is used to configure the service. The network instance deployment module 8004 is also used to send second configuration information to the first cloud PE, and the second configuration information is used to configure the service. The network instance deployment module 8004 is also used to determine the first configuration information and the second configuration information based on the first network instance, the second network instance and the first service template. Among them, the first service template indicates the configuration information of the service instance, and the configuration information of the service instance includes one or more of the following: tunnel configuration information, virtual private network VPN instance configuration information or routing information.

[0283] In some embodiments, Figure 8 As shown in the module corresponding to the dotted box, the business deployment system 800 also includes: a request message processing module 8005.

[0284] The request message processing module 8005 is used to receive a first request sent by the service deployment device. The first request is used to call the first application programming interface API of the controller to create the service instance, and the first request includes the identifier of the service instance.

[0285] The request message processing module 8005 is also used to receive a second request sent by the service deployment device. The second request is used to call the second API of the controller to create the first network instance and / or the second network instance. The second request includes information for creating the first network instance and / or information for creating the second network instance. The information for creating the first network instance includes the identifier of the service instance, the identifier of the first network instance, and the device identifier of the first device. The information for creating the second network instance includes the identifier of the service instance, the identifier of the second network instance, and the device identifier of the first cloud PE.

[0286] The request message processing module 8005 is also used to receive a third request sent by the service deployment device. The third request is used to call the third API of the controller to deploy the first network instance and / or the second network instance. The fourth request includes information for deploying the first network instance and / or information for deploying the second network instance. The information for deploying the first network instance includes an identifier of the service instance and an identifier of the first network instance. The information for deploying the second network instance includes an identifier of the service instance and an identifier of the second network instance.

[0287] The request message processing module 8005 is also used to receive a fourth request sent by the service deployment device, and the fourth request is used to call the fourth API of the controller to obtain the deployment result of the first network instance and / or the deployment result of the second network instance.

[0288] In some embodiments, the request message processing module 8005 is further used to send a first request to the controller. The first request is used to call a first application programming interface API of the controller to create a service instance of the service, and the first request includes an identifier of the service instance.

[0289] The request message processing module 8005 is also used to send a second request to the controller. The second request is used to call the second API of the controller to create a first network instance and / or a second network instance. The second request includes information for creating the first network instance and / or information for creating the second network instance. The information for creating the first network instance includes the identifier of the service instance, the identifier of the first network instance, and the device identifier of the first device. The information for creating the second network instance includes the identifier of the service instance, the identifier of the second network instance, and the device identifier of the first cloud PE. The first network instance and the second network instance are used to deploy the service. The first network instance is a network instance corresponding to the first device, and the first network instance includes the device identifier of the first device. The second network instance is a network instance corresponding to the edge PE of the first cloud operator, and the second network instance includes the device identifier of the first cloud PE. The first cloud PE is used to connect to the first cloud. It is also used to send a third request to the controller, and the third request is used to call the third API of the controller to deploy the first network instance and / or the second network instance. The third request includes information for deploying the first network instance and / or information for deploying the second network instance. The information used to deploy the first network instance includes an identifier of the service instance and an identifier of the first network instance. The information used to deploy the second network instance includes an identifier of the service instance and an identifier of the second network instance.

[0290] In some embodiments, Figure 8 As shown in the module corresponding to the dotted box, the business deployment system 800 also includes: a result information processing module 8006.

[0291] The result information processing module 8006 is used to send the deployment result of the first network instance and / or the deployment result of the second network instance to the service deployment device.

[0292] In some embodiments, the result information processing module 8006 is further used to receive the creation result information of the service instance sent by the controller. It is also used to output the creation result information of the service instance. It is also used to receive the creation result information of the first network instance and / or the creation result of the second network instance sent by the controller. It is also used to output the creation result information of the first network instance and / or the creation result of the second network instance. It is also used to receive the deployment result information of the first network instance and / or the deployment result information of the second network instance sent by the controller. It is also used to output the deployment result information of the first network instance and / or the deployment result information of the second network instance.

[0293] Figure 8 The modules shown can be software function modules or virtual function modules, or hardware modules. In some embodiments, the modules in the service deployment system 800 can be deployed in the same physical device; in other embodiments, the modules in the service deployment system 800 can be deployed in multiple different physical devices. The modules in the service deployment system 800 can be hardware modules or modules that combine software and hardware. For example, the service instance creation module 8001, the network instance creation module 8002, the information setting module 8003, the network instance deployment module 8004, the request message processing module 8005, and the result information processing module in the service deployment system 800 can be deployed in one physical device for executing Figure 7 In the embodiment shown, the controller 1200 performs the method 700. For example, the request message processing module 8005 and the result information processing module in the service deployment system 800 can be deployed in another physical device for executing Figure 7 The method 700 executed by the service deployment device 1100 in the illustrated embodiment.

[0294] Fig. 9 A schematic diagram of the structure of a service deployment device provided in one embodiment of the present application. Fig. 9 The service deployment device 900 shown is used to execute the aforementioned multiple embodiments, for example, Figure 7 In the corresponding embodiment, the operation performed by the service deployment device 1100 or the controller 1200. Fig. 9 As shown, the device 900 includes at least one processor 901, a connection line 902, a memory 903, and at least one network interface 904. The memory 903 is used to store program modules and data. Fig. 9 As shown in the program modules corresponding to the solid line boxes in FIG. 9 , the program modules stored in the memory 903 include a service instance creation module 9031 and a network instance creation module 9032.

[0295] When executed by the processor 901, the service instance creation module 9031 is used to create a service instance corresponding to the service.

[0296] When executed by the processor 901, the network instance creation module 9032 is used to create a first network instance and a second network instance in the service instance, and the first network instance and the second network instance are used to deploy the service, wherein the first network instance is a network instance corresponding to a first device, and the first network instance includes a device identifier of the first device, and the second network instance is a network instance corresponding to a first cloud operator edge PE, and the second network instance includes a device identifier of the first cloud PE, and the first cloud PE is used to connect to the first cloud.

[0297] In other embodiments, Fig. 9 As shown in the program modules corresponding to the dotted boxes in the figure, the program modules stored in the memory 903 include one or more of the following modules: an information setting module 9033, a network instance deployment module 9034, a request message processing module 9035, and a result information processing module 9036.

[0298] When executed by the processor 901, the information setting module 9033 is used to set the connection information of the first cloud PE connecting to the first cloud, the connection information including one or more of the following: the device identification of the first cloud PE, the location information of the first cloud PE, the identification of the first interface of the first cloud PE, the identification of the first virtual local area network VLAN of the first cloud PE, the first interface is used for the first cloud PE to connect to the first cloud, and the first VLAN is used for the first cloud PE to connect to the first cloud. The information setting module 8003 is also used to set the first service template according to the type of the service instance.

[0299] When executed by the processor 901, the network instance deployment module 9034 is used to execute the method steps executed by the controller as described in S405 of the method 400 shown in Figure 4(a), which will not be repeated here.

[0300] In some embodiments, when executed by the processor 901, the request message processing module 9035 is used to perform the following Figure 7 The method steps executed by the controller 1200 described in the method 700 are not repeated here.

[0301] In some embodiments, when executed by the processor 901, the request message processing module 9035 is used to perform the following Figure 7 The method steps performed by the service deployment device 1100 described in the method 700 are not repeated here.

[0302] When executed by the processor 901, the result information processing module 9036 is used to perform the following steps: Figure 7The method steps performed by the service deployment device 1100 described in the method 700 shown are not repeated here. The processor 901 is, for example, a general-purpose central processing unit (CPU), a digital signal processor (DSP), a network processor (NP), a graphics processing unit (GPU), a neural network processor (NPU), a data processing unit (DPU), a microprocessor, or one or more integrated circuits for implementing the scheme of the present application. For example, the processor 901 includes an application-specific integrated circuit (ASIC), a programmable logic device (PLD) or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. PLD is, for example, a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL), or any combination thereof. It can implement or execute various logic blocks, modules, and circuits described in conjunction with the disclosure of the embodiments of the present application. The processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like.

[0303] The service deployment device 900 may further include a connection line 902. The connection line 902 is used to transmit information between the components of the service deployment device 900. The bus may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig. 9 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0304] The memory 903 is, for example, a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, or a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory 903 is, for example, independent and connected to the processor 901 via a bus. The memory 903 can also be integrated with the processor 901.

[0305] The network interface 904 uses any transceiver-like device to communicate with other devices or communication networks, and the communication network can be Ethernet, a radio access network (RAN) or a wireless local area network (WLAN), etc. The network interface 904 may include a wired communication interface and may also include a wireless communication interface. Specifically, the network interface 904 may be an Ethernet interface, a Fast Ethernet (FE) interface, a Gigabit Ethernet (GE) interface, an Asynchronous Transfer Mode (ATM) interface, a wireless local area network (WLAN) interface, a cellular network communication interface or a combination thereof. The Ethernet interface may be an optical interface, an electrical interface or a combination thereof. In an embodiment of the present application, the network interface 904 may be used for the service deployment device 900 to communicate with other devices.

[0306] In a specific implementation, as an embodiment, the processor 901 may include one or more CPUs. Each of these processors may be a single-core processor or a multi-core processor. The processor here may refer to one or more devices, circuits, and / or processing cores for processing data (e.g., computer program instructions).

[0307] In a specific implementation, as an embodiment, the service deployment device 900 may include multiple processors. Each of these processors may be a single-core processor or a multi-core processor. The processor here may refer to one or more devices, circuits, and / or processing cores for processing data (such as computer program instructions).

[0308] In a specific implementation, as an embodiment, the service deployment device 900 may also include an output device and an input device. The output device communicates with the processor 901 and can display information in a variety of ways. For example, the output device may be a liquid crystal display (LCD), a light emitting diode (LED) display device, a cathode ray tube (CRT) display device, or a projector. The input device communicates with the processor 901 and can receive user input in a variety of ways. For example, the input device may be a mouse, a keyboard, a touch screen device, or a sensor device.

[0309] Fig. 9 The service deployment device 900 shown is used to execute the aforementioned multiple embodiments, for example, Figure 7 In the corresponding embodiment, the operation performed by the service deployment device. Fig. 9 As shown, the service deployment device 900 includes at least one processor 901, which can execute the computer-readable program in the memory 903 to enable the service deployment device 900 to perform the aforementioned multiple embodiments, such as Figure 7 The operations performed by the controller 1200 or the service deployment device 1100 in the corresponding embodiment.

[0310] The order of operations in the specification and claims of this application and the above-mentioned drawings is not limited to the specific order or sequence in the description. It should be understood that the data used in this way can be performed simultaneously or in a different order under appropriate circumstances, so that the described embodiments can be implemented in an order other than that shown or described in the drawings.

[0311] A person of ordinary skill in the art can understand that all or part of the steps of implementing the above method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above method embodiment; and the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk, etc., various media that can store program codes.

[0312] Some embodiments of the present application provide a computer program product, which, when executed by a computer, can enable the computer to perform the operations performed by the business deployment system in multiple embodiments of the present application.

[0313] Some embodiments of the present application provide a computer-readable storage medium, such as a hard disk, a memory, a flash memory, etc. The computer storage medium stores computer-readable instructions. When a computer executes the computer-readable instructions, the operations performed by the service deployment system in multiple embodiments of the present application can be performed.

[0314] Some embodiments of the present application provide a service deployment system including multiple modules, wherein the multiple modules work together to perform the operations performed by the service deployment system in multiple embodiments of the present application. The multiple modules can be in the same hardware device or in different hardware devices.

[0315] The above is only a preferred specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by anyone familiar with the technology within the technical scope disclosed in the present application should be covered within the protection scope of the present application.

Claims

1. A method for deploying a service, wherein the service is to provide a virtual cloud private network for a tenant, and the virtual cloud private network is used for the tenant to access a first cloud. It is characterized in that The method is executed by a controller, and comprises: Creating a business instance corresponding to the business; A first network instance and a second network instance are created in the service instance, wherein the first network instance and the second network instance are used to deploy the service, wherein the first network instance is a network instance corresponding to a first device, the first network instance includes a device identifier of the first device, and the second network instance is a network instance corresponding to a first cloud operator edge PE, the second network instance includes a device identifier of the first cloud PE, and the first cloud PE Used to connect to the first cloud.

2. The method according to claim 1, It is characterized in that Before creating the service instance, the method further includes: Set the connection information of the first cloud PE connecting to the first cloud, where the connection information includes one or more of the following: a device identifier of the first cloud PE, location information of the first cloud PE, an identifier of a first interface of the first cloud PE, an identifier of a first virtual local area network VLAN of the first cloud PE, and configuration of the first VLAN on the first interface, The first cloud PE is connected to the first cloud through the first VLAN.

3. The method according to claim 1 or 2, It is characterized in that The service instance includes an identifier of the service instance.

4. The method according to claim 3, It is characterized in that The service instance also includes one or more of the following: the type of the service instance, the number of created network instances, and the order information of the tenant.

5. The method according to claim 3, It is characterized in that The type of the service instance includes single cloud or multi-cloud. The single cloud means that the tenant can only access one cloud through the first device, and the multi-cloud means that the tenant can access multiple clouds through the first device.

6. The method according to any one of claims 1-2, 4-5, It is characterized in that The first device is a first customer premises equipment CPE.

7. The method according to claim 6, It is characterized in that The first network instance also includes one or more of the following: location information of the first CPE, the network-side IP address of the first CPE, the tenant-side IP address of the first CPE, and routing information from the first CPE to the tenant's local area network.

8. The method according to any one of claims 1-2, 4-5, It is characterized in that The first device is a second cloud PE, and the second cloud PE is used to connect to a second cloud.

9. The method according to claim 8, It is characterized in that The first network instance also includes one or more of the following: location information of the second cloud PE, provider information of the second cloud, IP address of the second cloud PE connected to the second cloud, routing information of the second cloud PE connected to the second cloud, and interface service quality information of the second cloud PE connected to the second cloud.

10. The method according to any one of claims 1-2, 4-5, 7, and 9, It is characterized in that The second network instance also includes one or more of the following: location information of the first cloud PE, provider information of the first cloud, IP address of the first cloud PE connected to the first cloud, routing information of the first cloud PE connected to the first cloud, and interface service quality information of the first cloud PE connected to the first cloud.

11. The method according to any one of claims 1-2, 4-5, 7, and 9, It is characterized in that The method further comprises: The device identifier of the first cloud PE is determined according to the location information of the first cloud PE and the connection information of the first cloud PE connecting to the first cloud.

12. The method according to any one of claims 1-2, 4-5, 7, and 9, It is characterized in that The method further comprises: Deploy the first network instance and the second network instance.

13. The method according to claim 12, It is characterized in that The deploying the first network instance and the second network instance includes: Sending first configuration information for configuring the service to the first device; Send second configuration information for configuring the service to the first cloud PE.

14. The method according to claim 13, It is characterized in that The method further comprises: The first configuration information and the second configuration information are determined according to the first network instance, the second network instance and a first service template, wherein the first service template indicates the configuration information of the service instance, and the configuration information of the service instance includes one or more of the following: tunnel configuration information, virtual private network VPN instance configuration information or routing information.

15. The method according to claim 14, It is characterized in that Before deploying the first network instance and the second network instance, the method further includes: The first service template is set according to the type of the service instance.

16. The method according to any one of claims 1-2, 4-5, 7, 9, 13-15, It is characterized in that The virtual cloud private network is also used by the tenant to access the third cloud, and the method further includes: A third network instance is created in the service instance, where the third network instance is a network instance corresponding to a third cloud PE, the third network instance includes a device identifier of the third cloud PE, and the third cloud PE is used to connect to the third cloud.

17. The method according to any one of claims 1-2, 4-5, 7, 9, 13-15, It is characterized in that Before creating the service instance, the method further includes: A first request sent by a service deployment device is received, where the first request is used to call a first application programming interface API of the controller to create the service instance, and the first request includes an identifier of the service instance.

18. The method according to claim 17, It is characterized in that The first request also includes one or more of the following: the type of the business instance, the identifier of the tenant, and the order information of the tenant.

19. The method according to claim 18, It is characterized in that Before creating the first network instance and the second network instance, the method further includes: Receive a second request sent by the business deployment device, the second request is used to call the second API of the controller to create the first network instance and / or the second network instance, the second request includes information for creating the first network instance and / or information for creating the second network instance, the information for creating the first network instance includes the identifier of the business instance, the identifier of the first network instance and the device identifier of the first device, and the information for creating the second network instance includes the identifier of the business instance, the identifier of the second network instance and the device identifier of the first cloud PE.

20. The method according to claim 18 or 19, It is characterized in that Before deploying the first network instance and the second network instance, the method further includes: Receive a third request sent by the service deployment device, where the third request is used to call a third API of the controller to deploy the first network instance and / or the second network instance, where the third request includes information for deploying the first network instance and / or information for deploying the second network instance, where the information for deploying the first network instance includes an identifier of the service instance and an identifier of the first network instance, and where the information for deploying the second network instance includes an identifier of the service instance and an identifier of the second network instance.

21. The method according to claim 18 or 19, It is characterized in that The method further comprises: Sending the deployment result information of the first network instance and / or the deployment result information of the second network instance to the service deployment device.

22. The method according to claim 18 or 19, It is characterized in that The method further comprises: A fourth request sent by the service deployment device is received, where the fourth request is used to call a fourth API of the controller to obtain deployment result information of the first network instance and / or deployment result information of the second network instance.

23. The method according to claim 18 or 19, It is characterized in that The virtual cloud private network is used for at least one site of the tenant to access the first cloud through at least one virtual private line.

24. The method according to claim 18 or 19, It is characterized in that The first cloud includes at least one virtual private cloud VPC.

25. The method according to any one of claims 1-2, 4-5, 7, 9, 13-15, 18-19, It is characterized in that A type of each of the at least one site of the tenant includes: a branch network or a cloud.

26. A method for deploying a service, wherein the service is to provide a virtual cloud private network for a tenant, wherein the virtual cloud private network is used for the tenant to access a first cloud. It is characterized in that The method is performed by a service deployment device, and the method includes: Sending a first request to a controller, where the first request is used to call a first application programming interface API of the controller to create a service instance of the service, and the first request includes an identifier of the service instance; A second request is sent to the controller, wherein the second request is used to call a second API of the controller to create a first network instance and / or a second network instance, wherein the first network instance and / or the second network instance are used to deploy the service, the first network instance is a network instance corresponding to a first device, the second network instance is a network instance corresponding to a first cloud operator edge PE, the first cloud PE is used to connect to the first cloud, the second request includes information for creating the first network instance and / or information for creating the second network instance, the information for creating the first network instance includes an identifier of the service instance, an identifier of the first network instance, and a device identifier of the first device, the information for creating the second network instance includes an identifier of the service instance, an identifier of the second network instance, and a device identifier of the first cloud PE, the first network instance includes the device identifier of the first device, and the second network instance includes the device identifier of the first cloud PE.

27. The method according to claim 26, It is characterized in that The first request also includes one or more of the following: the type of the business instance, the identifier of the tenant, and the order information of the tenant.

28. The method according to claim 26 or 27, It is characterized in that The first device is a first customer premises equipment CPE.

29. The method according to claim 28, It is characterized in that The information used to create the first network instance also includes one or more of the following: location information of the first CPE, the network-side IP address of the first CPE, the tenant-side IP address of the first CPE, and routing information from the first CPE to the tenant's local area network.

30. The method according to any one of claims 26-27, 29, It is characterized in that The first device is a second cloud PE, and the second cloud PE is used to connect to a second cloud.

31. The method according to claim 30, It is characterized in that The information used to create the first network instance also includes one or more of the following: location information of the second cloud PE, provider information of the second cloud, IP address of the second cloud PE connected to the second cloud, routing information of the second cloud PE connected to the second cloud, and interface service quality information of the second cloud PE connected to the second cloud.

32. The method according to any one of claims 26-27, 29, 31, It is characterized in that The information used to create the second network instance includes one or more of the following: location information of the first cloud PE, provider information of the first cloud, IP address of the first cloud PE connected to the first cloud, routing information of the first cloud PE connected to the first cloud, and interface service quality information of the first cloud PE connected to the first cloud.

33. The method according to any one of claims 26-27, 29, 31, It is characterized in that The method further comprises: A third request is sent to the controller, where the third request is used to call a third API of the controller to deploy the first network instance and / or the second network instance, where the third request includes information for deploying the first network instance and / or information for deploying the second network instance, where the information for deploying the first network instance includes an identifier of the service instance and an identifier of the first network instance, and where the information for deploying the second network instance includes an identifier of the service instance and an identifier of the second network instance.

34. The method according to any one of claims 26-27, 29, 31, It is characterized in that The method further comprises: Receive the creation result information of the business instance sent by the controller.

35. The method according to claim 34, It is characterized in that The method further comprises: Output the creation result information of the business instance.

36. The method according to any one of claims 26-27, 29, 31, 35, It is characterized in that The method further comprises: Receive creation result information of the first network instance and / or creation result information of the second network instance sent by the controller.

37. The method according to claim 36, It is characterized in that The method further comprises: Output creation result information of the first network instance and / or creation result information of the second network instance.

38. The method according to any one of claims 26-27, 29, 31, 35, 37, It is characterized in that The method further comprises: Receive the deployment result information of the first network instance and / or the deployment result information of the second network instance sent by the controller.

39. The method according to claim 38, It is characterized in that The method further comprises: Output the deployment result information of the first network instance and / or the deployment result information of the second network instance.

40. The method according to any one of claims 26 to 27, 29, 31, 35, 37, 39, It is characterized in that The type of the service instance includes: single cloud or multi-cloud, wherein the single cloud means that the tenant can only access one cloud through the first device, and the multi-cloud means that the tenant can access multiple clouds through the first device.

41. According to the method described in any one of claims 26-27, 29, 31, 35, 37, and 39, the virtual cloud private network is used for at least one site of the tenant to access the first cloud through at least one virtual private line.

42. The method according to any one of claims 26-27, 29, 31, 35, 37, 39, It is characterized in that The first cloud includes at least one virtual private cloud VPC.

43. The method according to any one of claims 26-27, 29, 31, 35, 37, 39, It is characterized in that A type of each of the at least one site of the tenant includes: a branch network or a cloud.

44. A device for service deployment, It is characterized in that The service is to provide a virtual cloud private network for a tenant, and the virtual cloud private network is used for the tenant to access the first cloud, and is characterized in that the device includes: A service instance creation module, used to create a service instance corresponding to the service; A network instance creation module is used to create a first network instance and a second network instance in the service instance, wherein the first network instance and the second network instance are used to deploy the service, wherein the first network instance is a network instance corresponding to a first device, the first network instance includes a device identifier of the first device, and the second network instance is a network instance corresponding to a first cloud operator edge PE, the second network instance includes the device identifier of the first cloud PE, and the first cloud PE is used to connect to the first cloud.

45. The device according to claim 44, It is characterized in that The device also includes: An information setting module is used to set connection information of the first cloud PE connecting to the first cloud, the connection information including one or more of the following: a device identifier of the first cloud PE, location information of the first cloud PE, an identifier of a first interface of the first cloud PE, an identifier of a first virtual local area network VLAN of the first cloud PE, the first interface is used for the first cloud PE to connect to the first cloud, and the first VLAN is used for the first cloud PE to connect to the first cloud.

46. ​​The device according to claim 44 or 45, It is characterized in that The service instance includes an identifier of the service instance.

47. The device according to claim 45, It is characterized in that The device also includes: A network instance deployment module is used to deploy the first network instance and the second network instance.

48. The device according to claim 47, It is characterized in that The device also includes: The network instance deployment module is further used to send first configuration information for configuring the service to the first device; and is also used to send second configuration information for configuring the service to the first cloud PE.

49. The device according to claim 48, It is characterized in that The device also includes: The network instance deployment module is also used to determine the first configuration information and the second configuration information based on the first network instance, the second network instance and the first service template, wherein the first service template indicates the configuration information of the service instance, and the configuration information of the service instance includes one or more of the following: tunnel configuration information, virtual private network VPN instance configuration information or routing information.

50. The device according to claim 49, It is characterized in that The device also includes: The information setting module is further used to set the first service template according to the type of the service instance.

51. The device according to any one of claims 44-45, 47-50, It is characterized in that The device also includes: The request message processing module is used to receive a first request sent by the service deployment device, wherein the first request is used to call a first application programming interface API of the device to create the service instance, and the first request includes an identifier of the service instance.

52. The device according to claim 51, It is characterized in that The device also includes: The request message processing module is also used to receive a second request sent by the service deployment device, the second request is used to call the second API of the device to create the first network instance and / or the second network instance, the second request includes information for creating the first network instance and / or information for creating the second network instance, the information for creating the first network instance includes the identifier of the service instance, the identifier of the first network instance and the device identifier of the first device, and the information for creating the second network instance includes the identifier of the service instance, the identifier of the second network instance and the device identifier of the first cloud PE.

53. The device according to claim 52, It is characterized in that The device also includes: The request message processing module is also used to receive a third request sent by the service deployment device, the third request is used to call the third API of the device to deploy the first network instance and / or the second network instance, the third request includes information for deploying the first network instance and / or information for deploying the second network instance, the information for deploying the first network instance includes an identifier of the service instance and an identifier of the first network instance, and the information for deploying the second network instance includes an identifier of the service instance and an identifier of the second network instance.

54. The device according to claim 52 or 53, It is characterized in that The device also includes: The request message processing module is also used to receive a fourth request sent by the service deployment device, and the fourth request is used to call a fourth API of the device to obtain the deployment result information of the first network instance and / or the deployment result information of the second network instance.

55. The device according to claim 52 or 53, It is characterized in that The device also includes: The result information processing module is used to send the deployment result information of the first network instance and / or the deployment result information of the second network instance to the service deployment device.

56. A device for deploying a service, wherein the service is to provide a virtual cloud private network for a tenant, and the virtual cloud private network is used for the tenant to access a first cloud. It is characterized in that The device comprises: A request message processing module, used for sending a first request to a controller, wherein the first request is used for calling a first application programming interface API of the controller to create a service instance of the service, and the first request includes an identifier of the service instance; The request message processing module is also used to send a second request to the controller, the second request is used to call the second API of the controller to create a first network instance and / or a second network instance, wherein the first network instance and / or the second network instance are used to deploy the service, the first network instance is a network instance corresponding to a first device, the second network instance is a network instance corresponding to a first cloud operator edge PE, the first cloud PE is used to connect to the first cloud, the second request includes information for creating the first network instance and / or information for creating the second network instance, the information for creating the first network instance includes an identifier of the service instance, an identifier of the first network instance and a device identifier of the first device, the information for creating the second network instance includes an identifier of the service instance, an identifier of the second network instance and a device identifier of the first cloud PE, the first network instance includes the device identifier of the first device, and the second network instance includes the device identifier of the first cloud PE.

57. The device according to claim 56, It is characterized in that The device also includes: The request message processing module is further used to send a third request to the controller, where the third request is used to call a third API of the controller to deploy the first network instance and / or the second network instance, where the third request includes information for deploying the first network instance and / or information for deploying the second network instance, where the information for deploying the first network instance includes an identifier of the service instance and an identifier of the first network instance. The information used to deploy the second network instance includes an identifier of the service instance and an identifier of the second network instance.

58. The device according to claim 56 or 57, It is characterized in that The device also includes: The result information processing module is used to receive the creation result information of the business instance sent by the controller.

59. The device according to claim 58, It is characterized in that The device also includes: The result information processing module is also used to output the creation result information of the business instance.

60. The device according to claim 59, It is characterized in that The device also includes: The result information processing module is further configured to receive creation result information of the first network instance and / or creation result information of the second network instance sent by the controller.

61. The device according to claim 59 or 60, It is characterized in that The device also includes: The result information processing module is further configured to output creation result information of the first network instance and / or creation result information of the second network instance.

62. The device according to claim 59 or 60, It is characterized in that The device also includes: The result information processing module is further configured to receive the deployment result information of the first network instance and / or the deployment result information of the second network instance sent by the controller.

63. The device according to claim 59 or 60, It is characterized in that The device also includes: The result information processing module is further configured to output the deployment result information of the first network instance and / or the deployment result information of the second network instance.

64. A service deployment system, the system comprising a controller and a service deployment device, It is characterized in that The controller implements the method as described in any one of claims 1-25, and the service deployment device implements the method as described in any one of claims 26-43.

65. A communication device, used as a controller, It is characterized in that The communication device comprises: Memory, including instructions; The processor, when executing the instructions, enables the communication device to implement the method according to any one of claims 1 to 25.

66. A communication device, used as a service deployment device, It is characterized in that The communication device comprises: Memory, including instructions; The processor, when executing the instructions, causes the communication device to implement the method according to any one of claims 26 to 43.

67. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the method according to any one of claims 1 to 43 is implemented.

68. A computer program product, It is characterized in that It comprises a computer program, which, when executed by a processor, implements the method according to any one of claims 1 to 43.

Citation Information

Cited By

  • Service deployment method, apparatus, and system

    WO2022193897A1