Product testing method and device and electronic equipment

Through code decoupling of large-component electronic device test programs and DLL plug-in development, the problem of poor compatibility of the test process is solved, efficient parallel testing and flexible production adaptability are achieved, and development and maintenance costs are reduced.

CN120371625APending Publication Date: 2025-07-25GUANGZHOU SHIYUAN ELECTRONICS CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410105393.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-01-24
Publication Date
2025-07-25

AI Technical Summary

Technical Problem

During the production process of existing large-component electronic equipment, the testing process is difficult to compatible with the process arrangement of different factories, resulting in low work efficiency, high difficulty in connecting developers, and high functional coupling. Recompilation of software requires upgrade or modification.

Method used

By decoupling the test program according to product functions, DLL plug-in development is carried out, functional elements and main frameworks are decoupled, parallel testing is supported, and script editing test process is combined to adapt to different production scenarios.

Benefits of technology

It improves development efficiency, reduces integration difficulty and subsequent maintenance costs, supports parallel testing, and improves the adaptability and overall testing efficiency of the test software.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120371625A_ABST
    Figure CN120371625A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of product testing systems, in particular to a product testing method and device and electronic equipment. According to the method, code decoupling is performed on a test program according to a product function; performing plug-in development of the function test item based on the decoupled code; combining part of the function test plug-ins into a test set, wherein the function test plug-ins of the test items in the same test set support parallel testing; and finally, determining and combining the sequence of the function test plug-ins and the test sets based on test requirements, and performing function test on the product according to the sequence. According to the method, DLL plug-in development is carried out by taking the test item as a unit, so that a function element and a main body frame are decoupled, the development efficiency can be improved, the integration difficulty and the subsequent maintenance cost can be reduced, parallel testing is supported, and the overall testing efficiency is improved by arranging a reasonable test item sequence; and in combination with the script editing test process, different production scenes can be adapted by editing the test process, and the adaptability of the test software is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of product testing systems, and particularly relates to a product testing method, apparatus, and electronic device. Background Art

[0002] Currently, many large-component electronic devices need to go through a series of production processes such as assembly, testing, and packaging during the production process. Among them, the testing part is an important link to ensure the yield of shipped products. For example, in the product testing process of large-screen products, the factory production testing software (also known as production testing software) usually adopts the serial functional testing method, that is, the test items are allocated according to the layout of the factory workstations. The production line employees test each test item of the product in a fixed test process in sequence. For example, the employee at workstation 1 tests test item a, and after this test is completed, the employee at workstation 2 tests test item b, and so on. This method not only has low work efficiency, but also because the layout of each factory's workstations is fixed, resulting in a fixed test process, it is difficult to be compatible with the process layouts of different factories, and it is difficult to arrange factory personnel. In addition, this method also has the problem of high functional coupling. In the case of product function upgrades or test item changes, it is necessary to recompile the production testing software, with low development efficiency and high difficulty for developers to interface. Summary of the Invention

[0003] The embodiments of this application mainly solve the technical problem that the test process in the existing solution is difficult to be compatible with the process layouts of different factories.

[0004] To solve the above technical problem, a technical solution adopted in the embodiments of this application is: to provide a product testing method, including:

[0005] Decouple the code of the test program according to the product function;

[0006] Based on the decoupled code, develop plug-ins for functional test items to obtain functional test plug-ins corresponding to each test item;

[0007] Combine some of the functional test plug-ins into a test set, where the functional test plug-ins of each test item in the same test set support parallel testing;

[0008] Based on the test requirements, determine and combine the order of the functional test plug-ins and the test set, and perform functional testing on the product according to the order.

[0009] Optionally, the plug-in development is DLL plug-in development, and the developing of plug-ins for functional test items based on the decoupled code includes:

[0010] Perform DLL plug-in development with each test item as a unit, where the DLL plug-in corresponding to each test item includes a UI interface part and a test logic part;

[0011] Build a test software based on the DLL plugin.

[0012] Optionally, the development of the DLL plugin for each test item further includes:

[0013] Differentiate the DLL plugin corresponding to the test item according to the automatic test item and the manual test item, where the automatic test item is a test item with an automatically determined result.

[0014] Optionally, the method further includes:

[0015] When a certain DLL plugin has a vulnerability, re-develop the DLL plugin for the test item corresponding to the vulnerability;

