CN115426286A - Automatic product testing method, device, equipment and computer readable storage medium - Google Patents

Automatic product testing method, device, equipment and computer readable storage medium Download PDF

Info

Publication number
CN115426286A
CN115426286A CN202211058224.9A CN202211058224A CN115426286A CN 115426286 A CN115426286 A CN 115426286A CN 202211058224 A CN202211058224 A CN 202211058224A CN 115426286 A CN115426286 A CN 115426286A
Authority
CN
China
Prior art keywords
product
testing
test
new product
communication
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
CN202211058224.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.)
Goertek Techology Co Ltd
Original Assignee
Goertek Techology Co Ltd
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 Goertek Techology Co Ltd filed Critical Goertek Techology Co Ltd
Priority to CN202211058224.9A priority Critical patent/CN115426286A/en
Publication of CN115426286A publication Critical patent/CN115426286A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

The invention discloses a method, a device, equipment and a computer readable storage medium for automatically testing a product, wherein the method is applied to test equipment, the test equipment is connected with a communication board, and the method comprises the following steps: detecting whether the product is taken away from the testing position or not after the product placed at the testing position corresponding to the communication board is tested; when detecting that the product is taken away from the testing position, detecting whether a new product is put on the testing position; and when detecting that the new product is placed at the testing position, generating a virtual serial port corresponding to the communication board, establishing communication connection with the new product through the virtual serial port, and testing the new product based on the communication connection. The invention realizes an automatic test scheme of a product supporting a variable communication serial port, and solves the problem of low test efficiency because a tester needs to manually click a button to start testing when testing the product of the variable communication serial port.

Description

Automatic product testing method, device, equipment and computer readable storage medium
Technical Field
The present invention relates to the field of test technologies, and in particular, to a method, an apparatus, a device, and a computer-readable storage medium for automatically testing a product.
Background
Different suppliers and foundries have their own product testing framework, which has been introduced by Atlas for unified regulatory administration. The Atlas framework provides a mode for constructing various testers and test sequences, integrates data uploading, route control and serial port communication modes, and provides convenience for development of test programs. However, at present, the framework only supports the automatic test of products with fixed serial ports, but does not support the automatic test of products with variable communication serial ports, so that during testing, a tester needs to manually click a button to start testing, and the testing efficiency is low.
Disclosure of Invention
The invention mainly aims to provide a method, a device and equipment for automatically testing a product and a computer readable storage medium, and aims to provide a scheme for automatically testing a product supporting a variable communication serial port so as to solve the problem of low testing efficiency caused by the fact that a tester needs to manually click a button to start testing when testing the product of the variable communication serial port.
In order to achieve the above object, the present invention provides an automatic product testing method, which includes the following steps:
detecting whether the product is taken away from the testing position or not after the product placed at the testing position corresponding to the communication board is tested;
when detecting that the product is taken away from the testing position, detecting whether a new product is put on the testing position;
and when detecting that the new product is placed at the testing position, generating a virtual serial port corresponding to the communication board, establishing communication connection with the new product through the virtual serial port, and testing the new product based on the communication connection.
Optionally, the step of detecting whether a product is removed from the test location comprises:
detecting whether a physical connection exists between a product and the communication board;
if physical connection between the product and the communication board is detected, determining that the product is not taken away from the testing position;
and if the physical connection between the product and the communication board is not detected, determining that the product is taken away from the testing position.
Optionally, the step of detecting whether a new product is placed at the test location includes:
detecting whether a physical connection exists between a product and the communication board;
if physical connection between the product and the communication board is detected, determining that a new product is placed at the test position;
and if the physical connection between the product and the communication board is not detected, determining that no new product is placed at the test position.
Optionally, after the step of testing the new product based on the communication connection, the method further includes:
and after the new product is tested, clearing the communication information cached in the communication board.
Optionally, after the step of testing the new product based on the communication connection, the method further includes:
and after the new product is tested, performing power-off processing on the new product.
Optionally, after the step of testing the new product based on the communication connection, the method further includes:
when the test result is that the test is passed after the new product is tested, outputting first indication information for indicating that the test is passed;
and when the test result is test failure after the new product is tested, outputting second indication information for indicating the test failure.
Optionally, the method further comprises:
and stopping outputting the first indication information or the second indication information when the new product is detected to be taken away from the testing position.
In order to achieve the above object, the present invention further provides an automatic product testing apparatus, which is applied to a testing device, the testing device is connected to a communication board, and the automatic product testing apparatus includes:
the first detection module is used for detecting whether a product is taken away from the test position or not after the product placed at the test position corresponding to the communication board is tested;
the second detection module is used for detecting whether a new product is put on the test position or not after the product is detected to be taken away from the test position;
and the testing module is used for generating a virtual serial port corresponding to the communication board when a new product is detected to be placed at the testing position, establishing communication connection with the new product through the virtual serial port, and testing the new product based on the communication connection.
In order to achieve the above object, the present invention also provides an automatic test apparatus for a product, comprising: the system comprises a memory, a processor and a product automatic test program which is stored on the memory and can run on the processor, wherein the product automatic test program realizes the steps of the product automatic test method when being executed by the processor.
In addition, to achieve the above object, the present invention further provides a computer readable storage medium, on which a product automatic test program is stored, and the product automatic test program, when executed by a processor, implements the steps of the product automatic test method as described above.
In the invention, the communication board is connected through the test equipment, and when the test equipment finishes testing the product placed at the test position corresponding to the communication board, whether the product is taken away from the test position is detected; when detecting that the product is taken away from the testing position, detecting whether a new product is put on the testing position; and when detecting that the new product is placed at the test position, generating a virtual serial port corresponding to the communication board, establishing communication connection with the new product through the virtual serial port, and testing the new product based on the communication connection. The invention realizes an automatic test scheme of a product supporting a variable communication serial port, thereby solving the problem of low test efficiency because a tester needs to manually click a button to start testing when testing the product of the variable communication serial port. The automatic test scheme of the product can be applied to Atlas test frames, so that the frame can support automatic test of the product with the variable communication serial port, and further the efficiency of the test can be improved when the frame is adopted for testing.
Drawings
FIG. 1 is a schematic diagram of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of a first embodiment of a method for automatically testing a product according to the present invention;
FIG. 3 is a functional block diagram of an automatic product testing device according to a preferred embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and do not limit the invention.
As shown in fig. 1, fig. 1 is a schematic device structure diagram of a hardware operating environment according to an embodiment of the present invention.
It should be noted that, in the automatic test equipment for a product according to the embodiment of the present invention, the automatic test equipment for a product may be an earphone, a smart phone, a personal computer, a server, and the like, which is not limited herein.
As shown in fig. 1, the product automatic test apparatus may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. The communication bus 1002 is used to implement connection communication among these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the device configuration shown in fig. 1 does not constitute a limitation of automatic product testing equipment and may include more or fewer components than shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a product automatic test program. An operating system is a program that manages and controls the hardware and software resources of a device, supporting the execution of product automation test programs and other software or programs. In the device shown in fig. 1, the user interface 1003 is mainly used for data communication with a client; the network interface 1004 is mainly used for establishing communication connection with a server; and the processor 1001 may be configured to call the product automatic test program stored in the memory 1005 and perform the following operations:
detecting whether the product is taken away from the testing position or not after the product placed at the testing position corresponding to the communication board is tested;
when detecting that the product is taken away from the testing position, detecting whether a new product is put on the testing position;
and when detecting that the new product is placed at the testing position, generating a virtual serial port corresponding to the communication board, establishing communication connection with the new product through the virtual serial port, and testing the new product based on the communication connection.
Further, the operation of detecting whether a product is removed from the test location includes:
detecting whether a physical connection exists between a product and the communication board;
if physical connection between the product and the communication board is detected, determining that the product is not taken away from the testing position;
determining that the product is removed from the test location if no physical connection between the product and the communications board is detected.
Further, the operation of detecting whether a new product is placed at the test location comprises:
detecting whether a physical connection exists between a product and the communication board;
if physical connection between the product and the communication board is detected, determining that a new product is placed at the testing position;
and if the physical connection between the product and the communication board is not detected, determining that no new product is put on the testing position.
Further, after the operation of testing a new product based on the communication connection, the processor 1001 may be further configured to call a product automatic test program stored in the memory 1005, and perform the following operations:
and after the new product is tested, clearing the communication information cached in the communication board.
Further, after the operation of testing a new product based on the communication connection, the processor 1001 may be further configured to call a product automatic test program stored in the memory 1005, and perform the following operations:
and after the new product is tested, performing power-off processing on the new product.
Further, after the operation of testing a new product based on the communication connection, the processor 1001 may be further configured to call a product automatic test program stored in the memory 1005, and perform the following operations:
when the test result is that the test is passed after the new product is tested, outputting first indication information for indicating that the test is passed;
and when the test result is test failure after the new product is tested, outputting second indication information for indicating the test failure.
Further, the processor 1001 may be further configured to call the product automatic test program stored in the memory 1005, and perform the following operations:
and stopping outputting the first indication information or the second indication information when the new product is detected to be taken away from the testing position.
Based on the structure, various embodiments of the automatic product testing method are provided.
Referring to fig. 2, fig. 2 is a flowchart illustrating a first embodiment of an automatic testing method for a product according to the present invention.
While a logical order is shown in the flow chart, in some cases, the steps shown or described may be performed in an order different than presented herein. In this embodiment, the method for automatically testing a product is applied to a testing device, the testing device is connected to a communication board, and the testing device may be a personal computer, a smart phone, or other devices, which is not limited in this embodiment. In this embodiment, the method for automatically testing a product includes:
step S10, detecting whether the product is taken away from the testing position after the product placed at the testing position corresponding to the communication board is tested;
the testing equipment can be connected with one or more communication boards, each communication board is provided with a testing position, each testing position is used for placing a product, and the product placed at the testing position is connected with the communication board corresponding to the testing position through a physical interface. The test equipment tests the products placed at the various test positions. The product may be a product with a variable communication serial port, such as a headset. The variable communication serial port means that when a product is physically connected with an external device through a physical interface, the product cannot be directly communicated with the external device through the physical interface, and needs to be communicated with the external device through a virtual serial port generated by software. The content of testing the product is not limited in this embodiment, and for example, the active noise reduction function and the audio playing function of the earphone may be tested. When the product is the earphone, the function of communication board can be equivalent to the earphone box, and the test cost can be reduced to replace the earphone box with communication board.
And detecting whether the product is taken away from the testing position or not after the testing equipment tests the product placed at the testing position corresponding to the communication board. In the case where there are a plurality of communication boards, detection can be performed for each communication board, and for convenience of description, a single communication board will be described as an example.
There are many ways to detect whether the test product has been removed from the test site, and this embodiment is not limited thereto. For example, when a product is tested, the test equipment and the product establish communication connection through the virtual serial port, and after the test is completed, the test equipment can determine whether the product is taken away from the test position by detecting whether a response message fed back by the product through the virtual serial port can be received or not, that is, when the test equipment does not receive the response message fed back by the product within a continuous preset time period, the test equipment can determine that the product is taken away from the test position.
Further, in an embodiment, the step of detecting whether the product is removed from the test position in the step S10 includes:
step S101, detecting whether a product is physically connected with the communication board or not;
step S102, if physical connection between the product and the communication board is detected, determining that the product is not taken away from the testing position;
and step S103, if the physical connection between the product and the communication board is not detected, determining that the product is taken away from the testing position.
In this embodiment, the test equipment may determine whether a product has been removed from the test location by detecting whether there is a physical connection between the product and the communications board. There are many embodiments for detecting whether there is a physical connection between the product and the communication board, and the embodiments are not limited herein. For example, in one embodiment, a test program based on Atlas framework may be installed in the test device, where the test program sets a detection script that detects whether there is a physical connection between the product and the communication board, and the detection script returns a first keyword when it detects that there is a physical connection between the product and the communication board, and returns a second keyword when it detects that there is no physical connection between the product and the communication board; the test program determines whether the product was removed from the test location based on the returned keyword, e.g., when the keyword is a first keyword, it determines that the product was not removed from the test location, and when the keyword is a second keyword, it determines that the product was removed from the test location.
Step S20, after detecting that the product is taken away from the testing position, detecting whether a new product is put on the testing position;
when the test equipment detects that a product is removed from the test location, it can begin to detect whether a new product has been placed at the test location. The new product may be a product that has not been previously tested or may have been previously tested, and is not limited in this embodiment. It should be noted that the operation of placing the product at the test position may be performed manually or may be performed by an automatic material taking machine.
There are many ways to detect whether a new product is placed at the test position, and this embodiment is not limited thereto. For example, a pressure sensor may be provided at the test site, and the pressure sensor feeds back a pressure signal to the test equipment, and the test equipment determines whether a new product is placed at the test site according to the pressure signal.
Further, in an embodiment, the step S20 of detecting whether a new product is placed at the test position includes:
step S201, detecting whether a physical connection exists between a product and the communication board;
step S202, if physical connection between a product and the communication board is detected, it is determined that a new product is placed at the test position;
step S203, if no physical connection between the product and the communication board is detected, it is determined that no new product is placed at the test position.
In this embodiment, the test device may determine whether a new product is placed in the test position by detecting whether a physical connection exists between the product and the communication board. There are many embodiments for detecting whether there is a physical connection between the product and the communication board, and the embodiments are not limited herein. For example, in one embodiment, a test program based on Atlas framework may be installed in the test device, where the test program sets a detection script that detects whether there is a physical connection between the product and the communication board, and the detection script returns a first keyword when it detects that there is a physical connection between the product and the communication board, and returns a second keyword when it detects that there is no physical connection between the product and the communication board; the test program determines whether a new product is placed at the test position based on the returned keyword, for example, when the keyword is a first keyword, it determines that a new product is placed at the test position, and when the keyword is a second keyword, it determines that no new product is placed at the test position.
And S30, when detecting that a new product is placed at the testing position, generating a virtual serial port corresponding to the communication board, establishing communication connection with the new product through the virtual serial port, and testing the new product based on the communication connection.
And when detecting that the new product is put on the testing position, the testing equipment generates a virtual serial port corresponding to the communication board. The generation method of the virtual serial port is not limited in this embodiment. For example, in one embodiment, the test device may generate a set of virtual serial ports (kis 0, kis1, kis2, kis 3), where kis0 is used for burning, kis2 is used for communication, and kis1 and kis3 are used for others; when the test device connects a plurality of communication boards, the test device generates different virtual serial ports for each communication board, for example, when 12 communication boards are connected, 12 groups of virtual serial ports are generated, and the kis numbers generated for each communication board are different.
The test equipment is in communication connection with the new product through the generated virtual serial port, and tests the new product based on the communication connection.
In the embodiment, the communication board is connected through the test equipment, and when the test equipment finishes testing the product placed at the test position corresponding to the communication board, whether the product is taken away from the test position is detected; when detecting that the product is taken away from the testing position, detecting whether a new product is put on the testing position; and when detecting that the new product is placed at the test position, generating a virtual serial port corresponding to the communication board, establishing communication connection with the new product through the virtual serial port, and testing the new product based on the communication connection. According to the embodiment, the automatic product testing scheme supporting the variable communication serial port is realized, so that the problem that when a product of the variable communication serial port is tested, a tester needs to manually click a button to start testing, and the testing efficiency is low is solved. The automatic product testing scheme can be applied to Atlas testing frames, so that the frames can support automatic product testing of variable communication serial ports, and further the testing efficiency can be improved when the frames are used for testing.
Further, based on the first embodiment, a second embodiment of the method for automatically testing a product according to the present invention is provided, and in this embodiment, after the step of testing a new product based on the communication connection in the step S30, the method further includes:
and step S40, after the new product is tested, clearing the communication information cached in the communication board.
When the test equipment communicates with the product through the virtual port, interactive communication information in the communication process of the test equipment and the product can be cached in the communication board, and in order to avoid the influence of the cached communication information in the communication board on the test of the next product when the last product is tested, the test equipment can clear the cached communication information in the communication board after each test of one product is completed.
Further, in another embodiment, the test device may also clear the communication information cached in the communication board after detecting that a new product is put on the test location.
Further, in an embodiment, after the step of testing the new product based on the communication connection in the step S30, the method further includes:
and S50, after the new product is tested, performing power-off processing on the new product.
In order to avoid that the communication board continuously charges the product when the communication board is not taken away from the test position after the product test is completed, the test equipment can perform power-off processing on the product after the product test is completed.
Further, in an embodiment, after the step of testing the new product based on the communication connection in the step S30, the method further includes:
step S60, when the test result is that the test is passed after the new product is tested, outputting first indication information for indicating that the test is passed;
in order to facilitate the testers to know the test result, the test equipment can output corresponding indication information according to the test result after the new product is tested. When the test result is that the test is passed, the test equipment can output first indication information, and the first indication information is used for indicating that the product of the tester passes the test. The specific output form of the first indication information may be set as required, and is not limited in this embodiment, for example, the test may be indicated by the indicator light turning on green.
And step S70, outputting second indication information for indicating the test failure when the test result is the test failure after the new product is tested.
When the test result is that the test fails, the test equipment can output second indication information, and the second indication information is used for indicating that the product test of the tester fails. The specific output form of the second indication information may be set as required, and is not limited in this embodiment, for example, the red light may be turned on to indicate that the test fails.
Further, in an embodiment, the product testing method further comprises:
and step S80, stopping outputting the first indication information or the second indication information after detecting that the new product is taken away from the test position.
After the new product is tested, before the new product is not taken away from the testing position, the testing equipment outputs the first indication information or the second indication information according to the testing result, and when the new product is detected to be taken away from the testing position, the testing equipment stops outputting the first indication information or the second indication information.
Further, in an embodiment, an Atlas framework-based test program may be installed in the test device, where the test program includes a script for initializing a connection between the product and the communication board, a script for establishing a connection between the product and the communication board, a script for powering off the product, and a script for generating a virtual serial port. The script for initializing the connection of the product and the communication board is used for clearing the communication information cached in the communication board, resetting all related connections and preventing interference of next test. And the script for establishing the connection between the product and the communication board is used for judging whether the product is put on the testing position or not through the keywords. The script of product outage prevents to continue to charge for the product after the product test is finished. The script for generating the virtual serial port is used for generating the virtual serial port and is connected with the product through the virtual serial port for communication.
During testing, a test program in the test equipment is opened, whether a test product is placed or not is always detected through a script for establishing connection between the product and the communication board, when the test product is placed, the test is started, and when the test is finished, an indicator lamp prompts that the test is passed or failed. After the test is finished, whether a test product is placed or not is detected through the script for establishing connection between the product and the communication board, when the fact that the product is taken away is detected, the indicating lamp is turned off, whether a new product is placed or not is continuously detected, and the next test is executed after the fact that the product is placed is detected.
In addition, an embodiment of the present invention further provides an automatic product testing apparatus, where the automatic product testing apparatus is applied to a testing device, the testing device is connected to a communication board, and referring to fig. 3, the automatic product testing apparatus includes:
the first detection module 10 is configured to detect whether a product is taken away from a test position corresponding to the communication board every time a product placed at the test position is tested;
a second detecting module 20, configured to detect whether a new product is placed at the testing location after the product is detected to be removed from the testing location;
the testing module 30 is configured to generate a virtual serial port corresponding to the communication board when it is detected that a new product is placed at the testing position, establish a communication connection with the new product through the virtual serial port, and test the new product based on the communication connection.
Further, the first detection module 10 is further configured to:
detecting whether a physical connection exists between a product and the communication board;
if physical connection between the product and the communication board is detected, determining that the product is not taken away from the testing position;
and if the physical connection between the product and the communication board is not detected, determining that the product is taken away from the testing position.
Further, the second detecting module 20 is further configured to:
detecting whether a physical connection exists between a product and the communication board;
if physical connection between the product and the communication board is detected, determining that a new product is placed at the testing position;
and if the physical connection between the product and the communication board is not detected, determining that no new product is put on the testing position.
Further, the automatic product testing device further comprises:
and the clearing module is used for clearing the communication information cached in the communication board after the new product is tested.
Further, the automatic product testing device further comprises:
and the power-off module is used for performing power-off processing on the new product after the new product is tested.
Further, the automatic product testing device further comprises:
the first output module is used for outputting first indication information for indicating that the test is passed when the test result is that the test is passed after the new product is tested;
and the second output module is used for outputting second indication information for indicating the test failure when the test result is the test failure after the new product is tested.
Further, the automatic product testing device further comprises:
and the stopping module is used for stopping outputting the first indication information or the second indication information after detecting that the new product is taken away from the testing position.
For each embodiment of the automatic testing device of the product of the present invention, reference may be made to each embodiment of the automatic testing method of the product of the present invention, and details are not repeated here.
In addition, an embodiment of the present invention further provides a computer-readable storage medium, where a product automatic test program is stored on the storage medium, and when the product automatic test program is executed by a processor, the steps of the product automatic test method are implemented as follows.
The embodiments of the automatic test equipment and the computer-readable storage medium of the invention can refer to the embodiments of the automatic test method of the invention, and are not described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising a … …" does not exclude the presence of another identical element in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the description of the foregoing embodiments, it is clear to those skilled in the art that the method of the foregoing embodiments may be implemented by software plus a necessary general hardware platform, and certainly may also be implemented by hardware, but in many cases, the former is a better implementation. Based on such understanding, the technical solutions of the present invention or portions thereof contributing to the prior art may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. An automatic product testing method is applied to testing equipment, the testing equipment is connected with a communication board, and the automatic product testing method comprises the following steps:
detecting whether the product is taken away from the testing position or not after the product placed at the testing position corresponding to the communication board is tested;
when detecting that the product is taken away from the testing position, detecting whether a new product is put on the testing position;
and when detecting that the new product is placed at the testing position, generating a virtual serial port corresponding to the communication board, establishing communication connection with the new product through the virtual serial port, and testing the new product based on the communication connection.
2. The method for automated testing of products according to claim 1, wherein the step of detecting whether a product is removed from the test location comprises:
detecting whether a physical connection exists between a product and the communication board;
if physical connection between the product and the communication board is detected, determining that the product is not taken away from the testing position;
and if the physical connection between the product and the communication board is not detected, determining that the product is taken away from the testing position.
3. The method for automatically testing products according to claim 1, wherein said step of detecting whether a new product is placed at said test location comprises:
detecting whether a physical connection exists between a product and the communication board;
if physical connection between the product and the communication board is detected, determining that a new product is placed at the testing position;
and if the physical connection between the product and the communication board is not detected, determining that no new product is put on the testing position.
4. The method for automatically testing products according to claim 1, wherein after the step of testing a new product based on the communication connection, further comprising:
and after the new product is tested, clearing the communication information cached in the communication board.
5. The method for automatically testing products according to claim 1, wherein after the step of testing a new product based on the communication connection, further comprising:
and after the new product is tested, performing power-off processing on the new product.
6. The method for automatically testing products according to any of claims 1 to 5, wherein after the step of testing a new product based on the communication connection, further comprising:
when the test result is that the test is passed after the new product is tested, outputting first indication information for indicating that the test is passed;
and when the test result is test failure after the new product is tested, outputting second indication information for indicating the test failure.
7. The method for automated testing of a product of claim 6, the method further comprising:
and stopping outputting the first indication information or the second indication information when the new product is detected to be taken away from the testing position.
8. An automatic product testing device, characterized in that, the automatic product testing device is applied to a testing device, the testing device is connected with a communication board, the automatic product testing device includes:
the first detection module is used for detecting whether a product is taken away from the test position or not after the product placed at the test position corresponding to the communication board is tested;
the second detection module is used for detecting whether a new product is put on the test position or not after the product is detected to be taken away from the test position;
and the testing module is used for generating a virtual serial port corresponding to the communication board when a new product is detected to be placed at the testing position, establishing communication connection with the new product through the virtual serial port, and testing the new product based on the communication connection.
9. An automatic product testing apparatus, comprising: memory, a processor and a product automatic test program stored on the memory and executable on the processor, which when executed by the processor implements the steps of the product automatic test method according to any one of claims 1 to 7.
10. A computer-readable storage medium, having stored thereon a product automatic test program which, when executed by a processor, implements the steps of the product automatic test method according to any one of claims 1 to 7.
CN202211058224.9A 2022-08-30 2022-08-30 Automatic product testing method, device, equipment and computer readable storage medium Pending CN115426286A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211058224.9A CN115426286A (en) 2022-08-30 2022-08-30 Automatic product testing method, device, equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211058224.9A CN115426286A (en) 2022-08-30 2022-08-30 Automatic product testing method, device, equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN115426286A true CN115426286A (en) 2022-12-02

Family

ID=84201305

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211058224.9A Pending CN115426286A (en) 2022-08-30 2022-08-30 Automatic product testing method, device, equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN115426286A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101789889A (en) * 2010-01-14 2010-07-28 瑞斯康达科技发展股份有限公司 Method and system for automatic testing communication equipment
CN101917305A (en) * 2010-08-20 2010-12-15 迈普通信技术股份有限公司 Method for automatically checking topology in automatic test and automatic test system
US20150278075A1 (en) * 2014-03-26 2015-10-01 Mckesson Financial Holdings Apparatuses, methods, and computer program products for conducting automated tests
CN108021503A (en) * 2017-11-27 2018-05-11 万兴科技股份有限公司 The method, apparatus and computer-readable storage medium of automated function test
CN112491653A (en) * 2020-11-18 2021-03-12 马鞍山因特莱信息科技有限公司 Automatic test system and test method for communication equipment
WO2021109049A1 (en) * 2019-12-05 2021-06-10 惠州光弘科技股份有限公司 Pcba intelligent automatic test method and system
CN114860613A (en) * 2022-05-31 2022-08-05 京东方科技集团股份有限公司 Automatic testing method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101789889A (en) * 2010-01-14 2010-07-28 瑞斯康达科技发展股份有限公司 Method and system for automatic testing communication equipment
CN101917305A (en) * 2010-08-20 2010-12-15 迈普通信技术股份有限公司 Method for automatically checking topology in automatic test and automatic test system
US20150278075A1 (en) * 2014-03-26 2015-10-01 Mckesson Financial Holdings Apparatuses, methods, and computer program products for conducting automated tests
CN108021503A (en) * 2017-11-27 2018-05-11 万兴科技股份有限公司 The method, apparatus and computer-readable storage medium of automated function test
WO2021109049A1 (en) * 2019-12-05 2021-06-10 惠州光弘科技股份有限公司 Pcba intelligent automatic test method and system
CN112491653A (en) * 2020-11-18 2021-03-12 马鞍山因特莱信息科技有限公司 Automatic test system and test method for communication equipment
CN114860613A (en) * 2022-05-31 2022-08-05 京东方科技集团股份有限公司 Automatic testing method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
周林霞;: "自动化检测EPU10A板卡系统设计与实现", 电子技术与软件工程, no. 11, 8 June 2018 (2018-06-08), pages 56 - 57 *

Similar Documents

Publication Publication Date Title
CN105302722B (en) CTS automatic testing method and device
CN109901881B (en) Plug-in loading method and device of application program, computer equipment and storage medium
CN110990269A (en) Interface testing method, device and system
CN111475390A (en) Log collection system deployment method, device, equipment and storage medium
CN113485918B (en) Test method, test device, electronic equipment and storage medium
CN110968508B (en) Method, device, terminal and storage medium for determining loading time of applet
CN110569194A (en) interface testing method and device, electronic equipment and storage medium
CN112732499A (en) Test method and device based on micro-service architecture and computer system
CN114168471A (en) Test method, test device, electronic equipment and storage medium
CN104809054A (en) Method and system for realizing program testing
CN113849356A (en) Equipment testing method and device, electronic equipment and storage medium
CN111026651B (en) Test method, device, storage medium and electronic equipment
CN106302011B (en) Multi-terminal-based test method and terminal
CN115426286A (en) Automatic product testing method, device, equipment and computer readable storage medium
CN111104331A (en) Software management method, terminal device and computer-readable storage medium
CN112583660B (en) Main domain and standby domain test comparison method, device and system of recommendation platform
CN110874143B (en) Sensor data acquisition method, intelligent terminal, storage medium and electronic equipment
CN109739752B (en) Built-in resource testing method and device, electronic equipment and readable storage medium
CN112115057A (en) Automatic test method, device and equipment for application program page building process
CN113010422A (en) Mirror image file testing method and device, electronic equipment and readable storage medium
CN112965896A (en) Test environment fault detection method and device based on dynamic byte codes
CN110647433A (en) Function self-checking method and device and computer readable storage medium
CN111708684B (en) Recording method and device for page access and computer system
CN117192343B (en) Chip testing method based on auxiliary system, electronic equipment and medium
CN114564230B (en) One-key uploading realization method and device of hong Monte-go system, electronic equipment and medium

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