Lighting control system, lighting control method, electronic device, medium and product

By introducing an information processing module and a lighting arbitration module in the lighting control system, the lighting mode used is determined based on the identification information and lighting mode control information of the dual-port hard disk, which solves the problem of light control errors when the dual-port hard disk is used by multiple controllers, and accurately lighting control is achieved.

CN120091485AActive Publication Date: 2025-06-03INSPUR SUZHOU INTELLIGENT TECH CO LTD

Patent Information

Application Number
CN202510552159.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-29
Publication Date
2025-06-03
Estimated Expiration
2045-04-29

AI Technical Summary

Technical Problem

When the dual-port hard disk is used by at least two controllers at the same time, the lighting control system is prone to errors in the lighting control of the dual-port hard disk.

Method used

It provides a lighting control system, including an information processing module and a lighting arbitration module. The information processing module obtains the identification information of the dual-port hard disk and the lighting mode control information input by the user. The lighting arbitration module determines the lighting mode used based on this information, and the mode is the main slave mode or the dual active mode.

Benefits of technology

By setting different lighting modes and control methods, the lighting control errors are reduced, and accurate control of dual-port hard disk lighting is achieved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120091485A_ABST
    Figure CN120091485A_ABST
Patent Text Reader

Abstract

The invention discloses a lighting control system, a lighting control method, electronic equipment, a medium and a product, and relates to the technical field of control systems.The lighting control system comprises an information processing module and a lighting arbitration module, the information processing module obtains identification information, sent by at least two controllers, of a to-be-controlled target dual-port hard disk, and the identification information of the to-be-controlled target dual-port hard disk is sent to the lighting arbitration module; and acquiring lighting mode control information input by the user. And the lighting arbitration module determines a target lighting mode used for controlling the lighting of the target dual-port hard disk according to the identification information and the lighting mode control information, and the target lighting mode is a master-slave mode or a dual-active mode. According to the invention, the lighting of the dual-port hard disk is accurately controlled.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of control systems, and particularly to a lighting control system, a lighting control method, an electronic device, a medium, and a product. Background Art

[0002] With the rapid development of information technology, dual-port hard drives have been widely used due to their high data transfer efficiency. Among them, the indicator light (lighting) on the hard drive is an important status indication tool, and reasonable and effective lighting control is of great significance for timely understanding the hard drive status.

[0003] In the related art, when a dual-port hard drive is used by at least two controllers simultaneously, it is easy to make mistakes in the lighting control of the dual-port hard drive in the lighting control system. Summary of the Invention

[0004] This application provides a lighting control system, a lighting control method, an electronic device, a medium, and a product, so as to at least solve the problem that in the related art, when a dual-port hard drive is used by at least two controllers simultaneously, it is easy to make mistakes in the lighting control of the dual-port hard drive in the lighting control system.

[0005] This application provides a lighting control system, including: an information processing module and a lighting arbitration module;

[0006] The information processing module is connected to the lighting arbitration module;

[0007] The information processing module is configured to obtain the identification information of the target dual-port hard drive to be controlled, and obtain the lighting mode control information input by the user;

[0008] The lighting arbitration module is configured to determine the target lighting mode used to control the lighting of the target dual-port hard drive according to the identification information and the lighting mode control information, and the target lighting mode is a master-slave mode or an active-active mode.

[0009] This application also provides a lighting control method, including:

[0010] Obtain the identification information of the target dual-port hard drive to be controlled, and obtain the lighting mode control information input by the user;

[0011] Determine the target lighting mode used to control the lighting of the target dual-port hard drive according to the identification information and the lighting mode control information, and the target lighting mode is a master-slave mode or an active-active mode.

[0012] This application also provides an electronic device, including the lighting control system.

[0013] The present application also provides a computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the steps of the above-mentioned lighting control method.

[0014] The present application also provides a computer program product including a computer program, which, when executed by a processor, implements the steps of the above-mentioned lighting control method.

[0015] Through the present application, the lighting control system of the present application includes an information processing module and a lighting arbitration module, and their connection relationship is as follows: the information processing module is connected to the lighting arbitration module. Among them, the information processing module obtains the identification information of the target dual-port hard disk to be controlled sent by at least two controllers, and obtains the lighting mode control information input by the user. The lighting arbitration module determines the target lighting mode used to control the lighting of the target dual-port hard disk according to the identification information and the lighting mode control information, and the target lighting mode is the master-slave mode or the active-active mode. The lighting control system of the present application enables the lighting arbitration module to determine the target lighting mode used to control the lighting of the target dual-port hard disk according to the identification information and the lighting mode control information sent by the information processing module when any dual-port hard disk is used by multiple controllers. Since different lighting modes and control methods under different lighting modes are set, the situation of misoperation in the lighting control of any dual-port hard disk can be reduced, thereby realizing accurate control of the lighting of the dual-port hard disk. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] To more clearly illustrate the embodiments of the present application, the drawings required for the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0017] Figure 1 It is a schematic structural diagram of a lighting control system in a related technology provided by the present application;

[0018] Figure 2 It is a schematic structural diagram of an electronic device with multiple control nodes provided by an embodiment of the present application;

[0019] Figure 3A It is a schematic structural diagram of a lighting control system provided by an embodiment of the present application;

[0020] Figure 3B It is a schematic structural diagram of another lighting control system provided by an embodiment of the present application;

[0021] Figure 4 It is a schematic structural diagram of yet another lighting control system provided by an embodiment of the present application;

[0022] Figure 5 Schematic flowchart of a lighting control method provided by an embodiment of the present application;

[0023] Figure 6 Schematic flowchart of another lighting control method provided by an embodiment of the present application;

[0024] Figure 7 Schematic structural diagram of a lighting control device provided by an embodiment of the present application. Detailed implementation manners

[0025] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.

[0026] It should be noted that in the description of the present application, the terms "include", "comprise" or any other variant thereof are intended to cover a non-exclusive inclusion, such that a process, method, article or device including a series of elements not only includes those elements but also includes other elements not expressly listed, or further includes elements inherent to such process, method, article or device. The terms "first", "second", etc. in the present application are used to distinguish similar objects and are not used to describe a specific order or sequence.

[0027] With the rapid development of cloud computing, artificial intelligence, and edge computing, the scale of data centers has grown exponentially, posing higher requirements for the computing density, resource sharing capabilities, storage security, and redundancy of electronic device architectures, such as server architectures. Servers with multiple control nodes have become the mainstream architecture in data centers due to their high-density deployment and resource sharing characteristics.

[0028] Taking a server as an example, in the related art when performing lighting control of hard disks, the lighting control system in the server usually only supports exclusive control of a specified single-port hard disk by a single controller (also called a control node). For example, hard disk 0 is only under the lighting control of controller A, and hard disk 1 is only under the lighting control of controller B.

[0029] Exemplarily, please refer to Figure 1 , Figure 1A structural schematic diagram of a lighting control system in a related art provided for this application, which includes a processing module 11, at least two lighting parsing modules 12, a lighting module 13, an in-position detection module 14, and a timer monitoring module 15. Among them, the processing module 11 is respectively connected to the lighting module 13, the in-position detection module 14, and the timer monitoring module 15. The lighting module 13 is connected to at least two lighting parsing modules 12. At least two lighting parsing modules 12 are respectively connected to corresponding controllers 01. The in-position detection module 14 is connected to each controller. The timer monitoring module 15 is connected to each controller 01.

[0030] In the related art, since the lighting control system usually only supports exclusive control of a specified hard disk by a single controller, in the lighting control system, the specific control method can be that the processing module 11 obtains the in-position information of a certain controller 01 through the in-position detection module 14, and determines whether the controller 01 is in position according to the in-position information. And the processing module 11 obtains the timer signal of the controller 01 through the timer monitoring module 15, and determines whether the controller 01 is in a normal working state according to the timer signal. If it is in a normal working state, the lighting information sent by the controller 01 controls the light of the corresponding single-port hard disk to light up through the lighting module.

[0031] In recent years, in order to improve the utilization rate and flexibility of hard disk usage, dual-port hard disks have emerged. When the same dual-port hard disk is used by two controllers, if the two controllers issue conflicting lighting control instructions. For example, controller A issues an instruction to request the light to be lit, while controller B issues an instruction to request the light to be extinguished, resulting in the lighting control system being unable to determine which instruction to execute, leading to mistakes in the lighting control of the dual-port hard disk. Therefore, there is an urgent need for a system and method for controlling the lighting of a dual-port hard disk under multiple controllers.

[0032] Therefore, in view of the above technical problems in the related art, it is found in the research process that when at least two controllers perform lighting control on the same dual-port hard disk, by setting different lighting modes, the lighting control system can clarify which lighting instruction sent by which controller to execute according to the control strategy under different lighting modes, thereby reducing the problem that the lighting control of the dual-port hard disk by the lighting control system is inaccurate due to conflicting instructions issued by at least two controllers. Specifically, this application provides a lighting control system, including an information processing module and a lighting arbitration module. The information processing module obtains the identification information of the target dual-port hard disk to be controlled sent by at least two controllers, and obtains the lighting mode control information input by the user. The lighting arbitration module determines the target lighting mode used to control the lighting of the target dual-port hard disk according to the identification information and the lighting mode control information, where the target lighting mode is the master-slave mode or the active-active mode.

[0033] To enable those skilled in the art of this technology to better understand the solution of this application, the following provides a further detailed description of this application in conjunction with the accompanying drawings and specific embodiments.

[0034] Please refer to Figure 2 , Figure 2 which is a schematic diagram of the architecture of an electronic device with multiple control nodes provided in an embodiment of this application. It includes at least two controllers 01, multiple connectors 02, a lighting control system 03, and multiple dual-port hard disks 04.

[0035] The controller 01 can also be referred to as a control node or a server node. As Figure 2 shown, each controller 01 may further include multiple sub-controllers 011. The sub-controllers 011 can be, for example, single-channel or dual-channel central processing units (CPUs) or baseboard management controllers (BMCs), etc.

[0036] For any controller 01, the multiple sub-controllers 011 it includes are respectively connected to the connectors 02 in the server's midplane through the connectors 02 in the controller 01 via cables. The sub-controllers 011 can be connected to the connectors 02 in the controller 01 through a virtual pin port (VPP) or an inter-integrated circuit (I2C). The connectors 02 in the midplane are connected to the lighting control system 03 through cables. The lighting control system 03 is connected to another connector 02 in the midplane through cables. This connector 02 is connected to the connectors 02 in the dual-port hard disk backplane through cables. The connectors 02 in the dual-port hard disk backplane are connected to multiple dual-port hard disks 04. Multiple dual-port hard disk slots are provided in the dual-port hard disk backplane, and each slot can perform hot plugging of the dual-port hard disk. LED lights are provided near the corresponding slots to display the status of the corresponding dual-port hard disk.

[0037] A voltage regulator 05 (VR) may also be included in this server. The voltage regulator 05 is connected to the connectors 02 in the dual-port hard disk backplane and multiple dual-port hard disks 04 to control the power-on or power-off of each dual-port hard disk 04.

[0038] The server may also include an I2C switch conversion module 06, which is connected to the connector 02 and multiple dual-port hard disks 04 in the hard disk backplane, and is used to obtain the Self-Monitoring, Analysis and Reporting Technology (S.M.A.R.T) information of each dual-port hard disk 04, etc.

[0039] Among them, the connector 02 can be an edge connector, etc., the lighting control system 03 can be a Complex Programmable Logic Device (CPLD) or a Microcontroller Unit (MCU), etc., and the dual-port hard disk can be a dual-port Non-Volatile Memory Express (NVMe) disk drive (Hard Disk Drive, HDD).

[0040] It should be noted that the difference from the related technology is that the lighting control system 03 can support at least two controllers 01 to control the same dual-port hard disk. For example, hard disk 0 can be controlled by the lighting of controller A and also by the lighting of controller B, rather than the exclusive control in the related technology.

[0041] It can be understood that only some components are shown in the above server architecture, which does not limit the complete server architecture. In this application, the number or type of components in the server architecture, such as controller 01, connector 02, lighting control system 03, dual-port hard disk 04, voltage regulator 05, and I2C switch conversion module 06, is not limited either.

[0042] Please refer to Figure 3A , Figure 3A which is a schematic structural diagram of a lighting control system provided by an embodiment of this application. In this embodiment, the lighting control system can be a CPLD, which includes an information processing module 31 and a lighting arbitration module 32.

[0043] The connection relationship is: the information processing module 31 is connected to the lighting arbitration module 32.

[0044] The functions of each module are as follows:

[0045] The information processing module 31 is used to obtain the identification information of the target dual-port hard disk to be controlled sent by at least two controllers 01, and obtain the lighting mode control information input by the user.

[0046] In this embodiment, the controller 01 can also be referred to as a control node. Taking two controllers 01 as an example, the number of controllers 01 will be described.

[0047] Optionally, the information processing module 31 can also be referred to as an I2C slave device information parsing module. The information processing module 31 obtains the identification information of the target dual-port hard disk to be controlled sent by two controllers 01, and this identification information is used to determine which dual-port hard disk to be controlled.

[0048] The information processing module 31 will also obtain the working mode information input by the administrator, configure and parse the frame to obtain the lighting mode control information, and send the above identification information and lighting mode control information to the lighting arbitration module 32.

[0049] The lighting arbitration module 32 is used to determine the target lighting mode for controlling the lighting of the target dual-port hard disk according to the identification information and the lighting mode control information.

[0050] Among them, the target lighting mode is the master-slave mode or the active-active mode. In the master-slave mode, one of the two controllers 01 is pre-configured as the controller that obtains the lighting control right. In the active-active mode, no controller that obtains the lighting control right is pre-configured.

[0051] In the above embodiment of the present application, the lighting control system includes an information processing module and a lighting arbitration module, and their connection relationship is: the information processing module is connected to the lighting arbitration module. Among them, the information processing module obtains the identification information of the target dual-port hard disk to be controlled sent by at least two controllers, and obtains the lighting mode control information input by the user. The lighting arbitration module determines the target lighting mode for controlling the lighting of the target dual-port hard disk according to the identification information and the lighting mode control information. The target lighting mode is the master-slave mode or the active-active mode. The lighting control system of the present application enables the lighting arbitration module to determine the target lighting mode for controlling the lighting of the target dual-port hard disk according to the identification information and the lighting mode control information sent by the information processing module when any dual-port hard disk is used by multiple controllers. Since different lighting modes and control methods under different lighting modes are set, the situation of misoperation in the lighting control of any dual-port hard disk can be reduced, thus realizing the accurate control of the lighting of the dual-port hard disk.

[0052] Please refer to Figure 3B , Figure 3B which is a schematic structural diagram of another lighting control system provided by the embodiment of the present application. In this embodiment, in addition to including the information processing module 31 and the lighting arbitration module 32, it also includes at least two lighting parsing modules 12 and a lighting module 13.

[0053] The connection relationship is as follows: At least two lighting parsing modules 12 are connected to the corresponding controller 01, the lighting module 13 is connected to the lighting arbitration module 32 and at least two lighting parsing modules 12 respectively, and the controller 01 corresponding to at least two lighting parsing modules 12 is also connected to the information processing module 31.

[0054] The functions of each module are as follows:

[0055] The controller corresponding to at least two lighting parsing modules 12 is used to send the identification information of the target dual-port hard disk to be controlled to the information processing module 31.

[0056] In this embodiment, taking the case of including two lighting parsing modules 12 as an example for illustration, there are also two controllers 01 connected to the two lighting parsing modules 12.

[0057] The lighting arbitration module 32 is further used to determine the target controller that obtains the lighting control right in the target lighting mode.

[0058] This application may further include an on-site detection module 14, and the on-site detection module 14 is connected to the lighting arbitration module 32 and each controller 01 respectively.

[0059] The on-site detection module 14 is used to obtain the on-site information of each controller 01 and send it to the lighting arbitration module 32.

[0060] Optionally, the on-site detection module 14 obtains the parameters of each controller 01 that can represent the on-site information.

[0061] Before the lighting arbitration module 32 determines the target lighting mode used to control the lighting of the target dual-port hard disk according to the identification information and the lighting mode control information, it is further used to:

[0062] Obtain the on-site information of each controller 01 sent by the on-site detection module 14, and determine whether each controller 01 is on-site according to the on-site information of each controller 01.

[0063] Optionally, the lighting arbitration module 32 determines whether the corresponding controller 01 is on-site according to the parameters of each controller 01 that can represent the on-site information obtained from the on-site detection module 14 and according to the identification of the parameters. For example, assuming that among the parameters that can represent the on-site information configured in advance, when the identification is "0", it means that the corresponding controller 01 is on-site, and when the identification is "1", it means that the corresponding controller 01 is not on-site.

[0064] If the lighting arbitration module 32 determines according to the on-site information of the two controllers 01 obtained that only one controller 01 is on-site, it enters the single control node lighting process.

[0065] If the lighting arbitration module 32 determines that both controllers 01 are present based on the obtained presence information of the two controllers 01, it enters the lighting process for dual control nodes.

[0066] After the lighting arbitration module 32 determines to enter the lighting process for dual control nodes, it determines the target lighting mode for controlling the lighting of the target dual-port hard drive based on the obtained identification information and lighting mode control information, and determines the target controller that obtains the lighting control right in the target lighting mode.

[0067] Among them, the target lighting mode is the master-slave mode or the active-active mode, and the target controller is one of the controllers 01 corresponding to at least two lighting parsing modules 12.

[0068] In the master-slave mode, one of the two controllers 01, controller A, is pre-configured as the master controller, i.e., the target controller, and the other controller B is the slave controller. The master controller will first obtain the control right of a certain dual-port hard drive. When the master controller obtains the control right, the slave controller has no control right.

[0069] In the active-active mode, the attribution of the control right of the two controllers 01 to a certain dual-port hard drive is not pre-specified and configured. The lighting arbitration module 32 determines the time information of the lighting control right application requests sent by the two controllers 01, and determines the time sequence of the lighting control right application requests sent by the two controllers 01 based on the time information, and then determines the target controller according to the time sequence.

[0070] The lighting module 13 is used to receive the lighting information sent by the lighting parsing module 12 corresponding to the target controller, and control the lighting of the target dual-port hard drive according to the lighting information.

[0071] If the target lighting mode is the master-slave mode, the target controller is the above-mentioned master controller A. The lighting module 13 obtains the lighting information sent by the master controller and controls the lighting of the corresponding dual-port hard drive according to the lighting information.

[0072] If the target lighting mode is the active-active mode, it controls the lighting of the corresponding dual-port hard drive according to the lighting information sent by the target controller determined in the active-active mode.

[0073] Optionally, the lit lights include but are not limited to: presence lights, error indicator lights, etc.

[0074] Optionally, the dual-port hard drive can be a dual-port NVMe hard drive.

[0075] In the above embodiments of the present application, the lighting control system further includes at least two lighting parsing modules 12 and a lighting module 13, and their connection relationship is as follows: at least two lighting parsing modules 12 are connected to the corresponding controller 01, the lighting module 13 is respectively connected to the lighting arbitration module 32 and at least two lighting parsing modules 12, and the controller 01 corresponding to at least two lighting parsing modules 12 is further connected to the information processing module 31. Among them, the identification information of the target dual-port hard disk to be controlled sent by the controller 01 corresponding to at least two lighting parsing modules 12 to the information processing module 31, the lighting arbitration module 32 determines the target controller that obtains the lighting control right in the target lighting mode, and the target controller is one of the controllers corresponding to at least two lighting parsing modules. The lighting module 13 receives the lighting information sent by the lighting parsing module corresponding to the target controller, and controls the light of the target dual-port hard disk to light up according to the lighting information. The lighting control system of this embodiment enables the lighting arbitration module 32 to determine the target lighting mode used to control the lighting of the target dual-port hard disk according to the identification information and lighting mode control information sent by the information processing module 31 when any dual-port hard disk is used by multiple controllers 01. Since different lighting modes and control methods in different lighting modes are set, the situation of mistakes in lighting control of any dual-port hard disk can be reduced, thereby realizing accurate control of the lighting of the dual-port hard disk.

[0076] Further, on the basis of the above embodiments, the following embodiments illustrate the lighting control process of the dual-port hard disk when the target lighting mode is the master-slave mode through the lighting control system.

[0077] If the target lighting mode is the master-slave mode, when the lighting arbitration module 32 determines the target controller that obtains the lighting control right in the target lighting mode according to the identification information and lighting mode control information, one possible implementation is:

[0078] Obtain the first identification information of the first target controller pre-configured in the master-slave mode, and determine the first target controller, that is, the master controller, that obtains the lighting control right in the master-slave mode according to the first identification information, where the first target controller is one of the controllers 01 corresponding to at least two lighting parsing modules 12 pre-configured.

[0079] Please refer to Figure 4 , Figure 4 which is a schematic structural diagram of another lighting control system provided by the embodiments of the present application. In addition to including the information processing module 31, the lighting arbitration module 32, at least two lighting parsing modules 12, the lighting module 13, and the in-position detection module 14, it further includes a timer monitoring module 15.

[0080] Among them, the timer monitoring module 15 is respectively connected to the lighting arbitration module 32 and each controller 01, that is, connected to the first target controller. The timer monitoring module 15 is used to monitor the timer signal of the first target controller and send the timer signal of the first target controller to the lighting arbitration module 32.

[0081] The lighting arbitration module 32 receives in real time the timer signal of the first target controller sent by the timer monitoring module 15. The timer signal can be a watchdog timer (WDT) signal, and based on the timer signal, it determines whether the first target controller is in a normal working state to obtain a judgment result.

[0082] Specifically, if the timer signal has a level inversion within a preset duration, a judgment result that the first target controller is in a normal working state is obtained. If the timer signal does not have a level inversion within the preset duration, a new timer signal after the first target controller is reset is obtained. If the new timer signal has a level inversion within the preset duration, a judgment result that the first target controller is in a normal working state is obtained. If the new timer signal does not have a level inversion within the preset duration, a judgment result that the first target controller is in an abnormal working state is obtained.

[0083] The lighting arbitration module 32 determines whether the WDT signal has a high-low level inversion within a preset duration, assumed to be 60s, based on the WDT signal of the first target controller. If there is an inversion, it is determined that the first target controller is in a normal working state.

[0084] If there is no high-low level inversion within 60s, the lighting arbitration module 32 determines that the first target controller is in an abnormal working state. The lighting arbitration module 32 will send a node reset NODE_RST signal to the first target controller, and the first target controller performs a reset operation according to the reset signal to regenerate the WDT signal. The lighting arbitration module 32 obtains the new WDT signal monitored by the timer monitoring module 15 after the first target controller is reset. If the new WDT signal has a level inversion within 60s, it is determined that the first target controller has returned to normal and is restored to a normal working state. If the new WDT signal does not have a level inversion within 60s, it is determined that the first target controller is in an abnormal working state.

[0085] If the lighting arbitration module 32 determines that the first target controller is in a normal working state, it sends the judgment result indicating that the first target controller is in a normal working state to the lighting module 13 so that the lighting module 13 can perform a lighting operation.

[0086] In this embodiment, the lighting module 13 further includes a plurality of multiplexers 131 and a dual-port hard disk lighting control module 132. The dual-port hard disk lighting control module 132 may include a plurality of sub-dual-port hard disk lighting control modules.

[0087] For any one multiplexer 131, the multiplexer 131 is respectively connected to the lighting arbitration module 32, at least two lighting parsing modules 12, and the dual-port hard disk lighting control module 132.

[0088] In this embodiment, the lighting arbitration module 32 is further configured to determine a target multiplexer from the plurality of multiplexers 131 included in the lighting module 13 according to the identification information of the target dual-port hard disk to be controlled.

[0089] Optionally, the lighting module 13 includes a plurality of multiplexers 131, and each multiplexer 131 corresponds to a respective dual-port hard disk. Therefore, the lighting arbitration module 32 can determine the target multiplexer corresponding to the target dual-port hard disk according to the identification information. In this embodiment, the dual-port hard disks corresponding to the multiplexers 131 are preset.

[0090] The lighting information sent by the lighting parsing module 12 corresponding to the first target controller can be sent to the dual-port hard disk lighting control module 132 through a preset path of the target multiplexer, where the preset path is a path pre-configured to allow the lighting information sent by the first target controller to pass through.

[0091] After receiving the lighting information, the dual-port hard disk lighting control module 132 controls the lights of the target dual-port hard disk corresponding to the identification information to be lit.

[0092] Optionally, the lighting information includes, but is not limited to, the identification information of the target dual-port hard disk, an electrical fuse control (eFuse) signal, and a preset instruction type, etc. The preset instruction type includes, but is not limited to, an error instruction, a positioning instruction, a reconstruction instruction, etc.

[0093] The dual-port hard disk lighting control module 132 determines the target dual-port hard disk to be controlled according to the identification information of the target dual-port hard disk, controls the target dual-port hard disk to be powered on according to the electrical fuse control signal, so that the target dual-port hard disk enters the powered-on working state, and controls the lights corresponding to the instruction type in the target dual-port hard disk according to the instruction type.

