A network control method, system, device and storage medium based on cloud platform

By setting up multiple SDN implementation classes in the cloud platform and performing instruction conversion, the problem of cloud platform adapting to different SDN controllers is solved, and the normal issuance and execution of network function control instructions is realized, ensuring that the network virtualization components are different Adaptation capability of SDN controller.

CN115225624BActive Publication Date: 2024-11-15JINAN INSPUR DATA TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210867300.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-22
Publication Date
2024-11-15
Estimated Expiration
2042-07-22

AI Technical Summary

Technical Problem

The existing cloud platforms are difficult to adapt to different SDN controllers, resulting in the inability to issue and execute network function control instructions correctly, affecting the normal operation of network functions.

Method used

Set up multiple SDN implementation classes in the cloud platform, and by receiving network function control instructions, query the SDN controller type currently adapted to the network virtualization component, and select the corresponding SDN implementation class for instruction conversion to ensure that the instruction content can be corresponding SDN controllers identify and execute.

Benefits of technology

It realizes the adaptation of the cloud platform to different SDN controllers, ensures that the network function control instructions can be issued and executed normally, and supports network virtualization components to adapt to different SDN controllers, improving the flexibility and reliability of network functions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115225624B_ABST
    Figure CN115225624B_ABST
Patent Text Reader

Abstract

The present application discloses a network control method, system, device and storage medium based on a cloud platform, which is applied to the field of cloud service technology and to an SDN adapter, including: receiving a network function control instruction; determining each SDN implementation class in the cloud platform; the SDN implementation class is used to perform instruction conversion to obtain instruction content recognized by the corresponding SDN controller; querying the type of SDN controller currently adapted by the network virtualization component, and selecting the SDN implementation class corresponding to the type based on the type of the SDN controller; sending the network function control instruction to the selected SDN implementation class, so that the SDN implementation class sends the instruction content obtained after the instruction conversion to the SDN controller through the network virtualization component, so that the SDN controller executes the instruction content. The solution of the present application is applied to support the adaptation of the network virtualization component to different SDN controllers, and can normally complete the network function control.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of cloud service technology, and in particular to a network control method, system, device and storage medium based on a cloud platform. Background Art

[0002] In recent years, Internet technology and cloud computing technology have been developing continuously. With the emergence of virtualization, traditional network technology is no longer sufficient to adapt to new scenarios in cloud environments. For example, due to the emergence of virtual machines, the network granularity is required to be refined from the physical machine level to the virtual machine level.

[0003] SDN (Software Defined Network) technology separates the functions of network control and network forwarding through the concept of distributed architecture. This method makes network control programmable and can control network traffic more flexibly. Specifically, SDN separates the control plane in each device and puts it into an SDN controller, which centrally manages all devices on the forwarding path through unified instructions. This controller knows the topology of the entire network and all the necessary information in the forwarding process. In addition, upper-layer applications can also be controlled in a programmable manner through the API (Application Programming Interface) interface provided by the controller, which can eliminate a lot of manual configuration.

[0004] There are many SDN vendors, such as Huawei SDN, H3C SDN, open source OVN (OpenVirtual Networking), OVN is a lightweight SDN controller, Inspur's self-developed ICE, etc. In actual applications, due to different production environment requirements, cloud platforms need to adapt to different SDN controllers in different occasions to ensure that the configuration issued from the cloud platform can be correctly issued to the SDN controller and the network functions are available normally.

[0005] In summary, how to make the cloud platform adapt to different SDNs is a technical problem that technical personnel in this field urgently need to solve. Summary of the invention

[0006] The purpose of the present invention is to provide a network control method, system, device and storage medium based on a cloud platform, so that the cloud platform can adapt to different SDNs.

[0007] In order to solve the above technical problems, the present invention provides the following technical solutions:

[0008] A network control method based on a cloud platform, applied to an SDN adapter, includes:

[0009] receiving network function control instructions;

[0010] Determine each SDN implementation class in the cloud platform; wherein the SDN implementation class is used to perform instruction conversion to obtain instruction content recognized by the corresponding SDN controller;

[0011] Query the type of the SDN controller currently adapted by the network virtualization component, and based on the type of the SDN controller, select an SDN implementation class corresponding to the type;

