Cabinet group light control method and equipment based on SDN, and medium

Connecting the switch equipment through the SDN controller, obtaining cabinet information and implementing synchronous lighting control, solving the problem of high energy consumption in the data center, and realizing precise lighting control and energy conservation.

CN119212174APending Publication Date: 2024-12-27INSPUR NETWORK TECH (SHANDONG) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411326274.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-23
Publication Date
2024-12-27

AI Technical Summary

Technical Problem

Data centers consume a lot of energy, so how to effectively reduce energy consumption without affecting business operations is a challenge.

Method used

The cabinet lighting control method based on SDN is adopted, and the switch equipment is connected through the SDN controller to obtain cabinet information, create cabinet topology, and synchronous control of the switch equipment and cabinet lighting, so as to accurately control the lighting usage time and brightness.

Benefits of technology

Through centralized management and precise control of light, unnecessary energy waste is reduced and operating costs are reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119212174A_ABST
    Figure CN119212174A_ABST
Patent Text Reader

Abstract

The invention discloses an SDN-based cabinet group light control method and device and a medium, and relates to the technical field of computer networks, and the method comprises the steps: carrying out the connection and initialization of a switch device through an SDN controller disposed in a machine room based on the configuration information of the switch device in the machine room; sending the information interface to an SDN controller, and calling the cabinet information interface through the SDN controller to obtain corresponding cabinet information; creating a cabinet topology according to the cabinet information, binding topology nodes in the cabinet topology with the cabinets in the machine room, and displaying the cabinet topology through a front-end interface; and binding the switch equipment with the topological node corresponding to the cabinet number so as to realize light synchronization of the switch equipment and the cabinet. Initialized deployment of the switch is completed in the machine room, and the SDN controller carries out management, so that the SDN controller obtains the cabinet light information in the data center machine room, and the switch light information and the cabinet light state are kept consistent.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer network technology, and in particular to a cabinet group lighting control method, device and medium based on SDN. Background Art

[0002] With the rapid development of information technology, network technology has become the core of enterprise operations, and various business activities of enterprises are increasingly dependent on network platforms. Therefore, more companies are beginning to choose to build their own data centers or rent professional data center services to more effectively manage and control these businesses.

[0003] However, while data centers bring convenience, they also consume a lot of energy, including the operation of servers, storage devices, network devices, and the power consumption of cooling and lighting systems required to maintain normal operation of equipment. How to effectively reduce the energy consumption of data centers without affecting business operations has become a major challenge facing data center management and operation and maintenance personnel. Summary of the invention

[0004] In order to solve the above problems, the present application proposes a cabinet group lighting control method based on SDN, including:

[0005] Based on the configuration information of the switch device in the computer room, the switch device is connected and initialized through the SDN controller deployed in the computer room to complete the management of the switch device;

[0006] Acquire a cabinet information interface of each cabinet in the computer room, send the cabinet information interface to the SDN controller, and obtain corresponding cabinet information by calling the cabinet information interface through the SDN controller;

[0007] Creating a cabinet topology according to the cabinet information, binding topological nodes in the cabinet topology with the cabinets in the computer room, and displaying the cabinet topology through the front-end interface of the SDN controller;

[0008] The cabinet number where the switch device is located is determined by the SDN controller, and the switch device is bound to a topological node corresponding to the cabinet number, so as to achieve synchronization of the switch device and the cabinet lights.

[0009] On the other hand, the present application also proposes a cabinet group lighting control device based on SDN, including:

[0010] at least one processor; and,

[0011] a memory communicatively connected to the at least one processor; wherein,

[0012] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute a cabinet group lighting control method based on SDN as described in the above example.

[0013] On the other hand, the present application also proposes a non-volatile computer storage medium storing computer executable instructions, wherein the computer executable instructions are configured as: a cabinet group lighting control method based on SDN as described in the above example.

[0014] The present application proposes a cabinet group lighting control method based on SDN, which can bring the following beneficial effects:

[0015] After the switch is initially deployed in the computer room and managed by the SDN controller, the cabinet lighting information in the data center computer room can be obtained through the SDN controller to keep the switch lighting information consistent with the cabinet lighting status.

[0016] By precisely controlling the usage time and brightness of lights, unnecessary energy waste can be effectively reduced and operating costs can be lowered. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0018] Figure 1 This is a flow chart of a cabinet group lighting control method based on SDN in an embodiment of the present application;

[0019] Figure 2 This is a schematic diagram of a cabinet group lighting control device based on SDN in an embodiment of the present application. DETAILED DESCRIPTION

[0020] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in combination with the specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.

[0021] The technical solutions provided by various embodiments of the present application are described in detail below in conjunction with the accompanying drawings.

[0022] like Figure 1As shown, the embodiment of the present application provides a cabinet group lighting control method based on SDN, including:

[0023] S101: Based on configuration information of a switch device in a computer room, the switch device is connected and initialized through an SDN controller deployed in the computer room to complete management of the switch device.

[0024] Specifically, before the SDN controller manages the switch devices in the data center, the management address and management information of the switch devices that need to be managed by the SDN controller are obtained, configured in the SDN controller, and automatic deployment commands controlled by the SDN are added to the switch devices, thereby completing the construction of the physical link and management network.

[0025] Furthermore, the corresponding initialization configuration is completed on the switch so that the SDN controller can connect to the switch device that needs to be managed through protocols such as ssh and snmp, and the automatic deployment command is executed in the SDN controller command line interface to complete the SDN controller's management process of the switch device.

[0026] It should be noted that the switch will copy the SDN controller installation package originally placed in the switch memory to the preset path of the target server through SCP, and then execute the command line required for installation in the target server system through SSH to complete the installation of the SDN controller in the target server. When the user enters the information required for the SDN controller installation in the switch command line interface, the information will be saved in the switch in the form of a json file in accordance with the format, and copied to the target server in subsequent steps. When the SDN controller executes the installation steps from the switch command, it will read the json file content in the format during the installation process to obtain the various information required for the deployment of the SDN controller filled in by the user. The SDN controller will complete the management of the switch that performs the SDN controller installation operation based on the required management information provided by the switch. After the management is completed, the SDN will configure and control the managed devices in the network based on the saved device management information during subsequent use, and obtain various device information.

[0027] S102: Acquire a cabinet information interface of each cabinet in the computer room, send the cabinet information interface to the SDN controller, and obtain corresponding cabinet information by invoking the cabinet information interface through the SDN controller.

[0028] Specifically, the cabinet information interface of each cabinet in the computer room is identified and obtained. The cabinet information interface may be an API (application programming interface), and the configuration information of the cabinet information interface is sent to the SDN controller, such as URL, authentication information, request parameters, etc. The cabinet information is obtained by calling the cabinet information interface through the SDN controller.

[0029] Before calling the cabinet information interface, the cabinet information interface is verified to verify the validity of the cabinet information interface, wherein the verification process may include checking the accessibility of the interface (such as whether it can successfully connect to the interface address), the security of the interface (such as whether the correct authentication method is used), and the basic functions of the interface (such as whether it can return data as expected).

[0030] When it is determined that the cabinet information interface is valid, a call request is generated according to the interface definition of the cabinet information interface, wherein the interface definition includes the request method, request header, request body, etc., and the call request is sent to the cabinet information interface through the SDN controller. After receiving the call request sent by the SDN controller, the cabinet information interface performs corresponding processing according to the request content of the call request, generates response data, and returns the response data to the SDN controller, and the response data includes the cabinet information required for the request.

[0031] After receiving the response data returned by the cabinet information interface, the SDN controller parses the response data according to the interface definition, converts the original response data into the format used by the SDN controller (such as JSON, XML, etc.), and extracts the cabinet information from it. The cabinet information includes cabinet number, cabinet location, cabinet status, and light status.

[0032] S103: creating a cabinet topology according to the cabinet information, binding topological nodes in the cabinet topology with the cabinets in the computer room, and displaying the cabinet topology through the front-end interface of the SDN controller.

[0033] Specifically, based on the cabinet position in the cabinet information, an initial cabinet topology diagram is created to display the physical connection relationship, layout, location and other information between the cabinets in the computer room. The cabinet is converted into a graphic element, and topology nodes are created based on the graphic elements. The topology nodes are connected according to the cabinet position and arranged according to the network connection.

[0034] Furthermore, the system will display the created and bound cabinet topology through the front-end interface of the SDN controller. Displaying the cabinet topology allows users to more easily understand the structure and operating status of the computer room, thereby facilitating daily management and maintenance work to enhance user experience and convenience.