[0016] Replace the DLL plugin with a vulnerability with a new DLL plugin.

[0017] Optionally, the method further includes:

[0018] When a certain DLL plugin needs to be optimized, re-develop the DLL plugin for the test item corresponding to the DLL plugin to be optimized to obtain a new DLL plugin;

[0019] Replace the DLL plugin to be optimized with a new DLL plugin.

[0020] Optionally, when a new test item is added to the product, the method further includes:

[0021] Develop a DLL plugin for the new test item to obtain a DLL plugin corresponding to the new test item;

[0022] Add the DLL plugin corresponding to the new test item to the test software.

[0023] Optionally, the order of determining and combining the functional test plugin and the test set based on the test requirements includes:

[0024] Obtain the requirements for the arrangement of the test processes in the factory;

[0025] Determine the test order of the product functions according to the requirements;

[0026] Arrange the functional test plugins by means of script editing according to the test order.

[0027] Optionally, the script is saved in text form.

[0028] To solve the above technical problems, another technical solution adopted in the embodiments of the present application is: to provide a product test device, including:

[0029] A decoupling module, configured to perform code decoupling on the test program according to the product functions;

[0030] A plug-in development module, which is used to develop plug-ins for function test items based on the decoupled code, so as to obtain function test plug-ins corresponding to each test item;

[0031] A plug-in combination module, which is used to combine some of the function test plug-ins into a test set. Among them, the function test plug-ins of each test item in the same test set support parallel testing;

[0032] A product testing module, which is used to determine and combine the order of the function test plug-ins and the test set based on the test requirements, so as to perform function testing on the product according to the order.

[0033] To solve the above technical problems, another technical solution adopted in the embodiments of the present application is: to provide an electronic device, including:

[0034] At least one processor and a memory, where a program is stored in the memory. When the program is executed by the at least one processor, the program causes the electronic device to execute the above-mentioned product testing method.

[0035] Different from the related art, the embodiments of the present application provide a product testing method, device and electronic device. The method decouples the test program code according to the product function; then develops plug-ins for function test items based on the decoupled code, specifically performing DLL plug-in development for each test item as a unit to obtain function test plug-ins corresponding to each test item, where each function test item corresponds to a function test plug-in, that is, a DLL plug-in; then builds a test software based on the DLL plug-ins; then combines the function test plug-ins of some test items into a test set, and the function test plug-ins of each test item in the same test set support parallel testing; finally, determines and combines the order of the function test plug-ins and the test set based on the test requirements, so as to perform function testing on the product according to the order. By performing DLL plug-in development for each test item as a unit, the method decouples the function elements from the main framework, can improve the development efficiency, reduce the integration difficulty, reduce the subsequent application maintenance cost, and support parallel testing. By arranging a reasonable order of test items, the overall testing efficiency is improved; moreover, by combining script editing with the testing process, different testing processes can be edited according to different production scenarios, improving the adaptability of the test software. Description of the Drawings

[0036] One or more embodiments are exemplarily illustrated by corresponding drawings. These exemplary illustrations do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings are represented as similar elements, unless otherwise stated, and the drawings in the drawings do not constitute a proportional limitation.

[0037] Figure 1It is a schematic flowchart of a product testing method provided by an embodiment of the present application;

[0038] Figure 2 It is a schematic framework diagram of a testing software provided by an embodiment of the present application;

[0039] Figure 3 It is a schematic diagram of a folder for storing DLL plugins provided by an embodiment of the present application;

[0040] Figure 4 It is a schematic diagram of an interaction interface for sorting test items provided by an embodiment of the present application;

[0041] Figure 5 It is a schematic diagram of a text saving folder for scripts provided by an embodiment of the present application;

[0042] Figure 6 It is a schematic diagram of an interaction interface for function testing provided by an embodiment of the present application;

[0043] Figure 7 It is a schematic structural diagram of a product testing device provided by an embodiment of the present application;

[0044] Figure 8 It is a schematic structural diagram of an electronic device provided by an embodiment of the present application. Detailed implementation manners

[0045] In order to make the objectives, technical solutions and advantages of the present application more clear and understandable, the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0046] It should be noted that if there is no conflict, the various features in the embodiments of the present application can be combined with each other, and all are within the protection scope of the present application. In addition, although the functional modules are divided in the device schematic diagram and the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in a different module division from that in the device schematic diagram or a different order from that in the flowchart. Unless otherwise defined, all the technical and scientific terms used in this specification have the same meaning as commonly understood by those skilled in the technical field to which the present application belongs. The terms used in the specification of the present application are only for the purpose of describing specific implementation manners and are not used to limit the present application. The term "and / or" used in this specification includes any and all combinations of one or more of the related listed items.

[0047] At present, many large-component electronic devices need to go through a series of production processes such as assembly, testing, and packaging during the production process. Among them, the testing part is an important link to ensure the outgoing product yield. Existing production testing software usually adopts the method of serial functional testing, that is, combining the station layout of the factory to allocate test items. The production line employees test each test item of the product in sequence according to a fixed test process, and each station corresponds to testing one or several fixed test items. Taking the production testing process of a certain product as an example, the employees at station 1 test test item a. After this test is completed, the employees at station 2 test test item b, and so on, until all test items are tested. This method needs to consider the station layout of the production line and the test order of the test items. Not only is the work efficiency slow, but also because the station layout of each factory is fixed, resulting in a fixed test process, it is difficult to be compatible with the process layouts of different factories, and it is difficult to arrange factory personnel. For example, when the production site of the factory changes, a set of test production lines suitable for the current production site needs to be redesigned.

[0048] Based on this, the embodiments of the present application provide a product testing method. By decoupling the code of the test program according to the product function, developing DLL plugins in units of test items to decouple the functional elements from the main framework of the test software, and then establishing the test software based on these DLL plugins; then determining and combining the order of the plugins and test items according to the test requirements, and performing functional testing on the product according to the test order, which improves the overall test efficiency compared with the existing test solutions. At the same time, based on the flexibility of the script, combining script editing with the test process, different test processes can be edited according to different production scenarios, improving the adaptability of the test software and solving the problem of poor compatibility of the existing test solutions.

[0049] Specifically, in the embodiments of the present application, the testing of large-screen products is used as an example for explanation.

[0050] Please refer to Figure 1 , the embodiments of the present application provide a product testing method, including:

[0051] S11. Decouple the code of the test program according to the product function. In software engineering, the coupling degree between objects is the dependence between objects. The higher the coupling between objects, the higher the maintenance cost. Therefore, the design of objects should minimize the coupling between classes and components. In the embodiments of the present application, in order to facilitate the subsequent development of functional test plugins, it is necessary to decouple the code of the test program according to the product function.

[0052] S12. Develop plug-ins for functional test items based on the decoupled code to obtain functional test plug-ins corresponding to each test item. In the embodiments of the present application, DLL plug-in development (Dynamic Link Library, abbreviated as DLL) can be selected for the plug-in development. By encapsulating the code into a DLL plug-in, relevant functional modules can be separated to form independent modules, facilitating the interaction and maintenance between modules. Among them, the DLL plug-in contains code and data that can be shared by multiple programs and can be reused in different projects, improving the development efficiency of the entire team. Moreover, encapsulating it in the form of a DLL plug-in can achieve hot plugging through dynamic loading, improving the scalability of the system.

[0053] The existing production test software still has the problem of high functional coupling. If there are product function upgrades or test item changes, it is necessary to recompile the production test software, resulting in low development efficiency and high docking difficulty for developers. However, the product test method provided in the embodiments of the present application, through DLL plug-in development with test items as units, decouples the functional elements from the main framework, reduces the coupling requirements of the plug-ins, lowers the development difficulty, can improve the development efficiency, reduce the integration difficulty, and reduce the subsequent application maintenance cost.

[0054] Specifically, the plug-in development for functional test items based on the decoupled code includes: performing DLL plug-in development with each test item as a unit, and each functional test item corresponds to a functional test plug-in, that is, a DLL plug-in; establishing a test software based on the DLL plug-in.

[0055] Please combine Figure 2 , Figure 2 The structural schematic of the test software is shown. The DLL plug-in corresponding to each test item includes a UI interface part (functional test UI in the figure) and a test logic part (test background thread in the figure). The functional test UI is used for human-computer interaction. The DLL file enables developers to encapsulate common functions into modules, such as the form of the DLL plug-in corresponding to the functional test items in this solution, which is convenient for other programs to call, can reduce code redundancy, and improve development efficiency. Moreover, the data and resources in the DLL plug-in can be used by multiple programs simultaneously. Based on the DLL plug-in, the program can dynamically load the plug-in to achieve flexible function expansion and upgrade.

