Production line data acquisition and monitoring system and method, storage medium and equipment
By introducing intelligent inspection tooling and a cloud platform for production inspection data, the problem of network dependence in the production inspection of intelligent equipment has been solved, efficient and stable data interaction and automated software updates have been achieved, and the efficiency of production inspection and manufacturing processes have been improved.
Patent Information
- Application Number
- CN202510889427.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-30
- Publication Date
- 2025-10-03
AI Technical Summary
In the existing smart device production and testing process, the UDP data exchange between the host computer test software platform and the WiFi module has high requirements for the network environment, resulting in low detection efficiency, the inability to remotely track test results in real time, and the reliance on manual software version updates, which affects the efficiency and convenience of production testing.
Intelligent detection tooling is introduced, including routing modules and detection modules, to form local area network and WiFi module communication, realize data interaction through serial port communication, and upload test results to the production detection data cloud platform, automatically updating the host computer test software version.
It improves the efficiency and stability of production testing, avoids performance issues caused by differences in network environments, enables remote data analysis and automatic updates of software versions, and improves production and manufacturing processes.
Smart Images

Figure CN120742817A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of automation technology, and in particular to a system, method, storage medium and device for collecting and monitoring production line data. Background Art
[0002] With the gradual popularization of smart home appliances in the market, the "smart" part of home appliances has become more important in the production and testing process before leaving the factory. In order to improve the production and testing efficiency of smart products and timely track and analyze problems that arise in the production and testing process, the product manufacturing process should be optimized and improved simultaneously.
[0003] Figure 1 This paper depicts a conventional testing system for smart devices on a dynamic production line. The system comprises the smart device (primarily comprising a display panel unit, an MCU unit, a WiFi module, and the corresponding SN and MAC barcode labels on the smart device), a host computer testing software platform (including the host computer, wireless network card, and barcode scanning device), and a test router. The testing system primarily tests: writing the SN barcode label content to the WiFi module, detecting serial port communication between the WiFi module and the MCU, verifying the WiFi module's software version information, and switching the WiFi module's application status. The testing system operates as follows: the host computer's wireless network card is permanently connected to the test router. After the smart device under test is powered on, the WiFi module actively connects to the test router. At this point, the host computer testing software platform and the WiFi module of the smart device under test are on the same local area network, enabling UDP network data communication. This communication is initiated by the host computer, and the WiFi module responds. The host computer then displays the test results based on the WiFi module's response data.
[0004] However, the key link in the current smart device production and testing process lies in the UDP data interaction between the host computer test software platform and the WiFi module. This process has certain requirements for the network environment. Whether the test router itself or the host computer's wireless network card has an abnormality, it will affect the efficiency of the entire production and testing process; in addition, the test results of each smart device are retained in the local test records of the host computer test software, which is not conducive to remote personnel to track and grasp the production and testing status of smart products in real time; finally, since the test router mentioned at this stage is not connected to the network, the version update of the host computer test software relies on manual completion, which also brings inconvenience to software version maintenance. Summary of the Invention
[0005] One of the objectives of the present invention is to provide a production line data collection and monitoring system to solve the above-mentioned problem.
[0006] In order to achieve the above-mentioned object, a production line data collection and monitoring system is provided, including an intelligent device and a host computer test software platform, characterized in that: it also includes an intelligent detection tooling and a production detection data cloud platform, the intelligent detection tooling includes a routing module and a detection module, the routing module is communicatively connected to the detection module, the WiFi module of the intelligent device and the wireless network card of the host computer test software platform, the detection module and the WiFi module form a local area network and perform UDP network communication, and the detection module and the host computer test software platform perform serial port communication;
[0007] The WiFi module of the smart device is configured to be in STA network mode when the smart device fails the test. The STA network mode indicates that the smart device actively scans and connects to the routing module of the smart detection tooling after power is turned on. The WiFi module is also configured to be in AP network mode after the smart device passes the test. The AP network mode indicates that the WiFi module itself will release a WiFi hotspot identified by an SN.
[0008] The host computer test software platform is used to obtain the MAC barcode label content and the SN barcode label content attached to the smart device to be tested through a code scanning device, and after verifying the content of the label, send it to the detection module of the intelligent detection tooling via serial communication, and at the same time receive the data returned by the detection module, and obtain the test results after parsing; report the test results to the production detection data cloud platform through the routing module; after the host computer test software platform is started, it regularly checks whether there is a new version update on the production detection data cloud platform. If so, the new version of the software is downloaded and automatically refreshed.
[0009] Furthermore, the production inspection data cloud platform is used to store the test results reported by the host computer software testing platform, and to parse and process the test results, and analyze the real-time status of smart products in the production inspection link. The real-time status includes: the test line of the equipment, the total number of tests, the test success rate, and the average test time; it is also used to deploy a new version of the host computer test software for detection and updating by the host computer test software platform.
[0010] Furthermore, the production inspection data cloud platform is used to store the test results reported by the host computer software testing platform, and to parse and process the test results, and analyze the real-time status of smart products in the production inspection link. The real-time status includes: the test line of the equipment, the total number of tests, the test success rate, and the average test time; it is also used to deploy a new version of the host computer test software for detection and updating by the host computer test software platform.
[0011] Furthermore, the intelligent detection tooling also includes a power supply device and a serial communication device. The detection module and the host computer test software platform perform serial data communication through the serial communication device. The detection module is connected to the routing module and performs UDP network communication with the WiFi smart module connected to the routing module. The routing module has an Internet access function and is connected to three ends: the wireless network card of the host computer test software platform, the detection module and the WiFi module, wherein the WiFi module and the detection module form a local area network for UDP network communication.
[0012] Furthermore, the host computer test software platform is used to locally display the test results, perform corresponding presentation after analysis, and prompt the test results of the smart device to be tested.
[0013] A second object of the present invention is to provide a method for collecting and monitoring production line data, which uses a production line data collection and monitoring system according to any one of claims 1 to 4, and includes the following steps in the preparation stage:
[0014] S1. Connect the intelligent detection tool to the host computer through the serial port and power it on. At this time, the detection module and routing module start working. The routing module releases a specifically named WiFi hotspot, and the detection module automatically connects to the hotspot.
[0015] S2. After the host computer is connected to the above-mentioned WiFi hotspot, it opens the host computer test software, identifies the communication serial port, and detects whether the serial port communication between it and the detection module of the intelligent detection tooling is normal. If normal, the host computer generates a prompt message indicating that the serial port communication is ready, otherwise it prompts that the serial port communication is abnormal; further, the host computer sends a data request to the production detection data cloud platform, and the request data includes the current host computer version number, which is used to query whether the production detection data cloud platform has an updated host computer test software version; if a new version is reported, the host computer starts downloading the latest version from the production detection data cloud platform, and restarts the software after the download is complete, otherwise the host computer prompts that no update is required;
[0016] S3. On the host computer interface, set the software version number information, software archive number information, and line information of the smart product to be tested. After the settings are completed, all preparations are completed.
[0017] Furthermore, the testing phase includes the following steps:
[0018] S4. After the smart device to be tested is powered on, the WiFi module is in STA mode and will actively connect to the WiFi hotspot released by the routing module in the intelligent detection tooling. At this time, the WiFi module of the smart device to be tested and the detection module of the intelligent detection tooling will be in the same local area network and can perform UDP network communication;
[0019] S5. The scanner connected to the host computer scans the SN tag information and MAC tag information attached to the smart device to be tested, and then starts to package the serial port data. After the package is completed, it is sent to the detection module of the intelligent detection tooling;
[0020] S6. The detection module of the intelligent detection tooling sends UDP broadcast data. After receiving the UDP broadcast data, the WiFi module of the smart device starts automatic verification and related detection, and finally replies the test results to the detection module of the intelligent tooling in the form of UDP unicast. The detection module then returns the test results to the host computer through the serial port;
[0021] S7. After the host computer presents the test result of the smart device to be tested, it saves the test result locally; in addition, the host computer repackages the test result into a JSON data and reports the JSON data to the production inspection data cloud platform.
[0022] Furthermore, the json data contains not only the record of the test result, but also the test line body and host computer connection network parameters; the test result includes test time, test SN, test MAC, test software archive number, test software version number, test result, and test time.
[0023] A third object of the present invention is to provide a computer-readable storage medium, which includes a production line data collection and monitoring program. When the production line data collection and monitoring program is executed by a processor, the steps of the production line data collection and monitoring method described above are implemented.
[0024] A fourth object of the present invention is to provide a computer device, which includes the storage medium as described above, and a processor, and the processor is used to execute a production line data collection and monitoring program in the storage medium.
[0025] Principles and advantages:
[0026] 1. Compared with the existing technology, this solution simplifies the host computer test software platform. It no longer needs to send and receive UDP communication data. During the equipment test process, the host computer test software platform only needs to maintain serial port data communication with the detection module described in the intelligent detection tooling. This avoids the performance differences in the network communication process caused by hardware differences in the test computer. It ensures the efficiency of the production inspection link and the test stability, thereby improving the detection accuracy.
[0027] 2. In the production test software currently used, UDP packaging and sending and receiving processing are all executed by the host computer test software platform. After the test router is deployed on the test line, each time the test computer is turned on, it is necessary to ensure that the computer is connected to the test router. If there are multiple production lines in the production workshop, the WiFi module to be tested may be connected to the test router deployed on other lines after power-on (for example: there are line 1 and line 2, the WiFi test module of line 1 may be connected to the test router deployed on line 2, and the test computer of line 1 itself is connected to the test router of line 1). This will cause the test computer and the WiFi test module of the line to be not in the same local area network, and UDP data interaction cannot be performed normally. The intelligent detection tooling described in this solution has a better signal shielding effect and realizes the functions of the test router (routing module) and wireless network card (detection module) inside the detection device, effectively avoiding the problem of network interference between different production lines.
[0028] 3. Compared to current test routers, the routing module proposed in this solution has internet access. This greatly facilitates version updates of host computer test software, remote analysis of test data, and remote querying, effectively improving the manufacturing process of current smart devices. Furthermore, the production test data cloud platform can provide excellent data support for discrepancies in production test results between different WiFi module software versions, thereby assisting in identifying WiFi module software issues and promoting improvements in its R&D quality. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] Figure 1 This is a logic block diagram of the existing production line data collection and monitoring system;
[0030] Figure 2 This is a logic block diagram of a production line data collection and monitoring system according to an embodiment of the present invention;
[0031] Figure 3 Flowchart for detecting UDP communication between smart devices and routing modules. DETAILED DESCRIPTION
[0032] The following is further described in detail through specific implementation methods:
[0033] Example
[0034] A production line data collection and monitoring system, basically Figure 2 As shown, it includes intelligent equipment, a host computer test software platform, intelligent detection tooling and a production detection data cloud platform. The core of the intelligent detection tooling includes a routing module and a detection module.
[0035] The smart device is mainly composed of a display panel, an MCU, and a WiFi module, and is accompanied by an SN barcode label and a MAC barcode label corresponding to the smart device. When the smart device fails to pass the test, the content of the MAC barcode is only used as the unique identifier of the WiFi module. After the smart device passes the test, the content of the SN barcode replaces the content of the MAC barcode as the unique identifier of the smart device as a whole. In addition, the WiFi module and the MCU conduct bilateral serial port data communication. The WiFi module of the smart device is used to be in STA network mode when the smart device fails to pass the test. The STA network mode indicates that it actively scans and connects to the routing module of the smart detection tooling after power is turned on; the WiFi module is also used to be in AP network mode after the smart device passes the test. The AP network mode indicates that the WiFi module itself will release a WiFi hotspot identified by an SN.
[0036] The host computer test software platform includes a host computer, a serial communication device, a storage device, a wireless network card, and a code scanning device, etc. It mainly consists of a code scanning function, a serial port data receiving and sending function, an automatic update of the host computer software version, a local test result display, and a test result reporting cloud function. The code scanning function is performed manually or automatically by a machine to obtain the MAC barcode label content and the SN barcode label content attached to the smart device to be tested. After verifying the content of the label, the communication data will be packaged and sent to the detection module described in the intelligent detection tooling via serial communication. At the same time, the serial communication data returned by the detection module will be received, parsed, and presented accordingly to prompt the test results of the smart device to be tested. Furthermore, the test results are packaged into json data and reported to the production detection data cloud platform. In addition, after the host computer test software of the host computer test software platform is started, it will regularly check whether there is a new version update on the production detection data cloud platform. If so, the new version of the software will be downloaded and automatically refreshed. The host computer test software platform is used to locally store and display test results, analyze and present them accordingly, and display the test results of the smart device under test. Compared with the existing technology, this solution simplifies the host computer test software platform. It no longer needs to send and receive UDP communication data. During the device testing process, the host computer test software platform only needs to maintain serial port data communication with the detection module described in the intelligent detection tooling, avoiding performance differences in the network communication process caused by hardware differences between the test computers.
[0037] The intelligent detection tooling includes a detection module, a routing module, a power supply device, and a serial communication device. The detection module communicates serial data with the host computer test software platform through the serial communication device. The detection module is connected to the routing module and performs UDP network communication with the WiFi smart module connected to the routing module. The routing module has an Internet access function and is connected to three ends: the wireless network card of the host computer test software platform, the detection module, and the WiFi module. The WiFi module and the detection module form a local area network for UDP network communication. In the production test software currently used, UDP packet assembly and transceiver processing are all performed by the host computer test software platform. After the test router is deployed on the test line, each time the test computer is turned on, it is necessary to ensure that the computer is connected to the test router. If there are multiple production lines in a production workshop, the WiFi module to be tested may be connected to the test router deployed on other lines after being powered on (for example, there are lines 1 and 2, and the WiFi test module of line 1 may be connected to the test router deployed on line 2, while the test computer of line 1 itself is connected to the test router of line 1). This will cause the test computer and the WiFi test module of the line to be in different local area networks, making it impossible to perform UDP data interaction normally. The intelligent detection tooling described in this solution has better signal shielding effect and realizes the functions of the test router (routing module) and wireless network card (detection module) inside the detection device, effectively avoiding the problem of network interference between different production lines.
[0038] A method for collecting and monitoring production line data, using the above-described production line data collection and monitoring system, includes the following steps during the preparation phase:
[0039] S1. Connect the intelligent detection tool to the host computer through the serial port and power it on. At this time, the detection module and routing module start working. The routing module releases a specifically named WiFi hotspot, and the detection module automatically connects to the hotspot.
[0040] S2. After the host computer is connected to the above-mentioned WiFi hotspot, it opens the host computer test software, identifies the communication serial port, and detects whether the serial port communication between it and the detection module of the intelligent detection tooling is normal. If normal, the host computer generates a prompt message indicating that the serial port communication is ready, otherwise it prompts that the serial port communication is abnormal; further, the host computer sends a data request to the production detection data cloud platform, and the request data includes the current host computer version number, which is used to query whether the production detection data cloud platform has an updated host computer test software version; if a new version is reported, the host computer starts downloading the latest version from the production detection data cloud platform, and restarts the software after the download is complete, otherwise the host computer prompts that no update is required;
[0041] S3. On the host computer interface, set the software version number information, software archive number information, and line information of the smart product to be tested. After the settings are completed, all preparations are completed.
[0042] The testing phase includes the following steps:
[0043] S4. After the smart device to be tested is powered on, the WiFi module is in STA mode and will actively connect to the WiFi hotspot released by the routing module in the intelligent detection tooling. At this time, the WiFi module of the smart device to be tested and the detection module of the intelligent detection tooling will be in the same local area network and can perform UDP network communication;
[0044] S5. The scanner connected to the host computer scans the SN tag information and MAC tag information attached to the smart device to be tested, and then starts to package the serial port data. After the package is completed, it is sent to the detection module of the intelligent detection tooling;
[0045] S6. The detection module of the intelligent detection tool sends UDP broadcast data. After the WiFi module of the smart device receives the UDP broadcast data, Figure 3 As shown, automatic verification and related tests are started, and the test results are finally replied to the detection module of the intelligent tooling in the form of UDP unicast. The detection module then returns the test results to the host computer through the serial port;
[0046] S7. After the host computer presents the test result of the smart device to be tested, it saves the test result locally; in addition, the host computer repackages the test result into a JSON data and reports the JSON data to the production inspection data cloud platform.
[0047] In addition to the record of the test result, the json data also adds the test line body and the host computer connection network parameters; the test result includes the test time, test SN, test MAC, test software archive number, test software version number, test result, and test time.
[0048] A computer-readable storage medium includes a production line data collection and monitoring program. When the production line data collection and monitoring program is executed by a processor, the steps of the production line data collection and monitoring method described above are implemented.
[0049] Those skilled in the art will understand that all or part of the processes in the above-mentioned method for collecting and monitoring production line data can be implemented by instructing related hardware through a computer program. The program can be stored in a non-volatile computer-readable storage medium. When the program is executed, it can include the processes of various embodiments of the above-mentioned method for collecting and monitoring production line data. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
[0050] A computer device includes the storage medium described above and a processor configured to execute a production line data collection and monitoring program stored in the storage medium. The computer device can be implemented as various types of devices, such as a personal computer (PC), a server, or a mobile device. The processor controls all functions of the electronic device by executing the program stored in the storage medium on the electronic device.
[0051] The above is only an embodiment of the present invention. Common knowledge such as the known specific structures and characteristics in the scheme will not be described in detail here. Those of ordinary skill in the art are aware of all common technical knowledge in the technical field to which the invention belongs before the application date or priority date, can obtain all existing technologies in the field, and have the ability to apply conventional experimental means before that date. Those of ordinary skill in the art can improve and implement this scheme in combination with their own abilities under the enlightenment given by this application. Some typical known structures or known methods should not become obstacles for those of ordinary skill in the art to implement this application. It should be pointed out that for those skilled in the art, several variations and improvements can be made without departing from the structure of the present invention. These should also be regarded as the scope of protection of the present invention. These will not affect the effect of the implementation of the present invention and the practicality of the patent. The scope of protection required by this application shall be based on the content of its claims, and the specific implementation methods and other records in the specification can be used to interpret the content of the claims.
Claims
1. A production line data collection and monitoring system, including intelligent equipment and a host computer test software platform, characterized by: It also includes an intelligent detection tooling and a production detection data cloud platform. The intelligent detection tooling includes a routing module and a detection module. The routing module is communicatively connected to the detection module, the WiFi module of the smart device, and the wireless network card of the host computer test software platform. The detection module and the WiFi module form a local area network and perform UDP network communication. The detection module and the host computer test software platform perform serial port communication; The WiFi module of the smart device is used to be in STA network mode when the smart device fails the test. The STA network mode means that after power is turned on, the WiFi module actively scans and connects to the routing module of the smart detection tooling. The WiFi module is also used to be in AP network mode after the smart device passes the detection. The AP network mode means that the WiFi module itself will release a WiFi hotspot identified by an SN; The host computer test software platform is used to obtain the MAC barcode label content and the SN barcode label content attached to the smart device to be tested through a barcode scanning device, and after verifying the content of the label, send it to the detection module of the intelligent detection tooling via serial communication, and receive the data returned by the detection module at the same time, and obtain the test results after parsing; Report the test results to the production inspection data cloud platform through the routing module; After the host computer test software platform is started, it regularly checks on the production test data cloud platform whether there is a new version update. If there is, the new version of the software is downloaded and automatically refreshed.
2. The production line data collection and monitoring system according to claim 1, characterized in that: The production inspection data cloud platform is used to store the test results reported by the host computer software testing platform, parse and process the test results, and analyze the real-time status of smart products in the production inspection link. The real-time status includes: the test line of the equipment, the total number of tests, the test success rate, and the average test time; it is also used to deploy a new version of the host computer test software for detection and update by the host computer test software platform.
3. The production line data collection and monitoring system according to claim 1, characterized in that: The intelligent detection tooling also includes a power supply device and a serial communication device. The detection module and the host computer test software platform perform serial data communication through the serial communication device. The detection module is connected to the routing module and performs UDP network communication with the WiFi smart module connected to the routing module. The routing module has the function of accessing the Internet and is connected to three ends: the wireless network card of the host computer test software platform, the detection module and the WiFi module. The WiFi module and the detection module form a local area network for UDP network communication.
4. The production line data collection and monitoring system according to claim 1, characterized in that: The host computer test software platform is used to locally store and display test results, present them accordingly after analysis, and prompt the test results of the smart device to be tested.
5. The method for collecting and monitoring production line data according to claim 4, characterized in that: A production line data collection and monitoring system according to any one of claims 1 to 4 is applied, and the preparation stage includes the following steps: S1. Connect the intelligent detection tool to the host computer through the serial port and power it on. At this time, the detection module and routing module start working. The routing module releases a specifically named WiFi hotspot, and the detection module automatically connects to the hotspot. S2. After the host computer is connected to the above-mentioned WiFi hotspot, it opens the host computer test software, identifies the communication serial port, and detects whether the serial port communication between it and the detection module of the intelligent detection tooling is normal. If normal, the host computer generates a prompt message indicating that the serial port communication is ready, otherwise it prompts that the serial port communication is abnormal; further, the host computer sends a data request to the production detection data cloud platform, and the request data includes the current host computer version number, which is used to query whether the production detection data cloud platform has an updated host computer test software version; if a new version is reported, the host computer starts downloading the latest version from the production detection data cloud platform, and restarts the software after the download is complete, otherwise the host computer prompts that no update is required; S3. On the host computer interface, set the software version number information, software archive number information, and line information of the smart product to be tested. After the settings are completed, all preparations are completed.
6. The method for collecting and monitoring production line data according to claim 5, characterized in that: The testing phase includes the following steps: S4. After the smart device to be tested is powered on, the WiFi module is in STA mode and will actively connect to the WiFi hotspot released by the routing module in the intelligent detection tooling. At this time, the WiFi module of the smart device to be tested and the detection module of the intelligent detection tooling will be in the same local area network and can perform UDP network communication; S5. The scanner connected to the host computer scans the SN tag information and MAC tag information attached to the smart device to be tested, and then starts to package the serial port data. After the package is completed, it is sent to the detection module of the intelligent detection tooling; S6. The detection module of the intelligent detection tooling sends UDP broadcast data. After receiving the UDP broadcast data, the WiFi module of the smart device starts automatic verification and related detection, and finally replies the test results to the detection module of the intelligent tooling in the form of UDP unicast. The detection module then returns the test results to the host computer through the serial port; S7. After the host computer presents the test result of the smart device to be tested, it saves the test result locally; in addition, the host computer repackages the test result into a JSON data and reports the JSON data to the production inspection data cloud platform.
7. The method for collecting and monitoring production line data according to claim 6, characterized in that: In addition to the record of the test result, the json data also adds the test line body and the host computer connection network parameters; the test result includes the test time, test SN, test MAC, test software archive number, test software version number, test result, and test time.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a production line data collection and monitoring program. When the production line data collection and monitoring program is executed by the processor, the steps of the production line data collection and monitoring method as described in any one of claims 4-7 are implemented.
9. A computer device, characterized in that: The computer device includes the storage medium according to claim 8, and a processor, and the processor is used to execute a production line data collection and monitoring program in the storage medium.