CN110502406A - Store management method, system, equipment and the storage medium of equipment cabinets display lamp - Google Patents
Store management method, system, equipment and the storage medium of equipment cabinets display lamp Download PDFInfo
- Publication number
- CN110502406A CN110502406A CN201910684892.4A CN201910684892A CN110502406A CN 110502406 A CN110502406 A CN 110502406A CN 201910684892 A CN201910684892 A CN 201910684892A CN 110502406 A CN110502406 A CN 110502406A
- Authority
- CN
- China
- Prior art keywords
- lamp
- cluster
- control instruction
- node
- lamp control
- 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.)
- Withdrawn
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3003—Monitoring arrangements specially adapted to the computing system or computing system component being monitored
- G06F11/3034—Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a storage system, e.g. DASD based or network based
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/32—Monitoring with visual or acoustical indication of the functioning of the machine
- G06F11/324—Display of status information
- G06F11/325—Display of status information by lamps or LED's
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computing Systems (AREA)
- Quality & Reliability (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Mathematical Physics (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention discloses a kind of management methods for storing equipment cabinets display lamp, comprising: generates corresponding node lamp control instruction according to the first state information of storage equipment;Node lamp control instruction is executed to control with the state to node lamp;The virtual condition of monitoring node lamp;Judge whether the virtual condition of the node lamp monitored meets node lamp control instruction, and when judging not meeting, re-executes node lamp control instruction.Using the scheme of the application, the inconsistent situation of the status information of display situation and storage equipment that cabinet display lamp can be effectively avoided.Present invention also provides a kind of management system, equipment and storage mediums for storing equipment cabinets display lamp, have relevant art effect.
Description
Technical field
The present invention relates to field of computer technology, more particularly to a kind of management method for storing equipment cabinets display lamp,
System, equipment and storage medium.
Background technique
In storage equipment, the LED light of shelf management plays very important effect, these display lamps are for informing user
The status information of current storage devices, such as inform the information such as the cabinet state for storing equipment, alarm, positioning.If display lamp
Display situation and store equipment status information it is inconsistent, will have a direct impact on storage equipment related service, such as can not and
Shi Baocun user data can not carry out in time troubleshooting and cause even more serious problem.
And in current scheme, usually by the direct transmitting order to lower levels of Upper system, control the light on and off of cabinet display lamp.When depositing
When storage equipment encounters special circumstances in the process of running, causes the display state of lamp to change, just may cause the display situation of lamp
Occur with the inconsistent situation of status information of storage equipment, such as power-off or firmware restart display lamp caused to go out entirely suddenly.
In conclusion how to be effectively prevented from cabinet display lamp display situation and store equipment status information it is inconsistent
The case where, it is current those skilled in the art technical problem urgently to be solved.
Summary of the invention
The object of the present invention is to provide a kind of management method for storing equipment cabinets display lamp, system, equipment and storages to be situated between
Matter, to avoid the inconsistent situation of the display situation of cabinet display lamp and the status information of storage equipment.
In order to solve the above technical problems, the invention provides the following technical scheme:
A kind of management method storing equipment cabinets display lamp, comprising:
Corresponding node lamp control instruction is generated according to the first state information of storage equipment;
The node lamp control instruction is executed to control with the state to node lamp;
Monitor the virtual condition of the node lamp;
Judge whether the virtual condition of the node lamp monitored meets the node lamp control instruction, and is judging
When not meeting, the node lamp control instruction is re-executed.
Preferably, further includes:
The cluster lamp control instruction received is executed, is controlled with the state to the cluster lamp;Wherein, the cluster
Lamp control instruction is the cluster lamp control instruction that upper state machine is generated according to the second status information;
Monitor the virtual condition of cluster lamp;
Judge whether the virtual condition of the cluster lamp monitored meets the cluster lamp control instruction, and is judging
When not meeting, the cluster lamp control instruction is re-executed;
Wherein, second status information includes the status information and other at least one storage sections of the storage equipment
The status information of point.
Preferably, the node lamp is node warning light, and the first state information according to storage equipment, which generates, to be corresponded to
Node lamp control instruction include:
The sensor temperature of the storage equipment is compared with preset temperature threshold, and stores equipment for described
Rotation speed of the fan is compared with the preset range of speeds;
When the sensor temperature exceeds the range of speeds beyond the temperature threshold and/or the rotation speed of the fan,
It generates for controlling the node lamp control instruction that the node warning light is lighting lamp state;When the sensor temperature is without departing from institute
When stating temperature threshold and the rotation speed of the fan without departing from the range of speeds, generating for controlling the node warning light is to turn off the light
The node lamp control instruction of state.
Preferably, the cluster lamp is that cabinet positions cluster lamp, and the cluster lamp control instruction is specially the upper shape
The cluster lamp control instruction that state machine is generated by following steps:
The upper state machine judge it is described storage equipment and other memory nodes constitute target cluster ID whether
Correctly, and judge whether the upper layer commands for cabinet positioning cluster lamp that the target cluster receives are complete, and sentence
Whether the storage equipment of breaking is in the target cluster, and judges whether the managed state of the target cluster is correct;
When four judgements for the cabinet positioning lamp of the upper state machine are set up, generate for controlling
State the cluster lamp control instruction that cabinet positioning cluster lamp is lighting lamp state;When being positioned for the cabinet for the upper state machine
When at least one of four judgements of lamp are invalid, generate for controlling the cluster that the cabinet positioning cluster lamp is the state of turning off the light
Lamp control instruction.
Preferably, described to execute the cluster lamp control instruction received, it is controlled, is wrapped with the state to the cluster lamp
It includes:
The cluster lamp control instruction that the upper state machine is sent is received by IPC channel;
The cluster lamp control instruction is executed, is controlled with the state to the cluster lamp.
A kind of management system storing equipment cabinets display lamp, comprising:
Node lamp status control module is controlled for generating corresponding node lamp according to the first state information of storage equipment
Instruction;
First execution module is controlled for executing the node lamp control instruction with the state to node lamp;
State monitoring module, for monitoring the virtual condition of the node lamp;
First comparison module, for judge the node lamp that the state monitoring module monitors virtual condition whether
Meet the node lamp control instruction, and when judging not meeting, controls first execution module and re-execute the section
Lighting control instruction.
Preferably, the state monitoring module is also used to monitor the virtual condition of cluster lamp;
In the management system for storing equipment cabinets display lamp further include:
Upper state machine, for generating cluster lamp control instruction according to the second status information;
Second execution module, for executing the cluster lamp control instruction received, with the state to the cluster lamp
It is controlled;
Second comparison module, for judge the cluster lamp that the state monitoring module monitors virtual condition whether
Meet the cluster lamp control instruction, and when judging not meeting, controls second execution module and re-execute the collection
Group's lamp control instruction;
Wherein, second status information includes the status information and other at least one storage sections of the storage equipment
The status information of point.
Preferably, second execution module, is specifically used for:
The cluster lamp control instruction that the upper state machine is sent is received by IPC channel;
The cluster lamp control instruction is executed, is controlled with the state to the cluster lamp.
A kind of management equipment storing equipment cabinets display lamp, comprising:
Memory, for storing computer program;
Processor realizes storage equipment cabinets display lamp described in any of the above embodiments for executing the computer program
Management method the step of.
A kind of computer readable storage medium is stored with computer program on the computer readable storage medium, described
The step of the management method of storage equipment cabinets display lamp described in any of the above embodiments is realized when computer program is executed by processor
Suddenly.
In the scheme of the application, corresponding node lamp control can be generated according to the first state information of storage equipment and is referred to
It enables, and then node lamp control instruction can be executed and controlled with the state to node lamp.It may be caused when in view of special circumstances
Change the display state of lamp, therefore the virtual condition of the application monitoring node lamp, and then may determine that the node lamp monitored
Virtual condition whether meet node lamp control instruction, when judging not meeting, node lamp control instruction can be re-executed, can
To find out, when special circumstances cause the display state of node lamp to change and do not meet the true state of storage equipment, this Shen
Scheme please can readjust the display state of node lamp.Therefore, the scheme of the application can be effectively avoided cabinet and show
The display situation of the lamp situation inconsistent with the status information of storage equipment.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.
Fig. 1 is a kind of implementation flow chart for the management method for storing equipment cabinets display lamp in the present invention;
Fig. 2 is a kind of structural schematic diagram for the management system for storing equipment cabinets display lamp in the present invention.
Specific embodiment
Core of the invention is to provide a kind of management method for storing equipment cabinets display lamp, and cabinet can be effectively avoided
The display situation of the display lamp situation inconsistent with the status information of storage equipment.
In order to enable those skilled in the art to better understand the solution of the present invention, with reference to the accompanying drawings and detailed description
The present invention is described in further detail.Obviously, described embodiments are only a part of the embodiments of the present invention, rather than
Whole embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not making creative work premise
Under every other embodiment obtained, shall fall within the protection scope of the present invention.
Referring to FIG. 1, Fig. 1 is a kind of implementation flow chart for the management method for storing equipment cabinets display lamp in the present invention,
The management method of the storage equipment cabinets display lamp may comprise steps of:
Step S101: corresponding node lamp control instruction is generated according to the first state information of storage equipment.
It should be noted that originally being deposited when executing the step S101 to step S105 of the application due to only needing to use
The status information for storing up equipment, without using other storage equipment, the i.e. status information without using other memory nodes, therefore can
Directly to execute step S101 to step S105 by lower layer procedure, without occupying the resource of upper layer procedures.
Multiple node lamps are generally included in storage equipment, are illustrated by taking a node lamp as an example in the application, for it
For his node lamp, naturally it is also possible to be managed using identical method.
Each node lamp has respective function, that is, has respective meaning when lighting.Such as the node lamp having is to be accused
Alert alarming node lamp, some node lamps are the node lamp for indicating the communications status of storage equipment, and different node lamps is corresponding
Status information is different, i.e., for node lamp described herein, store that the first state information of equipment indicates is that this is deposited
Store up the status information that will affect the display state of the node lamp in whole status informations of equipment.For example, when node lamp is to carry out
When the alarming node lamp of alarm, corresponding first state information refers to the temperature information of storage equipment, rotation speed of the fan information etc..
When node lamp, which is, indicates the node lamp of the communications status of storage equipment, corresponding first state information refers to storage equipment
Communications status information.
It should be noted node lamp described in this application, refer to the display state of the node lamp only by one
The state for storing equipment determines that is, storage equipment belonging to the cabinet by the node lamp determines.It is shown in storage equipment cabinets
In lamp, other than node lamp, there are also cluster lamp, the display state of cluster lamp is determined by least two memory nodes.
After generating corresponding node lamp control instruction according to the first state information of storage equipment, step can be executed
The operation of S102.
Step S102: it executes node lamp control instruction and is controlled with the state to node lamp.
Control information is carried in node lamp control instruction, the executive process of node lamp control instruction can be to node lamp control
System instruction is parsed, and according to the control information carried in the node lamp control instruction parsed, is carried out to the state of node lamp
Control, i.e. the display state of control node lamp.
Step S103: the virtual condition of monitoring node lamp.
When carrying out the monitoring of virtual condition of node lamp, can be usually monitored according to preset monitoring cycle, example
The monitoring of a virtual condition can be such as carried out with every 15 seconds, and monitoring result is saved in the buffer.Certainly, in other occasions
The duration of adjustable monitoring cycle does not influence reality of the invention in addition it is also possible to not use periodic monitoring mode
It applies.
Step S104: judging whether the virtual condition of the node lamp monitored meets node lamp control instruction, and is judging
When not meeting out, node lamp control instruction is re-executed.
Such as the virtual condition of the node lamp monitored is lighting lamp state, and the control letter carried in node lamp control instruction
Breath then judges that the virtual condition of the node lamp monitored does not meet node lamp control instruction to turn off the light.Correspondingly, if monitoring
To the virtual condition of node lamp be to turn off the light state, and the control information carried in node lamp control instruction is bright light, then also can
Judge that the virtual condition of the node lamp monitored does not meet node lamp control instruction.
When judging not meeting, need to re-execute node lamp control instruction.Such as since accident power-off leads to node
Lamp is turned off the light, and when judging that the state of turning off the light does not meet the bright light information in node lamp control instruction, just re-executes the node
Lamp control instruction, the node lamp that this is surprisingly turned off the light light again.
In the scheme of the application, corresponding node lamp control can be generated according to the first state information of storage equipment and is referred to
It enables, and then node lamp control instruction can be executed and controlled with the state to node lamp.It may be caused when in view of special circumstances
Change the display state of lamp, therefore the virtual condition of the application monitoring node lamp, and then may determine that the node lamp monitored
Virtual condition whether meet node lamp control instruction, when judging not meeting, node lamp control instruction can be re-executed, can
To find out, when special circumstances cause the display state of node lamp to change and do not meet the true state of storage equipment, this Shen
Scheme please can readjust the display state of node lamp.Therefore, the scheme of the application can be effectively avoided cabinet and show
The display situation of the lamp situation inconsistent with the status information of storage equipment.
In a kind of specific embodiment of the invention, can also include:
The cluster lamp control instruction received is executed, is controlled with the state to cluster lamp;Wherein, cluster lamp control refers to
Enable the cluster lamp control instruction generated for upper state machine according to the second status information;
Monitor the virtual condition of cluster lamp;
Judge whether the virtual condition of the cluster lamp monitored meets cluster lamp control instruction, and is judging not meeting
When, re-execute cluster lamp control instruction;
Wherein, the second status information includes the status information for storing equipment and the state of other at least one memory nodes
Information.
In this kind of embodiment, it is contemplated that other than node lamp, storage equipment cabinets display lamp further includes cluster lamp, and one
The state of a cluster lamp is influenced by multiple memory nodes, that is, the status information for needing to integrate multiple memory nodes can determine
In this kind of embodiment, cluster lamp control instruction is generated by upper state machine for the display state of a fixed cluster lamp.
Second status information include store equipment status information and other at least one memory nodes status information,
Such as some cluster lamp lights in storage equipment cabinets, condition is to need the storage equipment and other two specified storages
The communication of equipment is normal, then the second status information at this time is the communication information of these three storage equipment.
After upper state machine generates cluster lamp control instruction according to the second status information, which is executed by lower layer procedure
Lamp control instruction.It should be noted that the status information of multiple memory nodes is needed due to generating cluster lamp control instruction,
It needs to be completed by upper layer procedures, that is, needs upper state machine to complete, upper state machine is again by the cluster lamp control instruction of generation
Lower layer procedure is sent to execute.As can be seen that due to needing to utilize upper layer when the application only generates cluster lamp control instruction
Resource, other operations are completed by lower layer procedure, advantageously reduce the occupancy to upper resource.
When receiving cluster lamp control instruction, usually can by IPC (Inter-Process Communication, into
Being communicated between journey) channel received, i.e., and it is above-described to execute the cluster lamp control instruction received, with the state to cluster lamp
Carrying out control can be with specifically:
The cluster lamp control instruction that upper state machine is sent is received by IPC channel;
Cluster lamp control instruction is executed, is controlled with the state to cluster lamp.
Due to the virtual condition of monitoring cluster lamp in this kind of embodiment, judge that the virtual condition of the cluster lamp monitored is
It is no to meet cluster lamp control instruction, and when judging not meeting, cluster lamp control instruction is re-executed, it can be to avoid cluster lamp
Display and the inconsistent situation of status information of storage equipment.
In a kind of specific embodiment of the invention, node lamp is node warning light, and step S101 may include:
First step: the sensor temperature for storing equipment is compared with preset temperature threshold, and storage is set
Standby rotation speed of the fan is compared with the preset range of speeds;
Second step: it when sensor temperature exceeds the range of speeds beyond temperature threshold and/or rotation speed of the fan, generates and uses
In the node lamp control instruction that control node warning light is lighting lamp state;When sensor temperature is without departing from temperature threshold and fan turns
When speed is without departing from the range of speeds, the node lamp control instruction for being used for that control node warning light to be the state of turning off the light is generated.
It is illustrated by taking node warning light as an example in this kind of embodiment, node warning light is also that storage equipment cabinets are shown
The display lamp being arranged extensively in lamp.If sensor temperature exceeds the range of speeds, explanation beyond temperature threshold and/or rotation speed of the fan
It stores the current temperature anomaly of equipment or rotation speed of the fan is abnormal, the condition of corresponding points integrity point warning light, then lower layer procedure meeting
Generate the node lamp control instruction for control node warning light for lighting lamp state.It certainly, can be in other specific occasions
There are other one or more Rule of judgment to be added in the decision of display state of node warning light.
In a kind of specific embodiment of the invention, cluster lamp is that cabinet positions cluster lamp, cluster lamp control instruction tool
Body is the cluster lamp control instruction that upper state machine is generated by following steps:
Upper state machine judges whether the ID for storing the target cluster of equipment and other memory nodes composition is correct, and sentences
Whether the upper layer commands for cabinet positioning cluster lamp that disconnected target cluster receives are complete, and judge to store whether equipment is in
In target cluster, and judge whether the managed state of target cluster is correct;
When four judgements for cabinet positioning lamp of upper state machine are set up, generate for controlling cabinet positioning collection
Group's lamp is the cluster lamp control instruction of lighting lamp state;When at least one in four judgements for cabinet positioning lamp of upper state machine
When item is invalid, generate for controlling the cluster lamp control instruction that cabinet positioning cluster lamp is the state of turning off the light.
It is illustrated so that cabinet positions cluster lamp as an example in this kind of embodiment, target cluster refers to preset packet
The storage cluster of at least two memory nodes is included, i.e., in addition to this memory node of storage equipment at cabinet positioning cluster lamp
Except, at least there are one other memory nodes.The display state of cabinet positioning cluster lamp will receive every in target cluster
The influence of the state of one memory node.Specifically, being only provided with the upper shape of the storage equipment of cabinet positioning cluster lamp
State machine judges that the ID of target cluster is correct, and judges the upper layer for cabinet positioning cluster lamp that target cluster receives
Order is completely to order, and judge that the storage equipment is currently in target cluster, and judge the managed of target cluster
When state is correct, can just it generate for controlling the cluster lamp control instruction that cabinet positioning cluster lamp is lighting lamp state.
Corresponding to above method embodiment, the embodiment of the invention also provides a kind of pipes for storing equipment cabinets display lamp
Reason system can correspond to each other reference with above.
It is shown in Figure 2, for the structural schematic diagram of the management system for storing equipment cabinets display lamp a kind of in the present invention, packet
It includes:
Node lamp status control module 201, for generating corresponding node lamp according to the first state information of storage equipment
Control instruction;
First execution module 202 is controlled for executing node lamp control instruction with the state to node lamp;
State monitoring module 203, the virtual condition for monitoring node lamp;
First comparison module 204, for judging whether the virtual condition of node lamp that state monitoring module monitors meets
Node lamp control instruction, and when judging not meeting, the first execution module of control re-executes node lamp control instruction.
In a kind of specific embodiment of the invention, state monitoring module 203 is also used to monitor the practical shape of cluster lamp
State;
In the management system for storing equipment cabinets display lamp further include:
Upper state machine, for generating cluster lamp control instruction according to the second status information;
Second execution module is controlled for executing the cluster lamp control instruction received with the state to cluster lamp;
Second comparison module, for judging whether the virtual condition of cluster lamp that state monitoring module monitors meets cluster
Lamp control instruction, and when judging not meeting, the second execution module of control re-executes cluster lamp control instruction;
Wherein, the second status information includes the status information for storing equipment and the state of other at least one memory nodes
Information.
In a kind of specific embodiment of the invention, node lamp is node warning light, node lamp status control module
201, it is specifically used for:
The rotation speed of the fan that the sensor temperature for storing equipment is compared with preset temperature threshold, and will store equipment
It is compared with the preset range of speeds;
When sensor temperature exceeds the range of speeds beyond temperature threshold and/or rotation speed of the fan, generates and be used for control node
Warning light is the node lamp control instruction of lighting lamp state;When sensor temperature is without departing from temperature threshold and rotation speed of the fan is without departing from turning
When fast range, the node lamp control instruction for being used for that control node warning light to be the state of turning off the light is generated.
In a kind of specific embodiment of the invention, cluster lamp is that cabinet positions cluster lamp, and upper state machine is specific to use
In:
Judge whether the ID for storing the target cluster of equipment and other memory nodes composition is correct, and judges target cluster
Whether the upper layer commands for cabinet positioning cluster lamp received are complete, and judge to store whether equipment is in target cluster
In, and judge whether the managed state of target cluster is correct;
When four judgements for cabinet positioning lamp of upper state machine are set up, generate for controlling cabinet positioning collection
Group's lamp is the cluster lamp control instruction of lighting lamp state;When at least one in four judgements for cabinet positioning lamp of upper state machine
When item is invalid, generate for controlling the cluster lamp control instruction that cabinet positioning cluster lamp is the state of turning off the light.
In a kind of specific embodiment of the invention, the second execution module is specifically used for:
The cluster lamp control instruction that upper state machine is sent is received by IPC channel;
Cluster lamp control instruction is executed, is controlled with the state to cluster lamp.
Corresponding to above method and system embodiment, the embodiment of the invention also provides a kind of storage equipment cabinets to show
The management equipment of lamp and a kind of computer readable storage medium can correspond to each other reference with above.
The management equipment of the storage equipment cabinets display lamp may include:
Memory, for storing computer program;
Processor realizes the storage equipment cabinets display lamp in any of the above-described embodiment for executing computer program
The step of management method.
It is stored with computer program on the computer readable storage medium, is realized when computer program is executed by processor
The step of stating the management method of the storage equipment cabinets display lamp in any embodiment.Computer-readable storage medium mentioned here
Matter includes random access memory (RAM), memory, read-only memory (ROM), electrically programmable ROM, electrically erasable ROM, deposit
Any other form of storage medium well known in device, hard disk, moveable magnetic disc, CD-ROM or technical field
It should also be noted that, herein, relational terms such as first and second and the like are used merely to one
Entity or operation are distinguished with another entity or operation, without necessarily requiring or implying between these entities or operation
There are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant are intended to contain
Lid non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those
Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment
Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that
There is also other identical elements in process, method, article or equipment including the element.
Professional further appreciates that, unit described in conjunction with the examples disclosed in the embodiments of the present disclosure
And algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware and
The interchangeability of software generally describes each exemplary composition and step according to function in the above description.These
Function is implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Profession
Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered
Think beyond the scope of this invention.
Used herein a specific example illustrates the principle and implementation of the invention, and above embodiments are said
It is bright to be merely used to help understand technical solution of the present invention and its core concept.It should be pointed out that for the common of the art
, without departing from the principle of the present invention, can be with several improvements and modifications are made to the present invention for technical staff, these
Improvement and modification are also fallen within the protection scope of the claims of the present invention.
Claims (10)
1. a kind of management method for storing equipment cabinets display lamp characterized by comprising
Corresponding node lamp control instruction is generated according to the first state information of storage equipment;
The node lamp control instruction is executed to control with the state to node lamp;
Monitor the virtual condition of the node lamp;
Judge whether the virtual condition of the node lamp monitored meets the node lamp control instruction, and is judging not being inconsistent
When conjunction, the node lamp control instruction is re-executed.
2. the management method of storage equipment cabinets display lamp according to claim 1, which is characterized in that further include:
The cluster lamp control instruction received is executed, is controlled with the state to the cluster lamp;Wherein, the cluster lamp control
System instruction is the cluster lamp control instruction that upper state machine is generated according to the second status information;
Monitor the virtual condition of cluster lamp;
Judge whether the virtual condition of the cluster lamp monitored meets the cluster lamp control instruction, and is judging not being inconsistent
When conjunction, the cluster lamp control instruction is re-executed;
Wherein, second status information includes the status information and other at least one memory nodes of the storage equipment
Status information.
3. the management method of storage equipment cabinets display lamp according to claim 1, which is characterized in that the node lamp is
Node warning light, the first state information according to storage equipment generate corresponding node lamp control instruction and include:
By it is described storage equipment sensor temperature be compared with preset temperature threshold, and by it is described store equipment fan
Revolving speed is compared with the preset range of speeds;
When the sensor temperature exceeds the range of speeds beyond the temperature threshold and/or the rotation speed of the fan, generate
For controlling the node lamp control instruction that the node warning light is lighting lamp state;When the sensor temperature is without departing from the temperature
When spending threshold value and the rotation speed of the fan without departing from the range of speeds, generating for controlling the node warning light is state of turning off the light
Node lamp control instruction.
4. the management method of storage equipment cabinets display lamp according to claim 2, which is characterized in that the cluster lamp is
Cabinet positions cluster lamp, and the cluster lamp control instruction is specially the cluster lamp that the upper state machine is generated by following steps
Control instruction:
The upper state machine judges whether the ID for the target cluster that the storage equipment and other memory nodes are constituted is correct,
And whether the upper layer commands for cabinet positioning cluster lamp for judging that the target cluster receives are complete, and described in judgement
Whether storage equipment is in the target cluster, and judges whether the managed state of the target cluster is correct;
When four judgements for the cabinet positioning lamp of the upper state machine are set up, generate for controlling the machine
Case positions the cluster lamp control instruction that cluster lamp is lighting lamp state;When the upper state machine is for the cabinet positioning lamp
When at least one of four judgements are invalid, generate for controlling the cluster lamp control that the cabinet positioning cluster lamp is the state of turning off the light
System instruction.
5. the management method of storage equipment cabinets display lamp according to claim 2, which is characterized in that described to execute reception
The cluster lamp control instruction arrived, is controlled with the state to the cluster lamp, comprising:
The cluster lamp control instruction that the upper state machine is sent is received by IPC channel;
The cluster lamp control instruction is executed, is controlled with the state to the cluster lamp.
6. a kind of management system for storing equipment cabinets display lamp characterized by comprising
Node lamp status control module refers to for generating corresponding node lamp control according to the first state information of storage equipment
It enables;
First execution module is controlled for executing the node lamp control instruction with the state to node lamp;
State monitoring module, for monitoring the virtual condition of the node lamp;
First comparison module, for judging whether the virtual condition of the node lamp that the state monitoring module monitors meets
The node lamp control instruction, and when judging not meeting, it controls first execution module and re-executes the node lamp
Control instruction.
7. the management system of storage equipment cabinets display lamp according to claim 6, which is characterized in that the status monitoring
Module is also used to monitor the virtual condition of cluster lamp;
In the management system for storing equipment cabinets display lamp further include:
Upper state machine, for generating cluster lamp control instruction according to the second status information;
Second execution module is carried out for executing the cluster lamp control instruction received with the state to the cluster lamp
Control;
Second comparison module, for judging whether the virtual condition of the cluster lamp that the state monitoring module monitors meets
The cluster lamp control instruction, and when judging not meeting, it controls second execution module and re-executes the cluster lamp
Control instruction;
Wherein, second status information includes the status information and other at least one memory nodes of the storage equipment
Status information.
8. the management system of storage equipment cabinets display lamp according to claim 7, which is characterized in that described second executes
Module is specifically used for:
The cluster lamp control instruction that the upper state machine is sent is received by IPC channel;
The cluster lamp control instruction is executed, is controlled with the state to the cluster lamp.
9. a kind of management equipment for storing equipment cabinets display lamp characterized by comprising
Memory, for storing computer program;
Processor, for executing the computer program to realize such as storage equipment cabinets described in any one of claim 1 to 5
The step of management method of display lamp.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium
Program is realized when the computer program is executed by processor as storage equipment cabinets described in any one of claim 1 to 5 are aobvious
The step of showing the management method of lamp.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910684892.4A CN110502406A (en) | 2019-07-26 | 2019-07-26 | Store management method, system, equipment and the storage medium of equipment cabinets display lamp |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910684892.4A CN110502406A (en) | 2019-07-26 | 2019-07-26 | Store management method, system, equipment and the storage medium of equipment cabinets display lamp |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110502406A true CN110502406A (en) | 2019-11-26 |
Family
ID=68587529
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910684892.4A Withdrawn CN110502406A (en) | 2019-07-26 | 2019-07-26 | Store management method, system, equipment and the storage medium of equipment cabinets display lamp |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110502406A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2022052407A1 (en) * | 2020-09-11 | 2022-03-17 | 苏州浪潮智能科技有限公司 | Device control method and system, electronic device, and storage medium |
-
2019
- 2019-07-26 CN CN201910684892.4A patent/CN110502406A/en not_active Withdrawn
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2022052407A1 (en) * | 2020-09-11 | 2022-03-17 | 苏州浪潮智能科技有限公司 | Device control method and system, electronic device, and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110224894B (en) | Intelligent substation process level network monitoring management system | |
KR102572697B1 (en) | Apparatus and method for power management of a system comprising a plurality of device | |
US11146457B2 (en) | Train network node and CANopen-based train network node monitoring method | |
CN103354503A (en) | Cloud storage system capable of automatically detecting and replacing failure nodes and method thereof | |
US20120005609A1 (en) | Management system and management system control method | |
CN107360045A (en) | The monitoring method and device of a kind of storage cluster system | |
CN107145410A (en) | After a kind of system exception power down it is automatic on establish the method, system and equipment of machine by cable | |
CN109375750A (en) | Control method, device, medium and the equipment of storage server fan cooling group | |
CN108845814A (en) | A kind of guard method of firmware update, device and computer readable storage medium | |
CN107220197A (en) | A kind of dual control storage device master/standby control method and device | |
CN107247647A (en) | BBU working state detecting methods and system in a kind of storage system | |
CN109240894A (en) | A kind of method, system and the computer readable storage medium of hard disk lighting | |
CN110502406A (en) | Store management method, system, equipment and the storage medium of equipment cabinets display lamp | |
CN109066974A (en) | Substation's status information capture method and device | |
CN112389352A (en) | Finished automobile static current management system and method | |
CN203289491U (en) | Cluster storage system capable of automatically repairing fault node | |
CN108833189A (en) | A kind of memory node management system and method | |
CN107911229A (en) | Based reminding method, device, electronic equipment and the storage medium that operating status changes | |
CN109582626B (en) | Method, device and equipment for accessing bus and readable storage medium | |
CN108173786B (en) | Management monitoring system and method | |
CN108920329A (en) | Monitoring method, device, system and the computer readable storage medium of disk state | |
CN104461841A (en) | Working state monitoring method and monitoring equipment | |
CN112116308B (en) | Automatic generation method, system and device of operation ticket and storage medium | |
CN108255678A (en) | Monitoring nodes method, apparatus and storage medium based on Rack whole machine cabinets | |
CN109218464B (en) | Method, system, equipment and storage medium for reporting address conflict of parallel modules |
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 | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20191126 |
|
WW01 | Invention patent application withdrawn after publication |