A testing method, a testing device, a terminal device and a readable storage medium

By implementing a test method and device in TWS headsets and forwarding test commands using the communication function of the charging box, the problem of long and expensive RF testing of existing TWS headsets is solved, achieving a fast, accurate and economical test effect.

CN114866940BActive Publication Date: 2025-07-011MORE ACOUSTIC TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110154615.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-02-04
Publication Date
2025-07-01
Estimated Expiration
2041-02-04

AI Technical Summary

Technical Problem

Existing TWS headphones take a long time and cost a lot during RF testing, requiring purchase of additional Bluetooth testers and manual operation.

Method used

A testing method and device are provided to test the transmit and receive functions of Bluetooth headsets by sending transmit and receive commands, and forward commands using the communication function of the charging box without the need for an additional Bluetooth tester.

Benefits of technology

This method saves testing costs, reduces testing time, and improves the accuracy of test results, allowing rapid completion of RF testing of Bluetooth headphones.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114866940B_ABST
    Figure CN114866940B_ABST
Patent Text Reader

Abstract

This application is applicable to the technical field of Bluetooth headsets, and provides a testing method, a testing device, a terminal device and a readable storage medium. The method is used to test the performance of a Bluetooth headset. The Bluetooth headset includes a first-side headset and a second-side headset with independent Bluetooth modules. The method includes: sending a first transmission command to the first-side headset, where the first transmission command is used to instruct the first-side headset to transmit a first wireless signal; sending a first reception command to the second-side headset, where the first reception command is used to instruct the second-side headset to receive the first wireless signal; and determining the test result of the transmission function of the first-side headset and the test result of the reception function of the second-side headset according to the signal strength of the first wireless signal received by the second-side headset. This application can, to a certain extent, solve the problems of long time consumption and high cost in the current RF testing of TWS headsets.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of Bluetooth headsets, and particularly relates to a testing method, a testing device, a terminal device, and a readable storage medium. Background Art

[0002] With the development of science and technology, intelligent terminals are widely used in all aspects of people's lives. With the wide application of intelligent terminals, the demand for accessories (such as True Wireless Stereo (TWS) Bluetooth headsets) compatible with intelligent terminals is also increasing.

[0003] During the production process of TWS headsets, radio frequency testing needs to be performed on TWS headsets. Currently, radio frequency testing of TWS headsets is carried out through a Bluetooth tester. Performing radio frequency testing on TWS headsets through a Bluetooth tester not only requires purchasing an additional Bluetooth tester, resulting in high costs, but also requires separate testing of the left headset and the right headset, with many manual operation steps and time-consuming.

[0004] Therefore, the current TWS headsets are time-consuming and costly during the radio frequency testing process. Summary of the Invention

[0005] Embodiments of this application provide a testing method, a testing device, a terminal device, and a readable storage medium, which can, to a certain extent, solve the problem that the current TWS headsets are time-consuming and costly during the radio frequency testing process.

[0006] In a first aspect, embodiments of this application provide a testing method for testing the performance of a Bluetooth headset. The Bluetooth headset includes a first-side headset and a second-side headset with independent Bluetooth modules, and includes:

[0007] Sending a first transmission command to the first-side headset, where the first transmission command is used to instruct the first-side headset to transmit a first wireless signal;

[0008] Sending a first reception command to the second-side headset, where the first reception command is used to instruct the second-side headset to receive the first wireless signal;

[0009] Determining the test result of the transmission function of the first-side headset and the test result of the reception function of the second-side headset according to the signal strength of the first wireless signal received by the second-side headset.

[0010] In a second aspect, embodiments of this application provide a testing device for testing the performance of a Bluetooth headset. The Bluetooth headset includes a first-side headset and a second-side headset with independent Bluetooth modules, and includes:

[0011] A first sending module, configured to send a first transmitting command to the first-side earphone, where the first transmitting command is used to instruct the first-side earphone to transmit a first wireless signal;

[0012] A second sending module, configured to send a first receiving command to the second-side earphone, where the first receiving command is used to instruct the second-side earphone to receive the first wireless signal;

[0013] A result determining module, configured to determine a test result of the transmitting function of the first-side earphone and a test result of the receiving function of the second-side earphone according to the signal strength of the first wireless signal received by the second-side earphone.

[0014] In a third aspect, an embodiment of the present application provides a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the method in the first aspect are implemented.

[0015] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method described in the first aspect are implemented.

[0016] In a fifth aspect, an embodiment of the present application provides a computer program product. When the computer program product runs on a terminal device, the terminal device is enabled to execute the test method described in any one of the first aspect.

