indicator lamp health detection device and use method thereof

文档序号:1719206 发布日期:2019-12-17 浏览:19次 中文

阅读说明:本技术 一种指示灯健康检测的装置及其使用方法 (indicator lamp health detection device and use method thereof ) 是由 王麒 于 2019-09-25 设计创作,主要内容包括:本发明涉及了一种指示灯健康检测的装置及使用方法,其中该装置包括:指示灯;功能控制装置,该功能控制装置配置为发出针对该指示灯的功能指令;测试接口,该测试接口配置为接收输入的测试信号;解析装置,该解析装置连接到测试接口,配置为解析测试信号并发出测试指令;通路选择装置,该通路选择装置的输出端与指示灯相连接,第一输入端与功能控制装置相连接并且第二输入端与解析装置相连接,其中通路选择装置默认选通第一输入端与输出端的通路使得指示灯根据功能指令进行状态指示,并且配置为响应于接收到测试指令,选通第二输入端与输出端的通路使得指示灯根据测试指令进行健康检测。利用该装置针对所有的状态指示灯根据需要进行健康检测。(The invention relates to a device for health detection of an indicator light and a using method thereof, wherein the device comprises: an indicator light; a function control device configured to issue a function instruction for the indicator light; a test interface configured to receive an input test signal; the analysis device is connected to the test interface, and is configured to analyze the test signal and send a test instruction; and the path selection device is used for gating the path of the first input end and the output end by default so that the indicator lamp performs state indication according to the functional instruction, and is configured to gate the path of the second input end and the output end so that the indicator lamp performs health detection according to the test instruction in response to receiving the test instruction. The device is utilized to carry out health detection on all the status indicator lamps according to the needs.)

1. An apparatus for indicating light health detection, the apparatus comprising:

An indicator light;

A function control device configured to issue a function instruction for the indicator light;

A test interface configured to receive an input test signal;

The analysis device is connected to the test interface and is configured to analyze the test signal and send a test instruction;

a path selection device, an output end of the path selection device is connected with the indicator light, a first input end of the path selection device is connected with the function control device, and a second input end of the path selection device is connected with the analysis device,

wherein the path selection device is configured to gate the path between the first input end and the output end by default so that the indicator lamp performs state indication according to the functional instruction, and is configured to gate the path between the second input end and the output end so that the indicator lamp performs health detection according to the test instruction in response to receiving the test instruction.

2. The apparatus of claim 1, wherein the parsing means is a decoder, and the test interface is a GPIO interface, wherein the decoder is configured to receive a serial test signal input from the GPIO interface and parse the test signal into parallel test instructions.

3. The apparatus of claim 2, wherein the decoder is one of a CPLD, a single chip, or an application specific integrated circuit.

4. The apparatus of claim 1, wherein the parsing means is a BMC and the test interface is an IPMI interface, and wherein the BMC is configured to receive a test signal input from the IPMI interface and parse the test signal into a parallel test instruction.

5. The apparatus of claim 1 wherein said path selection means is an alternative data selector.

6. the apparatus of claim 5, wherein the one-of-two data selector comprises at least one of a plurality of individual multiplexers or a multi-channel integrated multiplexer or a CPLD.

7. The apparatus of claim 1, wherein the path selection device is configured to gate the path between the first input and the output when a control pin is turned on low, and to gate the path between the second input and the output when the control pin is turned on high.

8. The apparatus of claim 7, wherein the test command issued by the parsing means comprises a high signal for the control pin.

9. Use of the device for the health detection of indicator lights according to any of claims 1 to 8, characterized in that it comprises the following steps:

receiving a test signal input from the test interface and sending the test signal to the analysis device;

The analyzing device analyzes the test signal into a test instruction and sends the test instruction to the access selecting device;

and the passage selection device gates the passage between the analysis device and the indicator lamp according to the test instruction so as to carry out health detection on the indicator lamp and the interface thereof according to the analyzed test instruction.

10. the method of claim 9, further comprising:

In response to the health detection being completed, the path selection device gates the path between the function control device and the indicator light so that the indicator light performs status indication according to the function instruction.

Technical Field

The invention relates to the technical field of servers. The invention further relates to a device for health detection of the indicator light and a using method thereof.

Background

The conditions that cables are not well plugged or a hardware single body breaks down and the like due to human factors are frequently encountered in the whole machine production process of equipment such as a server and the like, so that a hardware link is broken, and some status indicator lamps of the whole machine cannot work normally. In some cases, for example, once a fault indicator lamp fails to work normally, when a server actually fails, the indicator lamp fails to indicate a corresponding fault, which may result in more serious adverse effects.

in order to verify that the status indicator lamp itself and its hardware link including the interface are normal, a common approach is to test the status indicator lamp before the device leaves the factory. However, the factory test of the whole machine generally only focuses on the indicator light that should be turned on when the equipment is in a normal state, and for some indicator lights that are not turned on in a normal state, especially for some fault indicator lights that are not turned on in most cases on the equipment that is about to be shipped, it is difficult to recognize the situation that the fault indicator lights cannot be turned on normally. And manual control lighting detection is carried out on all the status indicator lamps, so that time and labor are consumed, and the problems of missing detection and the like of equipment due to manual negligence can occur. Meanwhile, if a special test interface is not made in the early stage of lighting control of some state indicator lamps, manual direct lighting operation cannot be realized in the later stage. These situations can leave a potential hazard for the status indicator lights in subsequent status indicating operations.

therefore, a detection device and a detection method for improving detection capability of all status indicator lamps are needed, so that testability of the whole device can be improved and quality of a server can be better ensured under the condition that normal hardware functions are not affected.

disclosure of Invention

in one aspect, the present invention provides an apparatus for health detection of indicator lights, wherein the apparatus comprises:

an indicator light;

a function control device configured to issue a function instruction for the indicator light;

A test interface configured to receive an input test signal;

The analysis device is connected to the test interface, and is configured to analyze the test signal and send a test instruction;

a path selection device, the output end of the path selection device is connected with the indicator light, the first input end of the path selection device is connected with the function control device and the second input end of the path selection device is connected with the analysis device,

the path selection device is configured to gate a path between the first input end and the output end by default so that the indicator lamp performs state indication according to the functional instruction, and is configured to gate a path between the second input end and the output end so that the indicator lamp performs health detection according to the test instruction in response to receiving the test instruction.

according to an embodiment of the device for indicating lamp health detection, the analyzing device is a decoder, and the testing interface is a GPIO interface, wherein the decoder is configured to receive a serial testing signal input from the GPIO interface and analyze the testing signal into a parallel testing instruction.

According to an embodiment of the device for health detection of the indicator light, the decoder is one of a CPLD, a single chip microcomputer or an application specific integrated circuit.

According to an embodiment of the apparatus for health detection of indicator light of the present invention, the analyzing device is a BMC, and the test interface is an IPMI interface, wherein the BMC is configured to receive the test signal input from the IPMI interface and analyze the test signal into the parallel test command.

An embodiment of the device for health detection of indicator lights according to the invention is one in which the path selection means is an alternative data selector.

An embodiment of the device for health detection of an indicator light according to the invention is defined by the alternative data selector comprising at least one of a plurality of individual multiplexers or a multi-channel integrated multiplexer or a CPLD.

an embodiment of the device for health detection of an indicator light according to the invention is defined by the path selection means being configured to gate the path between the first input and the output when the control pin is switched in a low state and to gate the path between the second input and the output when the control pin is switched in a high state.

According to an embodiment of the apparatus for health detection of indicator light of the present invention, the test command issued by the analyzing means includes a high level signal for controlling the pin.

In another aspect, the present invention further provides a method for using the device for health detection of indicator light of any one of the foregoing embodiments, wherein the method includes the following steps:

receiving a test signal input from the test interface and sending the test signal to the analysis device;

the analyzing device analyzes the test signal into a test instruction and sends the test instruction to the access selecting device;

the path selection device gates the path between the analysis device and the indicator lamp according to the test instruction so as to carry out health detection on the indicator lamp and the interface thereof according to the analyzed test instruction.

an embodiment of a method of using an apparatus for indicator light health detection according to any of the preceding claims, wherein the method further comprises:

In response to the completion of the health detection, the path selection device gates the path between the function control device and the indicator lamp so that the indicator lamp performs state indication according to the function instruction.

By adopting the technical scheme, the invention at least has the following beneficial effects: the device and the method for detecting the health of the indicator light can fully cover all the status indicator lights, particularly fault indicator lights and related hardware connection links thereof, when a server complete machine system is subjected to factory test, carry out health detection on all the status indicator lights according to needs, find out the status indicator lights which have problems and cannot normally work in time, and guide workers to maintain, thereby preventing status indication faults caused by human factors or data link faults and further improving the overall quality of equipment.

The present invention provides aspects of embodiments, which should not be used to limit the scope of the present invention. Other embodiments are contemplated in accordance with the techniques described herein, as will be apparent to one of ordinary skill in the art upon study of the following figures and detailed description, and are intended to be included within the scope of the present application.

Embodiments of the invention are explained and described in more detail below with reference to the drawings, but they should not be construed as limiting the invention.

Drawings

In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are required to be used in the description of the prior art and the embodiments will be briefly described below, parts in the drawings are not necessarily drawn to scale, and related elements may be omitted, or in some cases the scale may have been exaggerated in order to emphasize and clearly show the novel features described herein. In addition, the structural order may be arranged differently, as is known in the art.

FIG. 1 shows a schematic view of an embodiment of an apparatus for indicator light health detection according to the present invention;

FIG. 2 shows a schematic view of a further embodiment of an apparatus for indicator light health detection according to the present invention;

Fig. 3 shows a schematic block diagram of a method for indicator light health detection with a device according to the invention.

Detailed Description

while the present invention may be embodied in various forms, there is shown in the drawings and will hereinafter be described some exemplary and non-limiting embodiments, with the understanding that the present disclosure is to be considered an exemplification of the invention and is not intended to limit the invention to the specific embodiments illustrated.

fig. 1 shows a schematic view of an embodiment of an apparatus 100 for indicator light health detection according to the present invention. In the embodiment shown in fig. 1, the apparatus 100 comprises at least:

An indicator lamp 10, the indicator lamp 10 being turned on or off according to a command;

A function control device 20, the function control device 20 being configured to issue a function instruction for the indicator lamp 10;

a test interface 30, the test interface 30 configured to receive an input test signal;

the analysis device 40 is connected to the test interface, and is configured to analyze the test signal and send a test instruction;

A path selection device 50, the output of the path selection device 50 being connected to the indicator light 10, a first input of the path selection device 50 being connected to the function control device 20 and a second input of the path selection device 50 being connected to the evaluation device 40,

Wherein, the path selection device 50 is configured to gate the path between the first input end and the output end by default so that the indicator light 10 performs status indication according to the functional instruction;

And, the path selection device 50 is further configured to, in response to receiving the test instruction, gate the path between the second input terminal and the output terminal so that the indicator light 10 performs the health detection according to the test instruction.

It should be noted that the device 100 for indicating lamp health detection according to the present invention generally comprises a plurality of indicating lamps 10, each connected to the output terminal 50 of the channel selection device.

In the device 100 for health detection of indicator light of the present invention, on one hand, the function control device 20 is connected to the first input terminal of the channel selection device 50 through the function control bus of the indicator light, and usually, the function control device 20 is preferably a device originally used by a server to control the indicator light to indicate the status according to the function, and the function control device 20 and the function control bus together form the original normal function link of the indicator light. When the indicator lamp needs to work normally, the path selection device 50 gates the path between the first input end and the output end, and communicates the indicator lamp with the original function control device 20 through the function control bus, so that the indicator lamp 10 performs the state indication under the normal working condition according to the function instruction sent by the original function control device 20.

