A multi-lane integrated device testing system and method
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- LIUZHOU ZHEHUA AUDIO CO LTD
- Filing Date
- 2026-03-23
- Publication Date
- 2026-06-26
Smart Images

Figure CN122285403A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of development board testing and measurement technology, and in particular to a multi-channel integrated equipment testing system and method. Background Technology
[0002] In the research, development, production, and quality inspection of development boards, comprehensive functional testing of their communication interfaces, hardware functions, and system stability is a crucial step in ensuring product quality. Currently, industry testing practices mainly face the following technical bottlenecks: 1. Limited Interfaces and Poor Adaptability: Existing testing tools mostly use a single connection method (such as supporting only USB serial ports or only wired networks), which cannot cover the connection requirements of development boards in different testing scenarios. For example, testing WiFi functionality requires a wireless connection, testing wired network ports requires an RJ45 connection, and testing Bluetooth requires a BLE connection. The limited availability of tools leads to a fragmented testing process, requiring the preparation of multiple sets of tools and frequent switching, resulting in low efficiency and an inability to handle boards without wired network interfaces or with malfunctioning USB drivers.
[0003] 2. Fragmented test items and cumbersome operation: Existing technologies lack a unified testing platform, requiring testers to use multiple independent software tools to complete signal strength testing, Bluetooth function verification, I / O port detection, version number reading, etc. These tools have different operating logics and incompatible data formats, which not only greatly increases the operational complexity and learning cost for testers, but also makes it difficult to manage and analyze test data in a unified manner, resulting in poor continuity of the entire testing process.
[0004] 3. Difficulty in locating devices during parallel testing: In production line or laboratory environments, it is often necessary to test multiple development boards simultaneously. Existing tools lack effective device identification and screening mechanisms, and cannot quickly and accurately locate and lock onto specific target devices using unique hardware identifiers (such as MAC addresses). This easily leads to problems such as incorrect test command transmission and misattribution of test results, affecting the accuracy of testing and batch management.
[0005] 4. Rigid and inflexible judgment criteria: Existing tools often use fixed thresholds for test pass / fail judgments (e.g., RSSI must be greater than -70dBm). However, different development boards and different application scenarios (e.g., near-field and far-field) have different performance requirements. This "one-size-fits-all" judgment mode cannot adapt to diverse testing needs, which may lead to qualified boards being misjudged or unqualified boards being missed.
[0006] 5. Weak Bluetooth Interaction Functionality and Insufficient Testing Depth: Most existing tools for Bluetooth functionality testing only cover basic "scanning and connection" levels, failing to simulate complex real-world application scenarios. These scenarios include automatically pairing and disconnecting with devices using specified MAC addresses, controlling devices to perform specific actions (such as playing audio) via Bluetooth channels, and verifying high-bandwidth audio data transmission capabilities. This prevents the full verification of advanced Bluetooth module functions, posing potential quality risks. Summary of the Invention
[0007] The purpose of this invention is to provide a multi-channel integrated device testing system and method, which supports multiple connection mode adaptation, integrated testing functions, accurate device screening, flexible configuration of judgment criteria, and has deep Bluetooth testing capabilities, so as to overcome the shortcomings of the prior art.
[0008] The technical solution to the above problems is as follows: A multi-channel integrated device testing system, including hardware devices and a PC testing tool. The hardware devices include a USB interface, a wired network interface, a wireless communication module, a Bluetooth module, I / O ports, buttons, and a solid-state system. The USB interface, wired network interface, wireless communication module, Bluetooth module, I / O ports, and buttons are used to establish electrical connections and data interaction paths with the development board. The solid-state system runs on the development board and controls each interface through a driver program to complete the overall functions of signal acquisition, data communication, and peripheral management. The PC testing tool includes a connection management module, a device discovery module, a test execution module, a result processing module, a status configuration module, and a Bluetooth interaction module. The connection management module is responsible for establishing and maintaining the communication connection between the PC testing tool and the development board. The device discovery module uses MAC addresses to achieve accurate screening and positioning of the development board. The test execution module integrates multiple test items and can select single or batch test items according to needs. The result processing module is used to receive test data returned by the development board, parse, store, and display it. The status configuration module is used for user-defined judgment criteria for test results. The Bluetooth interaction module is used to realize interaction with the Bluetooth module on the development board.
[0009] The further technical solution is as follows: The connection management module includes a multi-interface adaptive unit, a connection status monitoring unit, and a protocol adaptation engine; the multi-interface adaptive unit is used to realize automatic switching between USB, wired network, and wireless network interfaces; the connection status monitoring unit is used to monitor the connection status and perform automatic reconnection when the connection is lost; the protocol adaptation engine is used to uniformly encapsulate the data of different interfaces. The device discovery module includes a MAC address input and filtering unit, a broadcast query command generation unit, and a device list management unit; the MAC address input and filtering unit is used to accurately locate target devices; the broadcast query command generation unit is used for network device discovery; and the device list management unit is used for parallel debugging and scheduling of multiple devices. The test execution module includes a test item selection unit, an instruction sequence generation unit, and a parallel test control unit. The test item selection unit is used to select a test item to be executed from preset test types. The test item types include signal testing, WiFi testing, Bluetooth testing, I / O port testing, version number testing, button testing, and connection testing. The instruction sequence generation unit is used to automatically generate an executable test instruction sequence based on the selected test item. The parallel test control unit is used to schedule the simultaneous execution of multiple test item tasks. The result processing module includes a raw data parsing unit, a threshold comparison engine unit, and a test report generation unit. The raw data parsing unit is used to perform structured parsing on the raw data generated by the test; for example, converting binary or string data returned by the development board into a readable format. The threshold comparison engine unit is used to automatically compare the parsed test results with preset standard values. The test report generation unit is used to generate a detailed test result document based on the comparison results. The status configuration module includes a test parameter management unit, a test plan storage unit, and a device information preset unit. The test parameter management unit is used to flexibly configure and update parameters such as test thresholds and judgment conditions. The test plan storage unit is used to save the complete test configuration as a reusable test template. The device information preset unit is used to pre-enter a standard information database containing device models, specifications, and technical indicators. The Bluetooth interaction module includes a Bluetooth protocol stack interface unit, an audio stream test control unit, and an interaction quality monitoring unit. The Bluetooth protocol stack interface unit is used to establish a Bluetooth connection with the device under test and to perform pairing, connection management, and data transmission operations. The audio stream test control unit is used to simulate real application scenarios. The interaction quality monitoring unit is used to evaluate connection stability.
[0010] Another related technical solution is: a multi-channel integrated equipment testing method, which is a testing method for the aforementioned multi-channel integrated equipment testing system, and the method includes the following steps: Step 1, Select Connection Method: Users can select the connection method through the connection management module or quickly locate the development board and establish a connection by entering the target MAC address through the device search module; Step 2, Select Test Items: Select the items to be tested in the test execution module, and set the judgment criteria for the corresponding items through the status configuration module; Step 3, Development board performs test: The PC test tool sends test commands to the development board, and the development board executes the test and returns the result data; Step 4, Analyze the test results: The result processing module parses the data and compares it with the set standards, displays the test results through the GUI, and stores the data.
[0011] The further technical solution is as follows: The selected test items include signal testing, WiFi testing, Bluetooth testing, IO port testing, version number testing, button testing, and connection testing.
[0012] The further technical solution is as follows: The signal testing method is as follows: the test execution module sends a signal strength detection command to the development board, the development board returns the current received signal strength indication value, and the PC test tool records and displays it in real time; The WiFi testing method is as follows: the test execution module sends a WiFi test command to the development board, controls the development board to scan for surrounding WiFi hotspots, and returns information such as hotspot name, signal strength, and encryption method to verify the scanning and parsing capabilities of the WiFi module; The Bluetooth testing method is as follows: the test execution module sends a Bluetooth test command to the development board, triggering the development board's Bluetooth module to enter discoverable mode and verifying its broadcast function; Bluetooth data is sent to the development board via a PC test tool to verify data transmission capability. The method for testing the I / O port is as follows: the test execution module sends high and low level control commands to the specified I / O port on the development board, receives the actual level status of the I / O port returned by the board, and verifies the input and output functions of the I / O port; The method for version number testing is as follows: The test execution module sends a version number test command to the development board, obtains the firmware version number and hardware version number of the development board, compares them with the standard version number preset by the PC test tool, and marks the differences. The button testing method is as follows: the test execution module prompts the user to operate the physical buttons on the development board, the development board returns the button trigger signal, and the PC test tool records and judges whether the button response is normal. The connection test method is as follows: the test execution module sends a connection test command to the development board, the PC test tool automatically connects to the development board hotspot through the specified MAC, interacts with the development board to establish a socket connection, allows the board to enter test mode, and starts the test process.
[0013] A further technical solution is to employ a multi-mode adaptive connection channel; the connection channel includes: Mode 1 is the USB direct connection test mode. The PC and development board are connected via USB cable. The connection management module automatically recognizes the USB serial port, configures the baud rate, and establishes a data transmission channel. Mode 2 is a wired network testing mode. The PC and development board are connected via an RJ45 network cable. The connection management module automatically obtains the IP address of the development board and supports static IP configuration. A Socket connection is established based on the TCP / IP protocol. Mode 3 is the wireless network test mode, which enables device testing in a wireless environment through WiFi connection; the connection management module scans for WiFi hotspots emitted by the development board or those within the same local area network as the development board, and transmits test data based on the UDP protocol; The device-side test agent has a parallel monitoring function, which can simultaneously monitor test commands from multiple communication channels such as USB serial port, wired network socket connection, and wireless UDP packets; and automatically switch to the corresponding test mode for processing according to the source channel of the test command, so as to adapt to the test requirements under different connection scenarios.
[0014] The further technical solution is as follows: It employs precise device screening and testing based on MAC addresses. The PC testing tool supports precise device location and search by inputting the target development board's MAC address. The method involves the PC testing tool broadcasting a query command via a currently enabled USB, wired network, or wireless network connection. Upon receiving the query command, the development board returns its own MAC address and device information. The device search module compares the input MAC address with the returned information; if a match is found, it is automatically selected and a connection is established. During subsequent testing, the test commands sent by the PC testing tool carry the target MAC address. Upon receiving the command, the device-side test agent first verifies whether the MAC address in the command matches its own MAC address. Only if a match is found does it execute the corresponding test operation and return test data; otherwise, the command is ignored. This mechanism enables precise test control of specific devices in a multi-device parallel testing environment.
[0015] The further technical solution is as follows: A real-time test data processing and multi-layer verification mechanism is adopted. The PC testing tool uses a real-time data processing mechanism, with the device returning test data item by item. Upon receiving the data, the PC testing tool immediately parses and verifies it. This mechanism includes multi-layer reliability design: ① Packet-level verification: Format and integrity verification is performed on each received packet to ensure error-free data transmission; ② Item-level threshold comparison: The parsed test data is compared in real-time with user-preset judgment criteria; ③ Result comprehensive judgment: After all test items are completed, the PC testing tool will generate an overall test conclusion by combining the results of each item.
[0016] The further technical solution is as follows: An intelligent test judgment mechanism based on dual-threshold configuration is adopted; the PC test tool uses a dual-threshold configuration strategy, wherein the dual thresholds are a fixed threshold and a dynamic threshold. For regular test items, users can set a fixed judgment threshold; for special test scenarios, the PC test tool supports dynamic threshold adjustment based on device type or test environment; after the device executes the test and returns the original data, the PC test tool performs intelligent comparison: if the test data is within the fixed threshold range, it is directly judged as passed; if it exceeds the fixed threshold but meets the dynamic threshold conditions, it is combined with the test context for auxiliary judgment.
[0017] The further technical solution is as follows: A silent testing and deep Bluetooth interaction mechanism is adopted. The system supports a silent testing mode, where users can preset test parameters and execution conditions. When the conditions are met, the PC testing tool automatically executes the entire test process without manual intervention. During this process, the PC testing tool automatically completes the sending of instructions, receiving of data, analysis of results, and generation of reports for all test items. Simultaneously, the system provides deep Bluetooth interaction testing capabilities: the PC testing tool can simulate real-world application scenarios, automatically pairing, connecting, transmitting data, and disconnecting with Bluetooth devices using specified MAC addresses. The device's Bluetooth module responds and interacts throughout the process, verifying its stability and performance in real-world application environments.
[0018] By adopting the above technical solution, the multi-channel integrated equipment testing system and method of the present invention has the following advantages compared with the prior art: 1. Multi-interface adaptation and strong scenario compatibility: This system solves the problem of single interface. Through the multi-interface support of hardware devices and unified management with PC testing tools, it has multi-mode adaptive connection channels and supports multiple connection methods such as USB, wired network, WiFi, and Bluetooth. It can meet the testing needs of different development boards (such as those with Ethernet interfaces, those that only support wireless communication, etc.). It can complete full-scenario testing without changing tools, and achieve full-scenario coverage of connection methods. The hardware devices provide physical connection capabilities, and the PC testing tools realize intelligent switching and protocol adaptation, improving system compatibility.
[0019] 2. Integrated Testing, High Operational Efficiency: This system solves the problem of scattered test items. Through the synergy of integrated hardware functions and unified scheduling of PC testing tools, it integrates multiple test items such as signal, WiFi, Bluetooth, and I / O ports into a single tool. It adopts consistent operating logic and data processing flow, reducing the operational complexity and training costs for testers, achieving one-stop testing. The hardware provides test execution capabilities, while the software implements process control and resource allocation, improving testing efficiency.
[0020] 3. Precise device location to avoid confusion: This method uses MAC address-based device precise screening and test location, which solves the problem of difficult device location and ensures the accurate delivery of instructions and data in multi-device parallel testing scenarios. It fundamentally avoids confusion of test objects, improves the reliability of batch testing, and achieves precise device management.
[0021] 4. Customizable judgment criteria, high flexibility: This method adopts real-time test data processing and multi-layer verification mechanism, as well as intelligent test judgment mechanism based on dual threshold configuration. It supports users to customize test thresholds (such as signal strength range, version number standard) according to development board model and application scenario, adapt to diverse test needs, solve the problem of rigid judgment criteria, and improve the accuracy of results.
[0022] 5. Comprehensive Bluetooth interaction functions and robust testing capabilities: It can test not only basic Bluetooth connection functions but also complex operations such as automatic connection, disconnection, and music playback, comprehensively verifying the communication and application capabilities of the Bluetooth module and covering more test scenarios. This solves the problem of insufficient depth in Bluetooth testing.
[0023] 6. Data visualization and traceability: The test process is displayed in real time through a graphical interface, and the results can be exported and stored, which facilitates the archiving of test records and the tracing of problems, and realizes full traceability of the test process.
[0024] The technical features of a multi-channel integrated equipment testing system and method of the present invention will be further described below with reference to the accompanying drawings and embodiments. Attached Figure Description
[0025] Figure 1 This is a system block diagram of the present invention; Figure 2 This is a system workflow diagram of the present invention; Figure 3 This is a flowchart of the Bluetooth function testing process for this system. Detailed Implementation Example 1:
[0026] like Figure 1 As shown, a multi-channel integrated device testing system includes hardware devices and PC testing tools.
[0027] The hardware device includes a USB interface, a wired network interface (RJ45), a wireless communication module (supporting WiFi 802.11a / b / g / n / ac and Bluetooth 5.0 protocols), a Bluetooth module, I / O ports, buttons, and a solid-state system. The USB interface, wired network interface (RJ45), wireless communication module, Bluetooth module, I / O ports, and buttons are used to establish electrical connections and data interaction paths with the development board. The solid-state system runs on the development board and controls each interface through drivers to complete the overall functions of signal acquisition, data communication, and peripheral management.
[0028] The USB interface has functions of serial port driver management, data flow control, and device enumeration service; the serial port driver management refers to the loading of the USB serial port driver and adaptive baud rate configuration; the data flow control refers to the management and control of the data flow transmitted by the USB serial port to ensure transmission reliability; the device enumeration service refers to the plug-and-play identification and enumeration management of the USB device under test.
[0029] The wired network interface features a TCP / IP protocol stack, Socket communication management, and IP address allocation. The TCP / IP protocol stack is responsible for establishing a network communication channel with the device under test (DUT), ensuring reliable data transmission and guaranteeing stable and error-free transmission and reception of test commands and data over the network. The Socket communication management manages network connections, supports concurrent multi-connection processing, and can simultaneously establish network communication with multiple DUTs to meet the needs of parallel testing of multiple devices. The IP address allocation function automatically configures the network for the DUT, automatically allocating network parameters such as IP address, subnet mask, and gateway, enabling rapid network communication without manual configuration.
[0030] The wireless communication interface features WiFi connection management, UDP broadcast monitoring, and signal strength monitoring. WiFi connection management establishes a wireless network connection with the device under test (DUT), supports automatic hotspot connection, and can automatically scan, authenticate, and connect to target hotspots based on preset WiFi information without manual configuration. UDP broadcast monitoring provides device discovery services through UDP broadcast messages, automatically scanning and identifying online DUTs within the local area network and quickly establishing test communication links. Signal strength monitoring collects WiFi signal strength metrics in real time to assess the connection quality of the wireless network.
[0031] The PC testing tool is a software tool that runs on a PC. Through modular design, it integrates core functions such as connection management, device discovery, test execution, result processing, and configuration management. It works in conjunction with development boards and hardware devices to achieve efficient, accurate, and comprehensive device functional testing, realizing efficient and stable automated device testing. The PC testing tool includes a connection management module, a device discovery module, a test execution module, a result processing module, a status configuration module, and a Bluetooth interaction module.
[0032] The connection management module is responsible for establishing and maintaining the communication connection between the PC testing tool and the development board. The connection management module includes a multi-interface adaptive unit, a connection status monitoring unit, and a protocol adaptation engine. The multi-interface adaptive unit is used to realize automatic switching between USB, wired network, and wireless network interfaces. The connection status monitoring unit is used to monitor the connection status and perform automatic reconnection when the connection is lost. The protocol adaptation engine is used to uniformly encapsulate the data of different interfaces.
[0033] The device discovery module, based on MAC addresses, enables precise filtering and location of development boards. The module includes a MAC address input and filtering unit, a broadcast query command generation unit, and a device list management unit. The MAC address input and filtering unit is used for precise location of target devices; the broadcast query command generation unit is used for network device discovery; and the device list management unit is used for parallel debugging and scheduling of multiple devices.
[0034] The test execution module integrates multiple test items, allowing selection of single or batch test items as needed. The module includes a test item selection unit, an instruction sequence generation unit, and a parallel test control unit. The test item selection unit selects test items to be executed from preset test types, including signal testing, WiFi testing, Bluetooth testing, I / O port testing, version number testing, button testing, and connection testing. The instruction sequence generation unit automatically generates executable test instruction sequences based on the selected test items. The parallel test control unit schedules the simultaneous execution of multiple test item tasks.
[0035] The result processing module receives test data returned by the development board, parses, stores, and displays it. The module includes a raw data parsing unit, a threshold comparison engine unit, and a test report generation unit. The raw data parsing unit performs structured parsing of the raw test data; for example, it converts binary or string data returned by the development board into a readable format (e.g., converting raw RSSI values to "-50dBm"). The threshold comparison engine unit automatically compares the parsed test results with preset standard values. The test report generation unit generates a detailed test result document based on the comparison results. The display function uses a graphical user interface (GUI) to display the test process (e.g., signal strength curves, IO port level status indicators) and results ("pass" / "fail") in real time. The storage function supports exporting test results to Excel or TXT format, including test time, device MAC address, project name, results, and raw data, and uploading them to the data storage module.
[0036] The status configuration module is used for users to customize the judgment criteria of test results; the status configuration module includes a test parameter management unit, a test plan storage unit, and a device information preset unit; the test parameter management unit is used to flexibly configure and update parameters such as test thresholds and judgment conditions; the test plan storage unit is used to save the complete test configuration as a reusable test template; the device information preset unit is used to pre-enter a standard information database containing device models, specifications, and technical indicators.
[0037] The Bluetooth interaction module is used to interact with the Bluetooth module on the development board. The Bluetooth interaction module includes a Bluetooth protocol stack interface unit, an audio stream test control unit, and an interaction quality monitoring unit. The Bluetooth protocol stack interface unit is used to establish a Bluetooth connection with the device under test and perform pairing, connection management, and data transmission operations. The audio stream test control unit is used to simulate real-world application scenarios. The interaction quality monitoring unit is used for connection stability evaluation. Example 2:
[0038] A multi-channel integrated device testing method is provided. This testing method is a testing method for the multi-channel integrated device testing system described in Example 1. The method includes the following steps, see below. Figure 2 : Step 1, Select Connection Method: Users can select the connection method through the connection management module or quickly locate the development board and establish a connection by entering the target MAC address through the device search module; Step 2, Select Test Items: Select the items to be tested in the test execution module, and set the judgment criteria for the corresponding items through the status configuration module; the selected test items include signal test, WiFi test, Bluetooth test, IO port test, version number test, button test and connection test.
[0039] Step 3, Development board performs test: The PC test tool sends test commands to the development board, and the development board executes the test and returns the result data; Step 4, Analyze the test results: The result processing module parses the data and compares it with the set standards, displays the test results through the GUI, and stores the data.
[0040] This embodiment of a multi-channel integrated device testing method employs a multi-mode adaptive connection channel: adaptively adjusting the communication link according to the current network status and testing requirements. The connection channel includes: Mode 1 is the USB direct connection test mode. The PC and development board are connected via USB cable. The connection management module automatically recognizes the USB serial port (such as USB-to-TTL), configures the baud rate (default 115200) and establishes a data transmission channel. Mode 2 is a wired network testing mode. The PC and development board are connected via an RJ45 network cable. The connection management module automatically obtains the IP address of the development board (supports static IP configuration) and establishes a Socket connection based on the TCP / IP protocol. Mode 3 is the wireless network test mode, which enables device testing in a wireless environment through WiFi connection; the connection management module scans for WiFi hotspots (SSID is configurable) emitted by the development board or those in the same local area network as the development board, and transmits test data based on the UDP protocol; The device-side test agent has a parallel monitoring function, which can simultaneously monitor test commands from multiple communication channels such as USB serial port, wired network socket connection, and wireless UDP packets; and automatically switch to the corresponding test mode for processing according to the source channel of the test command, so as to adapt to the test requirements under different connection scenarios.
[0041] This embodiment of a multi-channel integrated device testing method employs MAC address-based precise device screening and testing location: the PC testing tool supports precise device location and search by inputting the MAC address of the target development board (including WiFi MAC, Bluetooth MAC, and Ethernet MAC). The method involves the PC testing tool broadcasting a query command through the currently enabled connection method such as USB, wired network, or wireless network. For example, the device search module provides a "MAC address search" function. After the user inputs the MAC address of the target development board (supporting WiFi MAC, Bluetooth MAC, or Ethernet MAC), the tool broadcasts a query command through the currently enabled connection method (USB / wired network / wireless network).
[0042] After receiving the query command, the development board returns its own MAC address, model, serial number and other device information. The device search module compares the input MAC address with the returned information. If a match is found, it will be automatically selected and a connection will be established. During subsequent testing, the test commands sent by the PC testing tool will carry the target MAC address. After receiving the command, the device-side test agent will first verify whether the MAC address in the command matches its own MAC address. Only if the match is successful will the corresponding test operation be executed and the test data returned. If the match is not successful, the command will be ignored. This mechanism enables precise test control of a specific device in a multi-device parallel testing environment, effectively avoiding the problems of test command sending errors and result confusion.
[0043] This embodiment of a multi-channel integrated device testing method employs real-time test data processing and a multi-layer verification mechanism. To address the challenges of large test data volume and high real-time requirements, and to ensure the reliability of test results, the PC testing tool utilizes a real-time data processing mechanism. The device returns test data item by item, and the PC testing tool immediately parses and verifies the received data. This mechanism includes multi-layer reliability design: ① Data packet level verification: Format and integrity verification is performed on each received data packet to ensure error-free data transmission; ② Item-level threshold comparison: The parsed test data is compared in real-time with user-preset judgment criteria, such as whether the RSSI signal strength value is within a set range, and whether the version number matches the standard list; ③ Result comprehensive judgment: After all test items are completed, the PC testing tool integrates the results of each item to generate an overall test conclusion, ensuring the comprehensiveness and accuracy of the test results.
[0044] This embodiment of a multi-channel integrated device testing method employs an intelligent test judgment mechanism based on dual-threshold configuration. The PC testing tool uses a dual-threshold configuration strategy, where the dual thresholds are a fixed threshold and a dynamic threshold. For routine test items, users can set a fixed judgment threshold, such as a signal strength range of -20 to -100 dBm. For special test scenarios, the PC testing tool supports dynamic threshold adjustment based on device type or test environment. After the device executes the test and returns the original data, the PC testing tool performs intelligent comparison: if the test data is within the fixed threshold range, it is directly judged as passed; if it exceeds the fixed threshold but meets the dynamic threshold conditions, it is combined with the test context for auxiliary judgment. This mechanism greatly enhances the adaptability and accuracy of the test, avoids misjudgment problems caused by rigid thresholds, and is particularly suitable for the testing needs of multiple models and multiple scenarios of devices.
[0045] Below are some examples of judgment criteria for corresponding items set in the status configuration module: ① For signal testing: Users can set a normal range (e.g., default -20~-100dBm, supports manual modification of upper and lower limits). The tool automatically compares the RSSI value returned by the board. If it falls within the range, it is judged as "pass". ② For version number testing: Users can enter a list of standard version numbers (such as "1.12.0003.12" and "3.22.0012.22"). The tool will compare the version numbers returned by the board with the list. If they match, it will "pass"; otherwise, it will mark the differences. ③ For other tests: Provide a threshold configuration interface (such as the upper limit of IO port level response time, the lower limit of Bluetooth data transmission rate, etc.).
[0046] This embodiment of a multi-channel integrated device testing method employs a silent testing and deep Bluetooth interaction mechanism. The system supports a silent testing mode, allowing users to preset test parameters and execution conditions. When these conditions are met (e.g., successful device connection, MAC address matching), the PC testing tool automatically executes the entire test process without manual intervention. During this process, the PC testing tool automatically completes all test item command sending, data reception, result analysis, and report generation, significantly improving testing efficiency. Simultaneously, the system provides deep Bluetooth interaction testing capabilities: the PC testing tool can simulate real-world application scenarios, automatically pairing, connecting, transmitting data (including high-bandwidth audio data), and disconnecting from Bluetooth devices with specified MAC addresses. The device's Bluetooth module responds to these complex interactions throughout, verifying its stability and performance in real-world application environments.
[0047] This system offers various testing methods: The signal testing method is as follows: the test execution module sends a signal strength detection command to the development board, the development board returns the current received signal strength indication value (RSSI), and the PC test tool records and displays it in real time. The WiFi testing method is as follows: the test execution module sends a WiFi test command to the development board, controls the development board to scan for surrounding WiFi hotspots, and returns information such as hotspot name, signal strength, and encryption method to verify the scanning and parsing capabilities of the WiFi module; The Bluetooth testing method is as follows: the test execution module sends a Bluetooth test command to the development board, triggering the development board's Bluetooth module to enter discoverable mode and verifying its broadcast function; Bluetooth data (such as text and audio streams) is sent to the development board via a PC test tool to verify data transmission capability. The method for testing the I / O port is as follows: the test execution module sends high and low level control commands to the specified I / O port on the development board, receives the actual level status of the I / O port returned by the board, and verifies the input and output functions of the I / O port. The method for version number testing is as follows: The test execution module sends a version number test command to the development board, obtains the firmware version number and hardware version number of the development board, compares them with the standard version number preset by the PC test tool, and marks the differences. The method for button testing is as follows: the test execution module prompts the user to operate the physical buttons on the development board, the development board returns button trigger signals (such as key value and trigger time), and the PC test tool records and judges whether the button response is normal. The connection test method is as follows: the test execution module sends a connection test command to the development board, the PC test tool automatically connects to the development board hotspot through the specified MAC, interacts with the development board to establish a socket connection, allows the board to enter test mode, and starts the test process.
[0048] The following example illustrates the Bluetooth function testing method of this system: implementing complex interaction with the Bluetooth module of the development board: ① Automatic connection / disconnection: After the user selects the target Bluetooth MAC address, the Bluetooth interaction module automatically initiates pairing and establishes a connection; after the test is completed, a disconnect command can be sent with one click to verify the connection management capability of the development board's Bluetooth. ② Bluetooth Music Playback: The PC testing tool sends audio data (e.g., MP3 format) to the Bluetooth module on the development board, controlling the computer to connect to the Bluetooth module on the development board and push audio data to it, verifying the Bluetooth audio transmission and decoding functions. See [link / reference]. Figure 3 .
[0049] The device under test includes a Bluetooth RF chip, Bluetooth protocol stack firmware, audio codec, and microcontroller (MCU), and their responsibilities are as follows: Bluetooth RF chip: responsible for the modulation, demodulation, reception, and transmission of wireless signals.
[0050] Bluetooth protocol stack firmware: handles Bluetooth low-level pairing, connection management, and data packet protocol parsing.
[0051] Audio codec: Performs hardware decoding on audio data streams and converts them into analog signal outputs.
[0052] Microcontroller (MCU): As a coordination and control unit, it collects and reports back the Bluetooth connection status and audio playback status.
[0053] Responsibilities of PC testing tools: Test process control engine: Automatically executes the logical sequence of test cases to achieve test process and status management.
[0054] Audio stream test control unit: generates and distributes standard test audio data streams.
[0055] Interaction Quality Monitoring Unit: Collects and monitors Bluetooth link quality parameters in real time, including signal strength and bit error rate.
[0056] Report Generator: Summarizes test data and results to automatically generate structured test reports.
[0057] Command response interaction: The PC testing tool sends control commands such as pairing, connecting, and disconnecting. The hardware protocol stack processes the commands and returns response information, realizing command handshake and execution.
[0058] Data transmission and monitoring: The PC testing tool distributes and manages the audio data stream to the hardware; the PC testing tool synchronously reads the link quality parameters fed back by the hardware to achieve real-time quality monitoring.
[0059] Status feedback and report generation: The hardware MCU provides real-time feedback on connection and playback status, and the software PC testing tool makes test decisions and generates test reports based on the hardware response information and link monitoring data.
[0060] All parts not covered in this invention are the same as or can be implemented using existing technology. The above description is a further detailed explanation of this invention in conjunction with specific preferred embodiments. It should not be construed that the specific implementation of this invention is limited to the descriptions of the above embodiments. For those skilled in the art, several simple deductions or substitutions can be made without departing from the concept of this invention, and all such deductions or substitutions should be considered to fall within the patent protection scope defined by the submitted claims.
Claims
1. A multi-channel integrated equipment testing system, characterized in that: The system includes hardware devices and a PC testing tool. The hardware devices include a USB interface, a wired network interface, a wireless communication module, a Bluetooth module, I / O ports, buttons, and a solid-state system. The USB interface, wired network interface, wireless communication module, Bluetooth module, I / O ports, and buttons are used to establish electrical connections and data exchange paths with the development board. The solid-state system runs on the development board and controls each interface through drivers, completing the overall functions of signal acquisition, data communication, and peripheral management. The PC testing tool includes a connection management module, a device discovery module, a test execution module, a result processing module, a status configuration module, and a Bluetooth interaction module. The connection management module is responsible for establishing and maintaining the communication connection between the PC testing tool and the development board; the device discovery module uses MAC addresses to accurately filter and locate the development board; the test execution module integrates multiple test items, allowing users to select single or batch test items as needed; the result processing module receives test data returned by the development board, parses, stores, and displays it; the status configuration module allows users to customize the judgment criteria for test results; and the Bluetooth interaction module enables interaction with the Bluetooth module on the development board.
2. The multi-channel integrated equipment testing system according to claim 1, characterized in that: The connection management module includes a multi-interface adaptive unit, a connection status monitoring unit, and a protocol adaptation engine. The multi-interface adaptive unit is used to automatically switch between USB, wired network, and wireless network interfaces. The connection status monitoring unit is used to monitor the connection status and perform automatic reconnection when the connection is lost. The protocol adaptation engine is used to uniformly encapsulate data from different interfaces. The device discovery module includes a MAC address input and filtering unit, a broadcast query command generation unit, and a device list management unit; the MAC address input and filtering unit is used to accurately locate target devices; the broadcast query command generation unit is used for network device discovery; and the device list management unit is used for parallel debugging and scheduling of multiple devices. The test execution module includes a test item selection unit, an instruction sequence generation unit, and a parallel test control unit. The test item selection unit is used to select a test item to be executed from preset test types. The test item types include signal testing, WiFi testing, Bluetooth testing, I / O port testing, version number testing, button testing, and connection testing. The instruction sequence generation unit is used to automatically generate an executable test instruction sequence based on the selected test item. The parallel test control unit is used to schedule the simultaneous execution of multiple test item tasks. The result processing module includes a raw data parsing unit, a threshold comparison engine unit, and a test report generation unit. The raw data parsing unit is used to perform structured parsing on the raw data generated by the test; for example, converting binary or string data returned by the development board into a readable format. The threshold comparison engine unit is used to automatically compare the parsed test results with preset standard values. The test report generation unit is used to generate a detailed test result document based on the comparison results. The status configuration module includes a test parameter management unit, a test plan storage unit, and a device information preset unit; The test parameter management unit is used to flexibly configure and update parameters such as test thresholds and judgment conditions; the test plan saving unit is used to save the complete test configuration as a reusable test template; the equipment information preset unit is used to pre-enter a standard information database containing equipment models, specifications and technical indicators. The Bluetooth interaction module includes a Bluetooth protocol stack interface unit, an audio stream test control unit, and an interaction quality monitoring unit. The Bluetooth protocol stack interface unit is used to establish a Bluetooth connection with the device under test and to perform pairing, connection management, and data transmission operations. The audio stream test control unit is used to simulate real application scenarios. The interaction quality monitoring unit is used to evaluate connection stability.
3. A multi-channel integrated equipment testing method, characterized in that: The testing method is a testing method for a multi-channel integrated device testing system as described in claim 2, and the method includes the following steps: Step 1, Select Connection Method: Users can select the connection method through the connection management module or quickly locate the development board and establish a connection by entering the target MAC address through the device search module; Step 2, Select Test Items: Select the items to be tested in the test execution module, and set the judgment criteria for the corresponding items through the status configuration module; Step 3, Development board performs test: The PC test tool sends test commands to the development board, and the development board executes the test and returns the result data; Step 4, Analyze the test results: The result processing module parses the data and compares it with the set standards, displays the test results through the GUI, and stores the data.
4. The multi-channel integrated equipment testing method according to claim 3, characterized in that: The selected test items include signal testing, WiFi testing, Bluetooth testing, I / O port testing, version number testing, button testing, and connection testing.
5. The multi-channel integrated equipment testing method according to claim 3, characterized in that: The signal testing method is as follows: the test execution module sends a signal strength detection command to the development board, the development board returns the current received signal strength indication value, and the PC test tool records and displays it in real time. The WiFi testing method is as follows: the test execution module sends a WiFi test command to the development board, controls the development board to scan for surrounding WiFi hotspots, and returns information such as hotspot name, signal strength, and encryption method to verify the scanning and parsing capabilities of the WiFi module; The Bluetooth testing method is as follows: the test execution module sends a Bluetooth test command to the development board, triggering the development board's Bluetooth module to enter discoverable mode and verifying its broadcast function; Bluetooth data is sent to the development board via a PC test tool to verify data transmission capability. The method for testing the I / O port is as follows: the test execution module sends high and low level control commands to the specified I / O port on the development board, receives the actual level status of the I / O port returned by the board, and verifies the input and output functions of the I / O port; The method for version number testing is as follows: The test execution module sends a version number test command to the development board, obtains the firmware version number and hardware version number of the development board, compares them with the standard version number preset by the PC test tool, and marks the differences. The button testing method is as follows: the test execution module prompts the user to operate the physical buttons on the development board, the development board returns the button trigger signal, and the PC test tool records and judges whether the button response is normal. The connection test method is as follows: the test execution module sends a connection test command to the development board, the PC test tool automatically connects to the development board hotspot through the specified MAC, interacts with the development board to establish a socket connection, allows the board to enter test mode, and starts the test process.
6. The multi-channel integrated equipment testing method according to claim 3, characterized in that: A multi-mode adaptive connection channel is adopted; the connection channel includes: Mode 1 is the USB direct connection test mode. The PC and development board are connected via USB cable. The connection management module automatically recognizes the USB serial port, configures the baud rate, and establishes a data transmission channel. Mode 2 is a wired network testing mode. The PC and development board are connected via an RJ45 network cable. The connection management module automatically obtains the IP address of the development board and supports static IP configuration. A Socket connection is established based on the TCP / IP protocol. Mode 3 is the wireless network test mode, which enables device testing in a wireless environment through WiFi connection; the connection management module scans for WiFi hotspots emitted by the development board or those within the same local area network as the development board, and transmits test data based on the UDP protocol; The device-side test agent has a parallel monitoring function, which can simultaneously monitor test commands from multiple communication channels such as USB serial port, wired network socket connection, and wireless UDP data packets; and automatically switch to the corresponding test mode for processing according to the source channel of the test command, so as to adapt to the test requirements under different connection scenarios.
7. The multi-channel integrated equipment testing method according to claim 3, characterized in that: MAC address-based device screening and testing for precise location; The PC testing tool supports precise device location and search by inputting the target development board's MAC address. The method involves the PC testing tool broadcasting a query command via a currently enabled connection method such as USB, wired network, or wireless network. Upon receiving the query command, the development board returns its own MAC address and device information. The device search module compares the input MAC address with the returned information; if a match is found, it is automatically selected and a connection is established. During subsequent testing, the test commands sent by the PC testing tool carry the target MAC address. Upon receiving the command, the device-side test agent first verifies whether the MAC address in the command matches its own MAC address. Only if a match is found does it execute the corresponding test operation and return test data; otherwise, the command is ignored. This mechanism enables precise test control of specific devices in a multi-device parallel testing environment.
8. The multi-channel integrated equipment testing method according to claim 3, characterized in that: A real-time test data processing and multi-layer verification mechanism is adopted. The PC testing tool uses a real-time data processing mechanism, where the device returns test data item by item. The PC testing tool immediately parses and verifies the received data. This mechanism includes multi-layer reliability design: ① Packet-level verification: The format and integrity of each received packet are verified to ensure error-free data transmission; ② Item-level threshold comparison: The parsed test data is compared with the user's preset judgment criteria in real time; ③ Result comprehensive judgment: After all test items are completed, the PC testing tool will combine the results of each item to generate an overall test conclusion.
9. The multi-channel integrated equipment testing method according to claim 3, characterized in that: An intelligent test judgment mechanism based on dual-threshold configuration is adopted. The PC test tool adopts a dual-threshold configuration strategy, wherein the dual thresholds are a fixed threshold and a dynamic threshold. For regular test items, users can set a fixed judgment threshold. For special test scenarios, the PC test tool supports dynamic threshold adjustment based on device type or test environment. After the device executes the test and returns the original data, the PC test tool performs intelligent comparison: if the test data is within the fixed threshold range, it is directly judged as passing. If the value exceeds the fixed threshold but meets the dynamic threshold condition, the test context will be used for auxiliary determination.
10. The multi-channel integrated device testing method according to claim 3, characterized in that: The system employs a silent testing and deep Bluetooth interaction mechanism. It supports a silent testing mode, allowing users to preset test parameters and execution conditions. When these conditions are met, the PC testing tool automatically executes the entire test process without manual intervention. During this process, the PC testing tool automatically completes all test item command sending, data reception, result analysis, and report generation. Simultaneously, the system provides deep Bluetooth interaction testing capabilities: the PC testing tool can simulate real-world application scenarios, automatically pairing, connecting, transmitting data, and disconnecting with Bluetooth devices using specified MAC addresses. The device's Bluetooth module responded to the interaction throughout the process, verifying its stability and performance in a real-world application environment.