Wireless bluetooth earphone automatic test system and bluetooth earphone test equipment
By designing an automated testing system for wireless Bluetooth headsets, and utilizing automated scripts and intelligent devices to simulate user operations, the shortcomings of manual operation in wireless Bluetooth headset testing are solved, achieving an efficient and reliable testing process and improving the standardization and accuracy of test results.
Patent Information
- Application Number
- CN202522438567.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-18
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2035-11-18
AI Technical Summary
Testing wireless Bluetooth headsets relies on manual operation, resulting in lengthy testing cycles, high costs, susceptibility to subjective factors, and a lack of unified standards, making it difficult to achieve large-scale synchronous testing and long-term uninterrupted testing.
Design an automated testing system for wireless Bluetooth headsets, including a main control device and a hardware testing device. The system simulates hundreds or thousands of user devices for stress testing through automated scripts. It uses smartphones or tablets as mobile devices and utilizes Bluetooth hardware modules and communication components to achieve automated execution of simulated operation commands and real-time data monitoring. Combined with screen capture and process protection mechanisms, the system ensures the stability and reliability of the test.
It enables large-scale, long-term fully automated testing, shortens the testing cycle, reduces labor costs, decreases the probability of misjudgment and false positives, and improves the accuracy and reliability of test results.
Smart Images

Figure CN225034107U_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the technical field of Bluetooth headset testing, and in particular to an automated testing system and equipment for wireless Bluetooth headsets. Background Technology
[0002] In today's rapidly developing mobile electronic devices, wireless Bluetooth headsets have quickly gained a foothold in the consumer market and are favored by a wide range of consumers due to their convenience and superior performance comparable to wired headphones. However, in the production and quality control of wireless Bluetooth headsets, testing is crucial, as it directly affects the product's performance stability and user experience.
[0003] Currently, wireless Bluetooth headset testing largely relies on manual operation. Testers must manually complete processes such as headset pairing, simulated wearing and charging case activation, test data recording, and result judgment. However, this method has significant limitations. First, it is difficult to handle large-scale simultaneous testing of hundreds or thousands of devices, resulting in lengthy testing cycles. Second, prolonged testing requires substantial investment. Furthermore, manual operation is susceptible to subjective factors, posing a risk of operational errors and a high probability of misjudgments. Finally, manual testing cannot achieve uninterrupted, long-term stress testing, and the lack of standardized testing procedures leads to poor reliability and repeatability of results. Utility Model Content
[0004] The purpose of this disclosure is to overcome the shortcomings of the prior art and provide a fully automated wireless Bluetooth headset testing system that can simulate stress testing by a large number of users.
[0005] The purpose of this disclosure is achieved through the following technical solution: An automated testing system for wireless Bluetooth headsets includes a main control device and a hardware testing device. The main control device includes a host computer and a data management hardware module. The host computer is connected to the data management hardware module through a network interface.
[0006] The hardware testing device includes at least one mobile device and at least one wireless earphone under test. Each mobile device is equipped with a Bluetooth hardware module, which is paired and connected to the Bluetooth interface of the wireless earphone under test. Each mobile device is also equipped with a communication interface, which is communicatively connected to a corresponding interface of the host computer. The host computer is equipped with an instruction generation hardware unit, a hardware storage module, and a first communication component. The instruction generation hardware unit is used to generate analog operation instructions that can be recognized by the earphone and store them in the hardware storage module. The mobile device is equipped with an instruction execution hardware unit, a Bluetooth hardware module, and a second communication component. The Bluetooth hardware module is connected to the wireless earphone under test, and the second communication component is connected to the first communication component.
[0007] The instruction execution hardware unit is used to receive the simulated operation instructions from the host computer and control the wireless earphone under test to execute the simulated operation instructions.
[0008] In one embodiment, the second communication component is connected to the first communication component via either a Wi-Fi connection or a USB wired connection.
[0009] In one embodiment, the mobile device is at least one of a smartphone or a tablet.
[0010] In one embodiment, the hardware storage module is connected to the human-computer interaction main control hardware, the instruction execution hardware unit is connected to the human-computer interaction service hardware, and the human-computer interaction main control hardware and the human-computer interaction service hardware establish a communication connection through the first communication component and the second communication component to control the mobile device to perform simulated interactive operations.
[0011] In one embodiment, the mobile device has a built-in screen capture hardware unit, which is electrically connected to the second communication component; the host computer has a built-in display control hardware unit, which is electrically connected to the first communication component and the hardware storage module respectively; the screen capture hardware unit is used to collect screen image data of the mobile device in real time, and transmit the screen image data to the first communication component of the host computer through the second communication component; the display control hardware unit is used to receive the screen image data transmitted by the first communication component, parse and process the screen image data to generate a displayable image, so as to realize the real-time projection display of the mobile device screen content.
[0012] In one embodiment, the mobile device has a built-in process protection hardware unit, which is electrically connected to the second communication component and the instruction execution hardware unit respectively; the process protection hardware unit is used to monitor the operating status of the second communication component and the instruction execution hardware unit in real time.
[0013] In one embodiment, the data management hardware module includes a hardware storage unit and a remote monitoring hardware module. The hardware storage unit is connected to the mobile device, and the remote monitoring hardware module is connected to the host computer.
[0014] In one embodiment, the hardware storage unit has built-in FTP server hardware and backend database hardware, and the FTP server hardware is connected to a remote monitoring hardware module.
[0015] In one embodiment, the host computer is further provided with an exception handling module, which includes an exception identification unit and an exception handling unit. The exception identification unit is connected to the instruction execution hardware unit, and the exception handling unit is connected to the hardware storage unit.
[0016] This application also provides a Bluetooth headset testing device, including the automated testing system for wireless Bluetooth headsets described in any embodiment.
[0017] Compared with the prior art, this disclosure has at least the following advantages: The aforementioned automated testing system for wireless Bluetooth headsets can simulate large-scale, long-term stress tests on hundreds or thousands of user devices through automated scripts. The stress testing process is fully automated, allowing for uninterrupted testing without human intervention, significantly shortening the testing cycle. This reduces the manpower costs required for large-scale stress testing and lowers the probability of misjudgments or errors caused by manual operation, thereby making the testing process more standardized and regulated, and improving the accuracy and reliability of the test results. Attached Figure Description
[0018] To more clearly illustrate the technical solutions of the embodiments of this disclosure, the accompanying drawings used in the embodiments will be briefly described below. It should be understood that the following drawings only show some embodiments of this disclosure and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0019] Figure 1 This is a schematic diagram of the structure of an automated testing system for wireless Bluetooth headsets according to one embodiment; Figure 2 for Figure 1 The flowchart shown is for an automated testing system for wireless Bluetooth headsets. Figure 3 for Figure 1 The diagram shows the system principle of an automated testing system for wireless Bluetooth headsets. Detailed Implementation
[0020] To facilitate understanding of this disclosure, a more complete description will be given below with reference to the accompanying drawings, which illustrate preferred embodiments of the present disclosure. However, this disclosure can be implemented in many different forms and is not limited to the embodiments described herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of the disclosure.
[0021] It should be noted that when an element is referred to as being "fixed to" another element, it can be directly attached to the other element or there may be an intervening element. When an element is referred to as being "connected to" another element, it can be directly connected to the other element or there may be an intervening element. The terms "vertical," "horizontal," "left," "right," and similar expressions used herein are for illustrative purposes only and do not represent the only possible implementation.
[0022] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this disclosure belongs. The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of this disclosure. The term "and / or" as used herein includes any and all combinations of one or more of the associated listed items.
[0023] To better understand the technical solutions and beneficial effects of this disclosure, the following detailed description is provided in conjunction with specific embodiments: like Figures 1 to 3 As shown, an embodiment of the wireless Bluetooth headset automated testing system disclosed herein includes a main control device and a hardware testing device. The main control device includes a host computer and a data management hardware module. The host computer is connected to the data management hardware module through a network interface.
[0024] The hardware testing apparatus includes at least one mobile device and at least one wireless earphone under test. Each mobile device is equipped with a Bluetooth hardware module, which is paired and connected to the Bluetooth interface of the wireless earphone under test. Each mobile device is also equipped with a communication interface, which is connected to a corresponding interface of a host computer. The host computer is equipped with an instruction generation hardware unit, a hardware storage module, and a first communication component. The instruction generation hardware unit is used to generate analog operation instructions that can be recognized by the headset and store them in the hardware storage module. The mobile device is equipped with an instruction execution hardware unit, a Bluetooth hardware module, and a second communication component. The Bluetooth hardware module is connected to the wireless headset under test, and the second communication component is connected to the first communication component.
[0025] The instruction execution hardware unit is used to receive simulated operation instructions from the host computer and control the wireless earphone under test to execute the simulated operation instructions.
[0026] In this embodiment, the instruction generation hardware unit configured in the host computer generates simulated operation instructions that the headset can accurately recognize based on preset test requirements and standards. These instructions cover multiple aspects of wireless Bluetooth headset testing, such as operation instructions for initial pairing, audio playback, and charging in functional testing; instructions related to ensuring stable Bluetooth connection and interference-free signal in wireless connection testing; instructions for evaluating the Bluetooth headset's battery life in battery life testing; and specific instructions for product performance indicators during user use, such as broadcast mode, call monitoring mode, product information read / write stress test, and power transmission mode. The instruction generation hardware unit then stores the generated simulated operation instructions in a hardware storage module.
[0027] When the automated testing of the wireless Bluetooth headset begins, the host computer sends simulated operation commands stored in the hardware storage module to the mobile device via the first communication component. The mobile device's built-in second communication component establishes a stable connection with the first communication component and receives the commands sent by the host computer.
[0028] After receiving the simulated operation command from the host computer, the instruction execution hardware unit of the mobile device begins to parse and process the command. Subsequently, the instruction execution hardware unit communicates with the wireless earphone under test via a Bluetooth hardware module, controlling the earphone to execute the corresponding simulated operation command. Specifically, when a command to simulate wearing a button is received, the instruction execution hardware unit sends a corresponding signal to the wireless earphone under test, causing the earphone to simulate the operation state of the worn button; when a command to simulate earphones entering and leaving the charging case is received, the earphone, under the control of the instruction execution hardware unit, completes the simulated entry and exit actions, and simultaneously, relevant status information is fed back to the mobile device via Bluetooth.
[0029] Furthermore, during the execution of simulated operation commands by the wireless earphone under test, the mobile device collects various data from the earphone in real time, such as connection status data, audio playback quality data, and battery level changes. The mobile device then transmits the test data back to the host computer via a second communication component. Upon receiving the data from the mobile device, the host computer monitors and analyzes the various data points during the test in real time to determine if the earphone is operating normally. Then, based on preset test standards and expected results, it compares and evaluates the test data, generating a detailed test report. Simultaneously, the host computer saves the test log as a document in real time for testers to review and analyze the test process.
[0030] The aforementioned automated testing system for wireless Bluetooth headsets can simulate hundreds or thousands of user devices for large-scale, long-term stress testing through automated scripts. The stress testing process is fully automated, allowing for uninterrupted testing without human intervention, significantly shortening the testing cycle. This reduces the manpower costs required for large-scale stress testing and lowers the probability of misjudgments or errors caused by manual operation, thereby making the testing process more standardized and regulated, and improving the accuracy and reliability of the test results.
[0031] like Figures 1 to 3 As shown, in one embodiment, the connection between the second communication component and the first communication component can be either a Wi-Fi connection or a USB wired connection. In this embodiment, testers can flexibly choose between Wi-Fi and USB wired connections depending on the actual test scenario and requirements. In complex test environments where the mobile device and the host computer are far apart and frequent relocation is required, Wi-Fi connection eliminates the constraints of cables, allowing the mobile device to move freely and facilitating various test operations without being limited by cable length, thus not affecting the test range and results. In scenarios where data transmission stability is extremely important and the positions of the mobile device and the host computer are relatively fixed, USB wired connection provides a more stable and high-speed data transmission channel, ensuring accurate and rapid transmission of simulated operation commands from the host computer to the mobile device. It also ensures that the test data collected by the mobile device is promptly and completely transmitted back to the host computer, reducing the risk of data loss or transmission errors.
[0032] like Figures 1 to 3 As shown, in one embodiment, the mobile device is at least one of a smartphone or a tablet. In this embodiment, smartphones and tablets are common mobile devices with widespread availability and diversity. Testers can flexibly choose the appropriate mobile device for testing based on different testing needs and scenarios. For example, for testing scenarios with high requirements for screen size and touch accuracy, such as simulating the operation of headphones in a specific application interface, the large screen of a tablet can provide a better operating experience and testing results; while for scenarios requiring frequent movement during testing, the compact portability of a smartphone is more advantageous, facilitating testing operations in different locations and greatly improving testing flexibility. Furthermore, using existing smartphones or tablets as mobile devices eliminates the need to purchase additional specialized testing equipment, effectively reducing testing costs.
[0033] like Figures 1 to 3As shown, in one embodiment, the hardware storage module is connected to the human-computer interaction main control hardware, and the instruction execution hardware unit is connected to the human-computer interaction service hardware. The human-computer interaction main control hardware and the human-computer interaction service hardware establish a communication connection through the first communication component and the second communication component. The host computer generates simulated operation signals through the instruction generation hardware unit, which are transmitted to the mobile device via the human-computer interaction main control hardware and the human-computer interaction service hardware to control the mobile device to perform simulated interactive operations. In this embodiment, before the test starts, the host computer establishes a bidirectional communication link with the human-computer interaction service hardware in the instruction execution hardware unit of the mobile device through the human-computer interaction main control hardware (which is connected to the hardware storage module) and the Wi-Fi or USB connection of the first communication component and the second communication component. The main control terminal automatically sends device adaptation instructions to obtain the core parameters of the mobile device, including screen resolution, operating system version, current version of the target test APP, and interface control layout information. Through the integrated weditor tool, i.e., the element positioning tool, the mobile device screen is synchronized to the host computer interface in real time to generate a visual control mapping table, ensuring that subsequent simulated operation instructions are accurately matched with the mobile device interface.
[0034] Furthermore, during the generation and transmission of simulated operation commands, testers generate hardware units via commands from the host computer. Combining this with the visual configuration interface provided by the human-computer interaction main control hardware, they define test commands containing user-level interaction logic. Examples include sequential operation commands such as opening the phone's Bluetooth settings, clicking on the paired device list, long-pressing the name of the earphone under test, selecting to disconnect, and waiting 3 seconds before clicking to reconnect. These commands not only include operational actions but can also embed interaction timing, expected interaction results, and anomaly detection conditions. After editing, the commands are stored in the hardware storage module and transmitted in real-time by the main control terminal to the human-computer interaction service hardware of the mobile device via the first communication component.
[0035] Furthermore, after the mobile device's instruction execution hardware unit receives the instruction, the human-computer interaction service hardware parses it, first converting the user's actions in the instruction into operation code recognizable by the UIAutomator2 framework, and then calling the MiniTouch tool, a precise device control tool, to achieve physical-level precise operation. For example, it simulates a 1.5-second long press followed by a linear slide along the Y-axis, avoiding testing errors caused by uneven pressure or sliding deviations in manual operation. Specifically, during the interaction execution process, the server collects real-time interface feedback data from the mobile device, such as interface transition status, control state changes, and APP pop-up information, and transmits this data back to the host computer's human-computer interaction main control hardware via a second communication component. The main control terminal then synchronously displays the mobile device's operation process on a visual interface for intuitive monitoring by testers.
[0036] Furthermore, after an interactive command is executed, the human-computer interaction main control hardware compares the actual feedback data with the preset expected result. If the actual result matches the expectation, the next interactive command is automatically triggered. If an anomaly occurs, the main control terminal immediately sends an anomaly handling command to the server. The server then executes preset logic, such as forcibly refreshing the Bluetooth interface or restarting the target APP, and sends the anomaly information back to the host computer. Simultaneously, all interactive operation records are stored in real-time as structured logs, and then uploaded to the backend database and FTP server through the data management hardware module, thus forming a closed loop of interactive data generation, execution, and feedback to storage.
[0037] The aforementioned automated simulated human-computer interaction avoids the tediousness and inefficiency of manual simulated interaction, solving the problems of inconsistent operations that traditional manual testing requires testers to manually perform various interactive operations. Furthermore, in this embodiment, the host computer can quickly generate and send simulated operation commands, and the mobile device automatically executes the interactive operations, greatly improving testing efficiency and shortening the testing cycle. Moreover, when testing the touch operation function of headphones, automated testing can complete a large number of touch simulations in a short time, while manual testing may take hours or even days to complete the same number of tests.
[0038] like Figures 1 to 3 As shown, in one embodiment, the mobile device has a built-in screen capture hardware unit electrically connected to a second communication component; the host computer has a built-in display control hardware unit electrically connected to a first communication component and a hardware storage module; the screen capture hardware unit is used to collect screen image data of the mobile device in real time and transmit the screen image data to the first communication component of the host computer through the second communication component; the display control hardware unit is used to receive the screen image data transmitted by the first communication component, parse and process the screen image data to generate a displayable image, thereby realizing real-time projection display of the mobile device screen content. In this embodiment, the screen capture hardware unit collects screen image data of the mobile device in real time, and the display control hardware unit processes it to achieve real-time projection display. Testers can intuitively see the operation interface and status changes related to the wireless Bluetooth headset test on the mobile device on the host computer. For example, when performing Bluetooth pairing, audio playback and other function tests, testers can clearly observe the prompts during the pairing process, the audio playback interface display, etc., without having to perform cumbersome operations and viewing on the mobile device, thereby improving the visualization of the test and facilitating the timely discovery of problems during the test.
[0039] Furthermore, the real-time screen projection function allows testers to comprehensively monitor the testing process. Whether testing a single mobile device with a wireless Bluetooth headset or conducting batch testing of multiple mobile devices simultaneously, testers can centrally view the screen content of each mobile device on the host computer, promptly identifying and intervening in any anomalies. The real-time acquired screen image data can not only be used for real-time display but also recorded and stored as part of the test data. This image data can intuitively reflect the changes in the mobile device's interface and status during the test, providing rich information for subsequent test data analysis.
[0040] Specifically, a screen capture hardware unit is built into the mobile device, and a display control hardware unit is built into the host computer, making the system architecture more rational and efficient. The screen capture hardware unit is dedicated to collecting screen image data from the mobile device and is electrically connected to the second communication component to ensure timely and accurate data transmission. The display control hardware unit is responsible for receiving and processing this data and realizing real-time screen projection display. It is electrically connected to the first communication component and the hardware storage module, improving the overall performance and stability of the system and reducing interference and errors during data transmission and processing.
[0041] like Figures 1 to 3 As shown, in one embodiment, the mobile device has a built-in process guardian hardware unit, which is electrically connected to the second communication component and the instruction execution hardware unit. The process guardian hardware unit is used to monitor the operating status of the second communication component and the instruction execution hardware unit in real time. In this embodiment, when a network connection interruption is detected in the second communication component or an abnormal test instruction execution occurs in the instruction execution hardware unit, the process guardian hardware unit automatically triggers a restart operation of the corresponding hardware module to restore the communication connection between the mobile device and the host computer and the normal execution of test instructions. Specifically, the process guardian hardware unit starts running after the test system starts, continuously monitoring key test-related processes on the mobile device, including but not limited to the atx-agent daemon process, the UIAutomator2 service and the weditor tool process, as well as the running processes corresponding to the touch simulation unit and the screen projection control unit. This unit ensures that the test-related programs are always in a normal working state by periodically checking the running status, resource usage, and inter-process communication status of each process. When an anomaly is detected in a test-related process, such as process crash, unresponsiveness, or abnormal resource usage, the process guardian hardware unit will immediately trigger the exception handling mechanism and record the time of the anomaly, process name, exception type, and related system log information in detail for subsequent analysis and processing.
[0042] Furthermore, when an anomaly is detected, the process guardian hardware unit quickly transmits the anomaly information to the host computer via the second communication component. Simultaneously, the process guardian hardware unit can restart the abnormal process. If recovery is successful, a success notification is sent to the host computer; if recovery fails, detailed anomaly information continues to be transmitted to the host computer for further processing. Upon receiving the anomaly information from the process guardian hardware unit, the host computer immediately displays an anomaly warning on the visual interface, alerting testers. Simultaneously, the host computer automatically triggers appropriate handling strategies based on the type and severity of the anomaly information.
[0043] The process-guarding hardware unit's real-time monitoring and anomaly handling mechanisms effectively prevent test interruptions caused by crashes or unresponsiveness of test-related processes. Even in complex testing environments, such as long-term load testing and multi-device concurrent testing, it ensures the stable operation of the testing process, thereby improving test reliability and success rate. The process-guarding hardware unit can monitor and manage the running status of test-related programs in real time without human intervention, automatically handling common anomalies, reducing the need for manual intervention, lowering the workload of testers, and improving the automation level and efficiency of testing.
[0044] like Figures 1 to 3 As shown, in one embodiment, the data management hardware module includes a hardware storage unit and a remote monitoring hardware module. The hardware storage unit is connected to the mobile device, and the remote monitoring hardware module is connected to the host computer. During the testing process in this embodiment, the mobile device transmits the collected test data to the hardware storage unit in real time through a second communication component. The hardware storage unit adopts a distributed storage architecture, supporting parallel writing by multiple devices to ensure data integrity in high-concurrency scenarios. Simultaneously, the hardware storage unit performs preliminary cleaning and classification of the received raw data, and stores it tagged according to test type and timestamp, providing a structured data foundation for subsequent analysis. Traditional test data relies on manual recording and local storage, which is prone to loss and difficult to share. Furthermore, the remote monitoring hardware module establishes a connection with the backend database through a secure API to pull key indicator data in real time; and its built-in web server supports a remote monitoring interface accessible through a browser. This interface uses dynamic charts and allows data filtering by multiple dimensions such as device ID, test type, and time range.
[0045] like Figures 1 to 3As shown, in one embodiment, the hardware storage unit integrates FTP server hardware and a backend database hardware. The FTP server hardware is connected to the remote monitoring hardware module. In this embodiment, the FTP server in the hardware storage unit acts as a temporary receiving node, receiving the raw data stream from the mobile device and ensuring the integrity and accuracy of the data through a built-in data verification mechanism. After successful verification, the FTP server performs preliminary sorting of the data according to preset classification rules and stores it in a temporary cache. The backend database, through a associated timed data processing script, retrieves the raw data from the FTP server's temporary cache, performs deep cleaning, and then executes structured processing. During the structured processing stage, the data is stored in a relational database according to a preset data model for subsequent efficient querying and analysis.
[0046] like Figures 1 to 3 As shown, in one embodiment, the host computer also includes an exception handling module, which comprises an exception identification unit and an exception handling unit. The exception identification unit is connected to the instruction execution hardware unit, and the exception handling unit is connected to the hardware storage unit. In this embodiment, while controlling the wireless earphone under test to execute simulated operation instructions, the instruction execution hardware unit of the mobile device collects various data fed back by the earphone and its own operating status data in real time. This data is transmitted to the host computer in real time through the second communication component. After receiving this data, the exception identification unit analyzes the data in real time according to preset exception judgment rules. After receiving the exception alarm information sent by the exception identification unit, the exception handling unit makes a decision based on the preset exception handling strategy library. For some common minor exceptions, the exception handling unit directly triggers a preset automatic recovery instruction and sends it to the mobile device through the second communication component. After receiving the instruction, the instruction execution hardware unit of the mobile device immediately executes the corresponding recovery operation, such as re-initiating the Bluetooth connection or adjusting audio playback parameters. At the same time, the exception handling unit stores the exception information and processing process record in real time to the hardware storage unit. After receiving the exception record data transmitted by the exception handling unit, the hardware storage unit will store it according to the preset classification rules for subsequent analysis and tracing.
[0047] In traditional testing, anomalies often require manual detection and handling by testers, which can easily lead to untimely or improper handling, resulting in test interruptions or inaccurate results. This embodiment, through the real-time monitoring and automatic processing mechanism of the anomaly handling module, can respond immediately when an anomaly occurs, automatically performing recovery operations or prompting testers to intervene. This effectively avoids test interruptions caused by untimely anomaly handling, significantly improving the stability and reliability of the test.
[0048] This application also provides a Bluetooth headset testing device, including an automated testing system for wireless Bluetooth headsets according to any embodiment. In a key embodiment, the instruction generation hardware unit configured in the host computer generates simulated operation instructions that the headset can accurately recognize, based on preset test requirements and standards. These instructions cover multiple aspects of wireless Bluetooth headset testing, such as operation instructions for initial pairing, audio playback, and charging in functional testing; instructions related to ensuring stable Bluetooth connection and interference-free signal in wireless connection testing; instructions for evaluating the battery life of the Bluetooth headset in battery life testing; and specific instructions for product performance indicators during user use, such as broadcast mode, call monitoring mode, product information read / write stress test, and power transmission mode. The instruction generation hardware unit then stores the generated simulated operation instructions in a hardware storage module. When the automated testing of the wireless Bluetooth headset begins, the host computer sends the simulated operation instructions stored in the hardware storage module to the mobile device via a first communication component. The second communication component built into the mobile device establishes a stable connection with the first communication component and receives the instructions sent by the host computer. After receiving the simulated operation instructions from the host computer, the instruction execution hardware unit of the mobile device begins to parse and process the instructions. Subsequently, the instruction execution hardware unit communicates with the wireless earphone under test via a Bluetooth hardware module, controlling the earphone to execute corresponding simulated operation commands. Specifically, when a command to simulate wearing a button is received, the instruction execution hardware unit sends a corresponding signal to the earphone, causing it to simulate the operation state of the worn button. When a command to simulate earphone entering or leaving the charging case is received, the earphone, under the control of the instruction execution hardware unit, completes the simulated entry and exit actions, while relevant status information is fed back to the mobile device via Bluetooth. Further, during the execution of simulated operation commands by the earphone, the mobile device collects various data from the earphone in real time, such as connection status data, audio playback quality data, and battery level changes. The mobile device then promptly transmits the collected test data back to the host computer via a second communication component. After receiving the data transmitted from the mobile device, the host computer monitors and analyzes the various data during the test in real time to determine whether the earphone is operating normally. Then, based on preset test standards and expected results, it compares and evaluates the test data, generating a detailed test report. Simultaneously, the host computer saves the test log as a document in real time for testers to review and analyze the test process.
[0049] Compared with the prior art, this disclosure has at least the following advantages: The aforementioned automated testing system for wireless Bluetooth headsets can simulate large-scale, long-term stress tests on hundreds or thousands of user devices through automated scripts. The stress testing process is fully automated, allowing for uninterrupted testing without human intervention, significantly shortening the testing cycle. This reduces the manpower costs required for large-scale stress testing and lowers the probability of misjudgments or errors caused by manual operation, thereby making the testing process more standardized and regulated, and improving the accuracy and reliability of the test results.
[0050] The embodiments described above are merely illustrative of several implementations of this disclosure, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of the disclosed patent. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this disclosure, and these all fall within the protection scope of this disclosure. Therefore, the protection scope of this patent should be determined by the appended claims.
Claims
1. An automated testing system for wireless Bluetooth headsets, characterized in that, It includes a main control device and a hardware testing device. The main control device includes a host computer and a data management hardware module. The host computer is equipped with a network interface and is connected to the data management hardware module through the network interface. The hardware testing device includes at least one mobile device and at least one wireless earphone under test. Each mobile device is equipped with a Bluetooth hardware module, which is paired and connected to the Bluetooth interface of the wireless earphone under test. Each mobile device is also equipped with a communication interface, which is communicatively connected to a corresponding interface of the host computer. The host computer integrates an instruction generation hardware unit, a hardware storage module, and a first communication component, with the hardware storage module connected to the instruction generation hardware unit; the mobile device has a built-in instruction execution hardware unit, a Bluetooth hardware module, and a second communication component, with the instruction execution hardware unit electrically connected to the Bluetooth hardware module, and the second communication component connected to the first communication component. The instruction execution hardware unit is used to receive the signal from the host computer to generate the hardware unit, and to control the wireless earphone under test to perform test actions through the Bluetooth hardware module.
2. The automated testing system for wireless Bluetooth headsets according to claim 1, characterized in that, The second communication component is connected to the first communication component via either a Wi-Fi connection or a USB wired connection.
3. The automated testing system for wireless Bluetooth headsets according to claim 2, characterized in that, The mobile device is at least one of a smartphone or a tablet.
4. The automated testing system for wireless Bluetooth headsets according to claim 1, characterized in that, The hardware storage module is connected to the human-computer interaction main control hardware, and the instruction execution hardware unit is connected to the human-computer interaction service hardware. The human-computer interaction main control hardware and the human-computer interaction service hardware establish a communication connection through the first communication component and the second communication component to control the mobile device to perform simulated interactive operations.
5. The automated testing system for wireless Bluetooth headsets according to claim 1, characterized in that, The mobile device has a built-in screen capture hardware unit, which is electrically connected to the second communication component. The host computer has a built-in display control hardware unit, which is electrically connected to the first communication component and the hardware storage module. The screen capture hardware unit is used to collect screen image data of the mobile device in real time and transmit the screen image data to the first communication component of the host computer through the second communication component. The display control hardware unit is used to receive the screen image data transmitted by the first communication component, parse and process the screen image data to generate a displayable image, so as to realize the real-time projection display of the mobile device screen content.
6. The automated testing system for wireless Bluetooth headsets according to claim 1, characterized in that, The mobile device has a built-in process protection hardware unit, which is electrically connected to the second communication component and the instruction execution hardware unit respectively; the process protection hardware unit is used to monitor the operating status of the second communication component and the instruction execution hardware unit in real time.
7. The automated testing system for wireless Bluetooth headsets according to claim 1, characterized in that, The data management hardware module includes a hardware storage unit and a remote monitoring hardware module. The hardware storage unit is connected to the mobile device, and the remote monitoring hardware module is connected to the host computer.
8. The automated testing system for wireless Bluetooth headsets according to claim 7, characterized in that, The hardware storage unit has built-in FTP server hardware and background database hardware, and the FTP server hardware is connected to the remote monitoring hardware module.
9. The automated testing system for wireless Bluetooth headsets according to claim 7, characterized in that, The host computer is also equipped with an exception handling module, which includes an exception identification unit and an exception handling unit. The exception identification unit is connected to the instruction execution hardware unit, and the exception handling unit is connected to the hardware storage unit.
10. A Bluetooth headset testing device, characterized in that, Including the automated testing system for wireless Bluetooth headsets as described in any one of claims 1 to 9.
