Troubleshooting method and device for conduction test, equipment and medium
By counting the number of fault points and test points in the continuity test report, calculating the ratio value and comparing them, automatically determining the fault type and generating a report, the problem of low manual troubleshooting efficiency in the automatic continuity test of the entire machine is solved, and the fault troubleshooting efficiency and production speed are improved.
Patent Information
- Application Number
- CN202510055312.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-14
- Publication Date
- 2025-10-17
AI Technical Summary
During the automatic conduction test of the entire machine, manual troubleshooting is inefficient, resulting in limited production speed.
By counting the number of fault points and test points in the continuity test report, calculating the ratio value and comparing it with the standard ratio value, the fault type is automatically determined and a fault report is generated, saving manual proofreading time and avoiding omissions when manually processing data.
It improves troubleshooting efficiency, ensures the quality of continuity testing, reduces the time and omissions of manual data processing, and increases production speed.
Smart Images

Figure CN120802132A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of turn-on test, in particular to a troubleshooting method and device for turn-on test, equipment and medium. BACKGROUND
[0002] The purpose of the whole machine turn-on test is to exclude potential faults of the electrical cable on the machine, and to ensure that all wiring harnesses can work normally and the connection relationship is correct. Except for a few parts that need to be tested manually due to special process arrangement and engineering opening reasons, the automatic test is used in principle.
[0003] One of the main works in the automatic turn-on test is the troubleshooting work in the test process, which is also the most complex work. The error points in the test report need to be checked, the corresponding connector on the machine is found, the specific fault is checked out, and the fault is repaired.
[0004] Taking a certain domestic large passenger plane as an example, the total number of automatic turn-on test items is more than 9000. When troubleshooting the fault, manual work is carried out according to the turn-on report, and a large amount of working hours is consumed to locate the fault position and reason. Therefore, it is not conducive to the improvement of production speed because other work cannot be carried out due to the full machine automatic test process. SUMMARY
[0005] Therefore, the present application provides a troubleshooting method and device for turn-on test, equipment and medium to solve the problem of low efficiency of locating fault position and fault reason when manual work is carried out according to the turn-on report.
[0006] In the first aspect, the present application embodiment provides a troubleshooting method for turn-on test, which comprises:
[0007] Obtaining a current test port under a current test terminal, and determining a target adapter cable corresponding to the current test port;
[0008] Obtaining all connectors connected with the target adapter cable, and counting the number of all test points in the all connectors to obtain the number of first test points under the current test port;
[0009] According to the first number of error points under the current test port and the first number of test points obtained in advance, a first ratio value is calculated, and the first ratio value is compared with a preset first standard ratio value;
[0010] According to the comparison result, the fault type is determined, and a fault report corresponding to the fault type is generated for the current test port.
[0011] In the second aspect, the present application embodiment provides a troubleshooting device for turn-on test, which comprises:
[0012] a port acquisition module, configured to acquire a current test port under a current test terminal, and determine a target adapter cable corresponding to the current test port;
[0013] a connector acquisition module, configured to acquire all connectors connected with the target adapter cable, and count a total number of test points in the all connectors to obtain a first number of test points under the current test port;
[0014] a proportion value comparison module, configured to calculate a first proportion value according to a first number of fault reporting points under the current test port and the first number of test points, and compare the first proportion value with a first preset standard proportion value;
[0015] a fault type determination module, configured to determine a fault type according to a comparison result, and generate a fault report corresponding to the fault type for the current test port.
[0016] In a third aspect, an electronic device is provided, and the electronic device comprises:
[0017] at least one processor; and
[0018] a memory connected with the at least one processor in communication; wherein,
[0019] the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor to enable the at least one processor to execute the fault troubleshooting method of the turn-on test according to any one of the embodiments of the present application.
[0020] In a fourth aspect, a computer readable storage medium is provided, and the computer readable storage medium stores computer instructions for enabling a processor to implement the fault troubleshooting method of the turn-on test according to any one of the embodiments of the present application.
[0021] The technical solution of the embodiments of the present application provides a new fault troubleshooting method for the problem of low efficiency of manual troubleshooting in the automatic turn-on test process of the whole machine, compares the proportion value size by counting the number of fault reporting points and the number of test points in the turn-on test report, determines whether there is a fault in the connection between the port and the adapter cable according to the comparison result, generates a fault report directly if there is a connection fault, and performs the next stage test if there is no connection fault. The whole process can automatically determine the fault type and automatically generate the fault report, saves the time of manual checking, avoids the possible omissions in manual data processing, and ensures the quality of the turn-on test.
[0022] It is to be understood that the embodiments described herein are merely exemplary of the application and that a myriad of modifications, both as to the nature and number of elements within the execution of the application and as to the modes of execution thereof, can be made by those skilled in the art, without expressly quantifying the application and without departing from the scope of the application. BRIEF DESCRIPTION OF DRAWINGS
[0023] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings needed in the embodiments description. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without any creative effort, based on these drawings.
[0024] Figure 1 is a flow chart of a troubleshooting method for a turn-on test according to an embodiment of the present application;
[0025] Figure 2 is a flow chart of another troubleshooting method for a turn-on test according to another embodiment of the present application;
[0026] Figure 3 is a structural schematic diagram of a troubleshooting device for a turn-on test according to an embodiment of the present application;
[0027] Figure 4 is a structural schematic diagram of an electronic device for implementing a troubleshooting method for a turn-on test according to an embodiment of the present application. DETAILED DESCRIPTION
[0028] In order to make the technical personnel in the art better understand the present application, the following will combine the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only some embodiments of the present application, but not all. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without any creative effort should be within the scope of the present application.
[0029] It should be noted that the terms "first", "second", and the like in the specification and claims of the present application and the above-described drawings are used to distinguish similar objects, and do not necessarily indicate a specific order or a chronological sequence. It should be understood that the data thus used can be interchanged under appropriate circumstances, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, system, product or device including a series of steps or units does not necessarily limit to those steps or units clearly listed, but can include other steps or units not clearly listed or inherent to these processes, methods, products or devices.
[0030] Embodiment one
[0031] Figure 1 A flowchart of a troubleshooting method for continuity test provided by Embodiment one of the present application. This embodiment can be applied to quickly determine the fault type of the electrical cable on the aircraft during the continuity test. The method can be executed by a continuity test troubleshooting device, which can be realized in the form of hardware and / or software, and can be configured in the host computer for performing the continuity test. As shown in the figure, the method comprises: Figure 1
[0032] S110, obtaining the current test port under the current test terminal, and determining the target adapter cable corresponding to the current test port.
[0033] In the embodiment of the present application, the test module for performing the continuity test comprises a test host and a plurality of distributed test terminals connected to the test host. Each test terminal provides a plurality of ports, and each port is connected to a connector through an adapter cable.
[0034] S120, obtaining all the connectors connected to the target adapter cable, and counting the total number of test points in all the connectors to obtain the first number of test points under the current test port.
[0035] A connector is connected to a plurality of connectors, and each connector is distributed with a plurality of test points for testing. The first number of test points is obtained by summing up all the test points in each connector under the current test port.
[0036] S130, calculating the first ratio value according to the first number of reported fault points and the first number of test points under the current test port obtained in advance, and comparing the first ratio value with the first standard ratio value.
[0037] The reported fault point is the test point determined as the fault point in the test report of the previous round of testing. The first number of reported fault points is the sum of the number of reported fault points of each connector under the current test port. The first ratio value = the first number of reported fault points / the first number of test points. The first standard ratio value is a fixed threshold value preset based on the analysis of historical data.
[0038] Optionally, before calculating the first ratio value according to the first number of reported fault points and the first number of test points under the current test port obtained in advance, it can also include:
[0039] Obtaining the continuity test report for the current test terminal under the test host, and extracting all the reported fault points in the continuity test report;
[0040] The total fault points are classified according to the connectors, and the number of fault points under each connector is obtained;
[0041] The number of fault points of all connectors under the same port is summed up to obtain the number of fault points under each port.
[0042] Specifically, the first number of fault points is the total number of fault points under the current port, which is obtained by counting the number of fault points in each connector in the turn-on test report.
[0043] S140, according to the comparison result, determine the fault type, and generate a fault report corresponding to the fault type for the current test port.
[0044] The comparison result includes two cases: the first proportion value is greater than the first standard proportion value, and the first proportion value is less than the first standard proportion value. Different comparison results correspond to different subsequent operations.
[0045] Further, after determining the fault type according to the comparison result, and generating a fault report corresponding to the fault type for the current test port, it can further include:
[0046] After determining the fault report corresponding to each port of the current test terminal, the fault report is sent to the administrator terminal;
[0047] In response to the repair instruction issued by the administrator terminal, the operation of obtaining a new turn-on test report for the current test terminal in the test host is returned until the number of fault points in the new turn-on test report is 0.
[0048] After receiving the fault report, the administrator terminal will perform troubleshooting and repair work according to the fault type and fault point information described in the fault report, and send a repair instruction to the test module after the troubleshooting and repair work is completed. The test module will restart the new test and check the terminal connection again after receiving the repair instruction. If there are still fault points in the test report, the above test process will be repeated until there are no more fault points.
[0049] The embodiment of the application provides a new fault troubleshooting method to solve the problem of low efficiency of manual troubleshooting in the full-machine automatic turn-on test process. By comparing the proportion value of the number of fault points and the number of test points in the turn-on test report, it can be determined whether there is a connection fault between the port and the adapter cable according to the comparison result. If there is a connection fault, a fault report is generated directly. If there is no connection fault, the next stage test is performed. The whole process can automatically determine the fault type and automatically generate the fault report, saving the time of manual checking and avoiding the possible omissions when processing data manually, ensuring the quality of the turn-on test.
[0050] Embodiment Two
[0051] Figure 2 Another flowchart of the troubleshooting method of the on test provided in Embodiment Two of the present application is provided, which is refined on the basis of the above-mentioned embodiment. As shown in Figure 2 , the method specifically comprises:
[0052] S210, acquiring a current test port under a current test terminal, and determining a target patch cable corresponding to the current test port.
[0053] S220, acquiring all connectors communicated with the target patch cable, and counting the number of all test points in the all connectors to obtain a first test point number under the current test port.
[0054] S230, calculating a first ratio value according to a first fault reporting point number under the current test port and the first test point number, and comparing the first ratio value with a preset first standard ratio value.
[0055] S240, when the first ratio value is greater than the first standard ratio value, determining that the fault type is a first connection fault, and generating a fault report corresponding to the first fault type for the current test port.
[0056] Specifically, the first connection fault is a simple connection fault between the patch cable and the test terminal. According to the test point of the connector corresponding to the current port, the size of the first ratio value and the first standard ratio value is analyzed. When the first ratio value is greater than the first standard ratio value, it is indicated that there is a simple connection fault such as virtual connection, wrong connection or missing connection between the current port and the corresponding test terminal.
[0057] S250, when the first ratio value is less than or equal to the first standard ratio value, and the number of test points of the target connector communicated with the target cable under the current test port reaches a threshold number, acquiring a fault reporting point number under the target connector to obtain a second fault reporting point number.
[0058] In the fault determination of this link, the threshold number of test points is set to screen out the connectors with too few test points. The connectors with too few test points are not suitable for the subsequent test method of using the ratio to determine the second connection fault. When the first ratio value does not reach the first standard ratio value, it is determined that there is no connection fault between the current port and the corresponding test terminal. At this time, when the number of test points of the connector reaches the threshold number, the fault reporting point number under each test point number qualified connector is acquired, that is, the second fault reporting point number.
[0059] S260, obtain the total number of test points of the target connector, obtain a second number of test points, and calculate a second ratio value according to the second number of fault reporting points and the second number of test points.
[0060] The second number of test points refers to the total number of test points under a single target connector, and the second ratio value is the ratio of the number of fault reporting points to the number of test points under the target connector.
[0061] S270, compare the second ratio value with a preset second standard ratio value, and when the second ratio value is greater than the second standard ratio value, determine that the fault type is a second connection fault, and generate a fault report corresponding to the second fault type for the current test port.
[0062] Specifically, the second connection fault is a simple connection fault between a patch cable and a connector. According to the connector with fault reporting points, the size of the second ratio value and the second standard ratio value is analyzed. When the second ratio value is greater than the second standard ratio value, it indicates that there may be a simple connection fault such as virtual connection, wrong connection or missing connection between the target connector and the corresponding patch cable.
[0063] Optionally, according to the comparison result, the fault type is determined, and a fault report corresponding to the fault type is generated for the current test port. It can also include:
[0064] When the second ratio value is less than the second standard ratio value, and the number of test points of the target connector connected to the target cable under the current test port does not exceed a threshold number, a termination test program is started for the target connector, and all test entries in the test program are read.
[0065] When the all test entries contain error entries, it is determined that the fault type is a third connection fault type, and termination test is performed on the target test points in the error entries to determine the error test points terminated with the target test points.
[0066] According to the target test points, the error test points and the correct test points terminated with the target test points, a fault report corresponding to the third fault type is generated for the current test port.
[0067] In the fault determination of the present link, the threshold number of test points is set to screen out the connectors with excessive number of test points, and the method of using termination test to determine the third connection fault is not suitable for the connectors with excessive number of test points. When the second proportion value does not reach the second standard proportion value, it is determined that there is no connection fault between the current connector and the corresponding adapter cable, and the termination test program is started under the premise that the number of test points of the connector meets the standard, and further test is performed on whether there is a termination error between the connector and the connector. Among them, the error test point refers to the test point that is incorrectly connected with the target test point, and the correct test point refers to the test point that is normally connected with the target test point without termination error.
[0068] Further, the termination test is performed on the target test point in the error report entry to determine the error test point that is terminated with the target test point, which can include:
[0069] According to the preset connector mapping relationship library, the termination connector corresponding to the target connector to which the target test point belongs is determined, and all test points in the termination connector are read as test points to be tested;
[0070] The target test point is connected with each test point to be tested in turn to generate a test entry corresponding to each test point to be tested;
[0071] In the plurality of test entries, the target test entry that passes the test is traversed, and the test point to be tested corresponding to the target test entry is taken as the error test point.
[0072] The connector mapping relationship library contains a plurality of mapping relationships between connectors, and the target test point is the corresponding fault point of the currently selected error report entry. The connector to which the target test point belongs, i.e. the target connector, is determined, and the connector corresponding to the target connector in the connector mapping relationship library, i.e. the termination connector, is searched.
[0073] Among them, the target connector and the termination connector are connected point by point through the test points on the target connector and the test points on the termination connector. In a specific example, the target test point a1 belongs to the target connector A1, the target connector A1 is connected with the termination connector B1, and there are a plurality of test points in the termination connector B1, denoted as b1, b2, …, bn, i.e. test points to be tested. a1 is connected with b1, b2 and other test points for connection test. Since there should be no test pass entry in this group of tests under the condition that no termination error occurs, if it is detected that the connection test between a1 and b3 passes the test, it is determined that b3 is the error test point of a1, i.e. there is a wrong connection between a1 and b3.
[0074] Optionally, before generating the fault report corresponding to the third fault type for the current test port according to the target test point, the error test point and the correct test point terminated with the target test point, it can also include:
[0075] Finding the test point mapping relationship group where the target test point is located in the preset termination mapping relationship table;
[0076] Determining the correct test point corresponding to the target test point according to the test point mapping relationship group.
[0077] The termination mapping relationship table contains multiple sets of mapping relationships between test points, and the connection relationship between two test points constitutes a set of test point mapping relationship groups. In the above example, if a1 and b1 are a set of test point mapping relationship groups, b1 is the correct test point of the target test point a1, and in the generated fault report, in addition to the termination error prompt, the correct test point that should be connected with each target test point is also provided to provide the administrator with quick troubleshooting and correction.
[0078] The technical scheme of the embodiment of the application further specifies the determination of multiple fault types through the refinement of the overall scheme. In addition to the simple connection fault between the port and the adapter cable, there is also a simple connection fault between the adapter cable and the connector. If neither of the above two fault types exists, the termination fault test between the connector and the connector is performed. By constructing the termination test program and identifying each test entry, it can be accurately determined whether there is a wrong connection between two test points and the wrong test point is determined, the termination fault is quickly located and excluded, which not only improves the fault troubleshooting efficiency of the automatic go-to test process, but also guarantees the manufacturing quality and production speed.
[0079] Embodiment three
[0080] Figure 3 A structure schematic diagram of a go-to test fault troubleshooting device provided by the third embodiment of the application. As shown in the figure, Figure 3 The device comprises:
[0081] The port acquisition module 310 is configured to acquire the current test port under the current test terminal and determine the target adapter cable corresponding to the current test port.
[0082] The connector acquisition module 320 is configured to acquire all the connectors connected with the target adapter cable, count the number of all test points in the all connectors, and obtain the first test point number under the current test port.
[0083] The proportion value comparison module 330 is configured to calculate the first proportion value according to the first report fault point number and the first test point number under the current test port, and compare the first proportion value with the preset first standard proportion value.
[0084] The fault type determination module 340 is configured to determine a fault type according to the comparison result, and generate a fault report corresponding to the fault type for the current test port.
[0085] The embodiment of the present application provides a new fault checking method for solving the problem of low efficiency of manual fault checking in the automatic turn-on test process of the whole machine, compares the proportion value size by comparing the fault point number and the test point number in the turn-on test report, determines whether there is a fault between the port and the adapter cable according to the comparison result, generates a fault report directly if there is a connection fault, and performs the next stage test if there is no connection fault. The whole process can automatically determine the fault type and automatically generate the fault report, saves the time of manual checking, avoids the omissions in manual data processing, and ensures the quality of the turn-on test.
[0086] Optionally, on the basis of each of the above embodiments, the method further includes: a fault point extraction unit is configured to obtain a turn-on test report for the current test terminal under the test host before calculating the first proportion value according to the first fault point number and the first test point number of the current test port, and extract all fault points in the turn-on test report.
[0087] The fault point number of each connector is obtained by classifying the all fault points according to the connector.
[0088] The fault point number of each port is obtained by summing up the fault point numbers of all the connectors under the same port.
[0089] On the basis of each of the above embodiments, the fault type determination module 340 includes:
[0090] The first connection fault determination unit is configured to determine that the fault type is the first connection fault when the first proportion value is greater than the first standard proportion value, and generate a fault report corresponding to the first fault type for the current test port.
[0091] The second fault point number acquisition unit is configured to acquire the fault point number of the target connector when the first proportion value is less than or equal to the first standard proportion value, and the test point number of the target connector connected to the target cable under the current test port reaches the threshold number, and obtain the second fault point number.
[0092] The second proportion value calculation unit is configured to acquire the second test point number of the target connector, and calculate the second proportion value according to the second fault point number and the second test point number.
[0093] The second connection fault judging unit is configured to compare the second proportion value with a preset second standard proportion value, determine that the fault type is a second connection fault when the second proportion value is greater than the second standard proportion value, and generate a fault report corresponding to the second fault type for the current test port.
[0094] On the basis of the above embodiments, the fault type determining module 340 further comprises:
[0095] The termination test program starting unit is configured to start a termination test program for the target connector when the second proportion value is less than the second standard proportion value and the number of test points of the target connector in communication with the target cable under the current test port does not exceed a threshold number, and read all test entries in the test program.
[0096] The error test point determining unit is configured to determine that the fault type is a third connection fault type when the all test entries contain an error entry, perform termination test on a target test point in the error entry, and determine an error test point terminated with the target test point.
[0097] The third fault report generating unit is configured to generate a fault report corresponding to the third fault type for the current test port according to the target test point, the error test point, and a correct test point terminated with the target test point.
[0098] On the basis of the above embodiments, the error test point determining unit is further configured to determine a termination connector corresponding to a target connector to which the target test point belongs according to a preset connector mapping relationship library, and read all test points in the termination connector as test points to be tested.
[0099] The target test point is sequentially connected with each test point to be tested to generate a test entry corresponding to each test point to be tested.
[0100] The target test point is sequentially connected with each test point to be tested to generate a test entry corresponding to each test point to be tested.
[0101] On the basis of the above embodiments, the fault type determining module 340 further comprises a correct test point determining unit configured to find a test point mapping relationship group in which the target test point is located in a preset termination mapping relationship table before generating a fault report corresponding to the third fault type for the current test port according to the target test point, the error test point, and a correct test point terminated with the target test point.
[0102] The correct test point determining unit is configured to determine a correct test point corresponding to the target test point according to the test point mapping relationship group.
[0103] On the basis of each of the above embodiments, further comprising a cycle test unit, for determining a fault type according to a comparison result, and generating a fault report corresponding to the fault type for a current test port, after determining to obtain a fault report corresponding to each port of the current test terminal respectively, sending each of the fault reports to an administrator terminal;
[0104] In response to a repair instruction issued by the administrator terminal, returning to perform an operation of obtaining a new turn-on test report for the current test terminal under the test host until the number of fault points in the new turn-on test report is 0.
[0105] The turn-on test fault troubleshooting device provided by the embodiment of the application can execute the turn-on test fault troubleshooting method provided by any of the embodiments of the application, and has the corresponding function modules and beneficial effects of the execution method.
[0106] Embodiment four
[0107] Figure 4 A structural schematic diagram of an electronic device 10 that can be used to implement embodiments of the application is shown. The electronic device is intended to represent various forms of digital computers, such as laptops, desktops, tablets, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular telephones, smart phones, wearable devices (e.g., headsets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not intended to limit the implementations of the applications described and / or claimed in this document.
[0108] As shown in Figure 4 The electronic device 10 includes at least one processor 11, and a memory, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., which is communicatively connected to the at least one processor 11, wherein the memory stores a computer program that can be executed by the at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 into the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0109] A plurality of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a magnetic disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network, such as the Internet, and / or various telecommunication networks.
[0110] The processor 11 can be various general and / or special-purpose processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 performs various methods and processes described above, such as a troubleshooting method for a power-on test.
[0111] That is, a current test port under a current test terminal is acquired, and a target patch cable corresponding to the current test port is determined;
[0112] All connectors communicated by the target patch cable are acquired, and a total number of test points in the all connectors is counted to obtain a first number of test points under the current test port;
[0113] A first ratio value is calculated according to a first number of fault reporting points under the current test port and the first number of test points acquired in advance, and the first ratio value is compared with a first standard ratio value preset;
[0114] A fault type is determined according to a comparison result, and a fault report corresponding to the fault type is generated for the current test port.
[0115] In some embodiments, the troubleshooting method for a power-on test can be implemented as a computer program tangibly embodied in a computer readable storage medium, such as the storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the troubleshooting method for a power-on test described above can be performed. Alternatively, in other embodiments, the processor 11 can be configured to perform the troubleshooting method for a power-on test by any other appropriate means, such as by means of firmware.
[0116] The various embodiments of the systems and techniques described above can be implemented in digital electronic circuitry, integrated circuitry, a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on a chip (SOC), a load programmable logic device (CPLD), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include implementation in one or more computer programs that are executable and / or interpretable on a programmable system including at least one programmable processor, which can be special or general purpose, coupled to receive data and instructions from, and to transmit data and instructions to, a storage system, at least one input device, and at least one output device.
[0117] Computer programs used to implement the processes of the application can be written in any combination of one or more programming languages. These computer programs can be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer program
[0118] In the context of the present application, a computer-readable storage medium can be a tangible medium that can contain or store computer programs for use by or in connection with an instruction execution system, apparatus, or device. Computer-readable storage media can include, but are not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium can be a machine-readable signal medium. More specific examples of the machine-readable storage medium will include one or more lines of a program of instructions in a transitory signal, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0119] To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user and a keyboard and a pointing device (e.g., a mouse or a trackball) by which the user can provide input to the electronic device. Other kinds of devices can be used to provide for interaction with a user as well; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form, including acoustic, speech, or tactile input.
[0120] The systems and techniques described here can be implemented in a computing system that includes a back end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front end component (e.g., a user computer having a graphical user interface or a Web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back end, middleware, or front end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0121] The computing system can include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. A server can be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system, to solve the defects of large management difficulty and weak business scalability in traditional physical host and VPS service.
[0122] It should be understood that the various forms of flow shown above can be re-ordered, added to, or deleted from without departing from the scope of the present disclosure. For example, the steps recited in the present disclosure can be executed in parallel, executed in sequence, or executed in a different order, as long as the desired results of the present disclosure are achieved, and the present disclosure is not limited herein.
[0123] The specific embodiments described above are not intended to be limiting, and persons skilled in the art will appreciate that various modifications, combinations, sub-combinations and alternatives can be made to the specific embodiments without departing from the spirit and principles of the disclosure. Accordingly, the disclosure is not limited to the specific embodiments described above, but only by the scope of the appended claims.
Claims
1. A method for troubleshooting a continuity test, characterized in that: include: Obtain the current test port under the current test terminal and determine the target adapter cable corresponding to the current test port; Acquire all connectors connected to the target adapter cable, and count the number of all test points in all the connectors to obtain the first test point number under the current test port; Calculating a first ratio value based on the pre-acquired number of first fault reporting points and the number of first test points under the current test port, and comparing the first ratio value with a preset first standard ratio value; The fault type is determined according to the comparison result, and a fault report corresponding to the fault type is generated for the current test port.
2. The method according to claim 1, characterized in that Before calculating the first ratio value according to the pre-acquired number of first fault reporting points and the number of first test points under the current test port, the method further includes: Obtaining a continuity test report for the current test terminal under the test host, and extracting all fault points in the continuity test report; Classify all the fault points according to the connectors to which they belong, and obtain the number of fault points under each connector; The number of fault reporting points of all connectors under the same port is summed up to obtain the number of fault reporting points under each port.
3. The method according to claim 1, characterized in that The fault type is determined based on the comparison result, and a fault report corresponding to the fault type is generated for the current test port, including: When the first ratio value is greater than the first standard ratio value, determining that the fault type is a first connection fault, and generating a fault report corresponding to the first fault type for the current test port; When the first ratio value is less than or equal to the first standard ratio value, and the number of test points of the target connector connected to the target cable under the current test port reaches a threshold number, obtaining the number of fault reporting points under the target connector to obtain a second number of fault reporting points; Obtaining the total number of test points of the target connector to obtain a second number of test points, and calculating a second ratio value based on the second number of fault reporting points and the second number of test points; The second ratio value is compared with a preset second standard ratio value. When the second ratio value is greater than the second standard ratio value, the fault type is determined to be a second connection fault, and a fault report corresponding to the second fault type is generated for the current test port.
4. The method according to claim 3, characterized in that Determining the fault type according to the comparison result, and generating a fault report corresponding to the fault type for the current test port, further comprising: When the second ratio value is less than the second standard ratio value and the number of test points of the target connector connected to the target cable under the current test port does not exceed the threshold number, starting a termination test program for the target connector and reading all test items in the test program; When all the test items include an error item, determining that the fault type is a third connection fault type, and performing a termination test on the target test point in the error item to determine an erroneous test point terminated with the target test point; A fault report corresponding to the third fault type is generated for the current test port according to the target test point, the error test point, and the correct test point terminated with the target test point.
5. The method according to claim 4, characterized in that Performing a termination test on a target test point in the error reporting entry to determine an erroneous test point that is terminated with the target test point includes: Determine the termination connector corresponding to the target connector to which the target test point belongs according to a preset connector mapping relationship library, and read all test points in the termination connector as points to be tested; Perform connection tests on the target test point and each test point in turn, and generate test entries corresponding to each test point; Target test entries that have passed the test are traversed among multiple test entries, and the to-be-tested points corresponding to the target test entries are used as error test points.
6. The method according to claim 5, characterized in that Before generating a fault report corresponding to the third fault type for the current test port according to the target test point, the error test point, and the correct test point terminated with the target test point, the method further includes: Searching for the test point mapping relationship group where the target test point is located in a preset termination mapping relationship table; The correct test point corresponding to the target test point is determined according to the test point mapping relationship group.
7. The method according to any one of claims 2 to 6, further comprising: after determining the fault type according to the comparison result and generating a fault report corresponding to the fault type for the current test port; After determining to obtain the fault report corresponding to each port of the current test terminal, sending each fault report to the administrator terminal; In response to the repair instruction issued by the administrator, the operation of obtaining a new continuity test report for the current test terminal under the test host is returned to execution until the number of fault points in the new continuity test report is zero.
8. A fault troubleshooting device for continuity test, characterized in that: include: The port acquisition module is used to obtain the current test port under the current test terminal and determine the target transfer cable corresponding to the current test port; A connector acquisition module is used to acquire all connectors connected to the target adapter cable, and count the number of all test points in all the connectors to obtain the number of the first test points under the current test port; a ratio value comparison module, configured to calculate a first ratio value based on the pre-acquired number of first fault reporting points and the number of first test points under the current test port, and compare the first ratio value with a preset first standard ratio value; The fault type determination module is configured to determine the fault type according to the comparison result, and generate a fault report corresponding to the fault type for the current test port.
9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can perform a continuity test troubleshooting method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement a continuity test troubleshooting method according to any one of claims 1 to 7 when executed.