CN113358949A - Production tool testing method, production tool testing device and production tool testing system - Google Patents

Production tool testing method, production tool testing device and production tool testing system Download PDF

Info

Publication number
CN113358949A
CN113358949A CN202110410505.5A CN202110410505A CN113358949A CN 113358949 A CN113358949 A CN 113358949A CN 202110410505 A CN202110410505 A CN 202110410505A CN 113358949 A CN113358949 A CN 113358949A
Authority
CN
China
Prior art keywords
tested
module
production tool
test
production
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
CN202110410505.5A
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.)
Hangzhou Tuya Information Technology Co Ltd
Original Assignee
Hangzhou Tuya Information 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 Hangzhou Tuya Information Technology Co Ltd filed Critical Hangzhou Tuya Information Technology Co Ltd
Priority to CN202110410505.5A priority Critical patent/CN113358949A/en
Publication of CN113358949A publication Critical patent/CN113358949A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere

Abstract

The application discloses a test method, a test device and a test system for a production tool, wherein the test method for the production tool comprises the following steps: starting a production tool; starting a module to be tested by using a switch program, and calling a production tool to carry out production test on the module to be tested to obtain a test result; and judging whether the production tool meets the preset requirement or not by using the test result. Through the mode, the production tool can be tested efficiently and accurately.

Description