[0056] The main framework of this test software includes a main test interface and a plug-in call part. After the main framework starts to traverse the functional test plug-ins, corresponding interactive buttons are generated on the main test interface. It can be understood that the interactive buttons and the functional test plug-ins are in a one-to-one correspondence relationship. When the staff clicks the interactive button, the test software starts the corresponding test background thread and simultaneously calls out the corresponding functional test UI. Among them, the DLL plug-in file is stored in a folder at a specific path, such asFigure 3 As shown Figure 3 is an example of a folder provided by an embodiment of the present application. The path of this folder is the path for the main framework to traverse the DLL plug-in. Based on this, when new test items are added to the product, the method further includes: developing a DLL plug-in for the new test item to obtain the DLL plug-in corresponding to the new test item, and adding the DLL plug-in corresponding to the new test item to the test software. That is, putting the DLL plug-in file corresponding to the new test item into the folder as shown in Figure 3 (the path of this folder is the path for the main framework to traverse the DLL plug-in) will take effect. After the main framework starts to traverse the DLL plug-ins in the folder, interaction buttons corresponding to the DLL plug-ins corresponding to the new test item will also be generated on the main test interface, so that the DLL plug-in can be directly called during subsequent tests.

[0057] Similarly, when a certain DLL plug-in has a vulnerability, based on the structure of the above test software, the test item corresponding to the vulnerability can be re-developed for the DLL plug-in, and the DLL plug-in with the vulnerability can be replaced with a new DLL plug-in. Similarly, when a certain DLL plug-in needs to be optimized, based on the structure of the above test software, the test item corresponding to the DLL plug-in to be optimized can be re-developed for the DLL plug-in to obtain a new DLL plug-in, and then the DLL plug-in to be optimized can be replaced with the new DLL plug-in. Thus, this method is not only convenient for development and debugging, but also can improve the compilation efficiency and reduce the iteration cost.

[0058] In the testing of product functions, the results of some test items can be automatically determined by the system. For example, automatic Bluetooth testing, automatic WIFI testing, or automatic USB testing in the testing of large-screen products, etc., while the results of some test items need to be determined by testers. For example, camera testing, human body sensing testing, or remote control testing, etc. During the development of the DLL plug-in, the DLL plug-ins corresponding to the test items are distinguished according to the automatic test items and manual test items.

[0059] S13. Combine some of the function test plug-ins into a test set, where the function test plug-ins of each test item in the same test set support parallel testing.

[0060] S14. Determine and combine the order of the function test plug-ins and the test set based on the test requirements, so as to perform function testing on the product according to the order.

[0061] Please combine with Figure 4 In the embodiments of the present application, the flexible grouping and arrangement of the test process can be realized through script editing to meet the requirements of different factory production lines or process arrangements. Take Figure 4 as an example Figure 4The interface shown is an example of the test sequence editing interface for a large-screen product in a certain factory under an example scenario. The window on the right side of the interface shows the functional test items supported by the test software. The interaction buttons of these functional test items correspond one by one to the DLL plugins. It can be understood that the division results of the automatic test items and manual test items can be clearly displayed in this interface. The window on the left side of the interface is a manual interaction window for arranging the test sequence. The staff can sort the test items according to the test requirements of the factory / product or the configuration of the factory workstations / sites. For some test items that can be detected in parallel, they can be combined into a test set, and parallel testing can be performed during the subsequent test process.

[0062] In addition, this method can also dynamically switch the test process by the product model to meet the compatibility with multiple products. At the same time, the script can be saved in text format and the configuration can be imported in text format to quickly modify the test process, as Figure 5 shown. The production line test P1 version corresponds to the test process of a certain product model, and the production line test P2 version corresponds to the test process of another product model, and so on.

[0063] In the product test process, the staff can control the test process of the product through the interface as Figure 6 shown. For example, Figure 6 is an example of a certain test set. In this test set, the four test items of vibration test, recording test, array microphone test, and remote control test support parallel testing and can be started simultaneously. In addition, for some test items whose results can be automatically determined, the manual determination process can be omitted, reducing the errors or interferences caused by manual determination and greatly improving the production line test efficiency.

