Testing method, system, device, connection device and medium for Bluetooth device

By using connected devices as a communication bridge in electronic device testing, maintaining the stability of Bluetooth connection and reducing duplicate connections, the problem of long and unstable Bluetooth connection time is solved, and the testing efficiency and stability is improved.

CN115250455BActive Publication Date: 2024-11-26XIAN YIPU COMM TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210753510.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-28
Publication Date
2024-11-26
Estimated Expiration
2042-06-28

AI Technical Summary

Technical Problem

During the testing of electronic devices, Bluetooth connection time is long and unstable, resulting in inefficient testing, especially when multiple functions need to be tested, each connection takes a lot of time, and failure of the connection will affect subsequent testing.

Method used

By connecting the device as a communication bridge between the test device and the Bluetooth device to be tested, a Bluetooth connection is established, and a communication connection is established with the test devices corresponding to different functions through the data connection line, so as to forward instructions and results, and maintain the stability of the Bluetooth connection , reduces the number of repeated connections.

Benefits of technology

Significantly reduces Bluetooth connection time, improves test efficiency and connection stability, ensures that multiple functional tests can be completed in just one Bluetooth connection, and avoids test interruptions caused by connection failure.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115250455B_ABST
    Figure CN115250455B_ABST
Patent Text Reader

Abstract

The embodiments of the present application relate to the field of Bluetooth technology, and disclose a test method, system, apparatus, connection device, and medium for a Bluetooth device, which is applied to a connection device in a test system. The test system also includes a Bluetooth device to be tested and a test device. The test method includes: establishing a Bluetooth connection with the Bluetooth device to be tested, and establishing a communication connection with the test device via a data connection line; receiving a first test instruction sent by the test device based on the data connection line, and forwarding the first test instruction to the Bluetooth device to be tested based on the Bluetooth connection, so that the Bluetooth device to be tested tests a first function according to the first test instruction; when the first function test is completed, disconnecting the data connection line of the test device corresponding to the test first function, and maintaining the Bluetooth connection with the Bluetooth device to be tested. The connection device reduces the Bluetooth connection time between the Bluetooth device to be tested and the test device corresponding to each test function, ensures the stability of the Bluetooth connection, and improves the test efficiency of the Bluetooth device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of Bluetooth technology, and in particular to a testing method, system, apparatus, connection device and medium for a Bluetooth device. Background Art

[0002] Electronic devices need to be tested for their various functions and performance before leaving the factory. For example, after a smart watch is assembled into a complete machine, it is necessary to test the air tightness of the whole machine, the performance of the ambient light sensor, NFC function, Bluetooth function, etc., and each function of each device needs to be tested one by one. During the testing process, the test instructions and test results must be transmitted via Bluetooth technology.

[0003] In the actual production test environment, each test function corresponds to a test station, and the electronic equipment completes the test in each test station in turn. Each test station needs to establish a Bluetooth connection with the electronic device to be tested through the Bluetooth adapter of the corresponding test equipment to transmit test data. Generally speaking, it takes about 5 seconds to establish a Bluetooth connection. If the electronic device needs to test more than a dozen functions, the entire test process will take at least 50 seconds on the Bluetooth connection. If the Bluetooth connection of a test station fails, subsequent tests will not be able to be carried out, affecting the efficiency of test generation. Summary of the invention

[0004] The purpose of the embodiments of the present application is to provide a testing method, system, apparatus, connecting device and medium for a Bluetooth device, which greatly reduces the Bluetooth connection time between the Bluetooth device to be tested and the test device corresponding to each test function through the connecting device, ensures the stability of the Bluetooth connection and improves the testing efficiency of the Bluetooth device.

[0005] To solve the above technical problems, an embodiment of the present application provides a testing method for a Bluetooth device, which is applied to a connecting device in a testing system, wherein the testing system also includes: a Bluetooth device to be tested and a testing device, and the method includes: establishing a Bluetooth connection with the Bluetooth device to be tested, and establishing a communication connection with the testing device via a data connection line; receiving a first test instruction sent by the testing device based on the data connection line, and forwarding the first test instruction to the Bluetooth device to be tested based on the Bluetooth connection, so that the Bluetooth device to be tested tests a first function according to the first test instruction; when the first function test is completed, disconnecting the data connection line of the testing device corresponding to the test of the first function, and maintaining the Bluetooth connection with the Bluetooth device to be tested.

[0006] The embodiment of the present application also provides a testing system for a Bluetooth device, including:

[0007] A test device, used to establish a communication connection with a connection device via a data connection line, and send a first test instruction to the connection device;

[0008] A connecting device, used to establish a communication connection with the test device, establish a Bluetooth connection with the Bluetooth device to be tested, and forward a first test instruction sent by the test device to the Bluetooth device to be tested, and when the first function test indicated by the first test instruction is completed, disconnect the data connection line of the test device corresponding to the test of the first function, and maintain the Bluetooth connection with the Bluetooth device to be tested;

[0009] The Bluetooth device to be tested is used to receive a first test instruction sent by the connecting device, and test a first function according to the first test instruction.

[0010] The embodiment of the present application further provides a testing device for a Bluetooth device, which is applied to a connection device in a testing system, and the device comprises: a data interface, a Bluetooth module and a processing module;

[0011] The data interface is used to establish a communication connection with the test equipment in the test system through a data connection line;

[0012] The Bluetooth module is used to establish a Bluetooth connection with the Bluetooth device to be tested in the test system;

[0013] The processing module is used to perform data conversion processing on the data sent by the test device, and forward the processed data to the Bluetooth device under test through the Bluetooth module, or to perform data conversion processing on the data sent by the Bluetooth device under test, and forward the processed data to the test device through the data interface.

[0014] The embodiment of the present application further provides a connection device, including:

[0015] at least one processor; and,

[0016] a memory communicatively connected to the at least one processor; wherein,

[0017] The memory stores instructions that can be executed by the at least one processor. The instructions are executed by the at least one processor so that the at least one processor can execute the above-mentioned method for testing a Bluetooth device.

[0018] The embodiments of the present application further provide a computer-readable storage medium storing a computer program, wherein the computer program implements the above-mentioned method for testing a Bluetooth device when executed by a processor.

[0019] The test method of the Bluetooth device provided by the embodiment of the present application is that the connecting device establishes a communication connection with the test device through a data connection line, and establishes a Bluetooth connection with the Bluetooth device to be tested, that is, the connecting device is used as a communication bridge between the test device and the Bluetooth device to be tested. The connecting device receives the first test instruction sent by the test device, and forwards the first test instruction to the Bluetooth device to be tested, so that the Bluetooth device to be tested performs relevant test operations according to the first test instruction, thereby realizing the test of the Bluetooth device to be tested on the first function. When the first function test is completed, the connecting device disconnects the data connection line of the test device corresponding to the first function, and maintains the Bluetooth connection with the Bluetooth device to be tested. In this way, when testing different functions of the Bluetooth device to be tested, the connecting device and the Bluetooth device to be tested always maintain a Bluetooth connection, and only the test device corresponding to different functions needs to be continuously replaced by connecting or disconnecting the data connection line. Compared with the existing solution, each test of a function requires the Bluetooth adapter of the corresponding test device to establish a Bluetooth connection with the Bluetooth device to be tested, that is, as many Bluetooth connections as the number of functions to be tested requires, the present application only needs one Bluetooth connection to complete the test of all functions, which not only improves the stability of the Bluetooth connection, but also improves the efficiency of device testing.

[0020] In addition, the testing method of the Bluetooth device provided in the embodiment of the present application, before disconnecting the data connection line of the test device corresponding to the test first function, further includes: receiving the test result of the first function sent by the Bluetooth device to be tested, and forwarding the test result of the first function to the test device. The present application uses the connecting device as a communication bridge between the test device and the Bluetooth device to be tested, for transmitting test instructions and test results.