[0012] The network function control instruction is sent to the selected SDN implementation class, so that the SDN implementation class sends the instruction content obtained after instruction conversion to the SDN controller through the network virtualization component, so that the SDN controller executes the instruction content.

[0013] Preferably, the determining of each SDN implementation class in the cloud platform includes:

[0014] Determine each SDN implementation class in the cloud platform and construct a map including each SDN implementation class;

[0015] Accordingly, the selecting of the SDN implementation class corresponding to the type includes:

[0016] An SDN implementation class matching the type is selected from the map.

[0017] Preferably, sending the network function control instruction to the selected SDN implementation class includes:

[0018] Based on the annotation identifiers of each SDN implementation class in the cloud platform, the network function control instruction is sent to the selected SDN implementation class.

[0019] Preferably, the receiving of the network function control instruction includes:

[0020] Receive network function control instructions issued by the front-end page.

[0021] Preferably, the cloud platform includes one or more network virtualization components, and each network virtualization component has its own adapted SDN controller type.

[0022] Preferably, it also includes:

[0023] After querying the type of the SDN controller currently adapted by the network virtualization component, when no SDN implementation class corresponding to the type is matched, the operation of determining each SDN implementation class in the cloud platform is returned to be executed.

[0024] Preferably, after returning to execute the operation of determining each SDN implementation class in the cloud platform and re-querying the type of SDN controller currently adapted by the network virtualization component, when the SDN implementation class corresponding to the type is still not matched, the cloud platform-based network control process is terminated and an error prompt is returned.

[0025] A network control system based on a cloud platform, applied to an SDN adapter, includes:

[0026] Specifying a receiving module for receiving network function control instructions;

[0027] An SDN implementation class determination module is used to determine each SDN implementation class in the cloud platform; wherein the SDN implementation class is used to perform instruction conversion to obtain instruction content recognized by the corresponding SDN controller;

[0028] A query matching module, used to query the type of the SDN controller currently adapted by the network virtualization component, and based on the type of the SDN controller, select an SDN implementation class corresponding to the type;

[0029] An execution module is used to send the network function control instruction to the selected SDN implementation class, so that the SDN implementation class sends the instruction content obtained after the instruction conversion to the SDN controller through the network virtualization component, so that the SDN controller executes the instruction content.

[0030] A network control device based on a cloud platform, comprising:

[0031] Memory for storing computer programs;

[0032] A processor is used to execute the computer program to implement the steps of the cloud platform-based network control method as described above.

[0033] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the cloud platform-based network control method as described above.

[0034] By applying the technical solution provided by the embodiment of the present invention, various SDN implementation classes are set in the cloud platform, and the SDN implementation class can perform instruction conversion to obtain instruction content recognized by the corresponding SDN controller, that is, the SDN implementation class can perform instruction conversion so that the obtained instruction content can be recognized by the corresponding SDN controller. The SDN adapter of the present application can query the type of SDN controller currently adapted by the network virtualization component, and based on the type of the SDN controller, select the SDN implementation class corresponding to the type, that is, when the type of SDN controller currently adapted by the network virtualization component is different, the SDN implementation class selected by the SDN adapter is different, and different SDN implementation classes have their own processing logic. After selecting the SDN implementation class corresponding to the SDN controller type, the received network function control instruction is sent to the SDN implementation class, so that the SDN implementation class sends the instruction content obtained after the instruction conversion to the SDN controller through the network virtualization component, and the SDN controller can execute the instruction content, that is, complete the requirements of the network function control instruction. In summary, the solution of the present application supports the network virtualization component to adapt to different SDN controllers, and can normally complete the network function control. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0036] Figure 1 This is a flow chart of an implementation of a network control method based on a cloud platform in the present invention;

[0037] Figure 2 This is a schematic diagram of an architecture adapted to two types of SDN controllers in a specific implementation manner of the present invention;

[0038] Figure 3 It is a schematic diagram of the structure of a network control system based on a cloud platform in the present invention;

[0039] Figure 4 It is a structural schematic diagram of a network control device based on a cloud platform in the present invention. DETAILED DESCRIPTION

[0040] The core of the present invention is to provide a network control method based on a cloud platform, which supports network virtualization components to adapt to different SDN controllers and can normally complete network function control.

[0041] In order to enable those skilled in the art to better understand the scheme of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific implementation methods. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0042] Please refer to Figure 1 , Figure 1 The following is a flow chart of an implementation of a network control method based on a cloud platform in the present invention. The network control method based on a cloud platform can be applied to an SDN adapter, and includes the following steps:

[0043] Step S101: receiving a network function control instruction.

[0044] Specifically, the user can send a network function control instruction to the cloud platform as needed. The specific content of the network function control instruction can be selected as needed, and can be various instructions related to network control. For example, in a specific scenario, the user needs to create a network on the cloud platform, and the network function control instruction is specifically a network creation instruction. Of course, in other specific scenarios, it can be other types of network creation instructions.

[0045] Considering that the cloud platform usually provides a front-end page for users, users can send network function control instructions to the front-end page, which is more convenient. Accordingly, the SDN adapter can receive the network function control instruction based on the front-end page, that is, step S101 can be specifically: receiving the network function control instruction issued by the front-end page. For example, in the above example, when the network function control instruction is specifically a network creation instruction, the front end can call the cloud platform to create a network interface, and then send the network creation instruction to the SDN adapter.

[0046] Step S102: Determine each SDN implementation class in the cloud platform; wherein the SDN implementation class is used to perform instruction conversion to obtain instruction content recognized by the corresponding SDN controller.

[0047] This application requires setting up multiple SDN implementation classes in the cloud platform. The SDN implementation class can also be called an SDN processing module, which can perform instruction conversion. Figure 2 Schematic diagram of an architecture adapted to two types of SDN controllers in a specific implementation mode. Figure 2 There are two specific SDN implementation classes in the framework, namely OVN implementation class and ICE implementation class.

[0048] Since the network function control instructions cannot be directly recognized by the SDN controller, and for the same network function control instructions, the processing logic of different SDN controllers also has certain differences, it is necessary to implement instruction conversion through the SDN implementation class. In other words, after the instruction conversion by the SDN implementation class, the instruction content that can be recognized by the corresponding SDN controller can be obtained. Of course, since the present application scheme needs to support multiple SDN controllers, and the processing logic of different SDN controllers is different, it is also necessary to set up multiple SDN implementation classes, and different SDN implementation classes use different processing logics. In other words, for a specific SDN implementation class, the SDN implementation class has its own code logic, and the instruction content obtained after the conversion by the SDN implementation class can be recognized by a corresponding SDN controller.

[0049] Step S103: query the type of the SDN controller currently adapted by the network virtualization component, and based on the type of the SDN controller, select an SDN implementation class corresponding to the type.

[0050] The network virtualization component can realize network virtualization, and the specific type of the network virtualization component can be set and selected as needed, for example, in Figure 2 In the implementation method, the network virtualization component used is specifically neutron. Neutron is the network virtualization component of Open Stack, which is responsible for the virtualization of the network part. The adaptation work of the SDN controller is completed in neutron. After the adaptation is completed, the network control function will be taken over by the SDN controller.

[0051] Open Stack is an open source cloud computing management platform project, which is a combination of a series of software open source projects. It can provide scalable and elastic cloud computing services for private clouds and public clouds. In other specific occasions, other types of cloud computing management platforms other than OpenStack can be used, which does not affect the implementation of the present invention. OpenStack supports virtual machine software or containers such as KVM, Xen, Lvc, Docker, etc., and the default is KVM. Other types of virtual machine software or containers can also be supported by installing drivers. OpenStack is developed in Python language and follows the Apache open source protocol. Therefore, it is lighter and more efficient than CloudStack.

[0052] It should be noted that this application allows network virtualization components to adapt to different SDN controllers, such as Figure 2 In the example, the network virtualization component neutron can adapt to the OVN controller or the ICE controller, but in a specific case, the SDN controller that a network virtualization component currently adapts to is determined, that is, Figure 2 In the example, either the OVN controller or the ICE controller is currently adapted.

[0053] Furthermore, in a specific implementation of the present invention, the cloud platform includes one or more network virtualization components, and each network virtualization component has a type of SDN controller adapted to it.

[0054] As described above, in a specific scenario, the SDN controller to which a network virtualization component is currently adapted is determined. In this implementation, one or more network virtualization components are allowed to be set in the cloud platform and managed uniformly by the cloud platform.

[0055] For example, in a specific scenario, three network virtualization components are set up, namely neutron-1, neutron-2, and neutron-3. For these three network virtualization components, the type of SDN controller they are adapted to may not be restricted. For example, neutron-1 is adapted to the OVN controller, neutron-2 is adapted to the ICE controller, and neutron-3 is adapted to the OVN controller.

[0056] In a specific implementation of the present invention, the step S102 of determining each SDN implementation class in the cloud platform may specifically include:

[0057] Determine each SDN implementation class in the cloud platform and construct a map including each SDN implementation class;

[0058] Accordingly, the selection of the SDN implementation class corresponding to the type described in step S103 may specifically include:

[0059] Select the SDN implementation class that matches the type from the map.

[0060] In this practical application, the SDN adapter can determine the various SDN implementation classes in the cloud platform after verifying the input parameters, and then process these SDN implementation classes, that is, it can construct a map including various SDN implementation classes, so that it can be retrieved in the map later. Figure 2 For example, the keys in the map are OVN and ICE, and the corresponding values ​​are the OVN implementation class and the ICE implementation class, indicating that two SDN implementation classes are set in the cloud platform.

[0061] The type of SDN controller that the network virtualization component is currently adapted to is subsequently queried. For example, if the type of SDN controller that the network virtualization component is currently adapted to is ICE, then the SDN implementation class that matches the type can be selected from the map based on the type of the SDN controller. That is, ICE is input and matched with the map to determine that the SDN implementation class that matches the type is specifically the ICE implementation class.

[0062] Step S104: Send the network function control instruction to the selected SDN implementation class, so that the SDN implementation class sends the instruction content obtained after instruction conversion to the SDN controller through the network virtualization component, so that the SDN controller executes the instruction content.

[0063] Since in step S103, the SDN implementation class corresponding to the type of the SDN controller currently adapted by the network virtualization component is selected, the received network function control instruction can be sent to this SDN implementation class.

[0064] For example, in the above example, the type of SDN controller currently adapted by the network virtualization component is an ICE controller. Therefore, it is determined that the SDN implementation class that matches this type is specifically an ICE implementation class. Figure 2 In the example, the network function control instruction can be sent to the ICE implementation class on the right.

[0065] In a specific implementation of the present invention, sending the network function control instruction to the selected SDN implementation class described in step S104 may specifically include:

[0066] Based on the annotation identifiers of each SDN implementation class in the cloud platform, the network function control instruction is sent to the selected SDN implementation class.

[0067] In this implementation, a custom annotation can be set for each SDN implementation class in the cloud platform to play the role of identification, so as to identify which SDN each SDN implementation class is adapted to. The specific annotation identification code can be set and adjusted as needed.

[0068] After the network function control instruction is sent to the selected SDN implementation class, the SDN implementation class will convert the instruction. Figure 2 The ICE implementation class on the right. The ICE implementation class can perform instruction conversion, and the obtained instruction content can be recognized by the ICE controller. The network virtualization component can send the instruction content to the ICE controller so that the ICE controller executes the instruction content. For example, in the above example, the network function control instruction is specifically a network creation instruction, then the ICE controller can create the network according to the instruction content.

[0069] In addition, in actual applications, after the SDN controller executes the instruction content, the execution result can be fed back to the cloud platform through the network virtualization component, so that the user can know through the cloud platform whether the network function control instruction issued previously is successfully executed.

[0070] Since in the solution of this application, one network virtualization component of the cloud platform can adapt to different types of SDN controllers, that is, a one-to-many SDN adaptation solution is implemented, the effect achieved is that the cloud platform only needs to set up a set of codes to adapt to different SDN controllers. That is, for one network virtualization component, no matter whether the underlying deployment is an OVN controller, an ICE controller, or a Huawei SND controller, a H3C SDN controller, etc., everything from the front-end page to the network function can operate normally.

[0071] In a specific embodiment of the present invention, it may also include:

