A production test method suitable for WIFI and Bluetooth devices

By using Bluetooth Mesh networking technology in the production test of WIFI and Bluetooth devices, the existing test methods are solved, and the efficiency and stability of parallel testing of multiple devices are achieved to meet the needs of large-scale production.

CN119497133BActive Publication Date: 2025-05-02SHENZHEN FEITENGYUN TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510066150.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-01-16
Publication Date
2025-05-02
Estimated Expiration
2045-01-16

AI Technical Summary

Technical Problem

The production testing methods of existing WIFI and Bluetooth devices are poorly scalable and inefficient, difficult to meet the needs of large-scale parallel testing, and the communication quality is unstable when the network environment is poor.

Method used

By configuring the router hotspot, the WIFI module and the test fixture of the test device are connected to the hotspot, the Bluetooth module and the test fixture of the test device are automatically entered into the Bluetooth Mesh network, establishing an adaptive network, realizing point-to-point and many-to-many communication, and dynamically adjusting the network path and configuration to ensure network stability.

Benefits of technology

Multi-device parallel testing has been realized, which significantly improves testing efficiency and communication stability, overcomes the problem of restricted connection of traditional serial ports, supports more devices to participate in testing at the same time, meets the needs of large-scale production, and improves fault tolerance and accuracy of test results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119497133B_ABST
    Figure CN119497133B_ABST
Patent Text Reader

Abstract

The present application relates to a production test method suitable for WIFI and Bluetooth devices, which configures a hotspot of a router, and the WIFI module and test fixture of the tested device are connected to the hotspot; the Bluetooth module and test fixture of the tested device are triggered by the hotspot, automatically enter the Bluetooth Mesh network and establish an adaptive network; the tested device and the test fixture achieve information synchronization in the Bluetooth Mesh network through point-to-point and many-to-many communication mechanisms; the WIFI module of the tested device sends a WIFI test command, and the Bluetooth module of the tested device sends a Bluetooth test command; after the test is completed, the test result is confirmed by a prompt signal, and the test process ends. It overcomes the problems of limited number of device connections and high operation complexity in traditional test methods, and provides a flexible and efficient solution for parallel testing of multiple devices in large-scale production.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of production testing, and in particular to a production testing method applicable to WIFI and Bluetooth devices. Background Art

[0002] There are two main testing methods that are widely used at present: one is to use a mobile phone or PC application to directly connect to the device under test for testing, and the user needs to verify the device's WIFI and Bluetooth functions through manual operation; the other is to use a dedicated test fixture to send test instructions and receive test results through an external device under test and in conjunction with the PC host software. Although these two methods can achieve functional verification, they have many limitations in actual production scenarios. However, they have shown many shortcomings in the face of rapidly developing production needs. The specific problems are as follows:

[0003] 1. In a large-scale production test environment, the efficiency of single device testing using mobile phone apps or PC software is extremely low, especially when facing a production line that requires batch testing, the manual operation method seriously hinders production efficiency. Although the method of relying on dedicated test fixtures for the tested device can achieve automated testing, it is usually connected to the PC through serial communication, which is limited by the number of PC serial ports (up to 32), making it difficult to meet larger-scale parallel testing needs.

[0004] 2. In the existing test methods, the connection between the device and the test system mostly relies on wireless technologies such as WIFI and Bluetooth. However, these traditional wireless connection methods usually cannot dynamically adjust the connection path and configuration according to the actual network environment. Limited by the static network configuration of traditional technologies and the lack of intelligent adaptive mechanisms, stable communication quality is often not maintained when the network quality is poor or there is a lot of interference. When a node in the device under test fails, the test results are inaccurate and the fault tolerance is poor. Especially in large-scale parallel testing, the network connection between multiple devices is prone to instability, affecting the accuracy and reliability of the test process.

[0005] Therefore, it is necessary to develop a production test method suitable for WIFI and Bluetooth devices to solve the problems of poor scalability and low efficiency of existing test methods. Summary of the invention

[0006] The purpose of this application is to overcome the shortcomings of the prior art and propose a production test method suitable for WIFI and Bluetooth devices, which can break through the limitations of traditional serial port connections, achieve more efficient parallel testing of multiple devices, and solve the problems of existing testing methods due to their poor scalability and low efficiency, so that the tested equipment can improve the flexibility and reliability of production testing, thereby better adapting to the production needs of large-scale equipment.

