CN-121996486-A - Equipment detection method, system, test terminal and equipment to be detected
Abstract
The application relates to the technical field of equipment detection, in particular to an equipment detection method, an equipment detection system, a test terminal and equipment to be detected. When the test terminal tests a plurality of devices to be detected, the test terminal firstly filters the connected devices to be detected, filters illegal devices to be detected through check codes, then filters out some devices which have already been detected through detecting the detection status codes carried by the devices to be detected, avoids repeated detection and improves the detection efficiency, and meanwhile, when detecting the devices to be detected which have not been detected, the test terminal can acquire a card control file corresponding to the devices to be detected according to the device model, and completes the detection of the devices to be detected according to the card control file. The test terminal can automatically and adaptively detect various types of equipment to be detected, the test configuration does not need to be changed manually, the robustness of equipment detection is greatly improved, and the method and the device can be suitable for various test scenes.
Inventors
- YANG GUANG
- Wu Shicu
- XU JINYANG
- ZOU JIANHONG
- CHEN ZHILIE
Assignees
- 深圳市研祥潜动科技有限公司
Dates
- Publication Date
- 20260508
- Application Date
- 20260120
Claims (10)
- 1. A device detection method, applied to a test terminal, where the test terminal is configured to detect a plurality of devices to be detected, the method includes: receiving a broadcast message sent by the equipment to be detected, wherein the broadcast message comprises the equipment model number, the check code and the detection status code of the equipment to be detected; Checking the equipment to be detected according to the check code, if the check code passes, determining a list of equipment to be detected which is not detected according to the detection state code, wherein the list of equipment to be detected comprises equipment types of the equipment to be detected which is not detected; Respectively executing the following operations on each device to be detected in the device to be detected list until traversing the device to be detected list: sending a card control file to equipment to be detected in the equipment list to be detected according to the equipment model, wherein the card control file comprises detection data items so that the equipment to be detected can automatically detect according to the detection data items; Receiving a self-checking data output file sent by the equipment to be checked, wherein the self-checking data output file comprises a detection result corresponding to the detection data item, comparing the detection result corresponding to the detection data item with a preset detection threshold value, and determining an automatic detection result of the equipment to be checked; And generating a card control result file according to the automatic detection result, and sending the card control result file to the equipment to be detected, so that the equipment to be detected modifies the detection state code according to the card control result file.
- 2. The method of claim 1, wherein the broadcast message further comprises a starter; Before the device to be detected is checked according to the check code, the method further comprises the following steps: screening the equipment to be detected according to the initiator; And acquiring a signal intensity indication of the screened equipment to be detected, acquiring a distance value between the equipment to be detected and the test terminal according to the signal intensity indication, and checking the equipment to be detected according to the check code if the distance value is smaller than a preset distance threshold.
- 3. The method of claim 1, wherein the test terminal is further communicatively coupled to a server; the sending the card control file to the equipment to be detected in the equipment to be detected list according to the equipment model comprises the following steps: and determining whether a card control file corresponding to the equipment model exists locally according to the equipment model, and if the card control file does not exist, sending a card control file acquisition request to the server so that the server returns the card control file corresponding to the equipment model.
- 4. A method according to claim 3, characterized in that the method further comprises: And sending the card control result file to the server.
- 5. A device detection method, characterized by being applied to a device to be detected for connection with a test terminal according to any one of claims 1-4, the method comprising: acquiring a detection status code, and sending a broadcast message to enable the test terminal to establish connection with the equipment to be detected according to the broadcast message, and sending a card control file according to the detection status code; Receiving a card control file sent by the test terminal, wherein the card control file comprises a detection data item, automatically detecting according to the card control file, generating a self-checking data output file, and sending the self-checking data output file to the test terminal so that the test terminal generates a card control result file according to the self-checking data output file; And receiving a card control result file sent by the test terminal, and modifying the detection state code of the card control result file according to the card control result file.
- 6. The method of claim 5, wherein prior to transmitting the broadcast message, further comprising: acquiring an MAC address, a device model, a device serial number and a starter of the device; performing CRC calculation according to the MAC address, the equipment model, the equipment serial number and the initiator to generate a check code; And broadcasting the check code through the broadcast message.
- 7. The test terminal is characterized by comprising a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete communication with each other through the communication bus; The memory is configured to store at least one program that causes the processor to execute the device detection method according to any one of claims 1 to 4.
- 8. The device to be detected is characterized by comprising a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete communication with each other through the communication bus; The memory is used for storing at least one program, and the program causes the processor to execute the device detection method according to claim 5 or 6.
- 9. A device detection system, comprising the test terminal according to claim 7, a plurality of devices to be detected according to claim 8, and a server; The test terminal is connected with a plurality of devices to be detected through low-power consumption Bluetooth and is used for detecting the devices to be detected; The server is in communication connection with the test terminal and is used for sending the card control file to the test terminal and storing the card control result file sent by the test terminal.
- 10. A readable computer storage medium, characterized in that the storage medium stores at least one program which, when run on a test terminal, causes the test terminal to perform the device detection method according to any one of claims 1 to 4, or which, when run on a device to be detected, causes the device to be detected to perform the device detection method according to claim 5 or 6.
Description
Equipment detection method, system, test terminal and equipment to be detected Technical Field The embodiment of the application relates to the technical field of equipment detection, in particular to an equipment detection method, an equipment detection system, a test terminal and equipment to be detected. Background Along with the development of society, intelligent wearable products, such as intelligent watches, intelligent bracelets and the like, are used for being worn on a user to monitor heart rate, blood oxygen, air pressure and the like. In order to achieve the above functions, the smart wearable product needs to have sensors for monitoring heart rate, blood oxygen, air pressure, etc., and the smart wearable product needs to test, verify and calibrate all hardware sensors and hardware functions in the smart wearable product during the production and manufacturing process. The inventor discovers in the research that the whole machine of the intelligent wearable product needs to be subjected to performance test before leaving the factory, and the prior art usually adopts manual detection or software detection, wherein the manual detection process is time-consuming and labor-consuming, the test efficiency is lower, and the whole test process depends on manual work, so that false detection or missing detection is easy to occur. Disclosure of Invention In view of the above problems, embodiments of the present application provide a device detection method, a system, a test terminal, and a device to be detected, which are used to solve the above technical problems in the prior art. According to an aspect of an embodiment of the present application, there is provided an apparatus detecting method applied to a test terminal for detecting a plurality of apparatuses to be detected, the method including: receiving a broadcast message sent by the equipment to be detected, wherein the broadcast message comprises the equipment model number, the check code and the detection status code of the equipment to be detected; Checking the equipment to be detected according to the check code, if the check code passes, determining a list of equipment to be detected which is not detected according to the detection state code, wherein the list of equipment to be detected comprises equipment types of equipment to be detected which is not detected; And respectively executing the following operations on each device to be detected in the device to be detected list until traversing the device to be detected list: sending a card control file to equipment to be detected in the equipment list to be detected according to the equipment model, wherein the card control file comprises detection data items so that the equipment to be detected can automatically detect according to the detection data items; Receiving a self-checking data output file sent by the equipment to be checked, wherein the self-checking data output file comprises a detection result corresponding to the detection data item, comparing the detection result corresponding to the detection data item with a preset detection threshold value, and determining an automatic detection result of the equipment to be checked; and generating a card control result file according to the automatic detection result, and sending the card control result file to the equipment to be detected, so that the equipment to be detected modifies the detection state code according to the card control result file. Optionally, in some embodiments, the broadcast message further includes a starter; Before the device to be detected is checked according to the check code, the method further comprises the following steps: screening the equipment to be detected according to the initiator; And acquiring a signal intensity indication of the screened equipment to be detected, acquiring a distance value between the equipment to be detected and the test terminal according to the signal intensity indication, and checking the equipment to be detected according to the check code if the distance value is smaller than a preset distance threshold. Optionally, in some embodiments, the test terminal is further communicatively connected to a server; the sending the card control file to the equipment to be detected in the equipment to be detected list according to the equipment model comprises the following steps: And determining whether the card control file corresponding to the equipment model exists locally according to the equipment model, and if the card control file does not exist, sending a card control file acquisition request to a server so that the server returns the card control file corresponding to the equipment model. Optionally, in some embodiments, the method further comprises: And sending the card control result file to the server. According to another aspect of the embodiment of the present application, there is also provided a device detection method applied to a device to be detected, where the device t