[0021] In addition, the testing method of the Bluetooth device provided in the embodiment of the present application, after disconnecting the data connection line of the test device corresponding to the test first function and maintaining the Bluetooth connection with the Bluetooth device to be tested, also includes: establishing a communication connection with the test device corresponding to the test second function through the data connection line; and testing the second function of the Bluetooth device to be tested based on the test device. When testing the second function of the Bluetooth device to be tested, the present application only needs to establish a connection with the corresponding test device through the data connection line. Since the connecting device maintains the Bluetooth connection with the Bluetooth device to be tested, the stability of the Bluetooth connection is guaranteed, and the time spent on establishing Bluetooth connections multiple times is also reduced.

[0022] In addition, the testing method of the Bluetooth device provided in the embodiment of the present application further includes: after all functions of the Bluetooth device to be tested are tested, disconnecting the data connection line with the corresponding test device, and disconnecting the Bluetooth connection with the Bluetooth device to be tested. After all functions of the Bluetooth device to be tested are tested, the connecting device disconnects the connection with the test device and the Bluetooth device to be tested, and establishes a connection with the next Bluetooth device to be tested to start testing. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] One or more embodiments are exemplarily described by pictures in the corresponding drawings, and these exemplified descriptions do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, and unless otherwise stated, the figures in the drawings do not constitute proportional limitations.

[0024] Figure 1 It is a schematic diagram of Bluetooth connection between a test device and an electronic device to be tested in the related art;

[0025] Figure 2 This is a schematic diagram of some test stations for smart watches;

[0026] Figure 3 is a flowchart of a method for testing a Bluetooth device provided in an embodiment of the present application;

[0027] Figure 4 is a schematic diagram of the structure of a testing system for a Bluetooth device provided in an embodiment of the present application;

[0028] Figure 5 The structure of the test device of the Bluetooth device provided by the embodiment of the present application is schematically shown in FIG. Figure 1 ;

[0029] Figure 6 The structure of the test device of the Bluetooth device provided by the embodiment of the present application is schematically shown in FIG. Figure 2 ;

[0030] Figure 7 It is a schematic diagram of the structure of the connection device provided in the implementation mode of the present application. DETAILED DESCRIPTION

[0031] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, each embodiment of the present application will be described in detail below in conjunction with the accompanying drawings. However, it will be appreciated by those skilled in the art that in each embodiment of the present application, many technical details are proposed in order to enable the reader to better understand the present application. However, even without these technical details and various changes and modifications based on the following embodiments, the technical scheme claimed in the present application can also be implemented. The division of the following embodiments is for the convenience of description, and the specific implementation of the present application should not constitute any limitation, and the various embodiments can be combined with each other and referenced to each other without contradiction.

[0032] At present, in the whole machine production test of electronic equipment, the whole test process is assembly line-style, and each test station corresponds to a test function. During the test, each test station needs to use the Bluetooth adapter of the corresponding test equipment and the device under test to establish a Bluetooth connection to transmit the test instructions and test results in turn. Figure 1 A schematic diagram of a Bluetooth connection between a test device and an electronic device under test in the related art.

[0033] Figure 2 This is a schematic diagram of some test stations for smart watches. The test stations represented by the dotted box are test stations that require Bluetooth connection. Assuming that test station 5 is an NFC function test, the test equipment (such as a test PC) at this test station establishes a Bluetooth connection with the smart watch for testing. After the NFC function test is completed, the smart watch disconnects the Bluetooth connection with the test equipment at this test station, and the smart watch enters the next test station 6 and test station 7 to perform the sixth and seventh function tests. When testing the eighth function, assuming that the eighth function is a whole machine air tightness test, the smart watch establishes a Bluetooth connection with the test equipment at test station 8 and starts the whole machine air tightness test. After the test is completed, the smart watch disconnects the Bluetooth connection with the test equipment at the whole machine air tightness test station and enters the next test station.

[0034] It can be seen that during the entire test process of the smart watch, the smart watch needs to constantly establish or disconnect Bluetooth connections with different test devices, which will greatly reduce the stability of the Bluetooth connection of the smart watch during the entire test process. On average, each connection takes about 5 seconds to connect. If there are more than a dozen test functions that require Bluetooth connection, the entire test process will take at least 50 seconds on Bluetooth connection. If the Bluetooth connection of a test station fails, subsequent tests will not be able to proceed, affecting the efficiency of test generation.