[0094] In this embodiment, if the lighting arbitration module 32 determines that the first target controller is still in an abnormal working state after reset, it obtains the second identification information of the second target controller pre-configured in the master-slave mode, and determines the second target controller that obtains the lighting control right in the master-slave mode, i.e., the slave controller, according to the second identification information. The second target controller is the other one of the controllers 01 corresponding to at least two lighting parsing modules 12 except the first target controller.

[0095] If the lighting arbitration module 32 determines that the new WDT signal of the first target controller after reset does not undergo a level flip within a preset duration (assumed to be 60 s within this example), it indicates that the first target controller has not returned to normal, and thus the first target controller is in an abnormal working state.

[0096] After the lighting arbitration module 32 determines that the first target controller is in an abnormal working state, it controls the lights of the corresponding target dual-port hard disk to turn on according to the lighting information sent by the second target controller pre-configured in the master-slave mode.

[0097] Before the lighting arbitration module 32 controls the lights of the corresponding target dual-port hard disk to turn on according to the lighting information sent by the second target controller, it needs to obtain the timer signal of the second target controller monitored by the timer monitoring module 15, and determine whether the second target controller is in a normal working state according to the timer signal of the second target controller, obtaining a judgment result. If the judgment result indicates that the second target controller is in a normal working state, the judgment result is sent to the lighting module 13, so that the lighting module 13 controls the lights of the target dual-port hard disk to turn on according to the lighting information sent by the lighting parsing module 12 corresponding to the second target controller.

[0098] The specific judgment process is similar to the process of judging whether the first target controller is in a normal working state above. To avoid redundancy, it will not be repeated here.

[0099] If the lighting arbitration module 32 determines that the second target controller is in a normal working state, it controls the lights of the corresponding target dual-port hard disk to turn on according to the lighting information command sent by the second target controller. Among them, the process of controlling the lights of the corresponding target dual-port hard disk to turn on according to the lighting information command sent by the second target controller is the same as the process of controlling the lights of the corresponding target dual-port hard disk to turn on according to the lighting information command sent by the first target controller. To avoid redundancy, it will not be repeated here.

[0100] If the lighting arbitration module 32 determines that the second controller is in an abnormal working state, it generates a fault instruction and sends the fault instruction to the lighting module 13, so that the lighting module 13 controls the lights indicating a fault in the target dual-port hard disk to turn on according to the fault instruction.

[0101] Optionally, in addition to controlling the light indicating a fault in the corresponding target dual-port hard disk to light up, it is also possible to control the light indicating a system fault on the dual-port hard disk backplane according to the fault instruction. The light indicating a system fault is different from the light indicating a fault in the dual-port hard disk.

[0102] In the above embodiment of the present application, the lighting arbitration module 32 monitors the timer signal of the first target controller monitored by the timer monitoring module 15, and determines whether the first target controller is in a normal working state according to the timer signal. If it is determined that the first target controller is in a normal working state, a judgment result indicating that the first target controller is in a normal working state is obtained and sent to the lighting module 13, so that the lighting module 13 controls the light of the target dual-port hard disk to light up according to the obtained lighting information of the first target controller. If it is determined that the first target controller is still in an abnormal working state after reset, the light of the target dual-port hard disk is controlled according to the lighting information sent by the second target controller pre-configured in the master-slave mode. The method of this embodiment enables the lighting control system to control the lighting of the dual-port hard disk according to the control method in the master-slave mode when a certain dual-port hard disk is used by multiple controllers 01, thereby improving the accuracy of the lighting control of the dual-port hard disk.

[0103] Further, on the basis of the above embodiment, the following embodiment illustrates the lighting control process of the dual-port hard disk when the target lighting mode is the active-active mode through the above lighting control system.

[0104] Among them, the structural composition of the lighting control system in this embodiment is the same as that in the above embodiment, and will not be repeated in this embodiment.

[0105] In the active-active mode, the lighting arbitration module 32 determines the target controller that obtains the lighting control right in the target lighting mode according to the identification information and the lighting mode control information. One possible implementation manner is:

[0106] The lighting arbitration module 32 obtains the time information of the lighting control right application requests sent by each controller 01 from the information processing module 31.

[0107] Taking two controllers 01 as an example, the information processing module 31 obtains the time information of the lighting control right application requests sent by the two controllers 01.

[0108] After the lighting arbitration module 32 obtains the time information of the two controllers 01 sending requests for applying for lighting control rights, if it is determined according to the time information that the controllers 01 send requests for applying for lighting control rights simultaneously, the third target controller is determined according to the pre-configured permission control information, where one of the controllers 01 corresponding to at least two lighting parsing modules 12 is specified as the third target controller in the permission control information. If it is determined according to the time information that the controllers 01 do not send requests for applying for lighting control rights simultaneously, the controller 01 that sends the request for applying for lighting control rights first is determined as the third target controller.

[0109] Optionally, after the lighting arbitration module 32 obtains the time information of the two controllers 01 sending requests for applying for lighting control rights, it determines the time sequence of the two controllers 01 sending requests for applying for lighting control rights.

[0110] Exemplarily, assuming the two controllers are controller A and controller B, there may be three cases for the time sequence determined according to the time information:

[0111] The first case is: Controller A sends a request for applying for lighting control rights first, and then controller B sends a request for applying for lighting control rights.

[0112] The second case is: Controller B sends a request for applying for lighting control rights first, and then controller A sends a request for applying for lighting control rights.

[0113] The third case is: Controller A and controller B send requests for applying for lighting control rights simultaneously.

[0114] The lighting arbitration module 32 determines whether the two controllers 01 send requests for applying for lighting control rights simultaneously according to the time sequence, and obtains a judgment result.

[0115] If the judgment result indicates that at least two controllers 01 send requests for applying for lighting control rights simultaneously, the third target controller is determined according to the pre-configured permission control information, that is, the above-mentioned third case. Then, the lighting arbitration module 32, according to the pre-configured permission control information, if controller A is specified in the permission control information, then controller A is the third target controller, and if controller B is specified in the permission control information, then controller B is the third target controller.

[0116] If the judgment result indicates that the two controllers 01 do not send requests for applying for lighting control rights simultaneously, the controller 01 that sends the request for applying for lighting control rights first is determined as the third target controller. That is, if it is the first case, the third target controller is controller A, and if it is the second case, the third target controller is controller B.

[0117] The lighting arbitration module 32 obtains the timer signal of the third target controller through the timer monitoring module 15, where the timer signal can be a watchdog timer (WDT) signal.

[0118] The lighting arbitration module 32 determines whether the third target controller is in a normal working state according to the timer signal. The specific determination process is similar to the process of determining whether the first target controller is in a normal working state in the above embodiment. Please refer to the above embodiment. To avoid redundancy, it will not be repeated here.

[0119] If the lighting arbitration module 32 determines that the third target controller is in a normal working state, it sends the judgment result indicating that the third target controller is in a normal working state to the lighting module 13, so that the lighting module 13 performs a lighting operation.

[0120] If the lighting arbitration module 32 determines that the third target controller is in an abnormal working state or the third target controller is in a normal working state but automatically gives up the control right, that is, the WDT signal of the third target controller does not flip within a preset time period, for example, within 60 s, the lighting arbitration module 32 waits for the moment information of the new lighting control right application request sent by the above two controllers 01, and then continues to execute the steps in this embodiment.

[0121] It should be noted that in this application, if the instruction sent by the third target controller is not a lighting instruction, that is, it is not one or more of the error instruction, positioning instruction, and reconstruction instruction, the lighting module 13 obtains the lighting information sent by another controller, where the other controller is the other controller except the third target controller among the two controllers 01 corresponding to the two lighting parsing modules 12, and controls the lights of the corresponding dual-port hard disk to light up according to the lighting information sent by the other controller.

[0122] In the active-active mode, the display of the lights can be as shown in Table 1:

[0123] Table 1

[0124]

[0125] Among them, no lighting instruction means that it is not any one of the error instruction, positioning instruction, and reconstruction instruction in the table, and "X" means to ignore its instruction.

[0126] In the dual-active mode, if the third target controller does not issue an error command, a positioning command, or a reconstruction command, the error commands and positioning commands of other controllers that do not obtain control rights can also be responded to, and the red or blue lights of the corresponding dual-port hard disk flash at a preset frequency, such as 0.5 Hz. This design can promptly detect possible errors or faults of the dual-port hard disk and give timely prompts, which can help the system administrator accurately locate the dual-port hard disk. In addition, the status of the current server system can also be quickly judged through the behavior of the LED lights.

[0127] In the above embodiments of the present application, the lighting arbitration module 32 obtains the time information of the lighting control right application requests sent by each controller 01 from the information processing module 31, and determines the third target controller according to the time information. After determining the third target controller, obtain the timer signal of the third target controller and if it is judged according to the timer signal that the third target controller is in a normal working state, then control the lights of the target dual-port hard disk to turn on according to the lighting information sent by the third target controller. The method of this embodiment enables the lighting control system to control the lighting of the dual-port hard disk according to the control method in the dual-active mode when a certain dual-port hard disk is used by multiple controllers, thereby improving the accuracy of controlling the lighting of the dual-port hard disk.

[0128] The present application also provides an electronic device, including the lighting control system in any of the above embodiments.

[0129] In the present application, a lighting control method is also provided, and the execution subject thereof can be the lighting control system in any of the above embodiments. Please refer to Figure 5 , Figure 5 which is a schematic flowchart of a lighting control method provided by an embodiment of the present application. The method may include the following steps:

[0130] S501. Obtain the identification information of the target dual-port hard disk to be controlled sent by at least two controllers, and obtain the lighting mode control information input by the user.

[0131] S502. Determine the target lighting mode used to control the lighting of the target dual-port hard disk according to the identification information and the lighting mode control information.

[0132] The target lighting mode is the master-slave mode or the dual-active mode, and the target controller is one of at least two controllers.

[0133] The specific implementation details and effects of each step have been described in detail in the above-mentioned multiple embodiments. Please refer to the above-mentioned multiple embodiments. To avoid repetition, no further detailed description will be given.

[0134] To better facilitate the understanding of the lighting control method for the dual-port hard disk of the present application, a brief description will be given below through a complete example. Please refer to Figure 6 , Figure 6 FIG. Figure 6 is a schematic flowchart of another lighting control method provided by an embodiment of the present application. The execution entity is a lighting control system, and the lighting control system can be a CPLD. The number of controllers is taken as an example of a dual controller for illustration, and it includes the following steps:

[0135] S601. Obtain the presence information of the dual controllers. Here, the controller can also be referred to as a control node.

[0136] S602. Determine whether both dual controllers are present according to the presence information of the dual controllers.

[0137] S603. If only one controller is present, enter the single control node lighting process.

[0138] S604. Control the lighting of a certain dual-port hard disk by the present single controller.

[0139] S605. If both dual controllers are present, enter the dual control node lighting process.

[0140] S606. Determine the target lighting mode based on the input lighting mode control information.

[0141] S607. If the target lighting mode is the master-slave mode, obtain the timer signal sent by the master controller.

[0142] S608. Determine whether the master controller is in a normal working state according to the timer signal.

[0143] S609. If it is determined that the master controller is in a normal working state, control the corresponding dual-port hard disk light to turn on according to the lighting information.

[0144] S610. If it is determined that the master controller is in an abnormal working state, send a reset signal to the master controller so that the master controller performs a reset operation according to the reset signal to regenerate the timer signal.

[0145] S611. Determine whether the master controller has returned to the normal working state according to the regenerated timer signal.

[0146] S612. If it returns to the normal state, execute the steps of S609.

[0147] S613. If it has not returned to the normal state, obtain the timer signal sent by the slave controller.

[0148] S614. Determine whether the slave controller is in a normal working state according to the timer signal sent by the slave controller.

[0149] S615. If it is determined that the slave controller is in a normal operating state, control the lights of the corresponding dual-port hard disk to turn on according to the lighting information of the slave controller.

[0150] S616. If it is determined that the slave controller is in an abnormal operating state, control the lights indicating a fault in the corresponding dual-port hard disk to turn on.

[0151] S617. If the target lighting mode is the active-active mode, obtain the time information when at least two controllers send requests for lighting control rights.

[0152] S618. According to the time information, determine whether at least two controllers send requests for lighting control rights simultaneously.

[0153] S619. If so, determine the target controller according to the pre-configured permission control information.

[0154] S620. If not, determine the controller that sends the request for lighting control rights first as the target controller.

[0155] S621. Obtain the timer signal sent by the target controller.

[0156] S622. According to the timer signal, determine whether the target controller is in a normal operating state.

[0157] S623. If not, execute step S617.

[0158] S624. If so, determine whether the target controller relinquishes control rights.

[0159] S625. If not, control the lights of the corresponding dual-port hard disk to turn on according to the lighting information sent by the target controller.

[0160] S626. If so, execute step S617.

[0161] It can be understood that in this embodiment, the execution sequence under the master-slave mode and the active-active mode is not limited, and the above embodiments are only used for illustration.

[0162] For the specific implementation details and effects of each step, please refer to the above-mentioned multiple embodiments. To avoid repetition, no detailed description will be given here.

[0163] In the related art, since the lighting control system usually only supports the exclusive control of a specified hard disk by a single controller. For example, it only supports that hard disk 0 is only controlled by controller A. Therefore, after the lighting control system obtains the S.M.A.R.T information or resource information of hard disk 0, controller A can only obtain the S.M.A.R.T information or resource information of this hard disk 0 through the lighting control system via the I2C bus, and the information of other hard disks cannot be obtained or accessed.

[0164] In this application, the lighting control system can poll and turn on the I2C switch conversion module on the dual-port hard disk backplane to obtain the S.M.A.R.T information, resource information, or control information sent by the controller of each dual-port hard disk. At the same time, it can also package the power-off information and lighting status of each dual-port hard disk into a frame. In this application, a corresponding dual-port random access memory (DPRAM) is also set for each controller. After the lighting control system finishes packing the above data, it sends or copies the packed frame to the DPRAM corresponding to each controller, so that each controller can also access the information of other hard disks to achieve information synchronization.

[0165] Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by means of software plus a necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases, the former is a better implementation method.

[0166] Figure 7 As shown in the structural schematic diagram of a lighting control device provided by an embodiment of this application, Figure 7 shown, including:

[0167] An acquisition module 701, configured to acquire the identification information of the target dual-port hard disk to be controlled sent by at least two controllers, and acquire the lighting mode control information input by the user.

[0168] A determination module 702, configured to determine the target lighting mode used to control the lighting of the target dual-port hard disk according to the identification information and the lighting mode control information. The target lighting mode is the master-slave mode or the active-active mode, and the target controller is one of the at least two controllers.

[0169] For the description of the features in the embodiment corresponding to the lighting control device, reference can be made to the relevant description of the embodiment corresponding to the lighting control method, which will not be elaborated here one by one.

[0170] The electronic device provided by this application may further include a processor, a memory, and a communication component. The processor is connected to the memory, and the processor and the memory may also be connected to the communication component through a bus.

[0171] In the specific implementation process, at least one processor executes the computer execution instructions stored in the memory, so that at least one processor executes the above lighting control method embodiment.

[0172] For the specific implementation process of the processor, reference can be made to the above method embodiment, and its implementation principle and technical effect are similar, which will not be elaborated here in this embodiment.

[0173] In the above embodiments, it should be understood that the processor may be a central processing unit (CPU), or may also be other general-purpose processors, digital signal processors (DSPs), application specific integrated circuits (ASICs), etc. The general-purpose processor may be a microprocessor or any conventional processor, etc. The steps of the method disclosed in combination with the application can be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules in the processor.

[0174] The memory may include a random access memory (RAM), and may also include non-volatile memory (NVM), such as at least one disk memory.

[0175] The bus may be an industry standard architecture (ISA) bus, a peripheral component interconnect (PCI) bus, an extended industry standard architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the bus in the drawings of this application is not limited to only one bus or one type of bus.

[0176] The embodiments of the present application also provide a computer-readable storage medium, in which a computer program is stored, and the computer program is configured to execute the steps in any of the above embodiments of the lighting control method when running.

[0177] In an exemplary embodiment, the above computer-readable storage medium may include, but is not limited to: USB flash drives, read-only memories (ROMs), random access memories (RAMs), mobile hard disks, magnetic disks, or optical discs and other various media that can store computer programs.

[0178] The embodiments of the present application also provide a computer program product, the above computer program product includes a computer program, and when the computer program is executed by a processor, it implements the steps in any of the above embodiments of the lighting control method.

[0179] Embodiments of the present application further provide another computer program product, including a non-volatile computer-readable storage medium storing a computer program, and when the computer program is executed by a processor, the steps in any of the above-described embodiments of the lighting control method are implemented.

[0180] Those skilled in the art can further realize that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of the two. To clearly illustrate the interchangeability of hardware and software, the components and steps of each example have been generally described according to their functions in the above description. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present application.

[0181] The above has introduced in detail a lighting control system, a lighting control method, an electronic device, a medium, and a product provided by the present application. Specific examples are used herein to elaborate on the principles and implementation manners of the present application. The description of the above embodiments is only used to help understand the method and its core idea of the present application. It should be noted that for those of ordinary skill in the art in the technical field, without departing from the principle of the present application, several improvements and modifications can be made to the present application, and these improvements and modifications also fall within the protection scope of the claims of the present application.

Claims

1. A lighting control system, characterized in that: include: Information processing module and lighting arbitration module; The information processing module is connected to the lighting arbitration module; The information processing module is used to obtain identification information of the target dual-port hard disk to be controlled sent by at least two controllers, and to obtain lighting mode control information input by a user; The lighting arbitration module is used to determine a target lighting mode used to control the lighting of the target dual-port hard disk according to the identification information and the lighting mode control information, and the target lighting mode is a master-slave mode or a dual-active mode.

2. The lighting control system according to claim 1, characterized in that: It also includes at least two lighting analysis modules and a lighting module; The at least two lighting analysis modules are connected to corresponding controllers, the lighting modules are respectively connected to the lighting arbitration module and the at least two lighting analysis modules, and the controllers corresponding to the at least two lighting analysis modules are also connected to the information processing module; The controllers corresponding to the at least two lighting analysis modules are used to send identification information of the target dual-port hard disk to be controlled to the information processing module; The lighting arbitration module is further used to determine a target controller that obtains lighting control rights in the target lighting mode, wherein the target controller is one of the controllers corresponding to the at least two lighting analysis modules; The lighting module is used to receive the lighting information sent by the lighting analysis module corresponding to the target controller, and control the lighting of the light of the target dual-port hard disk according to the lighting information.

3. The lighting control system according to claim 2, characterized in that: Also includes: In-situ detection module; The in-place detection module is connected to the lighting arbitration module and each controller respectively; The on-site detection module is used to obtain on-site information of each controller; Before the lighting arbitration module determines the target lighting mode used to control the lighting of the target dual-port hard disk according to the identification information and the lighting mode control information, the lighting arbitration module is further used to: Acquire the presence information of each controller sent by the presence detection module; Determining whether each controller is in place according to the in-place information of each controller; If it is in place, then the target lighting mode used to control the lighting of the target dual-port hard disk is determined according to the identification information and the lighting mode control information.

