CN111831495A - Production automation test method and system - Google Patents

Production automation test method and system Download PDF

Info

Publication number
CN111831495A
CN111831495A CN202010580026.3A CN202010580026A CN111831495A CN 111831495 A CN111831495 A CN 111831495A CN 202010580026 A CN202010580026 A CN 202010580026A CN 111831495 A CN111831495 A CN 111831495A
Authority
CN
China
Prior art keywords
test
host
production automation
rack
item
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
CN202010580026.3A
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.)
Huizhou Boshijie Technology Co ltd
Original Assignee
Huizhou Boshijie Technology 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 Huizhou Boshijie Technology Co ltd filed Critical Huizhou Boshijie Technology Co ltd
Priority to CN202010580026.3A priority Critical patent/CN111831495A/en
Publication of CN111831495A publication Critical patent/CN111831495A/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/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
    • 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/2273Test methods

Abstract

The application relates to a production automation test method and a system, wherein the production automation test method comprises the following steps: determining that a test host to be tested is in a synchronous state; sequentially performing at least two test items, performing the next test item when the detection result is normal, and directly displaying the test item with abnormality by the test frame when the detection result is abnormal; the test frame displays the test completion information, controls the test host to restart and writes in the test normal information. The test items can be automatically completed item by item without a PC or a central control platform, the test rack directly displays the abnormal test items once errors occur, the test result can be directly obtained from the test rack without completely completing the test, and the test efficiency of obtaining good products is improved; and the test result is directly presented through the test frame, so that the test host with complicated design is avoided, the cost of the test host is saved, and the test host can not output test completion information or test reports due to function errors.

Description