[0035] S104: Determine the cabinet number where the switch device is located through the SDN controller, and bind the switch device to a topological node corresponding to the cabinet number to achieve synchronization between the switch device and the cabinet lights.

[0036] Specifically, the physical location of the switch device is determined by the SDN controller, the cabinet slot where the switch device is located is determined according to the physical location, and the cabinet number corresponding to the cabinet is determined, the usage status of the switch device is obtained, and based on the cabinet number, the switch device is bound to the topological node corresponding to the cabinet number, and the usage status is added to the topological node.

[0037] Furthermore, the sensor equipment at the entrance of the cabinet is used to monitor the staff entering the cabinet. When it is determined that the staff has entered the cabinet, the cabinet light is turned on in response to the event, the light in the cabinet is adjusted through the SDN controller, and the light status of the corresponding topological node in the cabinet topology is automatically updated.

[0038] Furthermore, the lights in the cabinet are regulated by the SDN controller to determine the switch devices stored in the cabinet, and based on the light status in the cabinet, the lights of the stored switch devices are regulated to update the light status in the topological node corresponding to the cabinet and the light status of the stored switch devices.

[0039] In addition, the lighting control requirements are obtained through the front-end interface of the SDN controller. The lighting control requirements include color, brightness and switch status. The lighting control requirements are analyzed, the lighting control topology nodes are determined, and the lighting is controlled on the lighting control topology nodes.

[0040] After the switch is initially deployed in the computer room and managed by the SDN controller, the cabinet lighting information in the data center computer room can be obtained through the SDN controller to keep the switch lighting information consistent with the cabinet lighting status. When there is no one in the cabinet to turn off the light, the switch light will also be turned off synchronously.

[0041] Through the SDN architecture, the lighting of multiple cabinet groups can be centrally managed and controlled, avoiding the tedious process of manually adjusting the lighting of each cabinet one by one in the traditional method. By accurately controlling the use time and brightness of the lights, unnecessary energy waste can be effectively reduced and operating costs can be reduced.

[0042] like Figure 2 As shown, the embodiment of the present application also proposes a cabinet group lighting control device based on SDN, including:

[0043] at least one processor; and,

[0044] a memory communicatively connected to the at least one processor; wherein,

[0045] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute a cabinet group lighting control method based on SDN as described in any of the above embodiments.

[0046] An embodiment of the present application further provides a non-volatile computer storage medium storing computer executable instructions, wherein the computer executable instructions are configured to be: a cabinet group lighting control method based on SDN as described in any of the above embodiments.

[0047] Each embodiment in this application is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device and medium embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiments.

[0048] The devices and media provided in the embodiments of the present application correspond one-to-one to the methods. Therefore, the devices and media also have similar beneficial technical effects as the 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.

[0049] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented 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.

[0050] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0051] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0052] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

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

[0054] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0055] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules 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 technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0056] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0057] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims

1. A cabinet group lighting control method based on SDN, characterized in that: include: Based on the configuration information of the switch device in the computer room, the switch device is connected and initialized through the SDN controller deployed in the computer room to complete the management of the switch device; Acquire a cabinet information interface of each cabinet in the computer room, send the cabinet information interface to the SDN controller, and obtain corresponding cabinet information by calling the cabinet information interface through the SDN controller; Creating a cabinet topology according to the cabinet information, binding topological nodes in the cabinet topology with the cabinets in the computer room, and displaying the cabinet topology through the front-end interface of the SDN controller; The cabinet number where the switch device is located is determined by the SDN controller, and the switch device is bound to a topological node corresponding to the cabinet number, so as to achieve synchronization of the switch device and the cabinet lights.

2. According to the SDN-based cabinet group lighting control method of claim 1, it is characterized in that: Before the switch device is connected and initialized based on the configuration information of the switch device in the computer room through the SDN controller deployed in the computer room, the method further includes: Configure the management address and management information of the switch equipment in the computer room in the SDN controller, and confirm that the physical link is established; An automatic deployment command is added to the switch device, and the automatic deployment command is executed through the command line interface of the SDN controller to deploy the switch device in the SDN controller.

