CN104980299B - Equipment state indicating means and device - Google Patents
Equipment state indicating means and device Download PDFInfo
- Publication number
- CN104980299B CN104980299B CN201410153096.5A CN201410153096A CN104980299B CN 104980299 B CN104980299 B CN 104980299B CN 201410153096 A CN201410153096 A CN 201410153096A CN 104980299 B CN104980299 B CN 104980299B
- Authority
- CN
- China
- Prior art keywords
- state
- indication
- condition
- indication state
- component
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 claims abstract description 21
- 238000001514 detection method Methods 0.000 claims abstract description 18
- 230000007704 transition Effects 0.000 claims description 16
- 230000008859 change Effects 0.000 claims description 10
- 230000007246 mechanism Effects 0.000 claims description 7
- 239000013307 optical fiber Substances 0.000 description 14
- 238000010586 diagram Methods 0.000 description 11
- 230000003287 optical effect Effects 0.000 description 11
- 238000010276 construction Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 238000006467 substitution reaction Methods 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 238000004883 computer application Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Landscapes
- Computer And Data Communications (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention discloses a kind of equipment state indicating means and device, wherein, the described method includes:The current state of component in the equipment detected, the current state of the component in received external command and detected equipment generate trigger condition;The original state of component in detection device;According to the original state and the trigger condition, the secondary state of the component in the equipment is determined;The secondary state and original state of component in the equipment determine the end-state of the component in the equipment, and export instruction state corresponding with the end-state of the component in the equipment.The embodiment of the present invention can effectively avoid cell board port led logic collision problem, combine the cell board port considered in equipment, cell board and machine frame instruction simultaneously, so that these three status indicator lamps form the uniformity of indicative function, i.e. same state expresses similar meaning, and same meaning has the similar form of expression.
Description
Technical Field
The present invention relates to an equipment state indication technology, and in particular, to an equipment state indication method and apparatus in an intelligent Optical Distribution Network (ODN).
Background
An intelligent Optical Distribution Network (ODN) uniquely identifies an Optical fiber connector by using an electronic tag, and thus an intelligent ODN system is implemented. The main equipment types of the conventional ODN are an Optical Distribution Frame (ODF), an Optical Cable cross connecting Cabinet (OCC) for communicating Optical Cable, and an Optical fiber Distribution Box (ODB), which mainly implement an Optical fiber Distribution or splitting function. In terms of equipment location, ODF equipment is typically placed in a machine room, OCC equipment is typically placed on the roadside, and ODB equipment is typically placed indoors, in a corridor, or the like. The conventional ODN can only perform general survey, combing or construction on optical fiber resources in a manual mode, when the amount of the optical fiber resources of the same node equipment is large, the condition of disordered utilization of the optical fiber resources is easy to occur, the problems of low accuracy of the optical fiber resources, low resource utilization rate and long construction period exist, the optical fiber resources are wasted, the customer satisfaction is reduced, and the like, and the conventional ODN has no automatic management means for the long-term state.
The intelligent ODN establishes an intelligent management and operation construction process through the electronic tag identification, a main control unit, an electronic tag read-write circuit or an intelligent light splitting module are introduced on the basis of the traditional ODN equipment, and the electronic tag is introduced on the optical fiber connecting head, so that the intelligent ODN equipment is realized. As shown in fig. 1, the intelligent ODN system is composed of three major components, namely an intelligent ODN device, an intelligent management terminal and an intelligent ODN management system, wherein the intelligent ODN device can be divided into three major components, namely an intelligent optical distribution frame, an intelligent optical cable cross-connecting box and an intelligent optical cable distribution box. The intelligent ODN equipment can effectively improve the utilization rate of optical fiber resources, shorten the construction period and improve the accuracy of resource management.
The existing intelligent ODN indicating system does not consider the situation that the port indicating lamp of the intelligent ODN unit board has logic conflict, if various logic instructions are realized, the system can be executed according to the various logic instructions, the display result can mislead constructors, and for example, when the indicating lamp has normally-on and flashing states at the same time, normally-on logic is finally expressed. The logic of the existing intelligent ODN indicating system among the ports of the unit board, the unit board and the frame indicating lamps lacks correlation, and simultaneously, the logic conflict problem of the unit board and the frame indicating lamps is caused by the states of the different port indicating lamps of the unit board. The judgment of operation and maintenance personnel is seriously influenced by the instruction confusion caused by logic conflict, and the intelligent ODN instruction system loses the instruction function which should be realized.
No effective solution to the above problems exists.
Disclosure of Invention
Embodiments of the present invention provide a method and an apparatus for indicating a device status to solve the above technical problem, so as to accurately indicate a real status of a single board in each device according to the status of the single board.
The technical scheme of the embodiment of the invention is realized as follows:
a method for indicating device status, the method comprising:
generating a trigger condition according to the received external instruction and the detected current state of the component in the equipment;
detecting an initial state of a component in the device;
determining a secondary state of a component in the device according to the initial state and the trigger condition;
and determining a final state of the component in the equipment according to the secondary state and the initial state of the component in the equipment, and outputting an indication state corresponding to the final state of the component in the equipment.
Preferably, the trigger condition includes:
condition B: parts in the equipment are to be constructed; or,
condition C: component positioning in the device; or,
condition D: component errors in the device.
Preferably, the indication state comprises at least one of the following states:
indicating a state a: the indicator light is normally off;
indication state b: the indicator light is always on;
indicating the state c: slowly flashing an indicator light;
indication state d: the indicator light flashes.
Preferably, the determining the final state of the component in the device according to the secondary state and the initial state of the component in the device comprises:
when the initial state is an indication state a, if a condition B occurs, the indication state a is transferred to an indication state B, if a condition C occurs, the indication state a is transferred to an indication state C, and if a condition D occurs, the indication state a is transferred to an indication state D; when the state is in the indication state B, if the condition B disappears, the state returns to the indication state a, if the condition B is kept and the conditions C and D do not occur, the indication state B is kept, if the condition C occurs, the state is shifted from the indication state B to the indication state C, and if the condition D occurs, the state is shifted from the indication state B to the indication state D; in the indication state C and the indication state D, if the condition C disappears, the display returns to the indication state a or the indication state b, and if the condition D disappears, the display returns to the indication state a or the indication state b or the indication state C.
Preferably, the priority of the indication states is in the order from high to low: indication state d, indication state c, indication state b and indication state a;
when it is determined that the states of the components in the device correspond to two or more indication states, an indication state with the highest priority is output.
An apparatus status indication device comprising: first detecting element, receiving element, generating element, second detecting element, first determining element, second determining element and output unit, wherein:
a first detection unit for detecting a current state of a component in the apparatus;
a receiving unit configured to receive an external instruction and a current state of a component in the apparatus detected by the first detecting unit;
a generating unit, configured to generate a trigger condition according to the external instruction and a current state of a component in the device;
a second detection unit for detecting an initial state of a component in the apparatus;
a first determining unit, configured to determine a secondary state of a component in the device according to the initial state and the trigger condition;
a second determination unit for determining a final state of a component in the device according to the secondary state and the initial state of the component in the device;
an output unit for outputting an indication state corresponding to a final state of a component in the apparatus.
Preferably, the trigger condition includes:
condition B: parts in the equipment are to be constructed; or,
condition C: component positioning in the device; or,
condition D: component errors in the device.
Preferably, the indication state includes:
indicating a state a: the indicator light is normally off;
indication state b: the indicator light is always on;
indicating the state c: slowly flashing an indicator light;
indication state d: the indicator light flashes.
Preferably, the second determining unit is further configured to:
when the initial state is an indication state a, if a condition B occurs, the indication state a is transferred to an indication state B, if a condition C occurs, the indication state a is transferred to an indication state C, and if a condition D occurs, the indication state a is transferred to an indication state D; when the state is in the indication state B, if the condition B disappears, the state returns to the indication state a, if the condition B is kept and the conditions C and D do not occur, the indication state B is kept, if the condition C occurs, the state is shifted from the indication state B to the indication state C, and if the condition D occurs, the state is shifted from the indication state B to the indication state D; in the indication state C and the indication state D, if the condition C disappears, the display returns to the indication state a or the indication state b, and if the condition D disappears, the display returns to the indication state a or the indication state b or the indication state C.
Preferably, the priority of the indication states is in the order from high to low: indication state d, indication state c, indication state b and indication state a;
the second determination unit is further configured to output an indication state with the highest priority when it is determined that the states of the components in the device correspond to more than two indication states.
According to the embodiment of the invention, the detected current state of the component in the equipment generates a trigger condition according to the received external instruction and the detected current state of the component in the equipment; detecting an initial state of a component in the device; determining a secondary state of a component in the device according to the initial state and the trigger condition; and determining a final state of the component in the equipment according to the secondary state and the initial state of the component in the equipment, and outputting an indication state corresponding to the final state of the component in the equipment.
The embodiment of the invention can effectively avoid the problem of logic conflict of the indicator lights of the ports of the unit boards, and simultaneously, the indication of the ports of the unit boards, the unit boards and the machine frame in the equipment is considered in a combined manner, so that the three status indicator lights form the consistency of the indication action, namely, the same status expresses similar meanings, and the same meaning has similar expression forms. Great convenience is brought to constructors of the optical cable network, and the intelligent ODN indication is clearer and more definite.
Drawings
FIG. 1 is a schematic diagram of the structure of an intelligent ODN system;
FIG. 2 is a flow chart of a device status indication method according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a configuration of an apparatus status indicating device according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a specific implementation of the device status indication apparatus according to the embodiment of the present invention;
FIG. 5 is a schematic diagram of a state transition of a port indicator of a cell board according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of a state transition of an indicator light of a cell board according to an embodiment of the present invention;
fig. 7 is a schematic diagram of a state transition of a frame indicator light according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail below with reference to the accompanying drawings by way of examples.
Fig. 2 is a flowchart of an apparatus status indication method according to an embodiment of the present invention, and as shown in fig. 2, the apparatus status indication method according to the embodiment of the present invention includes the following steps:
step 201, generating a trigger condition according to the received external instruction and the detected current state of the component in the equipment;
the external command is usually a command from an intelligent management terminal or an intelligent ODN management system.
The current state of a component in a device is primarily the occurrence of an event associated with a light change on the current cell board port, cell board, or subrack.
The trigger conditions include:
condition B: parts in the equipment are to be constructed; or,
condition C: component positioning in the device; or,
condition D: component errors in the device.
The condition B is a guiding prompt, and ports to be constructed appear and comprise optical fibers to be inserted and optical fibers to be pulled out;
the condition C is a positioning prompt, and the intelligent ODN management terminal or the management system initiates an indication correct port, an indication opposite terminal port and an indication on-line local terminal port;
condition D is an alarm prompt, which includes that a unit board port is inserted with a tag (connector) incorrectly, a non-target port is inserted, or a port is accidentally pulled out of a tag, the port status is inconsistent with the database, and the port is faulty.
Step 202, detecting an initial state of a component in the equipment;
in this step, the states of the cell plate port, cell plate, and frame indicator light are mainly detected, i.e., as the initial states of the components in the device.
Step 203, determining the secondary state of the component in the equipment according to the initial state and the trigger condition;
in this step, according to the state (initial state) and trigger condition of obtaining cell board port, cell board and frame indicator light, the state (secondary state) that cell board port, cell board and frame indicator light should change is determined, according to initial state and secondary state, the final state of cell board port, cell board and frame indicator light is determined, and according to the final state, the state change of cell board port, cell board and frame indicator light is controlled.
And step 204, determining the final state of the components in the equipment according to the secondary state and the initial state of the components in the equipment, and outputting an indication state corresponding to the final state of the components in the equipment.
Wherein the indication state comprises at least one of:
indicating a state a: the indicator light is normally off;
indication state b: the indicator light is always on;
indicating the state c: slowly flashing an indicator light;
indication state d: the indicator light flashes.
Specifically, the determining a final state of a component in the device according to a secondary state and an initial state of the component in the device includes:
when the initial state is an indication state a, if a condition B occurs, the indication state a is transferred to an indication state B, if a condition C occurs, the indication state a is transferred to an indication state C, and if a condition D occurs, the indication state a is transferred to an indication state D; when the state is in the indication state B, if the condition B disappears, the state returns to the indication state a, if the condition B is kept and the conditions C and D do not occur, the indication state B is kept, if the condition C occurs, the state is shifted from the indication state B to the indication state C, and if the condition D occurs, the state is shifted from the indication state B to the indication state D; in the indication state C and the indication state D, if the condition C disappears, the display returns to the indication state a or the indication state b, and if the condition D disappears, the display returns to the indication state a or the indication state b or the indication state C.
When the indication state is only a part of the four indication states, the transition between the indication states and the trigger condition thereof are completely corresponding, that is, when the trigger condition is triggered, the corresponding indication states are correspondingly transitioned.
Wherein, the priority of the indication state is from high to low: indication state d, indication state c, indication state b and indication state a;
when it is determined that the states of the components in the device correspond to two or more indication states, an indication state with the highest priority is output.
Fig. 3 is a schematic diagram of a composition structure of an apparatus state indicating device according to an embodiment of the present invention, and as shown in fig. 3, the apparatus state indicating device according to the embodiment of the present invention includes a first detecting unit 30, a receiving unit 31, a generating unit 32, a second detecting unit 33, a first determining unit 34, a second determining unit 35, and an output unit 36, where:
a first detection unit 30 for detecting a current state of a component in the apparatus;
a receiving unit 31 for receiving an external instruction and the current state of the component in the apparatus detected by the first detecting unit;
a generating unit 32, configured to generate a trigger condition according to the external instruction and a current state of a component in the device;
a second detection unit 33 for detecting an initial state of a component in the apparatus;
a first determining unit 34, configured to determine a secondary state of a component in the device according to the initial state and the trigger condition;
a second determining unit 35, configured to determine a final state of the component in the device according to the secondary state and the initial state of the component in the device;
an output unit 36 for outputting an indication state corresponding to the final state of the components in the apparatus.
In the device status indication apparatus shown in fig. 3, the trigger condition includes:
condition B: parts in the equipment are to be constructed; or,
condition C: component positioning in the device; or,
condition D: component errors in the device.
In the device status indication apparatus shown in fig. 3, the indication status includes at least one of the following statuses:
indicating a state a: the indicator light is normally off;
indication state b: the indicator light is always on;
indicating the state c: slowly flashing an indicator light;
indication state d: the indicator light flashes.
In the device status indication apparatus shown in fig. 3, the second determining unit 35 is further configured to:
when the initial state is an indication state a, if a condition B occurs, the indication state a is transferred to an indication state B, if a condition C occurs, the indication state a is transferred to an indication state C, and if a condition D occurs, the indication state a is transferred to an indication state D; when the state is in the indication state B, if the condition B disappears, the state returns to the indication state a, if the condition B is kept and the conditions C and D do not occur, the indication state B is kept, if the condition C occurs, the state is shifted from the indication state B to the indication state C, and if the condition D occurs, the state is shifted from the indication state B to the indication state D; in the indication state C and the indication state D, if the condition C disappears, the display returns to the indication state a or the indication state b, and if the condition D disappears, the display returns to the indication state a or the indication state b or the indication state C.
The priority of the indication states is from high to low as follows: indication state d, indication state c, indication state b and indication state a;
the second determination unit 35 is further configured to output an indication state with the highest priority when it is determined that the states of the components in the apparatus correspond to two or more indication states.
The foregoing device status indication method and apparatus according to the embodiments of the present invention are further described in detail with reference to the following specific examples.
The embodiment of the invention provides an equipment state indicating mode, which can realize the combined control of the unit board port, the unit board and the frame indicating lamp, solve the problem of logic conflict of the unit board port indicating lamp and the problem of logic conflict of the unit board and the frame indicating lamp, realize the linkage control of the unit board port, the unit board and the frame indicating lamp, and ensure that an intelligent ODN indicating system is clearer and has more guiding significance.
The device state indicating device of the embodiment of the invention can be realized by the following specific structure.
Fig. 4 is a schematic diagram of a specific implementation structure of the device status indication apparatus according to the embodiment of the present invention, and as shown in fig. 4, the device status indication apparatus includes a CPU, an event detection unit, and an indicator light control module, where the indicator light control module mainly includes a logic control unit, a status detection/storage unit, and a priority determination unit.
The CPU is used for receiving external input instructions (usually, the instructions are originated from an intelligent management terminal or an intelligent ODN management system), and simultaneously, acquiring events related to indicator light changes appearing on the current unit board port, unit board or machine frame from the event detection unit and inputting triggering conditions to the indicator light logic control unit.
And the event detection unit is used for detecting events or alarms occurring on each port of the unit board, the unit board or the machine frame. For example, the event may be a state presented by a port to be constructed, and the alarm may be a prompt state of port mis-plugging or mis-plugging.
In the indicating lamp control module, an indicating lamp logic control unit is a core part of the intelligent ODN indicating control module and is used for forming indicating lamp state change logic and controlling the state change of various indicating lamps. The indicating lamp logic control unit acquires the states (namely initial states) of the unit board port, the unit board and the frame indicating lamp from the state detection/storage unit, gives the states (namely secondary states) of the unit board port, the unit board and the frame indicating lamp which should change according to the trigger condition, gives the initial states and the secondary states to the priority judging unit, acquires the final states of the unit board port, the unit board and the frame indicating lamp from the priority judging unit, and controls the state changes of the unit board port, the unit board and the frame indicating lamp according to the final states.
And the state detection/storage unit is used for detecting and storing the states of the cell board port, the cell board and the frame indicator lamp. When the state is stored, the default states of the unit board port, the unit board and the machine frame indicator lamp are initial states, the final state sent by the indicator lamp logic control unit is received, and the indicator lamp state stored in the database is updated according to the final state.
And the priority judging unit is used for determining the final states of the unit board port, the unit board and the machine frame indicator lamp according to the initial states and the secondary states of the unit board port, the unit board and the machine frame indicator lamp sent by the indicator lamp logic control unit and a set logic mechanism (namely a state transition mechanism) and outputting a judging result to the indicator lamp logic control unit.
In the embodiment of the invention, the frame indicator lamp can be present or absent.
In the embodiment of the invention, the indicator lamp logic control unit and the CPU, or the state detection/storage unit and the priority judgment unit can be combined.
Hereinafter, a state transition mechanism adopted by the priority determination unit will be described.
Fig. 5 is a schematic diagram of state transition of the unit plate port indicator lamp. The indication state a is initially set, the display is in a default state, and when the condition B/C/D does not occur, the indication state a is still kept; if the condition B occurs, the indication state a is transferred to an indication state B; when the state is in the indication state B, if the condition B disappears, the state returns to the indication state a, if the condition B is kept and the conditions C and D do not occur, the indication state B is kept, if the condition C occurs, the state is shifted from the indication state B to the indication state C, and if the condition D occurs, the state is shifted from the indication state B to the indication state D; similarly, there is a state transition mode as shown in the figure when in the indication state C and the indication state D, except that when the condition C or the condition D disappears, the previous state should be returned, that is, when the condition C disappears, the previous state can be the indication state a/b, and when the condition D disappears, the previous state can be the indication state a/b/C. With the state transition mechanism shown in fig. 4, the priority order of each state is: indicating state d, indicating state c, indicating state b and indicating state a. The conditions B, C and D are different classifications for the cell board ports from the external command input or event detection unit, and the condition D is an external input or event requiring high priority processing.
As an implementation, in the implementation of the port indication of the cell board of the intelligent ODN device, four states may be:
the indicating state a is that the indicating lamp is normally off;
the indicating state b is that the indicating lamp is normally on;
the indicating state c is that the indicating lamp slowly flashes;
the indication state d is the flash of the indicator lamp.
The conditions under which the state occurs may be:
the condition B is a guiding prompt, and ports to be constructed appear and comprise optical fibers to be inserted and optical fibers to be pulled out;
the condition C is a positioning prompt, and the intelligent ODN management terminal or the management system initiates an indication correct port, an indication opposite terminal port and an indication on-line local terminal port;
condition D is an alarm prompt, which includes that a unit board port is inserted with a tag (connector) incorrectly, a non-target port is inserted, or a port is accidentally pulled out of a tag, the port status is inconsistent with the database, and the port is faulty.
Fig. 6 is a schematic diagram of state transition of the unit plate indicator light. Initially in state O and is a default state, when condition P/B/C, Q/D does not occur, state O is still maintained; if the condition P/B/C occurs, the state O is transferred to the state P; when the state is in the state P, if the condition P/B/C disappears, the state returns to the state O, if the condition P/B/C is kept and the condition Q/D does not occur, the state P is kept, and if the condition Q/D occurs, the state is transferred from the state P to the state Q; in the state Q, if the condition Q/D is held, the state Q is held, and if the condition Q/D disappears, the previous state is returned to, and the previous state that can be returned to is the state O and the state P. The conditions P and Q are different classifications for the unit board from the external command input or event detecting unit, and the condition Q is an external input or event requiring high priority processing. The state transition of the unit board indicator light is closely related to the state transition of the unit board port indicator light.
As an implementation, in the implementation of the indication of the unit board of the intelligent ODN device, three states may be:
the status O is that the indicator light is normally off;
the state P is that the indicator light is normally on;
the state Q is that the indicator light flickers;
the conditions under which the state occurs may be:
the condition P is a guiding and positioning prompt, and the unit board with operation, such as unit board upgrading, unit board positioning and the like;
the condition Q is an alarm-type prompt including other faults on the cell board other than the port fault, such as a circuit board fault, etc.
FIG. 7 is a schematic diagram of the state transition of the frame indicator light. The state R is initially and is a default state, and when the condition S/P/B/C, T/Q/D does not occur, the state R is still maintained; if the condition S/P/B/C occurs, the state R is transferred to the state S; when the state is S, if the condition S/P/B/C disappears, the state returns to the state R, if the condition S/P/B/C is kept and the condition T/Q/D does not occur, the state S is kept, and if the condition T/Q/D occurs, the state S is transferred to the state T; when the state is T, if the condition T/Q/D is kept, the state T is kept, if the condition T/Q/D disappears, the previous state is returned, and the previous state which can be returned is the state R and the state S.
As an implementation, in the implementation of the intelligent ODN equipment subrack indication, three states may be:
the state R is that the indicator light is normally off;
the state S is that the indicator light is normally on;
the state T is that the indicator light flickers;
the conditions under which the state occurs may be:
the condition S is guidance and positioning prompt, and the machine frame with operation, such as main control unit upgrading, integral equipment positioning and the like;
the condition T is an alarm prompt, which includes a fault outside the intelligent ODN device unit board, such as a master control unit fault, a hub unit fault, and the like.
On a physical entity, the above various states may be implemented on a plurality of physical entities.
The technical schemes described in the embodiments of the present invention can be combined arbitrarily without conflict.
In the embodiments provided in the present invention, it should be understood that the disclosed method, apparatus and electronic device may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all the functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus an application function unit.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: a mobile storage device, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Alternatively, the integrated unit according to the embodiment of the present invention may be stored in a computer-readable storage medium if it is implemented in the form of an application function module and sold or used as a stand-alone product. Based on such understanding, the technical solutions of the embodiments of the present invention may be embodied in the form of a computer application product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: a mobile storage device, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The scope of the present invention is not limited thereto, and those skilled in the art can easily conceive of changes and substitutions within the technical scope of the present invention, and all such changes and substitutions are intended to be included within the scope of the present invention.
Claims (10)
1. A method for indicating device status, the method comprising:
generating a trigger condition according to the received external instruction and the detected event related to the change of the indicator light, which occurs currently in the component in the equipment;
detecting an initial state of a component in the device;
determining a secondary state of a component in the device according to the initial state and the trigger condition;
and determining the final state of the component in the equipment according to the secondary state, the initial state and the state transition mechanism of the component in the equipment, and outputting an indication state corresponding to the final state of the component in the equipment.
2. The method of claim 1, wherein the trigger condition comprises:
condition B: parts in the equipment are to be constructed; or,
condition C: component positioning in the device; or,
condition D: component errors in the device.
3. The method of claim 2, wherein the indication status comprises at least one of:
indicating a state a: the indicator light is normally off;
indication state b: the indicator light is always on;
indicating the state c: slowly flashing an indicator light;
indication state d: the indicator light flashes.
4. The method of claim 3, wherein determining the final state of the component in the device based on the secondary state, the initial state, and the state transition mechanism of the component in the device comprises:
when the initial state is an indication state a, if a condition B occurs, the indication state a is transferred to an indication state B, if a condition C occurs, the indication state a is transferred to an indication state C, and if a condition D occurs, the indication state a is transferred to an indication state D;
when the state is in the indication state B, if the condition B disappears, the state returns to the indication state a, if the condition B is kept and the conditions C and D do not occur, the indication state B is kept, if the condition C occurs, the state is shifted from the indication state B to the indication state C, and if the condition D occurs, the state is shifted from the indication state B to the indication state D;
in the indication state C and the indication state D, if the condition C disappears, the display returns to the indication state a or the indication state b, and if the condition D disappears, the display returns to the indication state a or the indication state b or the indication state C.
5. The method of claim 4, wherein the priority of the indication states is in the order of: indication state d, indication state c, indication state b and indication state a;
when it is determined that the states of the components in the device correspond to two or more indication states, an indication state with the highest priority is output.
6. An apparatus for indicating a status of a device, the apparatus comprising: first detecting element, receiving element, generating element, second detecting element, first determining element, second determining element and output unit, wherein:
the device comprises a first detection unit, a second detection unit and a control unit, wherein the first detection unit is used for detecting an event related to indicator lamp change, which occurs at present in a component in the device;
the receiving unit is used for receiving an external instruction and an event which is detected by the first detection unit and is currently generated by a component in the equipment and related to indicator lamp change;
the generating unit is used for generating a triggering condition according to the external instruction and an event which is currently generated by a component in the equipment and is related to indicator lamp change;
a second detection unit for detecting an initial state of a component in the apparatus;
a first determining unit, configured to determine a secondary state of a component in the device according to the initial state and the trigger condition;
a second determining unit, configured to determine a final state of a component in the device according to a secondary state, an initial state, and a state transition mechanism of the component in the device;
an output unit for outputting an indication state corresponding to a final state of a component in the apparatus.
7. The apparatus of claim 6, wherein the trigger condition comprises:
condition B: parts in the equipment are to be constructed; or,
condition C: component positioning in the device; or,
condition D: component errors in the device.
8. The apparatus of claim 7, wherein the indication state comprises at least one of:
indicating a state a: the indicator light is normally off;
indication state b: the indicator light is always on;
indicating the state c: slowly flashing an indicator light;
indication state d: the indicator light flashes.
9. The apparatus of claim 8, wherein the second determining unit is further configured to:
when the initial state is an indication state a, if a condition B occurs, the indication state a is transferred to an indication state B, if a condition C occurs, the indication state a is transferred to an indication state C, and if a condition D occurs, the indication state a is transferred to an indication state D; when the state is in the indication state B, if the condition B disappears, the state returns to the indication state a, if the condition B is kept and the conditions C and D do not occur, the indication state B is kept, if the condition C occurs, the state is shifted from the indication state B to the indication state C, and if the condition D occurs, the state is shifted from the indication state B to the indication state D; in the indication state C and the indication state D, if the condition C disappears, the display returns to the indication state a or the indication state b, and if the condition D disappears, the display returns to the indication state a or the indication state b or the indication state C.
10. The apparatus of claim 9, wherein the priority of the indication states is in order from high to low as: indication state d, indication state c, indication state b and indication state a;
the second determination unit is further configured to output an indication state with the highest priority when it is determined that the states of the components in the device correspond to more than two indication states.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410153096.5A CN104980299B (en) | 2014-04-11 | 2014-04-11 | Equipment state indicating means and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410153096.5A CN104980299B (en) | 2014-04-11 | 2014-04-11 | Equipment state indicating means and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104980299A CN104980299A (en) | 2015-10-14 |
CN104980299B true CN104980299B (en) | 2018-05-18 |
Family
ID=54276431
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410153096.5A Active CN104980299B (en) | 2014-04-11 | 2014-04-11 | Equipment state indicating means and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104980299B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1705309A (en) * | 2004-06-02 | 2005-12-07 | 华为技术有限公司 | Network equipment management device |
CN101262364A (en) * | 2008-02-28 | 2008-09-10 | 福建星网锐捷网络有限公司 | A device status and information display method and device |
-
2014
- 2014-04-11 CN CN201410153096.5A patent/CN104980299B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1705309A (en) * | 2004-06-02 | 2005-12-07 | 华为技术有限公司 | Network equipment management device |
CN101262364A (en) * | 2008-02-28 | 2008-09-10 | 福建星网锐捷网络有限公司 | A device status and information display method and device |
Also Published As
Publication number | Publication date |
---|---|
CN104980299A (en) | 2015-10-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106603265B (en) | Management method, network device, and non-transitory computer-readable medium | |
CN103473167B (en) | The fault display method of server and device | |
US8635484B2 (en) | Event based correlation of power events | |
KR101357900B1 (en) | Network cable and infra-structure intelligent management system and method thereof | |
US10171252B2 (en) | Data determination apparatus, data determination method, and computer readable medium | |
US9916331B2 (en) | Method and device for automatically processing static test data of rail transit vehicle | |
CN105808407B (en) | Method, equipment and the equipment management controller of management equipment | |
CN104160657A (en) | Intelligent infrastructure management user device | |
WO2018201615A1 (en) | Testing method and system for use with battery management unit | |
CN107749778B (en) | A kind of communications optical cable fault early warning method and device | |
CN109032888A (en) | A kind of server start-up course fault detection method, device and controlled terminal | |
CN103135732A (en) | Server cabinet system | |
US12081920B2 (en) | Systems and methods for infrastructure configuration management | |
WO2017101646A1 (en) | Hardware fault detection method and apparatus for base station single board | |
CN112202613B (en) | Optical cable fault processing method, device, equipment and computer readable storage medium | |
CN104980299B (en) | Equipment state indicating means and device | |
CN109995428A (en) | The optical path detection method and device of passive optical network | |
CN109980789B (en) | State detection method, device, equipment and medium of direct current control protection system | |
CN108829570A (en) | Server node information display control method, device, system and storage medium | |
CN103257909A (en) | Baseboard management controller (BMC)-based automated testing method and system for light emitting diode (LED) | |
CN109753396A (en) | A kind of cable self checking method, system and the server of storage system | |
US10282948B2 (en) | Device for indicating a datacenter rack among a plurality of datacenter racks | |
JP2018186503A (en) | Determination device | |
CN111007815B (en) | Centralized control host supporting dual-computer hot standby | |
CN107529099A (en) | A kind of electrical harnesses frame control system based on RFID |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |