CN114501286A - Bluetooth connection testing method and device - Google Patents

Bluetooth connection testing method and device Download PDF

Info

Publication number
CN114501286A
CN114501286A CN202111601512.XA CN202111601512A CN114501286A CN 114501286 A CN114501286 A CN 114501286A CN 202111601512 A CN202111601512 A CN 202111601512A CN 114501286 A CN114501286 A CN 114501286A
Authority
CN
China
Prior art keywords
test
tested
bluetooth headset
instruction
bluetooth
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111601512.XA
Other languages
Chinese (zh)
Inventor
何桂晓
郭世文
杨卉
曹磊
吴海全
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Guanxu Industrial Design Co ltd
Shenzhen Grandsun Electronics Co Ltd
Shenzhen Feikedi System Development Co Ltd
Original Assignee
Shenzhen Guanxu Industrial Design Co ltd
Shenzhen Grandsun Electronics Co Ltd
Shenzhen Feikedi System Development Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Guanxu Industrial Design Co ltd, Shenzhen Grandsun Electronics Co Ltd, Shenzhen Feikedi System Development Co Ltd filed Critical Shenzhen Guanxu Industrial Design Co ltd
Priority to CN202111601512.XA priority Critical patent/CN114501286A/en
Publication of CN114501286A publication Critical patent/CN114501286A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R29/00Monitoring arrangements; Testing arrangements
    • H04R29/001Monitoring arrangements; Testing arrangements for loudspeakers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B5/00Near-field transmission systems, e.g. inductive or capacitive transmission systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Otolaryngology (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Telephone Function (AREA)

Abstract

The method is applied to a mobile terminal and is used for sending a starting-up instruction to control equipment, and the starting-up instruction is used for controlling the equipment to control the starting-up of the Bluetooth headset to be tested; performing Bluetooth connection test on the Bluetooth headset to be tested to obtain a test result, wherein the test result is used for describing the Bluetooth connection test condition of the Bluetooth headset to be tested; and sending a shutdown instruction to the control equipment, wherein the shutdown instruction is used for controlling the equipment to control the shutdown of the Bluetooth headset to be tested. The method can automatically perform the Bluetooth connection test on the Bluetooth headset to be tested and the mobile terminal, and saves the labor cost.

Description

Bluetooth connection testing method and device
Technical Field
The application belongs to the technical field of Bluetooth headset performance testing, and particularly relates to a Bluetooth connection testing method and device.
Background
The Bluetooth earphone applies the Bluetooth technology to the hands-free earphone, so that a user can not be stumbled by an earphone connecting line, and the connection between the earphone and the terminal equipment is easily realized. Ease and convenience of use has led to the advent of bluetooth headsets, and is increasingly popular.
In the production process of the bluetooth headset, the bluetooth headset is required to perform multiple performance tests. The Bluetooth connection test refers to a test performed in a connection process between the Bluetooth headset and the terminal device after the Bluetooth headset is powered on, and the connection consistency between the Bluetooth headset and the terminal device is determined.
Traditional bluetooth connection test is all handled through the manual work, and it is more loaded down with trivial details, extravagant human cost to adopt the manual work to carry out bluetooth connection test procedure.
Disclosure of Invention
The embodiment of the application provides a Bluetooth connection test method and device, which can realize automatic Bluetooth connection test and save the labor cost of the Bluetooth connection test.
In a first aspect, an embodiment of the present application provides a bluetooth connection testing method, which is applied to a mobile terminal, where the testing process includes:
sending a starting-up instruction to a control device, wherein the starting-up instruction is used for the control device to control a Bluetooth headset to be tested to start up;
performing Bluetooth connection test on the Bluetooth headset to be tested to obtain a test result, wherein the test result is used for describing the Bluetooth connection test condition of the Bluetooth headset to be tested;
and sending a shutdown instruction to the control equipment, wherein the shutdown instruction is used for the control equipment to control the shutdown of the Bluetooth headset to be tested.
In the bluetooth connection testing method in the above embodiment, the mobile terminal sends a power-on instruction to the control device, the control device controls the bluetooth headset to be tested to be automatically powered on according to the power-on instruction, and the bluetooth connection testing is performed on the bluetooth headset to be tested after the bluetooth headset to be tested is automatically powered on; and then sending a shutdown instruction to the control equipment, and controlling the Bluetooth headset to be tested to be shut down by the control equipment according to the shutdown instruction so as to complete one Bluetooth connection test. The Bluetooth connection testing method can control the automatic startup and shutdown of the Bluetooth headset to be tested, and can automatically perform Bluetooth connection testing on the Bluetooth headset to be tested; the operation of startup and shutdown and Bluetooth connection test is not required to be carried out manually, so that the labor cost can be saved.
In a possible implementation manner of the first aspect, the performing a bluetooth connection test on the bluetooth headset to be tested includes:
the mobile terminal is in Bluetooth connection with the Bluetooth headset to be tested;
if the Bluetooth connection is successful, controlling the control equipment to perform audio transmission test on the Bluetooth headset to be tested to obtain a first test result, wherein the first test result is used for describing success or failure of the audio transmission test;
if the Bluetooth connection fails, determining a second test result, wherein the second test result is used for describing the Bluetooth connection failure; the test result comprises the first test result or the second test result.
In a possible implementation manner of the first aspect, the audio transmission test includes a play function test; the first test result comprises a play function test result, and the play function test result is used for describing whether the play function of the Bluetooth headset to be tested is normal or abnormal;
the control device is controlled to carry out audio transmission test on the Bluetooth headset to be tested to obtain a first test result, and the method comprises the following steps:
sending a playing function test instruction to the control equipment, wherein the playing function test instruction is used for the control equipment to control the start of the artificial ear;
playing a first audio, and receiving a first recording file which is sent by the control equipment and corresponds to the first audio, wherein the first recording file is obtained by acquiring and recording audio at a receiver position of the Bluetooth headset to be tested by the artificial ear;
and analyzing the first sound recording file to obtain the test result of the playing function.
In a possible implementation manner of the first aspect, the mobile terminal is a mobile phone; the audio transmission test further comprises a hands-free function test; the first test result also comprises a hands-free function test result, and the hands-free function test result is used for describing whether the call hands-free function of the Bluetooth headset to be tested is normal or abnormal;
the control device is controlled to carry out audio transmission test on the to-be-tested Bluetooth headset to obtain a first test result, and the method further comprises the following steps:
sending a hands-free function test instruction to the control equipment, wherein the hands-free function test instruction is used for the control equipment to control the simulation mouth to start and play a second audio;
recording a receiver of the mobile communication equipment to obtain a second recording file corresponding to the second audio frequency;
analyzing the second sound recording file to obtain the test result of the hands-free function
In a possible implementation manner of the first aspect, the testing process further includes:
acquiring process data of the Bluetooth connection; the test results also include the process data.
In a possible implementation manner of the first aspect, the method further includes:
repeatedly executing the test process for N times to obtain N test results;
and determining a connection test result between the mobile terminal and the Bluetooth headset to be tested according to the N test results.
In a second aspect, an embodiment of the present application provides a bluetooth connection testing method, which is applied to a control device, and a testing process includes:
receiving a starting-up instruction sent by a mobile terminal;
sending a first instruction to a Bluetooth headset to be tested according to the starting instruction, wherein the first instruction is used for controlling the Bluetooth headset to be tested to start;
receiving a power-off instruction sent by the mobile terminal,
and sending a second instruction to the Bluetooth headset to be tested according to the shutdown instruction, wherein the second instruction is used for controlling the shutdown of the Bluetooth headset to be tested.
In a possible implementation manner of the second aspect, the testing process further includes:
receiving an audio test instruction sent by a mobile terminal;
and controlling the control equipment to carry out audio transmission test on the Bluetooth headset to be tested according to the audio test instruction.
In a third aspect, an embodiment of the present application provides a bluetooth connection testing apparatus, including:
the device comprises a starting instruction sending unit, a starting instruction receiving unit and a starting instruction sending unit, wherein the starting instruction sending unit is used for sending a starting instruction to control equipment, and the starting instruction is used for controlling the control equipment to start a Bluetooth headset to be tested;
the Bluetooth connection testing unit is used for carrying out Bluetooth connection testing on the Bluetooth headset to be tested to obtain a testing result, and the testing result is used for describing the Bluetooth connection testing condition of the Bluetooth headset to be tested;
and the shutdown instruction sending unit is used for sending a shutdown instruction to the control equipment, and the shutdown instruction is used for the control equipment to control the to-be-tested Bluetooth headset to be shut down.
In a fourth aspect, an embodiment of the present application provides a bluetooth connection testing apparatus, including:
the starting instruction receiving unit is used for receiving a starting instruction sent by the mobile terminal;
the starting control unit is used for sending a first instruction to the Bluetooth headset to be tested according to the starting instruction, and the first instruction is used for controlling the starting of the Bluetooth headset to be tested;
a shutdown instruction receiving unit for receiving a shutdown instruction sent by the mobile terminal,
and the shutdown control unit is used for sending a second instruction to the Bluetooth headset to be tested according to the shutdown instruction, wherein the second instruction is used for controlling the Bluetooth headset to be tested to be shut down.
In a fifth aspect, an embodiment of the present application provides a detection device, where the detection device is configured to execute content executed by the mobile terminal in the bluetooth connection testing method according to any one of the above first aspects, or configured to execute content executed by the control device in the bluetooth connection testing method according to any one of the above second aspects.
In a sixth aspect, an embodiment of the present application provides a computer-readable storage medium, where a computer program is stored, and the computer program, when executed by a processor, implements content executed by the mobile terminal in the bluetooth connection testing method according to any one of the first aspects or content executed by the control device in the bluetooth connection testing method according to any one of the second aspects.
In a seventh aspect, an embodiment of the present application provides a computer program product, which, when run on a terminal device, causes the terminal device to execute content executed by a mobile terminal in the bluetooth connection testing method according to any one of the first aspects or content executed by the control device in the bluetooth connection testing method according to any one of the second aspects.
It is to be understood that, the beneficial effects of the second to seventh aspects may be referred to the relevant description of the first aspect, and are not repeated herein.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a bluetooth connection testing system according to an embodiment of the present application;
fig. 2 is a schematic block diagram of a control device according to an embodiment of the present disclosure;
fig. 3 is a flowchart of a method of a testing process in a bluetooth connection testing method according to an embodiment of the present application;
fig. 4 is a flowchart illustrating a method for performing a bluetooth connection test on a bluetooth headset to be tested to obtain a test result according to an embodiment of the present application;
fig. 5 is an interaction diagram of a testing process of a bluetooth connection testing method according to an embodiment of the present application;
FIG. 6 is an interaction diagram of a testing process of a play function test provided in an embodiment of the present application;
FIG. 7 is an interaction diagram of a testing process for hands-free functionality testing provided by an embodiment of the present application;
fig. 8 is a block diagram of a bluetooth connection testing apparatus according to an embodiment of the present application;
fig. 9 is a block diagram of a bluetooth connection testing apparatus according to another embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to" determining "or" in response to detecting ". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
Furthermore, in the description of the present application and the appended claims, the terms "first," "second," "third," and the like are used for distinguishing between descriptions and not necessarily for describing or implying relative importance.
Reference throughout this specification to "one embodiment" or "some embodiments," or the like, means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," or the like, in various places throughout this specification are not necessarily all referring to the same embodiment, but rather "one or more but not all embodiments" unless specifically stated otherwise. The terms "comprising," "including," "having," and variations thereof mean "including, but not limited to," unless expressly specified otherwise.
The application provides a Bluetooth connection testing method, which can control the automatic startup and shutdown of a Bluetooth headset to be tested and can automatically perform Bluetooth connection testing on the Bluetooth headset to be tested; the operation of startup and shutdown and Bluetooth connection test is not required to be carried out manually, so that the labor cost can be saved.
Referring to fig. 1, a schematic structural diagram of a bluetooth connection testing system provided in the present application is shown. As shown in fig. 1, the system includes a bluetooth headset to be tested 10, a mobile terminal 20 and a control device 30, where the control device 30 is connected to the mobile terminal 20 in a communication manner, the control device 30 is connected to the bluetooth headset to be tested 10, and a bluetooth module is built in the mobile terminal 20.
When the bluetooth headset to be tested is used, the mobile terminal 20 sends a power-on instruction or a power-off instruction to the control device 30, the control device 30 controls the bluetooth headset to be tested to be powered on according to the received power-on instruction, and controls the bluetooth headset to be tested to be powered off according to the received power-off instruction; and the mobile terminal 20 performs a bluetooth connection test on the bluetooth headset 10 to be tested.
The Bluetooth connection testing method provided by the embodiment of the application is mainly used for aiming at the Bluetooth connection condition between the Bluetooth headset to be tested and mobile equipment which is mainstream in the market in the production process; for example, the connection test includes a test of a process of a bluetooth headset being connected back to the mobile device after being powered on, and a test of a basic audio transmission process after being connected back.
The bluetooth headset 10 to be tested in the embodiment of the present application may be a bluetooth headset, a bluetooth headset with independent two ears, a common in-ear bluetooth headset, a bluetooth headset with a neck hanging feature, and the like, which is not limited herein.
The mobile terminal 20 in the embodiment of the present application includes a bluetooth module that can perform bluetooth connection with other bluetooth devices. For example, the mobile phone, the notebook, the tablet computer, the vehicle-mounted smart terminal, the smart wearable device, and the like, which have a bluetooth connection function, may be used, and are not limited herein.
In the actual production process of the bluetooth headset, in order to ensure that the bluetooth headset has a wide application range when being used in the later period, the bluetooth headset and the mobile terminal which is mainstream in the market are required to be respectively subjected to bluetooth connection test, so that the bluetooth connection condition between the bluetooth headset to be tested and different mobile terminals is judged.
Optionally, as shown in fig. 1, the bluetooth connection testing system may further include a dummy ear 40, the dummy ear 40 is connected to the control device 30, the control device 30 controls the power on and the power off of the dummy ear 40, and the dummy ear 40 is used to collect and record audio at the position of the earphone of the bluetooth headset 10 to be tested in the power on state, and send a recording file obtained by recording to the control device 30.
Optionally, as shown in fig. 1, the bluetooth connection testing system may further include an emulation mouth 50, the emulation mouth 50 is connected to the control device 30, the control device 30 controls the emulation mouth 50 to be turned on and off, and the emulation mouth 50 is used to play audio at the microphone position of the bluetooth headset 10 to be tested in the turned-on state.
Fig. 2 is a schematic block diagram of a control device according to an embodiment of the present disclosure, and as shown in fig. 2, the control device 30 may include a processor 31, a memory 32, and a computer program 33 disposed in the memory 32. As shown in fig. 2, the control device 30 may further include a communication module 34, wherein the communication module 34 is used for communicating with the mobile terminal 20.
The processor 31 is used for processing information acquired from the mobile terminal 20. The Processor 31 may be a Central Processing Unit (CPU), and the Processor 31 may also be other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 32 may in some embodiments be an internal storage unit of the control device 30, such as a hard disk or a memory. The memory 32 may also be an external storage device of the control device 30 in other embodiments, such as a plug-in hard disk provided on the control device 30, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and so on. Further, the memory 32 may also include both an internal storage unit of the control device 30 and an external storage device. The memory 32 is used for storing an operating system, application programs, a BootLoader (BootLoader), data, and other programs, such as program codes of the computer programs. The memory 32 may also be used to temporarily store data that has been output or is to be output.
The communication module 34 is used for communication with the mobile terminal 20. For example, the communication module 34 may provide a solution for communication applied to the control device 30, including Wireless Local Area Networks (WLANs), such as Wi-Fi networks, bluetooth, Zigbee, mobile communication networks, Global Navigation Satellite Systems (GNSS), Frequency Modulation (FM), Near Field Communication (NFC), Infrared (IR), and the like. The communication module may be one or more devices integrating at least one communication processing module. The communication module may include an antenna, and the antenna may have only one array element, or may be an antenna array including a plurality of array elements. The communication module can receive electromagnetic waves through the antenna, frequency-modulate and filter electromagnetic wave signals, and send the processed signals to the processor. The communication module can also receive a signal to be sent from the processor, frequency-modulate and amplify the signal, and convert the signal into electromagnetic waves through the antenna to radiate the electromagnetic waves.
The following describes an exemplary method for testing bluetooth connection according to the present application with reference to specific embodiments. For example, testing software may be installed on the mobile terminal, and the testing software is used for executing the steps executed by the mobile terminal in the bluetooth connection testing method.
Fig. 3 shows a method flowchart of a test procedure in the bluetooth connection test method provided in an embodiment of the present application. The method is applied to a mobile terminal, and by way of example and not limitation, the test procedure comprises the following steps:
step S301, sending a starting-up instruction to the control equipment, wherein the starting-up instruction is used for controlling the equipment to control the Bluetooth headset to be tested to start up.
In the embodiment, when the test process is started, the control equipment is used for controlling the start-up of the Bluetooth headset to be tested, so that the process of manually operating the start-up is replaced, and the labor cost can be saved. It will be appreciated that at the end of the test procedure, the control device is also used to control the bluetooth headset to power down, in a similar manner to the power up control.
By way of example and not limitation, the following describes a process of controlling the bluetooth headset to be tested by the control device to turn on or off in conjunction with different application scenarios of the bluetooth connection testing method and different types of bluetooth headsets.
In one embodiment, the testing process of the bluetooth connection testing method can be applied to the production process of the bluetooth headset to test the bluetooth headset which is not assembled completely. Under this application scene, the pin of bluetooth headset's power key is in naked state.
Illustratively, when the to-be-tested Bluetooth headset is a head-mounted Bluetooth headset, the control device is connected with the control power supply, the control power supply is connected to the exposed pins of the to-be-tested Bluetooth headset through wires, and the control device controls the card machine or the power-off of the to-be-tested Bluetooth headset by changing the output of the control power supply.
It can be understood that, when the bluetooth headset to be tested is the bluetooth headset that charges using the charging bin, the control device can be connected with the bluetooth headset through the charging contact of the bluetooth headset, thereby controlling the start-up and shutdown of the bluetooth headset.
In another embodiment, the bluetooth connection testing method can be applied to the testing of the assembled bluetooth headset, and an operating device (such as a manipulator) capable of simulating the actions of a human hand needs to be arranged during the testing. The control equipment is connected with the operating device, and controls the operating device to simulate a human hand to execute a power-on or power-off action.
Illustratively, when the on-off mode of the bluetooth headset to be tested is touch or power key pressing, the operating device performs pressing or touch operation to realize on-off.
Optionally, when the bluetooth headset to be tested is a bluetooth headset with a charging bin, the power on/off mode may be implemented by taking out and replacing the bluetooth headset from the charging bin, and at this time, the operation device performs the operation of taking out and replacing the bluetooth headset to implement the power on/off mode.
The design of the handling device (e.g. a robot) can be performed by a person skilled in the art according to the prior art and will not be described in detail here.
Step S302, carrying out Bluetooth connection test on the Bluetooth headset to be tested to obtain a test result, wherein the test result is used for describing the Bluetooth connection test condition of the Bluetooth headset to be tested.
In an embodiment, the bluetooth connection test may include a test for performing a loopback connection with the mobile terminal after the bluetooth headset to be tested is powered on, where the test is mainly to detect whether the bluetooth headset to be tested can be successfully connected with the mobile terminal after being powered on. Optionally, the bluetooth connection test may further include an audio transmission test performed under a condition that the bluetooth connection is successful, where the test is mainly to detect whether audio transmission can be performed between the bluetooth headset to be tested and the mobile terminal.
Step S303, sending a shutdown instruction to the control device, wherein the shutdown instruction is used for controlling the device to control the Bluetooth headset to be tested to be shut down.
The Bluetooth connection testing method in the embodiment can control the on and off of the Bluetooth headset to be tested through the control device, and can automatically perform Bluetooth connection testing on the Bluetooth headset to be tested, so that the labor cost can be saved.
Fig. 4 is a flowchart of a method for performing a bluetooth connection test on a bluetooth headset to be tested to obtain a test result in an embodiment of the present application, and as shown in fig. 4, the method for performing a bluetooth connection test on a bluetooth headset to be tested in the embodiment specifically includes the following steps:
and S401, carrying out Bluetooth connection on the mobile terminal and the Bluetooth headset to be tested.
And step S402, judging whether the Bluetooth connection is successful.
In the embodiment, the mobile terminal is in Bluetooth connection with the Bluetooth headset to be tested after the Bluetooth headset to be tested is started. Exemplarily, the mobile terminal is always in a state of searching for a mateable bluetooth device, after the bluetooth headset to be tested is started, the mobile terminal initiates a connection request if the bluetooth headset to be tested is searched, and if the bluetooth connection is completed within a preset time period, the bluetooth connection is judged to be successful; and if the Bluetooth headset to be tested cannot be searched or the Bluetooth connection cannot be completed within a preset time period, judging that the Bluetooth connection fails.
Optionally, in the bluetooth connection process, the mobile terminal may be allowed to initiate the connection request at most a preset number of times, that is, if the bluetooth connection is not completed within a preset time period after the connection request is initiated once, the connection request may be repeatedly initiated; and if the Bluetooth connection cannot be completed after the connection request for the preset times is initiated, judging that the Bluetooth connection fails.
Step S403, if the Bluetooth connection is successful, controlling the control device to perform audio transmission test on the Bluetooth headset to be tested to obtain a first test result.
Step S404, if the Bluetooth connection fails, determining a second test result; the test result includes the first test result or the second test result.
In an embodiment, the first test result is used to describe success or failure of the audio transmission test, and the second test result is used to describe failure of the bluetooth connection. No matter whether the Bluetooth connection is successful or not, the Bluetooth headset to be tested is powered off as long as the test result is finally obtained, and therefore the Bluetooth connection test is completed once.
In one embodiment, the test procedure in the bluetooth connection test method further includes: acquiring process data of Bluetooth connection; the test results also include process data. In the embodiment, the test result is obtained, and meanwhile, the process data of the bluetooth connection process is also obtained, and the process data can provide more data information of the bluetooth connection for research and development personnel, so that the research and development personnel can analyze the test result data conveniently, for example, if the test result is considered to be not on time, the research and development personnel can further correct the final test result by rechecking the process data. Exemplary process data may include: the time of initiating the Bluetooth connection request, the time of reconnection, the time length used for reconnection, the number of times of initiating the Bluetooth connection request, the power of reconnection and the like.
In one embodiment, the bluetooth connection testing method further comprises: repeatedly executing the test process for N times to obtain N test results; and determining a connection test result between the mobile terminal and the Bluetooth headset to be tested according to the N test results.
In the embodiment, in order to ensure the stability of the bluetooth connection test result, the test process is repeated for N times, wherein N is set according to actual needs. It should be noted that, in practical applications, a connection test result corresponds to a bluetooth headset to be tested and a mobile terminal. Exemplarily, a certain bluetooth headset to be tested needs to be respectively subjected to bluetooth connection tests with a plurality of mobile devices, and if 5 mobile devices to be tested are available, the bluetooth headset to be tested needs to be subjected to N test processes with each mobile device to obtain 1 connection test result; therefore, the bluetooth headset to be tested corresponds to 5 connection test results, and each connection test result corresponds to one mobile device.
In the embodiment, the connection test result between the mobile terminal and the bluetooth headset to be tested is determined according to the N test results, specifically, the N test results are subjected to statistical analysis to obtain the connection test result between the bluetooth headset to be tested and the mobile terminal.
Illustratively, the statistical analysis uses N test results, and calculates the percentage S of successful audio transmission as the first test result of the N test results1The first test result is the percentage S of audio transmission failure2Or the connection test result is the percentage S of the second test result3And the like.
Optionally, in the evaluation of the final connection test result, the percentage S of successful audio transmission may be determined1And comparing the Bluetooth connection test result with a preset threshold value to determine whether the Bluetooth connection test of the combination of the Bluetooth earphone to be tested and the mobile terminal corresponding to the connection test result is qualified.
Illustratively, e.g. if the audio transmission is successful as a percentage S1If the connection test result is more than 95%, determining that the Bluetooth connection test of the combination of the Bluetooth headset to be tested and the mobile terminal corresponding to the connection test result is qualified; percentage S if audio transmission is successful1If the connection test result is less than 95%, determining the Bluetooth headset to be tested and the mobile phone corresponding to the connection test resultThe combined bluetooth connection test of the terminal is not qualified.
For example, suppose that we specify that a connection test result needs to be repeated 300 times for a certain bluetooth headset to be tested. And the combination 1 (the Bluetooth headset to be tested A-the mobile terminal B) and the combination 2 (the Bluetooth headset to be tested A-the mobile terminal C) are required to be respectively subjected to Bluetooth connection test, and the combination 1 and the combination 2 respectively correspond to 300 test results. And performing statistical analysis on the 300 test results corresponding to the combination 1 to obtain a connection test result X, and performing statistical analysis on the 300 test results corresponding to the combination 1 to obtain a connection test result Y. Wherein the connection test result X includes SX1、SX2And SX3The connection test result Y includes SY1、SY2And SY3
In practical application, in order to ensure the stability of the final connection test result and obtain a connection test result, the test process needs to be repeated hundreds of times, if mainstream mobile devices in the market are tested, the test process needs to be repeated thousands of times, and therefore, the workload of manually testing the mobile devices is huge. The embodiment adopts the Bluetooth connection testing method, tests automatically, and can save a large amount of labor cost and time cost.
In one embodiment, the bluetooth connection testing method further comprises: and the mobile terminal outputs the test result and the connection test result. The output mode may be to generate a report file including the test result and the connection test result, or to display the test result and the connection test result in a preset display area.
In order to make the specific flow of the testing process in the bluetooth connection testing method in the present application clearer, fig. 5 in the present application shows an interaction diagram of the testing process of the bluetooth connection testing method provided in an embodiment of the present application, which is by way of example and not by way of limitation, and as shown in the figure, the testing process includes:
step S501, the mobile terminal sends a starting instruction to the control device.
Step S502, the control device sends a first instruction to the Bluetooth headset to be tested according to the starting instruction.
And S503, the Bluetooth headset to be tested is started according to the first instruction.
And step S504, the mobile terminal is in Bluetooth connection with the Bluetooth headset to be tested.
And S505, the mobile terminal and the control terminal perform Bluetooth connection test on the Bluetooth headset to be tested to obtain a test result, wherein the test result is used for describing the Bluetooth connection test condition of the Bluetooth headset to be tested.
Step S506, the mobile terminal sends a shutdown instruction to the control device.
And step S507, the control equipment sends a second instruction to the Bluetooth headset to be tested according to the shutdown instruction.
And step S508, the Bluetooth headset to be tested is powered off according to the second instruction.
In the embodiment, the control device sends a first instruction and a second instruction to the Bluetooth headset to be tested, the Bluetooth headset to be tested is started up according to the first instruction, and is shut down according to the second instruction, and a testing process is completed after the Bluetooth headset to be tested is shut down.
In one embodiment, the Audio transmission test comprises a play function test, which is mainly a test for A2DP (Advanced Audio Distribution Profile) of the bluetooth headset to be tested. The play function test is mainly used for testing whether the Bluetooth headset to be tested can transmit the audio played by the mobile terminal connected with the Bluetooth headset to the receiver of the Bluetooth headset to be tested. The first test result comprises a play function test result, and the play function test result is used for describing whether the play function of the Bluetooth headset to be tested is normal or abnormal.
Fig. 6 shows an interaction diagram of a testing process of a play function test in an embodiment of the present application, and as shown in fig. 6, the testing process specifically includes the following steps:
step S601, the mobile terminal sends a play function test instruction to the control device.
And step S602, the control equipment sends a starting-up instruction to the artificial ear according to the playing function test instruction.
And step S603, the simulation ear is started according to the starting instruction.
Step S604, the mobile terminal plays the first audio.
Step S605, the simulated ear collects audio at the position of the receiver of the Bluetooth headset to be tested and records the audio to obtain a first recording file.
In one embodiment, the dummy ear is a device for measuring and calibrating the acoustic properties of the earpiece and horn. For example IEC 318E 610AA artificial ear, consisting of a CPI 60231/2 inch pressure field measuring microphone and a coupling cavity with characteristics close to the acoustic characteristics of the average outer ear of a human ear. Of course, the artificial ears of other types that can meet the requirements of the embodiments of the present application can also be applied to the present application, and are not described herein again.
And step S606, the artificial ear sends the first sound recording file to the control equipment.
And step S607, the control device sends the first sound recording file to the mobile terminal.
Step S608, the mobile terminal analyzes the first sound recording file to obtain a playing function test result.
In an embodiment, the analyzing the first sound recording file may be a simple analysis of the first sound recording file, such as identifying whether there is audio data in the first sound recording file: if the audio data are identified in the first recording file, determining that the playing function test result is that the playing function of the Bluetooth headset to be tested is normal; and if the audio data are not identified in the first recording file, determining that the playing function test result is that the playing function of the Bluetooth headset to be tested is abnormal.
Optionally, the analyzing of the first sound recording file may be comparing and analyzing the first sound recording file with a first audio played by the mobile terminal, and determining whether the similarity between the first sound recording file and the first audio reaches a preset similarity threshold: if so, determining that the playing function test result is that the playing function of the Bluetooth headset to be tested is normal; if not, determining that the playing function test result is that the playing function of the Bluetooth headset to be tested is abnormal. For example, whether the first audio record file contains audio and whether the audio in the first audio record file is the same as the first audio can be determined according to the spectral analysis results of the first audio and the first audio record file by respectively performing spectral analysis on the first audio and the first audio record file.
And step S609, the mobile terminal sends a play function test ending instruction to the control equipment.
And step S610, the control equipment starts a shutdown instruction to the simulated ear according to the simulated ear shutdown instruction.
And step S611, the simulated ear shuts down the device according to the shutdown instruction.
In the embodiment, the simulated ear is introduced and fixed at the position close to the receiver of the Bluetooth headset to be tested, so that the action of receiving the audio frequency of the Bluetooth headset by the human ear is simulated. The occupation of human resources caused by manual operation is avoided, and the labor cost is reduced. In addition, in the embodiment, the automatic start-up and shutdown of the artificial ear corresponds to the play function test, so that the resource waste and the introduction of unnecessary noise caused by long-time start-up are avoided while the first recording file corresponding to the first audio in terms of time is obtained.
In one embodiment, if the mobile terminal is a mobile phone device, such as a mobile phone, the audio transmission test further includes a Hands-Free function test, which is mainly a test of HFP (Hands Free Profile) of the bluetooth headset to be tested. The hands-free function test is mainly used for testing whether the Bluetooth headset to be tested can transmit the audio at the microphone of the Bluetooth headset to be tested to the mobile terminal connected with the Bluetooth. In this case, the first test result includes a hands-free function test result, and the hands-free function test result is used for describing whether the hands-free function of the bluetooth headset to be tested is normal or abnormal.
Fig. 7 is an interaction diagram illustrating a testing process of the hands-free function test in an embodiment of the present application, and as shown in fig. 6, the testing process specifically includes the following steps:
and step S701, the mobile terminal sends a hands-free function test instruction to the control equipment.
And S702, the control equipment sends a starting-up instruction to the simulation mouth according to the hands-free function test instruction.
Step S703, the emulation mouth starts up and plays the second audio according to the start-up instruction.
In the embodiment, the simulation mouth is used for simulating a sound source of a human mouth, and can be used for measuring acoustic index parameters such as frequency response and distortion of transmission and communication products such as a microphone on a mobile phone, a telephone, a microphone and a Bluetooth sound box. The simulated mouth provides a stable, broadband response, low distortion standard sound source.
Step S704, the mobile terminal records the receiver of the mobile terminal to obtain a second recording file corresponding to the second audio.
Step S705, the mobile terminal analyzes the second sound recording file to obtain a hands-free function test result.
In an embodiment, the analyzing the second sound recording file may be a simple analysis of the second sound recording file, similar to the analyzing method of the first sound recording file, for example, to identify whether there is audio data in the second sound recording file: if the audio data are identified in the second recording file, determining that the hands-free function test result is that the hands-free function of the Bluetooth headset to be tested is normal; and if the audio data are not identified in the second sound recording file, determining that the hands-free function test result is that the hands-free function of the Bluetooth headset to be tested is abnormal.
Optionally, the analyzing the second sound recording file may be comparing the second sound recording file with a second audio, and determining whether the second sound recording file contains an audio that is the same as the second audio: if so, determining that the hands-free function test result is that the hands-free function of the Bluetooth headset to be tested is normal; if not, determining that the hands-free function test result is that the hands-free function of the Bluetooth headset to be tested is abnormal. For example, whether the second audio record file contains audio and whether the audio in the second audio record file is the same as the second audio can be determined according to the spectral analysis results of the second audio and the second audio record file by respectively performing spectral analysis on the second audio and the second audio record file.
And step S706, the mobile terminal sends a hands-free function test instruction to the control equipment.
And step S707, the control device sends a shutdown instruction to the simulation mouth according to the hands-free function test instruction.
And step S708, the simulation mouth is shut down according to the shutdown instruction.
In the above embodiment, the action of the second audio frequency emitted by the human mouth is simulated by introducing the simulated mouth and fixing the simulated ear at the position close to the microphone of the bluetooth headset to be tested. The occupation of human resources caused by manual operation is avoided, and the labor cost is reduced. In addition, in the embodiment, the automatic start-up and the automatic shutdown of the simulation mouth correspond to the hands-free function test, so that the resource waste and the introduction of unnecessary noise caused by long-time start-up are avoided while the second recording file corresponding to the second audio in terms of time is obtained.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
Fig. 8 shows a block diagram of a bluetooth connection testing apparatus provided in the embodiment of the present application, corresponding to the bluetooth connection testing method described in the above embodiment, and only the relevant parts of the embodiment of the present application are shown for convenience of description.
Referring to fig. 8, the bluetooth connection test apparatus 80 includes:
a power-on instruction sending unit 81, configured to send a power-on instruction to the control device, where the power-on instruction is used for the control device to control the bluetooth headset to be tested to be powered on;
the Bluetooth connection testing unit 82 is used for performing Bluetooth connection testing on the Bluetooth headset to be tested to obtain a testing result, and the testing result is used for describing the Bluetooth connection testing condition of the Bluetooth headset to be tested;
and the shutdown instruction sending unit 83 is configured to send a shutdown instruction to the control device, where the shutdown instruction is used for controlling the device to shut down the bluetooth headset to be tested.
Optionally, the bluetooth connection testing unit 82 is specifically configured to, when being used to perform a bluetooth connection test on a bluetooth headset to be tested: the mobile terminal is in Bluetooth connection with a Bluetooth headset to be tested; if the Bluetooth connection is successful, controlling the control equipment to perform audio transmission test on the Bluetooth headset to be tested to obtain a first test result, wherein the first test result is used for describing the success or failure of the audio transmission test; if the Bluetooth connection fails, determining a second test result, wherein the second test result is used for describing the Bluetooth connection failure; the test result includes the first test result or the second test result.
Optionally, the audio transmission test includes a play function test; the first test result comprises a play function test result, and the play function test result is used for describing whether the play function of the Bluetooth headset to be tested is normal or abnormal; the bluetooth connection test unit 82 is used for controlling the control device to perform audio transmission test on the bluetooth headset to be tested, and when obtaining a first test result, is specifically used for: sending a playing function test instruction to the control equipment, wherein the playing function test instruction is used for controlling the equipment to control the simulated ear to start up; playing a first audio, and receiving a first recording file which is sent by the control equipment and corresponds to the first audio, wherein the first recording file is obtained by acquiring and recording the audio at the position of a receiver of the Bluetooth headset to be tested by a simulated ear; and analyzing the first sound recording file to obtain a playing function test result.
Optionally, the bluetooth connection testing unit 82 is configured to, when being used to control the control device to perform an audio transmission test on the bluetooth headset to be tested and obtain a first test result, further configured to: and sending a playing function test ending instruction to the control equipment, wherein the playing function test ending instruction is used for controlling the equipment to control the simulated earphone to be turned off.
Optionally, the mobile terminal is a mobile communication device; the audio transmission test also comprises a hands-free function test; the first test result also comprises a hands-free function test result which is used for describing whether the call hands-free function of the Bluetooth headset to be tested is normal or abnormal; the bluetooth connection test unit 82 is used for controlling the control device to perform audio transmission test on the bluetooth headset to be tested, and when obtaining a first test result, is specifically used for: sending a hands-free function test instruction to the control equipment, wherein the hands-free function test instruction is used for controlling the equipment to control the simulation mouth to start and play a second audio; recording a receiver of the mobile communication equipment to obtain a second recording file corresponding to a second audio frequency; and analyzing the second sound recording file to obtain a hands-free function test result.
Optionally, the bluetooth connection testing unit 82 is used for controlling the control device to perform an audio transmission test on the bluetooth headset to be tested, and when a first test result is obtained, is specifically further used for: and sending a hands-free function test instruction to the control equipment, wherein the hands-free function test instruction is used for controlling the equipment to control the simulation nozzle to be turned off.
Optionally, the bluetooth connection testing unit 82 is further configured to obtain process data of bluetooth connection; the test results also include process data.
Optionally, the bluetooth connection testing method apparatus 80 further includes a statistical unit, where the statistical unit is configured to determine a connection testing result between the mobile terminal and the bluetooth headset to be tested according to the N testing results after the bluetooth connection testing unit 82 obtains the N testing results.
In another embodiment of the present application, there is provided another bluetooth connection testing apparatus 90, the bluetooth connection testing apparatus 90 including:
a power-on instruction receiving unit 91, configured to receive a power-on instruction sent by the mobile terminal;
the starting control unit 92 is used for sending a first instruction to the Bluetooth headset to be tested according to the starting instruction, wherein the first instruction is used for controlling the starting of the Bluetooth headset to be tested;
a shutdown instruction receiving unit 93 for receiving a shutdown instruction sent by the mobile terminal,
and the shutdown control unit 94 is configured to send a second instruction to the to-be-tested bluetooth headset according to the shutdown instruction, where the second instruction is used to control the to-be-tested bluetooth headset to shutdown.
Optionally, the bluetooth connection testing apparatus 90 further includes:
the test instruction receiving unit is used for receiving an audio test instruction sent by the mobile terminal;
and the audio transmission testing unit is used for controlling the control equipment to carry out audio transmission testing on the Bluetooth headset to be tested according to the audio testing instruction.
It should be noted that, for the information interaction, execution process, and other contents between the above-mentioned devices/units, the specific functions and technical effects thereof are based on the same concept as those of the embodiment of the method of the present application, and specific reference may be made to the part of the embodiment of the method, which is not described herein again.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The embodiment of the present application further provides a detection device, where the detection device may be the terminal device described in the above embodiment or the control device described in the above embodiment.
The present application further provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the computer program implements the steps performed by the mobile terminal 20 or the control device 30 in the above method embodiments.
The present application provides a computer program product, which when running on a terminal device, enables the terminal device to implement the steps performed by the mobile terminal 20 or the control device 30 in the above method embodiments.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, all or part of the processes in the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium and can implement the steps of the embodiments of the methods described above when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer readable medium may include at least: any entity or device capable of carrying computer program code to an apparatus/terminal device, recording medium, computer Memory, Read-Only Memory (ROM), Random-Access Memory (RAM), electrical carrier wave signals, telecommunications signals, and software distribution medium. Such as a usb-disk, a removable hard disk, a magnetic or optical disk, etc. In some jurisdictions, computer-readable media may not be an electrical carrier signal or a telecommunications signal in accordance with legislative and proprietary practices.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/network device and method may be implemented in other ways. For example, the above-described apparatus/network device embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implementing, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (10)

1. A Bluetooth connection test method is applied to a mobile terminal, and the test process comprises the following steps:
sending a starting-up instruction to a control device, wherein the starting-up instruction is used for the control device to control a Bluetooth headset to be tested to start up;
performing Bluetooth connection test on the Bluetooth headset to be tested to obtain a test result, wherein the test result is used for describing the Bluetooth connection test condition of the Bluetooth headset to be tested;
and sending a shutdown instruction to the control equipment, wherein the shutdown instruction is used for the control equipment to control the shutdown of the Bluetooth headset to be tested.
2. The method of claim 1, wherein the performing the bluetooth connection test on the bluetooth headset to be tested comprises:
the mobile terminal is in Bluetooth connection with the Bluetooth headset to be tested;
if the Bluetooth connection is successful, controlling the control equipment to perform audio transmission test on the Bluetooth headset to be tested to obtain a first test result, wherein the first test result is used for describing success or failure of the audio transmission test;
if the Bluetooth connection fails, determining a second test result, wherein the second test result is used for describing the Bluetooth connection failure; the test result comprises the first test result or the second test result.
3. The method of claim 2, wherein the audio transmission test comprises a play function test; the first test result comprises a play function test result, and the play function test result is used for describing whether the play function of the Bluetooth headset to be tested is normal or abnormal;
the control device is controlled to carry out audio transmission test on the Bluetooth headset to be tested to obtain a first test result, and the method comprises the following steps:
sending a playing function test instruction to the control equipment, wherein the playing function test instruction is used for the control equipment to control the start of the artificial ear;
playing a first audio, and receiving a first recording file which is sent by the control equipment and corresponds to the first audio, wherein the first recording file is obtained by acquiring and recording audio at a receiver position of the Bluetooth headset to be tested by the artificial ear;
and analyzing the first sound recording file to obtain the test result of the playing function.
4. The method of claim 3, wherein the mobile terminal is a mobile telephony device; the audio transmission test further comprises a hands-free function test; the first test result also comprises a hands-free function test result, and the hands-free function test result is used for describing whether the call hands-free function of the Bluetooth headset to be tested is normal or abnormal;
the control device is controlled to carry out audio transmission test on the to-be-tested Bluetooth headset to obtain a first test result, and the method further comprises the following steps:
sending a hands-free function test instruction to the control equipment, wherein the hands-free function test instruction is used for the control equipment to control the simulation mouth to start and play a second audio;
recording a receiver of the mobile communication equipment to obtain a second recording file corresponding to the second audio frequency;
and analyzing the second sound recording file to obtain the test result of the hands-free function.
5. The method of claim 2, wherein the testing process further comprises:
acquiring process data of the Bluetooth connection; the test results also include the process data.
6. The method according to any one of claims 1 to 5, further comprising:
repeatedly executing the test process for N times to obtain N test results;
and determining a connection test result between the mobile terminal and the Bluetooth headset to be tested according to the N test results.
7. A Bluetooth connection test method is applied to control equipment, and the test process comprises the following steps:
receiving a starting-up instruction sent by a mobile terminal;
sending a first instruction to a Bluetooth headset to be tested according to the starting instruction, wherein the first instruction is used for controlling the Bluetooth headset to be tested to start;
receiving a power-off instruction sent by the mobile terminal,
and sending a second instruction to the Bluetooth headset to be tested according to the shutdown instruction, wherein the second instruction is used for controlling the shutdown of the Bluetooth headset to be tested.
8. The method of claim 7, wherein the testing process further comprises:
receiving an audio test instruction sent by a mobile terminal;
and controlling the control equipment to carry out audio transmission test on the Bluetooth headset to be tested according to the audio test instruction.
9. A detection device configured to execute contents executed by the mobile terminal in the bluetooth connection test method of any one of claims 1 to 6, or configured to execute contents executed by the control device in the bluetooth connection test method of any one of claims 7 to 8.
10. A computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements content executed by a mobile terminal in the bluetooth connection test method according to any one of claims 1 to 6 or content executed by a control device in the bluetooth connection test method according to claim 7 or 8.
CN202111601512.XA 2021-12-24 2021-12-24 Bluetooth connection testing method and device Pending CN114501286A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111601512.XA CN114501286A (en) 2021-12-24 2021-12-24 Bluetooth connection testing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111601512.XA CN114501286A (en) 2021-12-24 2021-12-24 Bluetooth connection testing method and device

Publications (1)

Publication Number Publication Date
CN114501286A true CN114501286A (en) 2022-05-13

Family

ID=81495111

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111601512.XA Pending CN114501286A (en) 2021-12-24 2021-12-24 Bluetooth connection testing method and device

Country Status (1)

Country Link
CN (1) CN114501286A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115086855A (en) * 2022-07-20 2022-09-20 荣耀终端有限公司 Test system, method and related device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109413557A (en) * 2018-10-17 2019-03-01 杭州兆华电子有限公司 It is a kind of using android mobile phone as the bluetooth headset test macro and its test method of Bluetooth adapter
CN209982732U (en) * 2019-04-26 2020-01-21 深圳市冠旭电子股份有限公司 Earphone test system
CN111225332A (en) * 2020-01-21 2020-06-02 深圳市科奈信科技有限公司 Bluetooth headset testing method and system
CN111526470A (en) * 2020-05-16 2020-08-11 杭州爱宏仪器有限公司 Bluetooth electroacoustic equipment measuring system based on handheld mobile terminal
CN112996020A (en) * 2021-03-30 2021-06-18 深圳市优必选科技股份有限公司 Bluetooth-based automatic testing method and device and Bluetooth testing terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109413557A (en) * 2018-10-17 2019-03-01 杭州兆华电子有限公司 It is a kind of using android mobile phone as the bluetooth headset test macro and its test method of Bluetooth adapter
CN209982732U (en) * 2019-04-26 2020-01-21 深圳市冠旭电子股份有限公司 Earphone test system
CN111225332A (en) * 2020-01-21 2020-06-02 深圳市科奈信科技有限公司 Bluetooth headset testing method and system
CN111526470A (en) * 2020-05-16 2020-08-11 杭州爱宏仪器有限公司 Bluetooth electroacoustic equipment measuring system based on handheld mobile terminal
CN112996020A (en) * 2021-03-30 2021-06-18 深圳市优必选科技股份有限公司 Bluetooth-based automatic testing method and device and Bluetooth testing terminal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115086855A (en) * 2022-07-20 2022-09-20 荣耀终端有限公司 Test system, method and related device
CN115086855B (en) * 2022-07-20 2022-12-27 荣耀终端有限公司 Test system, method and related device

Similar Documents

Publication Publication Date Title
EP3621068A1 (en) Portable smart voice interaction control device, method and system
EP2190239B1 (en) Test apparatus and method for testing interoperability of wireless communication devices
CN103488939B (en) Method, device and terminal for prompting user
CN110650408B (en) Earphone, anti-lost method, anti-lost system and computer readable storage medium
CN107071683A (en) Radio communication headset detection apparatus and method
CN104601769B (en) A kind of cell phone mainboard automated audio test system
WO2020019843A1 (en) Microphone hole blockage detection method and related product
CN109348504B (en) Power detection method, mobile terminal and power detection circuit
CN112367602A (en) Bluetooth headset testing method, system, testing terminal and computer readable storage medium
CN103260124A (en) Audio testing method and system of mobile terminal
JP6574781B2 (en) System and method for testing a radio frequency transceiver by controlling a test flow via an induced interrupt
KR20200072196A (en) Electronic device audio enhancement and method thereof
CN207052880U (en) The earphone interface and mobile terminal of a kind of mobile terminal
CN114501286A (en) Bluetooth connection testing method and device
WO2018014223A1 (en) Radio frequency performance test method and apparatus, and user terminal
WO2020019844A1 (en) Speech data processing method and related product
CN113766406B (en) Earphone testing method, system and device
WO2017166606A1 (en) Audio playback method and apparatus, terminal device, electronic device, and storage medium
CN106371800A (en) Audio output method and device
CN106782614B (en) Sound quality detection method and device
CN111581240B (en) Material processing method and device of terminal, storage medium and electronic equipment
CN115080962A (en) Form data checking method, computer equipment and storage medium
JP6262910B1 (en) Call recording system and call recording adapter
CN106255004A (en) Sound method of adjustment, earphone and audiogenic device
CN205232413U (en) Headset

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination