A service component discovery and deployment method based on SDN, device and medium

By leveraging the automatic detection function of the SDN controller and the management verification of device management information, the problems of automated component installation and service deployment of the SDN controller within the data center are solved, achieving efficient and accurate component installation and service adaptation.

CN118784438BActive Publication Date: 2025-11-18INSPUR NETWORK TECH (SHANDONG) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411143168.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-20
Publication Date
2025-11-18
Estimated Expiration
2044-08-20

AI Technical Summary

Technical Problem

Existing SDN controllers are poor in automated collaborative management, have difficulty adapting to various service installation methods in the current data center environment, and manual installation carries the risk of errors.

Method used

By leveraging the automatic detection function of the SDN controller, the managed devices are verified for inclusion in the management system using pre-statistical device management information, server information is obtained, and components are installed and services are deployed based on ARP packets, adapting to various service installation methods and reducing human error.

Benefits of technology

It enables automated component installation and service deployment of SDN controllers within data centers, saving manpower, reducing the risk of errors during manual installation, and adapting to various service installation methods.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118784438B_ABST
    Figure CN118784438B_ABST
Patent Text Reader

Abstract

The application discloses a service component discovery deployment method and device based on SDN, and a medium, belongs to the technical field of SDN controller, and is used for solving the technical problems that the existing SDN controller is poor in automatic collaborative management, manual installation has error risks and the like, and is difficult to adapt to various service installation modes in the current environment. The method comprises the following steps: verifying the management of the SDN controller and the management device through pre-counted device management information; before starting the automatic discovery function of the SDN controller, completing the preposition configuration of various information in the automatic discovery function through the front-end webpage management page of the SDN controller; after starting the automatic discovery function, performing the preposition configuration on the installation steps of the related components according to the server IP range; when the management access information is managed, installing the components and deploying the services of the management device through the automatic discovery function of the SDN controller and based on the ARP message.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of SDN controllers, and more particularly to a method, device, and medium for detecting and deploying SDN-based service components. Background Technology

[0002] With the development of network technology, many data centers have introduced SDN controllers to manage their networks. SDN controllers enable dynamic network configuration, optimization, and security, improving the operational efficiency and reliability of data centers. Currently, the types of services within data centers are becoming increasingly complex, and user requirements for SDN are no longer limited to the network layer. Therefore, data center users expect SDN to be more flexibly customizable to adapt to various service-level applications.

[0003] To meet user needs, SDN controllers need to be able to communicate and collaborate effectively with application servers to achieve coordinated management of the network and applications. How to enable SDN controllers to interface with application servers over the network and better utilize their automation features to assist users in server-level monitoring, application deployment, and other operations has become a pressing issue for data center administrators. Summary of the Invention

[0004] This application provides a service component discovery and deployment method, device, and medium based on SDN to solve the following technical problems: existing SDN controllers have poor automated collaborative management, and manual installation carries the risk of errors, making it difficult to adapt to various service installation methods in the current environment.

[0005] The embodiments of this application adopt the following technical solutions:

[0006] On one hand, this application provides a service component discovery and deployment method based on SDN, including: performing management verification between the SDN controller and the management device using pre-statistical device management information to obtain a management verification result; wherein the management device includes: a server and a switch; before starting the automatic discovery function of the SDN controller, completing the pre-configuration of various information in the automatic discovery function through the front-end web management page of the SDN controller; wherein the various information includes: discovery IP range information, login information, and file transfer method; after starting the automatic discovery function, performing the installation steps of relevant components according to the server IP range; when the management verification result is management access information, installing components and deploying services on the management device through the automatic discovery function of the SDN controller and based on ARP packets.

[0007] This application embodiment manages network-connected switches via an SDN controller, leverages the existing network to obtain information on servers already online in the current environment, and automatically installs monitoring components or other custom business components on servers within a specified IP range. It allows for real-time business monitoring or application deployment on currently online servers. It adapts to various business installation methods in the current environment, saving the manpower costs of manual installation and reducing the risks of component installation errors that may occur during manual installation.

