CN113220510A - Device detection method, detection device, and computer-readable storage medium - Google Patents

Device detection method, detection device, and computer-readable storage medium Download PDF

Info

Publication number
CN113220510A
CN113220510A CN202010070026.9A CN202010070026A CN113220510A CN 113220510 A CN113220510 A CN 113220510A CN 202010070026 A CN202010070026 A CN 202010070026A CN 113220510 A CN113220510 A CN 113220510A
Authority
CN
China
Prior art keywords
detection
equipment
return information
detected
instruction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010070026.9A
Other languages
Chinese (zh)
Inventor
靳永超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Yihua Computer Co Ltd
Shenzhen Yihua Time Technology Co Ltd
Shenzhen Yihua Financial Intelligent Research Institute
Original Assignee
Shenzhen Yihua Computer Co Ltd
Shenzhen Yihua Time Technology Co Ltd
Shenzhen Yihua Financial Intelligent Research Institute
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Yihua Computer Co Ltd, Shenzhen Yihua Time Technology Co Ltd, Shenzhen Yihua Financial Intelligent Research Institute filed Critical Shenzhen Yihua Computer Co Ltd
Priority to CN202010070026.9A priority Critical patent/CN113220510A/en
Publication of CN113220510A publication Critical patent/CN113220510A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/26Functional testing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • G06F11/221Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test buses, lines or interfaces, e.g. stuck-at or open line faults

Abstract

The embodiment of the invention discloses a device detection method, which comprises the following steps: restarting the detection equipment according to a preset period and sending a detection instruction to the equipment to be detected after the detection equipment is started, wherein the detection instruction is used for enabling the equipment to be detected to send return information to the detection equipment; judging whether the detection equipment receives return information sent by the equipment to be detected; if the return information is received, generating a detection document according to the return information; the device to be tested is connected with the detection device through the detection interface. The invention can improve the detection efficiency, improve the detection reliability and reduce the detection cost, and also discloses the detection equipment and a computer readable storage medium.

Description

Device detection method, detection device, and computer-readable storage medium
Technical Field
The present invention relates to the field of automatic detection technologies, and in particular, to a device detection method, a detection device, and a computer-readable storage medium.
Background
With more and more products using USB (Universal Serial Bus) interfaces to communicate with external devices, in order to ensure that USB devices can be normally identified, a large amount of USB function detection is usually required, that is, enumeration reliability of USB devices needs to be detected under various operating systems, and thus, workload is huge.
At present, most of USB equipment detection methods are that the USB equipment is repeatedly plugged and pulled manually through manual detection so as to be connected with an external host for detection. The detection workload is huge, the detection in the whole day cannot be realized, the product abnormity cannot be detected due to insufficient detection, and meanwhile, the counting of the detection times is difficult.
If the connection of other external equipment to the USB equipment is controlled, the USB equipment is detected, the external equipment is required to be relied on, and the dependence on the detection environment is extremely high.
Disclosure of Invention
Based on this, it is necessary to propose a device detection method, a detection device, and a computer-readable storage medium to address the above-described problems.
A device detection method, the method comprising: restarting detection equipment according to a preset period and sending a detection instruction to equipment to be detected after the detection equipment is started, wherein the detection instruction is used for enabling the equipment to be detected to send return information to the detection equipment; judging whether the detection equipment receives the return information sent by the equipment to be detected; if the return information is received, generating a detection document according to the return information; and the equipment to be detected is connected with the detection equipment through a detection interface.
After the step of determining whether the detection device receives the return information sent by the device to be detected, the method includes: and if the return information is not received, stopping executing the restarting detection equipment and the subsequent steps.
Wherein, after the step of stopping executing the restart detecting device and the subsequent steps, the method comprises: and counting the number of the detection documents, and calculating the failure probability of the equipment to be detected according to the number.
Wherein the step of generating a detection document according to the return information includes: and acquiring the receiving time for receiving the return information, and naming the detection document by the receiving time.
After the step of generating the detection document according to the return information, the method includes: and storing the detection document in a folder named by the identifier of the device to be detected.
Wherein, before the step of restarting the detection device according to the preset period, the method comprises the following steps: and reading a detection file in the starting directory, wherein the detection file comprises the preset period.
The detection instruction comprises a version inquiry instruction, and the return information comprises firmware version information of the equipment to be tested.
A detection apparatus, comprising: the sending module is used for restarting the detection equipment according to a preset period and sending a detection instruction to the equipment to be detected after the detection equipment is started, so that the equipment to be detected can respond to the detection instruction and send return information to the detection equipment; the judging module is used for judging whether the return information sent by the equipment to be tested is received or not; the generating module is used for generating a detection document according to the return information if the return information is received; and the equipment to be detected is connected with the detection equipment through a detection interface.
A detection apparatus, comprising: a processor, a memory and a communication circuit, the processor being coupled to the memory and the communication circuit, the memory having stored therein a computer program, the processor executing the computer program to implement the method as described above.
A computer-readable storage medium storing a computer program executable by a processor to implement a method as described above.
The embodiment of the invention has the following beneficial effects:
restart and send the detection instruction at the equipment that awaits measuring after starting according to preset cycle through check out test set, the detection instruction is used for making the equipment that awaits measuring send return message to check out test set, if receive return message, then indicate that the equipment that awaits measuring is normal in this round of detection, generate the detection document in order to record this detection, can realize check out test set treat check out test set automated inspection, and to the automatic recording of testing result, need not to rely on external device, can effectively promote the efficiency of detection, improve the reliability of detection, and reduce the detection cost.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Wherein:
FIG. 1 is a schematic flow chart diagram of a first embodiment of a device detection method provided by the present invention;
FIG. 2 is a schematic flow chart diagram of a second embodiment of the device detection method provided by the present invention;
FIG. 3 is a schematic flow chart diagram of a device detection method according to a third embodiment of the present invention;
FIG. 4 is a schematic structural diagram of a first embodiment of a detection apparatus provided by the present invention;
FIG. 5 is a schematic structural diagram of a second embodiment of the detection apparatus provided by the present invention;
FIG. 6 is a schematic structural diagram of an embodiment of a computer-readable storage medium provided by the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
At present, most of USB equipment detection methods are that the USB equipment is repeatedly plugged and pulled manually through manual detection so as to be connected with an external host for detection. The detection workload is huge, the detection in the whole day cannot be realized, the product abnormity cannot be detected due to insufficient detection, and meanwhile, the counting of the detection times is difficult. If the connection of other external equipment to the USB equipment is controlled, the USB equipment is detected, the external equipment is required to be relied on, and the dependence on the detection environment is extremely high.
In this embodiment, in order to solve the above problem, an apparatus detection method is provided, which can improve detection efficiency, improve detection reliability, and reduce detection cost.
Referring to fig. 1, fig. 1 is a schematic flow chart of a device detection method according to a first embodiment of the present invention. The equipment detection method provided by the invention comprises the following steps:
s101: restarting the detection equipment according to a preset period and sending a detection instruction to the equipment to be detected after starting.
In a specific implementation scenario, the detection device and the device under test are connected through a detection interface. In this implementation scenario, the detection interface is a USB (Universal Serial Bus) interface, and the device to be tested is a password keyboard. In other implementation scenarios, the detection interface may also be other data transmission interfaces, such as Lightning interfaces, and the device to be tested may also be an external device such as a mobile hard disk and a mouse.
And restarting the detection equipment according to a preset period to realize power supply and power off of the equipment to be detected in the preset period. In this implementation scenario, the preset period is 50s, and in other implementation scenarios, the preset period may also be 30s, 40s, or 60 s.
The detection equipment sends a detection instruction to the equipment to be detected after being started, so that the equipment to be detected can respond to the detection instruction and send return information to the detection equipment. In this implementation scenario, the detection instruction is a version instruction, and the return information is firmware version information of the device under test. In other implementation scenarios, the detection instruction may also be other query instructions, such as a file query instruction, and the return information is file query result information.
S102: and judging whether the detection equipment receives the return information sent by the equipment to be detected. If yes, go to step S103.
In this implementation scenario, if the detection interface functions normally and is connected to the device to be detected normally, the detection instruction may be successfully transmitted to the device to be detected, if the device to be detected functions normally, the detection instruction is responded to send return information to the detection device, the return information is sent to the detection device through the detection interface, and the detection device successfully receives the return information. If one of the function of the detection interface, the connection between the detection interface and the device to be tested and the function of the device to be tested is abnormal, the detection device cannot receive the return information.
Therefore, in the implementation scenario, whether the return information sent by the device to be tested is received or not is determined, if the return information is successfully received, it indicates that the function of the device to be tested in the current detection is normal, and if the return information is not received, it indicates that a fault may occur in the current detection of the device to be tested.
S103: and generating a detection document according to the return information.
In the implementation scenario, the detection device successfully receives the return information, which indicates that the device to be detected functions normally in the current round of detection, and generates a detection document according to the return information. For example, the content of the returned information is saved in the form of a document, or a blank document is generated. The detection document is used for indicating that the equipment to be detected in the current detection is normal in function.
In other implementation scenarios, other methods may also be used to record that the function of the device under test in the current round of detection is normal, for example, a counter is set, and when the detection device successfully receives the return information, the count of the counter is incremented by one.
According to the above description, restart according to the preset cycle through the detection equipment in this embodiment and the equipment to be detected sends the detection instruction after starting, the detection instruction is used for making the equipment to be detected send the return information to the detection equipment, if the return information is received, it indicates that the equipment to be detected functions normally in this round of detection, the detection document is generated to record this detection, the automatic detection of the equipment to be detected by the detection equipment can be realized, and the automatic recording of the detection result is not required to depend on the external equipment, the detection efficiency can be effectively improved, the detection reliability is improved, and the detection cost is reduced.
Referring to fig. 2, fig. 2 is a schematic flow chart of a device detection method according to a second embodiment of the present invention. The equipment detection method provided by the invention comprises the following steps:
s201: restarting the detection equipment according to a preset period and sending a detection instruction to the equipment to be detected after starting, wherein the detection instruction is used for enabling the equipment to be detected to send return information to the detection equipment.
S202: and judging whether return information sent by the equipment to be tested is received. If so, go to step S203, otherwise, go to step S203.
S203: and generating a detection document according to the return information.
In a specific implementation scenario, steps S201 to S203 are substantially the same as steps S101 to S103 of the first embodiment of the device detection method provided by the present invention, and are not described herein again.
S204: and stopping executing the restart detection equipment and the subsequent steps.
In this implementation scenario, if the detection device does not receive the return information and indicates that there is a possible failure in the current round of detection, the execution of the restart and the subsequent steps after the start are stopped. Since the return information is not received, a detection document is not generated.
In other implementation scenarios, an alarm message may also be issued to the user to inform the user of the detection result of the current round.
S205: and counting the number of the detected documents, and calculating the failure probability of the equipment to be detected according to the number.
In this implementation scenario, the number of detection documents generated by the detection before the current round of detection is counted, each detection document indicates that one round of detection succeeds, and the failure probability of the device under test is calculated according to the number of detection documents, for example, if the number of detection documents before the current round of detection is 199, the failure probability of the device under test is 1/200.
According to the above description, in this embodiment, the detection device is restarted according to the preset period and sends the detection instruction after the detection device is started, the detection instruction is used to enable the detection device to send the return information to the detection device, if the return information is not received, the detection device fails in the current round, the restart and the subsequent steps are stopped, the number of detection documents generated by detection before the current round of detection is counted, the failure probability of the detection device is calculated according to the number of the detection documents, automatic detection of the detection device on the detection device can be realized, the detection result is automatically recorded and counted, the failure probability is calculated, an external device is not required, the detection efficiency can be effectively improved, the detection reliability is improved, and the detection cost is reduced.
Referring to fig. 3, fig. 3 is a schematic flow chart of a device detection method according to a third embodiment of the present invention. The equipment detection method provided by the invention comprises the following steps:
s301: and reading the detection file in the starting directory.
In a specific implementation scenario, a user writes a detection file according to a test requirement, in the implementation scenario, the detection file is a VBS script file, and the VBS script file is placed in a start directory of the detection device. The VBS script file is written with a preset period for detecting the restart of the device.
S302: restarting the detection equipment according to a preset period and sending a detection instruction to the equipment to be detected after starting.
In the implementation scenario, according to a preset period in the VBS script file, the detection device is restarted, and a detection instruction is sent to the device to be detected after the restart. The detection instruction is used for enabling the device to be detected to send return information to the detection device. Specifically, step S101 in the first embodiment of the device detection method provided by the present invention is not described herein again.
In this implementation scenario, the detection device may be connected to multiple devices to be tested at the same time, and then the detection device sends a detection instruction to the multiple devices to be tested at the same time after being started.
S303: and judging whether return information sent by the equipment to be tested is received. If yes, go to step S304, otherwise go to step S306.
In this implementation scenario, if the detection interface functions normally and is connected to the device to be detected normally, the detection instruction may be successfully transmitted to the device to be detected, if the device to be detected functions normally, the detection instruction is responded to send return information to the detection device, the return information is sent to the detection device through the detection interface, and the detection device successfully receives the return information. If one of the function of the detection interface, the connection between the detection interface and the device to be tested and the function of the device to be tested is abnormal, the detection device cannot receive the return information.
In this implementation scenario, the detection device is simultaneously connected to multiple devices to be tested, if the return information of at least one device to be tested is not received, step S306 is executed for the device to be tested, and if the return information sent by at least one device to be tested is received, step S304 is executed for the at least one device to be tested. The response speed and the operation speed of the multiple devices to be tested are different, and the time delay of sending and receiving information is different, so that the waiting time can be preset, and after the detection device sends the detection instruction, if the return information sent by the devices to be tested is still not received after the preset waiting time, the return information sent by the devices to be tested is judged not to be received. The preset waiting time is less than the duration of the preset period.
S304: and generating a detection document according to the return information, acquiring the receiving time of the return information, and naming the detection document by the receiving time.
In this implementation scenario, when the detection device receives a detection document sent by at least one device to be detected, the detection device generates a corresponding detection document according to each piece of return information. And acquiring the receiving time of the received return information, and naming the detected document by the receiving time. In this implementation scenario, the detected document is a blank document in txt format. In other implementation scenarios, the detection document may also be in other file formats, such as word, excel, and the like. For example, if the receiving time is 13 points at 24/2019, the detected document is named 20191124_1354_685. txt. The 685 may be a mark for distinguishing, for example, the 685 th return message received by the detection device, so as to prevent that the return messages cannot be distinguished when multiple return messages are received at the same time.
S305: and storing the detection document in a folder named by the identification of the device to be detected.
In this implementation scenario, since the detection device is connected to multiple devices to be detected, detection documents generated according to the return information sent by different detection devices need to be stored in folders named by the identifiers of the corresponding detection devices, respectively.
In this implementation scenario, before or at the same time as the first round of test starts, the identifier of each device under test is obtained, and a folder is established for each device under test, where each folder is named by the identifier of the device under test corresponding to the folder. The identification of the device to be tested can be manually input by a user or automatically acquired by the detection device.
S306: and stopping executing the restart detection equipment and the subsequent steps.
In this implementation scenario, if the device under test does not receive the return information of at least one device under test, the execution of the steps of restarting the detection device and the subsequent steps is stopped. In this implementation scenario, if the return information of a device under test is not received, the execution of restarting the detection device and the subsequent steps is stopped. In other implementation scenarios, the detection of the device under test may be stopped only, the detection device continues to perform the restart, and the subsequent steps continue to detect other devices under test.
In other implementation scenarios, because there may be a case where return information of multiple devices to be tested is not received, a prompt message is generated, where the prompt message includes an identifier of the device to be tested that does not receive the return information, and the prompt message is fed back to the user, so that the user knows which device or devices to be tested may have a fault.
S307: and counting the number of the detected documents, and calculating the failure probability of the equipment to be detected according to the number.
In this implementation scenario, the number of detection documents in the folders corresponding to the devices to be tested that have not received the return information, that is, the folders named by the identifier of the devices to be tested, is counted, and the failure probability of the devices to be tested corresponding to the folders is calculated according to the number of the documents in each folder.
In other implementation scenarios, because all devices to be tested are tested simultaneously, the failure probability of only one device to be tested can be calculated, and the failure probabilities of other devices to be tested are the same as those of the other devices to be tested.
In other implementation scenarios, the failure probability is fed back to the user, so that the user can obtain the failure probability of the device to be tested, and further analysis is performed.
As can be seen from the above description, in this embodiment, if the return information sent by at least one device to be detected is received, a detection document is generated according to the return information and stored in a file corresponding to the device to be detected, if the return information sent by at least one device to be detected is not received, execution of restarting the detection device and subsequent steps is stopped, the number of detection documents in a folder corresponding to the device to be detected is counted, and the failure probability of the device to be detected is calculated according to the number, so that automatic detection of multiple devices to be detected can be simultaneously achieved, an external device is not required, detection efficiency can be effectively improved, detection reliability can be improved, and detection cost can be reduced.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a detection apparatus according to a first embodiment of the present invention. The detection device 10 comprises a sending module 11, a judging module 12 and a generating module 13. The sending module 11 is configured to restart the detection device according to a preset period and send a detection instruction to the device to be detected after the detection device is started, so that the device to be detected can send return information to the detection device in response to the detection instruction. The judging module 12 is configured to judge whether a return message sent by the device to be tested is received. The generating module 13 is configured to generate a detection document according to the return information if the return information is received. The device to be tested is connected with the detection device through the detection interface.
The detection device 10 further comprises a stopping module 14 for stopping the execution of the restart and subsequent steps if no return message is received.
The stopping module 14 is further configured to count the number of the detection documents, and calculate the failure probability of the device to be detected according to the number.
The generating module 13 is further configured to obtain a receiving time of the received return information, and name the detected document with the receiving time.
The generating module 13 is further configured to store the detection document in a folder named by the identifier of the device under test.
The sending module 11 is further configured to read a detection file in the start directory, where the detection file includes a preset period.
The detection instruction comprises a version inquiry instruction, and the return information comprises firmware version information of the equipment to be detected.
It can be known from the above description that, in this embodiment, the detection apparatus restarts according to the preset period and sends the detection instruction to the apparatus to be detected after the apparatus to be detected is started, if the return information sent by the apparatus to be detected is received, it indicates that the apparatus to be detected functions normally in the current round of detection, a detection document is generated to record the current detection, if the return information sent by the apparatus to be detected is not received, it indicates that the apparatus to be detected may malfunction, the restart and the subsequent steps are stopped, the failure probability of the apparatus to be detected is calculated according to the number of the detection documents, the automatic detection of the apparatus to be detected by the detection apparatus can be realized, the automatic recording of the detection result is performed, an external apparatus is not required, the detection efficiency can be effectively improved, the detection reliability is improved, and the detection cost is reduced.
Referring to fig. 5, fig. 5 is a schematic structural diagram of a detection apparatus according to a second embodiment of the present invention. The detection device 20 comprises a processor 21, a memory 22 and a communication circuit 23. Processor 21 is coupled to memory 22 and communication circuitry 23. The memory 22 has stored therein a computer program which is executed by the processor 21 in operation to implement the method as shown in fig. 1-3. The detailed methods can be referred to above and are not described herein.
As can be seen from the above description, the detection device in this embodiment restarts according to a preset period and sends a detection instruction after the detection device is started, if the return information sent by the detection device is received, it indicates that the function of the detection device is normal in the current round of detection, a detection document is generated to record the current detection, and if the return information sent by the detection device is not received, it indicates that the detection device may malfunction, and the restarting and the subsequent steps are stopped.
Referring to fig. 6, fig. 6 is a schematic structural diagram of an embodiment of a computer-readable storage medium according to the present invention. The computer-readable storage medium 30 stores at least one computer program 31, and the computer program 31 is used for being executed by a processor to implement the method shown in fig. 1 to 3, and the detailed method can be referred to above and will not be described herein again. In one embodiment, the computer readable storage medium 30 may be a memory chip in a terminal, a hard disk, or other readable and writable storage tool such as a removable hard disk, a flash disk, an optical disk, or the like, and may also be a server or the like.
As can be seen from the above description, in this embodiment, the computer program stored in the computer-readable storage medium may be configured to restart the detection device according to a preset period and send a detection instruction to the device to be detected after the detection device is started, if return information sent by the device to be detected is received, it indicates that the device to be detected functions normally in the current detection, a detection document is generated to record the current detection, if return information sent by the device to be detected is not received, it indicates that the device to be detected may malfunction, the restart and subsequent steps are stopped, the failure probability of the device to be detected is calculated according to the number of the detection documents, automatic detection of the device to be detected by the detection device may be achieved, and the detection result is automatically recorded without depending on an external device, so that the detection efficiency may be effectively improved, the detection reliability may be improved, and the detection cost may be reduced.
Different from the prior art, the detection device is restarted according to the preset period, the device to be detected sends the detection instruction after the detection device is started, the detection instruction is used for enabling the device to be detected to send the return information to the detection device, if the return information is received, the device to be detected is indicated to be normal in the current detection, the detection document is generated to record the detection, the automatic detection of the device to be detected by the detection device can be achieved, the detection result is automatically recorded, the external device does not need to be relied on, the detection efficiency can be effectively improved, the detection reliability can be improved, and the detection cost can be reduced.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present invention, and it is therefore to be understood that the invention is not limited by the scope of the appended claims.

Claims (10)

1. A method for device detection, the method comprising:
restarting detection equipment according to a preset period and sending a detection instruction to equipment to be detected after the detection equipment is started, wherein the detection instruction is used for enabling the equipment to be detected to send return information to the detection equipment;
judging whether the detection equipment receives the return information sent by the equipment to be detected;
if the return information is received, generating a detection document according to the return information;
and the equipment to be detected is connected with the detection equipment through a detection interface.
2. The device detection method according to claim 1, wherein after the step of determining whether the detection device receives the return information sent by the device under test, the method includes:
and if the return information is not received, stopping executing the restarting detection equipment and the subsequent steps.
3. The device detection method of claim 2, wherein the step of stopping execution of the restart detection device and subsequent steps is followed by:
and counting the number of the detection documents, and calculating the failure probability of the equipment to be detected according to the number.
4. The device detection method according to claim 1, wherein the step of generating a detection document based on the return information includes:
and acquiring the receiving time for receiving the return information, and naming the detection document by the receiving time.
5. The device detection method according to claim 1, wherein the step of generating a detection document based on the return information is followed by:
and storing the detection document in a folder named by the identifier of the device to be detected.
6. The device detection method according to claim 1, wherein the step of restarting the detection device according to the preset period is preceded by:
and reading a detection file in the starting directory, wherein the detection file comprises the preset period.
7. The device detection method according to claim 1,
the detection instruction comprises a version inquiry instruction, and the return information comprises firmware version information of the equipment to be tested.
8. A detection apparatus, comprising:
the sending module is used for restarting the detection equipment according to a preset period and sending a detection instruction to the equipment to be detected after the detection equipment is started, so that the equipment to be detected can respond to the detection instruction and send return information to the detection equipment;
the judging module is used for judging whether the return information sent by the equipment to be tested is received or not;
the generating module is used for generating a detection document according to the return information if the return information is received;
and the equipment to be detected is connected with the detection equipment through a detection interface.
9. A detection apparatus, comprising: a processor, a memory and a communication circuit, the processor coupled to the memory and the communication circuit, the memory having stored therein a computer program, the processor executing the computer program to implement the method of any of claims 1-7.
10. A computer-readable storage medium, in which a computer program is stored, which computer program is executable by a processor to implement the method according to any one of claims 1-7.
CN202010070026.9A 2020-01-21 2020-01-21 Device detection method, detection device, and computer-readable storage medium Pending CN113220510A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010070026.9A CN113220510A (en) 2020-01-21 2020-01-21 Device detection method, detection device, and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010070026.9A CN113220510A (en) 2020-01-21 2020-01-21 Device detection method, detection device, and computer-readable storage medium

Publications (1)

Publication Number Publication Date
CN113220510A true CN113220510A (en) 2021-08-06

Family

ID=77085092

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010070026.9A Pending CN113220510A (en) 2020-01-21 2020-01-21 Device detection method, detection device, and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN113220510A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114531383A (en) * 2022-03-17 2022-05-24 深圳市三旺通信股份有限公司 Abnormity detection method, device and equipment for railway vehicle-mounted switch and storage medium
CN114531383B (en) * 2022-03-17 2024-05-03 深圳市三旺通信股份有限公司 Method, device, equipment and storage medium for detecting abnormality of railway vehicle-mounted switch

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114531383A (en) * 2022-03-17 2022-05-24 深圳市三旺通信股份有限公司 Abnormity detection method, device and equipment for railway vehicle-mounted switch and storage medium
CN114531383B (en) * 2022-03-17 2024-05-03 深圳市三旺通信股份有限公司 Method, device, equipment and storage medium for detecting abnormality of railway vehicle-mounted switch

Similar Documents

Publication Publication Date Title
CN105022694A (en) Test case generation method and system for mobile terminal test
CN107632909B (en) Method and system for automatically testing device functions
US9223739B2 (en) Detection method and apparatus for hot-swapping of SD card
CN112732475A (en) Log collection method and device, electronic equipment and storage medium
CN113220510A (en) Device detection method, detection device, and computer-readable storage medium
CN112084108A (en) Test script generation method and device and related components
CN104182290A (en) Debugging device and debugging method
CN115840707A (en) Flash test method, device and medium
CN110442467B (en) Data sharing method, terminal and computer readable storage medium
CN112596750B (en) Application testing method and device, electronic equipment and computer readable storage medium
CN112199281A (en) Data processing method and device, terminal equipment and readable storage medium
CN110362464B (en) Software analysis method and equipment
CN106933578A (en) A kind of USB drive load methods of QNX systems
CN111782515A (en) Web application state detection method and device, server and storage medium
CN111338956A (en) Automatic pressure measurement method, device, equipment and storage medium
CN112416725A (en) Pressure testing method and device
CN111240990A (en) ISMCLI command line testing method, system, terminal and storage medium
CN113868048B (en) Method, device and equipment for determining equipment information
CN110516439B (en) Detection method, device, server and computer readable medium
CN110008114B (en) Configuration information maintenance method, device, equipment and readable storage medium
CN110928644A (en) USB management method, device, equipment and medium based on cloud platform
CN117407460A (en) Cross-environment data synchronization method and device, storage medium and electronic equipment
CN114924940A (en) Performance test method, device, storage medium and electronic equipment
CN115733806A (en) Information transmission method, device, system, electronic equipment and storage medium
CN116820946A (en) Method and device for automatically testing compatibility of target software

Legal Events

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