CN114356624B - Positioning method, system, terminal and storage medium of composite CRC error reporting information - Google Patents
Positioning method, system, terminal and storage medium of composite CRC error reporting information Download PDFInfo
- Publication number
- CN114356624B CN114356624B CN202111556576.2A CN202111556576A CN114356624B CN 114356624 B CN114356624 B CN 114356624B CN 202111556576 A CN202111556576 A CN 202111556576A CN 114356624 B CN114356624 B CN 114356624B
- Authority
- CN
- China
- Prior art keywords
- hard disk
- error
- port
- serial number
- analyzing
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 29
- 239000002131 composite material Substances 0.000 title claims description 30
- 125000004122 cyclic group Chemical group 0.000 claims abstract description 18
- 150000001875 compounds Chemical class 0.000 claims abstract 9
- 238000004891 communication Methods 0.000 claims description 11
- 238000004458 analytical method Methods 0.000 claims description 9
- 238000004590 computer program Methods 0.000 claims description 3
- 238000012790 confirmation Methods 0.000 claims description 3
- 238000006243 chemical reaction Methods 0.000 claims 3
- 238000012423 maintenance Methods 0.000 abstract description 12
- 239000000463 material Substances 0.000 abstract description 7
- 238000004519 manufacturing process Methods 0.000 abstract description 6
- 238000012360 testing method Methods 0.000 abstract description 6
- 238000012795 verification Methods 0.000 abstract description 3
- 230000006870 function Effects 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 238000006467 substitution reaction Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 230000008439 repair process Effects 0.000 description 2
- 239000002699 waste material Substances 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/0703—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
- G06F11/079—Root cause analysis, i.e. error or fault diagnosis
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/0703—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
- G06F11/0706—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment
- G06F11/0727—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment in a storage system, e.g. in a DASD or network based storage system
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Biomedical Technology (AREA)
- Debugging And Monitoring (AREA)
- Test And Diagnosis Of Digital Computers (AREA)
Abstract
Description
技术领域Technical field
本发明涉及复合机型测试技术领域,具体涉及一种复合机型CRC报错信息的定位方法、系统、终端及存储介质。The invention relates to the technical field of composite model testing, and specifically to a method, system, terminal and storage medium for locating CRC error information of a composite model.
背景技术Background technique
大数据背景下,服务器生产厂家复合机型出货量占比越来越大,对于复合机型CRC(循环冗余较检)报错的精准快速定位成为必须。在单机压力测试中,CRC报错可以直接定位到硬盘的槽位,维修可通过交叉硬盘来验证,复合机型CRC报错包含硬盘,硬盘背板和上接线缆和下接线缆等问题,只报硬盘槽位不能满足现在的生产需求,需要再细分。Under the background of big data, the proportion of composite model shipments of server manufacturers is increasing, and it is necessary to accurately and quickly locate CRC (cyclic redundancy check) errors of composite models. In the stand-alone stress test, the CRC error can be directly located to the hard drive slot, and maintenance can be verified by crossing the hard drive. The CRC error of the composite model includes problems such as the hard drive, hard drive backplane, upper and lower cables, etc., only The reported hard drive slots cannot meet current production needs and need to be subdivided.
单机CRC报错方案已经不适用于复合机型,BOX CRC报错整条链路中的硬盘、硬盘背板、线缆、CM板及SAS线缆都可能是原因,维修人员排查困难,频繁换件可能又引入新的问题,浪费人力和物料,造成CRC报错机器长时间滞留维修工站,影响其它服务器的维修进度,尾单延期,不能按时交付。The single-machine CRC error reporting solution is no longer suitable for composite models. The hard drive, hard drive backplane, cable, CM board and SAS cable in the entire link of the BOX CRC error may be the cause. It is difficult for maintenance personnel to troubleshoot and frequent parts replacement may It also introduced new problems, wasted manpower and materials, caused the CRC error machine to stay in the maintenance station for a long time, affected the maintenance progress of other servers, delayed the final order, and could not be delivered on time.
发明内容Contents of the invention
针对现有技术的上述不足,本发明提供一种复合机型CRC报错信息的定位方法、系统、终端及存储介质,以解决上述技术问题。In view of the above-mentioned deficiencies in the prior art, the present invention provides a method, system, terminal and storage medium for locating CRC error information of a composite machine to solve the above-mentioned technical problems.
第一方面,本发明提供一种复合机型CRC报错信息的定位方法,包括:In a first aspect, the present invention provides a method for locating CRC error information of a composite machine, including:
解析复合机型的主控板、硬盘背板和线缆的连接拓扑;Analyze the connection topology of the main control board, hard disk backplane and cables of the composite model;
从复合机型的循环冗余校验结果中解析报错信息,获取所述报错信息的关联序列号及端口ID;Parse the error information from the cyclic redundancy check results of the composite model and obtain the associated serial number and port ID of the error information;
根据所述关联序列号解析硬盘背板号;Parse the hard disk backplane number based on the associated serial number;
根据硬盘背板号和所述端口ID从所述连接拓扑中定位报错信息所属的部件。Locate the component to which the error message belongs from the connection topology according to the hard disk backplane number and the port ID.
进一步的,从复合机型的循环冗余校验结果中解析报错信息,获取所述报错信息的关联序列号及端口ID,包括:Further, the error information is parsed from the cyclic redundancy check result of the composite model, and the associated serial number and port ID of the error information are obtained, including:
提取循环冗余校验结果中硬盘加压前后的误码信息,若硬盘加压前后的误码信息不一致则确定为报错信息,解析所述报错信息所属的关联序列号及端口ID。Extract the bit error information before and after the hard disk is pressurized in the cyclic redundancy check result. If the error information before and after the hard drive is pressurized is inconsistent, it is determined to be error information, and the associated serial number and port ID to which the error information belongs is parsed.
进一步的,根据所述关联序列号解析硬盘背板号,包括:Further, parsing the hard disk backplane number based on the associated serial number includes:
获取关联序列号的通信地址,并用所述通信地址在去掉分隔符后,减去设定的变换系数得到字符串;Obtain the communication address associated with the serial number, and use the communication address to obtain a string after removing the separator and subtracting the set transformation coefficient;
利用硬盘查询指令根据所述字符串查询设备名称,根据所述设备名称获取相应的硬盘背板号。Use the hard disk query command to query the device name according to the string, and obtain the corresponding hard disk backplane number according to the device name.
进一步的,根据硬盘背板号和所述端口ID从所述连接拓扑中定位报错信息所属的部件,包括:Further, locating the component to which the error message belongs from the connection topology according to the hard disk backplane number and the port ID includes:
根据硬盘背板号和端口ID从所述连接拓扑中确定故障链路,并根据故障链路在所述连接拓扑中的关联部件确定故障部件。Determine the faulty link from the connection topology based on the hard disk backplane number and port ID, and determine the faulty component based on the associated components of the faulty link in the connection topology.
第二方面,本发明提供一种复合机型CRC报错信息的定位系统,包括:In a second aspect, the present invention provides a positioning system for CRC error information of a composite machine, including:
拓扑解析单元,用于解析复合机型的主控板、硬盘背板和线缆的连接拓扑;The topology analysis unit is used to analyze the connection topology of the main control board, hard disk backplane and cables of the composite model;
报错解析单元,用于从复合机型的循环冗余校验结果中解析报错信息,获取所述报错信息的关联序列号及端口ID;An error parsing unit is used to parse error information from the cyclic redundancy check results of the composite model and obtain the associated serial number and port ID of the error information;
背板确认单元,用于根据所述关联序列号解析硬盘背板号;A backplane confirmation unit, used to parse the hard disk backplane number according to the associated serial number;
故障定位单元,用于根据硬盘背板号和所述端口ID从所述连接拓扑中定位报错信息所属的部件。A fault locating unit is used to locate the component to which the error message belongs from the connection topology based on the hard disk backplane number and the port ID.
进一步的,所述报错解析单元包括:Further, the error reporting unit includes:
报错解析模块,用于提取循环冗余校验结果中硬盘加压前后的误码信息,若硬盘加压前后的误码信息不一致则确定为报错信息,解析所述报错信息所属的关联序列号及端口ID。The error analysis module is used to extract the error information before and after the hard disk is pressurized in the cyclic redundancy check result. If the error information before and after the hard disk is pressurized is inconsistent, it is determined to be error information, and the associated serial number and the associated serial number to which the error information belongs are parsed. Port ID.
进一步的,所述背板确认单元包括:Further, the backplane confirmation unit includes:
地址转换模块,用于获取关联序列号的通信地址,并用所述通信地址在去掉分隔符后,减去设定的变换系数得到字符串;The address conversion module is used to obtain the communication address associated with the serial number, and use the communication address to obtain a string by subtracting the set transformation coefficient after removing the separator;
背板获取模块,用于利用硬盘查询指令根据所述字符串查询设备名称,根据所述设备名称获取相应的硬盘背板号。The backplane acquisition module is used to query the device name according to the string by using the hard disk query instruction, and obtain the corresponding hard disk backplane number according to the device name.
进一步的,所述故障定位单元包括:Further, the fault locating unit includes:
故障定位模块,用于根据硬盘背板号和端口ID从所述连接拓扑中确定故障链路,并根据故障链路在所述连接拓扑中的关联部件确定故障部件。A fault location module is configured to determine a faulty link from the connection topology based on the hard disk backplane number and port ID, and determine the faulty component based on the associated components of the faulty link in the connection topology.
第三方面,提供一种终端,包括:In the third aspect, a terminal is provided, including:
处理器、存储器,其中,processor, memory, where,
该存储器用于存储计算机程序,This memory is used to store computer programs,
该处理器用于从存储器中调用并运行该计算机程序,使得终端执行上述的终端的方法。The processor is used to call and run the computer program from the memory, so that the terminal executes the above terminal method.
第四方面,提供了一种计算机存储介质,所述计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述各方面所述的方法。In a fourth aspect, a computer storage medium is provided. The computer-readable storage medium stores instructions, which when run on a computer, cause the computer to perform the methods described in the above aspects.
本发明的有益效果在于,本发明提供的复合机型CRC报错信息的定位方法、系统、终端及存储介质,通过软硬件信息结合,缩小了报错范围,具体到了链路中硬盘、硬盘背板、线缆或CM板,使维修人员快速定位修复,提高生产效率,减少了资源浪费。本发明报错定位更准确,减少了维修时间,避免了不必要的验证和换料,释放了维修的人力和物料,提升了生产效率。The beneficial effect of the present invention is that the locating method, system, terminal and storage medium for composite model CRC error information provided by the present invention reduce the scope of error reporting through the combination of software and hardware information, specifically to the hard disk, hard disk backplane, Cables or CM boards allow maintenance personnel to quickly locate and repair, improve production efficiency and reduce resource waste. The invention provides more accurate error reporting and positioning, reduces maintenance time, avoids unnecessary verification and material replacement, releases maintenance manpower and materials, and improves production efficiency.
此外,本发明设计原理可靠,结构简单,具有非常广泛的应用前景。In addition, the design principle of the invention is reliable, the structure is simple, and it has very broad application prospects.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those of ordinary skill in the art, It is said that other drawings can also be obtained based on these drawings without exerting creative work.
图1是本发明一个实施例的方法的示意性流程图。Figure 1 is a schematic flow chart of a method according to an embodiment of the present invention.
图2是本发明一个实施例的系统的示意性框图。Figure 2 is a schematic block diagram of a system according to an embodiment of the present invention.
图3为本发明实施例提供的一种终端的结构示意图。Figure 3 is a schematic structural diagram of a terminal provided by an embodiment of the present invention.
具体实施方式Detailed ways
为了使本技术领域的人员更好地理解本发明中的技术方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。In order to enable those skilled in the art to better understand the technical solutions in the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described The embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts should fall within the scope of protection of the present invention.
下面对本发明中出现的关键术语进行解释。Key terms appearing in the present invention are explained below.
CRC:循环冗余较检;单机:通用服务器(只有机头);复合机型:通用服务器(机头)+BOX(机尾)CRC: cyclic redundancy check; stand-alone machine: universal server (only the head); composite model: universal server (head) + BOX (tail)
HD:硬盘;CM板:管理板;BP1:硬盘背板1HD: hard disk; CM board: management board; BP1: hard disk backplane 1
图1是本发明一个实施例的方法的示意性流程图。其中,图1执行主体可以为一种复合机型CRC报错信息的定位系统。Figure 1 is a schematic flow chart of a method according to an embodiment of the present invention. Among them, the execution subject in Figure 1 can be a positioning system for CRC error information of a composite machine.
如图1所示,该方法包括:As shown in Figure 1, the method includes:
步骤110,解析复合机型的主控板、硬盘背板和线缆的连接拓扑;Step 110: Analyze the connection topology of the main control board, hard disk backplane and cables of the composite model;
步骤120,从复合机型的循环冗余校验结果中解析报错信息,获取所述报错信息的关联序列号及端口ID;Step 120: Parse the error message from the cyclic redundancy check result of the composite model and obtain the associated serial number and port ID of the error message;
步骤130,根据所述关联序列号解析硬盘背板号;Step 130, parse the hard disk backplane number based on the associated serial number;
步骤140,根据硬盘背板号和所述端口ID从所述连接拓扑中定位报错信息所属的部件。Step 140: Locate the component to which the error message belongs from the connection topology according to the hard disk backplane number and the port ID.
为了便于对本发明的理解,下面以本发明复合机型CRC报错信息的定位方法的原理,结合实施例中对复合机型CRC报错信息进行定位的过程,对本发明提供的复合机型CRC报错信息的定位方法做进一步的描述。In order to facilitate the understanding of the present invention, the following is based on the principle of the method for locating the CRC error information of the composite model of the present invention, combined with the process of locating the CRC error information of the composite model in the embodiment, and the CRC error information of the composite model provided by the present invention is described below. Positioning methods are described further.
具体的,所述复合机型CRC报错信息的定位方法包括:Specifically, the method for locating the CRC error information of the composite model includes:
S1、解析复合机型的主控板、硬盘背板和线缆的连接拓扑。S1. Analyze the connection topology of the main control board, hard disk backplane and cables of the composite model.
例如,CM板、4个硬盘背板和线缆等,连接关系如下:For example, the connection relationship between the CM board, four hard disk backplanes and cables is as follows:
CM_PHY0-7,28-35与4条SAS线缆相连接;CM_PHY0-7,28-35 are connected to 4 SAS cables;
CM_PHY12-15与BP4_PHY8-11相连接;CM_PHY12-15 is connected to BP4_PHY8-11;
CM_PHY16-19与BP3_PHY8-11相连接;CM_PHY16-19 is connected to BP3_PHY8-11;
CM_PHY20-23与BP2_PHY8-11相连接;CM_PHY20-23 is connected to BP2_PHY8-11;
CM-PHY24-27与BP1_PHY8-11相连接;CM-PHY24-27 is connected to BP1_PHY8-11;
硬盘背板1:BP1_PHY0-7,12-27,32-35与BP1 28个HD依次相连接;Hard drive backplane 1: BP1_PHY0-7, 12-27, 32-35 are connected to BP1 28 HDs in sequence;
硬盘背板2:BP2_PHY0-7,12-27,32-35与BP2 28个HD依次相连接;Hard drive backplane 2: BP2_PHY0-7, 12-27, 32-35 are connected to BP2 28 HDs in sequence;
硬盘背板3:BP3_PHY0-7,12-27,32-35与BP3 28个HD依次相连接;Hard drive backplane 3: BP3_PHY0-7, 12-27, 32-35 are connected to BP3 28 HDs in sequence;
硬盘背板4:BP4_PHY0-7,12-27,32-35==BP4 24个HD依次相连接。Hard drive backplane 4: BP4_PHY0-7,12-27,32-35==BP4 24 HDs are connected in sequence.
S2、从复合机型的循环冗余校验结果中解析报错信息,获取所述报错信息的关联序列号及端口ID。S2. Parse the error information from the cyclic redundancy check result of the composite model, and obtain the associated serial number and port ID of the error information.
提取循环冗余校验结果中硬盘加压前后的误码信息,若硬盘加压前后的误码信息不一致则确定为报错信息,解析报错信息所属的关联序列号及端口ID。Extract the bit error information before and after the hard drive is pressurized in the cyclic redundancy check result. If the error information before and after the hard drive is pressurized is inconsistent, it is determined to be an error message, and the associated serial number and port ID to which the error message belongs is parsed.
S3、根据所述关联序列号解析硬盘背板号。S3. Parse the hard disk backplane number according to the associated serial number.
通过工具scrtnycli(该工具用于执行CRC测试)抓取BOX Expander序号,如Expander序号4的SAS地址是56c92bf-0-03e5-b17f,SAS地址去掉分隔符-减1为56c92bf003e5b17d,通过lsscsi-sgt可得到SAS地址对应的设备是sg30,通过设备名可以得到该背板为BP1,即Expander3/6=CM、Expander4=BP1、Expander5=BP2、Expander7=BP3、Expander8=BP4。Use the tool scrtnycli (this tool is used to perform CRC tests) to capture the BOX Expander serial number. For example, the SAS address of Expander serial number 4 is 56c92bf-0-03e5-b17f. The SAS address removes the separator - minus 1 to 56c92bf003e5b17d. You can use lsscsi-sgt The device corresponding to the SAS address is sg30, and the backplane can be found to be BP1 through the device name, that is, Expander3/6=CM, Expander4=BP1, Expander5=BP2, Expander7=BP3, Expander8=BP4.
S4、根据硬盘背板号和所述端口ID从所述连接拓扑中定位报错信息所属的部件。S4. Locate the component to which the error message belongs from the connection topology according to the hard disk backplane number and the port ID.
根据硬盘背板号和端口ID从连接拓扑中确定故障链路,并根据故障链路在连接拓扑中的关联部件确定故障部件。Determine the faulty link from the connection topology based on the hard disk backplane number and port ID, and determine the faulty component based on the associated components of the faulty link in the connection topology.
例如,通过工具scrtnycli抓取Expander序号3到8时,BOX各接口的误码信息分别记录为phy31.txt,phy41.txt到phy81.txt,然后做硬盘压力测试,压力测试结束后,再次抓取BOX各接口的误码信息记录为phy32.txt,phy42.txt到phy82.txt。对比phy41.txt和phy42.txt,查看是否完全一致,如果有不同行则为CRC报错,如Expander4中PHYID0的行不一致,则说明硬盘背板1上的第一个硬盘有问题,如Expander3中PHYID6的行不一致,刚说明CM板连接HOST的4根SAS线缆有问题。For example, when using the tool scrtnycli to capture Expander serial numbers 3 to 8, the error information of each interface of the BOX is recorded as phy31.txt, phy41.txt to phy81.txt, and then perform a hard disk stress test. After the stress test is completed, capture again The error information of each interface of the BOX is recorded as phy32.txt, phy42.txt to phy82.txt. Compare phy41.txt and phy42.txt to see if they are completely consistent. If there are different lines, a CRC error will be reported. For example, if the lines of PHYID0 in Expander4 are inconsistent, it means there is a problem with the first hard disk on hard disk backplane 1, such as PHYID6 in Expander3. The rows are inconsistent. It just means that there is a problem with the four SAS cables connecting the CM board to the HOST.
如图2所示,该系统200包括:As shown in Figure 2, the system 200 includes:
拓扑解析单元210,用于解析复合机型的主控板、硬盘背板和线缆的连接拓扑;The topology analysis unit 210 is used to analyze the connection topology of the main control board, hard disk backplane and cables of the composite model;
报错解析单元220,用于从复合机型的循环冗余校验结果中解析报错信息,获取所述报错信息的关联序列号及端口ID;The error analysis unit 220 is used to analyze error information from the cyclic redundancy check results of the composite model, and obtain the associated serial number and port ID of the error information;
背板确认单元230,用于根据所述关联序列号解析硬盘背板号;The backplane confirmation unit 230 is used to parse the hard disk backplane number according to the associated serial number;
故障定位单元240,用于根据硬盘背板号和所述端口ID从所述连接拓扑中定位报错信息所属的部件。The fault locating unit 240 is configured to locate the component to which the error message belongs from the connection topology according to the hard disk backplane number and the port ID.
可选地,作为本发明一个实施例,所述报错解析单元包括:Optionally, as an embodiment of the present invention, the error reporting unit includes:
报错解析模块,用于提取循环冗余校验结果中硬盘加压前后的误码信息,若硬盘加压前后的误码信息不一致则确定为报错信息,解析所述报错信息所属的关联序列号及端口ID。The error analysis module is used to extract the error information before and after the hard disk is pressurized in the cyclic redundancy check result. If the error information before and after the hard disk is pressurized is inconsistent, it is determined to be error information, and the associated serial number and the associated serial number to which the error information belongs are parsed. Port ID.
可选地,作为本发明一个实施例,所述背板确认单元包括:Optionally, as an embodiment of the present invention, the backplane confirmation unit includes:
地址转换模块,用于获取关联序列号的通信地址,并用所述通信地址在去掉分隔符后,减去设定的变换系数得到字符串;The address conversion module is used to obtain the communication address associated with the serial number, and use the communication address to obtain a string by subtracting the set transformation coefficient after removing the separator;
背板获取模块,用于利用硬盘查询指令根据所述字符串查询设备名称,根据所述设备名称获取相应的硬盘背板号。The backplane acquisition module is used to query the device name according to the string by using the hard disk query instruction, and obtain the corresponding hard disk backplane number according to the device name.
可选地,作为本发明一个实施例,所述故障定位单元包括:Optionally, as an embodiment of the present invention, the fault locating unit includes:
故障定位模块,用于根据硬盘背板号和端口ID从所述连接拓扑中确定故障链路,并根据故障链路在所述连接拓扑中的关联部件确定故障部件。A fault location module is configured to determine a faulty link from the connection topology based on the hard disk backplane number and port ID, and determine the faulty component based on the associated components of the faulty link in the connection topology.
图3为本发明实施例提供的一种终端300的结构示意图,该终端300可以用于执行本发明实施例提供的复合机型CRC报错信息的定位方法。FIG. 3 is a schematic structural diagram of a terminal 300 provided by an embodiment of the present invention. The terminal 300 can be used to perform the method for locating CRC error information of a composite model provided by an embodiment of the present invention.
其中,该终端300可以包括:处理器310、存储器320及通信单元330。这些组件通过一条或多条总线进行通信,本领域技术人员可以理解,图中示出的服务器的结构并不构成对本发明的限定,它既可以是总线形结构,也可以是星型结构,还可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。The terminal 300 may include: a processor 310, a memory 320, and a communication unit 330. These components communicate through one or more buses. Those skilled in the art can understand that the structure of the server shown in the figure does not limit the invention. It can be a bus structure, a star structure, or More or fewer components may be included than shown, or certain components may be combined, or may be arranged differently.
其中,该存储器320可以用于存储处理器310的执行指令,存储器320可以由任何类型的易失性或非易失性存储终端或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。当存储器320中的执行指令由处理器310执行时,使得终端300能够执行以下上述方法实施例中的部分或全部步骤。Among them, the memory 320 can be used to store execution instructions of the processor 310. The memory 320 can be implemented by any type of volatile or non-volatile storage terminals or their combination, such as static random access memory (SRAM), electronic Erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk . When the execution instructions in the memory 320 are executed by the processor 310, the terminal 300 is enabled to perform some or all of the steps in the following method embodiments.
处理器310为存储终端的控制中心,利用各种接口和线路连接整个电子终端的各个部分,通过运行或执行存储在存储器320内的软件程序和/或模块,以及调用存储在存储器内的数据,以执行电子终端的各种功能和/或处理数据。所述处理器可以由集成电路(Integrated Circuit,简称IC)组成,例如可以由单颗封装的IC所组成,也可以由连接多颗相同功能或不同功能的封装IC而组成。举例来说,处理器310可以仅包括中央处理器(Central Processing Unit,简称CPU)。在本发明实施方式中,CPU可以是单运算核心,也可以包括多运算核心。The processor 310 is the control center of the storage terminal, using various interfaces and lines to connect various parts of the entire electronic terminal, by running or executing software programs and/or modules stored in the memory 320, and calling data stored in the memory, To perform various functions of the electronic terminal and/or process data. The processor may be composed of an integrated circuit (IC for short), for example, it may be composed of a single packaged IC, or it may be composed of multiple packaged ICs connected with the same function or different functions. For example, the processor 310 may only include a central processing unit (Central Processing Unit, CPU for short). In the embodiment of the present invention, the CPU may be a single computing core or may include multiple computing cores.
通信单元330,用于建立通信信道,从而使所述存储终端可以与其它终端进行通信。接收其他终端发送的用户数据或者向其他终端发送用户数据。The communication unit 330 is used to establish a communication channel so that the storage terminal can communicate with other terminals. Receive user data sent by other terminals or send user data to other terminals.
本发明还提供一种计算机存储介质,其中,该计算机存储介质可存储有程序,该程序执行时可包括本发明提供的各实施例中的部分或全部步骤。所述的存储介质可为磁碟、光盘、只读存储记忆体(英文:read-only memory,简称:ROM)或随机存储记忆体(英文:random access memory,简称:RAM)等。The present invention also provides a computer storage medium, wherein the computer storage medium can store a program, and when executed, the program can include some or all of the steps in the embodiments provided by the present invention. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.
因此,本发明通过软硬件信息结合,缩小了报错范围,具体到了链路中硬盘、硬盘背板、线缆或CM板,使维修人员快速定位修复,提高生产效率,减少了资源浪费。本发明报错定位更准确,减少了维修时间,避免了不必要的验证和换料,释放了维修的人力和物料,提升了生产效率,本实施例所能达到的技术效果可以参见上文中的描述,此处不再赘述。Therefore, the present invention reduces the scope of error reporting by combining software and hardware information, specifically to the hard disk, hard disk backplane, cable or CM board in the link, allowing maintenance personnel to quickly locate and repair, improve production efficiency, and reduce resource waste. The present invention provides more accurate error reporting and positioning, reduces maintenance time, avoids unnecessary verification and material changes, releases manpower and materials for maintenance, and improves production efficiency. The technical effects achieved by this embodiment can be found in the description above. , which will not be described again here.
本领域的技术人员可以清楚地了解到本发明实施例中的技术可借助软件加必需的通用硬件平台的方式来实现。基于这样的理解,本发明实施例中的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中如U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质,包括若干指令用以使得一台计算机终端(可以是个人计算机,服务器,或者第二终端、网络终端等)执行本发明各个实施例所述方法的全部或部分步骤。Those skilled in the art can clearly understand that the technology in the embodiments of the present invention can be implemented by means of software plus the necessary general hardware platform. Based on this understanding, the technical solutions in the embodiments of the present invention can be embodied in the form of software products in essence or in part that contribute to the existing technology. The computer software products are stored in a storage medium such as a USB flash drive or mobile phone. Hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program code, including a number of instructions to make a computer terminal (It can be a personal computer, a server, or a second terminal, a network terminal, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
本说明书中各个实施例之间相同相似的部分互相参见即可。尤其,对于终端实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例中的说明即可。The same and similar parts among the various embodiments in this specification can be referred to each other. In particular, for the terminal embodiment, since it is basically similar to the method embodiment, the description is relatively simple. For relevant details, please refer to the description in the method embodiment.
在本发明所提供的几个实施例中,应该理解到,所揭露的系统和方法,可以通过其它的方式实现。例如,以上所描述的系统实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,系统或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided by the present invention, it should be understood that the disclosed systems and methods can be implemented in other ways. For example, the system embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or can be integrated into 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 the system or unit, which may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or they may be distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit.
尽管通过参考附图并结合优选实施例的方式对本发明进行了详细描述,但本发明并不限于此。在不脱离本发明的精神和实质的前提下,本领域普通技术人员可以对本发明的实施例进行各种等效的修改或替换,而这些修改或替换都应在本发明的涵盖范围内/任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应所述以权利要求的保护范围为准。Although the present invention has been described in detail with reference to the accompanying drawings in conjunction with preferred embodiments, the present invention is not limited thereto. Without departing from the spirit and essence of the invention, those of ordinary skill in the art can make various equivalent modifications or substitutions to the embodiments of the invention, and these modifications or substitutions should be within the scope of the invention/any Those skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present invention, and they should all be covered by the protection scope of the present invention. Therefore, the protection scope of the present invention should be determined by the protection scope of the claims.
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111556576.2A CN114356624B (en) | 2021-12-17 | 2021-12-17 | Positioning method, system, terminal and storage medium of composite CRC error reporting information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111556576.2A CN114356624B (en) | 2021-12-17 | 2021-12-17 | Positioning method, system, terminal and storage medium of composite CRC error reporting information |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114356624A CN114356624A (en) | 2022-04-15 |
CN114356624B true CN114356624B (en) | 2023-12-26 |
Family
ID=81099995
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111556576.2A Active CN114356624B (en) | 2021-12-17 | 2021-12-17 | Positioning method, system, terminal and storage medium of composite CRC error reporting information |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114356624B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108829619A (en) * | 2018-05-23 | 2018-11-16 | 郑州云海信息技术有限公司 | A kind of continuous topological structure of hard disk ID and hard disk ID localization method |
CN108984331A (en) * | 2018-06-22 | 2018-12-11 | 郑州云海信息技术有限公司 | A kind of server hard disc number display device, method in order |
CN109032887A (en) * | 2018-06-22 | 2018-12-18 | 郑州云海信息技术有限公司 | A kind of faulty hard disk method for rapidly positioning and system |
CN111026591A (en) * | 2019-11-29 | 2020-04-17 | 北京浪潮数据技术有限公司 | Fault positioning method, system and related device of back-end SAS |
-
2021
- 2021-12-17 CN CN202111556576.2A patent/CN114356624B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108829619A (en) * | 2018-05-23 | 2018-11-16 | 郑州云海信息技术有限公司 | A kind of continuous topological structure of hard disk ID and hard disk ID localization method |
CN108984331A (en) * | 2018-06-22 | 2018-12-11 | 郑州云海信息技术有限公司 | A kind of server hard disc number display device, method in order |
CN109032887A (en) * | 2018-06-22 | 2018-12-18 | 郑州云海信息技术有限公司 | A kind of faulty hard disk method for rapidly positioning and system |
CN111026591A (en) * | 2019-11-29 | 2020-04-17 | 北京浪潮数据技术有限公司 | Fault positioning method, system and related device of back-end SAS |
Also Published As
Publication number | Publication date |
---|---|
CN114356624A (en) | 2022-04-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112286709B (en) | A kind of server hardware fault diagnosis method, diagnosis device and diagnosis equipment | |
CN112269697B (en) | Equipment storage performance testing method, system and related device | |
CN109039829A (en) | A kind of network card performance testing method, apparatus, terminal and storage medium | |
CN108984332A (en) | A kind of device and method of location-server delay machine failure | |
CN115599750A (en) | A smart substation virtual circuit checking method, system, equipment and storage medium | |
CN111949518A (en) | Method, system, terminal and storage medium for generating fault detection script | |
CN104391247A (en) | Relay protection test method and system based on IEC61850 digital tester | |
CN114661535A (en) | Operation and maintenance management method and device for Internet of things equipment, electronic equipment and storage medium | |
WO2024108940A1 (en) | Performance supervision method, apparatus and system, and device and medium | |
CN111475494A (en) | Mass data processing method, system, terminal and storage medium | |
CN112579007B (en) | Method and device for acquiring storage full link and electronic equipment | |
CN109032874A (en) | A kind of memory pressure test method, device, terminal and storage medium | |
WO2016165461A1 (en) | Automated testing method and apparatus for network management system software of telecommunications network | |
CN111427582A (en) | Management method, device and equipment of RT L code and computer readable storage medium | |
CN110750445A (en) | Method, system and equipment for testing high-availability function of YARN component | |
CN114356624B (en) | Positioning method, system, terminal and storage medium of composite CRC error reporting information | |
CN111176924B (en) | GPU card dropping simulation method, system, terminal and storage medium | |
CN118802520A (en) | A Nginx configuration detection method and device for network range system | |
CN109920466B (en) | Hard disk test data analysis method, device, terminal and storage medium | |
CN113507165A (en) | A kind of distribution transformer intelligent terminal verification platform and using method | |
CN108009086A (en) | System automation test method with function study is decomposed based on use-case | |
CN117743183A (en) | Business process testing method and device, electronic equipment and storage medium | |
CN116820988A (en) | High availability test method, device, equipment and medium for distributed middleware system | |
CN112463504B (en) | Double-control storage product testing method, system, terminal and storage medium | |
CN109840213B (en) | Test data creating method, device, terminal and storage medium for GUI test |
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 |