[0007] This application is implemented through the following technical solutions:

[0008] The present application proposes a production test method applicable to WIFI and Bluetooth devices, the method comprising the following steps:

[0009] Configure the hotspot of the router, and the WIFI module of the device under test and the test fixture are connected to the hotspot;

[0010] The Bluetooth module and the test fixture of the device under test are triggered by the hotspot to automatically enter the Bluetooth Mesh network and establish an adaptive network;

[0011] The equipment under test and the test fixture achieve information synchronization in the Bluetooth Mesh network through point-to-point and many-to-many communication mechanisms;

[0012] The WIFI module of the tested device sends a WIFI test command, and the Bluetooth module of the tested device sends a Bluetooth test command;

[0013] After the test is completed, the test result is confirmed through a prompt signal and the test process ends.

[0014] In one embodiment of the present application, the step of automatically entering the Bluetooth Mesh network and establishing an adaptive network through the hotspot triggering the Bluetooth module and the test fixture of the device under test further includes:

[0015] In the Bluetooth Mesh network, the device under test and the test fixture select the channel with the least interference based on the available dynamic channels to complete adaptive networking.

[0016] In one embodiment of the present application, the step of automatically entering the Bluetooth Mesh network and establishing an adaptive network through the hotspot triggering the Bluetooth module and the test fixture of the device under test further includes:

[0017] The tested devices and test fixtures are verified for legitimacy when joining the Bluetooth Mesh network, and identity verification is completed through a unique network ID to ensure network security.

[0018] Bluetooth Mesh networking devices clear networking information through the power-off memory function.

[0019] In one embodiment of the present application, the step of the WIFI module of the tested device sending a WIFI test command and the Bluetooth module of the tested device sending a Bluetooth test command further includes:

[0020] The WIFI module and Bluetooth module of the device under test send WIFI and Bluetooth test commands simultaneously and verify the interactive performance of the two.

[0021] In one embodiment of the present application, the step of the WIFI module of the tested device sending a WIFI test command and the Bluetooth module of the tested device sending a Bluetooth test command further includes:

[0022] When the WIFI module of the device under test sends a WIFI test command, it optimizes and analyzes the test data based on the received signal strength indication RSSI and channel parameters to improve the test accuracy;

[0023] The test fixture broadcasts the configuration parameters of the Bluetooth Mesh network to help the Bluetooth module of the device under test quickly join the network, and synchronizes the test data to the device under test after the test is completed.

[0024] In one embodiment of the present application, the step of the WIFI module of the tested device sending a WIFI test command and the Bluetooth module of the tested device sending a Bluetooth test command further includes:

[0025] When a node fails, the remaining nodes re-establish the data transmission path through a multi-hop communication mechanism to ensure network stability;

[0026] The tested devices and test fixtures in the Bluetooth Mesh network support a priority-based message synchronization mechanism to ensure that high-priority test information is transmitted first in parallel testing of multiple devices.

[0027] In one embodiment of the present application, after the test is completed, the step of confirming the test result through a prompt signal and ending the test process further includes:

[0028] The Bluetooth Mesh network monitoring module monitors node status and data transmission quality in real time, and displays the network status diagram to the PC host computer to assist in debugging and optimize the test process;

[0029] The monitoring module also includes a data analysis function that can generate performance trend reports based on historical test data and provide a fault prediction function to optimize the test process.

[0030] Compared with the prior art, the beneficial effects of this application are:

[0031] 1. Configure the hotspot of the router. The WIFI module of the device under test and the test fixture scan the hotspot at the same time to ensure that the device under test and the test fixture can be connected to the same network environment synchronously. Then, the Bluetooth module of the device under test and the test fixture use the trigger mechanism to automatically enter the Bluetooth Mesh networking preparation state. When automatically entering the Bluetooth Mesh networking preparation state, an adaptive network is established between the Bluetooth module of the device under test and the test fixture. Dynamically adjust the networking path and configuration according to the network environment to ensure network stability and communication quality between devices. In the Bluetooth Mesh network, the device under test and the test fixture achieve information synchronization through point-to-point and many-to-many communication mechanisms; through the point-to-point communication mechanism, direct communication between the device under test and the test fixture is ensured; through the many-to-many communication mechanism, efficient information transmission and sharing between multiple devices under test and test fixtures are supported. The information synchronization mechanism overcomes the problem of limited traditional serial port connections, enabling multiple devices under test to be tested in parallel in the same network, significantly improving test efficiency and communication stability. It solves the problem of limited number of serial port devices in the prior art, and significantly improves the ability and efficiency of parallel testing. The WIFI module of the device under test sends a WIFI test command, and the Bluetooth module of the device under test sends a Bluetooth test command to test the WIFI module and Bluetooth module of the device under test. After the test is completed, the test result is confirmed by a prompt signal and the test process is ended, so that the operator can quickly understand the test status. Through Bluetooth Mesh automatic networking and parallel testing of multiple devices under test, the Bluetooth Mesh network is not limited by the number of traditional PC serial port devices, and supports more devices to participate in the test at the same time to meet the needs of large-scale production.

[0032] 2. The Bluetooth module and test fixture of the device under test are triggered by the hotspot to automatically enter the Bluetooth Mesh network and establish an adaptive network. During the Bluetooth Mesh networking process, the device under test and the test fixture use a dynamic channel selection algorithm to analyze the available channels in real time, and select the channel with the least interference to complete the adaptive networking. The device under test and the test fixture scan the surrounding wireless environment. The test fixture connects to the router hotspot, and the test fixture scans the Bluetooth beacon signal to obtain its signal strength indication RSSI. The signal strength indication RSSI, occupancy rate and interference index of each channel are collected. Based on the collected data, the algorithm calculates the interference level of each channel, and finally selects the channel with the least interference to complete the adaptive networking between the device under test and the test fixture. In a multi-device environment, selecting the channel with the lowest interference level as the working channel can improve the network's processing power and response speed, and support more devices to work efficiently at the same time. It can also reduce data loss and retransmission, which is crucial to maintaining the overall performance of the Bluetooth Mesh network.

[0033] 3. In the production test of the WIFI module and Bluetooth module of the tested device, the signal strength and channel parameters of the WIFI module are easily affected by the interference of the external environment, resulting in insufficient accuracy of the test results. By introducing the signal attenuation model optimization analysis, these errors can be effectively corrected to ensure that the test data truly reflects the performance of the module. Through the synchronous trigger mechanism, the respective test commands are sent at the same time to verify the interactive performance of the two. The test fixture broadcasts synchronous trigger signals through the Bluetooth Mesh network and the router hotspot. After receiving the trigger signal, the WIFI module and Bluetooth module of the tested device send their respective test commands at the same time. By synchronously triggering the test commands of the WIFI and Bluetooth modules, the collaborative performance of the WIFI module and Bluetooth module of the tested device is comprehensively evaluated, and possible signal interference, delay and bandwidth problems are discovered in advance. In addition, large-scale production testing has high requirements for efficiency and accuracy. This solution combines optimization analysis and synchronous testing to effectively shorten the test time, meet the needs of efficient production, and ensure the performance reliability of the equipment in actual use.

[0034] 4. The tested devices and test fixtures in the Bluetooth Mesh network support fault detection and path recovery functions. When a node fails, the remaining nodes re-establish the data transmission path through a multi-hop communication mechanism. The network monitoring module monitors the status of each node in real time, and detects whether the node is working properly through communication requests. When a node is found to be disconnected, the Mesh network algorithm recalculates the path, and the remaining nodes automatically re-establish a new data transmission path through a multi-hop communication mechanism to ensure the continuity of network functions. In this way, the fault tolerance of the Bluetooth Mesh network in the production test process can be improved to prevent single node failures from affecting the entire test process.

[0035] Other features and advantages of the present application will be described in the following description, and partly become apparent from the description, or be understood by practicing the present application. The purpose and other advantages of the present application can be realized and obtained by the structures indicated in the description, claims and drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0037] Figure 1 A flowchart of a production test method applicable to WIFI and Bluetooth devices provided in an embodiment of the present application;

[0038] Figure 2A flowchart of a production test method applicable to WIFI and Bluetooth devices provided in an embodiment of the present application. DETAILED DESCRIPTION

[0039] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0040] In order to enable those skilled in the art to better understand the technical solutions in the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of this application.

[0041] It should be noted that when an element is referred to as being "fixed on" or "set on" another component, it can be directly on the other component or indirectly set on the other component; when a component is referred to as being "connected to" another component, it can be directly connected to the other component or indirectly connected to the other component.

[0042] It should be understood that the orientation or position relationship indicated by terms such as "length", "width", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside" and "outside" are based on the orientation or position relationship shown in the drawings, and are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the device or component referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present application.

[0043] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of this application, "multiple" and "several" mean two or more, unless otherwise clearly and specifically defined.

[0044] It should be noted that the structures, proportions, sizes, etc. illustrated in the drawings of this specification are only used to match the contents disclosed in the specification for people familiar with this technology to understand and read, and are not used to limit the conditions under which this application can be implemented. Therefore, they have no substantive technical significance. Any structural modification, change in proportional relationship or adjustment of size should still fall within the scope of the technical content disclosed in this application without affecting the effects and purposes that can be achieved by this application.

[0045] Please refer to Figure 1 and Figure 2 In one embodiment, a production test method for WIFI and Bluetooth devices includes the following steps:

[0046] Step S1, configuring the hotspot of the router, and connecting the WIFI module of the device under test and the test fixture to the hotspot;

[0047] Step S2: The Bluetooth module and the test fixture of the device under test are triggered by the hotspot to automatically enter the Bluetooth Mesh network and establish an adaptive network;

[0048] Step S3: The device under test and the test fixture synchronize information in the Bluetooth Mesh network through point-to-point and many-to-many communication mechanisms.

[0049] Step S4: The WIFI module of the device under test sends a WIFI test command, and the Bluetooth module of the device under test sends a Bluetooth test command;

[0050] Step S5: After the test is completed, the test result is confirmed through a prompt signal, and the test process ends.

[0051] Specifically, the device under test (also called the device under test or target device) is the main object of the test and is the device whose performance or function needs to be verified during the production or R&D process. The test fixture also has WIFI and Bluetooth functions. The test fixture is an auxiliary device in the test process, which is used to assist in the construction, control and result recording of the test environment.

[0052] In step S1, by configuring a designated router hotspot (e.g., with a unique name or identifier), the WIFI module of the device under test and the test fixture scan the hotspot at the same time. This ensures that the device under test and the test fixture can be synchronously connected to the same network environment, providing a communication basis for subsequent networking and execution of test commands. Using the router hotspot to unify the network environment simplifies the device initialization steps before testing.

[0053] In step S2, when the Bluetooth module and test fixture of the device under test scan the router hotspot, the device automatically enters the Bluetooth Mesh networking preparation state through a trigger mechanism (network signal or broadcast message, etc.). When automatically entering the Bluetooth Mesh networking preparation state, an adaptive network is established between the Bluetooth module of the device under test and the test fixture. The networking path and configuration are dynamically adjusted according to the network environment to ensure network stability and communication quality between devices. (At this time, the indicator light flashes red quickly, indicating that the Bluetooth module and test fixture of the device under test are adaptively networked. When the adaptive networking is successful, the indicator light is always red, indicating that the adaptive networking is successful). The adaptive networking function overcomes the problem of limited traditional serial port connection, realizes parallel testing of more devices under test, and meets the needs of large-scale production.

[0054] In step S3, the device under test and the test fixture synchronize test information in the Bluetooth Mesh network through a point-to-point or many-to-many communication mechanism. Through the point-to-point communication mechanism, direct communication between the device under test and the test fixture is ensured; through the many-to-many communication mechanism, efficient information transmission and sharing between multiple devices under test and test fixtures are supported. Information synchronization includes the distribution of test instructions, the update of test status, and the sharing of test results. The information synchronization mechanism overcomes the problem of limited traditional serial port connections, enabling multiple devices under test to be tested in parallel in the same network, significantly improving test efficiency and communication stability. It solves the problem of limited number of serial port devices in the prior art and significantly improves the ability and efficiency of parallel testing.

[0055] In step S4, the WIFI module of the device under test sends a WIFI test command, and the Bluetooth module of the device under test sends a Bluetooth test command, so as to test the WIFI module and the Bluetooth module of the device under test.

[0056] In step S5, after the test is completed, the test result is confirmed by a prompt signal (such as an ACK signal), and the test process ends. (At this time, the indicator light turns blue and stays on, indicating that the test result is confirmed), which is convenient for the operator to quickly understand the test status.

