[go: up one dir, main page]

CN113641555B - Faulty equipment locating method, device, equipment and readable storage medium - Google Patents

Faulty equipment locating method, device, equipment and readable storage medium Download PDF

Info

Publication number
CN113641555B
CN113641555B CN202110944653.5A CN202110944653A CN113641555B CN 113641555 B CN113641555 B CN 113641555B CN 202110944653 A CN202110944653 A CN 202110944653A CN 113641555 B CN113641555 B CN 113641555B
Authority
CN
China
Prior art keywords
identification
slot
equipment
faulty
machine slot
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110944653.5A
Other languages
Chinese (zh)
Other versions
CN113641555A (en
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 United Network Communications Group Co Ltd
Unicom Cloud Data Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Unicom Cloud Data 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 United Network Communications Group Co Ltd, Unicom Cloud Data Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202110944653.5A priority Critical patent/CN113641555B/en
Publication of CN113641555A publication Critical patent/CN113641555A/en
Application granted granted Critical
Publication of CN113641555B publication Critical patent/CN113641555B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3006Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system is distributed, e.g. networked systems, clusters, multiprocessor systems
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3051Monitoring arrangements for monitoring the configuration of the computing system or of the computing system component, e.g. monitoring the presence of processing resources, peripherals, I/O links, software programs
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3089Monitoring arrangements determined by the means or processing involved in sensing the monitored data, e.g. interfaces, connectors, sensors, probes, agents
    • G06F11/3093Configuration details thereof, e.g. installation, enabling, spatial arrangement of the probes

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Quality & Reliability (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Debugging And Monitoring (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)

Abstract

The application provides a fault equipment positioning method, a fault equipment positioning device, fault equipment positioning equipment and a readable storage medium, wherein the fault equipment positioning method comprises the following steps: and receiving the identification of the fault equipment sent by the cloud computing system platform, and determining the machine slot corresponding to the identification of the fault equipment as the machine slot where the fault equipment is located based on the corresponding relation between the identification of each equipment and each machine slot. The machine slots are provided with connecting pieces in one-to-one correspondence, and the identifications stored in the electronic tags of the equipment placed in each machine slot are consistent with the identifications stored in the connecting pieces corresponding to the machine slots. According to the method, the corresponding relation between the identification of each device and each machine slot is established in advance, each device is respectively arranged in the correct machine slot, and when the identification of the fault device sent by the cloud computing system platform is received, the machine slot where the fault device is located can be determined according to the identification, so that the fault device can be accurately and rapidly located, and the efficiency and accuracy of locating the fault device are improved.

Description

故障设备定位方法、装置、设备及可读存储介质Faulty equipment locating method, device, equipment and readable storage medium

技术领域Technical field

本申请涉及设备管理技术领域,尤其涉及一种故障设备定位方法、装置、设备及可读存储介质。The present application relates to the technical field of equipment management, and in particular to a method, device, equipment and readable storage medium for locating faulty equipment.

背景技术Background technique

数据中心是利用已有的互联网通信线路、带宽资源,建立的标准化的机房,其内部署有大量的设备,包括网络设备、存储设备、计算设备等,设备放置在机槽中。当有设备出现故障时,需要用户从大量的设备中找到故障设备并进行设备维护。A data center is a standardized computer room established using existing Internet communication lines and bandwidth resources. A large number of equipment is deployed in it, including network equipment, storage equipment, computing equipment, etc., and the equipment is placed in the machine slots. When a device fails, users are required to find the faulty device from a large number of devices and perform equipment maintenance.

目前,常见的故障设备定位方法为,为每个设备所在的机槽贴上纸质标签,标签上写有该机槽放置的设备的标识和配置信息,用户可以通过查看标签找到故障设备所在的机槽,进而确定故障设备。Currently, a common method for locating faulty equipment is to attach a paper label to the machine slot where each device is located. The label contains the identification and configuration information of the device placed in the machine slot. Users can find the location of the faulty equipment by checking the label. machine slot to determine the faulty device.

但是,上述的故障设备定位方法效率较低,无法实现故障设备的快速定位,且纸质标签会存在破损或褪色等问题,从而影响故障设备定位的准确度。However, the above-mentioned method of locating faulty equipment is inefficient and cannot quickly locate the faulty equipment. Moreover, the paper labels may be damaged or faded, which affects the accuracy of locating the faulty equipment.

发明内容Contents of the invention

本申请提供一种故障设备定位方法、装置、设备及可读存储介质,用以提高故障设备定位的效率和准确度。This application provides a method, device, equipment and readable storage medium for locating faulty equipment to improve the efficiency and accuracy of locating faulty equipment.

第一方面,本申请提供一种故障设备定位方法,应用于设备运行管理系统,所述方法包括:In the first aspect, this application provides a method for locating faulty equipment, which is applied to an equipment operation management system. The method includes:

接收云计算系统平台发送的故障设备的标识;Receive the identification of the faulty device sent by the cloud computing system platform;

基于预定的第一映射关系,确定所述故障设备的标识对应的机槽,作为所述故障设备所在的机槽;其中,所述第一映射关系包括各设备的标识与各机槽的对应关系;Based on the predetermined first mapping relationship, the machine slot corresponding to the identification of the faulty device is determined as the machine slot where the faulty device is located; wherein the first mapping relationship includes the corresponding relationship between the identification of each device and each machine slot. ;

其中,各机槽一一对应设置有连接件,所述设备运行管理系统与各机槽对应的连接件连接,每个机槽对应的连接件与所述机槽中放置的设备的电子标签连接,每个机槽对应的连接件存储有所述第一映射关系中所述机槽对应的设备的标识;每个设备的电子标签中存储有该设备的标识;其中,每个机槽中放置的设备的电子标签存储的标识与该机槽对应的连接件中存储的标识一致。Wherein, each machine slot is provided with connectors in one-to-one correspondence, the equipment operation management system is connected to the connector corresponding to each machine slot, and the connector corresponding to each machine slot is connected to the electronic label of the equipment placed in the machine slot. , the connector corresponding to each machine slot stores the identification of the equipment corresponding to the machine slot in the first mapping relationship; the electronic label of each equipment stores the identification of the equipment; wherein, each machine slot is placed The identification stored in the electronic tag of the device is consistent with the identification stored in the connector corresponding to the machine slot.

进一步地,如上所述的方法,所述方法还包括:Further, the method as mentioned above, the method also includes:

根据待配置的第一设备,为所述第一设备分配第一标识和第一机槽,并将第一标识和第一机槽之间的对应关系存至所述第一映射关系;According to the first device to be configured, assign a first identifier and a first slot to the first device, and store the corresponding relationship between the first identifier and the first slot in the first mapping relationship;

根据所述第一机槽的标识,基于各机槽和各连接件的标识之间的对应关系,将所述第一标识写入所述第一机槽对应的第一连接件;According to the identification of the first machine slot, based on the correspondence between the identifications of each machine slot and each connector, write the first identification into the first connector corresponding to the first machine slot;

当所述第一连接件连接至所述第一机槽中放置的设备的电子标签时,获取所述第一机槽中放置的设备的电子标签存储的标识,并读取所述第一连接件存储的所述第一标识;When the first connector is connected to the electronic tag of the device placed in the first machine slot, the identification stored in the electronic tag of the device placed in the first machine slot is obtained, and the first connection is read The first identification stored in the file;

若所述电子标签中存储的标识和所述第一标识一致,则不为所述第一映射关系中的所述第一标识添加标注。If the identifier stored in the electronic tag is consistent with the first identifier, no label is added to the first identifier in the first mapping relationship.

进一步地,如上所述的方法,所述方法还包括:Further, the method as mentioned above, the method also includes:

若所述电子标签中存储的标识和所述第一标识不一致,则为所述第一映射关系中的所述第一标识添加标注;If the identifier stored in the electronic tag is inconsistent with the first identifier, add a label to the first identifier in the first mapping relationship;

所述基于预定的第一映射关系,确定所述故障设备的标识对应的机槽,作为所述故障设备所在的机槽,包括:Determining the machine slot corresponding to the identification of the faulty device based on the predetermined first mapping relationship as the machine slot where the faulty device is located includes:

若所述第一映射关系中所述故障设备的标识未携带标注,则基于预定的第一映射关系,确定所述故障设备的标识对应的机槽,作为所述故障设备所在的机槽,否则,输出放置错误信息。If the identification of the faulty device in the first mapping relationship does not carry a label, then based on the predetermined first mapping relationship, determine the slot corresponding to the identification of the faulty device as the slot where the faulty device is located, otherwise , output the placement error message.

进一步地,如上所述的方法,每个机槽对应设置有第一指示灯;所述基于预定的第一映射关系,确定所述故障设备的标识对应的机槽,作为所述故障设备所在的机槽之后,还包括:Further, in the method as described above, each machine slot is provided with a first indicator light; based on the predetermined first mapping relationship, the machine slot corresponding to the identification of the faulty device is determined as the location where the faulty device is located. After the machine slot, it also includes:

接收所述云计算系统平台发送的故障类型;Receive the fault type sent by the cloud computing system platform;

确定所述故障设备所在的机槽对应的第一指示灯;Determine the first indicator light corresponding to the machine slot where the faulty equipment is located;

控制所述故障设备所在的机槽对应的第一指示灯呈现所述故障类型对应的显示状态;其中,不同的故障类型对应不同的显示状态。The first indicator light corresponding to the machine slot where the faulty equipment is located is controlled to present a display state corresponding to the fault type; wherein different fault types correspond to different display states.

进一步地,如上所述的方法,所述机槽集成在机柜中,且每个机柜对应设置有第二指示灯;所述基于预定的第一映射关系,确定所述故障设备的标识对应的机槽,作为所述故障设备所在的机槽之后,还包括:Further, in the method as described above, the machine slot is integrated in the cabinet, and each cabinet is provided with a second indicator light; based on the predetermined first mapping relationship, the machine corresponding to the identification of the faulty device is determined. The slot, after the slot where the faulty device is located, also includes:

根据所述故障设备所在的机槽,查找机柜信息表,确定所述故障设备所在的机槽所属的目标机柜,所述机柜信息表存储有各机柜对应的机槽信息;According to the machine slot where the faulty equipment is located, search the cabinet information table to determine the target cabinet to which the machine slot where the faulty equipment is located belongs. The cabinet information table stores the machine slot information corresponding to each cabinet;

确定所述目标机柜对应的第二指示灯,并控制所述目标机柜对应的第二指示灯呈现所述故障类型对应的显示状态;其中,不同的故障类型对应不同的显示状态。Determine the second indicator light corresponding to the target cabinet, and control the second indicator light corresponding to the target cabinet to present a display state corresponding to the fault type; wherein different fault types correspond to different display states.

进一步地,如上所述的方法,若接收到所述云计算系统平台发送的所述故障设备的标识,所述方法还包括:Further, as described above, if the identification of the faulty device sent by the cloud computing system platform is received, the method further includes:

输出故障提示信号,所述故障提示信号包括显示信号和/或声音信号。Output a fault prompt signal, which includes a display signal and/or an audio signal.

进一步地,如上所述的方法,所述故障设备包括其第一配置信息和第二配置信息不一致的设备;其中,所述设备的第一配置信息是从所述设备获取的配置信息,所述设备的第二配置信息为第二映射关系中存储的该设备对应的配置信息;所述第二映射关系包括预先设定的各设备对应的配置信息。Further, in the method as described above, the faulty device includes a device whose first configuration information and second configuration information are inconsistent; wherein the first configuration information of the device is configuration information obtained from the device, and the The second configuration information of the device is the configuration information corresponding to the device stored in the second mapping relationship; the second mapping relationship includes preset configuration information corresponding to each device.

进一步地,如上所述的方法,所述故障设备包括云计算系统平台监测到的运行状态发生故障的设备。Further, in the method as described above, the faulty device includes a device whose operating status is faulty as monitored by the cloud computing system platform.

第二方面,本申请提供一种故障设备定位装置,应用于设备运行管理系统,所述装置包括:In a second aspect, this application provides a device for locating faulty equipment, which is used in an equipment operation management system. The device includes:

接收模块,用于接收云计算系统平台发送的故障设备的标识;The receiving module is used to receive the identification of the faulty device sent by the cloud computing system platform;

确定模块,用于基于预定的第一映射关系,确定所述故障设备的标识对应的机槽,作为所述故障设备所在的机槽;其中,所述第一映射关系包括各设备的标识与各机槽的对应关系;Determining module, configured to determine the slot corresponding to the identification of the faulty device based on a predetermined first mapping relationship as the slot where the faulty device is located; wherein the first mapping relationship includes the identification of each device and each Correspondence between machine slots;

其中,各机槽一一对应设置有连接件,所述设备运行管理系统与各机槽对应的连接件连接,每个机槽对应的连接件与所述机槽中放置的设备的电子标签连接,每个机槽对应的连接件存储有所述第一映射关系中所述机槽对应的设备的标识;每个设备的电子标签中存储有该设备的标识;其中,每个机槽中放置的设备的电子标签存储的标识与该机槽对应的连接件中存储的标识一致。Wherein, each machine slot is provided with connectors in one-to-one correspondence, the equipment operation management system is connected to the connector corresponding to each machine slot, and the connector corresponding to each machine slot is connected to the electronic label of the equipment placed in the machine slot. , the connector corresponding to each machine slot stores the identification of the equipment corresponding to the machine slot in the first mapping relationship; the electronic label of each equipment stores the identification of the equipment; wherein, each machine slot is placed The identification stored in the electronic tag of the device is consistent with the identification stored in the connector corresponding to the machine slot.

第三方面,本申请提供一种电子设备,包括:存储器,处理器;In a third aspect, this application provides an electronic device, including: a memory and a processor;

存储器:用于存储所述处理器可执行指令的存储器;Memory: memory used to store instructions executable by the processor;

其中,所述处理器用于调用所述存储器中的程序指令执行如第一方面所述的故障设备定位方法。Wherein, the processor is configured to call program instructions in the memory to execute the method for locating faulty equipment as described in the first aspect.

第四方面,本申请提供一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机执行指令,所述计算机执行指令被处理器执行时用于实现如第一方面所述的故障设备定位方法。In a fourth aspect, the present application provides a computer-readable storage medium, which stores computer-executable instructions. When executed by a processor, the computer-executable instructions are used to realize the fault as described in the first aspect. Device location method.

第五方面,本申请提供一种计算机程序产品,包括计算机程序,所述计算机程序被处理器执行时实现如第一方面所述的故障设备定位方法。In a fifth aspect, the present application provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the faulty equipment locating method as described in the first aspect is implemented.

本申请提供一种故障设备定位方法、装置、设备及可读存储介质,接收云计算系统平台发送的故障设备的标识,并基于预定的各设备的标识与各机槽的对应关系,确定故障设备的标识对应的机槽,作为故障设备所在的机槽。其中,各机槽一一对应设置有连接件,每个机槽中放置的设备的电子标签存储的标识与该机槽对应的连接件中存储的标识一致。也就是说,本申请预先建立了各设备的标识与各机槽的对应关系,并将各设备分别设置在机槽对应的连接件中存储的标识与其电子标签存储的标识一致的机槽,也即正确的机槽中,当接收到云计算系统平台发送的故障设备的标识时,即可根据该标识确定出故障设备所在的机槽,从而可以准确且快速地定位故障设备,提升了故障设备定位的效率和准确度。This application provides a method, device, equipment and readable storage medium for locating faulty equipment, which receives the identification of the faulty equipment sent by the cloud computing system platform, and determines the faulty equipment based on the predetermined corresponding relationship between the identification of each equipment and each machine slot. The slot corresponding to the identification is used as the slot where the faulty device is located. Each machine slot is provided with connectors in one-to-one correspondence, and the identification stored in the electronic tag of the equipment placed in each machine slot is consistent with the identification stored in the connector corresponding to the machine slot. That is to say, this application has established the corresponding relationship between the identification of each device and each machine slot in advance, and sets each device in the machine slot where the identification stored in the corresponding connector of the machine slot is consistent with the identification stored in its electronic tag. That is, in the correct slot, when the identification of the faulty device sent by the cloud computing system platform is received, the slot where the faulty device is located can be determined based on the identification, so that the faulty device can be accurately and quickly located, improving the efficiency of the faulty device. Positioning efficiency and accuracy.

附图说明Description of drawings

此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本申请的实施例,并与说明书一起用于解释本申请的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.

图1为本申请实施例提供的故障设备定位方法的流程图;Figure 1 is a flow chart of a method for locating faulty equipment provided by an embodiment of the present application;

图2为本申请实施例提供的连接方式的示意图;Figure 2 is a schematic diagram of the connection method provided by the embodiment of the present application;

图3为本申请实施例提供的故障设备定位方法的流程图;Figure 3 is a flow chart of a method for locating faulty equipment provided by an embodiment of the present application;

图4为本申请实施例的场景示意图;Figure 4 is a schematic diagram of a scene according to an embodiment of the present application;

图5为本申请实施例提供的故障设备定位装置的结构示意图;Figure 5 is a schematic structural diagram of a faulty equipment locating device provided by an embodiment of the present application;

图6为本申请的电子设备的结构示意图。Figure 6 is a schematic structural diagram of the electronic device of the present application.

通过上述附图,已示出本申请明确的实施例,后文中将有更详细的描述。这些附图和文字描述并不是为了通过任何方式限制本申请构思的范围,而是通过参考特定实施例为本领域技术人员说明本申请的概念。Through the above-mentioned drawings, clear embodiments of the present application have been shown, which will be described in more detail below. These drawings and text descriptions are not intended to limit the scope of the present application's concepts in any way, but are intended to illustrate the application's concepts for those skilled in the art with reference to specific embodiments.

具体实施方式Detailed ways

这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本申请相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本申请的一些方面相一致的装置和方法的例子。Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with this application. Rather, they are merely examples of apparatus and methods consistent with aspects of the application as detailed in the appended claims.

数据中心中部署有大量的设备,当有设备出现故障时,需要在大量的设备中定位出故障设备并对其进行维护。现有技术中,为每个设备所在的机槽贴上纸质标签,标签上写有该机槽放置的设备的标识和配置信息,用户可以通过查看标签找到故障设备所在的机槽,进而确定故障设备。There are a large number of devices deployed in the data center. When a device fails, the faulty device needs to be located among the large number of devices and maintained. In the existing technology, a paper label is attached to the machine slot where each device is located. The label contains the identification and configuration information of the device placed in the machine slot. The user can find the machine slot where the faulty device is located by checking the label, and then determine the machine slot where the faulty device is located. Faulty equipment.

但是,上述的故障设备定位方法效率较低,此外,若纸质标签破损或褪色,则需要用户花费很多的时间去进行信息核实,且会存在故障设备定位不准确的问题。However, the above-mentioned method of locating faulty equipment is inefficient. In addition, if the paper label is damaged or faded, the user will need to spend a lot of time to verify the information, and there will be problems with inaccurate location of the faulty equipment.

本申请提供的故障设备定位方法、装置、设备及可读存储介质,旨在解决现有技术的如上技术问题。The faulty equipment locating method, device, equipment and readable storage medium provided by this application are intended to solve the above technical problems of the existing technology.

下面以具体地实施例对本申请的技术方案以及本申请的技术方案如何解决上述技术问题进行详细说明。下面这几个具体的实施例可以相互结合,对于相同或相似的概念或过程可能在某些实施例中不再赘述。下面将结合附图,对本申请的实施例进行描述。The technical solution of the present application and how the technical solution of the present application solves the above technical problems will be described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of the present application will be described below with reference to the accompanying drawings.

实施例一Embodiment 1

图1为本申请实施例提供的故障设备定位方法的流程图,如图1所示,本实施例提供的故障设备定位方法包括以下步骤:Figure 1 is a flow chart of a faulty equipment locating method provided by an embodiment of the present application. As shown in Figure 1, the faulty equipment locating method provided by this embodiment includes the following steps:

步骤101、接收云计算系统平台发送的故障设备的标识。Step 101: Receive the identification of the faulty device sent by the cloud computing system platform.

步骤102、基于预定的第一映射关系,确定所述故障设备的标识对应的机槽,作为所述故障设备所在的机槽;其中,所述第一映射关系包括各设备的标识与各机槽的对应关系。Step 102: Based on the predetermined first mapping relationship, determine the slot corresponding to the identification of the faulty device as the slot where the faulty device is located; wherein the first mapping relationship includes the identification of each device and each slot. corresponding relationship.

其中,各机槽一一对应设置有连接件,所述设备运行管理系统与各机槽对应的连接件连接,每个机槽对应的连接件与所述机槽中放置的设备的电子标签连接,每个机槽对应的连接件存储有所述第一映射关系中所述机槽对应的设备的标识;每个设备的电子标签中存储有该设备的标识;其中,每个机槽中放置的设备的电子标签存储的标识与该机槽对应的连接件中存储的标识一致。Wherein, each machine slot is provided with connectors in one-to-one correspondence, the equipment operation management system is connected to the connector corresponding to each machine slot, and the connector corresponding to each machine slot is connected to the electronic label of the equipment placed in the machine slot. , the connector corresponding to each machine slot stores the identification of the equipment corresponding to the machine slot in the first mapping relationship; the electronic label of each equipment stores the identification of the equipment; wherein, each machine slot is placed The identification stored in the electronic tag of the device is consistent with the identification stored in the connector corresponding to the machine slot.

需要说明的是,本实施例提供的故障设备定位方法的执行主体可以为故障设备定位装置。在实际应用中,该故障设备定位装置可以通过计算机程序实现,例如应用软件,计算机程序等,也可以通过存储有相关计算机程序的介质,例如,U盘、光盘等实现;或者,还可以通过集成或安装有相关计算机程序的实体装置实现,例如,芯片等。It should be noted that the execution subject of the faulty equipment locating method provided in this embodiment may be a faulty equipment locating device. In practical applications, the faulty equipment locating device can be implemented through computer programs, such as application software, computer programs, etc., or through media storing relevant computer programs, such as U disks, optical disks, etc.; or, it can also be implemented through integrated Or implemented by a physical device installed with relevant computer programs, such as a chip, etc.

在本实施例中,为了能够准确快速地对故障设备进行定位,故障设备定位装置首先可以接收云计算系统平台发送的故障设备的标识,具体地,设备的标识可以为设备的ID,也可以为其他合适的标识,本实施例对此不做限定。接下来,故障设备定位装置可以基于预定的第一映射关系,确定故障设备的标识对应的机槽,作为故障设备所在的机槽。其中,第一映射关系包括各设备的标识与各机槽的对应关系。In this embodiment, in order to accurately and quickly locate the faulty device, the faulty device locating device can first receive the identification of the faulty device sent by the cloud computing system platform. Specifically, the identification of the device can be the ID of the device, or it can be Other suitable identifiers are not limited in this embodiment. Next, the faulty equipment locating device may determine the slot corresponding to the identification of the faulty equipment based on the predetermined first mapping relationship as the slot where the faulty equipment is located. The first mapping relationship includes a corresponding relationship between the identifier of each device and each slot.

举例来说,在实际应用中,若有3台设备分别放置在机槽中,各台设备的标识分别为1、2、3,其中,标识1对应的机槽为第一排第一列的机槽,标识2对应的机槽为第一排第二列的机槽,标识3对应的机槽为第一排第三列的机槽,则若故障设备定位装置接收云计算系统平台发送的故障设备的标识为2,则可根据该对应关系,确定标识2对应的第一排第二列的机槽为故障设备所在的机槽,也即该机槽放置的设备为故障设备。For example, in actual application, if there are three devices placed in the machine slots, the identifications of each device are 1, 2, and 3 respectively. Among them, the machine slot corresponding to the identification 1 is the first row and the first column. Machine slot, the machine slot corresponding to the mark 2 is the machine slot in the first row and the second column, and the machine slot corresponding to the mark 3 is the machine slot in the first row and the third column, then if the faulty equipment locating device receives the machine slot sent by the cloud computing system platform If the identification of the faulty device is 2, then according to the corresponding relationship, it can be determined that the slot in the first row and the second column corresponding to the identification 2 is the slot where the faulty device is located, that is, the device placed in this slot is the faulty device.

需要说明的是,本实施例提供的故障设备定位方法应用于设备运行管理系统。It should be noted that the faulty equipment locating method provided in this embodiment is applied to the equipment operation management system.

图2为本申请实施例提供的连接方式的示意图,如图2所示,各机槽一一对应设置有连接件,设备运行管理系统与各机槽对应的连接件连接,具体地,可以通过数据线连接,也可以通过其他合适的方式连接,本实施例对此不做限定。每个机槽对应的连接件与机槽中放置的设备的电子标签连接,具体地,电子标签可以通过具有弹性的数据线,使用按扣方式与连接件连接,也可通过其他合适的方式连接,本实施例对此不做限定。Figure 2 is a schematic diagram of the connection method provided by the embodiment of the present application. As shown in Figure 2, each machine slot is provided with connectors in one-to-one correspondence. The equipment operation management system is connected to the connectors corresponding to each machine slot. Specifically, it can be The data line connection can also be connected through other suitable methods, which is not limited in this embodiment. The connecting piece corresponding to each machine slot is connected to the electronic tag of the device placed in the machine slot. Specifically, the electronic tag can be connected to the connecting piece through an elastic data cable, using a snap button, or can be connected in other suitable ways. , this embodiment does not limit this.

此外,每个机槽对应的连接件存储有第一映射关系中该机槽对应的设备的标识,每个设备的电子标签中存储有该设备的标识。其中,每个机槽中放置的设备的电子标签存储的标识与该机槽对应的连接件中存储的标识一致,也即设备放置在正确的机槽中,从而可以保证故障设备定位的准确性。In addition, the connector corresponding to each machine slot stores the identification of the equipment corresponding to the machine slot in the first mapping relationship, and the electronic label of each equipment stores the identification of the equipment. Among them, the identification stored in the electronic tag of the equipment placed in each machine slot is consistent with the identification stored in the connector corresponding to the machine slot, that is, the equipment is placed in the correct machine slot, thus ensuring the accuracy of locating the faulty equipment. .

在上述实施例一的基础上,在一个示例中,故障设备可以包括其第一配置信息和第二配置信息不一致的设备。其中,设备的第一配置信息是云计算系统平台从设备获取的配置信息,设备的第二配置信息为第二映射关系中存储的该设备对应的配置信息,其中,第二映射关系包括预先设定的各设备对应的配置信息。Based on the above-mentioned Embodiment 1, in one example, the faulty device may include a device whose first configuration information and second configuration information are inconsistent. Wherein, the first configuration information of the device is the configuration information obtained by the cloud computing system platform from the device, and the second configuration information of the device is the configuration information corresponding to the device stored in the second mapping relationship, where the second mapping relationship includes preset Configuration information corresponding to certain devices.

表一为本申请实施例提供的第二映射关系表,如表一所示,各设备对应的配置信息包括CPU、内存片规格、内存块数、硬盘型号、硬盘块数、网卡型号、网卡数量以及媒体存取控制位址(Media Access Control Address,简称MAC地址)。Table 1 is the second mapping relationship table provided by the embodiment of the present application. As shown in Table 1, the configuration information corresponding to each device includes CPU, memory chip specifications, number of memory blocks, hard disk model, number of hard disk blocks, network card model, and number of network cards. And the Media Access Control Address (MAC address for short).

举例来说,在实际应用中,若云计算系统平台从设备标识为c86268fe-3de6-4922-a0e7-3af59afa8bf5的设备中获取的配置信息,也即第一配置信息,包括:CPU为64C、内存片规格为32G、内存块数为8、硬盘型号为SAS、硬盘块数为8、网卡型号为1G光口、网卡数量为3、MAC地址为2E-6A-38-A6-B8-6C。而第二映射关系中存储的该设备对应的配置信息,也即第二配置信息,包括:CPU为64C、内存片规格为32G、内存块数为8、硬盘型号为SAS、硬盘块数为10、网卡型号为1G光口、网卡数量为3、MAC地址为2E-6A-38-A6-B8-6C。由于在该设备的第一配置信息中,硬盘块数为8,在第二配置信息中,硬盘块数为10,因此该设备的第一配置信息和第二配置信息不一致,也就是说,该设备为故障设备。For example, in actual applications, if the cloud computing system platform obtains the configuration information from the device with the device identification of c86268fe-3de6-4922-a0e7-3af59afa8bf5, that is, the first configuration information, including: CPU is 64C, memory slice The specification is 32G, the number of memory blocks is 8, the hard disk model is SAS, the number of hard disk blocks is 8, the network card model is 1G optical port, the number of network cards is 3, and the MAC address is 2E-6A-38-A6-B8-6C. The configuration information corresponding to the device stored in the second mapping relationship, that is, the second configuration information, includes: CPU is 64C, memory chip specification is 32G, memory block number is 8, hard disk model is SAS, and hard disk number is 10 , the network card model is 1G optical port, the number of network cards is 3, and the MAC address is 2E-6A-38-A6-B8-6C. Since in the first configuration information of the device, the number of hard disk blocks is 8, and in the second configuration information, the number of hard disk blocks is 10, the first configuration information and the second configuration information of the device are inconsistent, that is to say, the number of hard disk blocks is 8. The device is faulty.

表一Table I

在上述实施例一的基础上,在又一个示例中,故障设备可以包括云计算系统平台监测到的运行状态发生故障的设备,故障包括但不限于CPU运行故障或硬盘运行故障等。Based on the above-mentioned Embodiment 1, in another example, the faulty device may include a device whose operating status is faulty as monitored by the cloud computing system platform. The fault includes but is not limited to a CPU operation failure or a hard disk operation failure.

在一种可选的实施方式中,若机槽对应的连接件与机槽中放置的设备的电子标签在连接断开后重新进行连接,则云计算系统平台可以重新获取该设备的配置信息,从而实现第一配置信息的更新。In an optional implementation, if the connector corresponding to the machine slot and the electronic label of the device placed in the machine slot are reconnected after being disconnected, the cloud computing system platform can re-obtain the configuration information of the device, Thus, the first configuration information is updated.

本实施例提供的故障设备定位方法,接收云计算系统平台发送的故障设备的标识,并基于预定的各设备的标识与各机槽的对应关系,确定故障设备的标识对应的机槽,作为故障设备所在的机槽。其中,各机槽一一对应设置有连接件,每个机槽中放置的设备的电子标签存储的标识与该机槽对应的连接件中存储的标识一致。也就是说,在本申请实施例中,预先建立了各设备的标识与各机槽的对应关系,并将各设备分别设置在机槽对应的连接件中存储的标识与其电子标签存储的标识一致的机槽,也即正确的机槽中,当接收到云计算系统平台发送的故障设备的标识时,即可根据该标识确定出故障设备所在的机槽,从而可以准确且快速地定位故障设备,提升了故障设备定位的效率和准确度。The faulty device locating method provided in this embodiment receives the identification of the faulty device sent by the cloud computing system platform, and based on the predetermined correspondence between the identification of each device and each slot, determines the slot corresponding to the identification of the faulty device as the fault. The slot in which the device is located. Each machine slot is provided with connectors in one-to-one correspondence, and the identification stored in the electronic tag of the equipment placed in each machine slot is consistent with the identification stored in the connector corresponding to the machine slot. That is to say, in the embodiment of the present application, the corresponding relationship between the identification of each device and each machine slot is established in advance, and the identification stored in the corresponding connector of each device in the machine slot is consistent with the identification stored in its electronic tag. In the machine slot, that is, in the correct machine slot, when the identification of the faulty device sent by the cloud computing system platform is received, the slot where the faulty device is located can be determined based on the identification, so that the faulty device can be accurately and quickly located. , improving the efficiency and accuracy of faulty equipment location.

实施例二Embodiment 2

图3为本申请实施例提供的故障设备定位方法的流程图,如图3所示,本实施例提供的故障设备定位方法,在上述实施例一的基础上,还包括以下步骤:Figure 3 is a flow chart of a faulty equipment locating method provided by an embodiment of the present application. As shown in Figure 3, the faulty equipment locating method provided by this embodiment, based on the above-mentioned Embodiment 1, also includes the following steps:

步骤201、根据待配置的第一设备,为所述第一设备分配第一标识和第一机槽,并将第一标识和第一机槽之间的对应关系存至所述第一映射关系。Step 201: According to the first device to be configured, assign a first identifier and a first slot to the first device, and store the corresponding relationship between the first identifier and the first slot in the first mapping relationship. .

步骤202、根据所述第一机槽的标识,基于各机槽和各连接件的标识之间的对应关系,将所述第一标识写入所述第一机槽对应的第一连接件。Step 202: Based on the identification of the first machine slot and the corresponding relationship between the identifications of each machine slot and each connector, write the first identification into the first connector corresponding to the first machine slot.

步骤203、当所述第一连接件连接至所述第一机槽中放置的设备的电子标签时,获取所述第一机槽中放置的设备的电子标签存储的标识,并读取所述第一连接件存储的所述第一标识。Step 203: When the first connector is connected to the electronic tag of the device placed in the first machine slot, obtain the identification stored in the electronic tag of the device placed in the first machine slot, and read the The first identification is stored in the first connecting piece.

步骤204、若所述电子标签中存储的标识和所述第一标识一致,则不为所述第一映射关系中的所述第一标识添加标注。Step 204: If the identifier stored in the electronic tag is consistent with the first identifier, do not add a label to the first identifier in the first mapping relationship.

在本实施例中,为了能够对故障设备进行准确定位,需要保证机槽中放置的设备的电子标签中存储的标识与该机槽对应的连接件存储的标识相一致,也即需要保证设备放置在正确的机槽中,因此在进行故障设备定位前,需要对该一致性进行检测。In this embodiment, in order to accurately locate the faulty equipment, it is necessary to ensure that the identification stored in the electronic label of the equipment placed in the machine slot is consistent with the identification stored in the connector corresponding to the machine slot, that is, it is necessary to ensure that the equipment is placed in the correct slot, so the consistency needs to be checked before locating the faulty device.

在一个示例中,故障设备定位装置首先可以根据待配置的第一设备,为第一设备分配第一标识和第一机槽,具体分配方法本实施例不做限定,并将第一标识和第一机槽之间的对应关系存至第一映射关系,以便后续基于该第一映射关系进行故障设备定位。接下来,故障设备定位装置可以根据第一机槽的标识,基于各机槽和各连接件的标识之间的对应关系,将第一标识写入第一机槽对应的第一连接件。In one example, the faulty equipment locating device may first allocate a first identification and a first machine slot to the first equipment according to the first equipment to be configured. The specific allocation method is not limited in this embodiment, and the first identification and the first machine slot are assigned to the first equipment. The corresponding relationship between a machine slot is stored in the first mapping relationship, so that faulty equipment can be located later based on the first mapping relationship. Next, the faulty equipment locating device may write the first identification into the first connector corresponding to the first machine slot based on the identification of the first machine slot and the corresponding relationship between the identifications of each machine slot and each connector.

在此基础上,当第一连接件连接至第一机槽中放置的设备的电子标签时,为了进行一致性检测,故障设备定位装置可以获取第一机槽中放置的设备的电子标签存储的标识,并读取第一连接件存储的第一标识。若电子标签中存储的标识和第一标识一致,则表明设备放置在正确的机槽中,则不为第一映射关系中的第一标识添加标注。On this basis, when the first connecting member is connected to the electronic tag of the equipment placed in the first machine slot, in order to perform consistency detection, the faulty equipment locating device can obtain the electronic tag stored in the equipment placed in the first machine slot. identification, and read the first identification stored in the first connecting piece. If the identification stored in the electronic label is consistent with the first identification, it indicates that the equipment is placed in the correct slot, and no label is added to the first identification in the first mapping relationship.

在又一个示例中,若电子标签中存储的标识和第一标识不一致,则表明设备放置在错误的机槽中,则在此基础上进行故障设备定位的结果是不准确的,因此故障设备定位装置可以为第一映射关系中的第一标识添加标注。In another example, if the identification stored in the electronic label is inconsistent with the first identification, it means that the equipment is placed in the wrong machine slot, and the result of locating the faulty equipment based on this is inaccurate. Therefore, the location of the faulty equipment is inaccurate. The device may add a label to the first identifier in the first mapping relationship.

相应地,步骤102,包括:若第一映射关系中故障设备的标识未携带标注,则表明设备放置在正确的机槽中,故障设备定位装置可以基于预定的第一映射关系,确定故障设备的标识对应的机槽,作为故障设备所在的机槽。Accordingly, step 102 includes: if the identification of the faulty device in the first mapping relationship does not carry a label, it indicates that the device is placed in the correct slot, and the faulty device locating device can determine the location of the faulty device based on the predetermined first mapping relationship. Identify the corresponding slot as the slot where the faulty device is located.

若第一映射关系中故障设备的标识携带标注,则表明设备放置在错误的机槽中,故障设备定位装置可以输出放置错误信息,从而对用户进行提醒。其中,放置错误信息可以以声音信号,例如提示音的方式呈现,也可以以显示信号,例如提示灯的方式呈现,或是其他合适的呈现方式,本实施例对此不做限定。If the identification of the faulty device in the first mapping relationship carries a label, it indicates that the device is placed in the wrong slot, and the faulty device locating device can output placement error information to remind the user. The placement error information may be presented in the form of a sound signal, such as a prompt tone, or may be presented in the form of a display signal, such as a prompt light, or other appropriate presentation methods, which are not limited in this embodiment.

举例来说,图4为本申请实施例的场景示意图,如图4所示,机柜1中设置有多个机槽2,各机槽2一一对应设置有连接件4,实际应用中,连接件4可以设置在柜门上与机槽对应的位置。具体的,某机槽被分配相应设备后,该机槽对应的连接件可用于存储该机槽应放置的设备的ID标识;设备运行管理系统与各机槽对应的连接件4通过数据线连接,结合图示举例,机槽中分别放置了设备A、设备B和设备C,每个机槽对应的连接件4与该机槽中放置的设备的电子标签3通过具有弹性的数据线,该数据线的端部可设置与连接件4配合的对应连接件,比如连接件4可以为按扣,对应的,数据线的端部可以设置相应的按扣件,两者可以使用按扣方式连接。For example, Figure 4 is a schematic diagram of a scene according to an embodiment of the present application. As shown in Figure 4, a plurality of machine slots 2 are provided in the cabinet 1, and each machine slot 2 is provided with a connector 4 in one-to-one correspondence. In practical applications, the connection Part 4 can be arranged on the cabinet door at a position corresponding to the machine slot. Specifically, after a machine slot is assigned a corresponding device, the connector corresponding to the machine slot can be used to store the ID identification of the device that should be placed in the machine slot; the equipment operation management system is connected to the connector 4 corresponding to each machine slot through a data cable. , combined with the example shown in the figure, equipment A, equipment B and equipment C are respectively placed in the machine slot. The connector 4 corresponding to each machine slot and the electronic tag 3 of the device placed in the machine slot pass through an elastic data line. The end of the data cable can be provided with a corresponding connector that matches the connector 4. For example, the connector 4 can be a snap. Correspondingly, the end of the data cable can be provided with a corresponding snap. The two can be connected using snaps. .

以按扣方式举例,当连接线的端部与连接件4按扣连接时,故障设备定位装置可以获取机槽2中放置的设备的电子标签3存储的标识,并读取连接件4存储的第一标识。如果设备A的电子标签中存储的标识和第一标识一致,则表明设备A放置在了正确的机槽中,而设备C的电子标签中存储的标识和第一标识不一致,则表明设备C放置在了错误的机槽中,在此基础上故障设备定位装置可以为第一标识添加标注,以提高后续故障设备定位的准确性。Taking the snap button method as an example, when the end of the connection line is snap-connected to the connector 4, the faulty equipment locating device can obtain the identification stored in the electronic tag 3 of the equipment placed in the machine slot 2, and read the stored information in the connector 4. First logo. If the identification stored in the electronic label of equipment A is consistent with the first identification, it means that equipment A is placed in the correct machine slot. If the identification stored in the electronic label of equipment C is inconsistent with the first identification, it means that equipment C is placed in the correct machine slot. In the wrong machine slot, on this basis, the faulty equipment locating device can add a mark to the first identification to improve the accuracy of subsequent faulty equipment locating.

本实施例提供的故障设备定位方法,为第一设备分配第一标识和第一机槽,并将第一标识和第一机槽之间的对应关系存至第一映射关系,将第一标识写入第一机槽对应的第一连接件,当第一连接件连接至第一机槽中放置的设备的电子标签时,检测电子标签中存储的标识与第一标识是否一致,若一致,则不为第一映射关系中的第一标识添加标注,若不一致,则表明设备放置在错误的机槽中,则为第一映射关系中的第一标识添加标注,当进行故障设备定位时,可输出放置错误信息,从而对用户进行提醒,进一步保证了故障设备定位的准确性。The faulty device locating method provided in this embodiment allocates a first identifier and a first slot to the first device, stores the corresponding relationship between the first identifier and the first slot in the first mapping relationship, and stores the first identifier in the first mapping relationship. Write the first connector corresponding to the first slot. When the first connector is connected to the electronic tag of the device placed in the first slot, it is detected whether the identification stored in the electronic tag is consistent with the first identification. If they are consistent, Then do not add a label to the first identifier in the first mapping relationship. If it is inconsistent, it means that the device is placed in the wrong slot. Then add a label to the first identifier in the first mapping relationship. When locating the faulty device, It can output placement error information to remind users, further ensuring the accuracy of locating faulty equipment.

实施例三Embodiment 3

在上述实施例一的基础上,为了进一步说明本申请实施例提供的故障设备定位方法,每个机槽对应设置有第一指示灯,相应地,在步骤102之后,还包括:接收所述云计算系统平台发送的故障类型;确定所述故障设备所在的机槽对应的第一指示灯;控制所述故障设备所在的机槽对应的第一指示灯呈现所述故障类型对应的显示状态;其中,不同的故障类型对应不同的显示状态。On the basis of the above-mentioned Embodiment 1, in order to further illustrate the faulty equipment locating method provided by the embodiment of the present application, each machine slot is provided with a first indicator light. Correspondingly, after step 102, it also includes: receiving the cloud Calculate the fault type sent by the system platform; determine the first indicator light corresponding to the machine slot where the faulty equipment is located; control the first indicator light corresponding to the machine slot where the faulty equipment is located to present a display state corresponding to the fault type; wherein , different fault types correspond to different display states.

在本实施例中,由于设备故障会对网络运营造成影响,因此为了保证网络的正常运营,需要尽快对故障设备进行维护,在对故障设备进行定位之后,还可以通过指示灯的方式进行显示,从而用户可以更加方便快速地找到故障设备,并对其进行维护。In this embodiment, since equipment failure will affect network operations, in order to ensure the normal operation of the network, the faulty equipment needs to be maintained as soon as possible. After the faulty equipment is located, it can also be displayed by means of indicator lights. This allows users to find faulty equipment more conveniently and quickly and maintain it.

在一个示例中,每个机槽对应设置有第一指示灯,在故障设备定位装置确定故障设备所在的机槽后,还可以接收云计算系统平台发送的故障类型,并确定故障设备所在的机槽对应的第一指示灯,控制该第一指示灯呈现故障类型对应的显示状态。其中,不同的故障类型对应不同的显示状态。In one example, each machine slot is provided with a first indicator light. After the faulty equipment locating device determines the machine slot where the faulty equipment is located, it can also receive the fault type sent by the cloud computing system platform and determine the machine slot where the faulty equipment is located. The first indicator light corresponding to the slot is controlled to present a display state corresponding to the fault type. Among them, different fault types correspond to different display states.

此外,第一指示灯可以为LED灯,也可以为其他合适的指示灯,本实施例对此不做限定。In addition, the first indicator light may be an LED light or other appropriate indicator lights, which is not limited in this embodiment.

表二为本申请实施例提供的故障类型与第一指示灯的显示状态对照表,如表二所示,故障类型包括“故障类型不明,需排查”、“需更换设备”和“需扩容硬件或更换硬件”,其对应的显示状态分别为“红色”、“红色闪烁”和“黄色闪烁”。此外,当设备工作正常时,第一指示灯的显示状态为“绿色”。Table 2 is a comparison table between the fault types and the display status of the first indicator light provided by the embodiment of the present application. As shown in Table 2, the fault types include "unknown fault type and needs to be checked", "equipment needs to be replaced" and "hardware needs to be expanded". Or replace the hardware", the corresponding display status is "red", "red flashing" and "yellow flashing" respectively. In addition, when the device is working normally, the display status of the first indicator light is "green".

举例来说,在实际用用中,若故障设备定位装置接收云计算系统平台发送的故障类型为“需扩容硬件或更换硬件”,则控制故障设备所在的机槽对应的第一指示灯呈现“黄色闪烁”的显示状态,以方便用户尽快确定故障类型并进行相应的处理。For example, in actual use, if the fault type that the faulty equipment locating device receives from the cloud computing system platform is "Hardware needs to be expanded or replaced," the first indicator light corresponding to the slot where the faulty device is located will display " Yellow flashing" display status to facilitate users to determine the fault type as soon as possible and handle it accordingly.

在又一个示例中,故障设备定位装置还可以根据故障类型输出需要更换的硬件的清单和硬件在备件库中所在的位置,以方便用户取用。In another example, the faulty equipment locating device can also output a list of hardware that needs to be replaced and the location of the hardware in the spare parts library according to the fault type to facilitate user access.

表二Table II

在一种可选的实施方式中,在上述实施例三的基础上,所述机槽集成在机柜中,且每个机柜对应设置有第二指示灯,相应地,在步骤102之后,还包括:根据所述故障设备所在的机槽,查找机柜信息表,确定所述故障设备所在的机槽所属的目标机柜,所述机柜信息表存储有各机柜对应的机槽信息;确定所述目标机柜对应的第二指示灯,并控制所述目标机柜对应的第二指示灯呈现所述故障类型对应的显示状态;其中,不同的故障类型对应不同的显示状态。In an optional implementation, on the basis of the above-mentioned Embodiment 3, the machine slot is integrated in the cabinet, and each cabinet is provided with a second indicator light. Correspondingly, after step 102, it also includes: : According to the machine slot where the faulty equipment is located, search the cabinet information table to determine the target cabinet to which the machine slot where the faulty equipment is located belongs. The cabinet information table stores the slot information corresponding to each cabinet; determine the target cabinet. The corresponding second indicator light is used, and the second indicator light corresponding to the target cabinet is controlled to present a display state corresponding to the fault type; wherein different fault types correspond to different display states.

在本实施例中,由于机槽数量很多,因此对应每个机槽设置的第一指示灯数量也很多,用户无法快速在大量第一指示灯中找出呈现故障类型对应的显示状态的第一指示灯,工作效率不高。因此,可以将机槽集成在机柜中,且每个机柜对应设置有第二指示灯。In this embodiment, since there are a large number of machine slots, there are also a large number of first indicator lights corresponding to each machine slot. The user cannot quickly find the first indicator light that displays a display status corresponding to the fault type among a large number of first indicator lights. Indicator light, working efficiency is not high. Therefore, the machine slot can be integrated into the cabinet, and each cabinet is provided with a corresponding second indicator light.

在一个示例中,在故障设备定位装置确定故障设备所在的机槽后,可以根据故障设备所在的机槽,查找存储有各机柜对应的机槽信息的机柜信息表,确定故障设备所在的机槽所属的目标机柜,从而确定目标机柜对应的第二指示灯,并控制该第二指示灯呈现故障类型对应的显示状态。其中,不同的故障类型对应不同的显示状态。In one example, after the faulty equipment locating device determines the slot where the faulty equipment is located, the rack information table that stores the slot information corresponding to each cabinet can be searched according to the slot where the faulty equipment is located, and the slot where the faulty equipment is located can be determined. The target cabinet it belongs to determines the second indicator light corresponding to the target cabinet, and controls the second indicator light to present a display state corresponding to the fault type. Among them, different fault types correspond to different display states.

此外,第一指示灯可以为LED灯,也可以为其他合适的指示灯,本实施例对此不做限定。In addition, the first indicator light may be an LED light or other appropriate indicator lights, which is not limited in this embodiment.

表三为本申请实施例提供的故障类型与第二指示灯的显示状态对照表,如表三所示,故障类型包括“故障类型不明,需排查”、“需更换设备”和“需扩容硬件或更换硬件”,其对应的显示状态分别为“红色”、“红色闪烁”和“黄色闪烁”。此外,当目标机柜的所有机槽中放置的设备均工作正常时,第二指示灯的显示状态为“绿色”。Table 3 is a comparison table between the fault types and the display status of the second indicator light provided by the embodiment of the present application. As shown in Table 3, the fault types include "unknown fault type and needs to be checked", "equipment needs to be replaced" and "hardware needs to be expanded". Or replace the hardware", the corresponding display status is "red", "red flashing" and "yellow flashing" respectively. In addition, when the devices placed in all slots of the target cabinet are working normally, the display status of the second indicator light is "green".

举例来说,在实际用用中,若故障设备定位装置接收云计算系统平台发送的故障类型为“需扩容硬件或更换硬件”,则控制故障设备所在的机槽所属的目标机柜对应的第二指示灯呈现“黄色闪烁”的显示状态,以提示用户尽快进行相应的处理。For example, in actual use, if the fault type that the faulty equipment locating device receives from the cloud computing system platform is "hardware expansion or hardware replacement is required", the second location corresponding to the target cabinet to which the slot of the faulty device is located will be controlled. The indicator light shows a "yellow flashing" display status to prompt the user to perform corresponding processing as soon as possible.

表三Table 3

序号serial number 显示状态Display state 故障类型Fault type 11 红色red 故障类型不明,需排查The fault type is unknown and needs to be investigated 22 红色闪烁Flashing red 需更换设备Need to replace equipment 33 黄色闪烁yellow flashing 需扩容硬件或更换硬件Need to expand hardware or replace hardware

此外,在又一个示例中,当目标机柜的机柜门关闭时,目标机柜的所有机槽对应的第一指示灯均为熄灭状态,当目标机柜的机柜门打开时,第一指示灯则根据不同的故障类型,呈现如上述实施例所述的显示状态,从而可以避免资源的浪费。In addition, in another example, when the cabinet door of the target cabinet is closed, the first indicator lights corresponding to all the slots of the target cabinet are in an extinguished state. When the cabinet door of the target cabinet is opened, the first indicator lights are turned on according to different The fault type displays the display status as described in the above embodiment, thereby avoiding waste of resources.

通过上述方式,用户可以方便地找出故障设备所在的机柜,进而快速找到故障设备,并可根据指示灯的不同显示状态,对故障设备进行相应的维护处理,提高工作效率。Through the above method, users can easily find the cabinet where the faulty device is located, and then quickly find the faulty device. According to the different display status of the indicator light, users can perform corresponding maintenance on the faulty device to improve work efficiency.

在又一种可选的实施方式中,在上述实施例三的基础上,若接收到所述云计算系统平台发送的所述故障设备的标识,所述方法还包括:输出故障提示信号,所述故障提示信号包括显示信号和/或声音信号。In yet another optional implementation, based on the above-mentioned Embodiment 3, if the identification of the faulty device sent by the cloud computing system platform is received, the method further includes: outputting a fault prompt signal, so The fault prompt signal includes a display signal and/or an audio signal.

在本实施例中,故障设备定位装置若接收到云计算系统平台发送的故障设备的标识,为了更加直观且快速地提醒用户机房中有需要进行维护的故障设备,可以输出故障提示信号。具体地,故障提示信号可以为显示信号和/或声音信号,例如提示灯和/或提示音,本实施例对此不做限定。In this embodiment, if the faulty equipment locating device receives the identification of the faulty device sent by the cloud computing system platform, in order to more intuitively and quickly remind the user that there is a faulty device that needs maintenance in the computer room, it can output a fault prompt signal. Specifically, the fault prompt signal may be a display signal and/or a sound signal, such as a prompt light and/or a prompt sound, which is not limited in this embodiment.

本实施例提供的故障设备定位方法,通过指示灯使用户方便快速地找到故障设备,并通过指示灯呈现的不同显示状态,使用户尽快确定故障类型并进行相应的处理,提高工作效率。The method for locating faulty equipment provided by this embodiment allows users to easily and quickly find faulty equipment through indicator lights, and through the different display states presented by the indicator lights, allows users to determine the fault type as quickly as possible and perform corresponding processing, thereby improving work efficiency.

实施例四Embodiment 4

图5为本申请实施例提供的故障设备定位装置的结构示意图,如图5所示,本实施例提供的故障设备定位装置包括:接收模块41以及确定模块42。其中,接收模块41,用于接收云计算系统平台发送的故障设备的标识。确定模块42,用于基于预定的第一映射关系,确定所述故障设备的标识对应的机槽,作为所述故障设备所在的机槽;其中,所述第一映射关系包括各设备的标识与各机槽的对应关系;其中,各机槽一一对应设置有连接件,所述设备运行管理系统与各机槽对应的连接件连接,每个机槽对应的连接件与所述机槽中放置的设备的电子标签连接,每个机槽对应的连接件存储有所述第一映射关系中所述机槽对应的设备的标识;每个设备的电子标签中存储有该设备的标识;其中,每个机槽中放置的设备的电子标签存储的标识与该机槽对应的连接件中存储的标识一致。FIG. 5 is a schematic structural diagram of a faulty equipment locating device provided by an embodiment of the present application. As shown in FIG. 5 , the faulty equipment locating device provided by this embodiment includes: a receiving module 41 and a determining module 42 . Among them, the receiving module 41 is used to receive the identification of the faulty device sent by the cloud computing system platform. The determination module 42 is configured to determine the slot corresponding to the identification of the faulty device based on a predetermined first mapping relationship as the slot where the faulty device is located; wherein the first mapping relationship includes the identification of each device and The corresponding relationship between each machine slot; wherein, each machine slot is provided with a connector in a one-to-one correspondence, the equipment operation management system is connected to the connector corresponding to each machine slot, and the connector corresponding to each machine slot is connected to the connector in the machine slot. The electronic tags of the placed equipment are connected, and the connector corresponding to each machine slot stores the identification of the equipment corresponding to the machine slot in the first mapping relationship; the electronic label of each device stores the identification of the equipment; wherein , the identification stored in the electronic tag of the equipment placed in each machine slot is consistent with the identification stored in the connector corresponding to the machine slot.

本实施例提供的故障设备定位装置,接收云计算系统平台发送的故障设备的标识,并基于预定的各设备的标识与各机槽的对应关系,确定故障设备的标识对应的机槽,作为故障设备所在的机槽。其中,各机槽一一对应设置有连接件,每个机槽中放置的设备的电子标签存储的标识与该机槽对应的连接件中存储的标识一致。也就是说,在本申请实施例中,预先建立了各设备的标识与各机槽的对应关系,并将各设备分别设置在机槽对应的连接件中存储的标识与其电子标签存储的标识一致的机槽,也即正确的机槽中,当接收到云计算系统平台发送的故障设备的标识时,即可根据该标识确定出故障设备所在的机槽,从而可以准确且快速地定位故障设备,提升了故障设备定位的效率和准确度。The faulty equipment locating device provided in this embodiment receives the identification of the faulty equipment sent by the cloud computing system platform, and based on the predetermined correspondence between the identification of each equipment and each slot, determines the slot corresponding to the identification of the faulty equipment as the fault. The slot in which the device is located. Each machine slot is provided with connectors in one-to-one correspondence, and the identification stored in the electronic tag of the equipment placed in each machine slot is consistent with the identification stored in the connector corresponding to the machine slot. That is to say, in the embodiment of the present application, the corresponding relationship between the identification of each device and each machine slot is established in advance, and the identification stored in the corresponding connector of each device in the machine slot is consistent with the identification stored in its electronic tag. In the machine slot, that is, in the correct machine slot, when the identification of the faulty device sent by the cloud computing system platform is received, the slot where the faulty device is located can be determined based on the identification, so that the faulty device can be accurately and quickly located. , improving the efficiency and accuracy of faulty equipment location.

可选实施方式中,所述故障设备定位装置,还包括:配置模块43、写入模块44、读取模块45以及处理模块46。其中,配置模块43,用于根据待配置的第一设备,为所述第一设备分配第一标识和第一机槽,并将第一标识和第一机槽之间的对应关系存至所述第一映射关系。写入模块44,用于根据所述第一机槽的标识,基于各机槽和各连接件的标识之间的对应关系,将所述第一标识写入所述第一机槽对应的第一连接件。读取模块45,用于当所述第一连接件连接至所述第一机槽中放置的设备的电子标签时,获取所述第一机槽中放置的设备的电子标签存储的标识,并读取所述第一连接件存储的所述第一标识。处理模块46,用于若所述电子标签中存储的标识和所述第一标识一致,则不为所述第一映射关系中的所述第一标识添加标注。In an optional implementation, the faulty equipment locating device further includes: a configuration module 43 , a writing module 44 , a reading module 45 and a processing module 46 . Among them, the configuration module 43 is used to assign a first identifier and a first slot to the first device according to the first device to be configured, and store the corresponding relationship between the first identifier and the first slot in the first device. Describe the first mapping relationship. The writing module 44 is configured to write the first identification into the corresponding third machine slot of the first machine slot based on the corresponding relationship between the identifications of each machine slot and each connector based on the identification of the first machine slot. A connector. The reading module 45 is configured to obtain the identification stored in the electronic label of the equipment placed in the first machine slot when the first connector is connected to the electronic tag of the equipment placed in the first machine slot, and Read the first identification stored in the first connecting piece. The processing module 46 is configured to not add a label to the first identifier in the first mapping relationship if the identifier stored in the electronic tag is consistent with the first identifier.

可选实施方式中,所述处理模块46,还用于若所述电子标签中存储的标识和所述第一标识不一致,则为所述第一映射关系中的所述第一标识添加标注。所述确定模块42,还用于若所述第一映射关系中所述故障设备的标识未携带标注,则基于预定的第一映射关系,确定所述故障设备的标识对应的机槽,作为所述故障设备所在的机槽,否则,输出放置错误信息。In an optional embodiment, the processing module 46 is further configured to add a label to the first identifier in the first mapping relationship if the identifier stored in the electronic tag is inconsistent with the first identifier. The determination module 42 is also configured to determine, based on the predetermined first mapping relationship, the slot corresponding to the identification of the faulty device as the slot if the identification of the faulty device in the first mapping relationship does not carry a label. Specify the slot where the faulty device is located; otherwise, a placement error message will be output.

可选实施方式中,每个机槽对应设置有第一指示灯。所述接收模块41,还用于接收所述云计算系统平台发送的故障类型。所述确定模块42,还用于确定所述故障设备所在的机槽对应的第一指示灯。所述故障设备定位装置,还包括控制模块47,用于控制所述故障设备所在的机槽对应的第一指示灯呈现所述故障类型对应的显示状态;其中,不同的故障类型对应不同的显示状态。In an optional implementation, each machine slot is provided with a first indicator light. The receiving module 41 is also used to receive the fault type sent by the cloud computing system platform. The determination module 42 is also used to determine the first indicator light corresponding to the machine slot where the faulty device is located. The faulty equipment locating device also includes a control module 47 for controlling the first indicator light corresponding to the machine slot where the faulty equipment is located to present a display state corresponding to the fault type; wherein, different fault types correspond to different displays. state.

可选实施方式中,所述机槽集成在机柜中,且每个机柜对应设置有第二指示灯。所述确定模块42,还用于根据所述故障设备所在的机槽,查找机柜信息表,确定所述故障设备所在的机槽所属的目标机柜,所述机柜信息表存储有各机柜对应的机槽信息。所述控制模块47,还用于确定所述目标机柜对应的第二指示灯,并控制所述目标机柜对应的第二指示灯呈现所述故障类型对应的显示状态;其中,不同的故障类型对应不同的显示状态。In an optional implementation, the machine slot is integrated in a cabinet, and each cabinet is provided with a second indicator light. The determination module 42 is also used to search the cabinet information table according to the machine slot where the faulty equipment is located, and determine the target cabinet to which the machine slot where the faulty equipment is located belongs. The cabinet information table stores the machine slot corresponding to each cabinet. slot information. The control module 47 is also used to determine the second indicator light corresponding to the target cabinet, and control the second indicator light corresponding to the target cabinet to present a display state corresponding to the fault type; wherein different fault types correspond to Different display status.

可选实施方式中,所述故障设备定位装置,还包括输出模块48,用于输出故障提示信号,所述故障提示信号包括显示信号和/或声音信号。In an optional embodiment, the faulty equipment locating device further includes an output module 48 for outputting a fault prompt signal, where the fault prompt signal includes a display signal and/or an audio signal.

可选实施方式中,所述故障设备包括其第一配置信息和第二配置信息不一致的设备;其中,所述设备的第一配置信息是从所述设备获取的配置信息,所述设备的第二配置信息为第二映射关系中存储的该设备对应的配置信息;所述第二映射关系包括预先设定的各设备对应的配置信息。In an optional implementation, the faulty device includes a device whose first configuration information and second configuration information are inconsistent; wherein the first configuration information of the device is configuration information obtained from the device, and the third configuration information of the device is The second configuration information is the configuration information corresponding to the device stored in the second mapping relationship; the second mapping relationship includes preset configuration information corresponding to each device.

可选实施方式中,所述故障设备包括云计算系统平台监测到的运行状态发生故障的设备。In an optional implementation, the faulty device includes a device whose operating status is faulty as monitored by the cloud computing system platform.

需要说明的是,本实施例提供的故障设备定位装置执行的技术方案和效果可以参见前述方法实施例的相关内容,在此不再赘述。It should be noted that the technical solutions and effects performed by the faulty equipment locating device provided in this embodiment can be found in the relevant content of the foregoing method embodiments, and will not be described again here.

实施例五Embodiment 5

图6为本申请的电子设备的结构示意图,如图6所示,本申请还提供了一种电子设备500,包括:存储器501和处理器502。FIG. 6 is a schematic structural diagram of the electronic device of the present application. As shown in FIG. 6 , the present application also provides an electronic device 500 , including a memory 501 and a processor 502 .

存储器501,用于存放程序。具体地,程序可以包括程序代码,所述程序代码包括计算机执行指令。存储器501可能包含高速RAM存储器,也可能还包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。Memory 501 is used to store programs. Specifically, a program may include program code including computer-executable instructions. The memory 501 may include high-speed RAM memory, and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.

处理器502,用于执行存储器501存放的程序。The processor 502 is used to execute the program stored in the memory 501.

其中,计算机程序存储在存储器501中,并被配置为由处理器502执行以实现本申请任意一个实施例提供的故障设备定位方法。相关说明可以对应参见附图中的步骤所对应的相关描述和效果进行理解,此处不做过多赘述。The computer program is stored in the memory 501 and is configured to be executed by the processor 502 to implement the faulty equipment locating method provided by any embodiment of the present application. Relevant descriptions can be understood by referring to the relevant descriptions and effects corresponding to the steps in the accompanying drawings, and will not be described in detail here.

其中,本实施例中,存储器501和处理器502通过总线连接。所述总线可以是工业标准体系结构(Industry Standard Architecture,简称为ISA)总线、外部设备互连(Peripheral Component,简称为PCI)总线或扩展工业标准体系结构(Extended IndustryStandard Architecture,简称为EISA)总线等。所述总线可以分为地址总线、数据总线、控制总线等。为便于表示,图6中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。In this embodiment, the memory 501 and the processor 502 are connected through a bus. The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. . The bus can be divided into address bus, data bus, control bus, etc. For ease of presentation, only one thick line is used in Figure 6, but it does not mean that there is only one bus or one type of bus.

实施例六Embodiment 6

本申请实施例还提供一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行以实现本申请任意一个实施例提供的故障设备定位方法。Embodiments of the present application also provide a computer-readable storage medium on which a computer program is stored, and the computer program is executed by a processor to implement the faulty equipment locating method provided by any embodiment of the present application.

实施例七Embodiment 7

本申请实施例还提供一种计算机程序产品,包括计算机程序,所述计算机程序被处理器执行时实现本申请任意一个实施例提供故障设备定位方法。An embodiment of the present application also provides a computer program product, including a computer program. When the computer program is executed by a processor, the computer program implements the method for locating faulty equipment provided in any embodiment of the present application.

在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个模块或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或模块的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of modules is only a logical function division. In actual implementation, there may be other division methods. For example, multiple modules or components may be combined or integrated. to another system, or some features can be ignored, or not implemented. On the other hand, the coupling or direct coupling or communication connection between each other shown or discussed may be through some interfaces, indirect coupling or communication connection of devices or modules, and may be in electrical, mechanical or other forms.

作为分离部件说明的模块可以是或者也可以不是物理上分开的,作为模块显示的部件可以是或者也可以不是物理模块,即可以位于一个地方,或者也可以分布到多个网络模块上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。Modules described as separate components may or may not be physically separated, and components shown as modules may or may not be physical modules, that is, they may be located in one place, or they may be distributed to multiple network modules. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

另外,在本申请各个实施例中的各功能模块可以集成在一个处理模块中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用硬件加软件功能模块的形式实现。In addition, each functional module in each embodiment of the present application can be integrated into one processing module, or each module can exist physically alone, or two or more modules can be integrated into one module. The above integrated modules can be implemented in the form of hardware or in the form of hardware plus software function modules.

用于实施本申请的方法的程序代码可以采用一个或多个编程语言的任何组合来编写。这些程序代码可以提供给通用计算机、专用计算机或其他可编程故障设备定位装置的处理器或控制器,使得程序代码当由处理器或控制器执行时使流程图和/或框图中所规定的功能/操作被实施。程序代码可以完全在机器上执行、部分地在机器上执行,作为独立软件包部分地在机器上执行且部分地在远程机器上执行或完全在远程机器或设备上执行。Program code for implementing the methods of the present application may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, special-purpose computer, or other programmable fault equipment locating device, such that the program codes, when executed by the processor or controller, cause the functions specified in the flowcharts and/or block diagrams /operation is performed. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or device.

在本申请的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的更具体示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。In the context of this application, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. Machine-readable media may include, but are not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media would include one or more wire-based electrical connections, laptop disks, hard drives, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.

此外,虽然采用特定次序描绘了各操作,但是这应当理解为要求这样操作以所示出的特定次序或以顺序次序执行,或者要求所有图示的操作应被执行以取得期望的结果。在一定环境下,多任务和并行处理可能是有利的。同样地,虽然在上面论述中包含了若干具体实现细节,但是这些不应当被解释为对本申请的范围的限制。在单独的实施例的上下文中描述的某些特征还可以组合地实现在单个实现中。相反地,在单个实现的上下文中描述的各种特征也可以单独地或以任何合适的子组合的方式实现在多个实现中。Furthermore, although operations are depicted in a specific order, this should be understood to require that such operations be performed in the specific order shown or in sequential order, or that all illustrated operations should be performed to achieve desirable results. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, although several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of the application. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single implementation. Conversely, various features that are described in the context of a single implementation can also be implemented in multiple implementations separately or in any suitable subcombination.

本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本申请的其它实施方案。本申请旨在涵盖本申请的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本申请的一般性原理并包括本申请未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本申请的真正范围和精神由下面的权利要求书指出。Other embodiments of the present application will be readily apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this application that follow the general principles of this application and include common knowledge or customary technical means in the technical field that are not disclosed in this application. . It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.

应当理解的是,本申请并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本申请的范围仅由所附的权利要求书来限制。It is to be understood that the present application is not limited to the precise structures described above and illustrated in the accompanying drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (9)

1.一种故障设备定位方法,其特征在于,应用于设备运行管理系统,所述方法包括:1. A method for locating faulty equipment, characterized in that it is applied to an equipment operation management system, and the method includes: 接收云计算系统平台发送的故障设备的标识;Receive the identification of the faulty device sent by the cloud computing system platform; 基于预定的第一映射关系,确定所述故障设备的标识对应的机槽,作为所述故障设备所在的机槽;其中,所述第一映射关系包括各设备的标识与各机槽的对应关系;Based on the predetermined first mapping relationship, the machine slot corresponding to the identification of the faulty device is determined as the machine slot where the faulty device is located; wherein the first mapping relationship includes the corresponding relationship between the identification of each device and each machine slot. ; 其中,各机槽一一对应设置有连接件,所述设备运行管理系统与各机槽对应的连接件连接,每个机槽对应的连接件与所述机槽中放置的设备的电子标签连接,每个机槽对应的连接件存储有所述第一映射关系中所述机槽对应的设备的标识;每个设备的电子标签中存储有该设备的标识;其中,每个机槽中放置的设备的电子标签存储的标识与该机槽对应的连接件中存储的标识一致;Wherein, each machine slot is provided with connectors in one-to-one correspondence, the equipment operation management system is connected to the connector corresponding to each machine slot, and the connector corresponding to each machine slot is connected to the electronic label of the equipment placed in the machine slot. , the connector corresponding to each machine slot stores the identification of the equipment corresponding to the machine slot in the first mapping relationship; the electronic label of each equipment stores the identification of the equipment; wherein, each machine slot is placed The identification stored in the electronic tag of the equipment is consistent with the identification stored in the connector corresponding to the machine slot; 所述方法还包括:The method also includes: 根据待配置的第一设备,为所述第一设备分配第一标识和第一机槽,并将第一标识和第一机槽之间的对应关系存至所述第一映射关系;According to the first device to be configured, assign a first identifier and a first slot to the first device, and store the corresponding relationship between the first identifier and the first slot in the first mapping relationship; 根据所述第一机槽的标识,基于各机槽和各连接件的标识之间的对应关系,将所述第一标识写入所述第一机槽对应的第一连接件;According to the identification of the first machine slot, based on the correspondence between the identifications of each machine slot and each connector, write the first identification into the first connector corresponding to the first machine slot; 当所述第一连接件连接至所述第一机槽中放置的设备的电子标签时,获取所述第一机槽中放置的设备的电子标签存储的标识,并读取所述第一连接件存储的所述第一标识;When the first connector is connected to the electronic tag of the device placed in the first machine slot, the identification stored in the electronic tag of the device placed in the first machine slot is obtained, and the first connection is read The first identification stored in the file; 若所述电子标签中存储的标识和所述第一标识一致,则不为所述第一映射关系中的所述第一标识添加标注;If the identifier stored in the electronic tag is consistent with the first identifier, then no label is added to the first identifier in the first mapping relationship; 若所述电子标签中存储的标识和所述第一标识不一致,则为所述第一映射关系中的所述第一标识添加标注;If the identifier stored in the electronic tag is inconsistent with the first identifier, add a label to the first identifier in the first mapping relationship; 所述基于预定的第一映射关系,确定所述故障设备的标识对应的机槽,作为所述故障设备所在的机槽,包括:Determining the machine slot corresponding to the identification of the faulty device based on the predetermined first mapping relationship as the machine slot where the faulty device is located includes: 若所述第一映射关系中所述故障设备的标识未携带标注,则基于预定的第一映射关系,确定所述故障设备的标识对应的机槽,作为所述故障设备所在的机槽,否则,输出放置错误信息。If the identification of the faulty device in the first mapping relationship does not carry a label, then based on the predetermined first mapping relationship, determine the slot corresponding to the identification of the faulty device as the slot where the faulty device is located, otherwise , output the placement error message. 2.根据权利要求1所述的方法,其特征在于,每个机槽对应设置有第一指示灯;所述基于预定的第一映射关系,确定所述故障设备的标识对应的机槽,作为所述故障设备所在的机槽之后,还包括:2. The method according to claim 1, characterized in that each machine slot is provided with a first indicator light; and based on the predetermined first mapping relationship, the machine slot corresponding to the identification of the faulty device is determined as After the machine slot where the faulty equipment is located, it also includes: 接收所述云计算系统平台发送的故障类型;Receive the fault type sent by the cloud computing system platform; 确定所述故障设备所在的机槽对应的第一指示灯;Determine the first indicator light corresponding to the machine slot where the faulty equipment is located; 控制所述故障设备所在的机槽对应的第一指示灯呈现所述故障类型对应的显示状态;其中,不同的故障类型对应不同的显示状态。The first indicator light corresponding to the machine slot where the faulty equipment is located is controlled to present a display state corresponding to the fault type; wherein different fault types correspond to different display states. 3.根据权利要求2所述的方法,其特征在于,所述机槽集成在机柜中,且每个机柜对应设置有第二指示灯;所述基于预定的第一映射关系,确定所述故障设备的标识对应的机槽,作为所述故障设备所在的机槽之后,还包括:3. The method according to claim 2, characterized in that the machine slot is integrated in a cabinet, and each cabinet is provided with a second indicator light; the fault is determined based on a predetermined first mapping relationship. The machine slot corresponding to the identification of the equipment, after being the machine slot where the faulty equipment is located, also includes: 根据所述故障设备所在的机槽,查找机柜信息表,确定所述故障设备所在的机槽所属的目标机柜,所述机柜信息表存储有各机柜对应的机槽信息;According to the machine slot where the faulty equipment is located, search the cabinet information table to determine the target cabinet to which the machine slot where the faulty equipment is located belongs. The cabinet information table stores the machine slot information corresponding to each cabinet; 确定所述目标机柜对应的第二指示灯,并控制所述目标机柜对应的第二指示灯呈现所述故障类型对应的显示状态;其中,不同的故障类型对应不同的显示状态。Determine the second indicator light corresponding to the target cabinet, and control the second indicator light corresponding to the target cabinet to present a display state corresponding to the fault type; wherein different fault types correspond to different display states. 4.根据权利要求3所述的方法,其特征在于,若接收到所述云计算系统平台发送的所述故障设备的标识,所述方法还包括:4. The method according to claim 3, characterized in that, if the identification of the faulty device sent by the cloud computing system platform is received, the method further includes: 输出故障提示信号,所述故障提示信号包括显示信号和/或声音信号。Output a fault prompt signal, which includes a display signal and/or an audio signal. 5.根据权利要求1所述的方法,其特征在于,所述故障设备包括其第一配置信息和第二配置信息不一致的设备;其中,所述设备的第一配置信息是从所述设备获取的配置信息,所述设备的第二配置信息为第二映射关系中存储的该设备对应的配置信息;所述第二映射关系包括预先设定的各设备对应的配置信息。5. The method of claim 1, wherein the faulty device includes a device whose first configuration information and second configuration information are inconsistent; wherein the first configuration information of the device is obtained from the device. The configuration information of the device, the second configuration information of the device is the configuration information corresponding to the device stored in the second mapping relationship; the second mapping relationship includes preset configuration information corresponding to each device. 6.根据权利要求1所述的方法,其特征在于,所述故障设备包括云计算系统平台监测到的运行状态发生故障的设备。6. The method according to claim 1, wherein the faulty device includes a device whose operating status is faulty as monitored by the cloud computing system platform. 7.一种故障设备定位装置,其特征在于,应用于设备运行管理系统,所述装置包括:7. A faulty equipment locating device, characterized in that it is used in an equipment operation management system, and the device includes: 接收模块,用于接收云计算系统平台发送的故障设备的标识;The receiving module is used to receive the identification of the faulty device sent by the cloud computing system platform; 确定模块,用于基于预定的第一映射关系,确定所述故障设备的标识对应的机槽,作为所述故障设备所在的机槽;其中,所述第一映射关系包括各设备的标识与各机槽的对应关系;Determining module, configured to determine the slot corresponding to the identification of the faulty device based on a predetermined first mapping relationship as the slot where the faulty device is located; wherein the first mapping relationship includes the identification of each device and each Correspondence between machine slots; 其中,各机槽一一对应设置有连接件,所述设备运行管理系统与各机槽对应的连接件连接,每个机槽对应的连接件与所述机槽中放置的设备的电子标签连接,每个机槽对应的连接件存储有所述第一映射关系中所述机槽对应的设备的标识;每个设备的电子标签中存储有该设备的标识;其中,每个机槽中放置的设备的电子标签存储的标识与该机槽对应的连接件中存储的标识一致;Wherein, each machine slot is provided with connectors in one-to-one correspondence, the equipment operation management system is connected to the connector corresponding to each machine slot, and the connector corresponding to each machine slot is connected to the electronic label of the equipment placed in the machine slot. , the connector corresponding to each machine slot stores the identification of the equipment corresponding to the machine slot in the first mapping relationship; the electronic label of each equipment stores the identification of the equipment; wherein, each machine slot is placed The identification stored in the electronic tag of the equipment is consistent with the identification stored in the connector corresponding to the machine slot; 还包括:Also includes: 配置模块,用于根据待配置的第一设备,为所述第一设备分配第一标识和第一机槽,并将第一标识和第一机槽之间的对应关系存至所述第一映射关系;A configuration module configured to allocate a first identifier and a first slot to the first device according to the first device to be configured, and store the corresponding relationship between the first identifier and the first slot in the first device. Mapping relations; 写入模块,用于根据所述第一机槽的标识,基于各机槽和各连接件的标识之间的对应关系,将所述第一标识写入所述第一机槽对应的第一连接件;A writing module, configured to write the first identification into the first machine slot corresponding to the first machine slot based on the corresponding relationship between the identifications of each machine slot and each connector based on the identification of the first machine slot. connectors; 读取模块,用于当所述第一连接件连接至所述第一机槽中放置的设备的电子标签时,获取所述第一机槽中放置的设备的电子标签存储的标识,并读取所述第一连接件存储的所述第一标识;A reading module, configured to obtain the identification stored in the electronic tag of the equipment placed in the first machine slot when the first connector is connected to the electronic tag of the equipment placed in the first machine slot, and read Get the first identification stored in the first connector; 处理模块,用于若所述电子标签中存储的标识和所述第一标识一致,则不为所述第一映射关系中的所述第一标识添加标注;A processing module configured to not add a label to the first identifier in the first mapping relationship if the identifier stored in the electronic tag is consistent with the first identifier; 所述处理模块,还用于若所述电子标签中存储的标识和所述第一标识不一致,则为所述第一映射关系中的所述第一标识添加标注;The processing module is also configured to add a label to the first identification in the first mapping relationship if the identification stored in the electronic tag is inconsistent with the first identification; 所述确定模块,还用于若所述第一映射关系中所述故障设备的标识未携带标注,则基于预定的第一映射关系,确定所述故障设备的标识对应的机槽,作为所述故障设备所在的机槽,否则,输出放置错误信息。The determination module is also configured to determine, based on the predetermined first mapping relationship, the machine slot corresponding to the identification of the faulty device as the said identification of the faulty device in the first mapping relationship. The slot where the faulty device is located, otherwise, a placement error message will be output. 8.一种电子设备,其特征在于,包括:存储器,处理器;8. An electronic device, characterized by comprising: a memory and a processor; 存储器:用于存储所述处理器可执行指令的存储器;Memory: memory used to store instructions executable by the processor; 其中,所述处理器用于调用所述存储器中的程序指令执行如权利要求1-6任一项所述的故障设备定位方法。Wherein, the processor is configured to call program instructions in the memory to execute the faulty equipment locating method according to any one of claims 1-6. 9.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有计算机执行指令,所述计算机执行指令被处理器执行时用于实现如权利要求1-6任一项所述的故障设备定位方法。9. A computer-readable storage medium, characterized in that computer-executable instructions are stored in the computer-readable storage medium, and when executed by a processor, the computer-executable instructions are used to implement any one of claims 1-6. The described method for locating faulty equipment.
CN202110944653.5A 2021-08-17 2021-08-17 Faulty equipment locating method, device, equipment and readable storage medium Active CN113641555B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110944653.5A CN113641555B (en) 2021-08-17 2021-08-17 Faulty equipment locating method, device, equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110944653.5A CN113641555B (en) 2021-08-17 2021-08-17 Faulty equipment locating method, device, equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN113641555A CN113641555A (en) 2021-11-12
CN113641555B true CN113641555B (en) 2023-11-24

Family

ID=78422352

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110944653.5A Active CN113641555B (en) 2021-08-17 2021-08-17 Faulty equipment locating method, device, equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN113641555B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1633082A (en) * 2004-12-21 2005-06-29 中国联合通信有限公司 Method and device for fault location in communication network
WO2009033342A1 (en) * 2007-09-14 2009-03-19 Zte Corporation A clock synchronization system and method for the advanced telecommunication computing architecture
US9004352B1 (en) * 1998-11-25 2015-04-14 Diebold Self-Service Systems Division Of Diebold, Incorporated Banking system controlled responsive to data read from data bearing records
CN107679595A (en) * 2017-10-19 2018-02-09 宁波亿拍客网络科技有限公司 A kind of coordinate interrelation management system
CN109150674A (en) * 2018-08-13 2019-01-04 广东美的制冷设备有限公司 Fault cues system, method and device thereof, equipment, storage medium
CN110989926A (en) * 2019-11-11 2020-04-10 北京字节跳动网络技术有限公司 Faulty disk slot location method, device and electronic device
CN111190367A (en) * 2019-12-31 2020-05-22 龙新恋景科技(北京)有限公司 Control method and device for slot position of cabinet machine
CN111722058A (en) * 2020-06-17 2020-09-29 国网甘肃省电力公司信息通信公司 Fault detection method, device and medium for power information system based on knowledge graph

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115714930A (en) * 2022-09-30 2023-02-24 超聚变数字技术有限公司 Data forwarding device, computing device and cabinet

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9004352B1 (en) * 1998-11-25 2015-04-14 Diebold Self-Service Systems Division Of Diebold, Incorporated Banking system controlled responsive to data read from data bearing records
CN1633082A (en) * 2004-12-21 2005-06-29 中国联合通信有限公司 Method and device for fault location in communication network
WO2009033342A1 (en) * 2007-09-14 2009-03-19 Zte Corporation A clock synchronization system and method for the advanced telecommunication computing architecture
CN107679595A (en) * 2017-10-19 2018-02-09 宁波亿拍客网络科技有限公司 A kind of coordinate interrelation management system
CN109150674A (en) * 2018-08-13 2019-01-04 广东美的制冷设备有限公司 Fault cues system, method and device thereof, equipment, storage medium
CN110989926A (en) * 2019-11-11 2020-04-10 北京字节跳动网络技术有限公司 Faulty disk slot location method, device and electronic device
CN111190367A (en) * 2019-12-31 2020-05-22 龙新恋景科技(北京)有限公司 Control method and device for slot position of cabinet machine
CN111722058A (en) * 2020-06-17 2020-09-29 国网甘肃省电力公司信息通信公司 Fault detection method, device and medium for power information system based on knowledge graph

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
某型坦克自动装填故障自检系统的设计与开发;张振山 等;《电子测量技术》;第34卷(第09期);第106-109页 *

Also Published As

Publication number Publication date
CN113641555A (en) 2021-11-12

Similar Documents

Publication Publication Date Title
CN113475172B (en) System and method for locating and navigating data centers using augmented reality and available sensor data
US8996778B2 (en) Cable adapter correlation in a cluster
CN100472460C (en) Method and device for detecting and displaying computer self-inspection information
US20110302459A1 (en) System and method for testing hard disk ports
CN106484719B (en) Method and terminal for expanding mobile phone storage
CN106095528B (en) Method for detecting disk drive letter of virtual machine
US9342425B2 (en) Test apparatus and test module
CN111966419A (en) A method and device for automatically assigning VPP addresses by signal conditioning equipment
US20140164845A1 (en) Host computer and method for testing sas expanders
CN106021046A (en) Hard disk performance comparison method, device and server
CN113641555B (en) Faulty equipment locating method, device, equipment and readable storage medium
US9286253B2 (en) System and method for presenting devices through an SAS initiator-connected device
CN104391779A (en) System for automatically identifying physical position of equipment in asset operation and maintenance
CN118093031A (en) A wiring inspection method, device, equipment and machine-readable storage medium
US10705738B2 (en) Method, apparatus, storage medium, and terminal for optimizing memory card performance
CN107665129A (en) Information processing method and storage device
TWI795950B (en) Hard disk monitoring method, electronic device, and storage medium
CN117785537A (en) Method and device for configuring silk-screen information of equipment, computer equipment and storage medium
CN116401120A (en) Cable connection verification method, device, equipment and machine-readable storage medium
CN116126643A (en) Hard disk status light control method, device, device and readable storage medium
US20180032351A1 (en) Information processing method and storage device
CN115292104A (en) Hard disk hot plug management method, management device, equipment and medium
WO2021068686A1 (en) Device testing method, system, network device, and readable storage medium
EP3557422A1 (en) Method for accessing code sram, and electronic device
CN120371624B (en) Method for detecting abnormal connection of cable, electronic device and storage medium

Legal Events

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