[0072] After querying the type of the SDN controller currently adapted by the network virtualization component, when no SDN implementation class corresponding to the type is matched, the operation returns to step S102.

[0073] In this implementation, it is considered that in some cases, after querying the type of the SDN controller currently adapted by the network virtualization component, it may be impossible to match the SDN implementation class corresponding to the type.

[0074] For example, after querying the map in the above example, it is found that any key in the map is inconsistent with the type of SDN controller currently adapted by the network virtualization component. The reason for this situation may be that the various SDN implementation classes set in the cloud platform do not cover the SDN controller currently adapted by the network virtualization component. Of course, it may also be caused by some abnormal reasons, such as when performing the operation of step S102, the various SDN implementation classes determined in the cloud platform are incomplete, and when performing the operation of step S103, the query of the type of SDN controller currently adapted by the network virtualization component is wrong.

[0075] In this regard, in this implementation, when a mismatch is found, the operation of step S102 will be returned to re-determine each SDN implementation class in the cloud platform, and then when step S103 is executed, the type of SDN controller currently adapted by the network virtualization component can be re-queried. It can be seen that this implementation can deal with matching failures caused by some abnormal situations, which is conducive to improving the reliability of the solution.

[0076] Furthermore, in a specific embodiment of the present invention, after returning to execute the operation of determining each SDN implementation class in the cloud platform and re-querying the type of SDN controller currently adapted by the network virtualization component, when the SDN implementation class corresponding to this type is still not matched, the cloud platform-based network control process is terminated and an error prompt is returned.

[0077] In this implementation, after re-executing the operations of step S102 and step S103, if the SDN implementation class corresponding to the type of SDN controller currently adapted by the network virtualization component is still not matched, it usually means that the various SDN implementation classes set in the cloud platform do not cover the SDN controller currently adapted by the network virtualization component. Therefore, the network control process based on the cloud platform can be terminated and an error prompt is returned.

[0078] In actual applications, the returned error prompt may carry the specific cause of the error. For example, in this implementation, it may be prompted that the various SDN implementation classes set in the cloud platform may not cover the SDN controller currently adapted by the network virtualization component, thus causing an error. The staff can make corresponding adjustments according to the error prompt, such as adjusting the SDN controller adapted by the network virtualization component, that is, selecting an SDN controller that the cloud platform can support. For another example, add the SDN implementation class required by the SDN controller in the cloud platform.

[0079] The network control method based on the cloud platform provided by the embodiment of the present invention is applied, and various SDN implementation classes are set in the cloud platform. The SDN implementation class can perform instruction conversion to obtain instruction content recognized by the corresponding SDN controller, that is, the SDN implementation class can perform instruction conversion so that the obtained instruction content can be recognized by the corresponding SDN controller. The SDN adapter of the present application can query the type of SDN controller currently adapted by the network virtualization component, and based on the type of the SDN controller, select the SDN implementation class corresponding to the type, that is, when the type of the SDN controller currently adapted by the network virtualization component is different, the SDN implementation class selected by the SDN adapter is different, and different SDN implementation classes have their own processing logic. After selecting the SDN implementation class corresponding to the SDN controller type, the received network function control instruction is sent to the SDN implementation class, so that the SDN implementation class sends the instruction content obtained after the instruction conversion to the SDN controller through the network virtualization component, and the SDN controller can execute the instruction content, that is, complete the requirements of the network function control instruction. In summary, the scheme of the present application supports the network virtualization component to adapt to different SDN controllers, and can normally complete the network function control.

[0080] Corresponding to the above method embodiment, the embodiment of the present invention further provides a network control system based on a cloud platform, which can be referred to in correspondence with the above.

[0081] See also Figure 3 FIG. 1 is a schematic diagram of a network control system based on a cloud platform in the present invention, which is applied to an SDN adapter and includes:

[0082] A designated receiving module 301 is used to receive a network function control instruction;

[0083] The SDN implementation class determination module 302 is used to determine each SDN implementation class in the cloud platform; wherein the SDN implementation class is used to perform instruction conversion to obtain instruction content recognized by the corresponding SDN controller;