[0008] In one feasible implementation, before performing management verification between the SDN controller and the management device using pre-statistical device management information to obtain the management verification result, the method further includes: collecting device management information in the data center that needs to be managed by the SDN controller; wherein the device management information includes at least: device management address, device content information, login username and password, physical link, and management network; initializing the management device through the switch; and connecting the SDN controller to the management device that needs to be managed based on a preset connection protocol; wherein the connection protocol includes at least: SSH connection protocol and SNMP connection protocol.

[0009] In one feasible implementation, the SDN controller and management devices are verified for inclusion in the management system using pre-statistical device management information to obtain the inclusion verification result. Specifically, this includes: adding and configuring the device management information through the front-end web management page of the SDN controller; verifying the configured device management information for inclusion in the management system through a connection protocol to obtain the inclusion verification result; if the inclusion verification result is the inclusion access information, then the device management information is saved to the database of the SDN controller.

[0010] In one feasible implementation, before activating the automatic discovery function of the SDN controller, the pre-configuration of various information in the automatic discovery function is completed through the front-end web management page of the SDN controller. Specifically, this includes: collecting various information in each step of the automatic discovery function execution through the front-end web management page of the SDN controller; the pre-configuration based on the discovered IP range information includes: if the management IP address obtained through the ARP packet is within the specified IP range, the management device installs the relevant components; if the management IP address obtained through the ARP packet is not within the specified IP range, the management device does not install the relevant components; wherein, the specified IP range is multiple non-contiguous network segments or a single IP address.

[0011] In one feasible implementation, the pre-configuration based on the login information includes: if the management IP address obtained through the ARP packet is within a specified IP range, then the user password information for logging into the server where the management IP address is located is used to deploy the relevant components; wherein, the user password information is pre-stored by the user on the server; the pre-configuration based on the file transfer method includes: copying and installing the relevant component files on the server corresponding to the management IP address through a preset file transfer protocol and based on the SDN controller.

[0012] In one feasible implementation, after the automatic detection function is activated, the installation steps of relevant components in the pre-configuration are executed according to the server IP range. Specifically, this includes: using the SDN controller and based on the information in the pre-configuration, executing the component installation steps for relevant components that conform to the server IP range to obtain installation result information; feeding back the installation result information to the front-end web page management page of the SDN controller; and recording the corresponding target IPs within the server IP range through the SDN controller.

[0013] In one feasible implementation, when the management verification result is management access information, the SDN controller's automatic detection function, based on ARP packets, performs component installation and service deployment on the management device. Specifically, this includes: obtaining the server's network interface card (NIC) IP address information based on ARP packets transmitted between the switch and the server; if the NIC IP address information is within a specified IP range, the switch connects to the NIC IP address information and logs into the corresponding server using the user's pre-stored password information; if successfully logging into the corresponding server, the SDN NIC monitoring component is installed on the management device through a fixed directory stored in the SDN controller's database; and the customized service is deployed to the management device based on the customized service provided by the SDN controller's automatic detection function.

[0014] In one feasible implementation, based on the custom service discovered by the SDN controller, the custom service is deployed to the management device. Specifically, this includes: uploading the script file corresponding to the custom service to the SDN controller via the front-end web management page; creating installation steps based on the script file and execution command lines on the server according to a custom installation sequence; and, based on the installation steps and execution command lines, executing the custom installation steps on servers within a specified IP range via the SDN controller to deploy the custom service to the management device.

[0015] Secondly, embodiments of this application also provide an SDN-based service component detection and deployment device, the device comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to execute an SDN-based service component detection and deployment method as described in any of the above embodiments.

[0016] Thirdly, embodiments of this application also provide a non-volatile computer storage medium, characterized in that the storage medium is a non-volatile computer-readable storage medium, the non-volatile computer-readable storage medium stores at least one program, each program includes instructions, and when the instructions are executed by a terminal, the terminal executes a service component discovery and deployment method based on SDN as described in any of the above embodiments.

[0017] This application provides a service component detection deployment method, device, and medium based on SDN. Compared with the prior art, this application has the following beneficial technical effects:

[0018] This application embodiment manages network-connected switches via an SDN controller, leverages the existing network to obtain information on servers already online in the current environment, and automatically installs monitoring components or other custom business components on servers within a specified IP range. It allows for real-time business monitoring or application deployment on currently online servers. It adapts to various business installation methods in the current environment, saving the manpower costs of manual installation and reducing the risks of component installation errors that may occur during manual installation. Attached Figure Description