Production tool testing method, production tool testing device and production tool testing system
Technical Field
The application relates to the technical field of automation, in particular to a production tool testing method, a production tool testing device and a production tool testing system.
Background
Under the condition of version iteration, the conventional production tool needs to adopt an original manual testing method for the original integrated module and chip, or directly does not carry out regression testing, and cannot use the production tool to carry out automatic testing on the module and the chip to be tested; the former method adopts an original manual testing method, which consumes testing resources, has long time and high false testing rate and missing testing rate; the latter can cause the problem that the problem cannot be checked in time without carrying out regression test, and the production line of a factory is easy to stop; the existing automatic test method is only used for testing the module and the chip to be tested, cannot test the whole system including the production tool, and cannot test whether the production tool is qualified or not.
Disclosure of Invention
The application provides a production tool testing method, a production tool testing device and a production tool testing system, which can test production tools efficiently and accurately.
In order to solve the technical problem, the technical scheme adopted by the application is as follows: there is provided a method of testing a production tool, the method of testing the production tool comprising: starting a production tool; starting a module to be tested by using a switch program, and calling a production tool to carry out production test on the module to be tested to obtain a test result; and judging whether the production tool meets the preset requirement or not by using the test result.
In order to solve the above technical problem, another technical solution adopted by the present application is: the production tool testing device comprises a switch unit and a control unit which are connected with each other, wherein the control unit is used for starting a production tool; the switch unit is connected with the control unit and used for controlling the module to be tested to be started so that the production tool can carry out production test on the module to be tested to obtain a test result; and the test result is used for judging whether the production tool meets the preset requirement or not.
In order to solve the above technical problem, another technical solution adopted by the present application is: the production tool testing system comprises a production tool testing device and a controller which are connected with each other, wherein the controller is used for controlling a module to be tested to be started after receiving a control instruction sent by the production tool testing device, and the production tool testing device is the production tool testing device in the technical scheme.
Through the scheme, the beneficial effects of the application are that: starting the production tool, starting the module to be tested by using a switch program, carrying out production test on the started module to be tested by calling the production tool to obtain a detailed test result, and finally judging whether the production tool meets the preset requirement or not according to the test result so as to realize the test on the production tool; according to the method, manual participation is not needed, each module to be tested is tested directly through the production tool, a detailed test result of the whole test system comprising the production tool and the module to be tested can be obtained, and efficient and detailed testing of the production tool is achieved; meanwhile, a switch program is set to control the on/off of the modules to be tested, so that when one production tool tests a plurality of modules to be tested, the modules to be tested cannot interfere with each other, and the test result is more accurate and reliable.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts. Wherein:
FIG. 1 is a schematic flow chart diagram illustrating one embodiment of a method for testing a production tool provided herein;
FIG. 2 is a schematic flow chart diagram illustrating another embodiment of a method for testing a production tool provided herein;
FIG. 3 is a block diagram of a test using a production tool as provided herein;
FIG. 4 is a graphical representation of a portion of the test results provided herein;
FIG. 5 is a schematic diagram of an embodiment of a production tool testing apparatus provided herein;
FIG. 6 is a schematic diagram of an embodiment of a production tool testing system provided in the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Referring to fig. 1, fig. 1 is a schematic flow chart illustrating an embodiment of a method for testing a production tool provided in the present application, the method including:
step 11: the production tool is started.
During module production, the production tool is used to test the software/hardware aspects of the module, for example: the firmware version and firmware information are used to determine whether the module has a problem, and the testing method in this embodiment is used to test the production tool, which needs to be started first.
Step 12: and starting the module to be tested by using the switch program, and calling the production tool to carry out production test on the module to be tested to obtain a test result.
The switch program can be compiled and generated by C language or other programming languages and is used for controlling the on/off of the module to be tested, in a specific embodiment, the production tool and the switch program can be arranged at a computer end, and the module to be tested is started by utilizing the switch program, so that the production tool can carry out production test on the started module to be tested; it can be understood that the number of the modules to be tested can be one or more, and when the production tool is called to sequentially carry out production test on the modules to be tested, each module to be tested can be sequentially started according to the test sequence of the modules to be tested by using the switch program; for example, there are three to-be-tested modules A1-A3, the test sequence is: the method comprises the steps of firstly testing a module A1 to be tested, secondly testing the module A2 to be tested, and finally testing the module A3 to be tested, wherein a switch program firstly controls the module A1 to be tested to be started, and then controls the module A2 to be tested to be started after the module A1 to be tested is tested, and then controls the module A3 to be tested to be started after the module A2 to be tested is tested.
In one embodiment, the production tool may test each module under test through the test script, where the module under test is a module to be tested by the production tool, and each module under test may represent one type of module, for example: an internet module or a communication module, etc.; further, the test result may include the test result of the detailed test step of the production tool on each module to be tested and the state information of the respective software or hardware of each module to be tested, so that the problem investigation can be performed on the aspect of the production tool and the aspect of the software/hardware of the module to be tested according to the detailed test result; it will be appreciated that the test results may be displayed on the program interface in the form of data such as a table or document.
Step 13: and judging whether the production tool meets the preset requirement or not by using the test result.
By tracing the test result, whether the test step of the production tool has a problem can be judged, and when the test result shows that the test step of the production tool does not have any problem, the production tool meets the preset requirement, namely the production tool is qualified; in a specific embodiment, whether the production tool is qualified or not can be judged by calculating the qualification rate of the production tool testing step, at this time, a preset qualification rate can be set, when the qualification rate of the production tool testing step is greater than or equal to the preset qualification rate, the production tool meets the preset requirement, and when the qualification rate of the production tool testing step is less than the preset qualification rate, the production tool does not meet the preset requirement, and the production tool needs to be overhauled.
It can be understood that, when there is a problem in the testing step of the production tool on the module to be tested or in the software/hardware aspect of the module to be tested, the problem occurrence position can be located through the testing result so as to correct the problem.
In the embodiment, the production tool is started first, then the module to be tested is started by using the switch program, the production test is performed on the started module to be tested by calling the production tool to obtain a detailed test result, and finally whether the production tool meets the preset requirement or not can be judged according to the test result, so that the test on the production tool is realized; according to the embodiment, the production tool is not required to participate manually, and each module to be tested is tested directly by calling the production tool, so that the detailed test result of the whole test system comprising the production tool and the module to be tested is obtained, and the efficient and detailed test of the production tool is realized; meanwhile, a switch program is set to control the on/off of the modules to be tested, so that when one production tool is used for testing a plurality of modules to be tested, the modules to be tested cannot interfere with each other, and the test result is more accurate and reliable.
Referring to fig. 2, fig. 2 is a schematic flow chart of another embodiment of a method for testing a production tool provided in the present application, the method comprising:
step 21: the production tool is started.
When the production tool is started, the attribute parameters of the production tool need to be set, for example, the test environment is debugged, so that the test environment meets the test conditions required by the current production tool for performing production test on the module to be tested.
Step 22: and sending a control instruction to the controller by using the switch program so that the controller controls the module to be tested to be started based on the control instruction.
As shown in fig. 3, fig. 3 is a structural block diagram of the test performed by the production tool in this embodiment, in which a controller is provided, when a module to be tested is turned on/off, a switch program is first used to send a control instruction to the controller, and the controller turns on/off the corresponding module to be tested according to the control instruction, so as to implement on/off control of the module to be tested; taking the module to be tested 1 as an example, when the switch program sends a control instruction with content of 11, the controller turns on the module to be tested 1, and when the switch program sends a control instruction with content of 22, the controller turns off the module to be tested 1 and turns on the module to be tested 2; it will be appreciated that the controller may be a micro-control unit, such as: and a switch program can be connected with the single chip microcomputer through a corresponding serial port.
Step 23: and presetting a module information table, and calling a production tool based on the module information table by using a control script to sequentially perform production test on all modules to be tested.
The module information table can comprise information of the module to be tested and serial port information corresponding to the module to be tested, and the information of the module to be tested comprises parameter information such as the number or serial number of the module to be tested; the control script is used for calling a production tool to sequentially test each module to be tested according to the sequence of the modules to be tested stored in the module information table, taking the example that ten modules to be tested 1-10 are sequentially stored in the module information table, the control script firstly calls the production tool to perform production test on the module to be tested 1, then calls the production tool to perform production test on the module to be tested 2, and the like until the test on all the modules to be tested stored in the module information table is completed.
Further, when the production tool is called to sequentially carry out production test on each module to be tested, the on/off of the module to be tested can be controlled by using the switch program when each test task is finished, and the method comprises the following specific steps:
judging whether the current test task of the production tool for carrying out production test on the current module to be tested is finished.
And secondly, if the current test task is finished, closing the current module to be tested by using the switch program, opening the next module to be tested by using the switch program, and calling a production tool to carry out production test on the next module to be tested.
When each test task is finished, the switch program control controller is utilized to close the current module to be tested, and then the switch program control controller is utilized to open the next module to be tested, so that the production tool can sequentially carry out production test on each module to be tested, and simultaneously, the tested module to be tested is closed in time, thereby avoiding interference on the test task of the next module to be tested and ensuring the accuracy of the test result.
Specifically, when the production tool performs production test on each module to be tested, the production tool can be connected with the module to be tested through the corresponding serial port, the module to be tested is subjected to production test through the serial port, and when the control script calls the production tool to perform production test on each module to be tested in the module information table, the production tool can be configured with the corresponding serial port according to the serial port information corresponding to each module to be tested stored in the module information table; it can be understood that other configuration information of the module to be tested, such as baud rate, is also stored in the module information table, and when the control script calls the production tool, the configuration is performed according to all the configuration information of each module to be tested, so as to smoothly implement the production test of each module to be tested by the production tool.
In a specific embodiment, the production tool may perform production testing on the module to be tested using a test script, where the test script may be automatically compiled and generated by an automation tool, and specifically, the test script may include a plurality of test sub-scripts, and when the production tool performs production testing on a plurality of modules to be tested, the production tool may respectively call corresponding test sub-scripts to perform testing on the corresponding modules to be tested.
Step 24: and judging whether the production tool completes the production test of all the modules to be tested.
Detecting whether the test of all the modules to be tested is finished in real time, such as: after each module to be tested is tested, generating a test sub-result, and counting the number of the test sub-results to detect whether the test on all the modules to be tested is completed; or the production tool records the number of the tested modules, matches the number with the number of all the tested modules, if the number of the tested modules is equal to the number of all the tested modules, the testing of all the tested modules is finished, and if the number of the tested modules is smaller than the number of all the tested modules, the testing of all the tested modules is not finished, and at the moment, the testing operation can be continuously executed.
Step 25: and if the production test of all the modules to be tested is finished, generating a test result.
If the production test of all the modules to be tested is detected to be finished, the test sub-results corresponding to each module to be tested can be counted to obtain the test result.
Step 26: and judging whether the production tool meets the preset requirement or not by using the test result.
After the production tool performs production testing on all modules to be tested in the module information table, a final testing result is generated, specifically, the number of the modules to be tested is at least one, the testing result can include at least one testing sub-result generated by the production tool performing production testing on each module to be tested, still taking the modules to be tested 1-10 as an example, at this time, the number of the modules to be tested is ten, after the production tool finishes the testing task of each module to be tested, a testing sub-result is generated, ten testing sub-results can be generated after all the testing tasks are finished, each testing sub-result includes the testing result of each testing step when the production tool performs production testing on the modules to be tested, when at least one testing sub-result is a preset result, it is determined that the production tool meets the preset requirement, that all the testing sub-results are the preset requirement, and judging the production tool to be qualified.
In a specific embodiment, the partial test results shown in fig. 4 may be generated, the step with the problem or the software/hardware part is marked with a cross mark ("×"), the normal step or the software/hardware part is marked with a tick mark ("√"), and the user can trace the problem occurrence positions on the production tool side and the module to be tested according to the cross mark and thereby determine whether the production tool is qualified, and when all the test sub-results are the tick marks, the production tool is qualified. Taking FIG. 4 as an example, for the "setup" module, it is marked with a tick mark, i.e., no problem occurs when the "setup" module is tested, the "setup" module is normal for testing, and the production tool is normal when the "setup" module is tested; for a "firmware update" module, which is marked with a cross, a problem arises when testing the "firmware update" module, requiring further verification.
Understandably, when a problem item marked by a cross mark appears, the problem may appear on the side of a production tool and also on the side of a module to be tested, so that the problem position can be traced according to a test result, if the problem appears on the side of the module to be tested, the production tool is still qualified, if the problem appears on the side of the production tool, the production tool is unqualified, and the problem can be corrected according to the tracing result to correct the production tool.
In this embodiment, a control script is used to call a production tool to sequentially perform production tests on all modules to be tested in the module information table, and after a test task corresponding to each module to be tested is finished, a switch program is used to close the currently tested test module, so that the production tool sequentially performs production tests on each module to be tested, each test task is guaranteed not to interfere with each other, and the stability and accuracy of the tests are improved; meanwhile, after all modules to be tested are tested, a test result comprising a plurality of test sub-results is generated, and the problems existing in the current test system can be traced through each detailed test sub-result so as to judge whether the production tool is qualified or not, so that the test on the production tool is more efficient and accurate.
Referring to fig. 5, fig. 5 is a schematic structural diagram of an embodiment of a production tool testing apparatus provided in the present application, the production tool testing apparatus 50 includes a switch unit 51 and a control unit 52 connected to each other, the control unit 52 is used for starting a production tool; the switch unit 51 is connected to the control unit 52 and is configured to control the to-be-tested module to be turned on, so that the production tool performs a production test on the to-be-tested module to obtain a test result, where the test result is used to determine whether the production tool meets a preset requirement.
Referring to fig. 6, fig. 6 is a schematic structural diagram of an embodiment of a production tool testing system provided in the present application, in which the production tool testing system 60 includes a production tool testing device 61 and a controller 62 that are connected to each other, the controller 62 is configured to control a module to be tested to be started after receiving a control instruction sent by the production tool testing device 61, and the production tool testing device 61 is the production tool testing device in the above technical solution.
In the several embodiments provided in the present application, it should be understood that the disclosed method and apparatus may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of modules or units is merely a logical division, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed.
Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The above description is only an example of the present application and is not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings, or which are directly or indirectly applied to other related technical fields, are intended to be included within the scope of the present application.

Claims (10)

1. A method of testing a production tool, comprising:
starting a production tool;
starting a module to be tested by using a switch program, and calling the production tool to carry out production test on the module to be tested to obtain a test result;
and judging whether the production tool meets the preset requirement or not by using the test result.
2. The method for testing a manufacturing tool of claim 1, wherein the step of turning on the module under test by using the switch program comprises:
and sending a control instruction to a controller so that the controller controls the module to be tested to be started based on the control instruction.
3. The method for testing a production tool of claim 1, further comprising:
judging whether the current test task for performing the production test on the current module to be tested is finished or not;
if yes, the current module to be tested is closed by the switch program, a next module to be tested is opened by the switch program, and the production tool is called to carry out production test on the next module to be tested.
4. The method for testing a production tool of claim 3, further comprising:
judging whether the production tool completes the production test of all the modules to be tested;
and if so, generating the test result.
5. The production tool testing method according to claim 4,
the number of the modules to be tested is at least one, and the test result comprises at least one test sub-result generated by the production tool in the production test of each module to be tested; and when the at least one test sub-result is a preset result, judging that the production tool meets the preset requirement.
6. The method for testing the production tool according to claim 1, wherein the step of invoking the production tool to perform the production test on the module under test comprises:
automatically compiling a test script by utilizing an automatic tool;
and calling the production tool to use the test script to test the module to be tested.
7. The method according to claim 1, wherein before the step of using the switch program to turn on the module to be tested and call the production tool to perform the production test on the module to be tested to obtain the test result, the method comprises:
and presetting a module information table, and calling the production tool to sequentially carry out production test on all the modules to be tested by using a control script based on the module information table.
8. The method according to claim 7, wherein the module information table includes information of the module to be tested and serial port information corresponding to the module to be tested, and before the step of starting the module to be tested by using a switch program and calling the production tool to perform production test on the module to be tested to obtain a test result, the method further includes:
and selecting a serial port corresponding to the module to be tested based on the serial port information by using the control script so that the production tool carries out production test on the module to be tested through the serial port.
9. The production tool testing device is characterized by comprising a switch unit and a control unit which are connected with each other, wherein the control unit is used for starting a production tool; the switch unit is connected with the control unit and used for controlling the module to be tested to be started so that the production tool can carry out production test on the module to be tested to obtain a test result; and the test result is used for judging whether the production tool meets the preset requirement or not.
10. A production tool testing system, comprising a production tool testing device and a controller connected to each other, wherein the controller is configured to control a module to be tested to be started after receiving a control command sent by the production tool testing device, and the production tool testing device is the production tool testing device according to claim 9.
CN202110410505.5A 2021-04-13 2021-04-13 Production tool testing method, production tool testing device and production tool testing system Pending CN113358949A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110410505.5A CN113358949A (en) 2021-04-13 2021-04-13 Production tool testing method, production tool testing device and production tool testing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110410505.5A CN113358949A (en) 2021-04-13 2021-04-13 Production tool testing method, production tool testing device and production tool testing system

Publications (1)

Publication Number Publication Date
CN113358949A true CN113358949A (en) 2021-09-07

Family

ID=77525112

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110410505.5A Pending CN113358949A (en) 2021-04-13 2021-04-13 Production tool testing method, production tool testing device and production tool testing system

Country Status (1)

Country Link
CN (1) CN113358949A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060247885A1 (en) * 2005-04-29 2006-11-02 Charles Manfredi Scalable integrated tool for compliance testing
CN101329652A (en) * 2008-07-30 2008-12-24 中兴通讯股份有限公司 Regression test automatic system and method
US20150301071A1 (en) * 2014-04-22 2015-10-22 Wipro Limited System and method for sequential testing across multiple devices
CN106201859A (en) * 2015-05-07 2016-12-07 阿里巴巴集团控股有限公司 A kind of regression testing method and system
CN111831495A (en) * 2020-06-23 2020-10-27 惠州市博实结科技有限公司 Production automation test method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060247885A1 (en) * 2005-04-29 2006-11-02 Charles Manfredi Scalable integrated tool for compliance testing
CN101329652A (en) * 2008-07-30 2008-12-24 中兴通讯股份有限公司 Regression test automatic system and method
US20150301071A1 (en) * 2014-04-22 2015-10-22 Wipro Limited System and method for sequential testing across multiple devices
CN106201859A (en) * 2015-05-07 2016-12-07 阿里巴巴集团控股有限公司 A kind of regression testing method and system
CN111831495A (en) * 2020-06-23 2020-10-27 惠州市博实结科技有限公司 Production automation test method and system