On the other hand, the resolver 40 is connected to a second input of the path selector 50 via a test control bus (indicated by a dashed line in fig. 1) of the indicator, and the resolver 40 is in signal communication with the test interface 30 and receives the test signal from the test interface 30. At the same time, the analyzer 40 analyzes the test signal to issue a test command. The analysis device 40 and the test control bus together form a test link of the indicator light. When the health detection of the indicator light is required, the path selection device 50 shields the first input end and gates the path between the second input end and the output end, and the indicator light is communicated with the analysis device 40 through the test control bus, so that the indicator light 10 performs the health detection according to the test instruction analyzed by the analysis device 40. For example, before the server leaves a factory, the test interface 30 injects a corresponding test signal into the whole machine, the corresponding test instruction is transmitted to the indicator lamps through the analysis of the analysis device 40, so that all the indicator lamps are lightened, whether the indicator lamps and hardware links thereof have faults or not can be known by observing the on-off state of the indicator lamps, if the interface is not plugged or cables are broken, the judgment can be directly carried out by observing the state of the indicator lamps, and once the faults on the hardware occur, a worker can be timely maintained or replaced.

In order to prevent the interference of the test link to the normal lighting operation of the indicator lamp during normal operation, the path selection device 50 not only plays a role of switching the control signals, but also plays a role of isolating the interference between different control signals. In addition, the path selection device 50 defaults to the path between the function control device 20 and the indicator lamp, and reduces the influence of the test control bus of the indicator lamp on the original state indication function to the maximum extent.

In some embodiments of the device 100 for indicating lamp health detection of the present invention, the parsing device 40 is a decoder, the test interface 30 is a GPIO (General Purpose Input/Output) interface, preferably an SGPIO (Serial General Purpose Input/Output), and the decoder receives a Serial test signal Input from the test interface 30 and parses the test signal into a parallel test command. Particularly, when it is required to perform health detection on a plurality of indicator lamps 10 simultaneously, the analyzer 40 may convert the external serial indicator lamp test signal into parallel test instructions separated and independent from each other to light up the corresponding indicator lamps 10, as shown in fig. 2.

in a further embodiment of the device for health detection of indicator light of the present invention, the decoder is one of a CPLD, a single chip microcomputer, or an application specific integrated circuit. Preferably, the decoder is a CPLD, and accordingly the CPLD analyzes the serial indicator light test signal input from the GPIO interface. Here, a device or a module capable of analyzing the test signal injected from the test interface 30 to obtain the test instruction of each indicator light 10 is included in the scope according to the present invention.

In still other embodiments of the apparatus 100 for indicating lamp health detection of the present invention, the parsing device 40 is a BMC, and the test Interface 30 is an IPMI Interface, wherein the BMC receives a test signal input from the IPMI (Intelligent platform management Interface) Interface and parses the test signal into a parallel test command. Particularly, when it is required to perform health detection on a plurality of indicator lamps 10 simultaneously, the external serial indicator lamp test signals injected from the IPMI interface can be converted into parallel test instructions separated and independent from each other by the analysis device 40, that is, the BMC, so as to light up the corresponding indicator lamps 10, as shown in fig. 2.

In one or more embodiments of the apparatus 100 for indicating light health detection of the present invention, the path selection means 50 is an alternative data selector MUX (multiplexer). In the process of multi-path data transmission, any one path can be selected according to requirements, and the path is called a data selector, also called a multiplexer or a multi-path switch. In the device 100 for indicating lamp health detection according to the present invention, an alternative data selector is preferably used as the path selection device 50, and two inputs are respectively connected to the function control device 20 and the analysis device 40.

In a further embodiment of the device 100 for indicator light health detection of the present invention, the alternative data selector comprises at least one of a plurality of individual multiplexers or a multi-channel integrated multiplexer or a CPLD. That is to say, the one-out-of-two data selector may be implemented by a plurality of mutually separated one-out-of-two multiplexers, or by a multi-channel one-out-of-two integrated multiplexer, or by a CPLD completing the function of the multi-channel one-out-of-two multiplexer according to coding, and mainly completing the switching of the normal functional link and the test link to control the indicator light 10.

in some embodiments of the apparatus 100 for indicating lamp health detection of the present invention, the path selection device 50 is configured to gate the path between the first input terminal and the output terminal when the control pin is switched to the low state, and to gate the path between the second input terminal and the output terminal when the control pin is switched to the high state. When selecting a device of the path selection apparatus 50 or programming, the control pin of the path selection apparatus 50 for path selection adopts a strategy of gating a functional control path (i.e., a path of a first input terminal and an output terminal) when a low level is switched in, and switching to a test control path (i.e., a path of a second input terminal and an output terminal) when a high level is switched in.

In several embodiments of the device 100 for indicating lamp health detection of the present invention, the test command issued by the parsing device 40 includes a high signal for the control pin. The parsing means 40 sends out the parsed test command and also sends a high level signal for the control pin to inform the path selection means 50 of the path switching.

In another aspect, the invention further provides a use method of the device for indicating lamp health detection in any one of the preceding embodiments. Fig. 3 shows a schematic block diagram of an embodiment of the method, which comprises at least the following steps as shown in fig. 3:

S1: receiving a test signal input from the test interface and sending the test signal to the analysis device;

S2: the analyzing device analyzes the test signal into a test instruction and sends the test instruction to the access selecting device;

S3: the path selection device gates the path between the analysis device and the indicator lamp according to the test instruction so as to carry out health detection on the indicator lamp and the interface thereof according to the analyzed test instruction.

That is, the method of using the device 100 according to the present invention at least comprises the steps of firstly inputting the test signal from the test interface 30 in step S1, then receiving the test signal in step S1 by the parsing device 40 in step S2 and parsing the test signal into the test command, and then sending the test command by the parsing device 40, after the test command sent by the parsing device 40 in step S2 is received by the path selecting device 50, the path selecting device 50 gates the path between the parsing device 40 and the indicator lamp 10, so as to perform the health check of the indicator lamp 10 and its interface according to the parsed test command.

In a further embodiment of the method of using the device for indicator light health detection of any one of the preceding claims, the method further comprises:

S4: in response to the completion of the health detection, the path selection device gates the path between the function control device and the indicator lamp so that the indicator lamp performs state indication according to the function instruction.

that is, after the path selection device 50 gates the path between the analysis device 40 and the indicator lamp 10 to complete the health detection of the indicator lamp 10 and the interface thereof according to the analyzed test command, the path selection device 50 gates the path between the function control device 20 and the indicator lamp 10 in step S4 so that the indicator lamp 10 performs the normal status indication according to the function command sent by the function control device 20.

the devices and apparatuses disclosed in the embodiments of the present invention may be various electronic terminal apparatuses, such as a mobile phone, a Personal Digital Assistant (PDA), a tablet computer (PAD), a smart television, and the like, or may be a large terminal apparatus, such as a server, and therefore the scope of protection disclosed in the embodiments of the present invention should not be limited to a specific type of device and apparatus. The client disclosed in the embodiment of the present invention may be applied to any one of the above electronic terminal devices in the form of electronic hardware, computer software, or a combination of both.

By adopting the technical scheme, the invention at least has the following beneficial effects: the device and the method for detecting the health of the indicator light can fully cover all the status indicator lights, particularly fault indicator lights and related hardware connection links thereof, when a server complete machine system is subjected to factory test, carry out health detection on all the status indicator lights according to needs, find out the status indicator lights which have problems and cannot normally work in time, and guide workers to maintain, thereby preventing status indication faults caused by human factors or data link faults and further improving the overall quality of equipment.

it is to be understood that the features listed above for the different embodiments may be combined with each other to form further embodiments within the scope of the invention, where technically feasible. Furthermore, the particular examples and embodiments described herein are non-limiting, and various modifications may be made in the structure, dimensions, steps and sequence set forth above without departing from the scope of the invention.

In this application, the use of the conjunction of the contrary intention is intended to include the conjunction. The use of definite or indefinite articles is not intended to indicate cardinality. In particular, references to "the" object or "an" and "an" object are intended to mean one of many such objects possible. However, although elements of the disclosed embodiments of the invention may be described or claimed in the singular, the plural is contemplated unless limitation to the singular is explicitly stated. Furthermore, the conjunction "or" may be used to convey simultaneous features, rather than mutually exclusive schemes. In other words, the conjunction "or" should be understood to include "and/or". The term "comprising" is inclusive and has the same scope as "comprising".

The above-described embodiments, particularly any "preferred" embodiments, are possible examples of implementations, and are presented merely for a clear understanding of the principles of the invention. Many variations and modifications may be made to the above-described embodiments without departing substantially from the spirit and principles of the technology described herein. All such modifications are intended to be included within the scope of this disclosure.

10页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种单相电能表电能质量分析的方法及单相电能表

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!