[0019] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort. In the drawings:

[0020] Figure 1 A flowchart illustrating a service component discovery and deployment method based on SDN, provided in an embodiment of this application;

[0021] Figure 2 This is a schematic diagram of the connection structure of an SDN controller provided in an embodiment of this application;

[0022] Figure 3 This is a schematic diagram of the structure of a service component based on SDN for detecting and deploying devices, provided in an embodiment of this application. Detailed Implementation

[0023] To enable those skilled in the art to better understand the technical solutions in this application, the technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this specification, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of this application.

[0024] It should be noted that this embodiment of the application manages the device system by pre-deploying an SDN controller in the data center or server room, based on the device (switch, server) access information configured within the SDN controller. When the SDN controller connects to a server, relevant monitoring components can be deployed within the server to obtain the server's network interface card (NIC) status information. Users can utilize the SDN controller's automatic discovery function to enable the SDN controller to connect to the server and automatically complete the installation of monitoring components based on the ARP information learned from the switch within a specified range. Furthermore, users can also install content outside of the SDN monitoring components, customizing steps within the SDN controller to allow the SDN controller to complete the deployment of user-defined services through its automatic discovery function.

[0025] This application provides a service component discovery and deployment method based on SDN, such as... Figure 1 As shown, the SDN-based service component discovery and deployment method specifically includes steps S101-S104:

[0026] S101. Using pre-statistical device management information, perform management verification between the SDN controller and management devices to obtain the management verification results. The management devices include servers and switches.

[0027] Specifically, it is necessary to first collect the device management information of the devices in the data center that need to be managed by the SDN controller. This device management information includes at least: device management address, device content information, login username and password, physical link, and management network. The management devices are then initialized and configured via a switch. Based on preset connection protocols, the SDN controller is connected to the managed devices that need to be managed. These connection protocols include at least: SSH and SNMP connection protocols.

[0028] As a feasible implementation method, Figure 2 This is a schematic diagram of the connection structure of an SDN controller provided in an embodiment of this application, as shown below. Figure 2As shown, before the SDN controller manages the switch devices in the data center, it collects the management addresses and management information of the devices (switches and servers) that need to be managed by the SDN controller, completes the construction of physical links and management networks, and completes the corresponding initialization configuration on the switches, so that the SDN controller can connect to the switches and server devices that need to be managed through protocols such as SSH and SNMP.

[0029] Furthermore, the device management information can be added and configured through the front-end web management page of the SDN controller.

[0030] Furthermore, the configured device management information is verified for inclusion in the management system via the connection protocol to obtain the management verification result. If the management verification result indicates inclusion in the management system, the device management information is saved to the SDN controller's database.

[0031] In one embodiment, such as Figure 2 As shown, the SDN controller's web management page can be accessed via PC. This page displays management information for the devices (switches, servers), including the SDN controller's reachable management network IP, management username and password, and SNMP configurations. By entering this management information into the SDN management page, the SDN system verifies the information via SSH or SNMP. Once verified, the device management information is saved to its database. In subsequent use, the SDN system will use this saved information to perform network control and obtain various device information. At this point, the SDN controller has completed the management of the devices within the data center.

[0032] S102. Before starting the automatic discovery function of the SDN controller, complete the pre-configuration of various information in the automatic discovery function through the front-end web management page of the SDN controller. These information include: the IP range to be discovered, login information, and file transfer method.

[0033] In addition, if the automatic discovery function of the SDN controller is required to be executed, the network where the SDN controller is located must meet the interoperability conditions with the server's network interface card (NIC) access network, that is, the SDN controller can connect to the server's NIC access network through the current network.

[0034] When an SDN controller manages a server, it can only obtain basic server information (CPU, memory usage, power-on status, etc.). If it is necessary to obtain real-time monitoring information on server network interface card traffic, components such as netflow need to be installed on the server and the netflow information needs to be reported to the SDN controller to fulfill the above requirements.