Similar Documents

Publication Publication Date Title
CN109840207B (en) AutoSAR-based network management automation test system and test method
CN101175285A (en) Automatic testing method and system for mobile phone software
CN107656872B (en) Software testing method, device, equipment and computer storage medium
CN107179971B (en) Automatic coding method and system for CAN bus fault processing
CN113358949A (en) Production tool testing method, production tool testing device and production tool testing system
CN111176995A (en) Test method and test system based on big data test case
CN113608089B (en) SOA test method, system and device for switching power supply MOS tube and readable storage medium
CN113691669B (en) Android mobile phone APP control vehicle full-process test analysis system and method
US20040177344A1 (en) Debugging method for the keyboard controller code
CN115934559A (en) Testing method of intelligent form testing system
CN115794639A (en) Visual test and visual simulation test system and method based on process
CN114942890A (en) User interface testing method, device, equipment and medium
CN115114152A (en) Automatic testing method and system based on control attribute and image recognition, electronic equipment and storage medium
CN114578210A (en) Mainboard test method, device, equipment and storage medium
CN111752823A (en) Method, device and equipment for testing vehicle-mounted power supply application software
CN115510782B (en) Method for locating verification errors, electronic device and storage medium
CN116991706B (en) Vehicle automatic test method, device, equipment and storage medium
CN113640026B (en) Industrial equipment testing method, device and system
CN114090454B (en) Interface automation test method, device, equipment and storage medium
CN106201798A (en) Product ID processing means and method
CN115113613B (en) Equipment control system test method and device, electronic equipment and storage medium
CN112269735A (en) Automatic test script generation method
CN113495844A (en) Automatic testing method, device and system based on virtual click and storage medium
CN112231207A (en) Multi-machine testing method for application program testing, computer readable storage medium and testing platform
CN115098372A (en) System reliability testing method and device, computer equipment and storage 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210907

RJ01 Rejection of invention patent application after publication