CN115633433A - Indicator lamp control method, device and system, storage medium and electronic device - Google Patents

Indicator lamp control method, device and system, storage medium and electronic device Download PDF

Info

Publication number
CN115633433A
CN115633433A CN202211281814.8A CN202211281814A CN115633433A CN 115633433 A CN115633433 A CN 115633433A CN 202211281814 A CN202211281814 A CN 202211281814A CN 115633433 A CN115633433 A CN 115633433A
Authority
CN
China
Prior art keywords
target
network controller
indicator
lighting
controller
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211281814.8A
Other languages
Chinese (zh)
Inventor
王健
葛振杰
朱永胜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Dahua Technology Co Ltd
Original Assignee
Zhejiang Dahua Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Dahua Technology Co Ltd filed Critical Zhejiang Dahua Technology Co Ltd
Priority to CN202211281814.8A priority Critical patent/CN115633433A/en
Publication of CN115633433A publication Critical patent/CN115633433A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/155Coordinated control of two or more light sources
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B5/00Visible signalling systems, e.g. personal calling systems, remote indication of seats occupied
    • G08B5/22Visible signalling systems, e.g. personal calling systems, remote indication of seats occupied using electric transmission; using electromagnetic transmission
    • G08B5/36Visible signalling systems, e.g. personal calling systems, remote indication of seats occupied using electric transmission; using electromagnetic transmission using visible light sources
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/165Controlling the light source following a pre-assigned programmed sequence; Logic control [LC]

Landscapes

  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • General Physics & Mathematics (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

The embodiment of the invention provides a control method, a control device, a control system, a storage medium and an electronic device of an indicator light, wherein the method comprises the following steps: acquiring target lighting information, wherein the target lighting information is used for distinguishing different types of network controllers, and the different types of network controllers control a group of indicator lamps through a target logic controller; determining a target network controller corresponding to the target lighting information, wherein the target logic controller is preset with control logic corresponding to the target network controller; and controlling the target indicator lamps to perform lighting operation according to the control logic corresponding to the target network controller and the target lighting information, wherein the target indicator lamps are part or all of the indicator lamps in the group of indicator lamps associated with the target network controller. The invention solves the problem of poor expandability of the control method of the indicator light in the related technology.

Description

Control method, device and system of indicator light, storage medium and electronic device
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a method, a device and a system for controlling an indicator light, a storage medium and an electronic device.
Background
Many devices or systems are equipped with corresponding indicator lights to indicate their operating states, especially for larger devices, for example, servers, it is common to provide multiple indicator lights on their front panels (or back panels) to indicate states of memory or system operation or network connection, taking network indicator lights as an example, network indicator lights are used to indicate system network connection states, and in the related art, a reserved Hardware Identification HWID (hard identity) signal of the motherboard is mainly used to connect the signal to the back panel CPLD; the CPLD distinguishes the whole machine configuration through different pull-up and pull-down configurations of the HWID; the CPLD corresponds lighting information of network chips with different sources and types to the LED signals by identifying different configurations. The scheme in the related art needs the mainboard to reserve a certain number of HWID signals, and if new requirements exist subsequently, the back board may not be reused, that is, the expandability of the control method of the indicator lamp in the related art is poor.
Aiming at the problem that the expandability of a control method of an indicator light in the related technology is poor, an effective solution is not provided at present.
Disclosure of Invention
The embodiment of the invention provides a method, a device, a system, a storage medium and an electronic device for controlling an indicator light, which are used for at least solving the problem that the expandability of the control method of the indicator light in the related technology is poor.
According to an embodiment of the present invention, there is provided a control method of an indicator lamp, including: acquiring target lighting information, wherein the target lighting information is used for distinguishing different types of network controllers, and the different types of network controllers control a group of indicator lamps together through a target logic controller; determining a target network controller corresponding to the target lighting information, wherein a control logic corresponding to the target network controller is preset on the target logic controller; and controlling a target indicator lamp to perform lighting operation according to the control logic corresponding to the target network controller and the target lighting information, wherein the target indicator lamp is part or all of the indicator lamps in the group of indicator lamps associated with the target network controller.
In one exemplary embodiment, the determining a target network controller corresponding to the target lighting information includes: determining a target signal frequency indicated in the target lighting information; and determining the target network controller corresponding to the target signal frequency based on the corresponding relation between the pre-configured signal frequency and the network controller.
In an exemplary embodiment, the controlling the target indicator lamp to perform a lighting operation according to the control logic corresponding to the target network controller and the target lighting information includes: generating a target instruction corresponding to the target network controller based on control logic corresponding to the target network controller and target clock information and target lighting data information included in the target lighting information; and controlling the target indicator lamp to execute the lighting operation based on the target instruction.
In an exemplary embodiment, generating a target instruction corresponding to the target network controller based on the control logic corresponding to the target network controller and the target clock information and the target lighting data information included in the target lighting information includes: determining a target control logic corresponding to the target network controller, wherein the target control logic is configured to instruct the target network controller to control logic of each of the target indicator lights in the set of indicator lights; and generating the target instruction based on the target clock information, the target lighting data information and the target control logic.
In one exemplary embodiment, the determining the target control logic corresponding to the target network controller includes: the method comprises the steps that control logic relations between different network controllers and a group of indicator lamps are configured in advance, wherein the control logic relations are used for indicating the control relations between each bit of data contained in lighting data output by the network controllers and the indicator lamps contained in the group of indicator lamps; and determining the target control logic corresponding to the target network controller from the control logic relation.
According to another embodiment of the present invention, there is also provided a control apparatus of an indicator lamp, including: the system comprises an acquisition module, a control module and a display module, wherein the acquisition module is used for acquiring target lighting information, the target lighting information is used for distinguishing different types of network controllers, and the different types of network controllers control a group of indicator lamps together through a target logic controller; the determining module is used for determining a target network controller corresponding to the target lighting information, wherein the target logic controller is preset with control logic corresponding to the target network controller; and the control module is used for controlling a target indicator lamp to execute lighting operation according to the control logic corresponding to the target network controller and the target lighting information, wherein the target indicator lamp is part or all of the indicator lamps related to the target network controller in the group of indicator lamps.
In one exemplary embodiment, the determining module comprises: a first determining submodule configured to determine a target signal frequency indicated in the target lighting information; and the second determining submodule is used for determining the target network controller corresponding to the target signal frequency based on the corresponding relation between the pre-configured signal frequency and the network controller.
There is also provided, in accordance with still another embodiment of the present invention, a control system of an indicator lamp, including: the system comprises a network controller, a logic controller and a group of indicator lights, wherein the network controller is electrically connected with the logic controller, and the logic controller is electrically connected with the group of indicator lights; the network controller is used for outputting target lighting information to the logic controller; the logic controller is used for acquiring the target lighting information, distinguishing different types of the network controllers according to the target lighting information and controlling part or all of the indicator lamps in the group of indicator lamps; and the group of indicator lamps are used for lightening part or all of the indicator lamps according to the target lighting information.
According to a further embodiment of the present invention, there is also provided a computer-readable storage medium having a computer program stored thereon, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
According to yet another embodiment of the present invention, there is also provided an electronic device, including a memory in which a computer program is stored and a processor configured to execute the computer program to perform the steps in any of the above method embodiments.
According to the invention, the target lighting information is obtained, and the target network controller corresponding to the target lighting information is determined from different types of network controllers, wherein different types of network controllers control a group of indicator lamps through the target logic controller together, the target logic controller is preset with control logic corresponding to the target network controller, and then the target indicator lamps are controlled to execute lighting operation according to the control logic corresponding to the target network controller and the target lighting information. The purpose that states of different network controllers can be indicated by sharing the back plate comprising the target logic controller and the group of indicator lamps is achieved, the purpose that the back plate can be reused is achieved, and the problem that the back plate in the related technology cannot be reused is solved, so that the problem that the expandability of the control method of the indicator lamps in the related technology is poor is solved, and the effect of enhancing the expandability of the control method of the indicator lamps is achieved.
Drawings
Fig. 1 is a block diagram of a hardware structure of a mobile terminal of a control method of an indicator light according to an embodiment of the present invention;
FIG. 2 is a flow chart of a method of controlling an indicator light according to an embodiment of the invention;
FIG. 3 is a flowchart of a lighting method of network chip indicator lamps according to an embodiment of the present invention;
FIG. 4 is a diagram illustrating an example lighting scheme for a network indicator light according to an embodiment of the present invention;
fig. 5 is a block diagram of a control device of an indicator light according to an embodiment of the present invention;
fig. 6 is a diagram of a control system architecture for an indicator light according to an embodiment of the present invention.
Detailed Description
Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings in conjunction with the embodiments.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
The method embodiments provided in the embodiments of the present application may be executed in a mobile terminal, a computer terminal, or a similar computing device. Taking the operation on the mobile terminal as an example, fig. 1 is a hardware structure block diagram of the mobile terminal of the method for controlling the indicator light according to the embodiment of the present invention. As shown in fig. 1, the mobile terminal may include one or more (only one shown in fig. 1) processors 102 (the processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA), and a memory 104 for storing data, wherein the mobile terminal may further include a transmission device 106 for communication functions and an input-output device 108. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration, and does not limit the structure of the mobile terminal. For example, the mobile terminal may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
The memory 104 may be used to store a computer program, for example, a software program and a module of application software, such as a computer program corresponding to the control method of the indicator light in the embodiment of the present invention, and the processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, so as to implement the method described above. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory located remotely from the processor 102, which may be connected to the mobile terminal over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used for receiving or transmitting data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 106 includes a Network adapter (NIC), which can be connected to other Network devices through a base station so as to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
In the related art, a logic control module is used for performing logic gate operation on indicator light signals sent by different network controllers (or network chips), and then the states of a plurality of network indicator lights sent by the network controllers are comprehensively reflected by the different states of one indicator light on a back plate.
In the present embodiment, a method for controlling an indicator light is provided, and fig. 2 is a flowchart of a method for controlling an indicator light according to an embodiment of the present invention, as shown in fig. 2, the flowchart includes the following steps:
step S202, target lighting information is obtained, wherein the target lighting information is used for distinguishing different types of network controllers, and the different types of network controllers control a group of indicator lamps through a target logic controller;
step S204, determining a target network controller corresponding to the target lighting information, wherein a control logic corresponding to the target network controller is preset on the target logic controller;
step S206, controlling a target indicator lamp to perform a lighting operation according to the control logic corresponding to the target network controller and the target lighting information, where the target indicator lamp is a part or all of the indicator lamps associated with the target network controller in the group of indicator lamps.
Through the steps, the target lighting information is obtained, and the target network controller corresponding to the target lighting information is determined from different types of network controllers, wherein the different types of network controllers control a group of indicator lamps through the target logic controller together, the target logic controller is preset with control logic corresponding to the target network controller, and then the target indicator lamps are controlled to execute lighting operation according to the control logic corresponding to the target network controller and the target lighting information. The purpose that states of different network controllers can be indicated by sharing the back plate comprising the target logic controller and the group of indicator lamps is achieved, the purpose that the back plate can be reused is achieved, and the problem that the back plate in the related technology cannot be reused is solved, so that the problem that the expandability of the control method of the indicator lamps in the related technology is poor is solved, and the effect of enhancing the expandability of the control method of the indicator lamps is achieved.
The executing body of the above steps may be a controller, for example, the above target logic controller, or a CPLD logic controller, or a logic control module, or a logic control chip, or a processor with human-computer interaction capability configured on a storage device, or a processing device or a processing unit with similar processing capability, but is not limited thereto. The following description is given by taking the target logic controller to perform the above operations as an example (which is only an exemplary illustration, and in actual operation, other devices or modules may also perform the above operations):
in the above embodiment, the target logic controller obtains target lighting information, where the target lighting information is used to distinguish different types of network controllers, and the different types of network controllers collectively control a group of indicator lamps through the target logic controller, for example, the target logic controller is a CPLD logic controller, and the target lighting information (or referred to as lighting signal) is output by the target logic controller, and the target lighting information may include a clock signal and a lighting data signal, and the lighting data signal is used to control on or off of each indicator lamp included in the group of indicator lamps, in practical applications, there may be multiple different types of network controllers, and for different types of network controllers, even if the lighting data signals are the same, the lighting scheme of the group of indicator lamps may be different, and it is described by way of example that 20 indicator lamps are included in the group of indicator lamps, and for the lighting data output by the network controller a, the lighting data may be controlled to be on or off of a first indicator lamp in the group of indicator lamps, and for the first data output by the network controller B, the first data may be correspondingly controlled to be on or off of the first indicator lamp in the group of indicator lamps; determining a target network controller corresponding to the target lighting information, wherein the target network controller is configured to output the target lighting information to light part or all of the indicator lights in the group of indicator lights, and the corresponding target network controller can be determined according to the target lighting information, for example, the type or model of the corresponding network controller can be identified according to the clock signal included in the target lighting information, and in practical applications, the clock signals output by different types of network controllers are different, so that the corresponding target network controller can be determined based on the target lighting information; the control logic corresponding to the target network controller is preset on the target logic controller, and of course, the control logic corresponding to other network controllers can also be preset on the target logic controller; then, the target indicator lamp can be controlled to perform lighting operation according to the control logic corresponding to the target network controller and the target lighting information, wherein the lighting operation is used for lighting the target indicator lamp associated with the network controller. In practical applications, the target logic controller and the set of indicator lights can be disposed on a single backplane, so that even if the network controller needs to be replaced or a new network controller needs to be added, the target logic controller and the set of indicator lights can share the same backplane, that is, the target logic controller and the set of indicator lights can be shared. Through the embodiment, the purpose that the states of different network controllers can be indicated by sharing the back plate comprising the target logic controller and the group of indicator lamps is achieved, the purpose that the back plate can be reused is achieved, and the problem that the back plate in the related technology cannot be reused is solved, so that the problem that the expandability of the control method of the indicator lamps in the related technology is poor is solved, and the effect of enhancing the expandability of the control method of the indicator lamps is achieved.
In an optional embodiment, the determining the target network controller corresponding to the target lighting information includes: determining a target signal frequency indicated in the target lighting information; and determining the target network controller corresponding to the target signal frequency based on the corresponding relation between the pre-configured signal frequency and the network controller. In this embodiment, the target signal frequency indicated in the target lighting information may be determined, for example, the signal frequency corresponding to the clock information included in the target lighting information may be determined, and in practical applications, the target logic controller may determine the frequency by collecting the clock signal, and then may determine the target network controller corresponding to the target signal frequency according to the corresponding relationship between different signal frequencies and different types of network controllers. By the embodiment, the purpose of determining the corresponding target network controller by determining the target signal frequency indicated in the target lighting information is achieved, and then the target indicator lamps included in the group of indicator lamps can be controlled to perform the lighting operation corresponding to the target network controller based on the target lighting information.
In an optional embodiment, the controlling the target indicator lamp to perform a lighting operation according to the control logic corresponding to the target network controller and the target lighting information includes: generating a target instruction corresponding to the target network controller based on control logic corresponding to the target network controller and target clock information and target lighting data information included in the target lighting information; and controlling the target indicator lamp to execute the lighting operation based on the target instruction. In this embodiment, a target instruction corresponding to the target network controller may be generated based on control logic corresponding to the target network controller and target clock information and target lighting data information included in the target lighting information, and in practical applications, the target logic controller may include a signal acquisition unit, a logic unit, and a command output unit, where the signal acquisition unit may be configured to acquire the target lighting information output by the target network controller, and the logic unit may be configured to perform an operation on a clock signal and a lighting data signal included in the target lighting information to generate a lighting command, and then the command output unit outputs the command to a group of indicator lights; then, the target indicator lamp is controlled to perform lighting operation based on the target instruction, that is, the target indicator lamp included in the group of indicator lamps is controlled to be turned on or off, and the target indicator lamp may be a part or all of the indicator lamps in the group of indicator lamps. Through the embodiment, the purpose of generating the target instruction based on the control logic corresponding to the target network controller and the target lighting information and further controlling the target indicator lamp to execute the lighting operation is achieved.
In an optional embodiment, generating a target instruction corresponding to the target network controller based on the control logic corresponding to the target network controller and the target clock information and the target lighting data information included in the target lighting information includes: determining a target control logic corresponding to the target network controller, wherein the target control logic is configured to instruct the target network controller to control logic of each of the target indicator lights in the set of indicator lights; and generating the target instruction based on the target clock information, the target lighting data information and the target control logic. In this embodiment, a target control logic corresponding to a target network controller, that is, a logic for the target network controller to control each indicator light in a group of indicator lights, is determined, in practical applications, different network controller (or called network chip) schemes are adopted, control logics for correspondingly controlling the same group of indicator lights may be different, and the target control logic may be configured in advance and stored in the target logic controller, and then, based on target clock information, target lighting data information, and the target control logic, a target instruction corresponding to the target logic controller is generated to control the target indicator lights to perform lighting operations. Through the embodiment, the aim of generating the target instruction corresponding to the target network controller based on the target clock information, the target lighting data information and the target control logic is fulfilled.
In an optional embodiment, the determining the target control logic corresponding to the target network controller includes: the method comprises the steps that control logic relations between different network controllers and a group of indicator lamps are configured in advance, wherein the control logic relations are used for indicating the control relations between each bit of data contained in lighting data output by the network controllers and the indicator lamps contained in the group of indicator lamps; and determining the target control logic corresponding to the target network controller from the control logic relation. In practical applications, the control logic relationship between different types of network controllers and a set of indicator lamps may be preconfigured, for example, a first bit of data in the lighting data output by the network controller a may control on or off of a first indicator lamp in the set of indicator lamps, a first bit of data in the lighting data output by the network controller B may control on or off of a tenth indicator lamp in the set of indicator lamps, and a first bit of data in the lighting data output by other network controllers may control on or off of other indicator lamps in the set of indicator lamps, and so on, a second bit of data in the lighting data output by the network controller a may control on or off of other indicator lamps in the set of indicator lamps, that is, different network controllers may share a set of back panel, the back panel includes the target logic controller and the set of indicator lamps, and for different types of network controllers, the lighting schemes for controlling the target indicator lamps included in the set of indicator lamps may be different, and the control logic relationship may be prestored in the target logic controller. Through the embodiment, the purpose of determining the target control logic corresponding to the target network controller based on the control logic relation between the different preconfigured network controllers and the group of indicator lamps is achieved.
It is to be understood that the above-described embodiments are only a few, but not all, embodiments of the present invention. The present invention will be described in detail with reference to examples.
Fig. 3 is a flowchart of a lighting method of a network chip indicator light according to an embodiment of the present invention, as shown in fig. 3, the flowchart includes the following steps:
s302, building a lighting environment based on a network chip (corresponding to the network controller) and a CPLD logic control module (corresponding to the target logic controller);
s304, the CPLD logic control module identifies lighting clock signals with different frequencies (corresponding to the target clock information) so as to distinguish lighting information of network chips with different types at sources, and the lighting information corresponds to the target network controller which is determined to correspond to the target lighting information;
s306, the CPLD logic control module generates a lighting command (corresponding to the target command) corresponding to the network chip;
and S308, the network indicator lamp receives the lighting command and lights.
In the embodiment, a method for compatible design of an indicator light of a network chip is provided. The network controller is used for outputting a lighting signal to the CPLD logic control module, wherein the lighting signal comprises a lighting clock signal and a lighting data signal; the CPLD logic control module is connected with a network indicator light (corresponding to the group of indicator lights). The CPLD logic control module comprises a signal acquisition unit, a CPLD logic unit and a command output unit, wherein the signal acquisition unit is used for acquiring network indicator light signals output by the network controller, the CPLD logic unit is used for operating the network indicator light signals and generating lighting commands, and the command output unit is used for outputting the lighting commands to the network indicator lights. The CPLD logic control module identifies lighting clock signals with different frequencies so as to distinguish lighting information of network chips with different sources and models.
In the above embodiment, the lighting clock signals with different frequencies are identified by the CPLD logic control module to distinguish the lighting information of the network chips with different sources, thereby truly realizing the reuse of the backplane and saving the peripheral resources on the main board and the CPLD logic control module.
Next, an embodiment of the present invention is described as an example, fig. 4 is an exemplary diagram of a lighting scheme of a network indicator lamp according to an embodiment of the present invention, and different motherboards in fig. 4 correspond to different network chip schemes, for example, a network chip scheme of SWITCH-1 is adopted on the motherboard 1, and a lighting signal is sent by the SWITCH-1 chip, and includes a lighting clock signal frequency a and a data signal a' (not shown in fig. 4); the CPLD logic control module identifies the network chip scheme as SWITCH-1 by identifying the clock signal frequency A, and generates a corresponding lighting command A' according to the clock and the data signal based on the SWITCH-1 chip scheme to realize the correct lighting requirement; the same method is realized on the mainboard 2 (SWITCH-2 scheme) and the mainboard n (SWITCH-n scheme). Through the embodiment, when the scheme of the network chip needs to be changed or newly added subsequently, the reuse of the back plate (comprising the CPLD logic control module and the network indicator lamp) can be really realized, and only the control logic in the CPLD logic control module needs to be adjusted, so that the effect of saving peripheral resources on the main board and the CPLD logic control module is achieved.
Through the description of the foregoing embodiments, it is clear to those skilled in the art that the method according to the foregoing embodiments may be implemented by software plus a necessary general hardware platform, and certainly may also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
In this embodiment, there is further provided a control device of an indicator light, and fig. 5 is a block diagram of a structure of the control device of the indicator light according to the embodiment of the present invention, as shown in fig. 5, the device includes:
an obtaining module 502, configured to obtain target lighting information, where the target lighting information is used to distinguish different types of network controllers, and the different types of network controllers control a group of indicator lights together through a target logic controller;
a determining module 504, configured to determine a target network controller corresponding to the target lighting information, where a control logic corresponding to the target network controller is preset on the target logic controller;
a control module 506, configured to control a target indicator to perform a lighting operation according to the control logic corresponding to the target network controller and the target lighting information, where the target indicator is a part or all of the indicator associated with the target network controller in the group of indicators.
In an optional embodiment, the determining module 504 includes: a first determining submodule configured to determine a target signal frequency indicated in the target lighting information; and the second determining submodule is used for determining the target network controller corresponding to the target signal frequency based on the corresponding relation between the pre-configured signal frequency and the network controller.
In an alternative embodiment, the control module 506 includes: the generation submodule is used for generating a target instruction corresponding to the target network controller based on the control logic corresponding to the target network controller and target clock information and target lighting data information which are included in the target lighting information; and the control submodule is used for controlling the target indicator lamp to execute the lighting operation based on the target instruction.
In an optional embodiment, the generating sub-module includes: a determining unit, configured to determine a target control logic corresponding to the target network controller, where the target control logic is configured to instruct the target network controller to control logic of each of the target indicator lights in the set of indicator lights; a generating unit configured to generate the target instruction based on the target clock information, the target lighting data information, and the target control logic.
In an optional embodiment, the determining unit includes: a configuration subunit, configured to pre-configure a control logic relationship between different network controllers and a group of indicator lights, where the control logic relationship is used to indicate a control relationship between each bit of data included in lighting data output by the network controller and each indicator light included in the group of indicator lights; and the determining subunit is used for determining the target control logic corresponding to the target network controller from the control logic relationship.
It should be noted that, the above modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the modules are all positioned in the same processor; alternatively, the modules are respectively located in different processors in any combination.
In this embodiment, there is further provided a control system of an indicator light, and fig. 6 is an architecture diagram of the control system of the indicator light according to the embodiment of the present invention, as shown in fig. 6, the system includes: the network controller 602, the logic controller 604, a set of pilot lamp 606, wherein, the network controller 602 is connected with the logic controller 604 electricity, and the logic controller 604 is connected with a set of pilot lamp 606 electricity.
A network controller 602 for outputting target lighting information to a logic controller 604; a logic controller 604, configured to obtain target lighting information, distinguish different types of network controllers 602 according to the target lighting information, and control some or all of a group of indicator lamps 606; and a set of indicator lights 606 for illuminating part or all of them according to the target lighting information.
An embodiment of the present invention further provides a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to perform the steps in any of the above method embodiments when executed.
In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to: various media capable of storing computer programs, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
In an exemplary embodiment, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and exemplary embodiments, and details of this embodiment are not repeated herein.
It will be apparent to those skilled in the art that the various modules or steps of the invention described above may be implemented using a general purpose computing device, they may be centralized on a single computing device or distributed across a network of computing devices, and they may be implemented using program code executable by the computing devices, such that they may be stored in a memory device and executed by the computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into various integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the principle of the present invention shall be included in the protection scope of the present invention.

Claims (10)

1. A method of controlling an indicator light, comprising:
acquiring target lighting information, wherein the target lighting information is used for distinguishing different types of network controllers, and the different types of network controllers control a group of indicator lamps together through a target logic controller;
determining a target network controller corresponding to the target lighting information, wherein a control logic corresponding to the target network controller is preset on the target logic controller;
and controlling a target indicator lamp to perform lighting operation according to the control logic corresponding to the target network controller and the target lighting information, wherein the target indicator lamp is part or all of the indicator lamps in the group of indicator lamps associated with the target network controller.
2. The method of claim 1, wherein determining the target network controller corresponding to the target lighting information comprises:
determining a target signal frequency indicated in the target lighting information;
and determining the target network controller corresponding to the target signal frequency based on the corresponding relation between the pre-configured signal frequency and the network controller.
3. The method according to claim 1, wherein said controlling the target indicator lamp to perform lighting operation according to the control logic corresponding to the target network controller and the target lighting information comprises:
generating a target instruction corresponding to the target network controller based on control logic corresponding to the target network controller and target clock information and target lighting data information included in the target lighting information;
and controlling the target indicator lamp to execute the lighting operation based on the target instruction.
4. The method of claim 3, wherein generating the target command corresponding to the target network controller based on the control logic corresponding to the target network controller and target clock information and target lighting data information included in the target lighting information comprises:
determining a target control logic corresponding to the target network controller, wherein the target control logic is configured to instruct the target network controller to control logic of each of the target indicator lights in the set of indicator lights;
and generating the target instruction based on the target clock information, the target lighting data information and the target control logic.
5. The method of claim 4, wherein determining the target control logic corresponding to the target network controller comprises:
the method comprises the steps that control logic relations between different network controllers and a group of indicator lamps are configured in advance, wherein the control logic relations are used for indicating the control relations between each bit of data contained in lighting data output by the network controllers and the indicator lamps contained in the group of indicator lamps;
and determining the target control logic corresponding to the target network controller from the control logic relation.
6. A control device for an indicator light, comprising:
the system comprises an acquisition module, a control module and a display module, wherein the acquisition module is used for acquiring target lighting information, the target lighting information is used for distinguishing different types of network controllers, and the different types of network controllers control a group of indicator lamps together through a target logic controller;
a determining module, configured to determine a target network controller corresponding to the target lighting information, where a control logic corresponding to the target network controller is preset on the target logic controller;
and the control module is used for controlling a target indicator lamp to execute lighting operation according to the control logic corresponding to the target network controller and the target lighting information, wherein the target indicator lamp is part or all of the indicator lamps related to the target network controller in the group of indicator lamps.
7. The apparatus of claim 6, wherein the determining module comprises:
a first determining submodule configured to determine a target signal frequency indicated in the target lighting information;
and the second determining submodule is used for determining the target network controller corresponding to the target signal frequency based on the corresponding relation between the pre-configured signal frequency and the network controller.
8. A control system for an indicator light, comprising: a network controller, a logic controller, a set of indicator lights, wherein,
the network controller is electrically connected with the logic controller, and the logic controller is electrically connected with the group of indicator lamps;
the network controller is used for outputting target lighting information to the logic controller;
the logic controller is used for acquiring the target lighting information, distinguishing different types of the network controllers according to the target lighting information and controlling part or all of the indicator lamps in the group of indicator lamps;
and the group of indicator lamps are used for lightening part or all of the indicator lamps according to the target lighting information.
9. A computer-readable storage medium, in which a computer program is stored, which computer program, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 5.
10. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the method as claimed in any one of claims 1 to 5 when executing the computer program.
CN202211281814.8A 2022-10-19 2022-10-19 Indicator lamp control method, device and system, storage medium and electronic device Pending CN115633433A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211281814.8A CN115633433A (en) 2022-10-19 2022-10-19 Indicator lamp control method, device and system, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211281814.8A CN115633433A (en) 2022-10-19 2022-10-19 Indicator lamp control method, device and system, storage medium and electronic device

Publications (1)

Publication Number Publication Date
CN115633433A true CN115633433A (en) 2023-01-20

Family

ID=84907521

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211281814.8A Pending CN115633433A (en) 2022-10-19 2022-10-19 Indicator lamp control method, device and system, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN115633433A (en)

Similar Documents

Publication Publication Date Title
CN104503932B (en) More mainboard server main substrate Management Controller referee methods and system
US8386764B2 (en) BIOS architecture
US8397053B2 (en) Multi-motherboard server system
CN110209399B (en) FPGA service system, data processing method and storage medium
CN102081568B (en) Multi-motherboard server system
US20230305980A1 (en) Flexibly configured multi-computing-node server mainboard structure and program
CN109446145B (en) Server mainboard I2C channel expansion chip, circuit and control method
CN110795317A (en) Method and system for realizing lighting of self-adaptive hard disk backboard by using CPLD (complex programmable logic device)
CN110704365A (en) Reconstruction device based on FPGA
CN109271177A (en) A kind of method and system of automatic load PCIE Switch products configuration parameter
CN114564428A (en) Airborne electronic equipment I/O port expansion system
CN116166434A (en) Processor allocation method and system, device, storage medium and electronic equipment
CN110399328B (en) Control method and device for board-mounted graphics processor
CN113658351B (en) Method and device for producing product, electronic equipment and storage medium
CN105700421A (en) Apparatus, system and method for allocating identifiers to components of a control system
CN116032746B (en) Information processing method and device of resource pool, storage medium and electronic device
CN117076216A (en) Channel allocation method and device
CN113204510A (en) Server management architecture and server
CN115633433A (en) Indicator lamp control method, device and system, storage medium and electronic device
CN116166855A (en) Method and device for identifying serial numbers of hard disks
CN116723198A (en) Multi-node server host control method, device, equipment and storage medium
CN116341443A (en) Peripheral equipment distribution method and system based on multi-FPGA prototype verification cloud platform
CN115580365A (en) Clock signal transmission method, device, equipment and medium
CN104615423A (en) Multi-user SCA waveform development method and device
CN105425917A (en) Miniature server

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination