CN106855839A - A kind of server failure indicating means and device - Google Patents

A kind of server failure indicating means and device Download PDF

Info

Publication number
CN106855839A
CN106855839A CN201510896663.0A CN201510896663A CN106855839A CN 106855839 A CN106855839 A CN 106855839A CN 201510896663 A CN201510896663 A CN 201510896663A CN 106855839 A CN106855839 A CN 106855839A
Authority
CN
China
Prior art keywords
information
fault
code segment
indicator lamp
state
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510896663.0A
Other languages
Chinese (zh)
Inventor
唐华斌
郁志强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201510896663.0A priority Critical patent/CN106855839A/en
Publication of CN106855839A publication Critical patent/CN106855839A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/324Display of status information
    • G06F11/325Display of status information by lamps or LED's
    • G06F11/326Display of status information by lamps or LED's for error or online/offline status

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The embodiment of the invention discloses a kind of server failure indicating means, methods described includes:The fault message of server is obtained, the fault message includes trouble unit information and fault type;According to fault message and the corresponding relation of flicker information, control malfunction indicator lamp is presented bright state or dark state, the trouble unit information and fault type in the fault message is shown as the flicker information of the malfunction indicator lamp according to the first fixed frequency.The embodiment of the invention discloses a kind of server failure instruction device.

Description