Production automation test method and system
Technical Field
The application relates to the field of testing, in particular to a production automation testing method and system.
Background
Whether the produced electronic products are qualified or not is required to pass the test of wiring short circuit, module damage, welding short circuit, serial port short circuit and the like in the production process. The electronic product includes, but is not limited to, an IoT module, a security wind control module, a positioning module, a video module, and a vehicle-mounted terminal.
But different products, the test items are different; and the variety of products is various, so the test items are very different; the product is continuously researched, upgraded and updated along with the market change, and the test items need to be correspondingly changed, so that the automatic test is difficult to adapt to production and the product can be accurately tested. Therefore, in most cases, the manual individual operation is required, and the test is carried out item by item.
However, one test is operated manually and independently, so that on one hand, the labor is consumed, the production efficiency is not high, and on the other hand, the error rate of the test result is increased.
Chinese patent with publication number CN108920372A discloses an intelligent vehicle-mounted terminal software automatic test system based on serial ports, which comprises a PC, a test frame, serial port lines and an intelligent vehicle-mounted terminal to be tested; the PC is connected with the tested intelligent vehicle-mounted terminal through a serial port line, the PC is provided with a test frame, a control instruction is circularly sent to the tested intelligent vehicle-mounted terminal through a serial port, the tested intelligent vehicle-mounted terminal analyzes the received instruction to respond, a response result is sent to the test frame through the serial port, and the test frame reads and analyzes the response so as to judge whether the tested intelligent vehicle-mounted terminal makes a correct response to the instruction; the test framework is used for controlling the whole automatic test process, comprises a main control module, a parameter configuration module, a test script library, a test case set customization module, a log module and a result module, and realizes the automatic test of the software function of the tested intelligent vehicle-mounted terminal in a mode of circularly executing the test case set.
However, the test framework of the automatic test system for the intelligent vehicle-mounted terminal software is installed on a PC and must be controlled by the PC, and the test script reads and analyzes the response sent by the tested intelligent vehicle-mounted terminal through a serial port and automatically compares the response with the expected value designed by the tested intelligent vehicle-mounted terminal software, if the response is expected, the response of the tested intelligent vehicle-mounted terminal is correct, the test case passes, otherwise, the test case does not pass, and therefore, the test result can be obtained only after the test is completely finished.
Chinese patent publication No. CN108426604A proposes an automated test system for a vehicle-mounted terminal, the system including: computers and onboard systems; the computer is used for sending a test command to the vehicle-mounted system for a user, the vehicle-mounted system comprises a central control platform and a plurality of vehicle-mounted terminals connected to the central control platform, and the central control platform is used for executing corresponding operation and detection on the vehicle-mounted terminals according to the test command and feeding back detection results to the computer. The system can be operated before the computer, and can carry out comprehensive test on the equipment only by sending the test command through the computer, so that the labor cost and the time cost are saved, and the test accuracy is high. Meanwhile, the invention also provides an automatic testing method of the vehicle-mounted terminal.
However, in the automatic test system, the central control platform of the computer-controlled vehicle-mounted system tests each vehicle-mounted terminal connected to the central control platform, and the central control platform must be connected to connect each vehicle-mounted terminal through the central control platform.
Chinese patent publication No. CN106649072A discloses a method for testing and accepting software on a vehicle-mounted terminal, which includes the steps of: installing one or more pieces of software in a vehicle-mounted terminal operating system of a vehicle-mounted terminal; the vehicle-mounted terminal receives the test file; the vehicle-mounted terminal receives the driving command and then drives the test file, so that a test component of the vehicle-mounted terminal operating system tests software on the vehicle-mounted terminal according to the test file; generating a test report by the vehicle-mounted terminal; the test file comprises a plurality of test cases generated according to the characteristic functions of the vehicle-mounted terminal. The method for testing and accepting the software on the vehicle-mounted terminal can intelligently and automatically test the reliability and stability of the software on the vehicle-mounted terminal in the operation of the vehicle-mounted terminal.
However, the test acceptance method is to generate a test report by the vehicle-mounted terminal, and many small terminals obviously lack the capability of generating the test report without the need of generating the test report.
Disclosure of Invention
In view of the above, there is a need for a production automation testing method and system.
A production automation test method, comprising the steps of:
the test frame receives a synchronous instruction of the test host and determines that the test host to be tested is in a synchronous state;
sequentially performing at least two test items, wherein in each test item, the test frame sends a test instruction to the test host and receives a detection result of the test host, when the detection result is normal, the next test item is performed, and when the detection result is abnormal, the test frame directly displays the abnormal test item;
and when the detection results of all the test items are normal, the test frame displays the test completion information, and controls the test host to restart and write in the test normal information.
According to the production automation test method, a PC or a central control platform is not needed, the test items can be automatically completed item by item, the test rack directly displays the abnormal test items once errors occur, the test result can be directly obtained from the test rack without completely completing the test, and the test efficiency of obtaining good products is improved; and the test result is directly presented through the test frame, so that the test host with complicated design is avoided, the cost of the test host is saved, and the test host can not output test completion information or test reports due to function errors.
In one embodiment, when the detection results of all the test items are normal, the test rack displays the test completion information, controls the test host to restart, and writes the shipment program as the test normal information.
In one embodiment, when the detection result is abnormal, the detection result and its error information are also stored.
In one embodiment, in each test item, if the test rack does not receive the test result of the test host after timeout, it is determined that the test result is abnormal.
In one embodiment, in each test item, the test rack sends a preset number of test instructions to the test host.
In one embodiment, before determining that the test host to be tested is in the synchronization state, the production automation test method further includes: and directly connecting the test rack with at least one test host.
In one embodiment, the test rack is directly connected to at least one port of the test host.
In one embodiment, before the test rack is connected to at least one test host, the production automation test method further includes: presetting a communication protocol, wherein the communication protocol comprises all test items and communication modes.
In one embodiment, the test rack tests at least two test hosts respectively in the same time period.
A production automation test system comprises a test frame and at least one test host, and is realized by adopting any production automation test method.
Drawings
Fig. 1 is a schematic flow chart of an embodiment of the production automation test method of the present application.
Fig. 2 is a schematic flow chart of an embodiment of the production automation test method of the present application.
Fig. 3 and fig. 4 are partial schematic flow diagrams of another embodiment of the production automation test method according to the present application.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, embodiments accompanying the present application are described in detail below with reference to the accompanying drawings. In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present application. This application is capable of embodiments in many different forms than those described herein and that modifications may be made by one skilled in the art without departing from the spirit and scope of the application and it is therefore not intended to be limited to the specific embodiments disclosed below.
It will be understood that when an element is referred to as being "secured to" or "disposed on" another element, it can be directly on the other element or intervening elements may also be present. When an element is referred to as being "connected" to another element, it can be directly connected to the other element or intervening elements may also be present. The terms "vertical," "horizontal," "left," "right," and the like as used herein are for illustrative purposes only and do not represent the only embodiments.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein in the description of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
In one embodiment of the present application, as shown in fig. 1, a production automation test method includes the steps of: the test frame receives a synchronous instruction of the test host and determines that the test host to be tested is in a synchronous state; sequentially performing at least two test items, wherein in each test item, the test frame sends a test instruction to the test host and receives a detection result of the test host, when the detection result is normal, the next test item is performed, and when the detection result is abnormal, the test frame directly displays the abnormal test item; and when the detection results of all the test items are normal, the test frame displays the test completion information, and controls the test host to restart and write in the test normal information. According to the production automation test method, a PC or a central control platform is not needed, the test items can be automatically completed item by item, the test rack directly displays the abnormal test items once errors occur, the test result can be directly obtained from the test rack without completely completing the test, and the test efficiency of obtaining good products is improved; and the test result is directly presented through the test frame, so that the test host with complicated design is avoided, the cost of the test host is saved, and the test host can not output test completion information or test reports due to function errors.
In one embodiment, a production automation test method comprises some or all of the following steps; that is, the production automation test method includes some or all of the following technical features. Further, in one embodiment, the production automation test method only involves the test rack communicating with the test host. Due to the design, a minimized test environment is provided, and third-party interference is effectively avoided.
In one embodiment, the test rack receives a synchronous instruction of the test host and determines that the test host to be tested is in a synchronous state; the design of the synchronization command is advantageous to ensure that the test host can be tested, i.e., prepared to perform each test item. Further, in one embodiment, the test rack sends a power-on signal to the test host, and receives a synchronization instruction of the test host within a first preset time period, so as to determine that the test host to be tested is in a synchronization state; in one embodiment, if the synchronous instruction of the test host is not received within the first preset time period, it is determined that the test host to be tested is not in a synchronous state, and it is determined that the detection result is abnormal. In one embodiment, when the detection result is abnormal, the detection result and its error information are also stored. In one embodiment, the detection result includes an identifier of the test host, and the error information includes an identifier of a test item in which an exception occurs. Further, in one embodiment, the test rack sends a power-on signal to the test host, the test host feeds a synchronization instruction back to the test rack after power-on is successful, and the test rack receives the synchronization instruction and determines that the test host to be tested is in a synchronization state; in one embodiment, the test rack sends a synchronization signal to the test host, the test host feeds back a synchronization instruction to the test rack, and the test rack receives the synchronization instruction to determine that the test host to be tested is in a synchronization state. The design is favorable for the test frame to test under the condition of ensuring the normal state of the test host. The problem that the good product is mistaken for a defective product due to the fact that the test frame starts to test already because the test host is not prepared is avoided.
In one embodiment, before determining that the test host to be tested is in the synchronization state, the production automation test method further includes: and directly connecting the test rack with at least one test host. In one embodiment, the test rack is directly connected to at least one port of the test host. When a plurality of test hosts exist, the test frame can be connected with one test host at a time, and can also be respectively connected with a plurality of test hosts. The test frame is connected with a test host, and can be directly connected with a serial port of the test host or directly connected with at least two serial ports of the test host. The test frame is directly connected with the test host through the serial port, so that the complexity of a test system is reduced, the influence of interference of other parts on the detection effect of the test host is avoided, and the good product is mistaken for a defective product.
In one embodiment, before the test rack is connected to at least one test host, the production automation test method further includes: presetting a communication protocol, wherein the communication protocol comprises all test items and communication modes. In one embodiment, a production automation test method includes the steps of: presetting a communication protocol, wherein the communication protocol comprises all test items and communication modes; directly connecting the test frame with at least one test host; the test frame receives a synchronous instruction of the test host and determines that the test host to be tested is in a synchronous state; sequentially performing at least two test items, wherein in each test item, the test frame sends a test instruction to the test host and receives a detection result of the test host, when the detection result is normal, the next test item is performed, and when the detection result is abnormal, the test frame directly displays the abnormal test item; and when the detection results of all the test items are normal, the test frame displays the test completion information, and controls the test host to restart and write in the test normal information. In one embodiment, as shown in FIG. 2, a production automation test method includes the steps of: presetting a communication protocol, wherein the communication protocol comprises all test items and communication modes; directly connecting the test frame with at least one serial port of a test host; the test frame receives a synchronous instruction of the test host and determines that the test host to be tested is in a synchronous state; sequentially performing at least two test items, wherein in each test item, the test frame sends a test instruction to the test host and receives a detection result of the test host, when the detection result is normal, the next test item is performed, and when the detection result is abnormal, the test frame directly displays the abnormal test item; and when the detection results of all the test items are normal, the test frame displays test completion information, and controls the test host to restart and write the shipment program as the test normal information. The rest of the embodiments are analogized and are not described in detail. Further, in one embodiment, the communication means includes a semaphore and a status bit thereof. The design is favorable for dealing with various products or different versions of the products, and respectively defines a specific communication protocol or a communication mode thereof, so that the universality and the applicability of the production automation test method are greatly improved, and the production automation test method is favorable for being universal to various electronic products of different types, is favorable for being suitable for multiple versions of the same product, and is favorable for being suitable for different test requirements of the same product. Further, in one embodiment, a test host is respectively connected to at least two test racks through at least two serial ports, each test rack is connected to the test host through a corresponding serial port, and the test host is sequentially tested on at least two test items respectively on the premise that signals or test items are not interfered with each other, so as to confirm the capability of the test host to simultaneously execute a plurality of test items, for example, the car machine system simultaneously runs music, navigation and other functions.
In one embodiment, a related communication protocol is added between the test product and the test rack, and the test is performed according to a set fixed test flow. Further, in one embodiment, the communication protocol is a serial communication protocol. In one embodiment, a self-defined serial port communication protocol is added, a power supply, IO port semaphore, a serial port and the like of the test host are connected to the test rack in a wired mode, and the test host and the test rack negotiate all test items through serial port communication. The design is beneficial to controlling the power supply condition of the test host machine through the test frame. In one embodiment, the test rack is provided with a test program module for executing a test program, and the test program is used for realizing the test of all functions of the test host. Further, in one embodiment, the test rack is powered on to determine whether to upgrade the communication protocol, and if so, the communication protocol is upgraded, otherwise, the communication protocol does not need to be upgraded. Further, in one embodiment, the test rack is powered up; the test jig acquires the version number of the communication protocol; the test rack determines whether to upgrade the communication protocol according to the version number, if so, the communication protocol is upgraded, otherwise, the communication protocol does not need to be upgraded; the test frame is directly connected with at least one serial port of at least one test host; the test frame sends a power-on signal to the test host; the test frame judges whether the synchronous instruction of the test host is normally received or not, otherwise, the synchronous exception is judged, and the test frame directly displays the test item with exception; if yes, determining that the test host to be tested is in a synchronous state; sequentially performing at least two test items, wherein in each test item, the test frame sends a test instruction to the test host and receives a detection result of the test host, when the detection result is normal, the next test item is performed, and when the detection result is abnormal, the test frame directly displays the abnormal test item; and when the detection results of all the test items are normal, the test frame displays the test completion information, and controls the test host to restart and write in the test normal information. The design is beneficial to matching with a communication protocol to realize automatic tests of various different test hosts, and further matching with an industrial robot can realize the full-automatic test effect of an unmanned factory, which cannot be realized by the traditional test mode.
In one embodiment, at least two test items are sequentially performed, in each test item, the test frame sends a test instruction to the test host and receives a detection result of the test host, a next test item is performed when the detection result is normal, and the test frame directly displays the test item with the abnormality when the detection result is abnormal; further, in one embodiment, when the detection result is abnormal, the test rack also notifies the target terminal. Further, in one embodiment, at least two test items and their test sequences form a test set, and the test rack performs the test set on the test host, that is, performs at least two test items in sequence according to the test items and their test sequences of the test set. Further, in one embodiment, the test rack performs the test set on at least two of the test hosts. In one embodiment, the test rack performs the test set synchronously or asynchronously with respect to at least two of the test hosts. According to the design, a PC (personal computer) or a central control platform is not needed, one testing frame can simultaneously test a plurality of testing hosts, testing items can be automatically completed item by item, the testing frame directly displays the abnormal testing items once errors occur, testing results can be directly obtained from the testing frame without completely completing the testing, and the testing efficiency of obtaining good products is improved.
Further, in one embodiment, when the test rack directly displays the abnormal test item, an error report is generated for the current test host, where the error report includes a test host identifier, a test item identifier, and an error identifier. Further, in one embodiment, the test rack further sends the error report to a preset target terminal. The design is beneficial to the management personnel to quickly maintain and process the test host with errors. In one embodiment, in each test item, if the test rack does not receive the test result of the test host after timeout, it is determined that the test result is abnormal. Further, in one embodiment, the time-out determines the same or different settings for different test items. By the design, on one hand, the waste of test resources is avoided after waiting for too long; on the other hand, the method is beneficial to flexibly designing overtime indexes according to test items; and the test result is directly presented through the test frame, so that the test host with complicated design is avoided, the cost of the test host is saved, and the test host can not output test completion information or test reports due to function errors.
Further, in one embodiment, at least two test items are sequentially performed on the same test host; further, in one embodiment, the test rack tests at least two test hosts respectively in the same time period. That is, the same test rack can test a plurality of test hosts at the same time. Further, in one embodiment, the test rack performs tests on different test items on at least two test hosts respectively in the same time period. By the design, one test frame can test different test items of a plurality of test hosts at the same time, and the test efficiency is improved.
In one embodiment, when the detection results of all the test items are normal, the test frame displays the test completion information, controls the test host to restart, and writes the test normal information. Further, in one embodiment, the test normal information includes a test completion time and a test rack identifier; the test jig identification is used for identifying the test jig. By the design, when a plurality of test hosts marked as good products have subsequent problems, the test hosts are beneficial to determining whether the test rack has errors. Further, in one embodiment, the test normal information includes a test completion time, a test rack identifier, and a test set identifier, where the test set identifier is used to identify a test set, and the test set includes at least two test items and a test sequence thereof. In one embodiment, when the detection results of all the test items are normal, the test rack displays the test completion information, controls the test host to restart, and writes the shipment program as the test normal information.
In one embodiment, in each test item, the test rack sends a preset number of test instructions to the test host. That is, when a test item is performed on a test host, the test rack sends one, two or more test commands to the test host. Further, in one embodiment, the predetermined number of test instructions is set to be the same or different for different test items. The design is beneficial to giving the test host machine two or more times of test opportunities to the same test item, and avoiding the error operation of the good product.
It should be noted that the test mainframe and the test rack are two different devices. In one embodiment, the test rack is used for powering on the test host by pressing a power key after the test rack and the test host are wired. And after the test host is successfully initialized, sending a synchronization instruction to the test rack, and after receiving the synchronization instruction, starting sending the test item by the test rack. And stopping testing if the testing is wrong in the testing process until the testing is finished, and displaying the testing error on a screen of the testing frame. And detecting that the test error is a defective product. Compared with the conventional manual test, the efficiency is higher. The test result is more reliable. In one embodiment of the present invention, the product to be tested, i.e. the test host, performs a sub-routine of a program, and a serial port in the test host is connected to another test rack as data communication. All external lines of the product to be tested are connected into the test rack and tested according to the set test flow. If an item is to be tested for normality. The test frame sends an instruction first, the test product starts to detect whether the test product is normal or not after receiving the instruction, if the test product is normal, a success mark is returned, and if the test product is abnormal, the test fails and the test is stopped. Such as: testing a trigger external to one of the IO ports of the product. Firstly, the test rack sends an instruction to require the test product to detect the high-low trigger of which IO port. And then, the high and low levels are output according to the high and low triggers of the IO port to be detected. And testing whether the IO port can detect the trigger state and returning a result. And automatically programming to a shipment program after the product is tested to be qualified.
In one embodiment, as shown in fig. 3 and 4, the production automation test method includes the following steps: the test frame is started, the test frame presses a key to control the test host to be powered on, the test host is initialized and synchronizes commands, the test host sends synchronization instructions, the test frame is synchronized, if synchronization fails, a test error result is stored in the test frame SD card, and a test error item is displayed by a screen of the test frame; if the synchronization is successful, a first test is carried out, a semaphore test instruction is sent to the test host for detection, the test host returns a detection result, whether the detection is successful or not is judged according to the detection result, if the detection is failed, a test error result is stored in the test rack SD card, and a test error item is displayed on a screen of the test rack; if the test is successful, the next test, namely the second test is carried out, the upgrading shipment program is sent to the instruction Flash, the test host upgrades the shipment program, the detection result is returned, whether the detection is successful or not is judged according to the detection result, if the detection is failed, the test error result is stored in the test rack SD card, and the test error item is displayed by the test rack screen; if the test is successful, the next test, namely the third test is carried out, a host online test instruction is sent, the test host is online, a detection result is returned, whether the test is successful or not is judged according to the detection result, if the test is failed, a test error result is stored in the test rack SD card, and a test error item is displayed on a screen of the test rack; if the test is successful, the next test, namely the fourth test is carried out, the configuration file is downloaded, for example, the configuration file comprises default parameters of the test host, the test host downloads the parameters, the detection result is returned, whether the detection is successful or not is judged according to the detection result, if the detection is failed, the test error result is stored in the test rack SD card, and the test error item is displayed by the test rack screen; if the test is successful, the next test, namely the fifth test, is carried out, the backup battery test is positioned, the test host machine positions the backup battery test, the detection result is returned, whether the detection is successful or not is judged according to the detection result, if the detection is failed, the test error result is stored in the test rack SD card, and the test error item is displayed by the screen of the test rack; if the test is successful, the next test is carried out, and the like, until the Nth test is carried out, the test host returns a detection result after detection, whether the detection is successful or not is judged according to the detection result, if the detection is failed, a test error result is stored in the test frame SD card, and a test error item is displayed on a screen of the test frame; if the test is successful, the screen display of the test frame displays that the test is finished, and the test host restarts the programming delivery program. The rest of the embodiments are analogized and are not described in detail. It should be noted that fig. 3 and 4 collectively illustrate the above embodiments, where a and B only illustrate the consecutive steps, but not the actual steps. In one embodiment, if the test result is not received after the timeout, the test is regarded as failed, the test error result is stored in the test rack SD card, and the test error item is displayed by the test rack screen. In one embodiment, each test item further includes a test for making and receiving a call from the host computer, a test for positioning, a test for printing by the host computer, a test for playing audio, a test for playing video, a test for recording audio, and the like. Further, in one embodiment, if the test rack does not receive the synchronization command of the test host after timeout, it is determined that the synchronization fails; for example, if the synchronization command of the test host is not received within 1 minute of time out, the synchronization is determined to fail. Further, in one embodiment, the test items include semaphore tests. Further, in one embodiment, the test items are semaphore test items. In one embodiment, the signal quantity test item is used for carrying out signal quantity test, and the signal quantity test comprises at least one test of an IO port, a G-sensor, a CAN, a memory, a serial port voltage, an ADC, an IC card, a USB flash disk and a serial port. In one embodiment, each test item sends 10 instructions, and if the test result is not received in time, the test item is determined to fail. For example, the second test sends 10 instructions, and if no detection result is received after time out, the host upgrading shipment program is judged to fail. The rest of the embodiments are analogized and are not described in detail.
In one embodiment, the production automation test system comprises a test rack and at least one test host, and is implemented by using the production automation test method in any embodiment. In one embodiment, the production automation test system comprises at least two test racks and at least one test host. In one embodiment, the production automation test system comprises at least two test racks and at least two test hosts. In one embodiment, the production automation test system comprises at least two test racks, and each test rack is connected with at least two test hosts. By the design, automatic testing is realized; and the functions of automatic connection, automatic packaging and the like can be further realized by matching with an industrial robot.
It should be noted that other embodiments of the present application further include a production automation testing method and system formed by combining technical features of the above embodiments with each other.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the claims. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present application shall be subject to the appended claims.

Claims (10)

1. A production automation test method is characterized by comprising the following steps:
the test frame receives a synchronous instruction of the test host and determines that the test host to be tested is in a synchronous state;
sequentially performing at least two test items, wherein in each test item, the test frame sends a test instruction to the test host and receives a detection result of the test host, when the detection result is normal, the next test item is performed, and when the detection result is abnormal, the test frame directly displays the abnormal test item;
and when the detection results of all the test items are normal, the test frame displays the test completion information, and controls the test host to restart and write in the test normal information.
2. The production automation test method of claim 1, wherein when the test results of all the test items are normal, the test rack displays the test completion information, controls the test host to restart and writes the shipment program as the test normal information.
3. The production automation test method of claim 1, wherein when the detection result is abnormal, the detection result and its error information are also stored.
4. The production automation test method of claim 1, wherein in each test item, when the test rack does not receive the test result of the test host after time out, the test result is determined to be abnormal.
5. The production automation test method of claim 1, wherein in each test item, the test rack sends a preset number of test instructions to the test host.
6. The production automation test method of any one of claims 1 to 5, wherein before determining that the test host to be tested is in a synchronized state, the production automation test method further comprises: and directly connecting the test rack with at least one test host.
7. The production automation test method of claim 6 wherein the test rack is directly connected to at least one port of the test mainframe.
8. The production automation test method of claim 7, wherein prior to connecting the test rack to the at least one test mainframe, the production automation test method further comprises: presetting a communication protocol, wherein the communication protocol comprises all test items and communication modes.
9. The production automation test method of claim 8 wherein the test rack tests at least two of the test hosts at the same time period.
10. A production automation test system, which is characterized by comprising a test rack and at least one test host, wherein the production automation test system is realized by adopting the production automation test method according to any one of claims 1 to 9.
CN202010580026.3A 2020-06-23 2020-06-23 Production automation test method and system Pending CN111831495A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010580026.3A CN111831495A (en) 2020-06-23 2020-06-23 Production automation test method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010580026.3A CN111831495A (en) 2020-06-23 2020-06-23 Production automation test method and system