[0035] The embodiment of the present application relates to a test method for a Bluetooth device, which is applied to a connection device in a test system. The test system also includes: a Bluetooth device to be tested and a test device. The specific process of the test method is as follows: Figure 3 As shown, including:

[0036] Step 101: establish a Bluetooth connection with the Bluetooth device to be tested, and establish a communication connection with the test device via a data connection line.

[0037] In this embodiment, the Bluetooth device to be tested can be any electronic device with Bluetooth function, such as smart watches, smart bracelets, smart phones, laptops, smart appliances, smart speakers, etc.

[0038] Specifically, before the Bluetooth device to be tested starts the entire test process, the connecting device establishes a Bluetooth connection with the Bluetooth device to be tested, that is, establishes an SPP link (Serial Port Profile) or a BLE link (Bluetooth Low Energy). The connecting device and the test device (such as a test PC) establish a communication connection through a data connection line. Of course, both the connecting device and the test device have an adapted data interface, which can be a Universal Serial Bus (USB) interface or other types of data interfaces.

[0039] Step 102: receiving a first test instruction sent by a test device based on a data connection line, and forwarding the first test instruction to the Bluetooth device to be tested based on a Bluetooth connection, so that the Bluetooth device to be tested tests a first function according to the first test instruction.

[0040] Specifically, after the connecting device establishes connections with the Bluetooth device to be tested and the test device respectively, the test device sends a first test instruction to the connecting device through the data interface and the data connection line, and the connecting device forwards the first test instruction to the Bluetooth device to be tested. After receiving the first test instruction, the Bluetooth device to be tested performs relevant test operations according to the first test instruction, thereby completing the test of the first function of the Bluetooth device to be tested.

[0041] After the Bluetooth device under test completes the relevant test operation corresponding to the first function, the Bluetooth device under test sends the test result of the first function to the connecting device, and the connecting device forwards the test result of the first function to the testing device. It should be noted that the test instruction sent by the testing device is sent in the form of serial port data. After the connecting device receives the serial port data, it needs to convert it into a data form that can be recognized by the Bluetooth device under test, that is, Bluetooth data (such as: SPP data).

[0042] Step 103, when the first function test is completed, disconnect the data connection line of the test device corresponding to the test of the first function, and maintain the Bluetooth connection with the Bluetooth device to be tested.

[0043] Specifically, after the first function test of the Bluetooth device to be tested is completed, the connecting device disconnects the data connection line of the test device corresponding to the first function test, and maintains the Bluetooth connection with the Bluetooth device to be tested. In this way, when testing the next function, it is only necessary to move the connecting device and the Bluetooth device to be tested to the next test station and establish a data connection with the test device corresponding to the next test station. This is quick and simple, greatly saving the time for the test equipment at each test station to establish a connection with the Bluetooth device to be tested, and extremely convenient for the assembly line testing process.

[0044] In one embodiment, after step 103, the method further includes: establishing a communication connection with a test device corresponding to the second function to be tested via a data connection line; and testing the second function of the Bluetooth device to be tested based on the test device. When the Bluetooth device to be tested needs to test the next function, the connection device directly establishes a connection with the test device corresponding to the next function via the data connection line, and the test device sends a test instruction to start the test of the next function.

[0045] Further, when all functions of the Bluetooth device to be tested are tested, the data connection line with the corresponding test device is disconnected, and the Bluetooth connection with the Bluetooth device to be tested is disconnected. In this embodiment, after all functions of the Bluetooth device to be tested are tested, the connecting device disconnects from the test device and the Bluetooth device to be tested, and establishes a connection with the next Bluetooth device to be tested to start testing.