[0017] It can be understood that the beneficial effects of the second aspect to the fifth aspect can refer to the relevant descriptions in the first aspect, and will not be repeated here.

[0018] The beneficial effects of the embodiments of the present application compared with the prior art are:

[0019] The present application provides a testing method for testing the performance of a Bluetooth headset. The Bluetooth headset includes a first side earphone and a second side earphone each having an independent Bluetooth module. First, a first transmission command is sent to the first side earphone, and the first transmission command is used to instruct the first side earphone to transmit a first wireless signal. Then, a first reception command is sent to the second side earphone, and the first reception command is used to instruct the second side earphone to receive the first wireless signal. Finally, the test results of the transmission function of the first side earphone and the reception function of the second side earphone of the Bluetooth headset are determined according to the signal strength of the first wireless signal received by the second side earphone. That is, in the present application, only the first side earphone and the second side earphone of the Bluetooth headset are required to test the transmission function of the first side earphone and the reception function of the second side earphone of the Bluetooth headset, and no additional Bluetooth tester is needed. Since no additional Bluetooth tester is required to receive the first wireless signal, the cost is saved. In addition, since the transmission function of the first side earphone and the reception function of the second side earphone of the Bluetooth headset can be tested simultaneously, the test time is reduced. Therefore, the testing method of the present application not only saves cost but also reduces the test time, enabling the test to be completed quickly. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained based on these drawings.

[0021] Figure 1 is a schematic flowchart of the testing method provided by an embodiment of the present application;

[0022] Figure 2 is a schematic diagram of a charging case, a Bluetooth headset, and a terminal device provided by an embodiment of the present application;

[0023] Figure 3 is a schematic structural diagram of a testing device provided by an embodiment of the present application;

[0024] Figure 4 is a schematic structural diagram of a terminal device provided by an embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0025] In the following description, for the purpose of illustration rather than limitation, specific details such as specific system architectures, technologies, etc. are presented to provide a thorough understanding of the embodiments of the present application. However, those skilled in the art should clearly understand that the present application can also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to avoid unnecessary details from interfering with the description of the present application.

[0026] It should be understood that when used in the specification and the appended claims of the present application, the term "comprising" indicates the presence of the described features, wholes, steps, operations, elements, and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components, and / or their combinations.

[0027] It should also be understood that the term "and / or" used in the specification and the appended claims of the present application refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0028] As used in the specification and the appended claims of the present application, the term "if" can be interpreted as "when", "once", "in response to determining", or "in response to detecting" depending on the context. Similarly, the phrase "if determined" or "if [the described condition or event] is detected" can be interpreted as meaning "once determined", "in response to determining", "once [the described condition or event] is detected", or "in response to detecting [the described condition or event]" depending on the context.

[0029] In addition, in the description of the specification and the appended claims of the present application, the terms "first", "second", "third", etc. are only used for distinguishing descriptions and cannot be understood as indicating or implying relative importance.

[0030] The reference to "one embodiment" or "some embodiments" etc. described in the specification of the present application means that a specific feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, statements such as "in one embodiment", "in some embodiments", "in other some embodiments", "in still other embodiments", etc. that appear in different places in this specification do not necessarily all refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "comprising", "including", "having", and their variants all mean "including but not limited to", unless otherwise specifically emphasized in other ways.

[0031] The test method provided by the embodiments of the present application can be applied to terminal devices such as mobile phones, tablet computers, laptop computers, ultra-mobile personal computers (UMPCs), netbooks, and personal digital assistants (PDAs). The embodiments of the present application do not impose any restrictions on the specific types of terminal devices.

[0032] To illustrate the technical solutions described in the present application, the following will be described through specific embodiments.

[0033] Embodiment 1

[0034] The following describes a test method provided by Embodiment 1 of the present application. This method is used to test the performance of a Bluetooth headset. The Bluetooth headset includes a first side earphone and a second side earphone with independent Bluetooth modules. Please refer to the appendix Figure 1 This method includes:

[0035] Step S101: Send a first transmission command to the first side earphone. The first transmission command is used to instruct the first side earphone to transmit a first wireless signal.

[0036] In step S101, the Bluetooth headset can be a True Wireless Stereo (TWS) headset. The first side earphone can be the left earphone or the right earphone of the Bluetooth headset. The user can make a choice according to the actual situation, and the present application does not make any limitations here. The first wireless signal is a Bluetooth signal.