[0064] The embodiment of this application provides a product test method. The test program is code-decoupled according to the product functions; then, based on the decoupled code, plugin development for functional test items is carried out. Specifically, DLL plugin development is carried out for each test item as a unit to obtain the functional test plugins corresponding to each test item. Each of the functional test items corresponds to a functional test plugin, that is, a DLL plugin; then, a test software is established based on the DLL plugin; then, the functional test plugins of some test items are combined into a test set, and the functional test plugins of each test item in the same test set support parallel testing; finally, the order of the functional test plugins and the test set is determined and combined according to the test requirements to perform functional testing on the product according to the order. By carrying out DLL plugin development for each test item as a unit, this method decouples the functional elements from the main framework, can improve the development efficiency, reduce the integration difficulty, reduce the subsequent application maintenance cost, and supports parallel testing. By arranging a reasonable test item order, the overall test efficiency is improved; moreover, by combining script editing of the test process, different test processes can be edited according to different production scenarios, improving the adaptability of the test software.

[0065] Please refer to Figure 7 , an embodiment of the present application provides a product testing device, as Figure 7 shown. The product testing device 200 includes a decoupling module 21, a plug-in development module 22, a plug-in combination module 23, and a product testing module 24.

[0066] Specifically, the decoupling module 21 can perform code decoupling on the test program according to the product function, which is convenient for the subsequent development of function test plug-ins.

[0067] The plug-in development module 22 can develop plug-ins for function test items based on the decoupled code to obtain function test plug-ins corresponding to each test item. Specifically, the plug-in development module 22 can develop DLL plug-ins for each test item. Each function test item corresponds to a function test plug-in, that is, a DLL plug-in. A test software is established based on the DLL plug-ins. The main framework of the test software includes a main test interface and a plug-in call part. After the main framework starts to traverse the function test plug-ins, a corresponding number of interaction buttons are generated on the main test interface. The interaction buttons and the function test plug-ins are in a one-to-one correspondence. When the staff clicks the interaction button, the test software starts the corresponding test background thread and calls out the corresponding function test UI at the same time.

[0068] The plug-in combination module 23 can combine the plug-ins of some test items into a test set. Among them, the plug-ins of each test item in the test set support parallel testing. In the subsequent test process, the test items in the same test set can be tested in parallel, thereby improving the product testing efficiency. The plug-in combination module 23 can combine some test items that can be detected in parallel into a test set, which is convenient for parallel testing of these test items in the subsequent test process.

[0069] The product testing module 24 can determine and combine the order of the plug-ins and the test sets based on the test requirements, so as to perform function testing on the product according to the order. The product testing module 24 can flexibly arrange the test process by means of script editing to meet the requirements of different factory production lines or process arrangements. At the same time, for some test items whose results can be automatically determined, the manual determination process can be omitted, reducing the errors or interferences caused by manual determination and greatly improving the production line testing efficiency.

[0070] An embodiment of the present application provides a product testing device, which includes a decoupling module, a plug-in development module, a plug-in combination module, and a product testing module. The device can perform code decoupling on the test program according to the product function; perform plug-in development for the function test items based on the decoupled code, specifically perform DLL plug-in development for each test item to obtain the function test plug-ins corresponding to the respective test items, where each function test item corresponds to a function test plug-in, that is, a DLL plug-in; establish a test software based on the DLL plug-ins; then combine the function test plug-ins of some test items into a test set, and the function test plug-ins of the respective test items in the same test set support parallel testing; finally, determine and combine the order of the function test plug-ins and the test set according to the test requirements to perform function testing on the product according to the order. By performing DLL plug-in development for each test item, the device decouples the function elements from the main framework, which can improve the development efficiency, reduce the integration difficulty, reduce the subsequent application maintenance cost, and support parallel testing. By arranging a reasonable order of test items, the overall test efficiency is improved; moreover, by combining script editing of the test process, different test processes can be edited according to different production scenarios, improving the adaptability of the test software.

[0071] It should be noted that the above product testing device can execute the product testing method provided by the embodiment of the present application, and has the corresponding functional modules and beneficial effects for executing the method. For the technical details not described in detail in the embodiment of the product testing device, reference can be made to the product testing method provided by the embodiment of the present application.

[0072] As Figure 8 shown, the electronic device 300 includes: one or more processors 31 and a memory 32, Figure 8 Taking one processor 31 as an example.

[0073] The processor 31 and the memory 32 can be connected through a bus or other means, Figure 8 Taking the connection through a bus as an example.

