CN115225624A - Network control method, system, equipment and storage medium based on cloud platform - Google Patents
Network control method, system, equipment and storage medium based on cloud platform Download PDFInfo
- Publication number
- CN115225624A CN115225624A CN202210867300.4A CN202210867300A CN115225624A CN 115225624 A CN115225624 A CN 115225624A CN 202210867300 A CN202210867300 A CN 202210867300A CN 115225624 A CN115225624 A CN 115225624A
- Authority
- CN
- China
- Prior art keywords
- sdn
- implementation class
- cloud platform
- network
- type
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 43
- 238000006243 chemical reaction Methods 0.000 claims abstract description 28
- 230000006870 function Effects 0.000 claims description 54
- 238000004590 computer program Methods 0.000 claims description 10
- 230000008569 process Effects 0.000 claims description 9
- 238000012545 processing Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 5
- 230000006978 adaptation Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 230000002159 abnormal effect Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000013461 design Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 238000013519 translation Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L67/025—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4641—Virtual LANs, VLANs, e.g. virtual private networks [VPN]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The application discloses a network control method, system, equipment and storage medium based on a cloud platform, which are applied to the technical field of cloud service and SDN adapters, and comprise the following steps: receiving a network function control instruction; determining each SDN implementation class in the cloud platform; the SDN implementation class is used for performing instruction conversion to obtain instruction contents identified by a corresponding SDN controller; inquiring the type of an SDN controller currently adapted to the network virtualization component, and selecting an SDN implementation class corresponding to the type based on the type of the SDN controller; and 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 a network virtualization component, and the SDN controller executes the instruction content. By the adoption of the scheme, the network virtualization component is supported to adapt to different SDN controllers, and network function control can be completed normally.
Description
Technical Field
The invention relates to the technical field of cloud services, in particular to a network control method, a network control system, network control equipment and a storage medium based on a cloud platform.
Background
In recent years, internet technology and cloud computing technology have been developed. With the advent of virtualization, traditional network technologies have been inadequate to adapt to new scenarios in cloud environments. For example, with the advent of virtual machines, network granularity is required to be refined from physical machines to virtual machine levels.
The SDN (Software Defined Network) technology separates functions of Network control and Network forwarding by a distributed architecture concept, and this way makes Network control programmable and can more flexibly control Network traffic. Specifically, the SDN strips the control plane in each device and puts the control plane into an SDN controller, and the controller centrally manages all devices on the forwarding path through a unified instruction. The controller knows the topology of the whole network, knows all necessary information in the forwarding process, and upper layer Application programs can also be controlled in a programmable mode through an Application Programming Interface (API) Interface provided by the controller, so that a large amount of manual configuration can be eliminated.
The current SDN vendors are many, such as SDN, tsntd, open source OVN (OpenVirtual Networking, openVirtual network), OVN is a light SDN controller, ICE in the shovers, and so on. In practical application, due to the fact that different production environment requirements exist, the cloud platform needs to be adapted to different SDN controllers in different occasions, it is guaranteed that configurations issued from the cloud platform can be correctly issued to the SDN controllers, and network functions are normally available.
In summary, how to enable a cloud platform to adapt to different SDNs is a technical problem that needs to be solved by those skilled in the art.
Disclosure of Invention
The invention aims to provide a network control method, a network control system, network control equipment and a storage medium based on a cloud platform, so that the cloud platform can adapt to different SDNs.
In order to solve the technical problems, the invention provides the following technical scheme:
a network control method based on a cloud platform is applied to an SDN adapter and comprises the following steps:
receiving a network function control instruction;
determining each SDN implementation class in the cloud platform; wherein the SDN implementation class is used for performing instruction conversion to obtain instruction content identified by a corresponding SDN controller;
inquiring the type of an SDN controller currently adapted to a network virtualization component, and selecting an 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 instruction content obtained after instruction conversion to the SDN controller through the network virtualization component, and the SDN controller executes the instruction content.
Preferably, the determining each SDN implementation class in the cloud platform includes:
determining each SDN implementation class in the cloud platform, and constructing a map comprising each SDN implementation class;
correspondingly, the selecting the SDN implementation class corresponding to the type includes:
and selecting the SDN implementation class matched with the type from the map.
Preferably, the sending the network function control instruction to the selected SDN implementation class includes:
and sending the network function control instruction to the selected SDN implementation classes based on the annotation identification of each SDN implementation class in the cloud platform.
Preferably, the receiving a network function control instruction includes:
and receiving a network function control instruction issued by a front-end page.
Preferably, the cloud platform comprises 1 or more network virtualization components, each network virtualization component having a type of SDN controller adapted for each network virtualization component.
Preferably, the method further comprises the following steps:
after the type of the SDN controller currently adapted by the network virtualization component is queried, when the SDN implementation class corresponding to the type is not matched, returning to execute the operation of determining each SDN implementation class in the cloud platform.
Preferably, after the operation of determining each SDN implementation class in the cloud platform is returned and executed, and the type of the SDN controller currently adapted to the network virtualization component is re-queried, when the SDN implementation class corresponding to the type is not matched yet, the network control process based on the cloud platform is ended, and an error prompt is returned.
A network control system based on a cloud platform is applied to an SDN adapter and comprises the following components:
the appointed receiving module is used for receiving a network function control instruction;
the SDN implementation class determining module is used for determining each SDN implementation class in the cloud platform; wherein the SDN implementation class is used for performing instruction conversion to obtain instruction content identified by a corresponding SDN controller;
the query matching module is used for querying the type of the SDN controller currently adapted to the network virtualization component and selecting the SDN implementation class corresponding to the type based on the type of the SDN controller;
an execution module, configured to send the network function control instruction to the extracted SDN implementation class, so that the SDN implementation class sends instruction content obtained after instruction conversion to the SDN controller through the network virtualization component, so that the SDN controller executes the instruction content.
A cloud platform-based network control device comprising:
a memory for storing a computer program;
a processor for executing the computer program to implement the steps of the cloud platform based network control method as described above.
A computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the cloud platform based network control method as described above.
By applying the technical scheme provided by the embodiment of the invention, each SDN implementation class is set in the cloud platform, and the SDN implementation class can perform instruction conversion to obtain the instruction content identified by the corresponding SDN controller, namely the SDN implementation class can perform instruction conversion so that the obtained instruction content can be identified by the corresponding SDN controller. The SDN adapter can inquire the type of the SDN controller currently adapted to the network virtualization component, and select the SDN implementation class corresponding to the type based on the type of the SDN controller, that is, the SDN implementation classes selected by the SDN adapter are different when the types of the SDN controller currently adapted to the network virtualization component are different, and the different SDN implementation classes have respective processing logic. After an SDN implementation class corresponding to the SDN controller type is selected, 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 instruction conversion to an SDN controller through a network virtualization component, and the SDN controller can execute the instruction content, namely, the requirement of the network function control instruction is completed. To sum up, the scheme of the application supports the network virtualization component to adapt to different SDN controllers, and can normally complete network function control.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart of an implementation of a network control method based on a cloud platform according to the present invention;
fig. 2 is a schematic diagram of an architecture for adapting 2 SDN controllers according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a cloud platform-based network control system according to the present invention;
fig. 4 is a schematic structural diagram of a network control device based on a cloud platform according to the present invention.
Detailed Description
The core of the invention is to provide a network control method based on a cloud platform, which supports a network virtualization component to adapt to different SDN controllers and can normally complete network function control.
In order that those skilled in the art will better understand the disclosure, reference will now be made in detail to the embodiments of the disclosure as illustrated in the accompanying drawings. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a flowchart illustrating an implementation of a cloud platform-based network control method according to the present invention, where the cloud platform-based network control method can be applied to an SDN adapter, and includes the following steps:
step S101: and receiving a network function control instruction.
Specifically, the user may send the network function control instruction to the cloud platform as needed. The specific content of the network function control instruction may be selected as needed, and may be various instructions related to network control, for example, in a specific occasion, a 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 cases, there may be other types of network creation instructions.
Considering that the cloud platform generally provides a front-end page for the user, the user can send the network function control instruction to the front-end page, and the operation is convenient. Correspondingly, the SDN adapter may receive the network function control instruction based on the front-end page, that is, step S101 may specifically be: and receiving a network function control instruction issued by a front-end page. For example, in the above example, when the network function control instruction is specifically a network creation instruction, the front end may call the cloud platform to create a network interface, and further send the network creation instruction to the SDN adapter.
Step S102: determining each SDN implementation class in the cloud platform; wherein the SDN implementation class is used for performing instruction conversion to obtain instruction contents identified by a corresponding SDN controller.
According to the application, a plurality of SDN implementation classes are required to be set in a cloud platform, wherein the SDN implementation classes can also be called SDN processing modules and can be used for instruction conversion. Fig. 2 of the present application is an architecture diagram of adapting 2 SDN controllers in a specific embodiment, where SDN implementation classes in fig. 2 specifically include 2, that is, OVN implementation classes and ICE implementation classes.
Because the network function control instruction cannot be directly identified by the SDN controller, and for the same network function control instruction, there is a certain difference in processing logic of different SDN controllers, it is necessary to implement instruction conversion by the SDN implementation class. That is, after instruction conversion by the SDN implementation class, instruction content that can be recognized by the corresponding SDN controller may be obtained. Certainly, since the scheme of the application needs to support multiple SDN controllers, different SDN controllers have different processing logics, multiple SDN implementation classes also need to be set, and different SDN implementation classes adopt different processing logics, that is, for a specific SDN implementation class, the SDN implementation class has a code logic of its own, and the instruction content obtained after conversion by the SDN implementation class can be identified by a corresponding SDN controller.
Step S103: and inquiring the type of the SDN controller currently adapted to the network virtualization component, and selecting the SDN implementation class corresponding to the type based on the type of the SDN controller.
The network virtualization component may implement virtualization of a network, and a specific type of the network virtualization component may be set and selected according to a need, for example, in the embodiment of fig. 2, the network virtualization component is a neutron. neutron is a network virtualization component of Open Stack, responsible for the virtualization of network parts. For the adaptation work of the SDN controller, the adaptation work is completed in neutron, and after the adaptation is completed, the network control function is taken over by the SDN controller.
The Open Stack is an Open-source cloud computing management platform project, is a combination of a series of software Open-source projects, and can provide extensible and elastic cloud computing services for private clouds and public clouds. In other specific situations, other types of cloud computing management platforms besides Open Stack may be used without affecting the implementation of the present invention. OpenStack supports virtual machine software or containers such as KVM, xen, lvc, docker, etc., and defaults to KVM. Other types of virtual machine software or containers may also be supported by the installation driver. OpenStack is developed by adopting Python language and follows Apache open source protocol, so that compared with Cloud Stack, the OpenStack is lighter in weight and higher in efficiency.
It should be noted that the present application allows network virtualization components to adapt to different SDN controllers, for example, in fig. 2, a network virtualization component neutron may adapt to OVN controller or ICE controller, but in a specific case, the SDN controller currently adapted by a network virtualization component is determined, that is, in fig. 2, either OVN controller or ICE controller is currently adapted.
Further, in one embodiment of the present invention. The cloud platform comprises 1 or more network virtualization components, and each network virtualization component is provided with a type of an SDN controller which is adapted to the network virtualization component.
As described above, in a particular scenario, the SDN controller to which a network virtualization component is currently adapted is determined. In the embodiment, 1 or more network virtualization components are allowed to be arranged in the cloud platform and are uniformly managed by the cloud platform.
For example, in a specific case, 3 network virtualization components are provided, which are called neutron-1, neutron-2 and neutron-3, respectively, and for the 3 network virtualization components, the types of SDN controllers respectively adapted to the 3 network virtualization components may not be limited, for example, neutron-1 is adapted to be OVN controller, neutron-2 is adapted to be ICE controller, and neutron-3 is adapted to be OVN controller.
In a specific embodiment of the present invention, the determining of each SDN implementation class in the cloud platform described in step S102 may specifically include:
determining each SDN implementation class in the cloud platform, and constructing a map comprising each SDN implementation class;
correspondingly, the selecting of the SDN implementation class corresponding to the type described in step S103 may specifically include:
and selecting the SDN implementation class matched with the type from the map.
In this practical application, after verification and participation, the SDN adapter may determine each SDN implementation class in the cloud platform, and then process the SDN implementation classes, that is, may construct a map including each SDN implementation class, so that retrieval may be performed in the map subsequently. For example, for the example of fig. 2, the key in the map is OVN and ICE, and the Value corresponding to each key is OVN implementation class and ICE implementation class, which indicates that 2 SDN implementation classes are set in the cloud platform.
And subsequently querying the type of the SDN controller currently adapted to the network virtualization component, for example, querying that the type of the SDN controller currently adapted to the network virtualization component is ICE, and then selecting an SDN implementation class matched with the type from the map based on the type of the SDN controller. Namely, an ICE is input and matched with a map, and an SDN implementation class matched with the type is determined to be the ICE implementation class.
Step S104: and 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 a network virtualization component, and the SDN controller executes the instruction content.
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 may be sent to this SDN implementation class.
For example, in the above example, the type of the SDN controller currently adapted by the network virtualization component is an ICE controller, and therefore, the SDN implementation class matching the type is determined to be specifically the ICE implementation class. Then in the example of fig. 2, the network function control instructions may be sent to the right ICE implementation class.
In a specific embodiment of the present invention, the sending the network function control instruction to the selected SDN implementation class described in step S104 may specifically include:
and sending the network function control instruction to the selected SDN implementation classes based on the annotation identification of each SDN implementation class in the cloud platform.
In the implementation manner, a user-defined annotation can be set for each SDN implementation class in the cloud platform, so as to play a role of identification, and identify which SDN each SDN implementation class is respectively adapted to. The code of the specific annotation identifier can be set and adjusted as required.
And after the network function control instruction is sent to the selected SDN implementation class, the SDN implementation class performs instruction conversion. For example, in the above example, the network function control instruction is sent to the ICE implementation class on the right side of fig. 2. The ICE implementation class may perform instruction translation and the resulting instruction content may be recognized by the ICE controller. The network virtualization component may send the instructional content to the ICE controller to cause the ICE controller to execute the instructional content. For example, in the above example, the network function control instruction is specifically a network creation instruction, and at this time, the ICE controller may create a network according to the instruction content.
In addition, in practical application, after the SDN controller executes the instruction content, the execution result may be fed back to the cloud platform through the network virtualization component, so that a user may know whether the network function control instruction issued before is successfully executed through the cloud platform.
According to the scheme, 1 network virtualization component of the cloud platform can adapt to SDN controllers of different types, namely, an adaptation scheme of 1 to multiple SDNs is achieved, and therefore the cloud platform can adapt to different SDN controllers only by setting one set of codes. That is, for 1 network virtualization component, no matter what is deployed at the bottom layer is OVN controller, ICE controller, or what is called SND controller, hua san SDN controller, etc., the function from the front end page to the network can be operated normally.
In an embodiment of the present invention, the method may further include:
after querying the type of the SDN controller currently adapted by the network virtualization component, when the SDN implementation class corresponding to the type is not matched, returning to perform the operation of step S102.
In this embodiment, it is considered that in some cases, after querying the type of SDN controller currently adapted by the network virtualization component, a situation that the SDN implementation class corresponding to the type cannot be matched may occur.
For example, after querying the map in the above example, it is found that any 1 key in the map is not consistent with the type of SDN controller currently adapted by the network virtualization component. The reason for this may be that the SDN implementation classes set up in the cloud platform do not cover the SDN controller that the network virtualization component is currently adapted to. Of course, the abnormal reasons may also be caused, for example, when the operation of step S102 is performed, the determined SDN implementation classes in the cloud platform are incomplete, and when the operation of step S103 is performed, a type of an SDN controller currently adapted to the network virtualization component is queried to be incorrect.
For this reason, in this embodiment, when a mismatch is found, the operation in step S102 is returned to determine each SDN implementation class in the cloud platform again, and then, when step S103 is executed, the type of the SDN controller currently adapted to the network virtualization component may be queried again. It can be seen that in the embodiment, matching failure caused by partial abnormal conditions can be dealt with, and the reliability of the scheme is improved.
Further, in a specific embodiment of the present invention, after the operation of determining each SDN implementation class in the cloud platform is returned, and the type of the SDN controller currently adapted to the network virtualization component is re-queried, when the SDN implementation class corresponding to the type is not yet matched, the network control process based on the cloud platform is ended, and an error prompt is returned.
In this embodiment, after the operations of step S102 and step S103 are re-executed, if the SDN implementation class corresponding to the type of the SDN controller currently adapted to the network virtualization component is still not matched, each SDN implementation class set in the cloud platform may be generally described, and the SDN controller currently adapted to the network virtualization component is not actually covered, so that the network control process based on the cloud platform at this time may be performed, and an error prompt is returned.
In practical application, the returned error prompt may carry a specific error reason, for example, in this embodiment, it may be prompted that each SDN implementation class set in the cloud platform may not cover an SDN controller currently adapted to the network virtualization component, thereby causing an error. The staff may perform corresponding adjustment according to the error prompt, for example, adjust an SDN controller adapted to the network virtualization component, that is, select an SDN controller that can be supported by the cloud platform. As another example, add the SDN implementation class required by the SDN controller in the cloud platform.
By applying the cloud platform-based network control method provided by the embodiment of the invention, each SDN implementation class is set in the cloud platform, and the SDN implementation class can perform instruction conversion to obtain the instruction content identified by the corresponding SDN controller, namely the SDN implementation class can perform instruction conversion so that the obtained instruction content can be identified by the corresponding SDN controller. The SDN adapter can inquire the type of the SDN controller currently adapted to the network virtualization component, and select the SDN implementation class corresponding to the type based on the type of the SDN controller, that is, the SDN implementation classes selected by the SDN adapter are different when the types of the SDN controller currently adapted to the network virtualization component are different, and the different SDN implementation classes have respective processing logic. After an SDN implementation class corresponding to the SDN controller type is selected, 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 instruction conversion to an SDN controller through a network virtualization component, and the SDN controller can execute the instruction content, namely, the requirement of the network function control instruction is completed. To sum up, the scheme of the application supports the network virtualization component to adapt to different SDN controllers, and can normally complete network function control.
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.
Referring to fig. 3, a schematic structural diagram of a network control system based on a cloud platform according to the present invention is applied to an SDN adapter, and includes:
a designated receiving module 301, configured to receive a network function control instruction;
an SDN implementation class determining module 302, configured to determine each SDN implementation class in the cloud platform; the SDN implementation class is used for performing instruction conversion to obtain instruction contents identified by a corresponding SDN controller;
the query matching module 303 is configured to query the type of the SDN controller currently adapted to the network virtualization component, and select an SDN implementation class corresponding to the type based on the type of the SDN controller;
an executing module 304, configured to send the network function control instruction to the extracted SDN implementation class, so that the SDN implementation class sends 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.
In a specific embodiment of the present invention, the SDN implementation class determining module 302 determines each SDN implementation class in the cloud platform, and is specifically configured to:
determining each SDN implementation class in the cloud platform, and constructing a map comprising each SDN implementation class;
correspondingly, the query matching module 303 selects an SDN implementation class corresponding to the type, for:
and selecting the SDN implementation class matched with the type from the map.
In a specific embodiment of the present invention, the query matching module 303 sends the network function control instruction to the selected SDN implementation class, which is specifically configured to:
and sending the network function control instruction to the selected SDN implementation classes based on the annotation identification of each SDN implementation class in the cloud platform.
In an embodiment of the present invention, the receiving module 301 is specifically configured to:
and receiving a network function control instruction issued by a front-end page.
In one embodiment of the present invention, the cloud platform includes 1 or more network virtualization components therein, each having a type of SDN controller adapted thereto.
In an embodiment of the present invention, the method further comprises:
a looping module, configured to, after the query matching module 303 queries the type of the SDN controller currently adapted to the network virtualization component, return to trigger the SDN implementation class determination module 302 when the SDN implementation class corresponding to the type is not matched.
In a specific embodiment of the present invention, after the SDN implementation class determination module 302 is triggered back, and the query matching module 303 re-queries the type of the SDN controller currently adapted by the network virtualization component, when the SDN implementation class corresponding to the type is not yet matched, the looping module is further configured to: and ending the network control flow based on the cloud platform, and returning an error prompt.
By applying the cloud platform-based network control system provided by the embodiment of the invention, each SDN implementation class is set in the cloud platform, and the SDN implementation class can perform instruction conversion to obtain the instruction content identified by the corresponding SDN controller, namely the SDN implementation class can perform instruction conversion so that the obtained instruction content can be identified by the corresponding SDN controller. The SDN adapter can inquire the type of the SDN controller currently adapted to the network virtualization component, and select the SDN implementation class corresponding to the type based on the type of the SDN controller, that is, the SDN implementation classes selected by the SDN adapter are different when the types of the SDN controller currently adapted to the network virtualization component are different, and the different SDN implementation classes have respective processing logic. After an SDN implementation class corresponding to the SDN controller type is selected, the received network function control instruction is sent to the SDN implementation class, so that the SDN implementation class sends instruction content obtained after instruction conversion to an SDN controller through a network virtualization component, and the SDN controller can execute the instruction content, namely, the requirement of the network function control instruction is completed. To sum up, the scheme of the application supports the network virtualization component to adapt to different SDN controllers, and can normally complete network function control.
Corresponding to the above method and system embodiments, the embodiments of the present invention further provide a network control device based on a cloud platform and a computer-readable storage medium, which may be referred to in correspondence with the above.
The computer readable storage medium has a computer program stored thereon, and when executed by a processor, the computer program implements the steps of the cloud platform-based network control method according to any of the above embodiments. A computer-readable storage medium as referred to herein may include Random Access Memory (RAM), memory, read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
Referring to fig. 4, the cloud platform-based network control apparatus may include:
a memory 401 for storing a computer program;
a processor 402 for executing a computer program to implement the steps of the cloud platform based network control method as in any of the above embodiments.
It is further noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising a … …" does not exclude the presence of another identical element in a process, method, article, or apparatus that comprises the element.
In the present specification, the embodiments are described in a progressive manner, and each embodiment focuses on differences from other embodiments, and the same or similar parts between the embodiments are referred to each other. For the system disclosed by the embodiment, the description is relatively simple because the system corresponds to the method disclosed by the embodiment, and the relevant points can be referred to the method part for description. Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The principle and the implementation of the present invention are explained in the present application by using specific examples, and the above description of the embodiments is only used to help understanding the technical solution and the core idea of the present invention. It should be noted that, for those skilled in the art, without departing from the principle of the present invention, several improvements and modifications can be made to the present invention, and these improvements and modifications also fall into the protection scope of the present invention.
Claims (10)
1. A network control method based on a cloud platform is applied to an SDN adapter and comprises the following steps:
receiving a network function control instruction;
determining each SDN implementation class in the cloud platform; wherein the SDN implementation class is used for performing instruction conversion to obtain instruction content identified by a corresponding SDN controller;
inquiring the type of an SDN controller currently adapted to a network virtualization component, and selecting an 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 instruction content obtained after instruction conversion to the SDN controller through the network virtualization component, and the SDN controller executes the instruction content.
2. The cloud platform-based network control method of claim 1, wherein the determining each SDN implementation class in the cloud platform comprises:
determining each SDN implementation class in the cloud platform, and constructing a map comprising each SDN implementation class;
correspondingly, the selecting the SDN implementation class corresponding to the type includes:
and selecting the SDN implementation class matched with the type from the map.
3. The cloud platform-based network control method of claim 1, wherein the sending the network function control instruction to the selected SDN implementation class comprises:
and sending the network function control instruction to the selected SDN implementation classes based on the annotation identification of each SDN implementation class in the cloud platform.
4. The cloud platform-based network control method according to claim 1, wherein the receiving a network function control instruction includes:
and receiving a network function control instruction issued by a front-end page.
5. The cloud platform-based network control method of claim 1, wherein the cloud platform comprises 1 or more network virtualization components, each network virtualization component having a type of SDN controller adapted for each network virtualization component.
6. The cloud platform-based network control method according to any one of claims 1 to 5, further comprising:
after the type of the SDN controller currently adapted by the network virtualization component is queried, when the type of the SDN implementation class corresponding to the type is not matched, returning to execute the operation of determining each SDN implementation class in the cloud platform.
7. The cloud platform-based network control method according to claim 6, wherein after returning to perform the operation of determining each SDN implementation class in the cloud platform and re-querying a type of an SDN controller currently adapted to a network virtualization component, when the SDN implementation class corresponding to the type is not yet matched, the cloud platform-based network control process is ended, and an error prompt is returned.
8. A network control system based on a cloud platform is applied to an SDN adapter and comprises the following components:
the appointed receiving module is used for receiving a network function control instruction;
the SDN implementation class determining module is used for determining each SDN implementation class in the cloud platform; wherein the SDN implementation class is used for performing instruction conversion to obtain instruction content identified by a corresponding SDN controller;
the query matching module is used for querying the type of the SDN controller currently adapted to the network virtualization component and selecting the SDN implementation class corresponding to the type based on the type of the SDN controller;
an execution module, configured to send the network function control instruction to the extracted SDN implementation class, so that the SDN implementation class sends instruction content obtained after instruction conversion to the SDN controller through the network virtualization component, so that the SDN controller executes the instruction content.
9. A network control device based on a cloud platform, comprising:
a memory for storing a computer program;
a processor for executing the computer program to implement the steps of the cloud platform based network control method according to any of claims 1 to 7.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a computer program which, when being executed by a processor, realizes the steps of the cloud platform-based network control method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210867300.4A CN115225624A (en) | 2022-07-22 | 2022-07-22 | Network control method, system, equipment and storage medium based on cloud platform |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210867300.4A CN115225624A (en) | 2022-07-22 | 2022-07-22 | Network control method, system, equipment and storage medium based on cloud platform |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115225624A true CN115225624A (en) | 2022-10-21 |
Family
ID=83614428
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210867300.4A Pending CN115225624A (en) | 2022-07-22 | 2022-07-22 | Network control method, system, equipment and storage medium based on cloud platform |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115225624A (en) |
Citations (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103685580A (en) * | 2013-12-18 | 2014-03-26 | 武汉邮电科学研究院 | Software-defined-network-based northbound interface access system and method |
US20170034224A1 (en) * | 2015-07-28 | 2017-02-02 | Polycom, Inc. | Relaying multimedia conferencing utilizing software defined networking architecture |
CN106775958A (en) * | 2017-02-20 | 2017-05-31 | 郑州云海信息技术有限公司 | A kind of virtual machine method for building up and device |
US20170289060A1 (en) * | 2016-04-04 | 2017-10-05 | At&T Intellectual Property I, L.P. | Model driven process for automated deployment of domain 2.0 virtualized services and applications on cloud infrastructure |
CN108234211A (en) * | 2017-12-30 | 2018-06-29 | 上海陆家嘴国际金融资产交易市场股份有限公司 | Network control method, system and storage medium |
CN108304188A (en) * | 2016-08-25 | 2018-07-20 | 平安科技(深圳)有限公司 | A kind of data type conversion method and terminal |
CN108874504A (en) * | 2018-06-05 | 2018-11-23 | 郑州云海信息技术有限公司 | A kind of management method and device of multiple virtualization platform |
CN109257198A (en) * | 2017-07-13 | 2019-01-22 | 中国电信股份有限公司 | Adapter, management system and the network resource operation method of SDN controller |
CN109743205A (en) * | 2018-12-29 | 2019-05-10 | 浪潮电子信息产业股份有限公司 | A kind of cloud platform OS network management, device and server |
CN110019403A (en) * | 2017-12-27 | 2019-07-16 | 航天信息股份有限公司 | A kind of querying method and relevant apparatus |
CN110166448A (en) * | 2019-05-16 | 2019-08-23 | 西安电子科技大学 | Heterogeneous protocol for isomery controller cluster converts middleware and method |
CN110704200A (en) * | 2018-07-09 | 2020-01-17 | 北京京东尚科信息技术有限公司 | Method and device for converting call interface |
CN111858101A (en) * | 2020-07-28 | 2020-10-30 | 平安医疗健康管理股份有限公司 | Cloud architecture system-oriented adaptation method, device, equipment and storage medium |
CN113193981A (en) * | 2021-03-29 | 2021-07-30 | 新华三大数据技术有限公司 | Configuration issuing method and device and network system |
CN113467972A (en) * | 2021-06-30 | 2021-10-01 | 广州华多网络科技有限公司 | Communication interface construction method, communication interface construction device, computer equipment and storage medium |
CN114417408A (en) * | 2022-01-18 | 2022-04-29 | 百度在线网络技术(北京)有限公司 | Data processing method, device, equipment and storage medium |
CN114579109A (en) * | 2022-03-18 | 2022-06-03 | 上海商汤智能科技有限公司 | Code generation method and device, electronic equipment and storage medium |
-
2022
- 2022-07-22 CN CN202210867300.4A patent/CN115225624A/en active Pending
Patent Citations (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103685580A (en) * | 2013-12-18 | 2014-03-26 | 武汉邮电科学研究院 | Software-defined-network-based northbound interface access system and method |
US20170034224A1 (en) * | 2015-07-28 | 2017-02-02 | Polycom, Inc. | Relaying multimedia conferencing utilizing software defined networking architecture |
US20170289060A1 (en) * | 2016-04-04 | 2017-10-05 | At&T Intellectual Property I, L.P. | Model driven process for automated deployment of domain 2.0 virtualized services and applications on cloud infrastructure |
CN108304188A (en) * | 2016-08-25 | 2018-07-20 | 平安科技(深圳)有限公司 | A kind of data type conversion method and terminal |
CN106775958A (en) * | 2017-02-20 | 2017-05-31 | 郑州云海信息技术有限公司 | A kind of virtual machine method for building up and device |
CN109257198A (en) * | 2017-07-13 | 2019-01-22 | 中国电信股份有限公司 | Adapter, management system and the network resource operation method of SDN controller |
CN110019403A (en) * | 2017-12-27 | 2019-07-16 | 航天信息股份有限公司 | A kind of querying method and relevant apparatus |
CN108234211A (en) * | 2017-12-30 | 2018-06-29 | 上海陆家嘴国际金融资产交易市场股份有限公司 | Network control method, system and storage medium |
CN108874504A (en) * | 2018-06-05 | 2018-11-23 | 郑州云海信息技术有限公司 | A kind of management method and device of multiple virtualization platform |
CN110704200A (en) * | 2018-07-09 | 2020-01-17 | 北京京东尚科信息技术有限公司 | Method and device for converting call interface |
CN109743205A (en) * | 2018-12-29 | 2019-05-10 | 浪潮电子信息产业股份有限公司 | A kind of cloud platform OS network management, device and server |
CN110166448A (en) * | 2019-05-16 | 2019-08-23 | 西安电子科技大学 | Heterogeneous protocol for isomery controller cluster converts middleware and method |
CN111858101A (en) * | 2020-07-28 | 2020-10-30 | 平安医疗健康管理股份有限公司 | Cloud architecture system-oriented adaptation method, device, equipment and storage medium |
CN113193981A (en) * | 2021-03-29 | 2021-07-30 | 新华三大数据技术有限公司 | Configuration issuing method and device and network system |
CN113467972A (en) * | 2021-06-30 | 2021-10-01 | 广州华多网络科技有限公司 | Communication interface construction method, communication interface construction device, computer equipment and storage medium |
CN114417408A (en) * | 2022-01-18 | 2022-04-29 | 百度在线网络技术(北京)有限公司 | Data processing method, device, equipment and storage medium |
CN114579109A (en) * | 2022-03-18 | 2022-06-03 | 上海商汤智能科技有限公司 | Code generation method and device, electronic equipment and storage medium |
Non-Patent Citations (1)
Title |
---|
罗原;: "一种面向SDN网络的云安全技术方案研究和实现", 电信工程技术与标准化, no. 07, 15 July 2017 (2017-07-15) * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10326653B2 (en) | Method for upgrading network functions virtualization application, service forwarding method, and apparatus | |
US10860339B2 (en) | Autonomous creation of new microservices and modification of existing microservices | |
US10432460B2 (en) | Network service scaling method and apparatus | |
CN112199197B (en) | Server management method and system | |
EP2630567B1 (en) | Coordinated upgrades in distributed systems | |
WO2019184164A1 (en) | Method for automatically deploying kubernetes worker node, device, terminal apparatus, and readable storage medium | |
WO2017113201A1 (en) | Network service lifecycle management method and device | |
CN106708597A (en) | Method, device and system for creating cluster environment on the basis of Openstack | |
US20120311111A1 (en) | Dynamic reconfiguration of cloud resources | |
KR102524126B1 (en) | Apparatus for providing design and deployment of distributed cloud system for establishing 5G infra and method thereof | |
US20190020540A1 (en) | Mechanism for hardware configuration and software deployment | |
CN106713042B (en) | Method and device for determining network topology | |
CN110784515B (en) | Data storage method based on distributed cluster and related equipment thereof | |
CN109062619B (en) | Method, system, device and storage medium for unified management of third-party storage equipment | |
CN110995545B (en) | Cloud network configuration testing method and device | |
US20190018703A1 (en) | Managing tasks in a cloud computing environment using multiple orchestration tools | |
WO2024113778A1 (en) | Holder determination method, apparatus and device for field replace unit device | |
CN110417856B (en) | Capacity expansion method, device, equipment and storage medium for multi-active load balancing application | |
CN115225624A (en) | Network control method, system, equipment and storage medium based on cloud platform | |
US20130246523A1 (en) | Browser based recovery discovery | |
CN112217693B (en) | Controller testing method and device, electronic equipment and storage medium | |
CN111352664A (en) | Distributed machine learning task starting method, system, equipment and storage medium | |
US11269615B2 (en) | Automatically orchestrating deployments of software-defined storage stacks | |
US11425203B2 (en) | Commissioning a virtualized network function | |
CN114095343A (en) | Disaster recovery method, device, equipment and storage medium based on double-active system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |