SDN operation and maintenance method, device, equipment and readable storage medium

By introducing container technology in SDN, using container network elements to set up multiple data nodes in one server, business deployment and function verification are realized, resource utilization and automation are improved, and the deployment and operation and maintenance monitoring of SDN controllers are solved Inefficiency problem.

CN111142878BActive Publication Date: 2024-11-01NANJING ZHONGXING XIN SOFTWARE CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN201811321954.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2018-11-06
Publication Date
2024-11-01
Estimated Expiration
2039-01-26

AI Technical Summary

Technical Problem

Under large-scale networks, the deployment and operation and maintenance monitoring of SDN controllers are inefficient and the degree of automation is not high, resulting in increased operation and maintenance difficulties and inefficient efficiency.

Method used

By obtaining the server that establishes a communication connection with the SDN, establishing a communication connection with the container network element, obtaining deployment instructions for business deployment, and performing functional verification. If passed, monitor the operating status, and using container technology to set up multiple data nodes in a server, improve the Resource utilization and automation level.

Benefits of technology

It improves the operation and maintenance and management efficiency of SDN, and solves the problems of low efficiency and low automation of controller deployment and operation and maintenance monitoring under large-scale networks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111142878B_ABST
    Figure CN111142878B_ABST
Patent Text Reader

Abstract

The present invention discloses an SDN operation and maintenance method and device, equipment and readable storage medium, the method comprising: obtaining each server that has established a communication connection with a software defined network SDN, and establishing a communication connection with each container network element through each server; obtaining a deployment instruction sent by the SDN controller, and deploying the deployment instruction to each service transmitted into the SDN through each container network element; verifying the service function of each service based on the service deployment; if the service function of each service is verified, monitoring the operation status of the SDN based on each container network element. The technical problems of low efficiency and low automation of deployment and operation and maintenance monitoring of SDN controllers in large-scale networks in the prior art are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication technology, and in particular to an SDN operation and maintenance method, device, equipment and computer-readable storage medium. Background Art

[0002] SDN (Software Defined Network) is a new type of network architecture and a way to implement network virtualization. Different from the forwarding devices in traditional networks, SDN combines with network function virtualization technology to install the functions of network devices (such as switches and routers) on standard servers in the form of software and provide them to users. They are called virtualized devices. Since the devices in SDN networks only have forwarding capabilities and no control functions, virtualized devices are increasingly being connected to SDN networks as forwarding devices, making the network elements of SDN networks more and more abundant.

[0003] Since the SDN system needs to focus on the entire network, not just the equipment, it covers all aspects such as network element access, network monitoring, configuration distribution and business functions. At present, a data node is set up in a server. Therefore, when the network scale is small, network element device access, business distribution and function verification can be easily carried out. However, with the increase of network element capacity and business scale, the difficulty of deployment and control also increases. More manpower needs to be invested in the deployment, operation and management of SDN networks, and the operation and maintenance efficiency is low and the degree of automation is not high. Therefore, a more efficient SDN controller deployment and operation method is urgently needed. Summary of the invention

[0004] The main purpose of the present invention is to provide an SDN operation and maintenance method, device, equipment and computer storage medium, aiming to solve the technical problems of low efficiency and low automation in the deployment and operation and maintenance monitoring of SDN controllers in large-scale networks.

[0005] To achieve the above object, the present invention provides an SDN operation and maintenance method, characterized in that the SDN operation and maintenance method comprises the following steps:

[0006] Acquire each server that has established a communication connection with the software defined network SDN, and establish a communication connection with each container network element through each of the servers;

[0007] Obtaining the deployment instruction sent by the SDN controller, and performing service deployment on each service introduced into the SDN through each container network element using the deployment instruction;

[0008] Performing business function verification on each of the businesses based on the business deployment;

[0009] If the service functions of each of the services are verified to be successful, the operation status of the SDN is monitored based on each of the container network elements.

[0010] Optionally, after the step of deploying the services transmitted into the SDN through the container network elements using the deployment instructions, the following steps are included:

[0011] Determine whether the service deployment of each of the services has been completed;

[0012] If the service deployment is not completed, obtain the service data in the SDN operation and maintenance database, and perform new service deployment based on the service data;

[0013] If the service deployment is completed, a step of verifying the service functions of each service based on the service deployment is performed.

[0014] Optionally, the step of performing service function verification on each of the services based on the service deployment includes:

[0015] Obtain each standard service corresponding to each service in the SDN operation and maintenance database;

[0016] and matching and comparing the service with a standard service corresponding to the service;

[0017] If the service matches the standard service corresponding to the service, the service function verification of the service is successful;

[0018] If the service and the standard service corresponding to the service do not match, the standard service corresponding to the service is obtained and redeployed until the service function verification succeeds.