[0074] The memory 32, as a non-volatile computer-readable storage medium, can be used to store non-volatile software programs, non-volatile computer-executable programs, and modules, such as the program instructions / modules corresponding to the product testing method in the embodiment of the present invention. The processor 31 executes various functional applications and data processing of the solid-state drive by running the non-volatile software programs, instructions, and modules stored in the memory 32, that is, implements the product testing method in the above method embodiment.

[0075] The memory 32 may include a program storage area and a data storage area. Among them, the program storage area can store an operating system and application programs required for at least one function. In addition, the memory 32 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other non-volatile solid-state storage devices. In some embodiments, the memory 32 may optionally include a memory remotely provided with respect to the processor 31.

[0076] The one or more modules are stored in the memory 32 and, when executed by the one or more processors 31, execute the product testing method in any of the above method embodiments. For example, execute the Figure 1 method steps described above.

[0077] The above product can execute the product testing method provided by the embodiments of the present invention and has functional modules corresponding to the executed method. For technical details not described in detail in this embodiment, reference can be made to the product testing method provided by the embodiments of the present invention.

[0078] It can be understood that the device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0079] Through the description of the above embodiments, those of ordinary skill in the art can clearly understand that each embodiment can be implemented by means of software plus a general hardware platform, and of course, it can also be implemented by hardware. Those of ordinary skill in the art can understand that all or part of the processes of implementing the above embodiment methods can be completed by instructing relevant hardware through a computer program. The program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the above method embodiments. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM), etc.

[0080] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than limiting them; under the idea of the present application, the technical features in the above embodiments or different embodiments can also be combined, and the steps can be implemented in any order, and there are many other changes in different aspects of the present application as described above. For the sake of brevity, they are not provided in detail; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements on some of the technical features; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A product testing method, characterized in that, Including: Decouple the code of the test program according to the product function; Develop plugins for functional test items based on the decoupled code to obtain functional test plugins corresponding to each test item; Combine some of the functional test plugins into a test set, where the functional test plugins for each test item in the same test set support parallel testing; Determine and combine the order of the functional test plugins and the test set based on the test requirements to perform functional testing on the product according to the order.

2. The method according to claim 1, wherein The plugin development is DLL plugin development, and the developing plugins for functional test items based on the decoupled code includes: Perform DLL plugin development for each test item as a unit, where the DLL plugin corresponding to each test item includes a UI interface part and a test logic part; Build a test software based on the DLL plugins.

3. The method according to claim 2, wherein The performing DLL plugin development for each test item as a unit further includes: Distinguish the DLL plugins corresponding to the test items according to automatic test items and manual test items, where the automatic test items are test items with automatic result determination.

4. The method according to claim 2, wherein The method further includes: When there is a vulnerability in a certain DLL plugin, re-develop the DLL plugin for the test item corresponding to the vulnerability; Replace the DLL plugin with a vulnerability with a new DLL plugin.

5. The method according to claim 2, wherein The method further includes: When a certain DLL plugin needs to be optimized, re-develop the DLL plugin for the test item corresponding to the DLL plugin to be optimized to obtain a new DLL plugin; Replace the DLL plugin to be optimized with a new DLL plugin.

6. The method according to claim 2, wherein When a new test item is added to the product, the method further includes: Develop a DLL plugin for the new test item to obtain a DLL plugin corresponding to the new test item; Add the DLL plugin corresponding to the new test item to the test software.

7. The method according to claim 1, wherein The determining and combining the order of the functional test plugins and the test set based on the test requirements includes: Obtain the requirements for the arrangement of the test processes in the factory; Determine the test order of the product functions according to the requirements; Arrange the functional test plugins by means of script editing according to the test order.

8. The method according to claim 7, wherein The script is saved in text form.

9. A product testing device, characterized in that, Including: A decoupling module for decoupling the code of the test program according to the product function; A plugin development module for developing plugins for functional test items based on the decoupled code to obtain functional test plugins corresponding to each test item; A plugin combination module for combining some of the functional test plugins into a test set, where the functional test plugins for each test item in the same test set support parallel testing; A product testing module for determining and combining the order of the functional test plugins and the test set based on the test requirements to perform functional testing on the product according to the order.

10. An electronic device, characterized in that, Including: At least one processor and a memory, where a program is stored in the memory, and when the program is executed by the at least one processor, the program causes the electronic device to execute the product testing method according to any one of claims 1 to 8.