[go: up one dir, main page]

CN113778765A - Product testing methods, apparatus, systems and computer program products - Google Patents

Product testing methods, apparatus, systems and computer program products Download PDF

Info

Publication number
CN113778765A
CN113778765A CN202110900883.1A CN202110900883A CN113778765A CN 113778765 A CN113778765 A CN 113778765A CN 202110900883 A CN202110900883 A CN 202110900883A CN 113778765 A CN113778765 A CN 113778765A
Authority
CN
China
Prior art keywords
test
product
testing
tested
test result
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
CN202110900883.1A
Other languages
Chinese (zh)
Inventor
周京安
刘绿山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Yako Automation Technology Co ltd
Original Assignee
Shenzhen Yako Automation 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 Shenzhen Yako Automation Technology Co ltd filed Critical Shenzhen Yako Automation Technology Co ltd
Priority to CN202110900883.1A priority Critical patent/CN113778765A/en
Publication of CN113778765A publication Critical patent/CN113778765A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/2268Logging of test results
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Prevention of errors by analysis, debugging or testing of software
    • G06F11/3668Testing of software
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Prevention of errors by analysis, debugging or testing of software
    • G06F11/3668Testing of software
    • G06F11/3696Methods or tools to render software testable

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Testing Of Individual Semiconductor Devices (AREA)

Abstract

本发明公开了一种产品测试方法、设备、系统及计算机程序产品,所述产品测试方法应用于产品测试设备,所述产品测试设备包括辅助测试盒、测试夹具和上位机,所述辅助测试盒分别与所述测试夹具和所述上位机通讯连接,所述测试夹具与待测产品进行通讯连接,所述产品测试方法包括:通过所述辅助测试盒,对所述待测产品进行测试得到第一测试结果;将所述第一测试结果从所述辅助测试盒发送至所述上位机;通过所述上位机,对所述第一测试结果进行处理得到第一测试信息。本发明实现了产品的自动化测试,并提高产品测试效率和产品测试质量。

Figure 202110900883

The invention discloses a product testing method, equipment, system and computer program product. The product testing method is applied to the product testing equipment. The product testing equipment includes an auxiliary test box, a test fixture and a host computer. The auxiliary test box The test fixture is respectively connected to the test fixture and the upper computer for communication, and the test fixture is communicated with the product to be tested. The product testing method includes: testing the product to be tested through the auxiliary test box to obtain a first a test result; sending the first test result from the auxiliary test box to the host computer; processing the first test result through the host computer to obtain first test information. The invention realizes the automatic test of the product, and improves the product test efficiency and the product test quality.

Figure 202110900883

Description

Product testing method, device, system and computer program product
Technical Field
The present invention relates to the field of automatic testing technologies, and in particular, to a method, an apparatus, a system, and a computer program product for testing a product.
Background
With the rapid development of science and technology, more and more software and hardware products appear. To avoid problems with the product, the product needs to be tested. At present, most of product tests are manual tests, and test results are judged manually, so that the test time is long, the efficiency is low, and even test missing, few test functional items and the like occur. Meanwhile, professional people are needed for testing the current products, different testing environments need to be built for different products, connecting cables and the like are complex, and the problems of wire breakage, poor contact and the like often occur.
Disclosure of Invention
The invention mainly aims to provide a product testing method, equipment, a system and a computer program product, aiming at realizing the automatic testing of products so as to improve the product testing efficiency and the product testing quality.
In order to achieve the above object, the present invention provides a product testing method applied to a product testing device, wherein the product testing device includes an auxiliary testing box, a testing fixture and an upper computer, the auxiliary testing box is respectively in communication connection with the testing fixture and the upper computer, the testing fixture is in communication connection with a product to be tested, and the product testing method includes the following steps:
testing the product to be tested through the auxiliary test box to obtain a first test result;
sending the first test result from the auxiliary test box to the upper computer;
and processing the first test result through the upper computer to obtain first test information.
Optionally, the step of testing the product to be tested to obtain a first test result through the auxiliary test box includes:
testing the universal port of the product to be tested through the auxiliary test box to obtain a universal port test result;
testing the special port of the product to be tested through the auxiliary test box to obtain a special port test result;
and determining a first test result of the product to be tested based on the universal port test result and the special port test result.
Optionally, the auxiliary test box includes an auxiliary test card, and the step of testing the universal port of the product to be tested by the auxiliary test box to obtain a universal port test result includes:
performing function test on the universal input port of the product to be tested through the auxiliary test card to obtain a test result of the universal input port;
performing function test on the universal output port of the product to be tested through the auxiliary test card to obtain a universal output port test result;
and determining the universal port test result of the product to be tested based on the universal input port test result and the universal output port test result.
Optionally, the auxiliary test box includes a plurality of controller area network CAN modules, and the step of testing the dedicated port of the product to be tested by the auxiliary test box to obtain a dedicated port test result includes:
through the CAN modules, performing function test on the special input port of the product to be tested to obtain a test result of the special input port;
through the CAN modules, performing function test on the special output port of the product to be tested to obtain a test result of the special output port;
and determining the special port test result of the product to be tested based on the special input port test result and the special output port test result.
Optionally, the test fixture is in communication connection with the upper computer, and the product testing method further includes:
testing the product to be tested through the test fixture to obtain a second test result;
sending the second test result from the test fixture to the upper computer;
and processing the second test result through the upper computer to obtain second test information, and displaying the second test information.
Optionally, the step of testing the product to be tested to obtain a second test result through the test fixture includes:
testing the pulse signal of the product to be tested through the test fixture to obtain a pulse test result;
testing the encoder of the product to be tested through the test fixture to obtain an encoder test result;
testing the CAN connection function of the product to be tested through the test fixture to obtain a CAN test result;
and determining a second test result of the product to be tested based on the pulse test result, the encoder test result and the CAN test result.
Optionally, the test fixture includes a CAN connection test module, and the step of testing the CAN connection function of the product to be tested to obtain the CAN test result by the test fixture includes:
and testing the CAN connection function of the product to be tested by the CAN connection test module to obtain a CAN test result.
In addition, to achieve the above object, the present invention also provides a product testing apparatus, including: a memory, a processor and a product test program stored on the memory and executable on the processor, the product test program when executed by the processor implementing the steps of the product test method as described above.
In addition, in order to achieve the above object, the present invention further provides a product testing system, which comprises an auxiliary testing box, a testing fixture and an upper computer, wherein the auxiliary testing box is respectively in communication connection with the testing fixture and the upper computer, the testing fixture is in communication connection with a product to be tested,
the auxiliary test box is used for testing the product to be tested to obtain a test result;
the upper computer is used for processing the test result to obtain test information;
the test fixture is used for fixing and connecting the product to be tested;
the product testing system further comprises: a memory, a processor and a product test program stored on the memory and executable on the processor, the product test program when executed by the processor implementing the steps of the product test method as described above.
In addition, to achieve the above object, the present invention also provides a computer readable storage medium having a product testing program stored thereon, which when executed by a processor implements the steps of the product testing method as described above.
Furthermore, to achieve the above object, the present invention also provides a computer program product comprising a computer program which, when executed by a processor, implements the steps of the product testing method as described above.
The invention provides a product testing method, a device, a system and a computer program product, wherein the product testing method is applied to product testing equipment, the product testing equipment comprises an auxiliary testing box, a testing clamp and an upper computer, the auxiliary testing box is respectively in communication connection with the testing clamp and the upper computer, the testing clamp is in communication connection with a product to be tested, and the product to be tested is tested through the auxiliary testing box to obtain a first testing result; sending the first test result from the auxiliary test box to an upper computer; and processing the first test result through the upper computer to obtain first test information. By the mode, the software and the hardware are combined to automatically test the functional items of the product to be tested, so that the test result is automatically judged and output, and the product test efficiency is improved. Meanwhile, the conditions of missing test and few test can be avoided, and the product test quality is improved. In addition, through the auxiliary test box, can test different products that await measuring, need not to build different test environment according to the product of difference to avoid appearing broken string, contact failure scheduling problem, and then further improve product efficiency of software testing and product test quality.
Drawings
Fig. 1 is a schematic terminal structure 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 product testing method according to the present invention;
FIG. 3 is a flow chart illustrating a second embodiment of the product testing method of the present invention;
fig. 4 is a schematic diagram of a system architecture according to an 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 are not intended to limit the invention.
Referring to fig. 1, fig. 1 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present invention.
The terminal in the embodiment of the present invention is a product testing device, and the product testing device may be a terminal device having a processing function, such as a PC (personal computer), a microcomputer, a notebook computer, and a server.
As shown in fig. 1, the terminal may include: a processor 1001, such as a CPU (Central Processing Unit), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein a communication bus 1002 is used to enable connective communication between 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 terminal structure shown in fig. 1 is not intended to be limiting and may include more or fewer components than those 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 test program.
In the terminal shown in fig. 1, the product testing device includes an auxiliary testing box, a testing fixture and an upper computer, the auxiliary testing box is respectively in communication connection with the testing fixture and the upper computer, the testing fixture is in communication connection with a product to be tested, and the processor 1001 can be used for calling a product testing program stored in the memory 1005 and executing the following operations:
testing the product to be tested through the auxiliary test box to obtain a first test result;
sending the first test result from the auxiliary test box to the upper computer;
and processing the first test result through the upper computer to obtain first test information.
Further, the processor 1001 may be configured to invoke a product test program stored in the memory 1005, and further perform the following operations:
testing the universal port of the product to be tested through the auxiliary test box to obtain a universal port test result;
testing the special port of the product to be tested through the auxiliary test box to obtain a special port test result;
and determining a first test result of the product to be tested based on the universal port test result and the special port test result.
Further, the auxiliary test cartridge comprises an auxiliary test card, and the processor 1001 may be configured to call the product test program stored in the memory 1005, and further perform the following operations:
performing function test on the universal input port of the product to be tested through the auxiliary test card to obtain a test result of the universal input port;
performing function test on the universal output port of the product to be tested through the auxiliary test card to obtain a universal output port test result;
and determining the universal port test result of the product to be tested based on the universal input port test result and the universal output port test result.
Further, the auxiliary test box includes several controller area network CAN modules, and the processor 1001 may be configured to call the product test program stored in the memory 1005, and further perform the following operations:
through the CAN modules, performing function test on the special input port of the product to be tested to obtain a test result of the special input port;
through the CAN modules, performing function test on the special output port of the product to be tested to obtain a test result of the special output port;
and determining the special port test result of the product to be tested based on the special input port test result and the special output port test result.
Further, the processor 1001 may be configured to invoke a product test program stored in the memory 1005, and further perform the following operations:
testing the product to be tested through the test fixture to obtain a second test result;
sending the second test result from the test fixture to the upper computer;
and processing the second test result through the upper computer to obtain second test information, and displaying the second test information.
Further, the processor 1001 may be configured to invoke a product test program stored in the memory 1005, and further perform the following operations:
testing the pulse signal of the product to be tested through the test fixture to obtain a pulse test result;
testing the encoder of the product to be tested through the test fixture to obtain an encoder test result;
testing the CAN connection function of the product to be tested through the test fixture to obtain a CAN test result;
and determining a second test result of the product to be tested based on the pulse test result, the encoder test result and the CAN test result.
Further, the test fixture includes a CAN connection test module, and the processor 1001 may be configured to call a product test program stored in the memory 1005, and further perform the following operations:
and testing the CAN connection function of the product to be tested by the CAN connection test module to obtain a CAN test result.
Based on the hardware structure, various embodiments of the product testing method are provided.
The invention provides a product testing method.
Referring to fig. 2, fig. 2 is a flowchart illustrating a first embodiment of a product testing method according to the present invention.
In this embodiment, the product testing method is applied to product testing equipment, the product testing equipment includes an auxiliary testing box, a testing fixture and an upper computer, the auxiliary testing box is respectively in communication connection with the testing fixture and the upper computer, the testing fixture is in communication connection with a product to be tested, and the product testing method includes:
step S10, testing the product to be tested through the auxiliary test box to obtain a first test result;
in this embodiment, the product to be tested is a product to be tested, such as a motion control card, a terminal board, and the like, the motion control card may be an MCC800P control card, an MCC400P control card, and the terminal board may be an ACC800 terminal board, an ACC400 terminal board, and the like. The test fixture is used for fixing and connecting the product to be tested so as to be in communication connection with the product to be tested; the auxiliary test box is used for testing the products to be tested, the auxiliary test box can test various products to be tested, therefore, the auxiliary test box can be fixed and unchanged, and the auxiliary test box can comprise at least one of the following components: an auxiliary test card, a plurality of CAN (Controller Area Network) modules, and the like, wherein the auxiliary test card CAN be a control card such as an MCN420 control card; the host computer is used for right the test result of the product that awaits measuring demonstrates, and this host computer still is used for handling the test result to the test result after the show is handled, this host computer can include following at least one: a terminal device having a processing function, such as a PC (personal computer), a microcomputer, a notebook computer, and a server.
In an embodiment, each of the test fixtures corresponds to one of the products to be tested, that is, one type of the product to be tested corresponds to one of the test fixtures, so that each time a product is tested, only the corresponding test fixture needs to be selected according to the type of the current product to be tested, that is, the test fixture is replaceable, so that the product to be tested can be quickly replaced.
In another embodiment, each of the test fixtures corresponds to a plurality of products to be tested, that is, the test fixture can correspond to one or more types of products to be tested, and the test fixture can be compatible with a plurality of types of products to be tested, so that the product test can be performed without replacing the test fixture.
In this embodiment, the auxiliary test box is used to test the product to be tested to obtain a first test result. Specifically, the auxiliary test box is in communication connection with the test fixture, and the test fixture is in communication connection with the product to be tested, so that the auxiliary test box can be in communication connection with the product to be tested, and further the auxiliary test box can acquire a port signal of the product to be tested, thereby testing the product to be tested.
In one embodiment, the step S10 includes:
and testing the port signal of the product to be tested through the auxiliary test box to obtain a port test result. The ports include a general port and a dedicated port, and specific execution flows may refer to the second embodiment described below, which is not described in detail herein.
In another embodiment, the step S10 includes:
and testing the hand wheel function of the product to be tested through the auxiliary test box. Specifically, the auxiliary test box comprises an auxiliary test card, and the auxiliary test card is used for testing the hand wheel function of the product to be tested. The auxiliary test card can be a control card such as an MCN420 control card.
Step S20, sending the first test result from the auxiliary test box to the upper computer;
in this embodiment, the first test result is sent to the upper computer from the auxiliary test box, so that the upper computer processes the first test result to obtain first test information, and the first test information is displayed.
And step S30, processing the first test result through the upper computer to obtain first test information.
In this embodiment, the first test result is processed by the upper computer to obtain first test information. Specifically, the upper computer comprises test software, and the test software is used for displaying the test result of the product to be tested.
It should be noted that after the first test information is obtained, the first test information is displayed through the upper computer.
In one embodiment, the test software comprises a test interface, a test query interface, a test configuration interface and a test management interface; the test interface is used for displaying the current test items; the test query interface is used for querying the product to be tested; the test configuration interface is used for configuring the product to be tested; and the test management interface is used for setting the authority of the tester.
Furthermore, the test software also comprises a test management item and a communication state; the test management item is used for switching the interface of the test software so as to switch among the test interface, the test query interface, the test configuration interface and the test management interface; the communication state is used for identifying whether each component in the test equipment is in normal communication.
In some embodiments, the test interface comprises a test item display area, a product number, a test key area and a test information printing area; the test item display area is used for displaying the current test item; the product code is used for identifying the product to be detected; the test key area is used for controlling the test process of the product to be tested; and the test information printing area is used for displaying the test information of the product to be tested.
Further, the test item display area may include at least one of: selection options, test steps, function names, test criteria (lower limit), test criteria (upper limit), test values, test displays, signals under test, test principles, and the like.
Further, the product number may be a test card barcode, such as 12345.
Further, the test key area at least comprises one of the following: start test, terminate test, power up, power down, automatic test, etc.
In some embodiments, the test query interface includes product query conditions, test data summary, and product test information; the product query condition is used for providing a condition query function; the test data summarization is used for displaying the test data; and the product test information is used for displaying the test information of the product to be tested.
Further, the summary of test data includes at least one of: serial number, test time, bar code, tester, test result, additional storage option, etc.
Further, the product test information includes at least one of: the test method comprises the steps of testing the product to be tested, type information (product type, firmware version, hardware version, dynamic library version and the like) of the product to be tested, test results (pass and fail) of the product to be tested, whether the current test is finished or not and the like.
In some embodiments, the test configuration interface includes a product parameter configuration area, a configuration file loading area; the product parameter configuration area is used for configuring the product parameters of the product to be tested; and the configuration file loading area is used for loading a configuration file.
Further, the product parameter configuration area at least comprises one of the following: steps, parameters, values, minimum values, maximum values, remarks and the like.
In some embodiments, the test management interface includes a user permission display and a user permission setting; the user permission display is used for displaying the permission of the user; and the user permission setting is used for setting the permission of the user.
Further, the user rights display includes at least one of: serial number, user name, test authority, query authority, management authority, test configuration authority, deletion and the like.
Further, the user authority setting includes at least one of: user name, password, test authority, inquiry authority, management authority, test configuration authority and the like.
The embodiment of the invention provides a product testing method, which is applied to product testing equipment, wherein the product testing equipment comprises an auxiliary testing box, a testing clamp and an upper computer, the auxiliary testing box is respectively in communication connection with the testing clamp and the upper computer, the testing clamp is in communication connection with a product to be tested, and the product to be tested is tested through the auxiliary testing box to obtain a first testing result; sending the first test result from the auxiliary test box to an upper computer; and processing the first test result through the upper computer to obtain first test information. By the mode, the software and the hardware are combined to automatically test the functional items of the product to be tested, so that the test result is automatically judged and output, and the product test efficiency is improved. Meanwhile, the conditions of missing test and few test can be avoided, and the product test quality is improved. In addition, through the auxiliary test box, can test different products that await measuring, need not to build different test environment according to the product of difference to avoid appearing broken string, contact failure scheduling problem, and then further improve product efficiency of software testing and product test quality.
Further, based on the above first embodiment, a second embodiment of the product testing method of the present invention is proposed.
In this embodiment, the step S10 includes:
step A11, testing the universal port of the product to be tested through the auxiliary test box to obtain a universal port test result;
in this embodiment, the auxiliary test box is used to test the universal port of the product to be tested, so as to obtain a universal port test result. Specifically, the function test is carried out on the universal input port of the product to be tested through the auxiliary test box, and a universal input port test result is obtained; and performing function test on the universal output port of the product to be tested through the auxiliary test box to obtain a universal output port test result.
It should be noted that the universal port test result may include a high level and a low level.
In one embodiment, the assistant test box includes an assistant test card, and the step a11 includes:
step A111, performing a function test on the universal input port of the product to be tested through the auxiliary test card to obtain a universal input port test result;
step A112, performing a function test on the universal output port of the product to be tested through the auxiliary test card to obtain a universal output port test result;
step A113, determining a universal port test result of the product to be tested based on the universal input port test result and the universal output port test result.
In this embodiment, the auxiliary test card is used to perform a function test on the universal input port of the product to be tested, so as to obtain a test result of the universal input port; performing function test on the universal output port of the product to be tested through the auxiliary test card to obtain a universal output port test result; and finally, determining the universal port test result of the product to be tested based on the universal input port test result and the universal output port test result.
In some embodiments, the auxiliary test card is an MCN420 control card, and the step a111 includes:
and performing function test on the universal input port of the product to be tested through the MCN420 control card to obtain a universal input port test result.
In some embodiments, the auxiliary test card is an MCN420 control card, and the step a112 includes:
and performing function test on the universal output port of the product to be tested through the MCN420 control card to obtain a universal output port test result.
Step A12, testing the special port of the product to be tested through the auxiliary test box to obtain a special port test result;
in this embodiment, the special port of the product to be tested is tested by the auxiliary test box to obtain a special port test result. Specifically, the special input port of the product to be tested is subjected to function test through the auxiliary test box, and a test result of the special input port is obtained; and performing function test on the special output port of the product to be tested through the auxiliary test box to obtain a test result of the special output port.
It should be noted that the dedicated port test result may include a high level and a low level.
In one embodiment, the auxiliary test box includes a plurality of controller area network CAN modules, and the step a12 includes:
step A121, performing function test on the special input port of the product to be tested through the plurality of CAN modules to obtain a test result of the special input port;
step A122, performing function test on the special output port of the product to be tested through the plurality of CAN modules to obtain a test result of the special output port;
step A123, determining the special port test result of the product to be tested based on the special input port test result and the special output port test result.
In this embodiment, the function test is performed on the special input port of the product to be tested through the plurality of CAN modules to obtain a test result of the special input port; the special output port of the product to be tested is subjected to function test through the plurality of CAN modules to obtain a special output port test result; and finally, determining the special port test result of the product to be tested based on the special input port test result and the special output port test result.
It should be noted that, a plurality of CAN modules may be set according to actual needs, and specifically, may be determined according to the number of axes of the product to be measured, for example, 4 CAN modules, 2 CAN modules, and the like. The CAN module may be the MCM 1616D.
In some embodiments, the plurality of CAN modules includes 4 CAN modules, and the step a121 includes:
and performing function test on the special input port of the product to be tested through the 4 CAN modules to obtain a test result of the special input port.
Further, the product to be tested is an MCC800P control card or an ACC800 terminal board, and the step a121 includes:
and performing function test on the special input port of the product to be tested through the 4 CAN modules to obtain a test result of the special input port.
In some embodiments, the plurality of CAN modules includes 2 CAN modules, and the step a122 includes:
and performing function test on the special output port of the product to be tested through the 2 CAN modules to obtain a test result of the special output port.
Further, the product to be tested is an MCC400P control card or an ACC400 terminal board, and the step a121 includes:
and performing function test on the special output port of the product to be tested through the 2 CAN modules to obtain a test result of the special output port.
Step A13, determining a first test result of the product to be tested based on the universal port test result and the special port test result.
In this embodiment, the first test result of the product to be tested is determined based on the universal port test result and the dedicated port test result, so that the first test result includes the universal port test result and the dedicated port test result.
In this embodiment, the auxiliary test box is used to test the ports (the universal port and the dedicated port) of the product to be tested, so as to detect whether the input/output function of the product to be tested is normal, thereby further improving the product test efficiency and the product test quality.
Further, based on the first embodiment described above, a third embodiment of the product testing method of the present invention is proposed.
Referring to fig. 3, fig. 3 is a flow chart of a third embodiment of the product testing method of the present invention.
In this embodiment, the test fixture is in communication connection with the upper computer, and the product testing method further includes:
step S40, testing the product to be tested through the test fixture to obtain a second test result;
in this embodiment, the product to be tested is tested by the test fixture to obtain a second test result. Specifically, the pulse signal and/or the encoder and/or the CAN connection function of the product to be tested are tested through the test fixture, and a second test result is obtained.
In one embodiment, the step S40 includes:
and testing the pulse signal of the product to be tested through the test fixture to obtain a pulse test result. The pulse test result may be a pulse output value.
In another embodiment, the step S40 includes:
and testing the encoder of the product to be tested through the test fixture to obtain an encoder test result. The encoder test result may be an encoder count value.
In another embodiment, the step S40 includes:
and testing the CAN connection function of the product to be tested through the test fixture to obtain a CAN test result. The CAN test result comprises normal CAN function and abnormal CAN function. Specifically, the test fixture comprises a CAN connection test module, and the CAN connection test module is used for testing the CAN connection function of the product to be tested to obtain a CAN test result.
In another embodiment, the step S40 includes:
step A41, testing the pulse signal of the product to be tested through the test fixture to obtain a pulse test result;
step A42, testing the encoder of the product to be tested through the test fixture to obtain an encoder test result;
step A43, testing the CAN connection function of the product to be tested through the test fixture to obtain a CAN test result;
step A44, determining a second test result of the product to be tested based on the pulse test result, the encoder test result and the CAN test result.
In this embodiment, the test fixture is used to test the pulse signal of the product to be tested to obtain a pulse test result; testing the encoder of the product to be tested through the test fixture to obtain an encoder test result; testing the CAN connection function of the product to be tested through the test fixture to obtain a CAN test result; and finally, determining a second test result of the product to be tested based on the pulse test result, the encoder test result and the CAN test result.
In one embodiment, the test fixture includes a CAN connection test module, and the step a43 includes:
and step A431, testing the CAN connection function of the product to be tested through the CAN connection test module to obtain a CAN test result.
In this embodiment, the test module is connected through the CAN, and the CAN connection function of the product to be tested is tested to obtain a CAN test result. The CAN connection test module may be the MCM 1616D.
In another embodiment, the step S40 includes:
acquiring the information to be tested of the product to be tested through the test fixture; sending the information to be tested from the test fixture to the auxiliary test box; and processing the information to be tested through the auxiliary test box to obtain a second test result. That is, the second test result is also obtained by the auxiliary test cartridge.
Step S50, sending the second test result from the test fixture to the upper computer;
in this embodiment, the second test result is sent from the test fixture to the upper computer, so that the upper computer processes the second test result to obtain second test information, and the second test information is displayed.
And step S60, processing the second test result through the upper computer to obtain second test information, and displaying the second test information.
In this embodiment, the second test result is processed by the upper computer to obtain second test information, and the second test information is displayed. Specifically, the upper computer comprises test software, and the test software is used for displaying the test result of the product to be tested.
In one embodiment, the test software comprises a test interface, a test query interface, a test configuration interface and a test management interface; the test interface is used for displaying the current test items; the test query interface is used for querying the product to be tested; the test configuration interface is used for configuring the product to be tested; and the test management interface is used for setting the authority of the tester.
Furthermore, the test software also comprises a test management item and a communication state; the test management item is used for switching the interface of the test software so as to switch among the test interface, the test query interface, the test configuration interface and the test management interface; the communication state is used for identifying whether each component in the test equipment is in normal communication.
In some embodiments, the test interface comprises a test item display area, a product number, a test key area and a test information printing area; the test item display area is used for displaying the current test item; the product code is used for identifying the product to be detected; the test key area is used for controlling the test process of the product to be tested; and the test information printing area is used for displaying the test information of the product to be tested.
Further, the test item display area may include at least one of: selection options, test steps, function names, test criteria (lower limit), test criteria (upper limit), test values, test displays, signals under test, test principles, and the like.
Further, the product number may be a test card barcode, such as 12345.
Further, the test key area at least comprises one of the following: start test, terminate test, power up, power down, automatic test, etc.
In some embodiments, the test query interface includes product query conditions, test data summary, and product test information; the product query condition is used for providing a condition query function; the test data summarization is used for displaying the test data; and the product test information is used for displaying the test information of the product to be tested.
Further, the summary of test data includes at least one of: serial number, test time, bar code, tester, test result, additional storage option, etc.
Further, the product test information includes at least one of: the test method comprises the steps of testing the product to be tested, type information (product type, firmware version, hardware version, dynamic library version and the like) of the product to be tested, test results (pass and fail) of the product to be tested, whether the current test is finished or not and the like.
In some embodiments, the test configuration interface includes a product parameter configuration area, a configuration file loading area; the product parameter configuration area is used for configuring the product parameters of the product to be tested; and the configuration file loading area is used for loading a configuration file.
Further, the product parameter configuration area at least comprises one of the following: steps, parameters, values, minimum values, maximum values, remarks and the like.
In some embodiments, the test management interface includes a user permission display and a user permission setting; the user permission display is used for displaying the permission of the user; and the user permission setting is used for setting the permission of the user.
Further, the user rights display includes at least one of: serial number, user name, test authority, query authority, management authority, test configuration authority, deletion and the like.
Further, the user authority setting includes at least one of: user name, password, test authority, inquiry authority, management authority, test configuration authority and the like.
In this embodiment, through the test fixture, the product to be tested is tested to detect whether the function of the product to be tested is normal, thereby further improving the product test efficiency and the product test quality.
The invention also provides a product testing system, which comprises an auxiliary testing box, a testing fixture and an upper computer, wherein the auxiliary testing box is respectively in communication connection with the testing fixture and the upper computer, the testing fixture is in communication connection with a product to be tested,
the auxiliary test box is used for testing the product to be tested to obtain a test result;
the upper computer is used for processing the test result to obtain test information;
the test fixture is used for fixing and connecting the product to be tested;
the product testing system further comprises: a memory, a processor and a product test program stored on the memory and executable on the processor, the product test program when executed by the processor implementing the steps of the product test method as described in any one of the above embodiments.
The specific embodiment of the product testing system of the present invention is basically the same as the embodiments of the product testing method described above, and is not described herein again.
In an embodiment, referring to fig. 4, fig. 4 is a schematic diagram of a system architecture according to an embodiment of the present invention. The auxiliary test box is in communication connection with the test fixture and the upper computer, the test fixture is in communication connection with a product to be tested, and the test fixture is in communication connection with the upper computer.
The invention also provides a computer readable storage medium having stored thereon a product testing program which, when executed by a processor, implements the steps of the product testing method as described in any one of the above embodiments.
The specific embodiment of the computer-readable storage medium of the present invention is substantially the same as the embodiments of the product testing method described above, and is not described herein again.
The invention also provides a computer program product comprising a computer program which, when executed by a processor, implements the steps of the product testing method as described in any one of the above embodiments.
The specific embodiment of the computer program product of the present invention is substantially the same as the embodiments of the product testing method described above, and is 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 system 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 system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system 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 above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, 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. The product testing method is characterized by being applied to product testing equipment, wherein the product testing equipment comprises an auxiliary testing box, a testing fixture and an upper computer, the auxiliary testing box is respectively in communication connection with the testing fixture and the upper computer, the testing fixture is in communication connection with a product to be tested, and the product testing method comprises the following steps:
testing the product to be tested through the auxiliary test box to obtain a first test result;
sending the first test result from the auxiliary test box to the upper computer;
and processing the first test result through the upper computer to obtain first test information.
2. The method for testing a product according to claim 1, wherein the step of testing the product to be tested through the auxiliary test box to obtain a first test result comprises:
testing the universal port of the product to be tested through the auxiliary test box to obtain a universal port test result;
testing the special port of the product to be tested through the auxiliary test box to obtain a special port test result;
and determining a first test result of the product to be tested based on the universal port test result and the special port test result.
3. The method for testing products according to claim 2, wherein the auxiliary test box comprises an auxiliary test card, and the step of testing the universal port of the product to be tested through the auxiliary test box to obtain the universal port test result comprises:
performing function test on the universal input port of the product to be tested through the auxiliary test card to obtain a test result of the universal input port;
performing function test on the universal output port of the product to be tested through the auxiliary test card to obtain a universal output port test result;
and determining the universal port test result of the product to be tested based on the universal input port test result and the universal output port test result.
4. The method for testing products according to claim 2, wherein the auxiliary test box comprises a plurality of Controller Area Network (CAN) modules, and the step of testing the dedicated port of the product to be tested through the auxiliary test box to obtain a dedicated port test result comprises:
through the CAN modules, performing function test on the special input port of the product to be tested to obtain a test result of the special input port;
through the CAN modules, performing function test on the special output port of the product to be tested to obtain a test result of the special output port;
and determining the special port test result of the product to be tested based on the special input port test result and the special output port test result.
5. The product testing method of any one of claims 1 to 4, wherein the test fixture is communicatively coupled to the upper computer, the product testing method further comprising:
testing the product to be tested through the test fixture to obtain a second test result;
sending the second test result from the test fixture to the upper computer;
and processing the second test result through the upper computer to obtain second test information, and displaying the second test information.
6. The product testing method of claim 5, wherein the step of testing the product to be tested to obtain a second test result through the test fixture comprises:
testing the pulse signal of the product to be tested through the test fixture to obtain a pulse test result;
testing the encoder of the product to be tested through the test fixture to obtain an encoder test result;
testing the CAN connection function of the product to be tested through the test fixture to obtain a CAN test result;
and determining a second test result of the product to be tested based on the pulse test result, the encoder test result and the CAN test result.
7. The method for testing a product according to claim 6, wherein the test fixture includes a CAN connection test module, and the step of testing the CAN connection function of the product to be tested by the test fixture to obtain the CAN test result includes:
and testing the CAN connection function of the product to be tested by the CAN connection test module to obtain a CAN test result.
8. A product testing device, characterized in that the product testing device comprises: memory, a processor and a product testing program stored on the memory and executable on the processor, the product testing program when executed by the processor implementing the steps of the product testing method according to any one of claims 1 to 7.
9. A product testing system is characterized by comprising an auxiliary testing box, a testing fixture and an upper computer, wherein the auxiliary testing box is respectively in communication connection with the testing fixture and the upper computer, the testing fixture is in communication connection with a product to be tested,
the auxiliary test box is used for testing the product to be tested to obtain a test result;
the upper computer is used for processing the test result to obtain test information;
the test fixture is used for fixing and connecting the product to be tested;
the product testing system further comprises: memory, a processor and a product testing program stored on the memory and executable on the processor, the product testing program when executed by the processor implementing the steps of the product testing method according to any one of claims 1 to 7.
10. A computer program product, characterized in that the computer program product comprises a computer program which, when being executed by a processor, carries out the steps of the product testing method according to any one of claims 1 to 7.
CN202110900883.1A 2021-08-05 2021-08-05 Product testing methods, apparatus, systems and computer program products Pending CN113778765A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110900883.1A CN113778765A (en) 2021-08-05 2021-08-05 Product testing methods, apparatus, systems and computer program products

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110900883.1A CN113778765A (en) 2021-08-05 2021-08-05 Product testing methods, apparatus, systems and computer program products

Publications (1)

Publication Number Publication Date
CN113778765A true CN113778765A (en) 2021-12-10

Family

ID=78836914

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110900883.1A Pending CN113778765A (en) 2021-08-05 2021-08-05 Product testing methods, apparatus, systems and computer program products

Country Status (1)

Country Link
CN (1) CN113778765A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116273751A (en) * 2022-12-12 2023-06-23 深圳研控自动化科技股份有限公司 Coating method, system, device and storage medium for coating machine
CN119811232A (en) * 2024-12-31 2025-04-11 深圳市灰度科技有限公司 Display screen control card production test method, device, equipment and medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102095448A (en) * 2010-12-08 2011-06-15 江苏天泽信息产业股份有限公司 Automatic testing system of production line of vehicle information terminal and testing method of system
WO2012149724A1 (en) * 2011-09-05 2012-11-08 华为技术有限公司 Method, device and system for monitoring quick path interconnect link
CN102929277A (en) * 2012-11-22 2013-02-13 山东省科学院自动化研究所 Universal test tool for autobody electronic unit and working method thereof
CN110597225A (en) * 2019-09-12 2019-12-20 中汽研(天津)汽车工程研究院有限公司 A kind of off-line detection equipment and test method based on CAN bus body controller product

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102095448A (en) * 2010-12-08 2011-06-15 江苏天泽信息产业股份有限公司 Automatic testing system of production line of vehicle information terminal and testing method of system
WO2012149724A1 (en) * 2011-09-05 2012-11-08 华为技术有限公司 Method, device and system for monitoring quick path interconnect link
CN102929277A (en) * 2012-11-22 2013-02-13 山东省科学院自动化研究所 Universal test tool for autobody electronic unit and working method thereof
CN110597225A (en) * 2019-09-12 2019-12-20 中汽研(天津)汽车工程研究院有限公司 A kind of off-line detection equipment and test method based on CAN bus body controller product

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116273751A (en) * 2022-12-12 2023-06-23 深圳研控自动化科技股份有限公司 Coating method, system, device and storage medium for coating machine
CN119811232A (en) * 2024-12-31 2025-04-11 深圳市灰度科技有限公司 Display screen control card production test method, device, equipment and medium
CN119811232B (en) * 2024-12-31 2025-11-25 深圳市灰度科技有限公司 Production testing methods, apparatus, equipment, and media for display screen control cards

Similar Documents

Publication Publication Date Title
CN103698686B (en) Signal testing method and signal testing equipment
CN113778765A (en) Product testing methods, apparatus, systems and computer program products
CN109165156B (en) Bar code testing method and device and terminal equipment
CN110267215B (en) Data detection method, equipment and storage medium
CN110297767B (en) Automatic execution method, device, equipment and storage medium for test cases
CN111061448A (en) Log information display method and device, electronic equipment and storage medium
CN111611124A (en) Monitoring equipment analysis method and device, computer device and storage medium
US8745200B2 (en) Testing operation of processors setup to operate in different modes
CN108717357B (en) Page display code conversion method, device, equipment and computer storage medium
CN114740825A (en) Data measurement calibration method and device, vehicle controller, vehicle and medium
CN108710692A (en) A kind of automobile part production line test system and method
CN112068713A (en) Event processing method and device, electronic equipment and readable medium
CN116973729A (en) A test method, test fixture, test equipment and medium for a board card
WO2019080003A1 (en) Method for testing a chip, test platform, and test system
CN106951239A (en) The method and device of the display of application program is set
CN117192343B (en) Chip testing method based on auxiliary system, electronic equipment and medium
CN111008147B (en) Application program testing method, terminal and computer readable storage medium
CN113759135A (en) Specimen test method, apparatus, equipment and storage medium
JP2011169618A (en) Fault diagnosis system
JP5438417B2 (en) Equipment test system
CN113821389A (en) Performance testing method, device, device and readable storage medium of solid state hard disk
CN111352780B (en) Method and device for determining state of path and readable storage medium
CN115550826A (en) MIC array detection and analysis method, device, equipment and storage medium
CN113986751A (en) Testing method and device suitable for multiple operating systems
CN111176591A (en) Printing auditing method, device, equipment and medium based on CUPS system

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
CB02 Change of applicant information
CB02 Change of applicant information

Country or region after: China

Address after: 518000 Building B, Building 6, Zhen International Innovation Valley, Xili Community, Xili Street, Nanshan District, Shenzhen City, Guangdong Province, China 1607-1611

Applicant after: Shenzhen Yankong Automation Technology Co.,Ltd.

Address before: 518000 1607-1611, block B, building 6, Shenzhen International Innovation Valley, Dashi Road, Xili community, Xili street, Nanshan District, Shenzhen, Guangdong

Applicant before: SHENZHEN YAKO AUTOMATION TECHNOLOGY Co.,Ltd.

Country or region before: China

WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20211210