A test method, test board card, device, medium, and program product
By combining the test board with multiple Bluetooth chips, the control device automatically controls the communication between the Bluetooth chips and the test equipment, solving the problems of inaccurate Bluetooth test results and low efficiency, and realizing efficient and accurate Bluetooth performance testing.
Patent Information
- Application Number
- CN202410976798.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-19
- Publication Date
- 2025-11-25
- Estimated Expiration
- 2044-07-19
AI Technical Summary
Existing Bluetooth testing equipment provides inaccurate and inefficient results, failing to meet demanding testing requirements.
By using a test board in conjunction with multiple Bluetooth chips, the control device can control each Bluetooth chip to communicate with the test device via Bluetooth, acquire and process the communication results, and achieve automated testing.
This improved the accuracy and efficiency of test results, reduced reliance on manual operation of finished Bluetooth devices, and enabled automated Bluetooth performance testing.
Smart Images

Figure CN118748563B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] Embodiments of the present application relate to the field of Bluetooth testing, and in particular to a testing method, a testing board card, a device, a medium, and a program product. BACKGROUND
[0002] With the rapid development of Bluetooth technology, users of testing devices (provided with Bluetooth chips) have higher requirements for the Bluetooth performance of the testing devices. Therefore, it is necessary to fully test the Bluetooth performance of the testing devices.
[0003] In related technologies, the Bluetooth communication is usually controlled between the testing device and a Bluetooth device (such as a wearable device) of a finished product, and the test result is determined manually based on the action of the Bluetooth device.
[0004] However, the method in related technologies has the problems of inaccurate test result and low test efficiency. SUMMARY
[0005] Embodiments of the present application provide a testing method, a testing board card, a device, a medium, and a program product, which improve the accuracy of the test result and improve the test efficiency.
[0006] In a first aspect, embodiments of the present application provide a testing method applied to a testing board card, the testing board card being connected with a testing device and a control device respectively, the testing board card comprising a plurality of Bluetooth chips, and the method comprising:
[0007] For each Bluetooth chip, a first test instruction sent by the control device is acquired, and the Bluetooth communication between the Bluetooth chip and the testing device is controlled according to the first test instruction, and a first Bluetooth communication result corresponding to the Bluetooth chip is obtained;
[0008] The first Bluetooth communication result corresponding to the Bluetooth chip is sent to the control device;
[0009] A second test instruction sent by the control device is acquired, and the second test instruction is sent to the testing device;
[0010] A second Bluetooth communication result corresponding to the Bluetooth chip sent by the testing device is acquired, and the second Bluetooth communication result corresponding to the Bluetooth chip is sent to the control device.
[0011] In an implementation manner, the testing board card comprises a controller, a hub HUB, and a plurality of Bluetooth chips; the HUB is connected with the controller, the testing device, and the control device respectively, and the controller is connected with each Bluetooth chip; for each Bluetooth chip, a first test instruction sent by the control device is acquired, and the Bluetooth communication between the Bluetooth chip and the testing device is controlled according to the first test instruction, comprising:
[0012] The HUB obtains a first instruction sent by the control device for each Bluetooth chip, and sends the first instruction to the controller; the first instruction includes a first test instruction and an identification of the Bluetooth chip;
[0013] The controller determines, according to the first instruction, a Bluetooth chip corresponding to the identification of the Bluetooth chip from the plurality of Bluetooth chips, and sends the first test instruction to the Bluetooth chip;
[0014] The Bluetooth chip performs Bluetooth communication with the test device according to the first test instruction.
[0015] In an implementation manner, the controller includes a plurality of control interfaces, and each Bluetooth chip includes a chip interface; each control interface is connected with the chip interface of one Bluetooth chip; sending the first Bluetooth communication result corresponding to the Bluetooth chip to the control device includes:
[0016] The Bluetooth chip sends the first Bluetooth communication result to the controller through the chip interface of the Bluetooth chip and the control interface connected with the chip interface;
[0017] The controller determines the identification of the corresponding Bluetooth chip according to the control interface from which the first Bluetooth communication result is obtained, and determines that the first Bluetooth communication result is the first Bluetooth communication result corresponding to the Bluetooth chip according to the identification of the Bluetooth chip;
[0018] The controller sends the first Bluetooth communication result corresponding to the Bluetooth chip to the control device through the HUB.
[0019] In an implementation manner, before the first test instruction is sent to the Bluetooth chip, the method further includes:
[0020] The controller supplies power to the Bluetooth chip to control the Bluetooth chip to be turned on.
[0021] In an implementation manner, the test board further includes a converter; the converter is connected with the HUB through a first conversion interface of the converter and a first interface of the HUB; the converter is connected with the controller through a second conversion interface of the converter and a second interface of the controller; the interface type of the first interface is different from the interface type of the second interface; the HUB obtains a first instruction sent by the control device, and sends the first instruction to the controller, including:
[0022] The HUB obtains an initial first instruction sent by the control device;
[0023] The converter obtains the initial first instruction sent by the HUB through the first conversion interface and the first interface;
[0024] The converter converts the initial first instruction into a first instruction, and sends the first instruction to the controller through the second conversion interface and the second interface; the initial first instruction matches the interface type of the first interface; and the first instruction matches the interface type of the second interface.
[0025] In an implementation manner, the interface type of the first interface is a universal serial bus (USB) type, and the interface type of the second interface is a universal asynchronous receiver-transmitter (UART) type.
[0026] In an implementation manner, the test board further includes a charging module connected with the controller and the test device respectively; and the method further includes:
[0027] The HUB acquires the control instruction sent by the control device;
[0028] The controller acquires the control instruction sent by the HUB, and sends the control instruction to the charging module;
[0029] The charging module supplies power to the test device according to the control instruction.
[0030] In an implementation manner, the charging module is connected with a plurality of candidate test devices; the control instruction includes an identifier of a target candidate test device; and the charging module supplies power to the test device according to the control instruction, including:
[0031] The charging module determines, according to the control instruction, a candidate test device corresponding to the identifier of the target candidate test device from the plurality of candidate test devices as the test device, and supplies power to the test device.
[0032] In a second aspect, an embodiment of the present application provides a test method applied to a control device; a test board is connected with a test device and the control device respectively, the test board includes a plurality of Bluetooth chips, and the method includes:
[0033] For each Bluetooth chip, a first test instruction is sent to the test board;
[0034] A second test instruction is sent to the test device through the test board;
[0035] A first Bluetooth communication result corresponding to the Bluetooth chip sent by the test board is acquired;
[0036] A second Bluetooth communication result corresponding to the Bluetooth chip sent by the test device is acquired through the test board;
[0037] A test result of the test device is determined according to the first Bluetooth communication result and the second Bluetooth communication result corresponding to each Bluetooth chip.
[0038] In a third aspect, the embodiments of the present application provide a test method applied to a test device, a test board card is connected with the test device and a control device respectively, the test board card comprises a plurality of Bluetooth chips, and the method comprises the following steps of:
[0039] For each Bluetooth chip, a second test instruction sent by the control device is acquired through the test board card;
[0040] According to the second test instruction, a second Bluetooth communication result corresponding to the Bluetooth chip is obtained by communicating with the Bluetooth chip;
[0041] The second Bluetooth communication result corresponding to the Bluetooth chip is sent to the control device through the test board card.
[0042] In a fourth aspect, the embodiments of the present application provide a test board card, the test board card is connected with a test device and a control device respectively, the test board card comprises a plurality of Bluetooth chips, and the test board card is used for the following steps of:
[0043] For each Bluetooth chip, a first test instruction sent by the control device is acquired, and according to the first test instruction, the Bluetooth chip is controlled to perform Bluetooth communication with the test device, and a first Bluetooth communication result corresponding to the Bluetooth chip is obtained;
[0044] The first Bluetooth communication result corresponding to the Bluetooth chip is sent to the control device;
[0045] A second test instruction sent by the control device is acquired, and the second test instruction is sent to the test device;
[0046] A second Bluetooth communication result corresponding to the Bluetooth chip sent by the test device is acquired, and the second Bluetooth communication result corresponding to the Bluetooth chip is sent to the control device.
[0047] In an implementation manner, the test board card comprises a controller, a hub HUB and a plurality of Bluetooth chips; the HUB is connected with the controller, the test device and the control device respectively, and the controller is connected with each Bluetooth chip;
[0048] For each Bluetooth chip, the HUB is used for acquiring a first instruction sent by the control device and sending the first instruction to the controller; the first instruction comprises a first test instruction and an identifier of the Bluetooth chip;
[0049] The controller is used for determining, according to the first instruction, a Bluetooth chip corresponding to the identifier of the Bluetooth chip from the plurality of Bluetooth chips and sending the first test instruction to the Bluetooth chip;
[0050] The Bluetooth chip is used for performing Bluetooth communication with the test device according to the first test instruction.
[0051] In an implementation, the controller comprises a plurality of control interfaces, each Bluetooth chip comprises a chip interface; each control interface is connected with the chip interface of one Bluetooth chip;
[0052] The Bluetooth chip is configured to send the first Bluetooth communication result to the controller through the chip interface of the Bluetooth chip and the control interface connected with the chip interface;
[0053] The controller is configured to determine the identity of the corresponding Bluetooth chip according to the control interface obtaining the first Bluetooth communication result, and determine that the first Bluetooth communication result is the first Bluetooth communication result corresponding to the Bluetooth chip according to the identity of the Bluetooth chip;
[0054] The controller is configured to send the first Bluetooth communication result corresponding to the Bluetooth chip to the control device through the HUB.
[0055] In an implementation, before sending the first test instruction to the Bluetooth chip,
[0056] The controller is further configured to power the Bluetooth chip to control the Bluetooth chip to be turned on.
[0057] In an implementation, the test board card further comprises a converter, the converter is connected with the HUB through the first conversion interface of the converter and the first interface of the HUB; the converter is connected with the controller through the second conversion interface of the converter and the second interface of the controller; the interface type of the first interface is different from the interface type of the second interface;
[0058] The HUB is configured to obtain the initial first instruction sent by the control device;
[0059] The converter is configured to obtain the initial first instruction sent by the HUB through the first conversion interface and the first interface;
[0060] The converter is configured to convert the initial first instruction into the first instruction, and send the first instruction to the controller through the second conversion interface and the second interface; the initial first instruction matches the interface type of the first interface; the first instruction matches the interface type of the second interface.
[0061] In an implementation, the interface type of the first interface is universal serial bus (USB) type, and the interface type of the second interface is universal asynchronous receiver-transmitter (UART) type.
[0062] In an implementation, the test board card further comprises a charging module, the charging module is connected with the controller and the test device respectively;
[0063] The HUB is configured to obtain the control instruction sent by the control device;
[0064] The controller is configured to obtain the control instruction sent by the HUB, and send the control instruction to the charging module.
[0065] The charging module is configured to supply power to the test device according to the control instruction.
[0066] In an implementation manner, the charging module is connected with a plurality of candidate test devices; the control instruction comprises an identifier of a target candidate test device;
[0067] The charging module is configured to determine, according to the control instruction, a candidate test device corresponding to the identifier of the target candidate test device from the plurality of candidate test devices as the test device, and supply power to the test device.
[0068] In a fifth aspect, an embodiment of the present application provides a control device, a test board card is connected with a test device and the control device respectively, the test board card comprises a plurality of Bluetooth chips, and the control device comprises:
[0069] The transceiver module is configured to send a first test instruction to the test board card for each Bluetooth chip;
[0070] The transceiver module is further configured to send a second test instruction to the test device through the test board card;
[0071] The transceiver module is further configured to obtain a first Bluetooth communication result corresponding to the Bluetooth chip sent by the test board card;
[0072] The transceiver module is further configured to obtain a second Bluetooth communication result corresponding to the Bluetooth chip sent by the test device through the test board card;
[0073] The processing module is configured to determine a test result of the test device according to the first Bluetooth communication result and the second Bluetooth communication result corresponding to each Bluetooth chip.
[0074] In a sixth aspect, an embodiment of the present application provides a test device, a test board card is connected with the test device and a control device respectively, the test board card comprises a plurality of Bluetooth chips, and the test device comprises:
[0075] The transceiver module is configured to obtain a second test instruction sent by the control device through the test board card for each Bluetooth chip;
[0076] The processing module is configured to communicate with the Bluetooth chip according to the second test instruction, and obtain a second Bluetooth communication result corresponding to the Bluetooth chip;
[0077] The transceiver module is further configured to send the second Bluetooth communication result corresponding to the Bluetooth chip to the control device through the test board card.
[0078] In a seventh aspect, an embodiment of the present application provides a control device, comprising a memory and a processor;
[0079] The memory stores computer execution instructions;
[0080] The processor executes the computer-executed instructions stored in the memory, so that the processor executes the method of the second aspect.
[0081] In an eighth aspect, the embodiments of the present application provide a test device, comprising: a memory and a processor;
[0082] The memory stores computer-executed instructions;
[0083] The processor executes the computer-executed instructions stored in the memory, so that the processor executes the method of the third aspect.
[0084] In a ninth aspect, the embodiments of the present application provide a chip, wherein the chip stores a computer program, and the computer program is executed by the chip to implement the method of any one of the second aspect or the third aspect.
[0085] In a tenth aspect, the embodiments of the present application provide a chip module, wherein the chip module stores a computer program, and the computer program is executed by the chip module to implement the method of any one of the second aspect or the third aspect.
[0086] In an eleventh aspect, the embodiments of the present application provide a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executed instructions, and the computer-executed instructions are executed by a processor to implement the method of the second aspect or the third aspect.
[0087] In a twelfth aspect, the embodiments of the present application provide a computer program product, comprising computer-executed instructions, and the computer-executed instructions are executed by a processor to make the method of the second aspect or the third aspect be executed.
[0088] This application provides a testing method, a test board, a device, a medium, and a program product. In this embodiment, the test board is connected to both a testing device and a control device, and the test board includes multiple Bluetooth chips. For each Bluetooth chip, the test board can obtain a first test command sent by the control device, and according to the first test command, control the Bluetooth chip to perform Bluetooth communication with the testing device, and obtain a first Bluetooth communication result corresponding to the Bluetooth chip. The test board can also send the first Bluetooth communication result corresponding to the Bluetooth chip to the control device. For each Bluetooth chip, the testing device can obtain a second test command sent by the control device through the test board, and according to the second test command, communicate with the Bluetooth chip, and obtain a second Bluetooth communication result corresponding to the Bluetooth chip. The testing device can also send the second Bluetooth communication result corresponding to the Bluetooth chip to the control device through the test board. The control device can determine the test result of the testing device based on the first and second Bluetooth communication results corresponding to each Bluetooth chip. This application embodiment does not rely on a finished Bluetooth device, and does not require manual inspection of the Bluetooth device's and testing device's actions to determine the test result, thus improving the accuracy of test result determination and increasing testing efficiency. Attached Figure Description
[0089] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0090] Figure 1 A schematic diagram of the structure of a testing system provided in this application embodiment. Figure 1 ;
[0091] Figure 2 A flowchart illustrating a test method embodiment one provided in this application;
[0092] Figure 3a A schematic diagram of the structure of a testing system provided in this application embodiment. Figure 2 ;
[0093] Figure 3b A schematic diagram of the structure of a testing system provided in this application embodiment is shown in Figure 3.
[0094] Figure 4a A flowchart illustrating a second embodiment of a testing method provided in this application;
[0095] Figure 4b A schematic diagram of the structure of a testing system provided in this application embodiment is shown in Figure 4.
[0096] Figure 4c A scene schematic diagram of Bluetooth communication provided for an embodiment of the present application is provided.
[0097] Figure 4d A structure schematic diagram of a test system provided for an embodiment of the present application is provided. Figure 5 ;
[0098] Figure 4e A structure schematic diagram of a test system provided for an embodiment of the present application is provided. Figure 6 ;
[0099] Figure 4f A structure schematic diagram of a test system provided for an embodiment of the present application is provided. Figure 7 ;
[0100] Figure 5 A structure schematic diagram of a control device provided for an embodiment of the present application is provided.
[0101] Figure 6 A structure schematic diagram of a test device provided for an embodiment of the present application is provided.
[0102] Figure 7 A structure schematic diagram of another control device provided for an embodiment of the present application is provided.
[0103] Figure 8 A structure schematic diagram of another test device provided for an embodiment of the present application is provided. DETAILED DESCRIPTION
[0104] The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments of the present application. Based on the embodiments in the present application, all the other embodiments obtained by those of ordinary skill in the art without creative work fall within the scope of the present application.
[0105] The terms “first,” “second,” “third,” “fourth,” etc. (if present) in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented, for example, in orders other than those illustrated or described herein. Furthermore, the terms “comprising” and “having,” and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus. Additionally, “at least one” in this application means one or more, and “a plurality of” means two or more.
[0106] With the rapid development of Bluetooth technology, users of testing equipment (equipped with Bluetooth chips) have placed higher demands on the Bluetooth performance of these devices. Therefore, it is necessary to thoroughly test the Bluetooth performance of the testing equipment. In related technologies, this typically involves controlling the testing equipment to communicate with a finished Bluetooth device (such as a wearable device), and manually determining the test results based on the actions of the finished Bluetooth device (such as playing audio or adjusting volume).
[0107] However, the methods in the relevant technologies suffer from inaccurate test results and low test efficiency.
[0108] To address the aforementioned technical issues, this application proposes a testing method. For each Bluetooth chip in the test board, a control device can control that Bluetooth chip to communicate with the test device via Bluetooth. The control device can determine the test result of the test device based on the first Bluetooth communication result (feedback from the test board to the control device) and the second Bluetooth communication result (feedback from the test device to the control device) corresponding to each Bluetooth chip. This method achieves automated compatibility testing of the Bluetooth performance of the test device, improving the accuracy of the test results and increasing testing efficiency.
[0109] The testing methods of the embodiments of this application will now be described in detail.
[0110] For example, Figure 1 A schematic diagram of the structure of a testing system provided in this application embodiment. Figure 1 .like Figure 1 As shown, the test system 10 may include: a test device 11, a control device 12, and a test board 13. The test board 13 is connected to both the test device 11 and the control device 12.
[0111] The test board card 13 includes a plurality of Bluetooth chips (Bluetooth chip 1, Bluetooth chip 2, …, Bluetooth chip N). It should be noted that N is a positive integer greater than 1. It should also be noted that each Bluetooth chip is of a different type.
[0112] It should also be noted that the test board card 13 can also include a circuit board (not shown), and the plurality of Bluetooth chips can be arranged on the circuit board by plugging, soldering, or other means. Figure 1
[0113] It should be noted that the test device 11 can be a device with a Bluetooth chip, such as a mobile phone, a computer, a watch, a tablet, etc.
[0114] The control device 12 can be a terminal device (such as a mobile phone, a personal computer (PC), etc.), or a server, and the embodiments of the present application do not limit this.
[0115] The Bluetooth chip (taking Bluetooth chip 1 as an example) can be an audio Bluetooth chip (such as a headset Bluetooth chip, a sound Bluetooth chip, etc.), or a non-audio Bluetooth chip (such as a keyboard Bluetooth chip, a mouse Bluetooth chip, a smart bracelet Bluetooth chip, etc.), or other self-developed Bluetooth chips or third-party Bluetooth chips, and the embodiments of the present application do not limit this.
[0116] It should be noted that Figure 1 is only a structural diagram of a test system provided by the embodiments of the present application, and the embodiments of the present application do not limit the actual forms of various devices included in Figure 1 nor the interaction modes between the devices in Figure 2 In the application of the scheme, the actual needs can be set according to the actual needs.
[0117] In the following, the technical scheme of the present application is described in detail through specific embodiments. It should be noted that the following specific embodiments can be combined with each other, and the same or similar concepts or processes can not be described in detail in some embodiments.
[0118] Figure 2 is a flowchart of a test method embodiment one provided by the embodiments of the present application. Referring to Figure 3a , the method specifically includes the following steps:
[0119] S201: For each Bluetooth chip, the control device sends a first test instruction to the test board card.
[0120] In this embodiment, for each Bluetooth chip, the control device can send a first test instruction to the test board card.
[0121] In an implementation, the control device can send a first instruction to the test board card, where the first instruction includes an identifier of the Bluetooth chip and a first test instruction. It should be noted that the identifier of the Bluetooth chip can be a serial number of the Bluetooth chip, or a name of the Bluetooth chip, or other information that can reflect the identity of the Bluetooth chip, and the embodiments of the present application do not limit this.
[0122] S202: The test board card controls the Bluetooth chip to perform Bluetooth communication with the test device according to the first test instruction, and obtains a first Bluetooth communication result corresponding to the Bluetooth chip.
[0123] In the embodiment, the test board card can control the Bluetooth chip to perform Bluetooth communication with the test device according to the first test instruction.
[0124] In an implementation, in the case that the test board card obtains the first instruction, the test board card can determine a Bluetooth chip corresponding to the identifier of the Bluetooth chip from a plurality of Bluetooth chips according to the identifier of the Bluetooth chip after obtaining the first instruction, and send the first test instruction to the Bluetooth chip to control the Bluetooth chip to perform Bluetooth communication with the test device. In addition, the test board card can obtain the first Bluetooth communication result corresponding to the Bluetooth chip.
[0125] S203: The test board card sends the first Bluetooth communication result corresponding to the Bluetooth chip to the control device.
[0126] In the embodiment, the test board card can send the first Bluetooth communication result corresponding to the Bluetooth chip to the control device after obtaining the first Bluetooth communication result corresponding to the Bluetooth chip.
[0127] S204: The control device sends a second test instruction to the test device through the test board card.
[0128] In the embodiment, the control device can also send a second test instruction to the test device through the test board card for each Bluetooth chip. In an implementation, the second test instruction can be an Android DebugBridge (ADB) instruction.
[0129] S205: The test device communicates with the Bluetooth chip according to the second test instruction, and obtains a second Bluetooth communication result corresponding to the Bluetooth chip.
[0130] In the embodiment, the test device can communicate with the Bluetooth chip according to the second test instruction. In addition, the test device can obtain the second Bluetooth communication result corresponding to the Bluetooth chip.
[0131] It should be noted that, in the Bluetooth communication process, the Bluetooth chip can send information to the test device based on the first test instruction, and the test device can obtain the second Bluetooth communication result based on the information sent by the Bluetooth chip. The second Bluetooth communication result can indicate whether the receiving capability of the test device (the Bluetooth chip in the test device) is normal and whether the sending capability of the Bluetooth chip is normal. That is, the second Bluetooth communication result corresponds to the first test instruction.
[0132] In the Bluetooth communication process, the test device can send information to the Bluetooth chip based on the second test instruction, and the Bluetooth chip can obtain the first Bluetooth communication result based on the information sent by the test device. The first Bluetooth communication result can indicate whether the receiving capability of the Bluetooth chip is normal and whether the sending capability of the test device (the Bluetooth chip in the test device) is normal. That is, the first Bluetooth communication result corresponds to the second test instruction.
[0133] It should also be noted that the second Bluetooth communication result can include the identifier of the Bluetooth chip. In the above manner, the control device can accurately determine the Bluetooth chip corresponding to the second Bluetooth communication result, thereby improving the accuracy of determining the test result of the Bluetooth chip and the test device, and further improving the accuracy of determining the test result of the test device.
[0134] S206: The test device sends the second Bluetooth communication result corresponding to the Bluetooth chip to the control device through the test board card.
[0135] In this embodiment, the test device can send the second Bluetooth communication result corresponding to the Bluetooth chip to the test board card. The test board card can send the second Bluetooth communication result corresponding to the Bluetooth chip to the control device.
[0136] S207: The control device determines the test result of the test device according to the first Bluetooth communication result and the second Bluetooth communication result corresponding to each Bluetooth chip.
[0137] In this embodiment, the control device can determine the test result of the test device according to the first Bluetooth communication result and the second Bluetooth communication result corresponding to each Bluetooth chip after obtaining the first Bluetooth communication result and the second Bluetooth communication result corresponding to each Bluetooth chip.
[0138] In one implementation manner, for each Bluetooth chip, the control device can determine the test result of the Bluetooth chip and the test device according to the first Bluetooth communication result and the second Bluetooth communication result corresponding to the Bluetooth chip. The control device can determine the test result of the test device according to the test results of the plurality of Bluetooth chips and the test device.
[0139] The beneficial effects of this embodiment are as follows: In this embodiment, the test board is connected to both the test device and the control device, and the test board includes multiple Bluetooth chips. For each Bluetooth chip, the test board can obtain a first test command sent by the control device, and according to the first test command, control the Bluetooth chip to communicate with the test device via Bluetooth, and obtain a first Bluetooth communication result corresponding to the Bluetooth chip. The test board can also send the first Bluetooth communication result corresponding to the Bluetooth chip to the control device. For each Bluetooth chip, the test device can obtain a second test command sent by the control device through the test board, and according to the second test command, communicate with the Bluetooth chip, and obtain a second Bluetooth communication result corresponding to the Bluetooth chip. The test device can also send the second Bluetooth communication result corresponding to the Bluetooth chip to the control device through the test board. The control device can determine the test result of the test device based on the first and second Bluetooth communication results corresponding to each Bluetooth chip. This embodiment does not rely on a finished Bluetooth device, and does not require manual inspection of the Bluetooth device's actions and the test device's actions to determine the test result, thus improving the accuracy of the test result determination and increasing the test efficiency.
[0140] Figure 2 A schematic diagram of the structure of a testing system provided in this application embodiment. Figure 3a .like Figure 3a As shown, the test system 10 may include: test equipment 11, control equipment 12, and test board 13.
[0141] The test board 13 includes a controller 131, a hub 132, and multiple Bluetooth chips (Bluetooth chip 1, Bluetooth chip 2, ..., Bluetooth chip N). It should be noted that N is a positive integer greater than 1. It should also be noted that each Bluetooth chip is of a different type.
[0142] It should also be noted that test board 13 may also include a circuit board. Figure 3b (Not shown), the controller 131, HUB 132, and multiple Bluetooth chips can be mounted on the circuit board by plugging, soldering, or other methods.
[0143] HUB132 is connected to test equipment 11, control equipment 12, and controller 131 respectively.
[0144] The controller 131 is connected to each Bluetooth chip.
[0145] In one implementation, Figure 3b A schematic diagram of the structure of a testing system provided in this application embodiment is shown in Figure 3. Figure 3aAs shown, the test board card 13 further includes a control device interface 133 and a test interface 134. The control device interface 133 is connected with the HUB 132 and the control device 12 respectively. The test interface 134 is connected with the HUB 132 and the test device 11 respectively. By setting the control device interface and the test interface, the test board card 13 can be connected with the control device 12 and the test device 11.
[0146] It should be noted that the controller 131 can be a microcontroller unit (MCU), the controller 131 can be a baseboard management controller (BMC), the controller 131 can be a complex programmable logic device (CPLD) and a BMC. In addition, the CPLD in the controller 131 can also be replaced by a field programmable gate array (FPGA) or other programmable devices. The controller 131 can also be other devices with processing capability.
[0147] It should be further noted that the HUB 132 is a multi-interface repeater. By using the HUB 132, the control device 12 can be in a one-to-many mode, and each of the plurality of candidate test devices can be tested in turn.
[0148] Next, the test method will be described by means of method embodiment two, in combination with Figure 3b and Figure 4a .
[0149] Figure 4a A flowchart of a test method embodiment two provided by the embodiments of the present application is shown in FIG. 4.
[0150] Referring to Figure 4b , the method specifically includes the following steps:
[0151] S401: For each Bluetooth chip, the HUB acquires the first instruction sent by the control device.
[0152] S402: The HUB sends the first instruction to the controller.
[0153] In this embodiment, for each Bluetooth chip, the HUB can acquire the first instruction sent by the control device, and send the first instruction to the controller, wherein the first instruction includes a first test instruction and an identification of the Bluetooth chip.
[0154] In one implementation manner, Figure 4b A structural diagram of a test system according to an embodiment of the present application is shown in FIG. 5.Figure 4c As shown, the test board card 13 further includes a converter 135. The converter 135 includes a first conversion interface 135a and a second conversion interface 135b. The HUB 132 includes a first interface 132a, and the controller 131 includes a second interface 131d. The converter 135 can be connected with the HUB 132 through the first conversion interface 135a of the converter 135 and the first interface 132a of the HUB 132. The converter 135 can be connected with the controller 131 through the second conversion interface 135b of the converter 135 and the second interface 131d of the controller 131. It should be noted that the interface type of the first interface 132a is different from the interface type of the second interface 131d, the interface type of the first interface 132a is the same as the interface type of the first conversion interface 135a, and the interface type of the second interface 131d is the same as the interface type of the second conversion interface 135b. In an implementation, the interface type of the first interface 132a can be a Universal Serial Bus (USB) type, and the interface type of the second interface 131d can be a Universal Asynchronous Receiver / Transmitter (UART) type.
[0155] In the embodiment, in the case that the interface type of the first interface of the HUB is different from the interface type of the second interface of the controller, the control device can send the initial first instruction to the HUB.
[0156] The HUB can send the initial first instruction to the converter through the first interface and the first conversion interface. It should be noted that the initial first instruction matches the interface type of the first interface.
[0157] The converter can convert the initial first instruction into the first instruction. In an implementation, the converter converts the initial first instruction into the first instruction by using a conversion chip or a conversion circuit arranged on the converter.
[0158] The converter can send the first instruction to the controller through the second conversion interface and the second interface. It should be noted that the first instruction matches the interface type of the second interface.
[0159] S403: The controller determines the Bluetooth chip corresponding to the identifier of the Bluetooth chip from the plurality of Bluetooth chips according to the first instruction, and sends a first test instruction to the Bluetooth chip.
[0160] In the embodiment, after obtaining the first instruction, the controller can determine the Bluetooth chip corresponding to the identifier of the Bluetooth chip from the plurality of Bluetooth chips according to the first instruction, and send a first test instruction to the Bluetooth chip.
[0161] In another implementation, the controller can power on the Bluetooth chip before sending the first test command to the Bluetooth chip, thereby controlling the Bluetooth chip to turn on.
[0162] It should be noted that the controller may include a power management pin, which can control the power management pin to output a high-level signal to the Bluetooth chip to supply power. It should also be noted that the controller can control the Bluetooth chip to power off when it outputs a low-level signal.
[0163] S404: The Bluetooth chip communicates with the test device via Bluetooth according to the first test command.
[0164] In this embodiment, after obtaining the first test command, the Bluetooth chip can communicate with the test device via Bluetooth according to the first test command.
[0165] Figure 4c This is a schematic diagram of a Bluetooth communication scenario provided in an embodiment of this application. The following is in conjunction with... Figure 4c This paper provides a detailed explanation of the Bluetooth communication process between the Bluetooth chip and the testing equipment. It should be noted that... Figure 4d In the process, the interaction between the controller 131 and the control device 12 is that the controller 131 interacts with the control device 12 through the HUB 132; the interaction between the test device and the control device 12 is that the test device interacts with the control device 12 through the HUB 132.
[0166] During Bluetooth communication, the Bluetooth chip can send information to the test device based on a first test command. The test device can then obtain a second Bluetooth communication result based on the information sent by the Bluetooth chip. This second Bluetooth communication result indicates whether the test device (the Bluetooth chip within the test device) has normal receiving and transmitting capabilities. It should be noted that the second Bluetooth communication result is obtained by the test device after the Bluetooth chip initiates Bluetooth communication with the test device based on the first test command. In other words, the second Bluetooth communication result is the Bluetooth communication result corresponding to the first test command.
[0167] S405: The Bluetooth chip sends the first Bluetooth communication result to the controller through the Bluetooth chip interface and the control interface connected to the chip interface.
[0168] In this embodiment, Figure 5 A schematic diagram of the structure of a testing system provided in this application embodiment. Figure 4d ,like Figure 4d As shown, the controller 131 includes multiple control interfaces, and the Bluetooth chip includes a chip interface, with each control interface connected to one chip interface. For example, Figure 4eIt is shown that the controller 131 includes a control interface 1311a, a control interface 1312a, …, a control interface 131Na. The Bluetooth chip 1 includes a chip interface 1a, the Bluetooth chip 2 includes a chip interface 2a, …, and the Bluetooth chip N includes a chip interface Na. The control interface 1311a is connected with the chip interface 1a, the control interface 1312a is connected with the chip interface 2a, …, and the control interface 131Na is connected with the chip interface Na.
[0169] The Bluetooth chip can send the first Bluetooth communication result to the controller through the chip interface of the Bluetooth chip and the control interface connected with the chip interface after obtaining the first Bluetooth communication result.
[0170] S406: The controller determines the identifier of the corresponding Bluetooth chip according to the control interface obtaining the first Bluetooth communication result, and determines that the first Bluetooth communication result is the first Bluetooth communication result corresponding to the Bluetooth chip according to the identifier of the Bluetooth chip.
[0171] In this embodiment, the controller can determine the identifier of the corresponding Bluetooth chip according to the control interface obtaining the first Bluetooth communication result, and determine that the first Bluetooth communication result is the first Bluetooth communication result corresponding to the Bluetooth chip. It should be noted that the controller can determine that the first Bluetooth communication result is the first Bluetooth communication result corresponding to the Bluetooth chip, which means that the controller can combine the first Bluetooth communication result and the identifier of the Bluetooth chip to obtain the combined first Bluetooth communication result. The combined first Bluetooth communication result includes the first Bluetooth communication result and the identifier of the Bluetooth chip.
[0172] Through the above-mentioned manner, the Bluetooth chip corresponding to the first Bluetooth communication result can be determined, thereby improving the accuracy of determining the test result of the Bluetooth chip and the test device, and further improving the accuracy of determining the test result of the test device.
[0173] S407: The controller sends the first Bluetooth communication result corresponding to the Bluetooth chip to the control device through the HUB.
[0174] In this embodiment, the controller can send the first Bluetooth communication result corresponding to the Bluetooth chip to the HUB after determining the first Bluetooth communication result corresponding to the Bluetooth chip.
[0175] It should be noted that the controller sends the first Bluetooth communication result corresponding to the Bluetooth chip to the HUB, which means that the controller can send the combined first Bluetooth communication result to the HUB. The combined first Bluetooth communication result includes the first Bluetooth communication result and the identifier of the Bluetooth chip.
[0176] The HUB can send the first Bluetooth communication result corresponding to the Bluetooth chip to the control device.
[0177] S408: The control device sends the second test instruction to the test device through the HUB.
[0178] In this embodiment, the control device can send the second test instruction to the HUB for each Bluetooth chip.
[0179] The HUB can send the second test instruction to the test device after obtaining the second test instruction.
[0180] In an implementation manner, Figure 6 A structural diagram of a test system provided by an embodiment of the present application Figure 4e As shown in Figure 4e The test board card 13 further includes a charging module 136. The charging module 136 is connected with the controller 131 and the test device 11 respectively. As shown in Figure 4f In an implementation manner, in the case that the test board card includes the test interface 134, the charging module 136 is connected with the test device 11 through the test interface 134.
[0181] The charging module can obtain a control instruction. The control instruction is sent by the control device through the HUB and the controller. The charging module can supply power for the test device according to the control instruction.
[0182] In an implementation manner, in the case that the interface type of the first interface of the HUB is different from the interface type of the second interface of the controller, the control device can send an initial control instruction to the HUB. The HUB can send the initial control instruction to the converter through the first interface and the first conversion interface. It should be noted that the initial control instruction matches the interface type of the first interface. The converter can convert the initial control instruction into a control instruction. The converter can send the control instruction to the controller through the second conversion interface and the second interface. It should be noted that the control instruction matches the interface type of the second interface. The charging module can supply power for the test device according to the control instruction.
[0183] By the above manner, the case that the test device cannot be stably tested due to the limited power supply capability of the control device in the related art can be avoided. The long-time stable test of the test device can be realized by the manner that the control device controls the charging module to supply power for the test device, and the stability of the test is improved.
[0184] In an implementation manner, Figure 7 A structural diagram of a test system provided by an embodiment of the present application Figure 4f As shown in Figure 5As shown, the test system 10 includes multiple candidate test devices: candidate test device 1, candidate test device 2, ..., candidate test device M. Where M is a positive integer greater than 1. Correspondingly, the test interface 134 includes multiple sub-test interfaces: sub-test interface 1, sub-test interface 2, ..., sub-test interface M.
[0185] The charging module 136 can be connected to each selected test device individually. Understandably, as... Figure 4f As shown, for each candidate test device, the charging module 136 can be connected to the candidate test device through a sub-test interface.
[0186] The charging module can acquire control commands sent by the control device through the HUB and controller. These control commands include the identifier of the target test device. Understandably, the HUB can acquire control commands sent by the control device through the control device interface, and the charging module can acquire control commands sent by the HUB through the controller.
[0187] After receiving a control command, the charging module can determine the candidate test device corresponding to the identifier of the target candidate test device from a plurality of candidate test devices, and designate it as the test device. The charging module can supply power to the test device. For example, such as... Figure 5 As shown, the charging module can identify the target candidate test device based on its identifier, and select candidate test device 1 as the test device for this test, and supply power to the test device (candidate test device 1).
[0188] Understandably, when the Bluetooth performance of one of a number of candidate test devices needs to be tested, the control device can control the charging module to power the candidate test device and power off the other candidate test devices.
[0189] In one implementation, the control device can also send a restart command to the controller via a HUB. The restart command may include the identifier of at least one candidate test device. The controller can send the restart command to the charging module, which can then control the restart of the candidate test device corresponding to the identifier of at least one candidate test device based on the restart command.
[0190] The above method enables the control equipment to control the power supply and cutoff of the selected test equipment, thereby reducing power consumption and lowering the test power consumption rate.
[0191] S409: The test device communicates with the Bluetooth chip according to the second test instruction and obtains the second Bluetooth communication result corresponding to the Bluetooth chip.
[0192] In this embodiment, the testing device can communicate with the Bluetooth chip after receiving the second test command.
[0193] In addition, the test device can also obtain the second Bluetooth communication result corresponding to the Bluetooth chip.
[0194] S410: The test device sends the second Bluetooth communication result corresponding to the Bluetooth chip to the control device through the HUB.
[0195] In this embodiment, the test device can send the second Bluetooth communication result corresponding to the Bluetooth chip to the HUB after obtaining the second Bluetooth communication result corresponding to the Bluetooth chip.
[0196] The HUB can send the second Bluetooth communication result corresponding to the Bluetooth chip to the control device.
[0197] S411: The control device determines the test result of the test device according to the first Bluetooth communication result and the second Bluetooth communication result corresponding to each Bluetooth chip.
[0198] In this embodiment, the control device can determine the test result of the test device according to the first Bluetooth communication result and the second Bluetooth communication result corresponding to each Bluetooth chip.
[0199] Advantages of the present embodiment: In the present embodiment, the test board card includes a controller, a HUB, and a plurality of Bluetooth chips. The controller can control the corresponding Bluetooth chip to participate in the test process based on the identification of the Bluetooth chip in the first instruction sent by the control device. The test device and the Bluetooth chip are communicated one by one, the communication between the test device and each Bluetooth chip is tested one by one, and the test flexibility is improved. In addition, by setting the HUB on the test board card, the control device can be connected with the test device through the test board card, and the test board card can provide power for the test device. In addition, the test board card is connected with a plurality of test devices in advance, which provides a structural basis.
[0200] The present application also provides a test board card, which is connected with a test device and a control device respectively. The test board card includes a plurality of Bluetooth chips, and is used for:
[0201] For each Bluetooth chip, a first test instruction sent by the control device is obtained, and the Bluetooth chip is controlled to perform Bluetooth communication with the test device according to the first test instruction, and a first Bluetooth communication result corresponding to the Bluetooth chip is obtained;
[0202] The first Bluetooth communication result corresponding to the Bluetooth chip is sent to the control device;
[0203] A second test instruction sent by the control device is obtained, and the second test instruction is sent to the test device;
[0204] A second Bluetooth communication result corresponding to the Bluetooth chip sent by the test device is obtained, and the second Bluetooth communication result corresponding to the Bluetooth chip is sent to the control device.
[0205] The test board card provided in the embodiment can execute the technical solutions in the method embodiments and the execution subject is the test board card, and has similar beneficial effects, which will not be repeated here.
[0206] In an implementation manner, the test board card comprises a controller, a hub (HUB) and a plurality of Bluetooth chips; the HUB is connected with the controller, the test device and the control device respectively; and the controller is connected with each Bluetooth chip;
[0207] The HUB is configured to acquire a first instruction sent by the control device and send the first instruction to the controller; the first instruction comprises a first test instruction and an identifier of the Bluetooth chip;
[0208] The controller is configured to determine, according to the first instruction, a Bluetooth chip corresponding to the identifier of the Bluetooth chip from the plurality of Bluetooth chips, and send the first test instruction to the Bluetooth chip;
[0209] The Bluetooth chip is configured to perform Bluetooth communication with the test device according to the first test instruction.
[0210] The test board card provided in the embodiment can execute the technical solutions in the method embodiments and the execution subject is the test board card, and has similar beneficial effects, which will not be repeated here.
[0211] In an implementation manner, the controller comprises a plurality of control interfaces, and each Bluetooth chip comprises a chip interface; each control interface is connected with the chip interface of one Bluetooth chip;
[0212] The Bluetooth chip is configured to send the first Bluetooth communication result to the controller through the chip interface of the Bluetooth chip and the control interface connected with the chip interface;
[0213] The controller is configured to determine the identifier of the corresponding Bluetooth chip according to the control interface acquiring the first Bluetooth communication result, and determine that the first Bluetooth communication result is the first Bluetooth communication result corresponding to the Bluetooth chip according to the identifier of the Bluetooth chip;
[0214] The controller is configured to send the first Bluetooth communication result corresponding to the Bluetooth chip to the control device through the HUB.
[0215] The test board card provided in the embodiment can execute the technical solutions in the method embodiments and the execution subject is the test board card, and has similar beneficial effects, which will not be repeated here.
[0216] In an implementation manner, before the first test instruction is sent to the Bluetooth chip,
[0217] The controller is further configured to supply power to the Bluetooth chip to control the Bluetooth chip to be turned on.
[0218] The test board card provided in the embodiment can execute the technical solutions in the method embodiments and the execution subject is the test board card, and has similar beneficial effects, which will not be repeated here.
[0219] In an implementation manner, the test board card further comprises a converter, the converter is connected with the HUB through a first conversion interface of the converter and a first interface of the HUB, and the converter is connected with the controller through a second conversion interface of the converter and a second interface of the controller; the interface type of the first interface is different from the interface type of the second interface.
[0220] The HUB is configured to acquire the initial first instruction sent by the control device.
[0221] The converter is configured to acquire the initial first instruction sent by the HUB through the first conversion interface and the first interface.
[0222] The converter is configured to convert the initial first instruction into the first instruction and send the first instruction to the controller through the second conversion interface and the second interface; the initial first instruction matches the interface type of the first interface; and the first instruction matches the interface type of the second interface.
[0223] The test board card provided in the embodiment can execute the technical solutions in the method embodiments and the execution subject is the test board card, and has similar beneficial effects, which will not be repeated here.
[0224] In an implementation manner, the interface type of the first interface is a universal serial bus (USB) type, and the interface type of the second interface is a universal asynchronous receiver-transmitter (UART) type.
[0225] The test board card provided in the embodiment can execute the technical solutions in the method embodiments and the execution subject is the test board card, and has similar beneficial effects, which will not be repeated here.
[0226] In an implementation manner, the test board card further comprises a charging module, the charging module is connected with the controller and the test device respectively.
[0227] The HUB is configured to acquire the control instruction sent by the control device.
[0228] The controller is configured to acquire the control instruction sent by the HUB and send the control instruction to the charging module.
[0229] The charging module is configured to supply power for the test device according to the control instruction.
[0230] The test board card provided in the embodiment can execute the technical solutions in the method embodiments and the execution subject is the test board card, and has similar beneficial effects, which will not be repeated here.
[0231] In an implementation manner, the charging module is connected with a plurality of candidate test devices; the control instruction comprises an identifier of a target candidate test device;
[0232] The charging module is configured to determine, according to the control instruction, a candidate test device corresponding to the identifier of the target candidate test device from the plurality of candidate test devices as a test device, and supply power to the test device.
[0233] The test board card provided in the embodiment can execute the technical solution in the method embodiment, and the execution subject is the test board card. The beneficial effects are similar, and will not be repeated here.
[0234] The embodiment of the present application provides a control device, and the test board card is connected with the test device and the control device respectively. The test board card comprises a plurality of Bluetooth chips. Figure 5 A structural schematic diagram of a control device provided by the embodiment of the present application is shown in FIG. 5. Figure 6 As shown in FIG. 5, the control device 50 comprises a transceiver module 51 and a processing module 52. Wherein,
[0235] The transceiver module 51 is configured to send a first test instruction to the test board card for each Bluetooth chip.
[0236] The transceiver module 51 is further configured to send a second test instruction to the test device through the test board card.
[0237] The transceiver module 51 is further configured to obtain the first Bluetooth communication result corresponding to the Bluetooth chip sent by the test board card.
[0238] The transceiver module 51 is further configured to obtain the second Bluetooth communication result corresponding to the Bluetooth chip sent by the test device through the test board card.
[0239] The processing module 52 is configured to determine the test result of the test device according to the first Bluetooth communication result and the second Bluetooth communication result corresponding to each Bluetooth chip.
[0240] The control device provided in the embodiment can execute the technical solution in the method embodiment, and the execution subject is the control device. The beneficial effects are similar, and will not be repeated here.
[0241] The embodiment of the present application provides a test device, and the test board card is connected with the test device and the control device respectively. The test board card comprises a plurality of Bluetooth chips.
[0242] Figure 6 A structural schematic diagram of a test device provided by the embodiment of the present application is shown in FIG. 6. Figure 7 As shown in FIG. 6, the test device 60 comprises a transceiver module 61 and a processing module 62.
[0243] The transceiving module 61 is configured to acquire, for each Bluetooth chip, a second test instruction sent by the control device through the test board card.
[0244] The processing module 62 is configured to communicate with the Bluetooth chip according to the second test instruction, and obtain a second Bluetooth communication result corresponding to the Bluetooth chip.
[0245] The transceiving module 63 is further configured to send the second Bluetooth communication result corresponding to the Bluetooth chip to the control device through the test board card.
[0246] The test device provided in the embodiment can execute the technical solutions in the method embodiments, and the execution subject is the test device, and thus has similar beneficial effects, which will not be repeated here.
[0247] Figure 7 Another structural schematic diagram of a control device is provided in the embodiment. It can be understood that the control device can be a 5G chip module.
[0248] Referring to Figure 8 The control device 70 can include a processor 71 and a memory 72. The processor 71, the memory 72, and the like are connected to each other through a bus 73.
[0249] The memory 72 stores computer execution instructions.
[0250] The processor 71 executes the computer execution instructions stored in the memory 72, so that the processor 71 executes the method whose execution subject is the control device in the method embodiments.
[0251] Figure 8 Another structural schematic diagram of a test device is provided in the embodiment. It can be understood that the control device can be a 5G chip module.
[0252] Referring to Figure 1 The test device 80 can include a processor 81 and a memory 82. The processor 81, the memory 82, and the like are connected to each other through a bus 83.
[0253] The memory 82 stores computer execution instructions.
[0254] The processor 81 executes the computer execution instructions stored in the memory 82, so that the processor 81 executes the method whose execution subject is the test device in the method embodiments.
[0255] The embodiment further provides a chip. It can be understood that the chip can be a 5th Generation Mobile Communication Technology (5G) chip.
[0256] The chip stores a computer program, and the computer program is executed by the chip to implement the method whose execution subject is the control device or the test device in the above method embodiments.
[0257] The chip module stores a computer program, and the computer program is executed by the chip module to implement the method whose execution subject is the control device or the test device in the above method embodiments.
[0258] The chip module stores a computer program, and the computer program is executed by the chip module to implement the method whose execution subject is the control device or the test device in the above method embodiments.
[0259] The computer readable storage medium stores computer execution instructions, and the computer execution instructions are executed by the processor to implement the method whose execution subject is the control device or the test device in the above method embodiments.
[0260] Correspondingly, the computer program product includes the computer execution instructions, and the computer execution instructions are executed by the processor to implement the method whose execution subject is the control device or the test device in the above method embodiments.
[0261] The computer execution instructions can also be stored in the computer readable storage medium that can guide the computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable storage medium produce a product including instruction devices, and the instruction devices implement the functions specified in the flow Figure 1 one or more flows and / or blocks. Figure 1 one or more blocks or multiple blocks.
[0262] The computer execution instructions can also be loaded into the computer or other programmable data processing device, so that a series of operation steps are executed on the computer or other programmable device to produce a computer implemented process, and the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in the flow Figure 1 one or more flows and / or blocks. one or more blocks or multiple blocks.
[0263] Obviously, those skilled in the art can make various modifications and variations to the embodiments of the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the embodiments of the present application fall within the scope of the claims of the present application and their equivalent technologies, the present application also intends to include these modifications and variations.
[0264] In the present application, the term "comprising" and its variants can refer to non-limiting inclusion; the term "or" and its variants can refer to "and / or". In the present application, the terms "first", "second", etc. are used to distinguish similar objects, and do not necessarily describe a specific order or sequence. In the present application, "multiple" refers to two or more. "And / or", which describes the relationship between the associated objects, means that there can be three relationships, for example, A and / or B can represent: A exists alone, A and B exist together, and B exists alone. The character " / " generally represents a "or" relationship between the front and rear associated objects.
Claims
1. A testing method, characterized in that, The method is applied to a test board, which is connected to both a test device and a control device. The test board includes multiple Bluetooth chips. For each Bluetooth chip, a first test command sent by the control device is obtained, and according to the first test command, the Bluetooth chip is controlled to perform Bluetooth communication with the test device, and a first Bluetooth communication result corresponding to the Bluetooth chip is obtained; the first Bluetooth communication result is obtained by the Bluetooth chip based on the information sent by the test device; the information sent by the test device is sent by the test device based on the second test command. Send the first Bluetooth communication result corresponding to the Bluetooth chip to the control device; Obtain the second test command sent by the control device, and send the second test command to the test device; The test device obtains the second Bluetooth communication result corresponding to the Bluetooth chip sent by the test device, and sends the second Bluetooth communication result corresponding to the Bluetooth chip to the control device; the second Bluetooth communication result is obtained by the test device based on the information sent by the Bluetooth chip; the information sent by the Bluetooth chip is sent by the Bluetooth chip based on the first test command.
2. The method according to claim 1, characterized in that, The test board includes a controller, a hub, and the plurality of Bluetooth chips; the hub is connected to the controller, the test equipment, and the control device, respectively, and the controller is connected to each Bluetooth chip; the step of acquiring a first test command sent by the control device for each Bluetooth chip, and controlling the Bluetooth chip to perform Bluetooth communication with the test device according to the first test command, includes: For each Bluetooth chip, the HUB acquires a first instruction sent by the control device and sends the first instruction to the controller; the first instruction includes the first test instruction and the identifier of the Bluetooth chip; According to the first instruction, the controller determines the Bluetooth chip corresponding to the identifier of the Bluetooth chip from the plurality of Bluetooth chips, and sends the first test instruction to the Bluetooth chip; The Bluetooth chip communicates with the test device via Bluetooth according to the first test command.
3. The method according to claim 2, characterized in that, The controller includes multiple control interfaces, and each Bluetooth chip includes a chip interface; each control interface is connected to the chip interface of a Bluetooth chip; sending the first Bluetooth communication result corresponding to the Bluetooth chip to the control device includes: The Bluetooth chip sends the first Bluetooth communication result to the controller through the chip interface of the Bluetooth chip and the control interface connected to the chip interface; The controller determines the identifier of the corresponding Bluetooth chip based on the control interface that acquires the first Bluetooth communication result, and determines the first Bluetooth communication result as the first Bluetooth communication result corresponding to the Bluetooth chip based on the identifier of the Bluetooth chip. The controller sends the first Bluetooth communication result corresponding to the Bluetooth chip to the control device through the HUB.
4. The method according to claim 2, characterized in that, Before sending the first test command to the Bluetooth chip, the method further includes: The controller supplies power to the Bluetooth chip to control the Bluetooth chip to turn on.
5. The method according to claim 2, characterized in that, The test board also includes a converter, which is connected to the HUB via a first conversion interface and a first interface of the HUB; the converter is connected to the controller via a second conversion interface and a second interface of the controller; the interface type of the first interface is different from the interface type of the second interface; The HUB acquires the first instruction sent by the control device and sends the first instruction to the controller, including: The HUB acquires the initial first instruction sent by the control device; The converter obtains the initial first instruction sent by the HUB through the first conversion interface and the first interface; The converter converts the initial first instruction into the first instruction and sends the first instruction to the controller through the second conversion interface and the second interface; the initial first instruction matches the interface type of the first interface; the first instruction matches the interface type of the second interface.
6. The method according to claim 5, characterized in that, The first interface is of Universal Serial Bus (USB) type, and the second interface is of Universal Asynchronous Receiver / Transmitter (UART) type.
7. The method according to claim 2, characterized in that, The test board further includes a charging module, which is connected to both the controller and the test equipment; the method further includes: The HUB acquires the control commands sent by the control device; The controller acquires the control command sent by the HUB and sends the control command to the charging module; The charging module supplies power to the test equipment according to the control command.
8. The method according to claim 7, characterized in that, The charging module is connected to multiple candidate test devices; the control command includes the identifier of the target candidate test device; the charging module supplies power to the test device according to the control command, including: According to the control command, the charging module determines the test device corresponding to the identifier of the target test device from the plurality of test devices and supplies power to the test device.
9. A testing method, characterized in that, Used in control equipment; The test board is connected to both the test equipment and the control equipment, and the test board includes multiple Bluetooth chips. The method includes: For each Bluetooth chip, a first test command is sent to the test board; The test board sends a second test command to the test equipment. Obtain the first Bluetooth communication result corresponding to the Bluetooth chip sent by the test board; the first Bluetooth communication result is obtained by the Bluetooth chip based on the information sent by the test device; the information sent by the test device is sent by the test device based on the second test command; The test board obtains the second Bluetooth communication result corresponding to the Bluetooth chip sent by the test device; the second Bluetooth communication result is obtained by the test device based on the information sent by the Bluetooth chip; the information sent by the Bluetooth chip is sent by the Bluetooth chip based on the first test command. The test results of the test device are determined based on the first Bluetooth communication result and the second Bluetooth communication result corresponding to each Bluetooth chip.
10. A test board, characterized in that, The test board is connected to both the test equipment and the control equipment, and the test board includes multiple Bluetooth chips. The test board is used for: For each Bluetooth chip, a first test command sent by the control device is obtained, and according to the first test command, the Bluetooth chip is controlled to communicate with the test device via Bluetooth, and a first Bluetooth communication result corresponding to the Bluetooth chip is obtained. The first Bluetooth communication result is obtained by the Bluetooth chip based on the information sent by the test device; the information sent by the test device is sent by the test device based on the second test command. Send the first Bluetooth communication result corresponding to the Bluetooth chip to the control device; Obtain the second test command sent by the control device, and send the second test command to the test device; Obtain the second Bluetooth communication result corresponding to the Bluetooth chip sent by the test device, and send the second Bluetooth communication result corresponding to the Bluetooth chip to the control device; The second Bluetooth communication result is obtained by the test device based on the information sent by the Bluetooth chip; the information sent by the Bluetooth chip is sent by the Bluetooth chip based on the first test command.
11. A control device, characterized in that, The test board is connected to both the test equipment and the control equipment. The test board includes multiple Bluetooth chips, and the control equipment includes: The transceiver module is used to send a first test command to the test board for each Bluetooth chip; The transceiver module is also used to send a second test command to the test device through the test board; The transceiver module is further configured to acquire a first Bluetooth communication result corresponding to the Bluetooth chip sent by the test board; the first Bluetooth communication result is obtained by the Bluetooth chip based on information sent by the test device; the information sent by the test device is sent by the test device based on the second test command; The transceiver module is further configured to obtain, through the test board, a second Bluetooth communication result corresponding to the Bluetooth chip sent by the test device; the second Bluetooth communication result is obtained by the test device based on the information sent by the Bluetooth chip; the information sent by the Bluetooth chip is sent by the Bluetooth chip based on the first test command; The processing module is used to determine the test results of the test device based on the first Bluetooth communication result and the second Bluetooth communication result corresponding to each Bluetooth chip.
12. A control device, characterized in that, include: Memory and processor; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory, causing the processor to perform the test method as described in claim 9.
13. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the test method of claim 9.
14. A computer program product, characterized in that, It includes computer execution instructions, which, when executed by a processor, cause the test method as described in claim 9 to be executed.
Citation Information
Patent Citations
parallel test method and system of multiple Bluetooth communications
CN107135124A
Test board card, test board card tool and board card test method
CN117434421A