[0084] A query matching module 303 is used to query the type of the SDN controller currently adapted by the network virtualization component, and based on the type of the SDN controller, select an SDN implementation class corresponding to the type;

[0085] The execution module 304 is used to send the network function control instruction to the selected SDN implementation class, so that the SDN implementation class sends the instruction content obtained after the instruction conversion to the SDN controller through the network virtualization component, so that the SDN controller executes the instruction content.

[0086] In a specific implementation of the present invention, the SDN implementation class determination module 302 determines each SDN implementation class in the cloud platform, specifically for:

[0087] Determine each SDN implementation class in the cloud platform and construct a map including each SDN implementation class;

[0088] Accordingly, the query matching module 303 selects the SDN implementation class corresponding to the type, which is used for:

[0089] Select the SDN implementation class that matches the type from the map.

[0090] In a specific implementation of the present invention, the query matching module 303 sends the network function control instruction to the selected SDN implementation class, specifically for:

[0091] Based on the annotation identifiers of each SDN implementation class in the cloud platform, the network function control instruction is sent to the selected SDN implementation class.

[0092] In a specific implementation of the present invention, the designated receiving module 301 is specifically used to:

[0093] Receive network function control instructions issued by the front-end page.

[0094] In a specific implementation of the present invention, the cloud platform includes one or more network virtualization components, and each network virtualization component has its own adapted SDN controller type.

[0095] In a specific embodiment of the present invention, it also includes:

[0096] The loop module is used to return to trigger the SDN implementation class determination module 302 after the query matching module 303 queries the type of the SDN controller currently adapted by the network virtualization component, when no SDN implementation class corresponding to the type is matched.

[0097] In a specific embodiment of the present invention, after returning to trigger the SDN implementation class determination module 302, and the query matching module 303 re-queries the type of SDN controller currently adapted by the network virtualization component, when the SDN implementation class corresponding to the type is still not matched, the loop module is also used to: end the current cloud platform-based network control process and return an error prompt.

[0098] The cloud platform-based network control system provided by the embodiment of the present invention is applied, and various SDN implementation classes are set in the cloud platform. The SDN implementation class can perform instruction conversion to obtain instruction content recognized by the corresponding SDN controller, that is, the SDN implementation class can perform instruction conversion so that the obtained instruction content can be recognized by the corresponding SDN controller. The SDN adapter of the present application can query the type of SDN controller currently adapted by the network virtualization component, and based on the type of the SDN controller, select the SDN implementation class corresponding to the type, that is, when the type of SDN controller currently adapted by the network virtualization component is different, the SDN implementation class selected by the SDN adapter is different, and different SDN implementation classes have their own processing logic. After selecting the SDN implementation class corresponding to the SDN controller type, the received network function control instruction is sent to the SDN implementation class, so that the SDN implementation class sends the instruction content obtained after the instruction conversion to the SDN controller through the network virtualization component, and the SDN controller can execute the instruction content, that is, complete the requirements of the network function control instruction. In summary, the scheme of the present application supports the network virtualization component to adapt to different SDN controllers, and can normally complete the network function control.

[0099] Corresponding to the above method and system embodiments, an embodiment of the present invention further provides a network control device based on a cloud platform and a computer-readable storage medium, which can be referred to in correspondence with the above.

[0100] The computer readable storage medium stores a computer program, and when the computer program is executed by the processor, the steps of the network control method based on the cloud platform in any of the above embodiments are implemented. The computer readable storage medium mentioned here includes random access memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, register, hard disk, removable disk, CD-ROM, or any other form of storage medium known in the technical field.

[0101] See also Figure 4 , the cloud platform-based network control device may include:

[0102] Memory 401, used for storing computer programs;

[0103] The processor 402 is used to execute a computer program to implement the steps of the cloud platform-based network control method in any of the above embodiments.

[0104] It should also be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0105] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same or similar parts between the embodiments can be referred to each other. For the system disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts refer to the method part description. Professionals can also further realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented with electronic hardware, computer software or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to the function. Whether these functions are executed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but this implementation should not be considered to exceed the scope of the present invention.

[0106] The principles and implementation methods of the present invention are described in this article using specific examples. The description of the above embodiments is only used to help understand the technical solution and core ideas of the present invention. It should be pointed out that for ordinary technicians in this technical field, without departing from the principles of the present invention, the present invention can also be improved and modified, and these improvements and modifications also fall within the scope of protection of the present invention.

Claims

1. A network control method based on a cloud platform, characterized in that: Applied in SDN adapters, including: receiving network function control instructions; Determine each SDN implementation class in the cloud platform; wherein the SDN implementation class is used to perform instruction conversion to obtain instruction content recognized by the corresponding SDN controller; Query the type of the SDN controller currently adapted by the network virtualization component, and based on the type of the SDN controller, select an SDN implementation class corresponding to the type; Sending the network function control instruction to the selected SDN implementation class, so that the SDN implementation class sends the instruction content obtained after instruction conversion to the SDN controller through the network virtualization component, so that the SDN controller executes the instruction content; The determining of various SDN implementation classes in the cloud platform includes: Determine each SDN implementation class in the cloud platform and construct a map including each SDN implementation class; Accordingly, the selecting of the SDN implementation class corresponding to the type includes: Selecting an SDN implementation class matching the type from the map; The sending the network function control instruction to the selected SDN implementation class includes: Based on the annotation identifiers of each SDN implementation class in the cloud platform, the network function control instruction is sent to the selected SDN implementation class; The receiving of the network function control instruction comprises: Receive network function control instructions issued by the front-end page; The SDN controller currently adapted by a single network virtualization component is determined; the cloud platform includes one or more network virtualization components, and each network virtualization component has a type of SDN controller adapted by itself; Also includes: After querying the type of the SDN controller currently adapted by the network virtualization component, when no SDN implementation class corresponding to the type is matched, returning to perform the operation of determining each SDN implementation class in the cloud platform; After returning to execute the operation of determining each SDN implementation class in the cloud platform and re-querying the type of SDN controller currently adapted by the network virtualization component, when the SDN implementation class corresponding to the type is still not matched, the cloud platform-based network control process is terminated and an error prompt is returned.

2. A network control system based on a cloud platform, characterized in that: Applied in SDN adapters, including: Specifying a receiving module for receiving network function control instructions; An SDN implementation class determination module is used to determine each SDN implementation class in the cloud platform; wherein the SDN implementation class is used to perform instruction conversion to obtain instruction content recognized by the corresponding SDN controller; A query matching module, used to query the type of the SDN controller currently adapted by the network virtualization component, and based on the type of the SDN controller, select an SDN implementation class corresponding to the type; An execution module, configured to send the network function control instruction to the selected SDN implementation class, so that the SDN implementation class sends the instruction content obtained after instruction conversion to the SDN controller through the network virtualization component, so that the SDN controller executes the instruction content; The SDN implementation class determination module determines each SDN implementation class in the cloud platform, and is specifically used to: Determine each SDN implementation class in the cloud platform and construct a map including each SDN implementation class; Accordingly, the query matching module selects the SDN implementation class corresponding to the type, for: Select the SDN implementation class that matches the type from the map; The query matching module sends the network function control instruction to the selected SDN implementation class, specifically for: Based on the annotation identifiers of each SDN implementation class in the cloud platform, the network function control instruction is sent to the selected SDN implementation class; The designated receiving module is specifically used for: Receive network function control instructions issued by the front-end page; Among them, the SDN controller currently adapted by a single network virtualization component is determined; the cloud platform includes one or more network virtualization components, and each network virtualization component has its own adapted SDN controller type; Also includes: A loop module, configured to return to trigger the SDN implementation class determination module when no SDN implementation class corresponding to the type is matched after the matching module queries the type of the SDN controller currently adapted by the network virtualization component; After returning to trigger the SDN implementation class determination module, and the query matching module re-queries the type of SDN controller currently adapted by the network virtualization component, when the SDN implementation class corresponding to the type is still not matched, the loop module is also used to: end the current cloud platform-based network control process and return an error prompt.

3. A network control device based on a cloud platform, characterized in that: include: Memory for storing computer programs; A processor is used to execute the computer program to implement the steps of the cloud platform-based network control method as claimed in claim 1.

4. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the cloud platform-based network control method according to claim 1 are implemented.