[0037] When radio frequency testing of the Bluetooth headset is required, the terminal device sends a first transmission command to the first side earphone of the Bluetooth headset. After receiving the first transmission command, the first side earphone of the Bluetooth headset transmits a first wireless signal.

[0038] Step S102: Send a first reception command to the second side earphone. The first reception command is used to instruct the second side earphone to receive the first wireless signal.

[0039] In step S102, the second side earphone can be the left earphone or the right earphone of the Bluetooth headset. It should be understood that when the first side earphone is the left earphone, the second side earphone is the right earphone, and when the first side earphone is the right earphone, the second side earphone is the left earphone.

[0040] After the terminal device instructs the first side earphone to transmit the first wireless signal, it sends a first reception command to the second side earphone to instruct the second side earphone to receive the first wireless signal.

[0041] In some possible implementations, it further includes a charging case for use with a Bluetooth headset. The charging case has the function of communicating with the Bluetooth headset. A first data port is provided on the first side earphone, a second data port is provided on the second side earphone, a first transmission port corresponding to the first data port and a second transmission port corresponding to the second data port are provided on the charging case. Accordingly, sending a first transmission command to the first side earphone includes: sending the first transmission command to the charging case to instruct the charging case to forward the first transmission command to the first side earphone through the electrically connected first data port and first transmission port. Accordingly, sending a first reception command to the second side earphone of the Bluetooth headset includes: sending the first reception command to the charging case to instruct the charging case to forward the first reception command to the second side earphone through the electrically connected second data port and second transmission port.

[0042] Currently, during the process of testing the earphones, generally, the computer sends test commands to the Bluetooth headset through a test box or a test fixture. That is, currently, during the process of testing the earphones, in addition to the Bluetooth headset, a test box or a test fixture is also required, resulting in a relatively high cost.

[0043] In this implementation, the charging case of the Bluetooth headset not only has the charging function but also includes the communication function. And a first transmission port and a second transmission port are provided on the charging case. A first data port is provided on the first side earphone, a second data port is provided on the second side earphone, the first data port is electrically connected to the first transmission interface, and the second data port is electrically connected to the second transmission port. After the terminal device sends the first transmission command to the charging case, the charging case can forward the first transmission command to the first side earphone through the electrically connected first data port and first transmission port. After the terminal device sends the first reception command to the charging case, the charging case can forward the first reception command to the second side earphone through the electrically connected second data port and second transmission port. Thus, during the process of testing the earphones, there is no need to have an additional test box or test fixture, further reducing the test cost.

[0044] To prevent external radio frequency interference and ensure the stability of radio frequency testing, during testing, the Bluetooth headset can be first placed in the charging case, and then the charging case can be placed in a shielding box.

[0045] In this implementation, only the Bluetooth headset and its charging case are needed to implement the testing of the Bluetooth headset, neither an additional Bluetooth tester nor an additional test box or test fixture is required, further reducing the test cost of the earphones. And since the positions of the first side earphone and the second side earphone in the charging case are fixed, the signal strength of the first wireless signal received by the second side earphone is relatively stable. Therefore, the accuracy of the test results obtained through this implementation is relatively high.

[0046] In some embodiments, the charging case further includes a test control port for connecting to a terminal device; correspondingly, sending a first transmission command to the charging case includes: sending the first transmission command to the charging case through the test control port; correspondingly, sending a first reception command to the charging case includes: sending the first reception command to the charging case through the test control port.

[0047] In this embodiment, the charging case of the Bluetooth headset further has a test control port for connecting to a terminal device. During testing, one end of a data cable is inserted into the test control port of the charging case, and the other end of the data cable is inserted into the data port of the terminal device, so that the terminal device can send the first transmission command and the first reception command to the charging case through the test control port of the charging case.

[0048] The following describes a specific implementation of this test method. As Figure 2 shown, connect the terminal device and the charging case of the Bluetooth headset through a data cable, and place the first-side earphone and the second-side earphone of the Bluetooth headset in two compartments of the charging case of the Bluetooth headset respectively. Then the terminal device first sends the first transmission command and the first reception command to the charging case of the Bluetooth headset through the test control port, and the charging case then forwards the first transmission command to the first-side earphone through the electrically connected first data port and first transmission port, and forwards the first reception command to the second-side earphone through the electrically connected second data port and second transmission port.

[0049] It should be noted that the charging case can not only communicate with the first-side earphone through the electrically connected first data port and first transmission port, but also charge the first-side earphone through the electrically connected first data port and first transmission port. Similarly, the charging case can not only communicate with the second-side earphone through the electrically connected second data port and second transmission port, but also charge the second-side earphone through the electrically connected second data port and second transmission port.

[0050] In some other embodiments, the first reception command includes the first wireless communication address of the first-side earphone; correspondingly, sending the first reception command to the second-side earphone, where the first reception command is used to instruct the second-side earphone to receive the first wireless signal, includes: sending the first reception command to the second-side earphone, where the first reception command is used to instruct the second-side earphone to receive the first wireless signal corresponding to the first wireless communication address.

[0051] In this embodiment, the terminal device first obtains the first wireless communication address of the first-side earphone, and then includes the first wireless communication address in the first reception command sent to the second-side earphone. After receiving the first reception command, the second-side earphone then receives the first wireless signal corresponding to the first wireless communication address. The first wireless communication address can be a Bluetooth signal address.

[0052] The terminal device can send a get address command to the first earphone while sending a first transmission command to the first earphone, and the first earphone then sends its first wireless communication address to the terminal device. Alternatively, the terminal device can send a get address command to the first earphone after sending the first transmission command to the first earphone, and the first earphone then sends its first wireless communication address to the terminal device. Alternatively, the first wireless communication address of the first earphone can also be pre - saved in the terminal device by the staff. For the way the terminal device obtains the first wireless communication address of the first earphone, the user can set it according to the actual situation, and this application does not make specific limitations here.

[0053] Step S103: Determine the test result of the transmission function of the first earphone and the test result of the reception function of the second earphone according to the signal strength of the first wireless signal received by the second earphone.

[0054] In step S103, after the second earphone receives the first wireless signal, the terminal device obtains the first wireless signal received by the second earphone, and determines the test result of the transmission function of the first earphone and the test result of the reception function of the second earphone according to the signal strength of the first wireless signal received by the second earphone.

[0055] In some possible implementation manners, determining the test result of the transmission function of the first earphone and the test result of the reception function of the second earphone according to the signal strength of the first wireless signal received by the second earphone includes:

[0056] Obtain the signal strength of the first wireless signal received by the second earphone; if the signal strength of the first wireless signal received by the second earphone is greater than or equal to a preset threshold, the test results of the transmission function of the first earphone and the reception function of the second earphone are passed; if the signal strength of the first wireless signal received by the second earphone is less than the preset threshold, the test results of the transmission function of the first earphone and the reception function of the second earphone are not passed.

[0057] In this implementation manner, the test results of the transmission function of the first earphone and the reception function of the second earphone are determined by the preset threshold and the signal strength of the first wireless signal received by the second earphone. When the signal strength of the first wireless signal received by the second earphone is greater than or equal to the preset threshold, the test results of the transmission function of the first earphone and the reception function of the second earphone are passed. When the signal strength of the first wireless signal received by the second earphone is less than the preset threshold, the test results of the transmission function of the first earphone and the reception function of the second earphone are not passed.

[0058] In some other possible implementation manners, before obtaining the signal strength of the first wireless signal received by the second-side earphone, it further includes: obtaining the signal strength of the first wireless signal received by the first preset type of earphone;

[0059] Determining a preset threshold according to the signal strength of the first wireless signal received by the first preset type of earphone.

[0060] In this implementation manner, the first preset type of earphone and the second preset type of earphone are placed in the charging case, and then the first preset type of earphone receives the first wireless signal emitted by the second preset type of earphone. Finally, a preset threshold is determined according to the signal strength of the first wireless signal received by the first preset type of earphone.

[0061] The first preset type of earphone and the second preset type of earphone belong to the same pair of Bluetooth earphones. The first preset type of earphone is an earphone with normal signal reception function, and the second preset type of earphone is an earphone with normal signal transmission function.

[0062] Since the first preset type of earphone has a normal signal reception function and the second preset type of earphone has a normal signal transmission function. Therefore, placing the first preset type of earphone and the second preset type of earphone in the charging case, and then determining the preset threshold according to the strength of the first wireless signal received by the first preset type of earphone makes the preset threshold more accurate. Since the preset threshold is more accurate, the test results of the transmission function of the first-side earphone and the reception function of the second-side earphone determined according to the preset threshold are also more accurate.

[0063] In some embodiments, this application further includes: sending a second transmission command to the second-side earphone, where the second transmission command is used to instruct the second-side earphone to transmit a second wireless signal; sending a second reception command to the first-side earphone, where the second reception command is used to instruct the first-side earphone to receive the second wireless signal; determining the test result of the transmission function of the second-side earphone and the test result of the reception function of the first-side earphone according to the signal strength of the second wireless signal received by the first-side earphone.

[0064] In this embodiment, the terminal device sends a second transmission command to the second-side earphone. After receiving the second transmission command, the second-side earphone transmits the second wireless signal. Then the terminal device sends a second reception command to the first-side earphone. After receiving the second reception command, the first-side earphone receives the second wireless signal. Finally, the terminal device determines the test result of the transmission function of the second-side earphone and the test result of the reception function of the first-side earphone according to the signal strength of the second wireless signal received by the first-side earphone.

[0065] In this embodiment, in addition to testing the transmission function of the first-side earphone and the reception function of the second-side earphone, it is also possible to test the transmission function of the second-side earphone and the reception function of the first-side earphone. It should be noted that the test of the transmission function of the first-side earphone and the reception function of the second-side earphone can be carried out simultaneously with the test of the transmission function of the second-side earphone and the reception function of the first-side earphone, or separately. When the test of the transmission function of the first-side earphone and the reception function of the second-side earphone is carried out simultaneously with the test of the transmission function of the second-side earphone and the reception function of the first-side earphone, the test time of the Bluetooth earphone can be further reduced.

[0066] In this embodiment, the detailed implementation process of sending a second transmission command to the second-side earphone, where the second transmission command is used to instruct the second-side earphone to transmit a second wireless signal, and the corresponding beneficial effects can refer to the implementation process and beneficial effects of sending a first transmission command to the first-side earphone, where the first transmission command is used to instruct the first-side earphone to transmit a first wireless signal.

[0067] For example, sending a second transmission command to the second-side earphone includes: sending a second transmission command to the charging case to instruct the charging case to forward the second transmission command to the second-side earphone through the electrically connected second data port and second transmission port.

[0068] The detailed implementation process of sending a second reception command to the first-side earphone, where the second reception command is used to instruct the first-side earphone to receive a second wireless signal, and the beneficial effects can refer to the implementation process and beneficial effects of sending a first reception command to the second-side earphone, where the first reception command is used to instruct the second-side earphone to receive the first wireless signal. The detailed implementation process of determining the test results of the transmission function of the second-side earphone and the reception function of the first-side earphone based on the signal strength of the second wireless signal received by the first-side earphone, and the beneficial effects can refer to the implementation process and beneficial effects of determining the test results of the transmission function of the first-side earphone and the reception function of the second-side earphone based on the signal strength of the first wireless signal received by the second-side earphone. This application will not elaborate further here.

[0069] In summary, the present application provides a test method for testing the performance of a Bluetooth headset. The Bluetooth headset includes a first-side earphone and a second-side earphone each having an independent Bluetooth module. First, a first transmission command is sent to the first-side earphone, and the first transmission command is used to instruct the first-side earphone to transmit a first wireless signal. Then, a first reception command is sent to the second-side earphone, and the first reception command is used to instruct the second-side earphone to receive the first wireless signal. Finally, the test results of the transmission function of the first-side earphone and the reception function of the second-side earphone are determined according to the signal strength of the first wireless signal received by the second-side earphone. That is, in the present application, only the first-side earphone of the Bluetooth headset and the second-side earphone of the Bluetooth headset are needed to test the transmission function of the first-side earphone of the Bluetooth headset and the reception function of the second-side earphone of the Bluetooth headset, and no additional Bluetooth tester is required. Since no additional Bluetooth tester is needed to receive the first wireless signal, the cost is saved. In addition, since the transmission function of the first-side earphone of the Bluetooth headset and the reception function of the second-side earphone of the Bluetooth headset can be tested simultaneously, the test time is reduced. Therefore, the test method of the present application not only saves cost but also reduces the test time, enabling the test to be completed quickly.

[0070] It should be understood that the magnitudes of the sequence numbers of the steps in the above embodiments do not mean the order of execution is prior or posterior. The execution order of each process should be determined according to its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.

[0071] Embodiment 2

[0072] Figure 3 An example of a test device is shown. The device is used to test the performance of a Bluetooth headset. The Bluetooth headset includes a first-side earphone and a second-side earphone each having an independent Bluetooth module. For the sake of convenience of description, only the parts related to the embodiments of the present application are shown. The device 300 includes:

[0073] A first transmission module 301, configured to send a first transmission command to the first-side earphone, and the first transmission command is used to instruct the first-side earphone to transmit a first wireless signal.

[0074] A second transmission module 302, configured to send a first reception command to the second-side earphone, and the first reception command is used to instruct the second-side earphone to receive the first wireless signal.

[0075] A result determination module 303, configured to determine the test results of the transmission function of the first-side earphone and the reception function of the second-side earphone according to the signal strength of the first wireless signal received by the second-side earphone.

[0076] Optionally, the first transmission module 301 is further configured to execute:

[0077] Send a second transmission command to the second-side earphone, where the second transmission command is used to instruct the second-side earphone to transmit a second wireless signal.

[0078] The second sending module 302 is further configured to execute:

[0079] Send a second reception command to the first-side earphone, where the second reception command is used to instruct the first-side earphone to receive the second wireless signal.

[0080] The result determination module 303 is further configured to execute:

[0081] Determine the test result of the transmission function of the second-side earphone and the test result of the reception function of the first-side earphone according to the signal strength of the second wireless signal received by the first-side earphone.

[0082] Optionally, the device 300 further includes a charging case for use with the Bluetooth earphone, and the charging case has a function of communicating with the Bluetooth earphone;

[0083] A first data port is provided on the first-side earphone, a second data port is provided on the second-side earphone, and a first transmission port corresponding to the first data port and a second transmission port corresponding to the second data port are provided on the charging case;

[0084] Correspondingly, the first sending module 301 is specifically configured to execute:

[0085] Send a first transmission command to the charging case to instruct the charging case to forward the first transmission command to the first-side earphone through the electrically connected first data port and first transmission port.

[0086] Correspondingly, the second sending module 302 is specifically configured to execute:

[0087] Send a first reception command to the charging case to instruct the charging case to forward the first reception command to the second-side earphone through the electrically connected second data port and second transmission port.

[0088] Optionally, a test control port is further provided on the charging case for connecting to a terminal device.

[0089] Correspondingly, the first sending module 301 is specifically configured to execute:

[0090] Send a first transmission command to the charging case through the test control port.

[0091] Correspondingly, the second sending module 302 is specifically configured to execute:

[0092] Send a first reception command to the charging case through the test control port.

[0093] Optionally, the first reception command includes the first wireless communication address of the first-side earphone.

[0094] Accordingly, the second sending module 302 is specifically configured to execute:

[0095] Send a first receiving command to the second-side earphone, where the first receiving command is used to instruct the second-side earphone to receive a first wireless signal corresponding to a first wireless communication address.

[0096] Optionally, the result determination module 303 is specifically configured to execute:

[0097] Obtain the signal strength of the first wireless signal received by the second-side earphone;

[0098] If the signal strength of the first wireless signal received by the second-side earphone is greater than or equal to a preset threshold, the test result of the transmitting function of the first-side earphone and the test result of the receiving function of the second-side earphone are passed;

[0099] If the signal strength of the first wireless signal received by the second-side earphone is less than the preset threshold, the test result of the transmitting function of the first-side earphone and the test result of the receiving function of the second-side earphone are not passed.

[0100] Optionally, the device 300 further includes:

[0101] A threshold determination module, configured to obtain the signal strength of the first wireless signal received by a first preset type of earphone; determine a preset threshold according to the signal strength of the first wireless signal received by the first preset type of earphone.

[0102] It should be noted that the information interaction, execution process, etc. between the above-mentioned device / units, due to being based on the same concept as the first embodiment of the method of the present application, for its specific functions and the technical effects brought, reference can be specifically made to the first part of the method embodiment, and details are not described herein again.

[0103] Embodiment III

[0104] Figure 4 It is a schematic diagram of a terminal device provided in the third embodiment of the present application. As Figure 4 shown, the terminal device 400 in this embodiment includes: a processor 401, a memory 402, and a computer program 403 stored in the memory 402 and executable on the processor 401. When the processor 401 executes the computer program 403, the steps in each of the above method embodiments are implemented. Alternatively, when the processor 401 executes the computer program 403, the functions of each module / unit in each of the above device embodiments are implemented.

[0105] Exemplarily, the above computer program 403 can be divided into one or more modules / units. The above one or more modules / units are stored in the above memory 402 and executed by the above processor 401 to complete this application. The above one or more modules / units can be a series of computer program instruction segments capable of completing specific functions, and these instruction segments are used to describe the execution process of the above computer program 403 in the above terminal device 400. For example, the above computer program 403 can be divided into a first sending module, a second sending module, and a result determination module. The specific functions of each module are as follows:

[0106] Send a first transmission command to the first-side earphone, and the first transmission command is used to instruct the first-side earphone to transmit a first wireless signal;

[0107] Send a first reception command to the second-side earphone, and the first reception command is used to instruct the second-side earphone to receive the first wireless signal;

[0108] Determine the test result of the transmission function of the first-side earphone and the test result of the reception function of the second-side earphone according to the signal strength of the first wireless signal received by the second-side earphone.

[0109] The above terminal device may include, but is not limited to, a processor 401 and a memory 402. Those skilled in the art can understand that Figure 4 merely being examples of the terminal device 400 does not constitute a limitation on the terminal device 400. It may include more or fewer components than shown in the figure, or combine certain components, or different components. For example, the above terminal device may further include an input / output device, a network access device, a bus, etc.

[0110] The so-called processor 401 may be a central processing unit (CPU), or may also be other general-purpose processors, digital signal processors (DSPs), application specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware plugins, etc. A general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0111] The above-mentioned memory 402 may be an internal storage unit of the above-mentioned terminal device 400, such as the hard disk or memory of the terminal device 400. The above-mentioned memory 402 may also be an external storage device of the above-mentioned terminal device 400, such as a plug-in hard disk equipped on the above-mentioned terminal device 400, a Smart Media Card (SMC), a Secure Digital (SD) card, a Flash Card, etc. Further, the above-mentioned memory 402 may also include both the internal storage unit of the above-mentioned terminal device 400 and an external storage device. The above-mentioned memory 402 is used to store the above-mentioned computer program and other programs and data required by the above-mentioned terminal device. The above-mentioned memory 402 may also be used to temporarily store data that has been output or is to be output.

[0112] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In actual applications, the above-mentioned functions can be allocated to different functional units and modules according to needs, that is, the internal structure of the above-mentioned device is divided into different functional units or modules to complete all or part of the functions described above. Each functional unit and module in the embodiment can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of a software functional unit. In addition, the specific names of each functional unit and module are only for the convenience of mutual distinction and do not limit the protection scope of the present application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the foregoing method embodiment and will not be elaborated herein.

[0113] In the above-mentioned embodiments, the descriptions of each embodiment have their own emphases. For the parts not detailed or recorded in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0114] Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be implemented by electronic hardware, or by a combination of computer software and electronic hardware. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Professionals can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present application.

[0115] In the embodiments provided in the present application, it should be understood that the disclosed device / terminal device and method can be implemented in other ways. For example, the device / terminal device embodiments described above are merely illustrative. For example, the above-mentioned division of modules or units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or plugins can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed coupling or direct coupling or communication connection between each other can be through some interfaces. The indirect coupling or communication connection of the device or unit can be in electrical, mechanical or other forms.

[0116] The units described above as separate components may or may not be physically separated. The components displayed as units may or may not be physical units, that is, they can be located in one place, or they can be distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0117] In addition, each functional unit in various embodiments of the present application can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of a software functional unit.

[0118] If the above-mentioned integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, to implement all or part of the processes in the above-mentioned method embodiments of the present application, it can also be completed by a computer program instructing relevant hardware. The above-mentioned computer program can be stored in a computer-readable storage medium. When the computer program is executed by a processor, the steps of the above-mentioned method embodiments can be implemented. Among them, the above-mentioned computer program includes computer program code, and the above-mentioned computer program code can be in the form of source code, object code, executable file or some intermediate form, etc. The above-mentioned computer-readable medium can include: any entity or device that can carry the above-mentioned computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electrical carrier signal, telecommunication signal, and software distribution medium, etc. It should be noted that the content included in the above-mentioned computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, the computer-readable medium does not include electrical carrier signals and telecommunication signals.

[0119] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: they can still modify the technical solutions recorded in the foregoing embodiments, or perform equivalent replacements on some of the technical features; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A testing method, characterized in that, For testing the performance of a Bluetooth headset, the Bluetooth headset includes a first-side earphone and a second-side earphone each having an independent Bluetooth module, and includes: Sending a first transmission command to the first-side earphone, the first transmission command being used to instruct the first-side earphone to transmit a first wireless signal; Sending a first reception command to the second-side earphone, the first reception command being used to instruct the second-side earphone to receive the first wireless signal; Determining a test result of the transmission function of the first-side earphone and a test result of the reception function of the second-side earphone according to the signal strength of the first wireless signal received by the second-side earphone; The Bluetooth headset further includes a charging case used in cooperation with the Bluetooth headset, and the charging case has a function of communicating with the Bluetooth headset; A first data port is provided on the first-side earphone, a second data port is provided on the second-side earphone, and a first transmission port corresponding to the first data port and a second transmission port corresponding to the second data port are provided on the charging case; Correspondingly, the sending the first transmission command to the first-side earphone includes: Sending a first transmission command to the charging case to instruct the charging case to forward the first transmission command to the first-side earphone through the electrically connected first data port and the first transmission port; Correspondingly, the sending the first reception command to the second-side earphone includes: Sending a first reception command to the charging case to instruct the charging case to forward the first reception command to the second-side earphone through the electrically connected second data port and the second transmission port.