4. The lighting control system according to claim 2, characterized in that: If the target lighting mode is the master-slave mode; When the lighting arbitration module determines the target controller that obtains the lighting control right in the target lighting mode, it is specifically used to: Acquire first identification information of a first target controller pre-configured in the master-slave mode; According to the first identification information, a first target controller that obtains the lighting control right in the master-slave mode is determined, and the first target controller is one of the controllers corresponding to the at least two pre-configured lighting analysis modules.

5. The lighting control system according to claim 4, characterized in that: Also includes a timer monitoring module; The timer monitoring module is connected to the lighting arbitration module and the first target controller respectively; The timer monitoring module is used to monitor the timer signal of the first target controller; After the lighting arbitration module determines the first target controller that obtains the lighting control right in the master-slave mode, it is also used to: determining, according to the timer signal of the first target controller, whether the first target controller is in a normal working state, and obtaining a determination result; If the judgment result indicates that the first target controller is in a normal working state, the judgment result is sent to the lighting module.

6. The lighting control system according to claim 5, characterized in that: The lighting arbitration module determines whether the first target controller is in a normal working state according to the timer signal of the first target controller, and when the judgment result is obtained, is specifically used to: If the level of the timer signal of the first target controller is reversed within the preset time period, a judgment result is obtained that the first target controller is in a normal working state; If the timer signal of the first target controller does not flip in level within the preset time period, obtaining a new timer signal after the first target controller is reset; If the level of the new timer signal flips within the preset time period, a judgment result is obtained that the first target controller is in a normal working state; If the level of the new timer signal does not flip within the preset time period, a judgment result is obtained that the first target controller is in an abnormal working state.

7. The lighting control system according to claim 6, characterized in that: The lighting module includes a plurality of multiplexers and a dual-port hard disk lighting control module; For any multiplexer, the multiplexer is respectively connected to the lighting arbitration module, at least two lighting analysis modules and the dual-port hard disk lighting control module; The lighting arbitration module is further used to determine a target multiplexer from a plurality of multiplexers included in the lighting module according to identification information of the target dual-port hard disk to be controlled, so that the lighting information sent by the lighting analysis module corresponding to the first target controller is sent to the dual-port hard disk lighting control module through the target multiplexer; The dual-port hard disk lighting control module is used to control the lighting of the light of the target dual-port hard disk corresponding to the identification information according to the lighting information sent by the lighting analysis module corresponding to the first target controller.

8. The lighting control system according to claim 7, characterized in that: The lighting arbitration module is also used for: If the judgment result indicates that the first target controller is in an abnormal working state, obtaining second identification information of the second target controller pre-configured in the master-slave mode; Determine, according to the second identification information, a second target controller that obtains the lighting control right in the master-slave mode; The second target controller is another one of the controllers corresponding to the at least two lighting analysis modules except the first target controller.

9. The lighting control system according to claim 8, characterized in that: The timer monitoring module is further used to monitor the timer signal of the second target controller; The lighting arbitration module is also used for: Acquire a timer signal of the second target controller monitored by the timer monitoring module; According to the timer signal of the second target controller, determining whether the second target controller is in a normal working state, and obtaining a determination result; If the judgment result indicates that the second target controller is in normal working state, the judgment result is sent to the lighting module, so that the lighting module controls the lighting of the light of the target dual-port hard disk according to the lighting information sent by the lighting analysis module corresponding to the second target controller.

10. The lighting control system according to claim 9, characterized in that: The lighting arbitration module is also used for: If the determination result indicates that the second target controller is in an abnormal working state, a fault instruction is generated; The fault instruction is sent to the lighting module, so that the lighting module controls the lighting of the lamp indicating the presence of a fault in the target dual-port hard disk according to the fault instruction.

11. The lighting control system according to claim 2, characterized in that: If the target lighting mode is the dual active mode; When the lighting arbitration module determines the target controller that obtains the lighting control right in the target lighting mode, it is specifically used to: Acquire the time information of the lighting control right application request sent by each controller from the information processing module; If it is determined according to the time information that each controller simultaneously sends a lighting control right application request, a third target controller is determined according to pre-configured authority control information, wherein the authority control information specifies one of the controllers corresponding to the at least two lighting analysis modules as the third target controller; If it is determined according to the time information that the controllers do not send the lighting control right application requests at the same time, the controller that sends the lighting control right application request first is determined as the third target controller.

12. The lighting control system according to claim 11, characterized in that: The lighting module is also used for: Receiving lighting information sent by a lighting analysis module corresponding to the third target controller; According to the lighting information sent by the lighting parsing module corresponding to the third target controller, the light of the target dual-port hard disk is controlled to be lit.

13. The lighting control system according to claim 11, characterized in that: The lighting module is also used for: If the third target controller sends non-lighting information, then obtain the lighting information sent by another controller, where the other controller is another controller other than the third target controller among the controllers corresponding to the two lighting analysis modules; According to the lighting information sent by the other controller, the light of the dual-port hard disk is controlled to light up.

14. A lighting control method, characterized in that: include: Acquire identification information of a target dual-port hard disk to be controlled sent by at least two controllers, and acquire lighting mode control information input by a user; According to the identification information and the lighting mode control information, a target lighting mode used to control the lighting of the target dual-port hard disk is determined, and the target lighting mode is a master-slave mode or a dual-active mode.

15. An electronic device, characterized in that: It comprises a lighting control system as claimed in any one of claims 1 to 13.

16. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program implements the steps of the lighting control method as claimed in claim 14 when executed by a processor.

17. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the lighting control method according to claim 14 are implemented.

Citation Information

Patent Citations

  • NVMe hard disk back plate supporting dual controllers of passive design and design method of NVMe hard disk back plate

    CN107688375A

  • Hard disk lighting method and device, storage medium and computer program product

    CN113742182A

  • Hard disk lighting method and system, equipment and storage medium

    CN113986692A

  • Hard disk lighting device and method

    CN117806918A

  • Hard disk lighting method and device, computer equipment and storage medium

    CN118708447A

Cited By

  • Hard disk backboard control method and device, equipment, medium and product

    CN121144150A

  • A method, apparatus, device, medium, and product for controlling hard disk backplanes.

    CN121144150B