[0019] Optionally, before the step of performing service function verification on each of the services based on the service deployment, the step includes:

[0020] Receive the instruction sent by the controller, send the instruction to the target service corresponding to the instruction through each container network element, and output the execution result of the target service based on the instruction;

[0021] Determine whether the communication connection between each of the container network elements and the SDN is successful based on the execution result;

[0022] If the communication connection between each container network element and the SDN is successful, a step of verifying the service function of each service based on the service deployment is performed.

[0023] Optionally, after the step of monitoring the running status of the SDN based on each of the container network elements, the step further includes:

[0024] If the running state of the SDN is a fault, analyzing and determining the fault cause of the SDN according to the SDN memory size;

[0025] A fault analysis report is generated based on the fault cause, and the fault analysis report is output.

[0026] Optionally, before the step of acquiring each server that has established a communication connection with the SDN and establishing a communication connection with each container network element through each server, the step includes:

[0027] Obtain the virtual network elements and deployment and maintenance tools connected to the controller;

[0028] The preset number of container network elements are created in the server by using a deployment and operation tool, and the container network elements include the virtual network elements and the deployment and operation tool.

[0029] Optionally, the step of acquiring each server that has established a communication connection with the SDN, and establishing a communication connection with each container network element through each server includes:

[0030] Obtain each server that has established a communication connection with the SDN, and obtain the container control plane bridge and container service plane bridge of each container network element in the server;

[0031] A system control plane bridge and a system service plane bridge in the SDN are obtained, and a communication connection is established between each container control plane bridge and the system control plane bridge, and a communication connection is established between each container service plane bridge and the system service plane bridge.

[0032] In addition, the present invention also provides an SDN operation and maintenance device, characterized in that the SDN operation and maintenance device comprises:

[0033] An acquisition module acquires each server that has established a communication connection with the SDN, and establishes a communication connection with each container network element through each of the servers;

[0034] A deployment module obtains the deployment instruction sent by the SDN controller, and deploys the services transmitted into the SDN through the container network elements using the deployment instruction;

[0035] A verification module, performing business function verification on each of the businesses based on the business deployment;

[0036] The monitoring module monitors the operation status of the SDN based on each of the container network elements if the service functions of each of the services are verified.

[0037] In addition, to achieve the above-mentioned purpose, the present invention also provides an SDN operation and maintenance device;

[0038] The SDN operation and maintenance device includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein:

[0039] When the computer program is executed by the processor, the steps of the SDN operation and maintenance method described above are implemented.

[0040] In addition, to achieve the above-mentioned purpose, the present invention also provides a computer storage medium;

[0041] The computer storage medium stores a computer program, and when the computer program is executed by the processor, the steps of the SDN operation and maintenance method described above are implemented.

[0042] The present invention obtains each server that has established a communication connection with the software defined network SDN, and establishes a communication connection with each container network element through each server; obtains the deployment instruction sent by the SDN controller, and uses each container network element to deploy the business of each business introduced into the SDN; verifies the business function of each business based on the business deployment; if the business function of each business is verified, the operation status of the SDN is monitored based on each container network element. By introducing container technology into SDN, and because multiple container network elements can be set in the server, and because one container network element corresponds to one data node, that is, multiple data nodes can be set in one server, the resource utilization and automation degree of SDN are improved. Since container technology is a resource sharing method, and multiple containers can be set in one server, and SDN automatically deploys each business in SDN through these containers, the operation and management efficiency of SDN is also improved. Finally, since container technology improves the resource utilization and automation level of SDN, as well as the operation and management efficiency, it also solves the technical problems of low efficiency and low automation level in the deployment and operation and maintenance monitoring of controllers in large-scale networks. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] Figure 1 It is a schematic diagram of the terminal\device structure of the hardware operating environment involved in the embodiment of the present invention;

[0044] Figure 2 This is a flow chart of the first embodiment of the SDN operation and maintenance method of the present invention;

[0045] Figure 3 This is a flow chart of the second embodiment of the SDN operation and maintenance method of the present invention;

[0046] Figure 4 A schematic diagram of the system structure of an embodiment of the SDN operation and maintenance device of the present invention;

[0047] Figure 5A schematic diagram of container network element deployment of the SDN operation and maintenance method of the present invention;

[0048] Figure 6 It is a deployment and operation and maintenance tool framework diagram of the SDN operation and maintenance method of the present invention;

[0049] Figure 7 It is a flow chart of SDN deployment and operation and maintenance of the SDN operation and maintenance method of the present invention;

[0050] Figure 8 The figure is a schematic diagram of the SDN network topology of the SDN operation and maintenance method of the present invention.

[0051] The purpose, features and advantages of the present invention will be further described with reference to the accompanying drawings in conjunction with the embodiments. DETAILED DESCRIPTION