Publications (1)

Publication Number Publication Date
CN111831495A true CN111831495A (en) 2020-10-27

Family

ID=72899374

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010580026.3A Pending CN111831495A (en) 2020-06-23 2020-06-23 Production automation test method and system

Country Status (1)

Country Link
CN (1) CN111831495A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112327812A (en) * 2020-11-18 2021-02-05 杭州电力设备制造有限公司 Multi-mode factory inspection method for intelligent monitor of switch cabinet
CN112527580A (en) * 2020-12-09 2021-03-19 深圳市锐驰曼科技发展有限公司 Vehicle-mounted terminal testing method, system, device and storage medium
CN113358949A (en) * 2021-04-13 2021-09-07 杭州涂鸦信息技术有限公司 Production tool testing method, production tool testing device and production tool testing system
CN114076889A (en) * 2021-11-18 2022-02-22 长江存储科技有限责任公司 Test system and test method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN205539367U (en) * 2016-04-05 2016-08-31 广州红象医疗科技有限公司 PCBA function automatic test system
WO2017000843A1 (en) * 2015-06-30 2017-01-05 中兴通讯股份有限公司 Automatic test method and device for board card
CN110324612A (en) * 2019-07-05 2019-10-11 深圳市康冠技术有限公司 Test method, testing and control terminal and the television set of television set
CN111143215A (en) * 2019-12-27 2020-05-12 南京英莫特信息科技有限公司 Automatic testing method for vehicle-mounted software

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017000843A1 (en) * 2015-06-30 2017-01-05 中兴通讯股份有限公司 Automatic test method and device for board card
CN205539367U (en) * 2016-04-05 2016-08-31 广州红象医疗科技有限公司 PCBA function automatic test system
CN110324612A (en) * 2019-07-05 2019-10-11 深圳市康冠技术有限公司 Test method, testing and control terminal and the television set of television set
CN111143215A (en) * 2019-12-27 2020-05-12 南京英莫特信息科技有限公司 Automatic testing method for vehicle-mounted software

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112327812A (en) * 2020-11-18 2021-02-05 杭州电力设备制造有限公司 Multi-mode factory inspection method for intelligent monitor of switch cabinet
CN112527580A (en) * 2020-12-09 2021-03-19 深圳市锐驰曼科技发展有限公司 Vehicle-mounted terminal testing method, system, device and storage medium
CN113358949A (en) * 2021-04-13 2021-09-07 杭州涂鸦信息技术有限公司 Production tool testing method, production tool testing device and production tool testing system
CN114076889A (en) * 2021-11-18 2022-02-22 长江存储科技有限责任公司 Test system and test method