[0035] By default, users need to manually install the above components on the servers to be monitored. After deploying an SDN controller, users can use the SDN controller's auto-discovery function to enable the SDN controller to automatically complete the relevant component installation operations on servers within a range specified by the user, based on the obtained server IP information.

[0036] Therefore, it is necessary to first collect various information for each step of the automatic discovery function through the front-end web management page of the SDN controller. In other words, before a user needs to enable the automatic discovery function, they need to complete the pre-configuration of the automatic discovery function on the front-end web interface of the SDN controller, which includes the various information required for each step of the automatic discovery function, such as: the IP range to be discovered, login information, and file transfer method.

[0037] The pre-configuration based on the IP range information includes: if the management IP address obtained through the ARP packet is within a specified IP range, the management device will install the relevant components. If the management IP address obtained through the ARP packet is not within the specified IP range, the management device will not install the relevant components; wherein, the specified IP range can be multiple non-contiguous network segments or a single IP address.

[0038] As a feasible implementation method, the SDN controller, during automatic discovery installation, will install the relevant components if the management IP address obtained through ARP information is within the user-defined IP range. If the ARP information is not within the IP range, subsequent installation operations will not be performed. This method distinguishes the server systems that require automatic discovery installation of relevant components. Therefore, the specified IP range can be set to multiple non-contiguous network segments or a single IP address.

[0039] The pre-configuration based on login information includes: if the management IP address obtained through ARP packets is within a specified IP range, then the user's password information for logging into the server where the management IP address is located is used to deploy relevant components. The user's password information is pre-stored on the server.

[0040] As a feasible implementation method, the login information is the username and password used by the SDN controller to log in to the server where the IP address is located after confirming that the obtained management IP address is within the server IP range. To facilitate component deployment, users need to configure the username and password information in the server in advance to ensure that the SDN controller can log in to the server.

[0041] The pre-configuration based on file transfer includes: copying and installing relevant component files to the server corresponding to the management IP address using a preset file transfer protocol and based on the SDN controller. File transfer methods include SFTP and SCP ports. Users can select the file transfer protocol according to their actual business needs, and the SDN controller will remotely copy and install the required files to the target server using the selected transfer protocol.

[0042] S103. After the automatic detection function is started, the installation steps of relevant components will be executed according to the server IP range.

[0043] Specifically, the SDN controller first performs the component installation steps for relevant components within the server IP range based on the information in the pre-configuration, and then obtains the installation result information.

[0044] Furthermore, the installation results are fed back to the front-end web management page of the SDN controller. The SDN controller then records and processes the corresponding target IPs within the server IP range.

[0045] As a feasible implementation, after the automatic discovery function is activated, the SDN controller will perform component installation steps for the addresses learned within the specified IP range according to the functional steps and the information provided by the user. Once the component installation steps are completed, the SDN controller will display a corresponding prompt message on the SDN controller's front-end interface to inform the user of the installation result. After installation, the SDN controller will record the IP address in the installed list, and will not perform component installation on the same IP address again.

[0046] S104. When the management verification result is management access information, the SDN controller’s automatic detection function, based on ARP packets, is used to install components and deploy services on the management device.

[0047] Specifically, the network interface card (NIC) IP address information of the server can be obtained based on the ARP packets transmitted between the switch and the server. If the NIC IP address information is within the specified IP range, the switch connects to the NIC IP address information and logs into the corresponding server using the user's pre-stored password information. If the login to the corresponding server is successful, the SDN NIC monitoring component is installed on the management device through the fixed directory stored in the database of the SDN controller.

[0048] In one embodiment, such as Figure 2As shown, the SDN controller's automatic discovery function involves the switch obtaining the server's network interface card (NIC) IP address information by periodically sending ARP packets to the connected server, or by receiving ARP packets from the server. If the NIC IP address is within the user-specified range, the switch connects to the server system via SSH using a preset username and password. If login is successful, steps such as installing the SDN NIC monitoring component are executed, using the corresponding command lines required for installation via SSH. All necessary components are copied by the SDN controller to a fixed directory on the server via SCP or SFTP to complete the installation. Users can also deploy custom services on the SDN controller using this method. Users only need to upload the shell script for installing their service components and the corresponding installation files to the SDN controller, which will then automatically execute the subsequent steps.