[0046] The test method of the Bluetooth device provided by the embodiment of the present application is that the connecting device establishes a communication connection with the test device through a data connection line, and establishes a Bluetooth connection with the Bluetooth device to be tested, that is, the connecting device is used as a communication bridge between the test device and the Bluetooth device to be tested. The connecting device receives the first test instruction sent by the test device, and forwards the first test instruction to the Bluetooth device to be tested, so that the Bluetooth device to be tested performs relevant test operations according to the first test instruction, thereby realizing the test of the Bluetooth device to be tested on the first function. When the first function test is completed, the connecting device disconnects the data connection line of the test device corresponding to the first function, and maintains the Bluetooth connection with the Bluetooth device to be tested. In this way, when testing different functions of the Bluetooth device to be tested, the connecting device and the Bluetooth device to be tested always maintain a Bluetooth connection, and only the test device corresponding to different functions needs to be continuously replaced by connecting or disconnecting the data connection line. Compared with the existing solution, each test of a function requires the Bluetooth adapter of the corresponding test device to establish a Bluetooth connection with the Bluetooth device to be tested, that is, as many Bluetooth connections as the number of functions to be tested requires, the present application only needs one Bluetooth connection to complete the test of all functions, which not only improves the stability of the Bluetooth connection, but also improves the efficiency of device testing.

[0047] In addition, the step division of the above methods is only for the purpose of clear description. When implemented, they can be combined into one step or some steps can be split and decomposed into multiple steps. As long as they include the same logical relationship, they are all within the scope of protection of this patent; adding insignificant modifications to the algorithm or process or introducing insignificant designs without changing the core design of the algorithm and process are all within the scope of protection of this patent.

[0048] The embodiments of the present application also relate to a testing system for a Bluetooth device, such as Figure 4 As shown, it includes: a test device 401, a connection device 402 and a Bluetooth device to be tested 403;

[0049] The test device 401 is used to establish a communication connection with the connection device 402 through a data connection line, and send a first test instruction to the connection device 402;

[0050] The connecting device 402 is used to establish a communication connection with the test device 401, establish a Bluetooth connection with the Bluetooth device 403 to be tested, and forward the first test instruction sent by the test device 401 to the Bluetooth device 402 to be tested. When the first function test indicated by the first test instruction is completed, the data connection line of the test device 401 corresponding to the test of the first function is disconnected, and the Bluetooth connection with the Bluetooth device 403 to be tested is maintained;

[0051] The Bluetooth device to be tested 403 is used to receive the first test instruction sent by the connecting device 402, and test the first function according to the first test instruction.

[0052] In this embodiment, the test device communicates with the connection device via serial port data, and the Bluetooth device to be tested communicates with the connection device via Bluetooth data (such as SPP data).

[0053] The embodiments of the present application also relate to a testing device for a Bluetooth device, which is used for testing a connection device in a system, such as Figure 5 As shown, the test device 402 includes: a data interface 501, a Bluetooth module 502 and a processing module 503;

[0054] The data interface 501 is used to establish a communication connection with the test equipment in the test system through a data connection line;

[0055] The Bluetooth module 502 is used to establish a Bluetooth connection with the Bluetooth device to be tested in the test system;

[0056] The processing module 503 is used to perform data conversion processing on the data sent by the test device, and forward the processed data to the Bluetooth device under test through the Bluetooth module 502, or to perform data conversion processing on the data sent by the Bluetooth device under test, and forward the processed data to the test device through the data interface 501.

[0057] Furthermore, if Figure 6 As shown, the testing device 402 further comprises:

[0058] A power supply module 504, used to supply power to the Bluetooth module 502;

[0059] The display module 505 is used to display the Bluetooth connection status between the test apparatus and the Bluetooth device to be tested.

[0060] It is not difficult to find that this embodiment is a device embodiment corresponding to the implementation method of the test method of the Bluetooth device, so this embodiment can be implemented in conjunction with the implementation method of the above test method. The relevant technical details mentioned in the above implementation are still valid in this implementation, and in order to reduce repetition, they are not repeated here. Accordingly, the relevant technical details mentioned in this implementation can also be applied in the above method implementation.

[0061] It should be noted that the testing apparatus for the Bluetooth device provided in this embodiment only describes the main devices and main modules, and does not mean that it does not include other basic modules or units for implementing the testing method for the Bluetooth device of the present application.

[0062] The embodiments of the present application also relate to a connection device, such as Figure 7 As shown, including:

[0063] at least one processor 701; and,

[0064] A memory 702 that is communicatively connected to the at least one processor 701; wherein,

[0065] The memory 702 stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor 701, so that the at least one processor 701 can execute the testing method of the Bluetooth device provided by the above embodiment.

[0066] Among them, the memory and the processor are connected in a bus manner, and the bus may include any number of interconnected buses and bridges, and the bus connects various circuits of one or more processors and memories together. The bus can also connect various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. The bus interface provides an interface between the bus and the transceiver. The transceiver can be one element or multiple elements, such as multiple receivers and transmitters, providing a unit for communicating with various other devices on a transmission medium. The data processed by the processor is transmitted on a wireless medium via an antenna, and further, the antenna also receives data and transmits the data to the processor.

[0067] The processor is responsible for managing the bus and general processing, and can also provide various functions, including timing, peripheral interfaces, voltage regulation, power management, and other control functions. Memory can be used to store data used by the processor when performing operations.

[0068] The embodiments of the present application relate to a computer-readable storage medium storing a computer program, which implements the above-mentioned test method embodiment of a Bluetooth device when executed by a processor.

[0069] That is, those skilled in the art can understand that all or part of the steps in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a program, and the program is stored in a storage medium, including several instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0070] Those skilled in the art will appreciate that the above-mentioned embodiments are specific examples for implementing the present application, and in actual applications, various changes may be made thereto in form and detail without departing from the spirit and scope of the present application.

Claims

1. A method for testing a Bluetooth device, characterized in that: A connection device applied to a test system, the test system further comprising: a Bluetooth device to be tested and a test device, the method comprising: Establishing a Bluetooth connection with the Bluetooth device to be tested, and establishing a communication connection with the test device via a data connection line; receiving a first test instruction sent by the test device based on the data connection line, and forwarding the first test instruction to the Bluetooth device to be tested based on the Bluetooth connection, so that the Bluetooth device to be tested tests a first function according to the first test instruction; When the first function test is completed, the data connection line of the test device corresponding to the test of the first function is disconnected, and the Bluetooth connection with the Bluetooth device to be tested is maintained.

2. The method for testing a Bluetooth device according to claim 1, characterized in that: Before disconnecting the data connection line of the test device corresponding to the test first function, the method further includes: Receive a test result of a first function sent by the Bluetooth device to be tested, and forward the test result of the first function to the test device.

3. The method for testing a Bluetooth device according to claim 1, characterized in that: After disconnecting the data connection line of the test device corresponding to the test first function and maintaining the Bluetooth connection with the Bluetooth device to be tested, the method further includes: Establishing a communication connection with a test device corresponding to the second function of the test via a data connection line; The second function of the Bluetooth device to be tested is tested based on the test device corresponding to the second function.

4. The method for testing a Bluetooth device according to any one of claims 1 to 3, characterized in that: The method further comprises: When all functions of the Bluetooth device to be tested are tested, the data connection line with the corresponding test device is disconnected, and the Bluetooth connection with the Bluetooth device to be tested is disconnected.

5. A testing system for a Bluetooth device, characterized in that: include: A test device, used to establish a communication connection with a connection device via a data connection line, and send a first test instruction to the connection device; A connecting device, used to establish a communication connection with the test device, establish a Bluetooth connection with the Bluetooth device to be tested, and forward a first test instruction sent by the test device to the Bluetooth device to be tested, and when the first function test indicated by the first test instruction is completed, disconnect the data connection line of the test device corresponding to the test of the first function, and maintain the Bluetooth connection with the Bluetooth device to be tested; The Bluetooth device to be tested is used to receive a first test instruction sent by the connecting device, and test a first function according to the first test instruction.

6. The testing system for a Bluetooth device according to claim 5, characterized in that: The test device communicates with the connection device via serial port data, and the Bluetooth device to be tested communicates with the connection device via Bluetooth data.

7. A connection device, characterized in that: include: at least one processor; as well as, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the testing method for a Bluetooth device according to any one of claims 1 to 4.

8. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method for testing a Bluetooth device according to any one of claims 1 to 4 is implemented.