Server fault indication method and device
Technical Field
The invention relates to the technical field of computers, in particular to a server fault indication method and device.
Background
With the rapid development of cloud computing and big data, many data centers with scales exceeding tens of thousands, even hundreds of thousands of servers begin to appear. Since there is only one set of operation and maintenance system for many companies, but the data center and the server may be distributed in different places throughout the country or even the whole world, the server needs to perform remote automatic operation and maintenance; the remote automatic operation and maintenance is to automatically acquire information such as the running state and the fault of the server through a management network of the server and remotely upload the information to a centralized operation and maintenance system. In addition, for a super-large scale server cluster, the fault of hardware becomes a normal state, all faults are not needed or cannot be processed immediately, and the normal operation of an application system is continuously maintained through a cluster architecture and software fault tolerance. And the replacement of the fault parts (such as hard disks, fans and the like) can be automatically arranged according to a predetermined plan (such as once per week) and is independent of the application system.
Under the trend that remote automation operation and maintenance are more and more important and the fault tolerance requirement of software is higher and more, many companies put the emphasis on remote centralization on the operation and maintenance management of the server, and transfer local operation and maintenance (equipment inspection, fault part replacement and the like) with low technical content requirement to a basic department or even directly outsource the local operation and maintenance to a third party.
In this operation and maintenance mode, local operation and maintenance personnel generally rely on the instructions issued by the operation and maintenance monitoring system (for example, by dispatching a work order), and local indicator lights (for example, health status indicator lights and hard disk status indicator lights) of the server to determine the server currently having an abnormality and the hard disk that needs to be replaced, and perform related local operation and maintenance operations. Because work orders issued by the remote operation and maintenance system are asynchronous with actual operation and maintenance time and are not beneficial to independent operation and maintenance of a local area, the indicator light information of the server increasingly becomes an important local operation and maintenance basis.
However, the information that can be delivered by the indicator lights of the server is too limited. For example, the following table is one of the currently more widely adopted specifications for indicator lights of servers:
in actual use, the indicator lamps have many problems in transmitting the server fault information: the indication of the health condition indicator lamp of the whole machine is unclear, for example, when the red light is on, the indication can only indicate that the node server has a fault, but the indication cannot clearly indicate whether the fault of the server is an internal temperature abnormality or which component has a fault. The indication of the hard disk indicator light is relatively clear, but at present, as the server gradually tends to a high-density design, part of the servers cannot provide an individual indicator light for each hard disk, but provide a total indicator light, so that the indicator light cannot directly inform that hard disk of the fault; in addition, if the definitions of the indicator lights of different manufacturers and different models of servers are not completely the same, it is difficult for the operation and maintenance personnel to know the state of the server according to the information such as the color, the on/off state and the like of the indicator lights without experience.
In order to make up for the problem of insufficient information of the server indicator light, two schemes exist in the prior art, wherein one scheme is as follows: and local operation and maintenance personnel inquire the server state of the current machine room by logging in the remote operation and maintenance system. However, the scheme needs networking query in the operation and maintenance process, which reduces the local operation and maintenance efficiency; and if the remote operation and maintenance system opens the permission of directly logging in by the outsourcing third party, certain potential safety hazards exist. The other scheme is as follows: a Liquid Crystal Display (LCD) screen is arranged on a front panel of the server, and then the current state and fault information of the server are interactively inquired through a button or touch screen technology. However, the main problem of this solution is that the implementation cost is high, and because the size of the front panel of the server is limited, the query information may need to be interacted many times, and the efficiency is low.
Disclosure of Invention
In view of this, embodiments of the present invention are expected to provide a method and an apparatus for indicating a server fault, which can improve local operation and maintenance efficiency of a server and ensure convenience and accuracy of related operation and maintenance operations.
In order to achieve the purpose, the technical scheme of the invention is realized as follows:
a method of server failure indication, the method comprising:
acquiring fault information of a server, wherein the fault information comprises fault component information and a fault type;
and controlling a fault indicator lamp to be in a bright state or a dark state according to the corresponding relation between the fault information and the flicker information, and displaying the fault information as the flicker information of the fault indicator lamp.
In the foregoing solution, the controlling a fault indicator to display a bright state or a dark state according to a first fixed frequency according to a corresponding relationship between fault information and flashing information, and displaying the fault information as the flashing information of the fault indicator includes:
according to a preset coding rule, coding the fault information to obtain coding information; the encoding information includes: an initial code segment, a fault component information code segment, a fault type code segment and an end code segment;
and controlling the fault indicator lamp to be in a bright state or a dark state according to a first fixed frequency according to the corresponding relation between preset coding information and flicker information, and circularly displaying the coding information as the flicker information of the fault indicator lamp.
In the above scheme, encoding the fault information to obtain encoded information includes:
binary coding is carried out on the fault information to obtain coded information;
the method for controlling the fault indicator lamp to present a bright state or a dark state according to a first fixed frequency according to the corresponding relation between preset coding information and flicker information, and displaying the coding information as the flicker information of the fault indicator lamp includes:
circularly traversing code elements in the coded information, and controlling a fault indicator lamp to be in a bright state or a dark state according to the corresponding relation between the coded information and the flicker information in each code element time; wherein the symbol time is the inverse of the first fixed frequency; the correspondence between the coding information and the flicker information includes: when the code element is 1, the fault indicator lamp is in a bright state correspondingly, and when the code element is 0, the fault indicator lamp is in a dark state correspondingly; or, when the code element is 1, the fault indicator lamp is in a dark state, and when the code element is 0, the fault indicator lamp is in a bright state.
A server state failure method, the method comprising:
shooting preset time according to a second fixed frequency to obtain a group of images of the fault indicator light;
processing the group of images to obtain each state information of the fault indicator lamp in each image; the state information comprises whether the fault indicator lamp is in a bright state or a dark state;
and analyzing fault information corresponding to the flicker information formed by the state information according to the corresponding relation between the fault information and the flicker information, wherein the fault information comprises fault component information and fault types.
In the foregoing solution, the analyzing the fault information corresponding to the flicker information formed by the state information according to the correspondence between the fault information and the flicker information includes:
analyzing binary coded information corresponding to the flicker information formed by the state information according to the corresponding relation between the preset coded information and the flicker information;
decoding the encoded information according to a preset encoding rule to obtain fault component information corresponding to a fault component information code segment in the encoded information, and obtaining a fault type corresponding to the fault type code segment;
wherein the encoding information includes: an initial code segment, a failure component information code segment, a failure type code segment, and an end code segment.
In the foregoing solution, the analyzing binary coded information corresponding to flicker information formed by the state information according to a preset correspondence between coded information and flicker information includes:
sequencing the state information of the fault indicator lamps in the group of images according to the acquisition sequence of the group of images, and acquiring flicker information formed by the sequenced state information;
analyzing the coding information corresponding to the flicker information formed by the sequenced state information according to the corresponding relation between the preset coding information and the flicker information; the correspondence between the coding information and the flicker information includes: when the code element is 1, the fault indicator lamp is in a bright state correspondingly, and when the code element is 0, the fault indicator lamp is in a dark state correspondingly; or, when the code element is 1, the fault indicator lamp is in a dark state correspondingly, and when the code element is 0, the fault indicator lamp is in a bright state correspondingly;
correspondingly, the decoding the encoded information according to a preset encoding rule to obtain the fault component information corresponding to the fault component information code segment in the encoded information, where the fault type corresponding to the fault type code segment includes:
determining an initial code segment and an end code segment in the coding information according to a preset coding rule;
determining the positions of the fault component information code segment and the fault type code segment in the coding information according to the positions of the initial code segment and the end code segment in the coding information, and obtaining the fault component information code segment and the fault type code segment in the coding information;
and acquiring fault component information corresponding to a fault component information code segment in the coding information according to a preset coding rule, wherein the fault type corresponds to the fault type code segment.
In the foregoing solution, the performing image processing on the group of images to obtain each state information of the fault indicator in each image includes:
comparing the group of images to determine the position of the fault indicator lamp in each image;
and determining the state information of the fault indicator lamp in each image according to the gray value at the position of the fault indicator lamp in each image.
A server, the server comprising:
the server comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring fault information of the server, and the fault information comprises fault component information and a fault type;
and the indicating unit is used for controlling the fault indicating lamp to be in a bright state or a dark state according to the corresponding relation between the fault information and the flicker information and displaying the fault information acquired by the acquiring unit as the flicker information of the fault indicating lamp.
In the above solution, the indicating unit includes: an encoding subunit and an indication subunit; wherein,
the coding subunit is configured to code the fault information acquired by the acquiring unit according to a preset coding rule to acquire coded information; the encoding information includes: an initial code segment, a fault component information code segment, a fault type code segment and an end code segment;
the indicating subunit is configured to control the fault indicator light to be in a bright state or a dark state according to a first fixed frequency according to a corresponding relationship between preset coding information and flashing information, and cyclically display the coding information coded by the coding subunit as the flashing information of the fault indicator light.
In the above scheme, the encoding subunit is configured to perform binary encoding on the fault information to obtain encoded information;
the indicating subunit is used for circularly traversing the code elements in the coding information coded by the coding subunit, and controlling the fault indicator lamp to be in a bright state or a dark state according to the corresponding relation between the coding information and the flicker information in each code element time; wherein the symbol time is the inverse of the first fixed frequency; the correspondence between the coding information and the flicker information includes: when the code element is 1, the fault indicator lamp is in a bright state correspondingly, and when the code element is 0, the fault indicator lamp is in a dark state correspondingly; or, when the code element is 1, the fault indicator lamp is in a dark state, and when the code element is 0, the fault indicator lamp is in a bright state.
A terminal, the terminal comprising:
the image acquisition unit is used for shooting preset time according to a second fixed frequency to obtain a group of images of the fault indicator lamp;
the state acquisition unit is used for carrying out image processing on the group of images acquired by the image acquisition unit to acquire each state information of the fault indicator lamp in each image; the state information comprises whether the fault indicator lamp is in a bright state or a dark state;
and the analysis unit is used for analyzing fault information corresponding to the flicker information formed by the state information acquired by the state acquisition unit according to the corresponding relation between the fault information and the flicker information, wherein the fault information comprises fault component information and fault types.
In the above solution, the parsing unit includes a parsing subunit and a decoding subunit, wherein,
the analysis subunit is configured to analyze binary coded information corresponding to the flicker information formed by the state information acquired by the state acquisition unit according to a preset corresponding relationship between the coded information and the flicker information;
the decoding subunit is configured to decode, according to a preset encoding rule, the encoded information analyzed by the analysis subunit, to obtain fault component information corresponding to a fault component information code segment in the binary encoded information, and a fault type corresponding to the fault type code segment;
wherein the encoding information includes: an initial code segment, a failure component information code segment, a failure type code segment, and an end code segment.
In the foregoing solution, the parsing subunit is specifically configured to sort, according to an obtaining order of the group of images, the status information of the fault indicator in the group of images, and obtain flicker information formed by the sorted status information; analyzing the coding information corresponding to the flicker information formed by the sequenced state information according to the corresponding relation between the preset coding information and the flicker information;
wherein, the corresponding relationship between the coding information and the flicker information comprises: when the code element is 1, the fault indicator lamp is in a bright state correspondingly, and when the code element is 0, the fault indicator lamp is in a dark state correspondingly; or, when the code element is 1, the fault indicator lamp is in a dark state correspondingly, and when the code element is 0, the fault indicator lamp is in a bright state correspondingly;
the decoding subunit is specifically configured to determine, according to a preset encoding rule, an initial code segment and an end code segment in the binary coding information analyzed by the analysis subunit; determining the positions of the fault component information code segment and the fault type code segment in the coding information according to the positions of the initial code segment and the end code segment in the coding information, and obtaining the fault component information code segment and the fault type code segment in the coding information; and acquiring fault component information corresponding to a fault component information code segment in the coding information according to a preset coding rule, wherein the fault type corresponds to the fault type code segment.
In the above scheme, the state obtaining unit is specifically configured to compare the group of images, and determine the position of the fault indicator in each image; and determining the state information of the fault indicator lamp in each image according to the gray value at the position of the fault indicator lamp in each image.
The embodiment of the invention provides a server fault indication method and device, wherein a server side controls a fault indicator lamp to be in a bright state or a dark state according to a first fixed frequency according to the corresponding relation between fault information and flicker information after detecting and acquiring fault information, namely fault component information and fault types, of a server, and the fault information is displayed as the flicker information of the fault indicator lamp. Thus, the terminal side can shoot the preset time according to the second fixed frequency to obtain a group of images for displaying the fault information; and obtaining status information of the fault indicator lamp in each image from the group of images; the state information forms the flash information of the fault indicator lamp for displaying the fault information, and the terminal can analyze the fault information corresponding to the flash information formed by the state information according to the corresponding relation between the fault information and the flash information. Therefore, the server can definitely display the fault information through the method, and after the operation and maintenance personnel find that the fault indicator lamp is displayed, the operation and maintenance personnel can analyze the fault information and display the fault information by words or images by holding the terminal provided by the embodiment of the invention, so that the operation and maintenance personnel can accurately obtain the fault component information and the fault type.
Drawings
Fig. 1 is a schematic flowchart of a server fault indication method on a server side according to embodiment 1 of the present invention;
fig. 2 is a schematic flowchart of a method for indicating a server failure at a terminal side according to embodiment 2 of the present invention;
fig. 3 is a block diagram of a server according to embodiment 3 of the present invention;
fig. 4 is a block diagram of a terminal according to embodiment 3 of the present invention.
Detailed Description
The technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.
Examples 1,
The present embodiment provides a server failure indication method, which is applied to a server side, as shown in fig. 1, a processing flow of the method of the present embodiment includes the following steps:
step 101, obtaining fault information of a server.
At present, a Baseboard Management Controller (BMC) is generally disposed on a motherboard of a server, and the BMC can acquire and acquire status information and fault information of the server by connecting various components (such as a CPU, a memory, a hard disk, a network card, a power supply, a fan, and the like) of the server and various sensors (temperature sensors, and the like).
The state information of the server includes state information of each component in the server, such as state information of a hard disk: the hard disk is in an inactive state or in a read-write state, and the like; state information of the fan: the fan is in an inactive state and the fan is in a running state; and so on. The state information of the server is not important for local operation and maintenance, and certain state information can be indicated by an indicator lamp according to the specific operation and maintenance requirement; the method of this embodiment may use the existing status indicator light indication method to indicate the status.
However, because there are many related server components and various fault types, if the fault is indicated by using the existing fault indication lamp indication method, the component with the fault in the server and the corresponding fault type cannot be clearly indicated. In order to clearly indicate the component with the fault and the corresponding fault type in the server, the method of this embodiment needs to first detect and obtain the fault information of the server. The fault information includes: failed component information and failure type. The components in the server comprise various component types such as a memory, a hard disk, a network card, a power supply, a fan and the like; each component type, such as hard disks, may be multiple in the server, and the hard disks may be numbered according to the positions of the hard disks in order to distinguish the hard disks; thus, the component type and the component number can be used to indicate the failed component, and the failed component information of the server can include the failed component type and the failed component number.
As an example, there are 5 hard disks in the server, and the numbers are 1, 2, 3, 4 and 5 for distinguishing; the fault information of the server acquired by the BMC at a certain time may be: the hard disk numbered 3 fails, and the failure type is over-temperature.
The BMC can transmit the state information and the fault information of the server to the remote management system through a network interface connected with the BMC, and the server can display the fault information through a fault indicator lamp of the server.
And step 102, controlling a fault indicator lamp to be in a bright state or a dark state according to a first fixed frequency according to the corresponding relation between the fault information and the flicker information, and displaying the fault information as the flicker information of the fault indicator lamp.
After the server obtains the fault information, the fault information needs to be displayed through the fault indicator lamp, in order to clearly display the fault component information and the fault type in the fault information through the fault indicator lamp, the method of the embodiment can preset the corresponding relation between the fault information and the flicker information, and then after the fault information of the server is obtained, the fault indicator lamp is controlled to be in a bright state or a dark state according to the first fixed frequency f.
For example, when the server obtains that the fault information is that the number 3 hard disk has a fault, and the fault type is that the temperature is too high, the server can control the fault indicator lamp to sequentially present a bright state, a dark state, a bright state and a dark state according to the corresponding relationship between the fault information and the flicker information, and the time for the fault indicator lamp to present the bright state or the dark state once is 1/f; when the server obtains that the fault information is that the No. 3 hard disk has a fault and the fault type is inaccessible, the server can control the fault indicator lamp to sequentially present a bright state, a bright state and a dark state according to the corresponding relation between the fault information and the flicker information, and the time for the fault indicator lamp to present the bright state or the dark state once is 1/f. Therefore, as long as the corresponding relation between the fault information and the flicker information is preset, the server can clearly indicate the fault component information and the fault type in the acquired fault information through the flicker of the fault indicator lamp according to the method.
Optionally, the specific implementation process of this step may include the following steps:
and step 1021, coding the fault information according to a preset coding rule to obtain coding information.
The coding information sequentially comprises an initial code segment, a fault information code segment and an end code segment. The fault information comprises fault component information and a fault type, so the fault information code segment comprises a fault component information code segment and a fault type code segment. The initial code segment is used for identifying the beginning of the coded information and is positioned at the head of the coded information, the end code segment is used for identifying the end of the coded information and is positioned at the tail of the coded information, the fault component information code segment and the fault type code segment in the fault information code segment are positioned in the middle of the coded information, the fault type code segment is used for representing the fault type in the fault information, and the fault component information code segment is used for representing the fault component information in the fault information.
As described in step 101, the faulty component information may include type information of the faulty component and number information of the faulty component, and at this time, the faulty component information code segment corresponds to a type code segment of the faulty component and a number segment of the faulty component, where the type code segment of the faulty component is used to indicate a type of the faulty component in the faulty information, and the number segment of the faulty component is used to indicate the number information of the faulty component in the faulty information.
The preset coding rules define the coding of the initial code segment, the coding of the ending code segment, the coding rule of the type code segment of the fault component, the coding rule of the number code segment of the fault component and the coding rule of the fault type code segment.
The server can carry out binary coding on the fault information to obtain coded information; for example, the preset encoding rule may define that the encoding of the initial code segment is 6 bits, 3 consecutive 1s and immediately following 30s, that is, the encoding of the initial code segment is 111000; defining the type code segment of the fault component as 4 bits behind the initial code segment, wherein the coding rule of the type code segment of the fault component is to define different codes for different component types, and the codes can be CPU codes of 0001, memory codes of 0010, hard disk codes of 0011 and the like; the location code segment of the failed component is defined as 8 bits after the type code segment of the failed component, and the coding rule is to define different codes for different numbers, which may be that the failed component with the number of 1 is coded as 00000001, the failed component with the number of 2 is coded as 00000010, the failed component with the number of 3 is coded as 00000011, and so on. The fault type code segment is defined as 8 bits after the position coding number segment of the fault component, and the coding rule is to define different codes for different fault types, such as an inaccessible code of 00000001, an over-temperature code of 00000010 and the like. The preset encoding rule may define the end code segment to be 4 bits, and 4 consecutive 1s, i.e. 1111 is defined as the encoding of the end code segment.
According to the above example, when the server acquires that the hard disk with the fault information number of 3 of the server has a fault and the fault type is over-high temperature, the fault information is encoded, the initial code segment in the acquired encoded information is 111000, the type code segment of the fault component is 0011, the code segment of the fault component is 00000011, the code segment of the fault type is 00000010, and the end code segment is 1111; that is, the encoded information corresponding to the failure information is 111000001100000011000000101111.
The coding rule can be set by a user, and different fault information can be coded into different fault information codes by the user according to the requirement. The fault information can be encoded into a binary code of 30 bits by applying the encoding rule; if the component types in the server are many more than 16, the type code segment of the 4-bit failed component cannot indicate the types of all the components in the server, and the type code segment of the failed component can be extended to 5 bits or more. The fault information code segment (the type information of the fault component, the number information of the fault component and the fault type code segment) positioned in the middle of the coding information can be expanded according to actual needs.
And 1022, controlling the fault indicator lamp to be in a bright state or a dark state according to a preset corresponding relation between the coded information and the flicker information, and displaying the coded information as the flicker information of the fault indicator lamp in a circulating manner.
After the server obtains the coded information, the server can circularly traverse the code elements in the coded information, and in each code element time, the fault indicator lamp is controlled to be in a bright state or a dark state according to the corresponding relation between the coded information and the flicker information; wherein the symbol time is the inverse of the first fixed frequency; optionally, the correspondence between the coding information and the flicker information includes: when the code element is 1, the fault indicator lamp is in a bright state correspondingly, and when the code element is 0, the fault indicator lamp is in a dark state correspondingly; or, when the code element is 1, the fault indicator lamp is in a dark state, and when the code element is 0, the fault indicator lamp is in a bright state.
In a specific implementation process, the server may control the level of the fault indicator (e.g., an LED display lamp, which is generally yellow or red) according to the encoded information, so that the fault indicator rapidly and alternately assumes a bright state and a dark state.
For example, if the hard disk with the failure information of number 3 fails and the failure type is over-temperature as described in step 1011, the corresponding encoded information is 111000001100000011000000101111; setting the first fixed frequency as 30 frames/second, and the corresponding relation between the coding information and the flicker information is as follows: when the code element is 1, the fault indicator lamp is correspondingly in a dark state, when the code element is 0, the fault indicator lamp is correspondingly in a bright state, and the flicker information displayed by the fault indicator lamp is as follows: presenting dark-bright-dark-bright-dark in sequence within 1 s; and the encoded information 111000001100000011000000101111 is traversed in the next 1s cycle, presenting dark-light-dark-light-dark; the time for each presentation of the light or dark state is 1/30 s. The fault indicator lamp needs to continuously display fault information until the operation and maintenance personnel turn off the fault indicator lamp after finding the fault indicator lamp.
It should be noted that, in practical applications, the fault indicator needs to flash many times to display corresponding fault information, and if the first fixed frequency is too low, the fault indicator needs to take a long time to display fault information once, which is inconvenient for operation and maintenance personnel to shoot through a camera on the terminal to obtain flash information of the fault indicator; the first fixed frequency is set to be large.
Due to the delayed effect of human eyes on the light reaction, human eyes cannot capture the high-frequency change, and if the time that the fault indicator lamp is in a dark state in the flashing process is long, the human eyes cannot see that the fault indicator lamp is on, so that operation and maintenance personnel cannot find that the server has a fault to perform corresponding operation and maintenance operation. Therefore, in the method of this embodiment, it is necessary to ensure that the fault indicator lamp has a bright state for a relatively long time during the flashing process.
The correspondence between the coding information and the flicker information provided in the method of this embodiment has the above two situations, and if more than 0 appears after the coding according to the coding rule, the correspondence may be set to be a situation that the fault indicator light is in a bright state when the code element is 0, so that the fault indicator light is bright when viewed by human eyes. In practical application, the corresponding relation between the corresponding coding information and the flicker information can be selected according to a specific coding rule, and the time for the fault indicator lamp to show a bright state in the process of indicating the fault information is ensured to be more.
Example 2
The present embodiment provides a server fault indication method, which is applied to a terminal side, as shown in fig. 2, a processing flow of the method of the present embodiment includes the following steps:
step 201, shooting for a preset time according to a second fixed frequency, and obtaining a group of images of the fault indicator lamp.
When the local operation and maintenance personnel see that the fault indicator lamp is on or flickers (depending on specific flickering information), the local operation and maintenance personnel can shoot by using a camera of a terminal (such as a smart phone or other customized handheld terminal equipment), a group of images of the fault indicator lamp need to be shot according to a second fixed frequency during shooting, the shooting time is preset time, the preset time is more than or equal to the time required for displaying the fault information once by the fault indicator lamp on the server side, and the display condition of the fault information can be shot and obtained at least once within the preset time. The local operation and maintenance personnel should keep the camera stable as much as possible during shooting to ensure that the position of the shot target (fault indicator lamp) does not change greatly.
Under a normal condition, the second fixed frequency is equal to the first fixed frequency of the flicker of the server side fault indicator lamp, so that the condition that the server side fault indicator lamp is lighted once is correspondingly obtained after the camera shoots once. Certainly, the second fixed frequency may also be set to be N times (N is an integer greater than 1) of the first fixed frequency, so that the camera takes N shots to correspondingly obtain the lighting state of the server-side fault indicator lamp.
For example, the server side sets the first fixed frequency to be 30 frames/second, and the flashing information displayed by the fault indicator lamp is as follows: and displaying a fault message by showing the bright state and the dark state for 30 times in 1s, for example, displaying a fault message by showing dark-bright-dark-bright-dark-bright-dark in sequence in 1s, and controlling a fault indicator lamp to display the fault message by the server in a circulating manner, so that operation and maintenance personnel can find the fault message. The second fixed frequency at the terminal side is set to be 30 frames/second, namely, image information of one fault indicator lamp is obtained every 1/30s shooting, the preset time of shooting is more than or equal to 1s, so that at least 30 pieces of image information can be obtained in the preset time, each piece of image information corresponds to the lighting state of the fault indicator lamp at the server side, and 30 continuous images correspond to the lighting state of the fault indicator lamp at the server side within the 1s time.
Step 202, performing image processing on the group of images to obtain each state information of the fault indicator lamp in each image.
The status information includes whether the fault indicator light is present in a bright state or a dark state.
Optionally, the terminal may compare the group of images to determine the position of the fault indicator in each image; and then determining the state information of the fault indicator lamp in each image according to the gray value at the position of the fault indicator lamp in each image. If the gray value of the position of the fault indicator lamp in the image is smaller, the fault indicator lamp in the image is shown to be in a bright state, and if the gray value of the position of the fault indicator lamp in the image is larger, the fault indicator lamp in the image is shown to be in a dark state.
And step 203, analyzing the fault information corresponding to the flicker information formed by the state information according to the corresponding relation between the fault information and the flicker information.
The fault information includes fault component information and a fault type.
The server side controls the fault indicator lamp to present a bright state or a dark state according to a first fixed frequency after acquiring the fault information of the server according to the preset corresponding relation between the fault information and the flicker information, and the flicker information corresponding to the fault information is displayed; the flicker information of the fault indicator lamp in the group of images obtained by the terminal side is obtained by shooting the fault indicator lamp at the server side, the representative of the flicker information is the flicker information of the fault indicator lamp at the server side, and the terminal side can correctly analyze and obtain the corresponding fault information according to the same corresponding relation between the fault information and the flicker information.
Optionally, the specific implementation process of this step may include the following steps:
step 2031, analyzing the coding information corresponding to the flicker information according to the corresponding relationship between the preset coding information and the flicker information.
The method comprises the steps that the state information of the fault indicator lamps in a group of images obtained by a terminal forms flicker information of the fault indicator lamps, and when the terminal needs to obtain coding information corresponding to the flicker information, the state information of the fault indicator lamps in the group of images can be sorted according to the obtaining sequence of the group of images to obtain the flicker information formed by the sorted state information; and then analyzing the coded information corresponding to the flicker information according to the corresponding relation between the preset coded information and the flicker information.
And the sequence of the group of images obtained by the terminal side is the sequence of the state information displayed by the fault indicator lamp at the server side, the state information displayed by the fault indicator lamp at the server side is obtained by sequencing the state information of the fault indicator lamp from the group of images according to the sequence of obtaining the group of images, and the sequenced state information forms the flicker information of the fault indicator lamp. The correspondence between the coding information and the flicker information may include: when the code element is 1, the fault indicator lamp is in a bright state correspondingly, and when the code element is 0, the fault indicator lamp is in a dark state correspondingly; or, when the code element is 1, the fault indicator lamp is in a dark state, and when the code element is 0, the fault indicator lamp is in a bright state. According to the corresponding relation, the terminal can directly obtain the coding information corresponding to the flicker information of the fault indicator lamp.
For example, the preset correspondence relationship between the coding information and the flicker information is that when the code element is 1, the fault indicator lamp is in a dark state, when the code element is 0, the fault indicator lamp is in a bright state, 30 images are obtained after 1s of shooting at the frequency of 30 frames/second, the state information of the fault indicator lamps of the 30 images is sorted according to the order of obtaining the 30 images, and the flicker information of the fault indicator lamps is formed by the sorted state information: bright-dark-bright-dark-bright-dark-bright; the coding information corresponding to the flicker information is: 000010111111100000110000001100.
step 2032, decoding the encoded information according to a preset encoding rule, and obtaining the fault component information corresponding to the fault component information code segment in the encoded information.
The coding information comprises an initial code segment, a fault information code segment and an end code segment; the fault information comprises fault component information and a fault type, so the fault information code segment comprises a fault component information code segment and a fault type code segment. The initial code segment is used for identifying the beginning of the coded information, the end code segment is used for identifying the end of the coded information, the fault type code segment is used for representing the fault type in the fault information, and the fault component information code segment is used for representing the fault component information in the fault information. Optionally, the fault component information may include type information of the fault component and number information of the fault component, where the fault component information code segment corresponds to a type code segment of the fault component and a number segment of the fault component, where the type code segment of the fault component is used to indicate a type of the fault component in the fault information, and the number segment of the fault component is used to indicate number information of the fault component in the fault information. These are all preset encoding rules, and the server side and the terminal side apply the same encoding rules.
The preset coding rules also define the coding of the initial code segment, the coding of the ending code segment, the coding rule of the type code segment of the fault component, the coding rule of the number code segment of the fault component and the coding rule of the fault type code segment. As an example, the specific encoding rule may be as described in step 1021 in embodiment 1.
After the terminal obtains the coding information, an initial code segment and an ending code segment in the coding information can be determined according to a preset coding rule; then, according to the positions of the initial code segment and the end code segment in the coding information, the positions of the fault component information code segment and the fault type code segment in the coding information are determined, and the fault component information code segment and the fault type code segment in the coding information are obtained; and finally, acquiring fault component information corresponding to a fault component information code segment in the coding information according to a preset coding rule, wherein the fault type corresponds to the fault type code segment.
Illustratively, the obtained encoding information is 000010111111100000110000001100, and according to the encoding rule described in step 1021 in embodiment 1, the encoding of the initial code segment is 111000, and the encoding of the end code segment is 1111; comparing the obtained coding information to obtain 1111 bits of 7-10 bits as an end code segment and 111000 bits of 11-16 bits as an initial code segment; since the server side displays the encoded information as the flash information in a circulating manner, the obtained encoded information is 1111-end followed by 111000-start, it can be determined according to the preset encoding rule that 4 bits after the initial code segment are 0011 as the type code segment of the faulty component, 8 bits after the type code segment of the faulty component are 00000011 as the encoded segment of the faulty component, and 8 bits after the encoded segment of the faulty component are the faulty type code segment, in the exemplary encoded information, only 2 bits after the encoded segment of the faulty component are 00, and 6 bits before the end code segment are 000010, which constitute the faulty type code segment, i.e. 00000010. This is because the server side controls the fault indicator lamp to continuously display the fault information, and the encoded information corresponding to the blinking information is one cycle every 30 bits, so that it can be inferred that the fault type code segment is 00000010.
Therefore, according to a preset coding rule, the terminal can obtain that the type information of the fault component corresponding to the type code segment 0011 of the fault component in the coding information is a hard disk, the number information of the fault component corresponding to the coding number segment 00000011 of the fault component is No. 3, the fault type corresponding to the fault type code segment 00000010 is over-high temperature, namely the fault information corresponding to the coding information is that the hard disk No. 3 fails, and the fault type is over-high temperature.
After the terminal obtains the fault information, the fault information can be visually displayed in characters or pictures through a display screen of the terminal, so that operation and maintenance personnel can know which component in the server has the fault instantly without networking and can know the fault reason; the local operation and maintenance efficiency of the server can be improved, and meanwhile, the convenience and accuracy of related operation and maintenance operations are ensured.
By applying the method, local operation and maintenance can be completely and independently carried out, and the fault information of the server can be acquired without networking; the method is implemented without excessively modifying the server (mainly developing software), is low in implementation cost, and can have more expandability (more server information can be displayed by expanding the coded information).
Example 3
An embodiment of the present invention provides a server, as shown in fig. 3, where the server includes: an acquisition unit 301 and an instruction unit 302, wherein,
an obtaining unit 301, configured to obtain fault information of a server, where the fault information includes fault component information and a fault type;
and an indicating unit 302, configured to control the fault indicator to be in a bright state or a dark state according to a first fixed frequency according to a corresponding relationship between the fault information and the flashing information, and display the fault information acquired by the acquiring unit 301 as the flashing information of the fault indicator.
Optionally, the indicating unit 302 includes: an encoding subunit 3021 and an indication subunit 3022; wherein,
the encoding subunit 3021 is configured to encode the fault information acquired by the acquiring unit 301 according to a preset encoding rule to obtain encoded information; the encoding information includes: an initial code segment, a fault component information code segment, a fault type code segment and an end code segment;
the indicating subunit 3022 is configured to control the fault indicator light to be in a bright state or a dark state according to a preset correspondence between the coded information and the flashing information, and cyclically display the coded information coded by the coding subunit 3021 as the flashing information of the fault indicator light.
Optionally, the encoding subunit 3021 is specifically configured to perform binary encoding on the fault information to obtain encoded information;
the indicating subunit 3022 is specifically configured to cycle through the code elements in the encoded information encoded by the encoding subunit 3021, and control the fault indicator light to be in a bright state or a dark state according to the correspondence between the encoded information and the flicker information in each code element time; wherein the symbol time is the inverse of the first fixed frequency; the correspondence between the coding information and the flicker information includes: when the code element is 1, the fault indicator lamp is in a bright state correspondingly, and when the code element is 0, the fault indicator lamp is in a dark state correspondingly; or, when the code element is 1, the fault indicator lamp is in a dark state, and when the code element is 0, the fault indicator lamp is in a bright state.
An embodiment of the present invention further provides a terminal, as shown in fig. 4, where the terminal includes: an image acquisition unit 401, a state acquisition unit 402, and an analysis unit 403, wherein,
an image obtaining unit 401, configured to take a preset time according to a second fixed frequency, and obtain a group of images of the fault indicator light;
a state acquiring unit 402, configured to perform image processing on the group of images acquired by the image acquiring unit 401, and acquire each state information of the fault indicator in each image; the state information comprises whether the fault indicator lamp is in a bright state or a dark state;
an analyzing unit 403, configured to analyze the fault information corresponding to the flicker information formed by the status information acquired by the status acquiring unit 402 according to a corresponding relationship between the fault information and the flicker information, where the fault information includes fault component information and a fault type.
Optionally, the parsing unit 403 includes a parsing subunit 4031 and a decoding subunit 4032, wherein,
the analyzing subunit 4031 is configured to analyze binary coded information corresponding to the flicker information formed by the state information acquired by the state acquiring unit 402 according to a preset correspondence between the coded information and the flicker information;
the decoding subunit 4032 is configured to decode, according to a preset encoding rule, the encoding information analyzed by the analysis subunit 4031, to obtain fault component information corresponding to a fault component information code segment in the binary encoding information, and a fault type corresponding to the fault type code segment;
wherein the encoding information includes: an initial code segment, a failure component information code segment, a failure type code segment, and an end code segment.
Optionally, the parsing subunit 4031 is specifically configured to sort, according to the order of obtaining the group of images, the status information of the fault indicator in the group of images, and obtain flicker information formed by the sorted status information; analyzing the coding information corresponding to the flicker information formed by the sequenced state information according to the corresponding relation between the preset coding information and the flicker information;
wherein, the corresponding relationship between the coding information and the flicker information comprises: when the code element is 1, the fault indicator lamp is in a bright state correspondingly, and when the code element is 0, the fault indicator lamp is in a dark state correspondingly; or, when the code element is 1, the fault indicator lamp is in a dark state correspondingly, and when the code element is 0, the fault indicator lamp is in a bright state correspondingly;
the decoding subunit 4032 is specifically configured to determine, according to a preset encoding rule, an initial code segment and an end code segment in the binary encoding information analyzed by the analysis subunit 4031; determining the positions of the fault component information code segment and the fault type code segment in the coding information according to the positions of the initial code segment and the end code segment in the coding information, and obtaining the fault component information code segment and the fault type code segment in the coding information; and acquiring fault component information corresponding to a fault component information code segment in the coding information according to a preset coding rule, wherein the fault type corresponds to the fault type code segment.
Optionally, the state obtaining unit 402 is specifically configured to compare the group of images, and determine a position of a fault indicator in each image; and determining the state information of the fault indicator lamp in each image according to the gray value at the position of the fault indicator lamp in each image.
In practical applications, the obtaining unit 301 and the indicating unit 302 described in this embodiment can be implemented by a Central Processing Unit (CPU), a Microprocessor (MPU), a Digital Signal Processor (DSP), a Field Programmable Gate Array (FPGA), a modem, or other devices on the terminal. The image acquiring unit 401, the state acquiring unit 402, and the analyzing unit 403 described in this embodiment may be implemented by a Central Processing Unit (CPU), a Microprocessor (MPU), a Digital Signal Processor (DSP), a Field Programmable Gate Array (FPGA), a modem, or the like on the terminal.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention.