[0057] In summary, the efficiency bottleneck of testing one by one in the prior art is overcome through automatic Bluetooth Mesh networking and parallel testing of multiple devices under test, and the test time is significantly reduced. The Bluetooth Mesh network is not limited by the number of traditional PC serial port devices, and supports more devices to participate in the test at the same time to meet the needs of large-scale production. The adaptive networking, point-to-point and many-to-many information synchronization functions of Bluetooth Mesh make the test system more adaptable to complex production environments and have higher robustness. The test process is fully automated, and the test results are fed back through prompt signals or indicator lights, which avoids errors in manual operation and significantly improves the efficiency and reliability of the production test of the WIFI module and Bluetooth module of the tested device. Compared with the prior art, this method has significant advantages in flexibility, cost control and ease of operation, and provides an efficient and reliable test solution for the large-scale production of wireless communication equipment.

[0058] In one embodiment, the S2 step further comprises:

[0059] Step S21: The device under test and the test fixture select the channel with the least interference in the Bluetooth Mesh network according to the available dynamic channels to complete the adaptive networking.

[0060] Specifically, during the Bluetooth Mesh networking process, the device under test and the test fixture use a dynamic channel selection algorithm to perform real-time analysis of available channels, and select the channel with the least interference to complete the adaptive networking. The device under test and the test fixture scan the surrounding wireless environment. The test fixture is connected to the router hotspot, and the test fixture scans the Bluetooth beacon signal to obtain its signal strength indication RSSI, which is the full name of Received Signal Strength Indicator. The signal strength indication RSSI, occupancy rate and interference index of each channel are collected. Based on the collected data, the algorithm calculates the interference level of each channel, and finally selects the channel with the least interference to complete the adaptive networking between the device under test and the test fixture. In this way, the dynamic adaptability of channel selection during the adaptive networking process can be improved to avoid communication interruption or signal loss due to excessive interference.

[0061] How to calculate the interference level of each channel based on the collected data:

[0062] Data collection phase: During the Bluetooth Mesh networking process, the tested device and test fixture scan the currently available channels through the wireless module and collect relevant parameters of each channel, including signal strength indicator RSSI, channel occupancy rate and number of neighboring devices. Signal strength indicator RSSI reflects the strength of the interference signal on the channel. The closer the signal strength indicator RSSI value is to 0, the stronger the interference is; channel occupancy rate indicates the proportion of the channel occupied within a specific time. The higher the occupancy rate, the lower the availability; the number of neighboring devices counts the number of active devices on the channel. The more the number, the more interference sources. In addition, the tested device and test fixture can also analyze the type of interference signal (such as WIFI signals or other Bluetooth broadcast signals) to determine which signals have a more significant impact on the networking. Through the collection of these key parameters, the device obtains basic information about channel interference and provides data support for the calculation of interference levels in subsequent algorithms.

[0063] Data processing stage: Based on the collected channel data, the algorithm conducts a comprehensive evaluation of the interference level of each channel. First, the algorithm standardizes parameters such as signal strength indicator RSSI, channel occupancy, and number of adjacent devices to unify their value ranges (for example, mapping all parameters to between 0 and 1). Subsequently, a weight is assigned to each parameter (for example, 50% for signal strength, 30% for channel occupancy, and 20% for number of adjacent devices), and adjusted according to the degree of influence of different factors in production testing. Finally, the algorithm calculates the interference level value of each channel through a weighted formula, adds the standardized values ​​of signal strength indicator RSSI, occupancy, and number of devices according to the weights, and sorts the interference levels of all channels, giving priority to channels with the lowest interference level for mesh networking. If the interference levels of multiple channels are the same, the algorithm can further select the best channel based on historical usage data.

[0064] Decision stage: Through the above calculations, the algorithm selects the channel with the least interference for Bluetooth Mesh networking. If there are multiple channels with the same interference level, the algorithm can further select a channel based on historical data (such as past usage frequency) or randomly.

[0065] For example, assume that the device scans three channels and the collected parameters are as follows:

[0066]

[0067] After normalization:

[0068]

[0069] Assume that weights w1=0.5, w2=0.3, and w3=0.2, and that the channel interference level is D. RSSI represents signal strength, Occupancy represents channel occupancy, and Devices represents the standardized value of the number of neighboring devices.

[0070] It can be calculated by the weighted formula: ;

[0071] Calculate the interference level D of each channel:

[0072] Channel 1: ;

[0073] Channel 2: ;

[0074] Channel 3: ;

[0075] According to the calculated interference level D, the channel with the lowest interference level is preferentially selected as the working channel of the Mesh network. Therefore, channel 2 with the lowest interference level is selected as the working channel. In a multi-device environment, selecting the channel with the lowest interference level as the working channel can improve the network's processing power and response speed, and support more devices to work efficiently at the same time. It can also reduce data loss and retransmission, which is crucial to maintaining the overall performance of the Bluetooth Mesh network.

[0076] In one embodiment, the S2 step further comprises:

[0077] Step S22: The tested device and the test fixture are verified for legitimacy when joining the Bluetooth Mesh network, and identity verification is completed through a unique network ID to ensure network security;

[0078] Step S23: The Bluetooth Mesh networking device clears the networking information through the power-off memory function.

[0079] Specifically, in step S22, during the Bluetooth Mesh networking process, the tested device and the test fixture complete the legitimacy verification through the unique network identification ID when joining the network. Each tested device and test fixture is assigned a unique network identification ID when leaving the factory. When a node attempts to join the Bluetooth Mesh network, the test fixture or the network control center verifies the legitimacy of the ID. After the verification is passed, the node obtains permission to join and participates in network communications. In this way, illegal devices or unauthorized nodes can be prevented from accessing the Bluetooth Mesh network, ensuring the authenticity and reliability of the test data.

[0080] It should be understood that in large-scale production, different batches of equipment are likely to be deployed in the same test environment. The legitimacy verification mechanism can ensure that only the target device is tested to avoid misoperation or data confusion.

[0081] In step S23, the Bluetooth Mesh networking device is equipped with a non-volatile storage unit for storing current networking information (such as node ID, networking key, channel selection, etc.). After the device is powered off, the networking information retained by the non-volatile storage unit will not be lost, and the device can be quickly restored to the networking state before power failure when it is powered on again. The Bluetooth Mesh networking device can clear the saved networking information after receiving a specific trigger function button signal.

[0082] In one embodiment, the S4 step comprises:

[0083] S41, the WIFI module and the Bluetooth module of the tested device respectively send WIFI and Bluetooth test commands simultaneously, and verify the interaction performance between the two.

[0084] Specifically, in step S41, the WIFI module and Bluetooth module of the device under test send their respective test commands at the same time through a synchronous trigger mechanism during production testing to verify the interactive performance of the two. The test fixture broadcasts a synchronous trigger signal through the Bluetooth Mesh network and the router hotspot. After receiving the trigger signal, the WIFI module and Bluetooth module of the device under test send their respective test commands at the same time. In this way, the performance and interactive capabilities of the WIFI and Bluetooth modules can be verified at the same time, the stability of the multi-module collaboration of the device under test in the actual use scenario can be verified, possible interference, delay or bandwidth occupancy problems can be discovered in advance, and the comprehensive performance of the device can be guaranteed.

[0085] Interactive performance verification: When used to detect signal interference, measure whether the WiFi and Bluetooth signals interfere with each other in frequency (especially in the 2.4GHz band); when used to test delay, record the response delay of the two modules when working concurrently to ensure the real-time communication; when used to evaluate bandwidth occupancy, count the bandwidth usage when the two modules are running at the same time to detect whether there is a performance bottleneck.

[0086] It should be noted that in production testing, the signal strength and channel parameters of the WIFI module are easily affected by external environmental interference, resulting in insufficient accuracy of the test results; by introducing signal attenuation model optimization analysis, these errors can be effectively corrected to ensure that the test data truly reflects the module performance. At the same time, WIFI and Bluetooth modules need to work together in many devices (such as smart home devices and IoT terminals), and the interactive performance of the two directly affects the actual use experience of the device. In traditional testing, the two modules are usually verified separately, which makes it difficult to simulate the collaborative operation status in actual scenarios. In this solution, by synchronously triggering the test commands of the WIFI and Bluetooth modules, the collaborative performance of the two modules is comprehensively evaluated, and possible signal interference, delay and bandwidth problems are discovered in advance. In addition, large-scale production testing has high requirements for efficiency and accuracy. This solution combines optimization analysis and synchronous testing to effectively shorten the test time, meet the needs of efficient production, and ensure the performance reliability of the equipment in actual use.

[0087] In one embodiment, the S4 step further comprises:

[0088] S42, when sending a WIFI test command, the WIFI module of the tested device optimizes and analyzes the test data based on the received signal strength indication RSSI and channel parameters to improve the test accuracy;

[0089] S43, the test fixture broadcasts the network configuration parameters of the Bluetooth Mesh network to assist the Bluetooth module of the device under test to quickly join the network, and synchronizes the test data to the device under test after the test is completed.

[0090] In step S42, during the production test process, the WIFI module of the device under test measures the signal strength indication RSSI and channel parameters of the router hotspot by sending a WIFI test command, and optimizes and analyzes the data using the signal attenuation model formula. The WIFI module of the device under test sends a test command to the router and receives the returned signal. Measure the signal strength indication RSSI and record its value; obtain the current channel parameters (such as channel number, bandwidth). Use the optimized signal strength data and combine the channel parameters to evaluate whether the performance of the WIFI module meets the expected standards. Improve the accuracy of the WIFI module performance evaluation and reduce the error caused by environmental interference.

[0091] In step S43, the Bluetooth Mesh networking device is equipped with a non-volatile storage unit for storing current networking information (such as networking keys, channel selection, etc.). After the device is powered off, the networking information retained by the non-volatile storage unit will not be lost, and the device can be quickly restored to the networking state before power failure when it is powered on again. The Bluetooth Mesh networking device can clear the saved networking information after receiving a specific trigger function button signal.

[0092] In one embodiment, the S4 step further comprises:

[0093] S44. When a node fails, the remaining nodes re-establish the data transmission path through a multi-hop communication mechanism to ensure network stability;

[0094] S45. The tested devices and test fixtures in the Bluetooth Mesh network support a priority-based message synchronization mechanism to ensure that high-priority test information is transmitted first in parallel testing of multiple devices.

[0095] Specifically, in step S44, the tested devices and test fixtures in the Bluetooth Mesh network support fault detection and path recovery functions. When a tested device and test fixture in the Bluetooth Mesh network loses communication due to power failure or other reasons, the remaining nodes re-establish the data transmission path through the multi-hop communication mechanism. The network monitoring module monitors the status of each node in real time, and detects whether the node is working normally through heartbeat packets or communication requests. When a node is found to be disconnected, the Mesh network algorithm will recalculate the path, and the remaining nodes will automatically re-establish a new data transmission path through the multi-hop communication mechanism to ensure the continuity of network functions. In this way, the fault tolerance of the Bluetooth Mesh network during the production test process can be improved to prevent single node failures from affecting the entire test process.

[0096] In step S45, the test information is assigned different priorities (for example, device status update is high priority, performance statistics is low priority), and the tested device and test fixture process the transmission request according to the priority queue. High-priority messages obtain higher bandwidth and shorter transmission delay in the network. The network ensures that high-priority information is completed first in parallel testing through the scheduling mechanism to avoid delays in test results. This improves the information transmission efficiency of multi-device parallel testing.

[0097] In one embodiment, the step S5 further comprises:

[0098] S51, monitor the node status and data transmission quality in real time through the Bluetooth Mesh network monitoring module, and display the network status diagram to the PC host computer to assist in debugging and optimize the test process;

[0099] S52. The monitoring module also includes a data analysis function, which can generate a performance trend report based on historical test data and provide a fault prediction function to optimize the test process.

[0100] Specifically, in step S51, the Bluetooth Mesh network monitoring module is responsible for real-time monitoring of the status (online / offline) and data transmission quality (such as delay, packet loss rate, bandwidth utilization, etc.) of each tested device and test fixture during the production test process. The monitoring results are displayed in the form of a network status diagram on the PC host computer for test personnel to observe and debug.

[0101] In step S52, the monitoring module includes a data analysis function, which can generate a performance trend report based on historical test data and use the analysis results to predict possible faults in the network. For example, data collection records the performance data of nodes during the test (such as signal strength, delay, and packet loss rate); trend analysis analyzes data change trends through algorithms, generates node performance trend reports, and identifies potential bottlenecks or anomalies. Fault prediction predicts possible node failures based on trend data combined with machine learning or statistical models, and provides optimization suggestions.

