Product mixed-line testing method, device, equipment and storage medium
Patent Information
- Application Number
- CN202211617177.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-16
- Publication Date
- 2026-09-11
- Estimated Expiration
- 2042-12-16
AI Technical Summary
[0004]本发明的主要目的在于提供一种产品混线测试方法、装置、设备及存储介质,旨在解决现有技术无法在一套系统中自动完成针对不同产品的不同测试项目的技术问题
[0015]本发明当检测到存在待测产品进入测试工位时,读取所述待测产品的工装识别码;根据所述工装识别码确定产品信息;根据所述产品信息确定产品测试计划,并按照所述产品测试计划调用目标测试程序进行测试。通过这种方式,实现了根据待测产品的产品信息的不同生成对应的不同的产品测试计划,从而可以在不进行测试系统切换的情况下进行测试,使得可以实现为各种不同的产品进行不同项目的测试,并且不需要切换不同的测试系统,节省了时间,提高了测试效率。
Smart Images

Figure CN115617699B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of product testing technology, and in particular to a product cross-line testing method, apparatus, equipment, and storage medium. Background Technology
[0002] Current testing of wireless acoustic products all adopts multi-station sequential testing. When the same product is tested in different workstations for different projects, it needs to be picked up and put away multiple times. Because there are many types of products, each product uses a dedicated testing system for testing. Each time a product is changed, a different testing system needs to be switched, which wastes time.
[0003] The above content is only used to help understand the technical solution of the present invention and does not represent an admission that the above content is prior art. Summary of the Invention
[0004] The main objective of this invention is to provide a product cross-line testing method, apparatus, equipment, and storage medium, aiming to solve the technical problem that existing technologies cannot automatically complete different test items for different products in a single system.
[0005] To achieve the above objectives, the present invention provides a product cross-line testing method, the method comprising the following steps: When a product under test is detected entering the test station, the tooling identification code of the product under test is read. Product information is determined based on the tooling identification code; Based on the product information, a product testing plan is determined, and the target testing program is invoked to perform the test according to the product testing plan.
[0006] Optionally, when a product under test is detected entering the testing station, reading the tooling identification code of the product under test includes: When a reset message is received from the logic controller, the test station checks whether the product under test is present. When a product under test is detected entering the test station, a call command is sent to the near-field communication module to read the tooling identification code of the product under test through the near-field communication module.
[0007] Optionally, the step of determining a product testing plan based on the product information and calling the target testing program to perform testing according to the product testing plan includes: Determine at least one target test procedure based on the product test plan; Identify the target slave device corresponding to each target test program; The program call instructions are sent to each target slave device in sequence to call the test program of each target to complete each test item.
[0008] Optionally, the step of sequentially sending program call instructions to each target slave device to sequentially call each target test program to complete each test item includes: The test procedure sequence shall be determined according to the product test plan. The order of instruction transmission is determined according to the sequence of the test procedure. In accordance with the order of instruction sending, program call instructions are sent to each target slave device in sequence to call each target test program to complete each test item.
[0009] Optionally, the step of sending program call instructions to each target slave device sequentially according to the instruction sending order, so as to sequentially call each target test program to complete each test item, includes: The first and last calling programs are determined according to the order in which the instructions are sent. The first slave device and the last slave device are determined according to the first call procedure and the last call procedure; The target test programs are called sequentially according to the order of the first slave device, the last slave device, and the instruction sending to complete the tests for each item.
[0010] Optionally, the step of sequentially calling each target test program to complete each item test according to the order of the first slave device, the last slave device, and the instruction sending includes: Send the first-order call instruction to the first-order slave device so that the first-order slave device calls the first-order call procedure; When the test completion information is received from the first slave device, the test module is rotated according to the preset rotation strategy, and program call instructions are sent to each target slave device in sequence according to the instruction sending order. The test module is a circular rotating platform, which includes at least one sub-test module. Each sub-test module is equipped with the test equipment corresponding to each test item. When the test completion information is received from the last slave device, the test module is reset according to the preset rotation strategy to complete the tests for each item.
[0011] Optionally, when the test completion information is received from the first slave device, the test module is rotated according to a preset rotation strategy, and program call instructions are sent to each target slave device sequentially according to the instruction sending order, including: When the test completion information is received from the first slave device, the target position of the test module is determined according to the preset rotation strategy; According to the preset rotation strategy and the target position, a rotation command is sent to the test module to make the test module rotate and adjust the activated sub-test module; When the rotation positioning information is received from the test module, program call instructions are sent to each target slave device in sequence according to the instruction sending order.
[0012] Furthermore, to achieve the above objectives, the present invention also proposes a product mixing line testing device, the product mixing line testing device comprising: The product identification module is used to read the tooling identification code of the product under test when it is detected that a product under test has entered the test station. The information determination module is used to determine product information based on the tooling identification code; The product testing module is used to determine a product testing plan based on the product information and to call the target testing program to perform testing according to the product testing plan.
[0013] Furthermore, to achieve the above objectives, the present invention also proposes a product crossover testing device, which includes: a memory, a processor, and a product crossover testing program stored in the memory and executable on the processor, wherein the product crossover testing program is configured to implement the steps of the product crossover testing method described above.
[0014] Furthermore, to achieve the above objectives, the present invention also proposes a storage medium storing a product line mixing test program, wherein when the product line mixing test program is executed by a processor, it implements the steps of the product line mixing test method described above.
[0015] When a product under test is detected entering the testing station, this invention reads the tooling identification code of the product under test; determines the product information based on the tooling identification code; determines the product testing plan based on the product information; and calls the target testing program to perform the test according to the product testing plan. In this way, different product testing plans are generated based on different product information of the product under test, allowing testing to be performed without switching testing systems. This enables testing of various products for different projects without switching between different testing systems, saving time and improving testing efficiency. Attached Figure Description
[0016] Figure 1 This is a schematic diagram of the structure of the product cross-line testing equipment for the hardware operating environment involved in the embodiments of the present invention; Figure 2 This is a flowchart illustrating the first embodiment of the product mixing test method of the present invention; Figure 3 This is a flowchart illustrating the second embodiment of the product mixing test method of the present invention; Figure 4 This is a schematic diagram of the test module in the second embodiment of the product mixing test method of the present invention; Figure 5 This is a schematic diagram of the circuit structure in the second embodiment of the product cross-line testing method of the present invention; Figure 6 This is a schematic diagram of the system structure in the second embodiment of the product mixing test method of the present invention; Figure 7 This is a schematic diagram of product testing interaction in the second embodiment of the product mixing line testing method of the present invention; Figure 8 This is a structural block diagram of the first embodiment of the product mixing test device of the present invention.
[0017] The realization of the objective, functional features and advantages of the present invention will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0018] It should be understood that the specific embodiments described herein are for illustrative purposes only and are not intended to limit the scope of the invention.
[0019] Reference Figure 1 , Figure 1 This is a schematic diagram of the product cross-line testing equipment structure for the hardware operating environment involved in the embodiments of the present invention.
[0020] like Figure 1 As shown, the product cross-line testing equipment may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. The communication bus 1002 is used to enable communication between these components. The user interface 1003 may include a display screen and an input unit such as a keyboard; optionally, the user interface 1003 may also include a standard wired interface or a wireless interface. The network interface 1004 may optionally include a standard wired interface or a wireless interface (such as a Wireless-Fidelity (Wi-Fi) interface). The memory 1005 may be a high-speed random access memory (RAM) or a stable non-volatile memory (NVM), such as a disk drive. Optionally, the memory 1005 may also be a storage device independent of the aforementioned processor 1001.
[0021] Those skilled in the art will understand that Figure 1 The structure shown does not constitute a limitation on the product mixing line test equipment, and may include more or fewer components than shown, or combine certain components, or have different component arrangements.
[0022] like Figure 1As shown, the memory 1005, which serves as a storage medium, may include an operating system, a network communication module, a user interface module, and a product cross-line test program.
[0023] exist Figure 1 In the product line mixing test equipment shown, the network interface 1004 is mainly used for data communication with the network server; the user interface 1003 is mainly used for data interaction with the user; the processor 1001 and the memory 1005 in the product line mixing test equipment of the present invention can be set in the product line mixing test equipment. The product line mixing test equipment calls the product line mixing test program stored in the memory 1005 through the processor 1001 and executes the product line mixing test method provided in the embodiment of the present invention.
[0024] This invention provides a product mixing test method, referring to... Figure 2 , Figure 2 This is a flowchart illustrating the first embodiment of a product mixing line testing method according to the present invention.
[0025] In this embodiment, the product mixing test method includes the following steps: Step S10: When a product under test is detected entering the test station, the tooling identification code of the product under test is read.
[0026] It should be noted that the execution subject of this embodiment is the host on the product mixed-line testing system or product mixed-line testing device, which can be any computer device, and this embodiment does not limit it.
[0027] It should be understood that current testing of various products requires building test systems and pipelines tailored to different products, which consumes more resources and wastes time on product classification testing. The solution in this embodiment generates different product test plans based on the product information of the product under test, thus enabling testing without switching test systems. This allows for testing different items on various products without switching between different test systems, saving time and improving testing efficiency.
[0028] In practice, the product under test can be any industrial product, such as wireless headphones. The test station is the corresponding station in the test module used to store the product under test.
[0029] It should be noted that the tooling identification code refers to the identification code of the RFID tag installed on the product under test.
[0030] Furthermore, in order to accurately read the tooling identification code of the product under test, step S10 includes: when a reset information of the logic controller is received, detecting whether there is a product under test at the test station; when a product under test is detected to have entered the test station, sending a call command to the near-field communication module to read the tooling identification code of the product under test through the near-field communication module.
[0031] It should be understood that the logic controller refers to a programmable logic controller (PLC), and the reset information refers to the information issued by the logic controller and fed back to the host after the product mixing line test system and device have completed initialization.
[0032] In practice, after receiving the reset information, the test station is then inspected to determine whether there is a product to be tested at the test station. The specific inspection method can be any method, such as video images, station pressure, etc.
[0033] It should be noted that once the presence of a product under test entering the testing station is detected, the near-field communication module is invoked, enabling the near-field communication module to read the tooling identification code of the product under test using NFC technology.
[0034] In this way, the logic controller reset is confirmed before product testing begins, and the tooling identification code of the product under test is read by the near-field communication module, making the product test plan more accurate.
[0035] Step S20: Determine product information based on the tooling identification code.
[0036] It should be understood that product information refers to the product type of the product under test, as well as the types of tests required. Product information is determined by querying internal storage based on the tooling identification code.
[0037] Step S30: Determine the product testing plan based on the product information, and call the target testing program to perform the test according to the product testing plan.
[0038] In practice, after obtaining product information, the target test program to be called is determined according to the product test plan, and then the product under test is tested by calling the target test program.
[0039] This embodiment reads the tooling identification code of the product under test when it is detected entering the test station; determines the product information based on the tooling identification code; determines the product test plan based on the product information; and calls the target test program to perform the test according to the product test plan. In this way, different product test plans are generated according to different product information of the product under test, allowing testing to be performed without switching test systems. This enables testing of various products for different projects without switching between different test systems, saving time and improving testing efficiency.
[0040] refer to Figure 3 , Figure 3 This is a flowchart illustrating a second embodiment of a product mixing line testing method according to the present invention.
[0041] Based on the first embodiment described above, the product cross-line testing method of this embodiment includes the following in step S30: Step S301: Determine at least one target test procedure according to the product test plan.
[0042] It should be noted that the target test program refers to the test items that the user has pre-configured and that the product under test needs to undergo, as determined by the product test plan. Each item corresponds to a target test program.
[0043] Step S302: Determine the target slave device corresponding to each target test program.
[0044] It should be understood that after the target test program is determined, the target slave device to be called is then determined based on the target test program. The target slave device is a computer device that remotely connects and transmits information with the host. It can be any brand and type of computer device, and this embodiment does not limit it.
[0045] Step S303: Send program call instructions to each target slave device in sequence to call each target test program in sequence to complete each test item.
[0046] In practice, a call command refers to the instruction sent by the host to each target slave device, enabling each slave device to invoke its corresponding target test program to complete various test items for the product under test. Specifically, test items include, but are not limited to, radio frequency testing, audio testing, and noise reduction testing.
[0047] Furthermore, in order to enable the various test items to be performed sequentially according to the product test plan, step S303 includes: determining the test program order according to the product test plan; determining the instruction sending order according to the test program order; and sending program call instructions to each target slave device in sequence according to the instruction sending order, so as to sequentially call each target test program to complete each test item.
[0048] It should be noted that the test program sequence refers to the order in which the various target test programs are called and run, as determined by the product test plan.
[0049] It should be understood that the instruction sending order refers to the order in which the target test programs are called, which is determined according to the order of the test programs. The order of sending program call instructions corresponds to the order of the test programs.
[0050] In practice, once the instruction sending order is determined, the host sends program call instructions to each target slave in the order of instruction sending, thereby sequentially calling each target test program to complete the test item.
[0051] In this way, the target test programs are called sequentially according to the product test plan to complete the test of the product under test.
[0052] Furthermore, in order to accurately determine the calling logic and complete the project tests in sequence, program calling instructions are sent to each target slave device in the order of instruction sending to call each target test program in sequence to complete each test item. This includes: determining the first calling program and the last calling program in the order of instruction sending; determining the first slave device and the last slave device based on the first calling program and the last calling program; and calling each target test program in sequence according to the first slave device, the last slave device, and the order of instruction sending to complete each project test.
[0053] It should be noted that, firstly, the first and last order of each target calling program are determined according to the order in which the instructions are sent, which are respectively the first calling program and the last calling program. Then, the target slave corresponding to the first calling program is designated as the first slave, and the slave corresponding to the last calling program is designated as the last slave.
[0054] It should be understood that calling each target test program sequentially according to the first slave, the last slave, and the instruction sending order to complete each project test means: determining the instruction sending order and the starting and last slaves according to the first and last slaves, so that the project tests can be performed in sequence.
[0055] In this way, the first and last slave devices can be determined, thus enabling accurate execution of the call logic and test sequence.
[0056] Furthermore, to ensure accurate testing and device reset after each test item, the steps of sequentially calling each target test program to complete each test item according to the order of the first slave device, the last slave device, and the instruction sending include: sending the first call instruction to the first slave device to call the first call program; when receiving test completion information from the first slave device, rotating the test module according to a preset rotation strategy, and sequentially sending program call instructions to each target slave device according to the instruction sending order; the test module is a circular rotating platform, which includes at least one sub-test module, each sub-test module having the test equipment corresponding to each test item installed; when receiving test completion information from the last slave device, resetting the test module according to the preset rotation strategy to complete each test item.
[0057] In practice, once the primary slave device is identified, the primary invocation program is first sent to it, causing the primary slave device to invoke the primary invocation program to begin the first project test of the product under test. The primary invocation program is the target invocation program corresponding to the primary slave device.
[0058] It should be noted that when the first slave device calls the first calling program and completes the corresponding project test, it will send a test completion message back to the host. After receiving the test completion message, the host will rotate the test module according to the preset rotation strategy, so that the next target slave device can be called, and so on, to complete the test.
[0059] It should be understood that, as Figure 4 The diagram shown is a schematic of the test module. Figure 5 The diagram shown is a circuit structure diagram of the test module involved in this embodiment. Figure 6 The diagram shows the operational structure of the product mixed-line testing device. The testing module includes a rotating platform with several slave devices corresponding to different workstations. Each workstation corresponds to a different sub-test module, and each sub-test module corresponds to different test items and slave devices. Specifically, the preset rotation strategy is that after each test item is completed, the rotating platform is rotated so that the next workstation is positioned at the PLC location, the target program is invoked for testing, and after completion, it rotates to the location of the next target slave device to perform the next test item.
[0060] In practice, when the test completion information is received from the last slave device, it is determined that all test items of the product under test have been completed. Then, the test module is rotated and reset according to the preset rotation strategy to complete the test of each item.
[0061] In this way, project testing is carried out based on the test module, and different slave and sub-test modules can be activated by rotating the platform to conduct product testing, thus realizing the integration of multiple test items in a single system.
[0062] Furthermore, in order to control the rotating platform sequentially, the steps of rotating the test module according to a preset rotation strategy and sending program call instructions to each target slave in sequence according to the instruction sending order when the test completion information fed back by the first slave includes: when the test completion information fed back by the first slave is received, determining the target position of the test module according to the preset rotation strategy; sending a rotation instruction to the test module according to the preset rotation strategy and the target position to make the test module rotate and adjust the activated sub-test module; and when the rotation position information fed back by the test module is received, sending program call instructions to each target slave in sequence according to the instruction sending order.
[0063] It should be noted that when the test completion information is received from the first slave device, the target position of the test module is first determined according to the preset rotation strategy, that is, the posture of rotating to the next target position and the position of the sub-test module to be activated.
[0064] It should be understood that once the target position is determined, a rotation command is sent to the test module according to the preset rotation strategy, so that the rotation platform of the test module will activate the sub-test modules on the test module for the next project test.
[0065] In practice, after receiving the rotation positioning information from the test module, a program call instruction is sent to each target slave device to continue the test process. Specifically, for example... Figure 7 The diagram shows the interaction of product testing. Taking audio testing, radio frequency testing and other items as examples, the rotating platform is first reset, and then the product under test is tested. After completing one test, the platform is rotated, and then the next test is performed, until the test of product 1 is completed. Then the platform is reset, and the test of product 2 is performed. This allows for different tests to be performed according to different products, and can be adapted to different products.
[0066] In this way, a more flexible and accurate control test module is achieved to assist in completing product testing, making product testing more convenient and faster.
[0067] This embodiment determines at least one target test program according to the product test plan; determines the target slave device corresponding to each target test program; and sequentially sends program call instructions to each target slave device to call each target test program to complete each test item. In this way, it achieves the completion of each test item by synchronizing the required test programs to the target slave devices, making the testing of the product under test more accurate and convenient.
[0068] Furthermore, embodiments of the present invention also propose a storage medium storing a product crossover test program, wherein when the product crossover test program is executed by a processor, it implements the steps of the product crossover test method described above.
[0069] Since this storage medium adopts all the technical solutions of all the above embodiments, it has at least all the beneficial effects brought about by the technical solutions of the above embodiments, which will not be elaborated here.
[0070] Reference Figure 8 , Figure 8 This is a structural block diagram of the first embodiment of the product mixing test device of the present invention.
[0071] like Figure 8 As shown, the product mixing line testing device proposed in this embodiment of the invention includes: The product identification module 10 is used to read the tooling identification code of the product under test when it is detected that a product under test has entered the test station.
[0072] The information determination module 20 is used to determine product information based on the tooling identification code.
[0073] Product testing module 30 is used to determine a product testing plan based on the product information and to call the target testing program to perform testing according to the product testing plan.
[0074] This embodiment reads the tooling identification code of the product under test when it is detected entering the test station; determines the product information based on the tooling identification code; determines the product test plan based on the product information; and calls the target test program to perform the test according to the product test plan. In this way, different product test plans are generated according to different product information of the product under test, allowing testing to be performed without switching test systems. This enables testing of various products for different projects without switching between different test systems, saving time and improving testing efficiency.
[0075] In one embodiment, the product identification module 10 is further configured to detect whether there is a product under test at the test station when it receives a reset information from the logic controller; when it detects that a product under test has entered the test station, it sends a call command to the near-field communication module to read the tooling identification code of the product under test through the near-field communication module.
[0076] In one embodiment, the product testing module 30 is further configured to determine at least one target test program according to the product testing plan; determine the target slave device corresponding to each target test program; and sequentially send program call instructions to each target slave device to sequentially call each target test program to complete each test item.
[0077] In one embodiment, the product testing module 30 is further configured to determine the test program sequence according to the product testing plan; determine the instruction sending sequence according to the test program sequence; and send program call instructions to each target slave device in sequence according to the instruction sending sequence, so as to call each target test program in sequence to complete each test item.
[0078] In one embodiment, the product testing module 30 is further configured to determine the first calling program and the last calling program according to the order of instruction sending; determine the first slave device and the last slave device according to the first calling program and the last calling program; and sequentially call each target test program according to the first slave device, the last slave device and the order of instruction sending to complete each item test.
[0079] In one embodiment, the product testing module 30 is further configured to send the first-hand call instruction to the first-hand slave device, so that the first-hand slave device calls the first-hand call program; when the test completion information is received from the first-hand slave device, the testing module is rotated according to a preset rotation strategy, and program call instructions are sent to each target slave device in sequence according to the instruction sending order. The testing module is a circular rotating platform, and the rotating platform includes at least one sub-test module, each sub-test module being equipped with the test equipment corresponding to each test item; when the test completion information is received from the last-hand slave device, the testing module is reset according to the preset rotation strategy to complete the tests for each item.
[0080] In one embodiment, the product testing module 30 is further configured to, upon receiving test completion information from the first slave device, determine the target position of the testing module according to a preset rotation strategy; send a rotation command to the testing module according to the preset rotation strategy and the target position, so that the testing module rotates and adjusts the activated sub-test module; and, upon receiving rotation positioning information from the testing module, send program call commands to each target slave device sequentially according to the command sending order.
[0081] It should be understood that the above are merely illustrative examples and do not constitute any limitation on the technical solutions of the present invention. In specific applications, those skilled in the art can make settings as needed, and the present invention does not impose any restrictions on this.
[0082] It should be noted that the workflow described above is merely illustrative and does not limit the scope of protection of this invention. In practical applications, those skilled in the art can select some or all of the workflow to achieve the purpose of this embodiment according to actual needs, and no restrictions are imposed here.
[0083] In addition, for technical details not described in detail in this embodiment, please refer to the product mixing test method provided in any embodiment of the present invention, which will not be repeated here.
[0084] Furthermore, it should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or system. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or system that includes that element.
[0085] The sequence numbers of the above embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0086] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as read-only memory (ROM) / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of the present invention.
[0087] The above are merely preferred embodiments of the present invention and do not limit the scope of the patent. Any equivalent structural or procedural transformations made based on the description and drawings of the present invention, or direct or indirect applications in other related technical fields, are similarly included within the scope of patent protection of the present invention.
Claims
1. A product mixing test method, characterized in that, The product cross-line testing method includes: when a product under test is detected entering the test station, reading the tooling identification code of the product under test; determining product information based on the tooling identification code; determining a product test plan based on the product information, and calling target test programs according to the product test plan, with each target test program corresponding to a target slave device, and determining the target slave device corresponding to each target test program; determining the instruction sending order based on the test program order; sending program call instructions to each target slave device sequentially according to the instruction sending order, and determining the first and last calling programs according to the instruction sending order; determining the first and last slave devices based on the first and last calling programs; and determining the first and last slave devices based on the first and last calling programs. The slave devices and the instructions are sent sequentially to call each target test program to complete each item test. The test module includes a rotating platform with several slave devices corresponding to different workstations. Each workstation corresponds to a different sub-test module, and each sub-test module corresponds to a different item test and slave device. When the test completion information is received from the last slave device, the test module is reset according to the preset rotation strategy to complete each item test. The preset rotation strategy is that after each item test is completed, the rotating platform is rotated so that the next workstation is rotated to the position of the PLC, and then the target calling program is called to perform the test. After the test is completed, it is rotated to the position of the next target slave device to perform the next item test.
2. The method as described in claim 1, characterized in that, The step of reading the tooling identification code of the product under test when it is detected that a product under test has entered the test station includes: when a reset information of the logic controller is received, detecting whether there is a product under test at the test station; when a product under test is detected to have entered the test station, sending a call command to the near-field communication module to read the tooling identification code of the product under test through the near-field communication module.
3. The method as described in claim 1, characterized in that, The step of sequentially invoking each target test program to complete each item test according to the order of the first slave device, the last slave device, and the instruction sending includes: sending the first call instruction to the first slave device so that the first slave device calls the first call program; when receiving test completion information from the first slave device, rotating the test module according to a preset rotation strategy, and sequentially sending program call instructions to each target slave device according to the instruction sending order, wherein the test module is a circular rotating platform, the rotating platform includes at least one sub-test module, and each sub-test module is equipped with the test equipment corresponding to each test item; when receiving the test completion information from the last slave device, resetting the test module according to the preset rotation strategy to complete each item test.
4. The method as described in claim 3, characterized in that, When the test completion information is received from the first slave device, the test module is rotated according to a preset rotation strategy, and program call instructions are sent to each target slave device in the order of instruction sending. This includes: when the test completion information is received from the first slave device, determining the target position of the test module according to the preset rotation strategy; sending a rotation instruction to the test module according to the preset rotation strategy and the target position to rotate the test module and adjust the activated sub-test module; and when the rotation is completed and the test module receives feedback from the test module, sending program call instructions to each target slave device in the order of instruction sending.
5. A product mixing line testing device, characterized in that, The product mixed-line testing device includes: a product identification module, used to read the tooling identification code of the product under test when a product under test is detected entering the testing station; an information determination module, used to determine product information based on the tooling identification code; and a product testing module, used to determine a product testing plan based on the product information, and call target testing programs according to the product testing plan, each target testing program corresponding to a target slave device, and determine the instruction sending order through the test program sequence; send program calling instructions to each target slave device sequentially according to the instruction sending order, and determine the first calling program and the last calling program according to the instruction sending order; determine the first slave device and the last slave device based on the first calling program and the last calling program; and determine the first slave device and the last slave device based on the first slave device. The last slave device and the instruction sending sequence sequentially call each target test program to complete each item test. The test module includes a rotating platform with several slave devices corresponding to different workstations. Each workstation corresponds to a different sub-test module, and each sub-test module corresponds to different item tests and slave devices. When the test completion information is received from the last slave device, the test module is reset according to the preset rotation strategy to complete each item test. The preset rotation strategy is that after each item test is completed, the rotating platform is rotated so that the next workstation is rotated to the position of the PLC, and then the target calling program is called to perform the test. After the test is completed, it is rotated to the position of the next target slave device to perform the next item test.
6. A product mixing line testing device, characterized in that, The device includes: a memory, a processor, and a product line mixing test program stored in the memory and executable on the processor, the product line mixing test program being configured to implement the product line mixing test method as described in any one of claims 1 to 4.
7. A storage medium, characterized in that, The storage medium stores a product line mixing test program, which, when executed by a processor, implements the product line mixing test method as described in any one of claims 1 to 4.
Citation Information
Patent Citations
Intelligent equipment factory testing method and system based on Internet of Things, medium and terminal
CN115361406A