[0052] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

[0053] like Figure 1 As shown, Figure 1 It is a schematic diagram of the terminal structure of the hardware operating environment involved in the embodiment of the present invention.

[0054] The terminal in the embodiment of the present invention is an SDN operation and maintenance device.

[0055] like Figure 1 As shown, the terminal may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, and a communication bus 1002. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 may be a high-speed RAM memory, or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.

[0056] Optionally, the terminal may also include a camera, an RF (Radio Frequency) circuit, a sensor, an audio circuit, a WiFi module, and the like. Among them, the sensors include light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display screen according to the brightness of the ambient light, and the proximity sensor may turn off the display screen and / or backlight when the terminal device is moved to the ear. Of course, the terminal device may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which will not be repeated here.

[0057] Those skilled in the art will understand that Figure 1 The terminal structure shown in the figure does not constitute a limitation on the terminal, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.

[0058] like Figure 1 As shown, the memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and an SDN operation and maintenance program.

[0059] exist Figure 1 In the terminal shown, the network interface 1004 is mainly used to connect to the backend server and communicate data with the backend server; the user interface 1003 is mainly used to connect to the client (user end) and communicate data with the client; and the processor 1001 can be used to call the SDN operation and maintenance program stored in the memory 1005 and perform the following operations:

[0060] Acquire each server that has established a communication connection with the SDN, and establish a communication connection with each container network element through each of the servers;

[0061] Obtaining a deployment instruction sent by the controller in the SDN, and performing service deployment on each service introduced into the SDN through each container network element using the deployment instruction;

[0062] Performing business function verification on each of the businesses based on the business deployment;

[0063] If the service functions of each of the services are verified, the operation status of the SDN is monitored based on each of the container network elements.

[0064] The present invention provides an SDN operation and maintenance method. In an embodiment of the SDN operation and maintenance method, the SDN operation and maintenance method includes the following steps:

[0065] Step S10, obtaining each server that has established a communication connection with the software defined network SDN, and establishing a communication connection with each container network element through each of the servers;

[0066] Container technology is a lightweight software integration and packaging technology that allows applications to run independently on different platforms with containers as carriers. As an independent object, the container can be used like a virtual machine to achieve lightweight deployment. There are many technical solutions for containers. In this embodiment, docker (application container engine) container deployment can be used. The network element accessed by the controller is deployed using the virtual switch OVS running in the docker container. In this embodiment, the container is a carrier and the server is a platform. First, according to the performance of the server, a specified number of containers are established on the physical server, and virtualized network elements are deployed in each container. It should be noted that a virtualized network element needs to be deployed in each container, and the virtualized network elements in the container run independently of each other, that is, container network elements. After obtaining each container network element in the server, it is necessary to establish a communication connection between each container and the SDN system, that is, the virtualized network element in each container is used as the access unit of the controller, and the network between the containers in each server and between the container and the controller is opened to realize the access controller of large-capacity container network elements. Among them, the number of servers can be more than one, but multiple, depending on the needs of the user. Among them, the container network element can be a virtualized network element set in the container.

[0067] To help understand the working principle of establishing a communication connection between a container and a system, a specific embodiment is used as an example below.

[0068] For example, Figure 5 As shown, Figure 5 This is a diagram of container network element deployment. Figure 5 There are management planes, business planes, container management planes, container business planes, container network elements, and servers. When there are multiple servers, first obtain the number of container network elements in each server, and use two independent network ports on each server to connect to the control plane and business plane of the local area network. Create two bridges on the server corresponding to the control and business planes. The two network ports on the server and the two network ports created on each container are connected to the control plane and business plane bridges respectively. In this way, the interconnection of virtual network elements on all servers is realized, forming two planes, control and business, which are connected to the controller like ordinary network elements, that is, connected to the SDN system.

[0069] Step S20, obtaining a deployment instruction sent by the controller in the SDN, and performing service deployment on each service introduced into the SDN through each container network element using the deployment instruction;

[0070] After each container network element establishes a communication connection with the SDN system, it is also necessary to obtain the various business information required by the user, and import the business corresponding to each business information into the SDN system through the controller operation interface, and then obtain the deployment instructions issued by the controller in the system, and use this deployment instruction to deploy the business of each business in the incoming system through each container network element. It should be noted that when each business is imported into the SDN system, the operation and maintenance database will store the data of each business in the operation and maintenance database through the operation and maintenance database operation interface. However, when the business is deployed for each business in the incoming system through each container network element, if an interference event suddenly occurs (such as power outage, manual shutdown of the machine, etc.), the user can forward the network element deployment host to the container network element through the deployment operation interface, which can realize the batch concurrent creation of large-scale host services, and with the help of the database interface, the recovery after the business deployment can be realized.

[0071] Among them, the services deployed by each container network element may include: access and topology management of the virtual switch OVS, controller service configuration, distribution of switch forwarding tables, and access to large-capacity virtual machines.

[0072] Among them, the controller operation interface is realized through the controller's own external programming interface, which is used for business configuration delivery, business configuration query, analysis and other operations. The operation and maintenance database interface is stored in the operation and maintenance database in a customized form according to the business deployment data, and is used for various operation and maintenance operations.

[0073] Step S30, performing service function verification on each of the services based on the service deployment;

[0074] After each service is deployed through each container in the SDN system, the service functions of each service need to be verified. That is, users can use the operation and maintenance interface to check the topological connectivity between all container forwarding network elements and the correctness of service items based on service deployment. If the service function verification of the service does not meet the user's requirements, the service can be re-imported.

[0075] The business functions to be verified may include: issuing of network, subnet, routing, and security group rules, checking of network element flow tables, and connectivity checks between virtual machines, between virtual machines and gateways, and between virtual machines and external networks.

[0076] Step S40: If the service functions of each of the services are verified, the operation status of the SDN is monitored based on each of the container network elements.

[0077] After verification, if the service functions of each service in the SDN system are verified, it is necessary to monitor the operating status of the system through each container network element, that is, the user obtains the operating status of the SDN system and container server through the inspection operation interface, mainly including memory usage, resource usage and fault notification, etc. When a fault is detected in the operating status of the system, the fault will be analyzed to determine whether it is caused by insufficient memory or insufficient resources, and the preliminary analysis results will be output.

[0078] To assist in understanding the SDN deployment and operation and maintenance process of the present invention, several embodiments are used for specific description below.

[0079] For example, Figure 6 As shown, Figure 6 This is a deployment and operation and maintenance tool framework diagram. Figure 6 It is divided into user interface and business layer. In the user interface, there are deployment interface and operation and maintenance interface, while in the business layer, there are container deployment, virtual network element deployment, service configuration, service function verification, operation and maintenance monitoring, log recording and analysis; and the internal interface realizes the corresponding controller operation interface, deployment database interface, network element operation interface and container operation interface. It should be noted that the user operation interface can adopt CLI (command-line interface, command line interface), and the user sets the parameters and then executes the command to obtain the execution result. The controller interface can include two types: northbound restful API and controller configuration interface. The operation and maintenance database uses Mysql. The operation interface of container network element includes docker operation interface and OVS command operation interface. In addition, the user level is goal-oriented, does not perceive business logic and internal implementation, and realizes the deployment and service delivery of container network elements through the operation interface. Through the controller operation interface, users can call service configuration and service function verification, while the deployment database interface can call service configuration, operation and maintenance monitoring, log recording and analysis, while the network element operation interface and container operation interface can call container deployment, virtual network element deployment and operation and maintenance monitoring, log recording and analysis. That is, in this embodiment, users can implement operation and maintenance operations on the SDN network through the various interfaces in this figure.

[0080] For example, Figure 7 As shown, Figure 7The operation and maintenance flowchart for SDN deployment is as follows: The first step is to prepare the physical environment. That is, when there are several servers and switches, the switches are divided into the control plane and the service forwarding plane through VLAN configuration. Several servers are selected according to the network scale to deploy the docker container service. Make a container image, including OVS service and common operation and maintenance tools such as ping and tcpdump. Use two servers to install the controller, and select another server as the user operation machine to install the python environment and dependent packages for running the deployment tool. The second step is to configure the docker server address and port, docker image path, and the number of docker containers. Execute the command to create a docker container of the specified capacity, start the OVS service, and connect the SDN system to the control plane and forwarding plane network. The third step is to execute the command to deploy the service. Taking the virtual machine access deployment as an example, according to the configured network, subnet, route, host capacity and other parameters, send the configuration to the controller, create a virtual host on the container, add the host port to OVS, and realize the virtual machine access. The fourth step is to execute the command to verify the service function and output the result. According to the operation and maintenance database and user configuration parameters, check the correctness of the configuration on the controller and the forwarding table on OVS. Execute the ping command to verify the connectivity between virtual machines and output the results. The fifth step is operation and maintenance. According to the deployment of the business and the operation and maintenance requirements, perform business function inspection, business backup and fault analysis, and output logs. In the environment of existing business, you can directly configure parameters and perform operation and maintenance operations.

[0081] The present invention obtains each server that has established a communication connection with the software defined network SDN, and establishes a communication connection with each container network element through each server; obtains the deployment instruction sent by the SDN controller, and uses each container network element to deploy the business of each business introduced into the SDN; verifies the business function of each business based on the business deployment; if the business function of each business is verified, the operation status of the SDN is monitored based on each container network element. By introducing container technology into SDN, and because multiple container network elements can be set in the server, and because one container network element corresponds to one data node, that is, multiple data nodes can be set in one server, the resource utilization and automation degree of SDN are improved. Since container technology is a resource sharing method, and multiple containers can be set in one server, and SDN automatically deploys each business in SDN through these containers, the operation and management efficiency of SDN is also improved. Finally, since container technology improves the resource utilization and automation level of SDN, as well as the operation and management efficiency, it also solves the technical problems of low efficiency and low automation level in the deployment and operation and maintenance monitoring of controllers in large-scale networks.

[0082] Further, based on the first embodiment of the present invention, a second embodiment of the SDN operation and maintenance method of the present invention is proposed. This embodiment is after step S20 of the first embodiment of the present invention, referring to Figure 3 , the SDN operation and maintenance method includes:

[0083] Step S51, determining whether the service deployment of each service has been completed;

[0084] When deploying various services through various container network elements in the SDN system, it is necessary to monitor at any time to determine whether each service is successfully deployed in the SDN system, that is, to determine whether there are some unexpected situations (such as power outages, manual shutdown of machines, etc.) that cause the failure of deployment of various services in the SDN system.

[0085] Step S52: if the service deployment is not completed, obtain the service data in the SDN operation and maintenance database, and perform new service deployment based on the service data;

[0086] When it is found through detection that the service deployment of each service is not completed, since the operation and maintenance database in the SDN copies and stores the service in the operation and maintenance database as soon as the SDN system just receives the service, the service data in the operation and maintenance database can be automatically obtained. That is, if the service deployment of a certain service is not completed, the service in the operation and maintenance database will be automatically obtained.

[0087] Step S53: If the service deployment is completed, then a step of verifying the service functions of each service based on the service deployment is executed.

[0088] When the business deployment of each business is completed after detection and judgment, the business functions of each business can be verified, that is, whether there are any errors in the business functions deployed through the container. When it is found that there are no errors in the business functions of each business, the user can implement other operation and maintenance operations.

[0089] In this embodiment, by judging whether the service deployment of each service is completed, and automatically redeploying the service when it is found that the service deployment is not completed, the intelligent effect of SDN is improved, and the efficiency of operation and maintenance is improved.

[0090] Specifically, if the service deployment is completed, the step of performing service function verification on each service includes:

[0091] Step S531, obtaining each standard service corresponding to each service in the SDN operation and maintenance database;

[0092] When it is found that each service in the SDN system has been deployed, that is, the basic framework of the entire SDN system has been built, it is necessary to test each service in the SDN system to determine whether the service functions of each service meet the needs of users. At this time, each standard service in the operation and maintenance database can be obtained through the operation and maintenance operation interface, and each standard service in the operation and maintenance database can find a corresponding service in the system. Among them, the standard service can be the service obtained by the operation and maintenance database when the user imports the service into the system.

[0093] Step S532, matching and comparing the service with a standard service corresponding to the service;

[0094] After obtaining the standard services corresponding to each service, it is necessary to match and compare each service with the standard services corresponding to each service in turn to determine whether an error occurred during the deployment process. For example, when there are services A, B, and C in the SDN system, then there are standard services A, B, and C in the operation and maintenance database. It is necessary to match and compare service A with standard service A, service B with standard service B, and service C with standard service C to determine whether an error occurred during the deployment of each service.

[0095] Step S533, if the service matches the standard service corresponding to the service, the service function verification of the service is successful;

[0096] When it is found through judgment that all services in the SDN system can match the standard services corresponding to the services, the service functions of all services in the SDN system are successfully verified, and the user's next normal operation can be executed.

[0097] Step S534: If the service and the standard service corresponding to the service do not match, the standard service corresponding to the service is obtained and redeployed until the service function verification succeeds.

[0098] However, if it is found through judgment that there is a mismatch between a service and the standard service corresponding to the service in the SDN system, then errors and vulnerabilities have occurred in the deployment process of this service. In this case, the standard service corresponding to this service can be obtained from the operation and maintenance database and redeployed and re-verified in the system until the service function verification is successful.

[0099] In this embodiment, by detecting whether the functions of various services deployed in the SDN system are normal, and automatically taking remedial measures when an abnormality is detected, the automation effect of the system is improved, and the efficiency of system operation, maintenance and management is improved.

[0100] Further, based on any one of the first to second embodiments of the present invention, a third embodiment of the SDN operation and maintenance method of the present invention is proposed. This embodiment is after step S30 of the first embodiment of the present invention, and includes:

[0101] Step S61, receiving an instruction sent by the controller, and sending the instruction to the target service corresponding to the instruction through each container network element, and outputting the execution result of the target service based on the instruction;

[0102] After detecting that the business functions of each service in the SDN system are normal, it can receive the control instructions corresponding to any service sent by the controller, and then send the control instructions to the target services corresponding to each instruction through each container network element. The target service then performs a series of operations according to the received control instructions to obtain the execution result and output the execution result.

[0103] Step S62, determining whether the communication connection between each of the container network elements and the SDN is successful based on the execution result;

[0104] Then, based on the execution result, it is determined whether the communication connection between each container network element and the SDN system is successful. That is, when it is detected that the execution result shows that the service has not executed the operation corresponding to the control instruction, it can be considered that the service has not received the instruction, thereby determining that the communication connection between each container network element and the SDN system is not successful and needs to be reconnected. However, when it is determined that the execution result shows that the service has executed the operation corresponding to the control instruction, it can be considered that the communication connection between each container network element in the SDN system and the SDN system has been established.

[0105] Step S63: If the communication connection between each container network element and the SDN system is successful, a step of verifying the service function of each service based on the service deployment is performed.

[0106] When it is determined that the communication connection between each container network element and the SDN system has been successfully connected, it can be determined that each container network element has been successfully connected to the SDN system, so that the service function of each service in the SDN system can be verified based on these container network elements.

[0107] In this embodiment, by outputting instructions in the controller and judging whether the service has executed the corresponding operation, it is determined whether the communication connection between each container network element and the SDN system is normal, thereby improving the accuracy of the SDN operation and maintenance function and improving the user experience.

[0108] Specifically, after the step of monitoring the running status of the SDN based on each of the container network elements, the method further includes:

[0109] Step S71, if the operation status of the SDN is faulty, analyzing and determining the fault cause of the SDN according to the SDN memory size;

[0110] When the running status of the SDN system and the container server is obtained through the inspection operation interface and a fault is detected in the running status, the cause of the fault will be automatically analyzed based on the memory size of the SDN. It should be noted that the analysis can also be performed based on the memory occupancy and resource usage of the SDN.

[0111] Step S72: Generate a fault analysis report based on the fault cause, and output the fault analysis report.

[0112] After a simple analysis of the fault, a fault analysis report will be automatically generated, which will include system fault notification, cause analysis and other factors, and the fault analysis report will be output on the display end.

[0113] In this embodiment, the SDN is constantly monitored and automatically analyzed when a fault is detected in the SDN, thereby improving the intelligent effect of the SDN and also improving the efficiency of operation, maintenance and management.

[0114] Further, based on any one of the first to third embodiments of the present invention, a fourth embodiment of the SDN operation and maintenance method of the present invention is proposed. This embodiment is before step S10 of the first embodiment of the present invention, and includes:

[0115] Step A10, obtaining a preset number of virtual network elements and deployment and operation tools;

[0116] Step A11: creating the preset number of container network elements in the server by deploying an operation and maintenance tool, and the container network elements include the virtual network elements and the deployment and operation and maintenance tool.

[0117] The preset number is a fixed number set by the user in advance. The network element is the smallest unit that can be monitored and managed in network management. In this embodiment, a virtual network element can be understood as a data node. Before connecting each container to the SDN system, it is necessary to determine the number of virtual network elements and the deployment operation and maintenance tools, and then use the deployment operation and maintenance tools to create each container in the server according to the number of virtual network elements. It should be noted that multiple containers can be created in more than one server, and the number of containers created needs to be the same as the number of virtual network elements, and the virtualized network elements and the required deployment operation and maintenance tools are made into the image of the container, that is, the container network element is obtained. Among them, the functions completed by the deployment operation and maintenance tool include: creating a specified number of containers and virtualized network elements, deploying services, verifying business functions, maintaining operation data, performing system monitoring, inspection and other operation and maintenance operations, and outputting results, providing logs, and giving preliminary analysis results when the system is abnormal.

[0118] In this embodiment, multiple containers are created in the server by determining the number of virtual network elements, thereby greatly improving resource utilization and avoiding waste of resources while ensuring user needs.

[0119] Further, the step of obtaining each server that has established a communication connection with the SDN, and establishing a communication connection with each container network element through each server includes:

[0120] Step S11, obtaining each server that has established a communication connection with the SDN, and obtaining a container control plane bridge and a container service plane bridge of each container in the server;

[0121] Step S12, obtaining a system control plane bridge and a system service plane bridge in the SDN, and establishing a communication connection between each container control plane bridge and the system control plane bridge, and establishing a communication connection between each container service plane bridge and the system service plane bridge.

[0122] After creating the container network elements required by the user in the server and preparing to connect the server to the SDN system, it is also necessary to obtain the container control plane bridge and container business plane bridge of each network element in the server, the system control plane bridge and system business plane bridge in the SDN, and establish a communication connection between the container control plane bridge and the system control plane bridge, and establish a communication connection between the container business plane bridge and the system business plane bridge.