[0102] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A production test method suitable for WIFI and Bluetooth devices, characterized in that: The method comprises the following steps: Configure the hotspot of the router, and the WIFI module of the device under test and the test fixture are connected to the hotspot; The Bluetooth module of the device under test and the test fixture are triggered by the hotspot to automatically enter the Bluetooth Mesh network and establish an adaptive network. The device under test and the test fixture select the channel with the least interference in the Bluetooth Mesh network according to the available dynamic channels to complete the adaptive network. The device under test and the test fixture scan the surrounding wireless environment. The test fixture connects to the router hotspot. The test fixture scans the Bluetooth beacon signal, collects the signal strength, occupancy and interference index of each channel, calculates the interference level of each channel based on the collected data, and finally selects the channel with the least interference to complete the adaptive networking between the device under test and the test fixture. According to the collected channel data, the channel signal strength, channel occupancy and number of adjacent devices are standardized, and weights are assigned to each parameter. The channel interference level is defined as D, the channel signal strength is defined as RSSI, and the RSSI parameter allocation weight is defined as w1. The channel occupancy is defined as Occupancy, and the Occupancy parameter allocation weight is defined as w2. The number of adjacent devices is defined as Devices, and the number of adjacent devices The parameter allocation weight is defined as w3. According to the weighted formula: , calculate the interference level value D of each channel, and give priority to selecting the channel with the lowest interference level for Mesh network networking; The equipment under test and the test fixture achieve information synchronization in the Bluetooth Mesh network through point-to-point and many-to-many communication mechanisms; The WIFI module of the tested device sends a WIFI test command, and the Bluetooth module of the tested device sends a Bluetooth test command; After the test is completed, the test result is confirmed through a prompt signal and the test process ends.

2. The production test method applicable to WIFI and Bluetooth devices as claimed in claim 1, characterized in that: The step of automatically entering the Bluetooth Mesh network and establishing an adaptive network by triggering the Bluetooth module and the test fixture of the device under test through the hotspot further includes: The tested device and test fixture are verified for legitimacy when joining the Bluetooth Mesh network, and identity verification is completed through a unique network ID to ensure network security. Bluetooth Mesh networking devices clear networking information through the power-off memory function.

3. The production test method applicable to WIFI and Bluetooth devices as claimed in claim 1, characterized in that: The step of the WIFI module of the tested device sending a WIFI test command, and the Bluetooth module of the tested device sending a Bluetooth test command also includes: The WIFI module and Bluetooth module of the device under test send WIFI and Bluetooth test commands simultaneously and verify the interactive performance of the two.

4. The production test method applicable to WIFI and Bluetooth devices as claimed in claim 3, characterized in that: The step of the WIFI module of the tested device sending a WIFI test command, and the Bluetooth module of the tested device sending a Bluetooth test command also includes: When the WIFI module of the device under test sends the WIFI test command, it optimizes and analyzes the test data based on the received signal strength indication (RSSI) and channel parameters to improve the test accuracy; The test fixture broadcasts the configuration parameters of the Bluetooth Mesh network to help the Bluetooth module of the device under test quickly join the network, and synchronizes the test data to the device under test after the test is completed.

5. The production test method applicable to WIFI and Bluetooth devices as claimed in claim 3, characterized in that: The step of the WIFI module of the tested device sending a WIFI test command and the Bluetooth module of the tested device sending a Bluetooth test command further comprises: When a node fails, the remaining nodes re-establish the data transmission path through a multi-hop communication mechanism to ensure network stability; The tested devices and test fixtures in the Bluetooth Mesh network support a priority-based message synchronization mechanism to ensure that high-priority test information is transmitted first in parallel testing of multiple devices.

6. The production test method applicable to WIFI and Bluetooth devices as claimed in claim 1, characterized in that: After the test is completed, the step of confirming the test result through a prompt signal and ending the test process also includes: The Bluetooth Mesh network monitoring module monitors node status and data transmission quality in real time, and displays the network status diagram to the PC host computer to assist in debugging and optimize the test process; The monitoring module also includes a data analysis function that can generate performance trend reports based on historical test data and provide a fault prediction function to optimize the test process.

Citation Information

Patent Citations

  • Low-power bluetooth BLE product testing method and BLE device

    CN111742505A

  • Automatic test analysis system and method for WiFi and Bluetooth functions

    CN118921694A