Similar Documents

Publication Publication Date Title
CN111831495A (en) Production automation test method and system
CN102244591B (en) Client server and method for full process monitoring on function text of client server
US20060036907A1 (en) Area-and product-independent test automation system and method for automatically synchronizing tests of multiple devices
CN101853173A (en) Software upgrading method and device of programmable logic device of distributed system
US9690602B2 (en) Techniques for programming and verifying backplane controller chip firmware
CN111308934A (en) Power supply time sequence power-on monitoring circuit
CN111858197A (en) Device, system and method for supporting multiple SSD tests
US9886335B2 (en) Techniques for validating functionality of backplane controller chips
CN106227630B (en) Detection system for embedded wireless module
CN112559266A (en) Solid state disk testing method and device, readable storage medium and electronic equipment
CN104268041A (en) Automatic closed loop test method for frequent startup and shutdown of vehicle-mounted display
CN115480975A (en) Wiring checking method and device
CN113125938B (en) Aging test monitoring method and system
CN111896824B (en) Unattended reliability testing device and system
CN108418707B (en) Method for upgrading mutual online backup of double CPLDs in communication system and service veneer
CN116908751B (en) Test board for detecting peripheral interfaces of industrial system, detection system and method
CN216748731U (en) Detection circuit, interface link tooling plate and detection system
CN111143262A (en) Switching device, instrument control system and instrument control method
CN117250482B (en) PCBA testing method, system and device based on Bluetooth interaction
CN117632606A (en) Chip detection method and chip detection device
CN217181141U (en) Automatic hardware measuring tool
CN114610329B (en) Solid state disk deployment method and device, readable storage medium and electronic equipment
CN112557872B (en) Board card testing method and board card testing tool
CN116298801A (en) Chip testing device, method, electronic equipment and storage medium
CN117724962A (en) Vehicle remote upgrade test method, device and equipment

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