[0123] To help understand how a container establishes a communication connection with a system, a specific embodiment is used as an example below.

[0124] For example, Figure 8 As shown, Figure 8 This is a schematic diagram of the SDN network topology. The container network element is connected to the controller system as a computing node. It establishes a connection with the controller through the management plane. The controller also sends forwarding flow tables and operation instructions through the management channel. The business plane between the container network element and other physical devices in the system is also interconnected, which is used to forward actual business traffic. That is, a local area network is formed between servers and physical devices through switches. The entire network topology is divided into two independent planes, control and business. The control plane is used for communication between the controller and the network element, and the business plane is used to forward business traffic between network elements. In addition, two independent network ports are used on the server to connect to the control plane and business plane of the local area network. Two bridges are created on the server corresponding to the control and business planes. The two network ports on the server and the two network ports created on each container are connected to the control plane and business plane bridges respectively. As a result, the virtual network elements on all servers are interconnected, forming two control and business planes, which are connected to the controller like ordinary network elements.

[0125] In this embodiment, communication connections are established between each container network element and SDN, and since multiple container network elements can be in one server, and container technology can build a container operating system on demand, great flexibility is provided for system management.

[0126] In addition, refer to Figure 4 The embodiment of the present invention further provides an SDN operation and maintenance device, the SDN operation and maintenance device comprising:

[0127] An acquisition module is used to acquire each server that has established a communication connection with the software defined network SDN, and to establish a communication connection with each container network element through each of the servers;

[0128] A deployment module obtains the deployment instruction sent by the SDN controller, and deploys the services transmitted into the SDN through the container network elements using the deployment instruction;

[0129] A verification module, performing business function verification on each of the businesses based on the business deployment;

[0130] The monitoring module monitors the operation status of the SDN based on each of the container network elements if the service functions of each of the services are verified.

[0131] Optionally, after the deployment module, the following steps are included:

[0132] A judging unit, for judging whether the service deployment of each service has been completed;

[0133] A deployment unit, if the service deployment is not completed, obtains service data in the SDN operation and maintenance database, and performs new service deployment based on the service data;

[0134] The verification unit executes the step of verifying the service functions of each of the services based on the service deployment if the service deployment has been completed.

[0135] Optionally, the verification unit includes:

[0136] Obtain each standard service corresponding to each service in the SDN operation and maintenance database;

[0137] and matching and comparing the service with a standard service corresponding to the service;

[0138] If the service matches the standard service corresponding to the service, the service function verification of the service is successful;

[0139] If the service and the standard service corresponding to the service do not match, the standard service corresponding to the service is obtained and redeployed until the service function verification succeeds.

[0140] Optionally, before the verification module, it includes:

[0141] Receive the instruction sent by the controller, send the instruction to the target service corresponding to the instruction through each container network element, and output the execution result of the target service based on the instruction;

[0142] Determine whether the communication connection between each of the container network elements and the SDN is successful based on the execution result;

[0143] If the communication connection between each container network element and the SDN is successful, a step of verifying the service function of each service based on the service deployment is performed.

[0144] Optionally, after the monitoring module, the following is included:

[0145] If the running state of the SDN is a fault, analyzing and determining the fault cause of the SDN according to the SDN memory size;

[0146] A fault analysis report is generated based on the fault cause, and the fault analysis report is output.

[0147] Optionally, before the acquisition module, it includes:

[0148] Obtain a preset number of virtual network elements and deployment and operation tools;

[0149] The preset number of container network elements are created in the server by using a deployment and operation tool, and the container network elements include the virtual network elements and the deployment and operation tool.

[0150] Optionally, the acquisition module includes:

[0151] Obtain each server that has established a communication connection with the SDN, and obtain the container control plane bridge and container service plane bridge of each container network element in the server;

[0152] A system control plane bridge and a system service plane bridge in the SDN are obtained, and a communication connection is established between each container control plane bridge and the system control plane bridge, and a communication connection is established between each container service plane bridge and the system service plane bridge.

[0153] Among them, the steps implemented by each functional module of the SDN operation and maintenance device can refer to the various embodiments of the SDN operation and maintenance method of the present invention, and will not be repeated here.

[0154] The present invention also provides a terminal, the terminal comprising: a memory, a processor, a communication bus, and an SDN operation and maintenance program stored in the memory:

[0155] The communication bus is used to realize the connection and communication between the processor and the memory;

[0156] The processor is used to execute the SDN operation and maintenance program to implement the steps of each embodiment of the above-mentioned SDN operation and maintenance method.

[0157] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system 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 system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.

[0158] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0159] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present invention.

[0160] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. An SDN operation and maintenance method, characterized in that: The SDN operation and maintenance method comprises the following steps: Acquire each server that has established a communication connection with the software defined network SDN, and establish a communication connection with each container network element through each of the servers; Obtaining the deployment instruction sent by the SDN controller, and performing service deployment on each service introduced into the SDN through each container network element using the deployment instruction; Performing business function verification on each of the businesses based on the business deployment; If the service functions of each of the services are verified, the operation status of the SDN is monitored based on each of the container network elements; The step of obtaining each server that has established a communication connection with the SDN, and establishing a communication connection with each container network element through each server, includes: Obtain each server that has established a communication connection with the SDN, and obtain the container control plane bridge and container service plane bridge of each container network element in the server, wherein the container network element includes a virtual network element and a deployment and operation tool; A system control plane bridge and a system service plane bridge in the SDN are obtained, and a communication connection is established between each container control plane bridge and the system control plane bridge, and a communication connection is established between each container service plane bridge and the system service plane bridge.

2. The SDN operation and maintenance method according to claim 1, characterized in that: After the step of deploying the deployment instructions to each service transmitted into the SDN through each container network element, the method further includes: Determine whether the service deployment of each of the services has been completed; If the service deployment is not completed, obtain the service data in the SDN operation and maintenance database, and perform new service deployment based on the service data; If the service deployment is completed, a step of verifying the service functions of each service based on the service deployment is performed.

3. The SDN operation and maintenance method according to claim 2, characterized in that: The step of performing service function verification on each of the services based on the service deployment includes: Obtain each standard service corresponding to each service in the SDN operation and maintenance database; and matching and comparing the service with a standard service corresponding to the service; If the service matches the standard service corresponding to the service, the service function verification of the service is successful; If the service and the standard service corresponding to the service do not match, the standard service corresponding to the service is obtained and redeployed until the service function verification succeeds.

4. The SDN operation and maintenance method according to claim 1, characterized in that: Before the step of performing service function verification on each of the services based on the service deployment, the method includes: Receive the instruction sent by the controller, send the instruction to the target service corresponding to the instruction through each container network element, and output the execution result of the target service based on the instruction; Determine whether the communication connection between each of the container network elements and the SDN is successful based on the execution result; If the communication connection between each container network element and the SDN is successful, a step of verifying the service function of each service based on the service deployment is performed.

5. The SDN operation and maintenance method according to any one of claims 1 to 4, characterized in that: After the step of monitoring the running status of the SDN based on each of the container network elements, the method further includes: If the running state of the SDN is a fault, analyzing and determining the fault cause of the SDN according to the SDN memory size; A fault analysis report is generated based on the fault cause, and the fault analysis report is output.

6. The SDN operation and maintenance method according to claim 1, characterized in that: Before the step of obtaining each server that has established a communication connection with the software defined network SDN, and establishing a communication connection with each container network element through each server, the step includes: Obtain a preset number of virtual network elements and deployment and operation tools; The preset number of container network elements are created in the server by deploying an operation and maintenance tool.

7. An SDN operation and maintenance device, characterized in that: The SDN operation and maintenance device includes: An acquisition module is used to acquire each server that has established a communication connection with the software defined network SDN, and to establish a communication connection with each container network element through each of the servers; A deployment module obtains the deployment instruction sent by the SDN controller, and deploys the services transmitted into the SDN through the container network elements using the deployment instruction; A verification module, performing business function verification on each of the businesses based on the business deployment; A monitoring module, which monitors the operation status of the SDN based on each of the container network elements if the service functions of each of the services are verified; The step of obtaining each server that has established a communication connection with the SDN, and establishing a communication connection with each container network element through each server, includes: Obtain each server that has established a communication connection with the SDN, and obtain the container control plane bridge and container service plane bridge of each container network element in the server, wherein the container network element includes a virtual network element and a deployment and operation tool; A system control plane bridge and a system service plane bridge in the SDN are obtained, and a communication connection is established between each container control plane bridge and the system control plane bridge, and a communication connection is established between each container service plane bridge and the system service plane bridge.

8. An SDN operation and maintenance device, characterized in that: The SDN operation and maintenance device includes: a memory, a processor, and an SDN operation and maintenance program stored in the memory and executable on the processor. When the SDN operation and maintenance program is executed by the processor, the steps of the SDN operation and maintenance method according to any one of claims 1 to 6 are implemented.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores an SDN operation and maintenance program, and when the SDN operation and maintenance program is executed by the processor, the steps of the SDN operation and maintenance method according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Middleware deploying method, device and system

    CN106550049A

  • Service processing method and system

    CN107395380A

  • Virtual network deployment method, device and system

    CN108011739A

  • Method and device for homogenization configuration under coexistence mode of SDN and traditional network

    CN108259224A

  • Management method and device for virtual network elements

    CN108650144A