[0049] Furthermore, based on the automatic discovery function of the SDN controller, custom services are deployed to the management device. Specifically, the script files corresponding to the custom services are uploaded to the SDN controller through the front-end web management page. Installation steps based on the script files and execution command lines on the servers are created according to the customized installation sequence. Based on the installation steps and execution command lines, the customized installation steps are executed on servers within the specified IP range through the SDN controller to deploy the custom services to the management device.

[0050] As a feasible implementation method, when users need to install their business components on the server according to actual business requirements, they can perform custom installations through the SDN controller's auto-discovery function. Custom installation involves the user uploading a script file executable on the target server through the SDN controller's front-end interface, creating installation steps according to the actual installation order, and selecting an action to execute in each step or directly entering the command line that the SDN controller needs to execute on the server. The actions are preset steps by the SDN controller, including logging into the server, logging out of the server, waiting time, and restarting the current device. After the user sets the custom installation steps according to the actual execution steps, with the auto-discovery function enabled, the SDN controller will execute the user-defined custom installation steps on servers within the specified IP range.

[0051] As a feasible implementation method, the SDN controller also supports running multiple auto-detection entries simultaneously, with different activation durations, installed content, detected IP ranges, login information, and file transfer methods.

[0052] In addition, embodiments of this application also provide an SDN-based service component detection deployment device, such as... Figure 3As shown, the SDN-based service component for detecting deployed devices 300 specifically includes:

[0053] At least one processor 301. And a memory 302 communicatively connected to the at least one processor 301. The memory 302 stores instructions executable by the at least one processor 301, enabling the at least one processor 301 to execute:

[0054] By using pre-statistical device management information, the SDN controller and management devices are verified for inclusion in the management system, and the management verification results are obtained; the management devices include servers and switches.

[0055] Before enabling the automatic discovery function of the SDN controller, complete the pre-configuration of various information in the automatic discovery function through the front-end web management page of the SDN controller; these information include: discovery IP range information, login information, and file transfer method;

[0056] After the automatic detection function is enabled, the installation steps of relevant components will be executed according to the server IP range.

[0057] When the management verification result is management access information, the SDN controller's automatic detection function, based on ARP packets, is used to install components and deploy services on the management device.

[0058] This application embodiment manages network-connected switches via an SDN controller, leverages the existing network to obtain information on servers already online in the current environment, and automatically installs monitoring components or other custom business components on servers within a specified IP range. It allows for real-time business monitoring or application deployment on currently online servers. It adapts to various business installation methods in the current environment, saving the manpower costs of manual installation and reducing the risks of component installation errors that may occur during manual installation.

[0059] The various embodiments in this application are described in a progressive manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the device and medium embodiments are basically similar to the method embodiments, so the description is relatively simple; relevant parts can be referred to the description of the method embodiments.

[0060] The devices and media provided in this application are one-to-one with the methods. Therefore, the devices and media also have similar beneficial technical effects as their corresponding methods. Since the beneficial technical effects of the methods have been described in detail above, the beneficial technical effects of the devices and media will not be repeated here.

[0061] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0062] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0063] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0064] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0065] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0066] Memory may include non-persistent storage in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.

[0067] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.

[0068] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0069] The above description is merely an embodiment of this application and is not intended to limit the scope of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of the claims of this application.

Claims

1. A method for detecting and deploying service components based on SDN, characterized in that, The method includes: By using pre-statistical device management information, the SDN controller and management devices are verified for inclusion in the management system, and the management verification results are obtained; wherein, the management devices include: servers and switches; Before activating the automatic discovery function of the SDN controller, the pre-configuration of various information in the automatic discovery function is completed through the front-end web management page of the SDN controller; wherein, the various information includes: discovery IP range information, login information, and file transfer method; After the automatic detection function is activated, the installation steps of the relevant components in the pre-configuration are executed according to the server IP range. When the management verification result is management access information, the SDN controller uses its automatic detection function and ARP packets to install components and deploy services on the management device.

2. The SDN-based service component discovery and deployment method according to claim 1, characterized in that, Before obtaining the management verification result by performing management verification between the SDN controller and the management device using pre-statistical device management information, the method further includes: Collect device management information in the data center that needs to be managed by the SDN controller; wherein, the device management information includes at least: device management address, device content information, login username and password, physical link, and management network; The management device is initialized and configured using the switch. Based on a preset connection protocol, the SDN controller is connected to the management device that needs to be managed; wherein the connection protocol includes at least: SSH connection protocol and SNMP connection protocol.

3. The SDN-based service component discovery and deployment method according to claim 1, characterized in that, Based on pre-statistical device management information, management verification is performed between the SDN controller and the management device to obtain the management verification results, which specifically include: The device management information is added and configured through the front-end web management page of the SDN controller; The configured device management information is verified for inclusion in the management system through the connection protocol, and the management verification result is obtained. If the management verification result is the management access information, then the device management information is saved to the database of the SDN controller.

4. The SDN-based service component discovery and deployment method according to claim 1, characterized in that, Before activating the automatic discovery function of the SDN controller, the pre-configuration of various information in the automatic discovery function is completed through the front-end web management page of the SDN controller, specifically including: The information is collected through the front-end web management page of the SDN controller at each step of the automatic detection function execution. The pre-configuration based on the detected IP range information includes: If the management IP address obtained through the ARP message is within the specified IP range, the management device will install the relevant components. If the management IP address obtained from the ARP packet is not within the specified IP range, the management device will not install the relevant components. The specified IP range can be multiple non-contiguous network segments or a single IP address.

5. The SDN-based service component discovery and deployment method according to claim 4, characterized in that, Pre-configuration based on the login information includes: If the management IP address obtained through the ARP packet is within the specified IP range, then the user password information of the server where the management IP address is located is used to deploy the relevant components; wherein, the user password information is pre-stored by the user on the server; The pre-configuration based on the file transfer method includes: Using a preset file transfer protocol and based on the SDN controller, the relevant component files are copied and installed on the server corresponding to the management IP address.

6. The SDN-based service component discovery and deployment method according to claim 1, characterized in that, After activating the automatic detection function, based on the server IP range, the pre-configuration will perform the installation steps for relevant components, specifically including: The SDN controller, based on the information in the pre-configuration, performs the component installation steps for relevant components within the server IP range to obtain installation result information. The installation result information is fed back to the front-end web management page of the SDN controller; and the corresponding target IPs within the server IP range are recorded and processed through the SDN controller.

7. The SDN-based service component discovery and deployment method according to claim 1, characterized in that, When the management verification result is management access information, the SDN controller's automatic detection function, based on ARP packets, performs component installation and service deployment on the management device, specifically including: Based on the ARP packets transmitted between the switch and the server, obtain the network card IP address information of the server; If the network card IP address information is within the specified IP range, the switch connects to the network card IP address information and logs into the corresponding server using the user's pre-stored user password information; If the login to the corresponding server is successful, the SDN network card monitoring component will be installed on the management device through the fixed directory stored in the database of the SDN controller. Based on the custom services of the automatic discovery function in the SDN controller, the custom services are deployed to the management device.

8. The SDN-based service component discovery and deployment method according to claim 7, characterized in that, Based on the custom service of the automatic detection function in the SDN controller, the custom service is deployed to the management device, specifically including: The script file corresponding to the custom service is uploaded to the SDN controller through the front-end web management page of the SDN controller; Based on the customized installation order, create installation steps based on the script file and execution command lines in the server; Based on the installation steps and the command line execution, and through the SDN controller, the customized installation steps are performed on servers within the specified IP range to deploy the customized service to the management device.

9. A service component detection and deployment device based on SDN, characterized in that, The device includes: At least one processor; and, A memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor to enable the at least one processor to execute an SDN-based service component discovery deployment method according to any one of claims 1-8.

10. A non-volatile computer storage medium, characterized in that, The storage medium is a non-volatile computer-readable storage medium that stores at least one program, each program including instructions that, when executed by a terminal, cause the terminal to perform a service component discovery and deployment method based on SDN according to any one of claims 1-8.

Citation Information

Patent Citations

  • Automatic deploying method and device for switch in SDN network

    CN104104572A

  • Terminal admission control method, devcie, apparatus, system, and storage medium

    CN109067937A