A production and testing device, system and method for WiFi modules of smart products.
By combining Bluetooth testing network communication modules and serial communication modules, the dependence of smart product WiFi module production testing on the network environment is solved, enabling independent testing and resetting, and improving testing efficiency and flexibility.
Patent Information
- Application Number
- CN202310428360.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-20
- Publication Date
- 2026-11-17
- Estimated Expiration
- 2043-04-20
AI Technical Summary
The current production and testing process of WiFi modules for smart products is highly dependent on the network environment, which makes the testing efficiency affected by abnormal network equipment. In addition, WiFi modules may be connected to other line equipment on the production line, making normal UDP data interaction impossible.
The system combines a Bluetooth network communication module with a serial communication module. It detects the WiFi module by searching for Bluetooth hotspots and broadcasting UDP data, reducing dependence on the network environment. It also uses an NFC module for data writing and resetting operations.
The requirements of the network environment for the detection process have been reduced, and independent detection and reset of the WiFi module have been achieved, improving detection efficiency and flexibility.
Smart Images

Figure CN116405422B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to a method for debugging and testing intelligent equipment, and more specifically, to a device, system, and method for the production and testing of WiFi modules for intelligent products. Background Technology
[0002] With the widespread use of smart products, the WiFi modules of smart products need to be tested in a specific network environment during production. During the repair process, the WiFi modules need to be reset and restored. Furthermore, with the application of NFC technology in smart air conditioning distribution systems, the data writing of NFC tags is also tied to the functional testing of WiFi modules. As a result, there is an increasing number of operations and testing tasks related to WiFi modules.
[0003] MAC address information is the unique identifier of a WiFi module. During the production and testing process of smart products, SN tag information needs to be written into the WiFi module to make the SN information a unique identifier for the smart product device. Currently, a key aspect of the smart product production and testing process lies in the UDP data exchange between the host computer testing software and the WiFi module. This process has certain requirements for the network environment. Any malfunction in the test router itself or the host computer's wireless network card will affect the efficiency of the entire production and testing process. Furthermore, during production on the production line, the WiFi module under test may connect to a test router deployed on another production line after power-on. This could result in the test computer and the WiFi module being on different local area networks, preventing normal UDP data exchange. Summary of the Invention
[0004] This invention overcomes the shortcomings of the prior art and provides a device, system and method for the production and testing of WiFi modules for smart products, in order to solve the problem that WiFi module testing is dependent on the network environment.
[0005] To address the aforementioned technical problems, one aspect of the present invention provides a production and testing device for WiFi modules of smart products:
[0006] A smart product WiFi module production and testing device includes a routing module, a Bluetooth testing network communication module, and a serial communication module.
[0007] The routing module is used to initiate a WiFi hotspot for other devices to connect to;
[0008] The serial communication module is used to connect the test software with the Bluetooth detection network communication module.
[0009] The Bluetooth detection network communication module is used to connect to WiFi hotspots, and is also used for Bluetooth hotspot search, UDP data packet assembly, and UDP data broadcasting.
[0010] When it is necessary to perform production testing on the WiFi module of a smart product, the Bluetooth testing network communication module of the testing device connects to the WiFi hotspot emitted by the router module, and the Bluetooth testing network communication module connects to the production testing software through the serial communication module.
[0011] The production testing software receives the SN and MAC tags input through the input device and sends them to the Bluetooth testing network communication module. It then uses serial port commands to request the Bluetooth testing network communication module to assemble UDP data packets and broadcasts the UDP data. The WiFi module of the smart product writes the matching SN information from the received UDP broadcast data into the WiFi module.
[0012] Compared to existing technologies, this device reduces the need for test routers, thus lowering the network environment requirements for the production testing process.
[0013] A further technical solution is that the smart product WiFi module production and testing device also includes an NFC module:
[0014] The NFC module includes an NFC interface, an NFC tag sensing interface, and an NFC data writing fixture.
[0015] The NFC interface is used to connect to the testing software;
[0016] The NFC tag sensing interface is used for scanning NFC tags;
[0017] The NFC data writing tool is used to perform new data packetization, data writing, and data verification on the original NFC data.
[0018] Since some smart products include NFC modules, an additional NFC module and NFC interface are needed to write data to the NFC module.
[0019] The production testing software checks whether the NFC interface is connected after it is started.
[0020] If the NFC interface is detected as connected, the default test procedure includes NFC data writing; if the interface is not detected, the default test procedure does not include NFC data writing.
[0021] A further technical solution is that the smart product WiFi module production and testing device also includes a WiFi module interface and a switch button;
[0022] The WiFi module interface is used to connect to the WiFi module under test.
[0023] The WiFi module interface is connected to the serial communication module;
[0024] The switch button can switch the interface connection between the serial communication module and the Bluetooth detection network communication module and the WiFi module.
[0025] When resetting the WiFi module of a returned smart product, the serial communication module and Bluetooth detection network communication module of the testing device can be disconnected by using the switch button, and the connection to the WiFi module interface can be switched. After the WiFi module to be reset is connected to the WiFi module interface, the WiFi module to be tested can directly interact with the production testing software through serial port data, and the WiFi module can be reset through serial port commands.
[0026] Another aspect of the present invention provides a production and testing system for a smart product WiFi module, comprising a production and testing device for a smart product WiFi module, hardware with connection testing software installed, a smart product to be tested, and an input device;
[0027] The input device is connected to hardware with connection testing software installed, and the input device is used to input SN tag and MAC tag;
[0028] The WiFi module production testing device is connected to hardware equipped with connection testing software.
[0029] The smart product to be tested connects to the WiFi hotspot emitted by the WiFi module production and testing device.
[0030] In another aspect, the present invention provides a method for manufacturing and testing WiFi modules for smart products, comprising the following steps;
[0031] The routing module of the smart product WiFi module production and testing device emits a WiFi hotspot.
[0032] The Bluetooth testing network communication module of the smart product WiFi module production and testing device is connected to the WiFi hotspot released by the routing module;
[0033] The production testing software inputs the SN and MAC tags bound to the smart products into the production testing software via an input device;
[0034] The production testing software requests the Bluetooth testing network communication module to perform Bluetooth hotspot search via serial port commands. The Bluetooth testing network communication module then returns the Bluetooth hotspot search results to the production testing software via serial port.
[0035] The production testing software uses serial port commands to request the Bluetooth testing network communication module to assemble UDP data packets for SN and MAC information.
[0036] The production testing software requests the Bluetooth testing network communication module to broadcast UDP data via serial port commands. The Bluetooth testing network communication module broadcasts UDP data and receives UDP unicast data returned by the WiFi module connected to the same local area network. The test results are then returned to the production testing software in the form of serial port data.
[0037] The WiFi module of a smart product will write the SN information that matches the received UDP broadcast data into the WiFi module.
[0038] A further technical solution involves a smart product WiFi module production testing method where, before the production testing software requests the Bluetooth testing network communication module to broadcast UDP data via serial port commands, the production testing software sends MAC data to the Bluetooth testing network communication module for Bluetooth testing.
[0039] A further technical solution is that the production testing method for the WiFi module of smart products detects whether the NFC interface is connected after the production testing software is turned on;
[0040] If the NFC interface is detected as connected, the default test procedure includes NFC data writing; if the interface is not detected, the default test procedure does not include NFC data writing.
[0041] Compared with existing technologies, the present invention has at least the following beneficial effects: In the technical solution provided by the present invention, the Bluetooth detection network communication module and the production detection software communicate through serial port commands, avoiding the influence of the network environment. The production detection software does not need to connect to the WiFi hotspot of the routing module; the software only maintains serial port data communication with the Bluetooth detection network communication module, reducing the network requirements of the smart product WiFi module detection. Simultaneously, this application can also realize the writing of NFC data to smart products and the resetting of the smart product's WiFi module. Attached Figure Description
[0042] Figure 1 This is a schematic diagram of the production and testing device for the WiFi module of a smart product, as shown in Example 1.
[0043] Figure 2 This is a schematic diagram of the production and testing system for the WiFi module of a smart product in Example 2.
[0044] Figure 3 This is a flowchart of the production and testing process for the WiFi module of the smart product in Example 3. Detailed Implementation
[0045] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the invention.
[0046] Example 1
[0047] A production and testing device for WiFi modules of smart products, see [link / reference] Figure 1 It includes a routing module, a Bluetooth network communication detection module, a serial communication module, an NFC module, a WiFi module interface, and a switch button;
[0048] The routing module is used to initiate a WiFi hotspot for other devices to connect to;
[0049] The serial communication module is used to connect the production testing software with the Bluetooth testing network communication module.
[0050] The Bluetooth detection network communication module is used to connect to WiFi hotspots. The Bluetooth detection network communication module can be used for Bluetooth hotspot search, UDP data packet assembly, and UDP data broadcasting.
[0051] The NFC module includes an NFC interface, an NFC tag sensing interface, and an NFC data writing fixture.
[0052] The NFC interface is used to connect to the testing software;
[0053] The NFC tag sensing interface is used for scanning NFC tags;
[0054] The NFC data writing tool is used to perform new data packetization, data writing, and data verification on the original NFC data.
[0055] The WiFi module interface is used to connect to the WiFi module under test.
[0056] The WiFi module interface is connected to the serial communication module;
[0057] The switch button can switch the interface connection between the serial communication module and the Bluetooth detection network communication module and the WiFi module.
[0058] When it is necessary to perform production testing on the WiFi module of a smart product, the Bluetooth testing network communication module of the testing device connects to the WiFi hotspot emitted by the router module, and the Bluetooth testing network communication module connects to the production testing software through the serial communication module.
[0059] The production testing software receives the SN and MAC tags input through the input device and sends them to the Bluetooth testing network communication module. It then uses serial port commands to request the Bluetooth testing network communication module to assemble UDP data packets and broadcasts the UDP data. The WiFi module of the smart product writes the matching SN information from the received UDP broadcast data into the WiFi module.
[0060] When data needs to be written to the NFC module, the production testing software checks whether the NFC interface is connected after it is turned on.
[0061] If an NFC interface is detected as connected, the default test procedure includes NFC data writing. The NFC tag sensing interface scans the NFC tag, and the NFC data writing fixture is used to perform new data packetization, data writing, and data verification on the raw NFC data. If the interface is not detected, the default test procedure does not include NFC data writing.
[0062] When resetting the WiFi module of a returned smart product, the serial communication module and Bluetooth detection network communication module of the testing device can be disconnected by using the switch button, and the connection to the WiFi module interface can be switched. After the WiFi module to be reset is connected to the WiFi module interface, the WiFi module to be tested can directly interact with the production testing software through serial port data, and the WiFi module can be reset through serial port commands.
[0063] Example 2
[0064] A production and testing system for WiFi modules of smart products, see [link / reference]. Figure 2 This includes WiFi module production and testing equipment, hardware with connection testing software installed, smart products to be tested, and input devices;
[0065] The input device is connected to hardware with connection testing software installed, and the input device is used to input SN tag and MAC tag;
[0066] The WiFi module production testing device is connected to hardware equipped with connection testing software.
[0067] The smart product to be tested connects to the WiFi hotspot emitted by the WiFi module production and testing device.
[0068] Example 3
[0069] A method for manufacturing and testing WiFi modules for smart products, see [link / reference]. Figure 3 This includes the following steps;
[0070] S1: The routing module of the smart product WiFi module production and testing device emits a WiFi hotspot;
[0071] S2: The Bluetooth detection network communication module of the smart product WiFi module production and testing device is connected to the WiFi hotspot released by the routing module;
[0072] S3: The production testing software checks whether the NFC interface is connected; if the NFC interface is detected to be connected, the default test process includes NFC data writing; if the interface is not detected, the default test process does not include NFC data writing. In this embodiment, NFC data writing is included.
[0073] S4: The NFC tag sensing interface scans the NFC tag, and the NFC data writing tool performs new data packetization, data writing, and data verification on the original NFC data.
[0074] S5: The production inspection software inputs the SN tag and MAC tag bound to the smart product into the production inspection software through the input device;
[0075] S6: The production testing software requests the Bluetooth testing network communication module to perform Bluetooth hotspot search via serial port command. The Bluetooth testing network communication module returns the Bluetooth hotspot search results to the production testing software via serial port.
[0076] S7: The production testing software sends MAC data to the Bluetooth testing network communication module for Bluetooth testing;
[0077] S8: The production testing software uses serial port commands to request the Bluetooth testing network communication module to perform UDP data packet assembly for the SN information and the detected MAC information;
[0078] S9: The production testing software requests the Bluetooth testing network communication module to broadcast UDP data via serial port commands. The Bluetooth testing network communication module broadcasts UDP data and receives UDP unicast data returned by the WiFi module connected to the same local area network. The test results are then returned to the production testing software in the form of serial port data.
[0079] S10: The WiFi module of the smart product will write the SN and MAC information matched in the UDP broadcast data into the WiFi module.
[0080] Although the invention has been described herein with reference to illustrative embodiments, it should be understood that many other modifications and implementations can be devised by those skilled in the art, which will fall within the scope and spirit of the principles disclosed herein. More specifically, various variations and modifications can be made to the components and / or layout of the subject matter combination within the scope of this disclosure. Besides variations and modifications to the components and / or layout, other uses will be apparent to those skilled in the art.
Claims
1. A production and testing device for WiFi modules of smart products, characterized in that, Includes a routing module, a Bluetooth detection network communication module, and a serial communication module; The routing module is used to initiate a WiFi hotspot for other devices to connect to. The serial communication module is used to connect the production testing software with the Bluetooth testing network communication module. The Bluetooth detection network communication module is used to connect to WiFi hotspots, and is used for Bluetooth hotspot search, UDP data packet assembly, and UDP data broadcasting. When it is necessary to perform production testing on the WiFi module of a smart product, the Bluetooth testing network communication module of the testing device connects to the WiFi hotspot emitted by the router module, and the Bluetooth testing network communication module connects to the production testing software through the serial communication module. The production testing software receives the SN and MAC tags input through the input device and sends them to the Bluetooth testing network communication module. It then uses serial port commands to request the Bluetooth testing network communication module to assemble UDP data packets and uses serial port commands to request the Bluetooth testing network communication module to broadcast UDP data. The WiFi module of the smart product will write the SN information matched in the received UDP broadcast data into the WiFi module. The detection device also includes a WiFi module interface and a power switch. The WiFi module interface is used to connect to the WiFi module under test. The WiFi module interface is connected to the serial communication module; The switch button can switch the interface connection between the serial communication module and the Bluetooth detection network communication module and the WiFi module. When resetting the WiFi module of a returned smart product, the serial communication module and the Bluetooth detection network communication module of the testing device are disconnected by using a switch button, and the device is switched to connect to the WiFi module interface. After the WiFi module to be reset is connected to the WiFi module interface, the WiFi module to be tested can directly interact with the production testing software via serial port data, and the WiFi module can be reset through serial port commands.
2. The intelligent product WiFi module production and testing device as described in claim 1, characterized in that, It also includes an NFC module: The NFC module includes an NFC interface, an NFC tag sensing interface, and an NFC data writing fixture. The NFC interface is used to connect to production testing software; The NFC tag sensing interface is used for scanning NFC tags; The NFC data writing tool is used to perform new data packetization, data writing, and data verification on raw NFC data. When data needs to be written to the NFC module, the production testing software checks whether the NFC interface is connected after it is turned on. If the NFC interface is detected as connected, the default test procedure includes NFC data writing, the NFC tag sensing interface scans the NFC tag, and the NFC data writing fixture is used to perform new data packetization, data writing, and data verification on the raw NFC data; if the interface is not detected, the default test procedure does not include NFC data writing.
3. A production and testing system for WiFi modules of smart products, characterized in that, Includes the smart product WiFi module production and testing device as described in claim 1 or 2, hardware installed with connected production and testing software, the smart product to be tested, and an input device; The input device is connected to hardware that has production testing software installed, and the input device is used to input SN tags and MAC tags; The WiFi module production testing device is connected to hardware equipped with production testing software. The smart product under test connects to the WiFi hotspot emitted by the WiFi module production and testing device.
4. A method for manufacturing and testing WiFi modules for smart products, characterized in that, Includes the following steps: The routing module of the smart product WiFi module production and testing device emits a WiFi hotspot. The Bluetooth testing network communication module of the smart product WiFi module production and testing device is connected to the WiFi hotspot released by the routing module; The production testing software inputs the SN and MAC tags bound to the smart products into the production testing software via an input device; The production testing software requests the Bluetooth testing network communication module to perform Bluetooth hotspot search via serial port commands. The Bluetooth testing network communication module then returns the Bluetooth hotspot search results to the production testing software via serial port. The production testing software uses serial port commands to request the Bluetooth testing network communication module to assemble UDP data packets for SN and MAC information. The production testing software requests the Bluetooth testing network communication module to broadcast UDP data via serial port commands. The Bluetooth testing network communication module broadcasts UDP data and receives UDP unicast data returned by the WiFi module connected to the same local area network. The test results are then returned to the production testing software in the form of serial port data. The WiFi module of a smart product will write the SN information matched in the received UDP broadcast data into the WiFi module; When resetting the WiFi module of a returned smart product, the serial communication module and the Bluetooth detection network communication module of the testing device are disconnected by using a switch button, and the device is switched to connect to the WiFi module interface. After the WiFi module to be reset is connected to the WiFi module interface, the WiFi module to be tested can directly interact with the production testing software via serial port data, and the WiFi module can be reset through serial port commands.
5. The method for manufacturing and testing a WiFi module for a smart product as described in claim 4, characterized in that, Before the production testing software requests the Bluetooth testing network communication module to broadcast UDP data via serial port commands, the production testing software sends MAC data to the Bluetooth testing network communication module for Bluetooth testing.
6. The method for manufacturing and testing a WiFi module for a smart product as described in claim 4, characterized in that, The production testing software checks whether the NFC interface is connected after it is started. If the NFC interface is detected as connected, the default test procedure includes NFC data writing; if the interface is not detected, the default test procedure does not include NFC data writing.
Citation Information
Patent Citations
System and method for detecting WiFi and Bluetooth performance of intelligent module
CN112383906A
Detection tool and detection device for intelligent product, detection method of detection device and medium
CN113890635A
Write-in method and device of intelligent product information
CN114781418A