2. The testing method according to claim 1, wherein It further includes: Sending a second transmission command to the second-side earphone, the second transmission command being used to instruct the second-side earphone to transmit a second wireless signal; Sending a second reception command to the first-side earphone, the second reception command being used to instruct the first-side earphone to receive the second wireless signal; Determining a test result of the transmission function of the second-side earphone and a test result of the reception function of the first-side earphone according to the signal strength of the second wireless signal received by the first-side earphone.

3. The test method according to claim 1, wherein A test control port is further provided on the charging case for connecting to a terminal device; Correspondingly, the sending the first transmission command to the charging case includes: Sending a first transmission command to the charging case through the test control port; Correspondingly, the sending the first reception command to the charging case includes: Sending a first reception command to the charging case through the test control port.

4. The test method according to claim 1, characterized in that, The first reception command includes a first wireless communication address of the first-side earphone; Correspondingly, the sending the first reception command to the second-side earphone, the first reception command being used to instruct the second-side earphone to receive the first wireless signal, includes: Sending a first reception command to the second-side earphone, the first reception command being used to instruct the second-side earphone to receive the first wireless signal corresponding to the first wireless communication address.

5. The test method according to claim 1, characterized in that, The determining the test result of the transmission function of the first-side earphone and the test result of the reception function of the second-side earphone according to the signal strength of the first wireless signal received by the second-side earphone includes: Obtain the signal strength of the first wireless signal received by the second-side earphone; If the signal strength of the first wireless signal received by the second-side earphone is greater than or equal to a preset threshold, the test results of the transmission function of the first-side earphone and the reception function of the second-side earphone are passed; If the signal strength of the first wireless signal received by the second-side earphone is less than the preset threshold, the test results of the transmission function of the first-side earphone and the reception function of the second-side earphone are not passed.

6. The testing method according to claim 5, characterized in that, Before obtaining the signal strength of the first wireless signal received by the second-side earphone, it further includes: Obtain the signal strength of the first wireless signal received by the first preset type of earphone; Determine the preset threshold according to the signal strength of the first wireless signal received by the first preset type of earphone.

7. A test device, characterized in that, For testing the performance of a Bluetooth earphone, the Bluetooth earphone includes a first-side earphone and a second-side earphone with independent Bluetooth modules, and includes: A first sending module, configured to send a first transmission command to the first-side earphone, and the first transmission command is used to instruct the first-side earphone to transmit a first wireless signal; A second sending module, configured to send a first reception command to the second-side earphone, and the first reception command is used to instruct the second-side earphone to receive the first wireless signal; A result determination module, configured to determine the test results of the transmission function of the first-side earphone and the reception function of the second-side earphone according to the signal strength of the first wireless signal received by the second-side earphone; The Bluetooth earphone further includes a charging case used in cooperation with the Bluetooth earphone, and the charging case has a function of communicating with the Bluetooth earphone; A first data port is provided on the first-side earphone, a second data port is provided on the second-side earphone, and a first transmission port corresponding to the first data port and a second transmission port corresponding to the second data port are provided on the charging case; Correspondingly, the first sending module is specifically configured to execute: Send a first transmission command to the charging case to instruct the charging case to forward the first transmission command to the first-side earphone through the electrically connected first data port and the first transmission port; Correspondingly, the second sending module is specifically configured to execute: Send a first reception command to the charging case to instruct the charging case to forward the first reception command to the second-side earphone through the electrically connected second data port and the second transmission port.

8. The test device according to claim 7, characterized in that, The first sending module is further configured to execute: Send a second transmission command to the second-side earphone, and the second transmission command is used to instruct the second-side earphone to transmit a second wireless signal; The second sending module is further configured to execute: Send a second reception command to the first-side earphone, and the second reception command is used to instruct the first-side earphone to receive the second wireless signal; The result determination module is further configured to execute: Determine the test results of the transmission function of the second-side earphone and the reception function of the first-side earphone according to the signal strength of the second wireless signal received by the first-side earphone.

9. A terminal device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, the method described in any one of claims 1-6 is implemented.

Citation Information

Patent Citations

  • Electronic product loudspeaker and microphone testing system and testing method

    CN104618846A

  • Testing method, device and equipment for wireless communication equipment, equipment and storage medium

    CN111654341A