3. According to the SDN-based cabinet group lighting control method of claim 1, it is characterized in that: The step of calling the cabinet information interface through the SDN controller to obtain corresponding cabinet information specifically includes: Verifying the cabinet information interface to verify the validity of the cabinet information interface; When it is determined that the cabinet information interface is valid, generating a call request according to the interface definition of the cabinet information interface, and sending the call request to the cabinet information interface through the SDN controller; Respond to the call request through the cabinet information interface and return response data; According to the interface definition, the response data is parsed to obtain corresponding cabinet information.

4. According to the SDN-based cabinet group lighting control method of claim 1, it is characterized in that: Determining the cabinet number of the switch device by the SDN controller, and binding the switch device to the topology node corresponding to the cabinet number specifically includes: Determine the physical location of the switch device through the SDN controller, determine the cabinet slot where the switch device is located according to the physical location, and determine the cabinet number corresponding to the cabinet; The use status of the switch device is obtained, and based on the cabinet number, the switch device is bound to a topology node corresponding to the cabinet number, and the use status is added to the topology node.

5. The SDN-based cabinet group lighting control method according to claim 1 is characterized in that: After binding the switch device to the topology node corresponding to the cabinet number through the SDN controller, the method further includes: By means of a sensor device at the entrance of the cabinet, the staff entering the cabinet is monitored; When it is determined that the staff has entered the cabinet, in response to the cabinet light-on event, the light in the cabinet is regulated by the SDN controller, and the light status of the corresponding topological node in the cabinet topology is automatically updated.

6. The SDN-based cabinet group lighting control method according to claim 5 is characterized in that: The controlling the light in the cabinet by the SDN controller and automatically updating the light status of the corresponding topological node in the cabinet topology specifically includes: Controlling the lighting in the cabinet by means of the SDN controller; Determine the switch device stored in the cabinet, and adjust the light of the stored switch device based on the light status in the cabinet; The light status in the topological node corresponding to the cabinet and the light status of the stored switch device are updated.

7. The SDN-based cabinet group lighting control method according to claim 1 is characterized in that: The cabinet information includes cabinet number, cabinet location, cabinet status and light status; The creating a cabinet topology according to the cabinet information specifically includes: According to the cabinet positions, a cabinet topology is constructed to show the physical position relationship between the cabinets; The cabinet number is matched with a topological node of the cabinet topology, and the cabinet state and the light state are added to the topological node.

8. The SDN-based cabinet group lighting control method according to claim 1 is characterized in that: After binding the switch device to the topology node corresponding to the cabinet number through the SDN controller, the method further includes: Obtaining lighting control requirements through the front-end interface of the SDN controller, wherein the lighting control requirements include color, brightness, and switch status; The lighting control requirements are analyzed, a lighting control topology node is determined, and lighting control is performed on the lighting control topology node.

9. A cabinet group lighting control device based on SDN, characterized in that: include: at least one processor; as well as, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform, for example: Based on the configuration information of the switch device in the computer room, the switch device is connected and initialized through the SDN controller deployed in the computer room to complete the management of the switch device; Acquire a cabinet information interface of each cabinet in the computer room, send the cabinet information interface to the SDN controller, and obtain corresponding cabinet information by calling the cabinet information interface through the SDN controller; Creating a cabinet topology according to the cabinet information, binding topological nodes in the cabinet topology with the cabinets in the computer room, and displaying the cabinet topology through the front-end interface of the SDN controller; The cabinet number where the switch device is located is determined by the SDN controller, and the switch device is bound to a topological node corresponding to the cabinet number, so as to achieve synchronization of the switch device and the cabinet lights.

10. A non-volatile computer storage medium storing computer executable instructions, characterized in that: The computer executable instructions are configured to: Based on the configuration information of the switch device in the computer room, the switch device is connected and initialized through the SDN controller deployed in the computer room to complete the management of the switch device; Acquire a cabinet information interface of each cabinet in the computer room, send the cabinet information interface to the SDN controller, and obtain corresponding cabinet information by calling the cabinet information interface through the SDN controller; Creating a cabinet topology according to the cabinet information, binding topological nodes in the cabinet topology with the cabinets in the computer room, and displaying the cabinet topology through the front-end interface of the SDN controller; The cabinet number where the switch device is located is determined by the SDN controller, and the switch device is bound to a topological node corresponding to the cabinet number, so as to achieve synchronization of the switch device and the cabinet lights.