Claims (14)

1. A method for indicating a server failure, the method comprising:
acquiring fault information of a server, wherein the fault information comprises fault component information and a fault type;
and controlling a fault indicator lamp to be in a bright state or a dark state according to the corresponding relation between the fault information and the flicker information, and displaying the fault information as the flicker information of the fault indicator lamp.
2. The method according to claim 1, wherein the controlling a fault indicator lamp to be in a bright state or a dark state according to a first fixed frequency according to a corresponding relationship between fault information and flashing information, and displaying the fault information as flashing information of the fault indicator lamp comprises:
according to a preset coding rule, coding the fault information to obtain coding information; the encoding information includes: an initial code segment, a fault component information code segment, a fault type code segment and an end code segment;
and controlling the fault indicator lamp to be in a bright state or a dark state according to a first fixed frequency according to the corresponding relation between preset coding information and flicker information, and circularly displaying the coding information as the flicker information of the fault indicator lamp.
3. The method of claim 2, wherein encoding the fault information to obtain encoded information comprises:
binary coding is carried out on the fault information to obtain coded information;
the method for controlling the fault indicator lamp to present a bright state or a dark state according to a first fixed frequency according to the corresponding relation between preset coding information and flicker information, and displaying the coding information as the flicker information of the fault indicator lamp includes:
circularly traversing code elements in the coded information, and controlling a fault indicator lamp to be in a bright state or a dark state according to the corresponding relation between the coded information and the flicker information in each code element time; wherein the symbol time is the inverse of the first fixed frequency; the correspondence between the coding information and the flicker information includes: when the code element is 1, the fault indicator lamp is in a bright state correspondingly, and when the code element is 0, the fault indicator lamp is in a dark state correspondingly; or, when the code element is 1, the fault indicator lamp is in a dark state, and when the code element is 0, the fault indicator lamp is in a bright state.
4. A server state failure method, the method comprising:
shooting preset time according to a second fixed frequency to obtain a group of images of the fault indicator light;
processing the group of images to obtain each state information of the fault indicator lamp in each image; the state information comprises whether the fault indicator lamp is in a bright state or a dark state;
and analyzing fault information corresponding to the flicker information formed by the state information according to the corresponding relation between the fault information and the flicker information, wherein the fault information comprises fault component information and fault types.
5. The method according to claim 4, wherein the analyzing the fault information corresponding to the flicker information formed by the status information according to the correspondence between the fault information and the flicker information comprises:
analyzing binary coded information corresponding to the flicker information formed by the state information according to the corresponding relation between the preset coded information and the flicker information;
decoding the encoded information according to a preset encoding rule to obtain fault component information corresponding to a fault component information code segment in the encoded information, and obtaining a fault type corresponding to the fault type code segment;
wherein the encoding information includes: an initial code segment, a failure component information code segment, a failure type code segment, and an end code segment.
6. The method according to claim 5, wherein the analyzing binary coded information corresponding to the flicker information formed by the state information according to a preset correspondence between coded information and flicker information includes:
sequencing the state information of the fault indicator lamps in the group of images according to the acquisition sequence of the group of images, and acquiring flicker information formed by the sequenced state information;
analyzing the coding information corresponding to the flicker information formed by the sequenced state information according to the corresponding relation between the preset coding information and the flicker information; the correspondence between the coding information and the flicker information includes: when the code element is 1, the fault indicator lamp is in a bright state correspondingly, and when the code element is 0, the fault indicator lamp is in a dark state correspondingly; or, when the code element is 1, the fault indicator lamp is in a dark state correspondingly, and when the code element is 0, the fault indicator lamp is in a bright state correspondingly;
correspondingly, the decoding the encoded information according to a preset encoding rule to obtain the fault component information corresponding to the fault component information code segment in the encoded information, where the fault type corresponding to the fault type code segment includes:
determining an initial code segment and an end code segment in the coding information according to a preset coding rule;
determining the positions of the fault component information code segment and the fault type code segment in the coding information according to the positions of the initial code segment and the end code segment in the coding information, and obtaining the fault component information code segment and the fault type code segment in the coding information;
and acquiring fault component information corresponding to a fault component information code segment in the coding information according to a preset coding rule, wherein the fault type corresponds to the fault type code segment.
7. The method of claim 4, wherein the image processing the set of images to obtain status information of the fault indicator light in each image comprises:
comparing the group of images to determine the position of the fault indicator lamp in each image;
and determining the state information of the fault indicator lamp in each image according to the gray value at the position of the fault indicator lamp in each image.
8. A server, characterized in that the server comprises:
the server comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring fault information of the server, and the fault information comprises fault component information and a fault type;
and the indicating unit is used for controlling the fault indicating lamp to be in a bright state or a dark state according to the corresponding relation between the fault information and the flicker information and displaying the fault information acquired by the acquiring unit as the flicker information of the fault indicating lamp.
9. The server according to claim 8, wherein the instructing unit includes: an encoding subunit and an indication subunit; wherein,
the coding subunit is configured to code the fault information acquired by the acquiring unit according to a preset coding rule to acquire coded information; the encoding information includes: an initial code segment, a fault component information code segment, a fault type code segment and an end code segment;
the indicating subunit is configured to control the fault indicator light to be in a bright state or a dark state according to a first fixed frequency according to a corresponding relationship between preset coding information and flashing information, and cyclically display the coding information coded by the coding subunit as the flashing information of the fault indicator light.
10. The server according to claim 9,
the coding subunit is configured to perform binary coding on the fault information to obtain coded information;
the indicating subunit is used for circularly traversing the code elements in the coding information coded by the coding subunit, and controlling the fault indicator lamp to be in a bright state or a dark state according to the corresponding relation between the coding information and the flicker information in each code element time; wherein the symbol time is the inverse of the first fixed frequency; the correspondence between the coding information and the flicker information includes: when the code element is 1, the fault indicator lamp is in a bright state correspondingly, and when the code element is 0, the fault indicator lamp is in a dark state correspondingly; or, when the code element is 1, the fault indicator lamp is in a dark state, and when the code element is 0, the fault indicator lamp is in a bright state.
11. A terminal, characterized in that the terminal comprises:
the image acquisition unit is used for shooting preset time according to a second fixed frequency to obtain a group of images of the fault indicator lamp;
the state acquisition unit is used for carrying out image processing on the group of images acquired by the image acquisition unit to acquire each state information of the fault indicator lamp in each image; the state information comprises whether the fault indicator lamp is in a bright state or a dark state;
and the analysis unit is used for analyzing fault information corresponding to the flicker information formed by the state information acquired by the state acquisition unit according to the corresponding relation between the fault information and the flicker information, wherein the fault information comprises fault component information and fault types.
12. The terminal of claim 11, wherein the parsing unit comprises a parsing subunit and a decoding subunit, wherein,
the analysis subunit is configured to analyze binary coded information corresponding to the flicker information formed by the state information acquired by the state acquisition unit according to a preset corresponding relationship between the coded information and the flicker information;
the decoding subunit is configured to decode, according to a preset encoding rule, the encoded information analyzed by the analysis subunit, to obtain fault component information corresponding to a fault component information code segment in the binary encoded information, and a fault type corresponding to the fault type code segment;
wherein the encoding information includes: an initial code segment, a failure component information code segment, a failure type code segment, and an end code segment.
13. The terminal of claim 12,
the analysis subunit is specifically configured to sort the state information of the fault indicator lamps in the group of images according to the obtaining order of the group of images, and obtain flicker information formed by the sorted state information; analyzing the coding information corresponding to the flicker information formed by the sequenced state information according to the corresponding relation between the preset coding information and the flicker information;
wherein, the corresponding relationship between the coding information and the flicker information comprises: when the code element is 1, the fault indicator lamp is in a bright state correspondingly, and when the code element is 0, the fault indicator lamp is in a dark state correspondingly; or, when the code element is 1, the fault indicator lamp is in a dark state correspondingly, and when the code element is 0, the fault indicator lamp is in a bright state correspondingly;
the decoding subunit is specifically configured to determine, according to a preset encoding rule, an initial code segment and an end code segment in the binary coding information analyzed by the analysis subunit; determining the positions of the fault component information code segment and the fault type code segment in the coding information according to the positions of the initial code segment and the end code segment in the coding information, and obtaining the fault component information code segment and the fault type code segment in the coding information; and acquiring fault component information corresponding to a fault component information code segment in the coding information according to a preset coding rule, wherein the fault type corresponds to the fault type code segment.
14. The terminal of claim 10,
the state acquisition unit is specifically used for comparing the group of images and determining the position of the fault indicator lamp in each image; and determining the state information of the fault indicator lamp in each image according to the gray value at the position of the fault indicator lamp in each image.
CN201510896663.0A 2015-12-08 2015-12-08 A kind of server failure indicating means and device Pending CN106855839A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510896663.0A CN106855839A (en) 2015-12-08 2015-12-08 A kind of server failure indicating means and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510896663.0A CN106855839A (en) 2015-12-08 2015-12-08 A kind of server failure indicating means and device

Publications (1)

Publication Number Publication Date
CN106855839A true CN106855839A (en) 2017-06-16

Family

ID=59132847

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510896663.0A Pending CN106855839A (en) 2015-12-08 2015-12-08 A kind of server failure indicating means and device

Country Status (1)

Country Link
CN (1) CN106855839A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107832201A (en) * 2017-11-09 2018-03-23 郑州云海信息技术有限公司 A kind of diagnostic led information rapid interpretive device and method
CN108038047A (en) * 2017-12-29 2018-05-15 佛山市幻云科技有限公司 Server info suggestion device and system
CN108599972A (en) * 2017-12-29 2018-09-28 佛山市幻云科技有限公司 Server info reminding method
CN108845888A (en) * 2018-05-24 2018-11-20 郑州云海信息技术有限公司 A kind of method and system based on TensorFlow image recognition diagnosis memory failure
CN108919696A (en) * 2018-05-29 2018-11-30 郑州云海信息技术有限公司 A kind of method of achievable UID-LED multiposition control
CN109774475A (en) * 2018-11-28 2019-05-21 厦门盈趣汽车电子有限公司 The information indicating method of mobile unit indicator light
CN110659234A (en) * 2018-06-30 2020-01-07 联想企业解决方案(新加坡)有限公司 Server mainboard and mainboard DIMM slot filling method
CN112133047A (en) * 2020-09-01 2020-12-25 上海万奇光电技术有限公司 Equipment indicator lamp control method, system and storage medium thereof
CN113847939A (en) * 2021-09-30 2021-12-28 东风越野车有限公司 Offline fault diagnosis system and method applied to vehicle instrument
WO2023280117A1 (en) * 2021-07-06 2023-01-12 深圳市道通科技股份有限公司 Indication signal recognition method and device, and computer storage medium
CN118377686A (en) * 2024-04-12 2024-07-23 中诚华隆计算机技术有限公司 Fault detection method and device for server main board, electronic equipment and medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1838206A (en) * 2005-03-22 2006-09-27 杭州华为三康技术有限公司 Method and apparatus for realizing multi-meaning display by seven segment digital tubes
CN102186278A (en) * 2011-03-11 2011-09-14 广东威创视讯科技股份有限公司 Method and system for processing equipment indicating lamp
CN103995768A (en) * 2014-06-10 2014-08-20 浪潮电子信息产业股份有限公司 Visual quick diagnosing method of server faults
US20140285354A1 (en) * 2013-03-19 2014-09-25 Hong Fu Jin Precision Industry (Shenzhen) Co., Ltd. Device for indicating faults of server system
CN104902616A (en) * 2015-04-07 2015-09-09 广东美的暖通设备有限公司 Electric control board LED lamp state display method, electric control board LED lamp state display device and electric control board

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1838206A (en) * 2005-03-22 2006-09-27 杭州华为三康技术有限公司 Method and apparatus for realizing multi-meaning display by seven segment digital tubes
CN102186278A (en) * 2011-03-11 2011-09-14 广东威创视讯科技股份有限公司 Method and system for processing equipment indicating lamp
US20140285354A1 (en) * 2013-03-19 2014-09-25 Hong Fu Jin Precision Industry (Shenzhen) Co., Ltd. Device for indicating faults of server system
CN103995768A (en) * 2014-06-10 2014-08-20 浪潮电子信息产业股份有限公司 Visual quick diagnosing method of server faults
CN104902616A (en) * 2015-04-07 2015-09-09 广东美的暖通设备有限公司 Electric control board LED lamp state display method, electric control board LED lamp state display device and electric control board

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107832201A (en) * 2017-11-09 2018-03-23 郑州云海信息技术有限公司 A kind of diagnostic led information rapid interpretive device and method
CN108038047A (en) * 2017-12-29 2018-05-15 佛山市幻云科技有限公司 Server info suggestion device and system
CN108599972A (en) * 2017-12-29 2018-09-28 佛山市幻云科技有限公司 Server info reminding method
CN108845888A (en) * 2018-05-24 2018-11-20 郑州云海信息技术有限公司 A kind of method and system based on TensorFlow image recognition diagnosis memory failure
CN108919696A (en) * 2018-05-29 2018-11-30 郑州云海信息技术有限公司 A kind of method of achievable UID-LED multiposition control
CN110659234A (en) * 2018-06-30 2020-01-07 联想企业解决方案(新加坡)有限公司 Server mainboard and mainboard DIMM slot filling method
CN110659234B (en) * 2018-06-30 2024-02-02 联想企业解决方案(新加坡)有限公司 Filling method for server main board and main board DIMM slot
CN109774475A (en) * 2018-11-28 2019-05-21 厦门盈趣汽车电子有限公司 The information indicating method of mobile unit indicator light
CN112133047A (en) * 2020-09-01 2020-12-25 上海万奇光电技术有限公司 Equipment indicator lamp control method, system and storage medium thereof
WO2023280117A1 (en) * 2021-07-06 2023-01-12 深圳市道通科技股份有限公司 Indication signal recognition method and device, and computer storage medium
CN113847939A (en) * 2021-09-30 2021-12-28 东风越野车有限公司 Offline fault diagnosis system and method applied to vehicle instrument
CN113847939B (en) * 2021-09-30 2024-09-17 东风越野车有限公司 Offline fault diagnosis system and method applied to vehicle instrument
CN118377686A (en) * 2024-04-12 2024-07-23 中诚华隆计算机技术有限公司 Fault detection method and device for server main board, electronic equipment and medium

Similar Documents

Publication Publication Date Title
CN106855839A (en) A kind of server failure indicating means and device
CN103995197B (en) A kind of aging testing apparatus of electronic product
CN108966462B (en) Method and device for determining physical position of lamp
US20180286030A1 (en) System and method for testing an electronic device
CN107450013B (en) Circuit board functional integrity test platform and test method
CN113468049B (en) Configurable interface-based test method, device, equipment and medium
CN110609912A (en) Component information recording method, device, equipment and readable storage medium
CN104353992A (en) Screw locking-attaching pipe manufacturing system and operation method thereof
CN112131414B (en) Method and device for labeling image of signal lamp, electronic equipment and road side equipment
CN109240894A (en) A kind of method, system and the computer readable storage medium of hard disk lighting
CN115620888A (en) Digital twin-based surgical robot monitoring method, device and system
CN104104909A (en) Monitoring device
CN104598283A (en) Method for realizing single-architecture multi-structure BMC firmware program
US9251451B2 (en) Providing locality information via light sources
CN104914764B (en) Remote experimental system
CN117234783A (en) PCIE equipment detection method and device, BIOS and storage medium
CN109753396A (en) A kind of cable self checking method, system and the server of storage system
CN116405376A (en) Server management method, device, equipment and machine-readable storage medium
CN115686969A (en) Hard disk backboard testing method, device, equipment and medium
CN203069768U (en) Device for testing service life and missed flashing rate of electronic flash lamp
CN112685266B (en) Fault detection method, device, system, equipment and medium
CN108919090A (en) Circuit board and booting adjustment method for the debugging that is switched on
CN111274102B (en) PCBA state information indication method
CN101424722A (en) LED test system for mainboard and method
CN109947621A (en) A kind of method and device of server test

Legal Events

Date Code Title Description
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170616

RJ01 Rejection of invention patent application after publication