Communication line detection method and device and storage medium
By establishing an automatic communication connection between the sorting and testing equipment and utilizing the automatic parsing of start test messages and logic signals, efficient and accurate detection of communication lines is achieved. This solves the problems of low detection efficiency and high professional knowledge requirements in existing technologies, and reduces labor and technical costs.
Patent Information
- Application Number
- CN202510980025.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-16
- Publication Date
- 2025-11-14
AI Technical Summary
Existing technologies for communication line testing have low efficiency and accuracy, and require technicians with specialized knowledge to perform the testing.
By establishing an automatic communication connection between the sorting and testing equipment, and by automatically parsing the start test message, sorting results, and logic signals, the automatic detection process of the communication line is achieved. Technicians only need to view the sorting results displayed on the equipment to obtain the test results.
It improves the efficiency and accuracy of communication line testing, reduces labor and technical costs, and does not require technicians with professional knowledge.
Smart Images

Figure CN120956633A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer technology, and in particular to a communication line detection method, device and storage medium. Background Technology
[0002] With the continuous development of the semiconductor manufacturing industry, automated chip testing has become increasingly common. During chip testing, a testing machine is typically used to classify the chips, obtain the classification results, and then a sorting machine is controlled to place the chips in their correct order. Before the classification test, the communication lines connecting the testing machine and the sorting machine must be tested to ensure that they can communicate normally.
[0003] In related technologies, technicians typically use a multimeter to test each communication line in a group of communication lines to ensure that each line can communicate normally. However, this testing method is relatively inefficient. Summary of the Invention
[0004] This application provides a communication line detection method, device, and storage medium, which can improve detection efficiency and accuracy. The technical solution is as follows:
[0005] In a first aspect, a communication line detection method is provided, applied to a testing system, the testing system including a testing device and a sorting device, the testing device communicating with the sorting device through a first communication connection and a second communication connection, the second communication connection including one or more communication lines, the method comprising:
[0006] The sorting device sends a start test message to the testing device through the first communication connection;
[0007] After receiving the start test message, the test device determines the first sorting result; displays the first sorting result; and sends the logic signal corresponding to the first sorting result to the sorting device through the second communication connection.
[0008] The sorting device parses the received logic signals to obtain a second sorting result; and displays the second sorting result.
[0009] The first sorting result and the second sorting result are used to determine the detection result of the communication line in the second communication connection.
[0010] In this application, the sorting and testing equipment can automatically complete the testing process. Technicians only need to check the sorting results displayed by the testing and sorting equipment to know the test results of the communication line. This improves the efficiency and accuracy of communication line testing and reduces labor costs. Furthermore, compared to related technologies that require technicians to use multimeters for professional testing, technicians in this embodiment do not need to possess the corresponding professional knowledge to complete the testing, thereby reducing technical costs.
[0011] Optionally, after receiving the start test message, the testing device determines the first sorting result, including:
[0012] After receiving the start test message, if the target sorting result number is not a preset number, the testing device determines the sorting result corresponding to the target sorting result number among the multiple sorting results as the first sorting result and increments the target sorting result number by 1; or, if the target sorting result number is a preset number, the sorting result corresponding to the preset number among the multiple sorting results is determined as the first sorting result and the target sorting result number is set to 1; wherein, the initial value of the target sorting result number is 1, each of the multiple sorting results has a number, and the numbers of the multiple sorting results are sequentially incremented.
[0013] Optionally, after the sorting device parses the received logic signal to obtain the second sorting result, it includes:
[0014] When the target sorting result number is not a preset number, the sorting device determines the sorting result corresponding to the target sorting result number among multiple sorting results as the first sorting result and increments the target sorting result number by 1; or, when the target sorting result number is a preset number, the sorting result corresponding to the preset number among multiple sorting results is determined as the first sorting result and the target sorting result number is set to 1; wherein, the initial value of the target sorting result number is 1, each of the multiple sorting results has a number, and the numbers of the multiple sorting results are sequentially incremented;
[0015] The sorting device determines the detection result of the communication line in the second communication connection based on the first sorting result and the second sorting result.
[0016] Optionally, the sorting device determines the detection result of the communication line in the second communication connection based on the first sorting result and the second sorting result, including:
[0017] If the first sorting result and the second sorting result are different, the sorting device determines that the detection result of the communication line in the second communication connection is that the detection failed.
[0018] Optionally, the method further includes:
[0019] If the first sorting result and the second sorting result are the same, the sorting device sends a new start test message to the testing device through the first communication connection.
[0020] Optionally, the sorting device sends a start test message to the testing device through the first communication connection, including:
[0021] In response to receiving a control command, the sorting device sends the start test message to the testing device via the first communication connection.
[0022] Optionally, after the testing device sends the logic signal corresponding to the first sorting result to the sorting device through the second communication connection, it further includes:
[0023] The sorting device parses the received logic signals, and if the parsing fails, it determines that the detection result of the communication line in the second communication connection is that the detection failed.
[0024] Optionally, after the sorting device sends a start test message to the testing device through the first communication connection, it further includes:
[0025] If the sorting device does not receive a logic signal within a first preset time after sending the start test message, it determines that the detection result of the communication line in the second communication connection is that the detection failed.
[0026] In a second aspect, a computer device is provided, the computer device including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the communication line detection method described in the first aspect.
[0027] Thirdly, a computer-readable storage medium is provided, the computer-readable storage medium storing a computer program, which, when executed by a processor, implements the communication line detection method described in the first aspect.
[0028] Fourthly, a computer program product is provided, which, when run on a computer device, causes the computer device to perform the communication line detection method described in the first aspect.
[0029] It is understood that the beneficial effects of the second, third, and fourth aspects mentioned above can be found in the relevant descriptions in the first aspect above, and will not be repeated here. Attached Figure Description
[0030] Figure 1 This is a schematic diagram of the structure of a testing system provided in an embodiment of this application;
[0031] Figure 2 This is a flowchart of a communication line detection method provided in an embodiment of this application;
[0032] Figure 3 This is a flowchart of a communication line detection method provided in an embodiment of this application;
[0033] Figure 4 This is a schematic diagram of the structure of a computer device provided in an embodiment of this application. Detailed Implementation
[0034] In the following description, specific details such as particular system architectures and technologies are set forth for illustrative purposes and not for limiting purposes, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application may also be implemented in other embodiments without these specific details.
[0035] It should be understood that, when used in this specification and the appended claims, the term "comprising" indicates the presence of the described features, integrals, steps, operations, elements, and / or components, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components, and / or collections thereof. The terms "comprising," "including," "having," and variations thereof all mean "including but not limited to," unless otherwise specifically emphasized.
[0036] It should be understood that "one or more" as used in this application refers to one, two, or more, and "multiple" as used in this application refers to two or more. In the description of this application, unless otherwise stated, " / " means "or," for example, A / B can mean A or B. "And / or" in this document is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone.
[0037] To facilitate a clear description of the technical solutions of this application, the terms "first" and "second" are used to distinguish identical or similar items with essentially the same function and effect. Those skilled in the art will understand that the terms "first" and "second" do not limit the quantity or execution order, and that the terms "first" and "second" do not necessarily imply that they are different.
[0038] The terms "one embodiment" or "some embodiments" used in this application mean that one or more embodiments of this application include the specific features, structures, or characteristics described in that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this application do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized.
[0039] The application scenarios involved in the embodiments of this application are described below.
[0040] With the continuous development of the semiconductor manufacturing industry, automated chip testing has become increasingly common. Automated chip testing includes a testing machine and a sorting machine. The testing machine tests various chip functions and outputs sorting results. The sorting machine places the chips according to the sorting results from the testing machine. Before performing automated testing, the testing machine and the sorting machine need to be connected via a communication cable. This communication cable is then tested to ensure that the testing machine and the sorting machine can communicate normally.
[0041] In related technologies, for any one of the communication lines in a group, a technician typically connects two ends of a multimeter to both ends of the communication line, then controls a testing machine to send test signals. The multimeter measures the current, voltage, or resistance value of the communication line to determine whether it can communicate normally. However, this testing method has relatively low efficiency and accuracy.
[0042] Therefore, this application provides a communication line detection method. A sorting device (i.e., a sorting machine) can send a start test message to a testing device (i.e., a testing machine) through a first communication connection. After receiving the start test message, the testing device determines a first sorting result, displays the first sorting result, and sends a logic signal corresponding to the first sorting result to the sorting device through a second communication connection. The sorting device parses the received logic signal to obtain a second sorting result and displays the second sorting result. The detection result of the communication line in the second communication connection is determined based on the first and second sorting results. Since the sorting device and the testing device can automatically complete the testing process, technicians only need to check the sorting results displayed by the testing device and the sorting device to know the detection result of the communication line. This can improve the efficiency and accuracy of communication line detection and reduce labor costs. Furthermore, compared with the related technologies that require technicians to use multimeters for professional testing, technicians in this application embodiment can complete the testing without having the corresponding professional knowledge, thereby reducing technical costs.
[0043] The testing system provided in the embodiments of this application will be described below.
[0044] Figure 1 This is a schematic diagram of the structure of a testing system provided in an embodiment of this application. See also... Figure 1 The testing system 10 may include testing equipment 101 and sorting equipment 102.
[0045] The testing device 101 can communicate with the sorting device 102 via a wired connection and / or a wireless connection. For example, the testing device 101 can communicate with the sorting device 102 via a first communication connection and a second communication connection. The sorting device 102 can send messages to the testing device 101 via the first communication connection. The testing device 101 can send messages to the sorting device 102 via the second communication connection. For example, the first communication connection can be a wired connection or a wireless connection; this embodiment does not limit this. The second communication connection can include one or more communication lines. For example, the one or more communication lines can be transistor-transistor logic (TTL) lines, etc.; this embodiment does not limit this.
[0046] The sorting device 102 is used to send a start test message to the test device 101 through the first communication connection.
[0047] The testing device 101 receives a start test message sent by the sorting device 102, determines the sorting result based on the start test message, and then sends the logic signal corresponding to the sorting result to the sorting device 102 via a second communication connection. This sorting result represents the classification of chips. Optionally, the testing device 101 may include one or more sorting results, any one of which is used to identify a classification result. These one or more sorting results can be preset. For example, these one or more sorting results can be set by a technician according to requirements. For instance, these one or more sorting results may include container (BIN) 1, BIN 2, BIN 3, etc. Here, BIN 1 can represent the classification of high-performance products, BIN 2 can represent the classification of standard-performance products, and BIN 3 can represent the classification of low-performance products.
[0048] The sorting device 102 is used to receive logic signals sent by the testing device 101 and determine the sorting result based on the logic signals. Optionally, the sorting device 102 can determine the detection result of the communication line in the second communication connection based on the received sorting result and the sorting result sent by the testing device 101.
[0049] In this embodiment, the sorting device 102 can send a start test message to the testing device 101 via a first communication connection. After receiving the start test message, the testing device 101 determines the sorting result and then sends a logic signal corresponding to the sorting result to the sorting device 102 via a second communication connection. Upon receiving the logic signal, the sorting device 102 can determine the sorting result based on it. Subsequently, the sorting device 102 can determine the detection result of the communication line in the second communication connection based on the sorting result sent by the testing device 101 and the sorting result received by the sorting device 102.
[0050] The communication line detection method provided in the embodiments of this application will be explained in detail below.
[0051] Figure 2 This is a flowchart of a communication line detection method provided in an embodiment of this application. This method can be applied to the above... Figure 1 The test system 10 described in the implementation method. See also... Figure 2 The method may include the following steps:
[0052] Step 201: The sorting device sends a start test message to the test device through the first communication connection.
[0053] The "Start Test" message is the message that triggers the test device to begin testing.
[0054] Optionally, the sorting device may, in response to receiving a control command, send the start test message to the test device via a first communication connection.
[0055] The control command is an instruction to control the sorting device to send the start test message to the testing device. For example, the control command can be triggered by a technician, who can trigger it through a specified operation. For instance, a technician can trigger the control command by pressing a button on the sorting device or clicking a control displayed on the screen of the sorting device; this embodiment does not limit this method.
[0056] It should be noted that the communication line can be detected in two ways in the embodiments of this application. The first way is that the sorting device sends a start test message to the testing device through the first communication connection every time it receives a control command. The second way is that after receiving a control command, the sorting device sends multiple start test messages to the testing device through the first communication connection at preset time intervals.
[0057] Step 202: After receiving the start test message, the test device determines the first sorting result; displays the first sorting result; and sends the logic signal corresponding to the first sorting result to the sorting device through the second communication connection.
[0058] The first sorting result is the sorting result that the testing equipment determines needs to be sent this time.
[0059] The logic signal corresponding to the first sorting result is an electrical signal representing the binary information of the first sorting result.
[0060] This testing equipment typically includes multiple sorting results, each corresponding to a different logic signal. To comprehensively test the communication lines in the second communication connection, it's necessary to test each of these multiple sorting results as much as possible. Therefore, the testing equipment can determine one sorting result (i.e., the first sorting result) during each test. During each test, the testing equipment can send logic signals corresponding to different sorting results to the sorting equipment via the second communication connection to avoid repeatedly testing the same sorting result, ensuring the accuracy of communication line detection. Furthermore, upon receiving the start test message, the equipment can automatically begin testing the communication lines in the second communication connection by automatically sending the logic signal corresponding to the first sorting result. Compared to the existing technology that requires manual testing with a multimeter, this reduces manpower and increases testing speed.
[0061] In some implementations, step 202 may be performed as follows: after receiving the start test message, if the start test message is the first start test message in the current test process, the first sorting result among the multiple sorting results is determined as the first sorting result; if the start test message is not the first start test message in the current test process, the third sorting result previously sent to the sorting device is determined; if the third sorting result is not the last sorting result among the multiple sorting results, the next sorting result of the third sorting result among the multiple sorting results is determined as the first sorting result; if the third sorting result is the last sorting result among the multiple sorting results, the first sorting result among the multiple sorting results is determined as the first sorting result.
[0062] For example, the multiple sorting results can be tested sequentially.
[0063] It should be noted that if the testing device does not receive any other start test messages within a second preset time period before receiving a start test message, it can begin a test process upon receiving the first start test message. During a test, if a next start test message is received within the second preset time period after receiving a first start test message, the current test process continues; otherwise, if no other start test messages are received within the second preset time period after receiving a first start test message, the current test process ends. The second preset time period can be preset, such as by technicians according to their needs.
[0064] If the start test message is the first start test message in this test process, it means that the test device has not yet sent any sorting results to the sorting device during this test. Therefore, the first sorting result among the multiple sorting results can be determined as the first sorting result, so that the communication line can be tested through the first sorting result among the multiple sorting results.
[0065] If the start test message is not the first start test message in this test process, it means that the test device had already received other start test messages sent by the sorting device before receiving this start test message. That is, the test device has already tested the communication line through one or more sorting results among the multiple sorting results. Therefore, the third sorting result sent by the test device last time can be determined, and the first sorting result can be determined based on the third sorting result to continue testing the communication line. In this case, if the third sorting result is not the last sorting result among the multiple sorting results, it means that the test device has not yet tested the communication line through all the sorting results among the multiple sorting results. Therefore, the next sorting result after the third sorting result can be determined as the first sorting result to continue testing the communication line through the untested sorting results among the multiple sorting results. If the third sorting result is the last sorting result among the multiple sorting results, it means that the testing equipment has already tested the communication line through all the sorting results among the multiple sorting results, and now wants to continue testing. Therefore, the first sorting result among the multiple sorting results can be determined as the first sorting result, so that the communication line can be tested again through the multiple sorting results.
[0066] In other embodiments, each of the multiple sorting results has a sequence number, and the sequence numbers of the multiple sorting results increase sequentially. For example, the sequence numbers of the multiple sorting results can be 1, 2, 3, etc. The testing device includes a target sorting result sequence number, which is the sequence number of the first sorting result that the testing device needs to send after receiving the start test message, and the initial value of the target sorting result sequence number is 1. In this case, the operation of step 202 can be as follows: after receiving the start test message, the testing device can determine whether the target sorting result sequence number is a preset sequence number. If the target sorting result sequence number is not a preset sequence number, the sorting result corresponding to the target sorting result sequence number among the multiple sorting results is determined as the first sorting result, and then the target sorting result sequence number is incremented by 1 to obtain the sequence number of the first sorting result that needs to be sent next. If the target sorting result sequence number is a preset sequence number, the sorting result corresponding to the preset sequence number among the multiple sorting results is determined as the first sorting result, and then the target sorting result sequence number is set to 1 to obtain the sequence number of the first sorting result to be sent next.
[0067] The preset sequence number can be set in advance. For example, the preset sequence number can be the sequence number of the last sorting result among the multiple sorting results.
[0068] For example, such as Figure 3 As shown, assuming the preset sequence number is 8 and the initial value of the target sorting result sequence number is 1, after receiving the start test message, if the target sorting result sequence number is determined to be 1, the testing device sets the sorting result corresponding to target sorting result sequence number 1 as the first sorting result, and then increments the target sorting result sequence number by 1 to obtain the sequence number of the first sorting result to be sent after receiving the next start test message, i.e., target sorting result sequence number 2. Alternatively, if the target sorting result sequence number is determined to be 2, the device sets the sorting result corresponding to target sorting result sequence number 2 as the first sorting result, and then increments the target sorting result sequence number by 1 to obtain target sorting result sequence number 3. Or, if the target sorting result sequence number is determined to be 3, the device sets the sorting result corresponding to target sorting result sequence number 3 as the first sorting result, and then increments the target sorting result sequence number by 1 to obtain target sorting result sequence number 4. Alternatively, if the target sorting result number is determined to be 4, set the sorting result corresponding to target sorting result number 4 as the first sorting result, and then increment the target sorting result number by 1 to obtain target sorting result number 5. Alternatively, if the target sorting result number is 5, set the sorting result corresponding to target sorting result number 5 as the first sorting result, and then increment the target sorting result number by 1 to obtain target sorting result number 6. Alternatively, if the target sorting result number is determined to be 6, set the sorting result corresponding to target sorting result number 6 as the first sorting result, and then increment the target sorting result number by 1 to obtain target sorting result number 7. Alternatively, if the target sorting result number is determined to be 7, set the sorting result corresponding to target sorting result number 7 as the first sorting result, and then increment the target sorting result number by 1 to obtain target sorting result number 8. Alternatively, if the target sorting result number is 8, set the sorting result corresponding to the target sorting result number 8 as the first sorting result, and then set the target sorting result number to 1 to obtain the target sorting result number 1.
[0069] Through the two implementation methods described above, the communication lines in the second communication connection can be detected sequentially through each of the multiple sorting results, thereby reducing the probability of missed detections and improving detection accuracy.
[0070] Step 203: The sorting device parses the received logic signal to obtain a second sorting result; displays the second sorting result; wherein, the first sorting result and the second sorting result are used to determine the detection result of the communication line in the second communication connection.
[0071] The communication line in the second communication connection between the testing device and the sorting device affects the second sorting result. The first sorting result is the sorting result sent by the testing device, and the second sorting result is the sorting result actually received by the sorting device through the communication line. By comparing the first sorting result and the second sorting result, the detection result of the communication line can be determined.
[0072] Specifically, if the communication line between the testing device and the sorting device is correctly connected and communication is normal, the logic signal received by the sorting device through the communication line is the same as the logic signal sent by the testing device, and the first sorting result is the same as the second sorting result. If the communication line between the testing device and the sorting device is not correctly connected and / or communication is abnormal, the logic signal received by the sorting device through the communication line will be different from the logic signal sent by the testing device, and the first sorting result will be different from the second sorting result. Therefore, after receiving the logic signal, the sorting device can parse the logic signal to obtain the second sorting result, thereby realizing the detection of the communication line.
[0073] For example, "communication line not properly connected" means that the communication line between the test device and the sorting device is not connected in the correct manner. "Communication line communication abnormality" means that the test device cannot communicate normally with the sorting device through the communication line. For example, the communication line communication abnormality may be caused by one of the following: short circuit or open circuit, incorrect connection, poor contact, etc., and this application embodiment does not limit this.
[0074] In this embodiment, after the testing device and the sorting device are connected via a communication line, the sorting device can send a start test message to the testing device. Upon receiving the start test message, the testing device determines the first sorting result, displays the first sorting result, and sends the logic signal corresponding to the first sorting result to the sorting device via the communication line. The sorting device parses the received logic signal to obtain the second sorting result and displays the second sorting result. In this case, technicians can determine the detection result of the communication line based on the displayed first and second sorting results. Compared to the related technologies that require technicians to use a multimeter to test each communication line individually, in this embodiment, the sorting device and the testing device can automatically complete the testing process. Technicians only need to check the sorting results displayed by the testing device and the sorting device to determine the detection result of the communication line. This improves the efficiency and accuracy of communication line testing and reduces labor costs. Furthermore, compared to the related technologies that require technicians to use a multimeter for professional testing, in this embodiment, technicians do not need to possess the corresponding professional knowledge to complete the testing, thereby reducing technical costs.
[0075] In some cases, the sorting device can detect the communication line in the second communication connection based on the first and second sorting results. Specifically, after obtaining the second sorting result, if the target sorting result number is not a preset number, the sorting device identifies the sorting result corresponding to the target sorting result number as the first sorting result and increments the target sorting result number by 1. Alternatively, if the target sorting result number is a preset number, the sorting result corresponding to the preset number is identified as the first sorting result and the target sorting result number is set to 1. The initial value of the target sorting result number is 1, and each of the multiple sorting results has a number that increments sequentially. The sorting device determines the detection result of the communication line in the second communication connection based on the first and second sorting results.
[0076] In this embodiment of the application, after the sorting device obtains the second sorting result based on the received logic signal, it can determine the first sorting result actually sent by the test device, and automatically determine the detection result of the communication line in the second communication connection based on the first sorting result and the second sorting result. This can further improve the detection efficiency and accuracy of the communication line and further reduce labor costs.
[0077] Optionally, the sorting device can determine the detection result of the communication line in the second communication connection based on the first sorting result and the second sorting result as follows: if the first sorting result and the second sorting result are different, the detection result of the communication line in the second communication connection is determined to be a failure.
[0078] If the first sorting result and the second sorting result are different, it indicates that there may be a problem with the communication line in the second communication line (such as incorrect connection order and / or communication abnormality). Therefore, it can be determined that the detection result of the communication line in the second communication connection is that the detection failed.
[0079] If the first sorting result is the same as the second sorting result, the detection result corresponding to the first sorting result can be determined as a pass. Then, the detection results corresponding to the multiple sorting results that have been detected are obtained. If the detection result corresponding to each of the multiple sorting results is a pass, the detection result of the communication line in the second communication connection is determined as a pass. If at least one of the multiple sorting results is a fail, it indicates that there may be a problem with the communication line in the second communication line connection, so the detection result of the communication line in the second communication connection is determined as a fail.
[0080] In some implementations, if the first sorting result and the second sorting result are the same, the sorting device can send a new start test message to the testing device through the first communication connection to continue to detect the communication line in the second communication connection through the next sorting result.
[0081] In other embodiments, if the sorting device receives a new control command when the first sorting result and the second sorting result are the same, it can send a new start test message to the test device through the first communication connection.
[0082] It should be noted that in step 203 above, the sorting device parses the logic signal after successfully receiving the logic signal corresponding to the first sorting result sent by the testing device. In other cases, if the sorting device does not receive the logic signal within a first preset time after sending the start test message, it can determine that the detection result of the communication line in the second communication connection has failed.
[0083] The first preset duration can be set in advance.
[0084] For example, if the sorting device does not display the second sorting result within a first preset time after sending the start test message after the technician triggers the control command, it indicates that the sorting device has not received the logic signal. Based on this, the technician can determine that there may be a problem with the communication line in the second communication connection, and therefore determine that the test result of the communication line is that the test failed.
[0085] It should be noted that in step 203 above, the sorting device determines the detection result of the communication line in the second communication connection after successfully parsing the logic signal to obtain the second sorting result. In other cases, if the sorting device fails to parse the logic signal, it can determine that the detection result of the communication line in the second communication connection has failed. For example, if the sorting device fails to parse the logic signal, it can display an error message. After reviewing the error message, a technician can determine that there is a problem with the communication line.
[0086] In this embodiment, after the testing device and the sorting device are connected via a communication line, the sorting device sends a start test message to the testing device through a first communication connection. Upon receiving the start test message, the testing device determines and displays the first sorting result, and sends a logic signal corresponding to the first sorting result to the sorting device through a second communication connection. Upon receiving the logic signal, the sorting device parses it to obtain and displays the second sorting result. The first and second sorting results are used to determine the detection result of the communication line in the second communication connection. In this embodiment, the sorting device and the testing device can automatically complete the testing process. Technicians only need to view the sorting results displayed by the testing device and the sorting device to know the detection result of the communication line, thus improving the efficiency and accuracy of communication line detection and reducing labor costs. Furthermore, compared to related technologies that require technicians to use multimeters for professional testing, technicians in this embodiment do not need to possess the corresponding professional knowledge to complete the testing, thereby reducing technical costs.
[0087] Figure 4 This is a schematic diagram of the structure of a computer device provided in an embodiment of this application. Figure 4 As shown, the computer device 4 includes a processor 40, a memory 41, and a computer program 42 stored in the memory 41 and executable on the processor 40. When the processor 40 executes the computer program 42, it implements the steps in the communication line detection method in the above embodiments.
[0088] Computer device 4 can be a general-purpose computer device or a special-purpose computer device. In specific implementations, computer device 4 can be a desktop computer, portable computer, network server, handheld computer, mobile phone, tablet computer, wireless terminal device, communication device, or embedded device. This application embodiment does not limit the type of computer device 4. Those skilled in the art will understand that... Figure 4 The computer device 4 is merely an example and does not constitute a limitation on the computer device 4. It may include more or fewer components than shown, or combine certain components, or different components, such as input / output devices, network access devices, etc.
[0089] Processor 40 can be a central processing unit (CPU), or it can be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor can be a microprocessor or any conventional processor.
[0090] In some embodiments, memory 41 may be an internal storage unit of the computer device 4, such as a hard disk or RAM of the computer device 4. In other embodiments, memory 41 may be an external storage device of the computer device 4, such as a plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, etc., provided on the computer device 4. Furthermore, memory 41 may include both internal storage units and external storage devices of the computer device 4. Memory 41 is used to store the operating system, applications, boot loader, data, and other programs. Memory 41 may also be used to temporarily store data that has been output or will be output.
[0091] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.
[0092] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0093] This application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, can implement the steps in the various method embodiments described above.
[0094] This application provides a computer program product that, when run on a computer, causes the computer to perform the steps described in the various method embodiments above.
[0095] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the above method embodiments of this application can be implemented by a computer program. This computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or some intermediate form. The computer-readable storage medium can include at least: any entity or device capable of carrying computer program code to a computer device, a recording medium, a computer memory, a read-only memory (ROM), a random access memory (RAM), a compact disc read-only memory (CD-ROM), magnetic tape, a floppy disk, and optical data storage devices. The computer-readable storage medium mentioned in this application can be a non-volatile storage medium; in other words, it can be a non-transient storage medium.
[0096] It should be understood that all or part of the steps of the above embodiments can be implemented by software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented in whole or in part as a computer program product. The computer program product includes one or more computer instructions. The computer instructions can be stored in the above-described computer-readable storage medium.
[0097] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0098] In the embodiments provided in this application, it should be understood that the disclosed apparatus / computer devices and methods can be implemented in other ways. For example, the apparatus / computer device embodiments described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be indirect coupling or communication connection through some interfaces, devices, or units, and may be electrical, mechanical, or other forms. Units described as separate components may or may not be physically separate, and components shown as units may or may not be physical units, i.e., they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this application according to actual needs.
[0099] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties. Furthermore, the collection, use and processing of the relevant data must comply with the relevant regulations and standards of the relevant countries and regions, and corresponding operation entry points are provided for users to choose to authorize or refuse.
[0100] The embodiments described above are only used to illustrate the technical solutions of this application, and are not intended to limit it. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.
Claims
1. A communication line detection method, characterized in that, The method is applied to a testing system, which includes testing equipment and sorting equipment. The testing equipment communicates with the sorting equipment via a first communication connection and a second communication connection, wherein the second communication connection includes one or more communication lines. The sorting device sends a start test message to the testing device through the first communication connection; After receiving the start test message, the test device determines the first sorting result; displays the first sorting result; and sends the logic signal corresponding to the first sorting result to the sorting device through the second communication connection. The sorting device parses the received logic signals to obtain a second sorting result; and displays the second sorting result. The first sorting result and the second sorting result are used to determine the detection result of the communication line in the second communication connection.
2. The method as described in claim 1, characterized in that, After receiving the start test message, the testing equipment determines the first sorting result, including: After receiving the start test message, if the target sorting result number is not a preset number, the testing device determines the sorting result corresponding to the target sorting result number among the multiple sorting results as the first sorting result and increments the target sorting result number by 1; or, if the target sorting result number is a preset number, the sorting result corresponding to the preset number among the multiple sorting results is determined as the first sorting result and the target sorting result number is set to 1; wherein, the initial value of the target sorting result number is 1, each of the multiple sorting results has a number, and the numbers of the multiple sorting results are sequentially incremented.
3. The method as described in claim 1, characterized in that, After the sorting device parses the received logic signal to obtain the second sorting result, it includes: When the target sorting result number is not a preset number, the sorting device determines the sorting result corresponding to the target sorting result number among multiple sorting results as the first sorting result and increments the target sorting result number by 1; or, when the target sorting result number is a preset number, the sorting result corresponding to the preset number among multiple sorting results is determined as the first sorting result and the target sorting result number is set to 1; wherein, the initial value of the target sorting result number is 1, each of the multiple sorting results has a number, and the numbers of the multiple sorting results are sequentially incremented; The sorting device determines the detection result of the communication line in the second communication connection based on the first sorting result and the second sorting result.
4. The method as described in claim 1, characterized in that, The sorting device determines the detection result of the communication line in the second communication connection based on the first sorting result and the second sorting result, including: If the first sorting result and the second sorting result are different, the sorting device determines that the detection result of the communication line in the second communication connection is that the detection failed.
5. The method as described in claim 4, characterized in that, The method further includes: If the first sorting result and the second sorting result are the same, the sorting device sends a new start test message to the testing device through the first communication connection.
6. The method as described in claim 1, characterized in that, The sorting device sends a start test message to the testing device through the first communication connection, including: In response to receiving a control command, the sorting device sends the start test message to the testing device via the first communication connection.
7. The method as described in any one of claims 1 to 6, characterized in that, After the testing device sends the logic signal corresponding to the first sorting result to the sorting device through the second communication connection, it further includes: The sorting device parses the received logic signals, and if the parsing fails, it determines that the detection result of the communication line in the second communication connection is that the detection failed.
8. The method according to any one of claims 1 to 6, characterized in that, After the sorting device sends a start test message to the testing device through the first communication connection, it further includes: If the sorting device does not receive a logic signal within a first preset time after sending the start test message, it determines that the detection result of the communication line in the second communication connection is that the detection failed.
9. A computer device, characterized in that, The computer device includes a memory, a processor, and a computer program stored in the memory and running on the processor, wherein the computer program, when executed by the processor, implements the method as claimed in any one of claims 1 to 8.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the method as described in any one of claims 1 to 8.