CN109168153B - Bluetooth audio equipment testing method based on double Bluetooth adapters and single channel - Google Patents
Bluetooth audio equipment testing method based on double Bluetooth adapters and single channel Download PDFInfo
- Publication number
- CN109168153B CN109168153B CN201811209338.2A CN201811209338A CN109168153B CN 109168153 B CN109168153 B CN 109168153B CN 201811209338 A CN201811209338 A CN 201811209338A CN 109168153 B CN109168153 B CN 109168153B
- Authority
- CN
- China
- Prior art keywords
- bluetooth
- audio equipment
- bluetooth audio
- mac address
- adapter
- 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.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/02—Arrangements for optimising operational condition
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/14—Direct-mode setup
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a Bluetooth audio device testing method based on double Bluetooth adapters and a single channel, which comprises the following steps: s1, the first Bluetooth adapter searches the tested Bluetooth audio equipment in the pairing mode, and adds the searched MAC address of the tested Bluetooth audio equipment to a Bluetooth audio equipment MAC address list of the PC; s2, selecting a Bluetooth audio device for connection by the Bluetooth adapter II according to the MAC address list of the Bluetooth audio device, and controlling the PC to transmit audio signals to the Bluetooth audio device through the Bluetooth adapter II; s3, the Bluetooth audio equipment plays according to the audio signal, the artificial ear collects the signal, the collected signal is transmitted to the electroacoustic tester, and the electroacoustic tester analyzes the signal. The invention uses two Bluetooth adapters, one is used for searching, and the other is connected, so that the time of the step of searching the MAC address in the test process can be saved, thereby improving the test efficiency.
Description
Technical Field
The invention relates to the technical field of Bluetooth audio equipment testing, in particular to a Bluetooth audio equipment testing method based on a single channel of double Bluetooth adapters.
Background
At present, a bluetooth adapter is generally used for testing bluetooth audio equipment, and under the condition that a MAC address is unknown to the bluetooth audio equipment, the bluetooth adapter needs to search the MAC address first to perform pairing connection. The search time in the test method accounts for about 50% of the whole connection time, and is about 3s-5s, so that the test efficiency is low.
In order to improve the efficiency of testing the bluetooth audio device, it is necessary to provide a method for testing the bluetooth audio device based on the dual bluetooth adapters.
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provides a method for testing a Bluetooth audio device based on a single channel of a double Bluetooth adapter, which aims to solve the technical problem that the testing efficiency is low due to the use of one Bluetooth adapter in the prior art.
In order to achieve the purpose, the invention provides a method for testing Bluetooth audio equipment based on a double-Bluetooth adapter single channel, which is based on a testing system consisting of an electroacoustic tester, a PC, a first Bluetooth adapter, a second Bluetooth adapter and an artificial ear, wherein a MAC address list of the Bluetooth audio equipment is arranged in the PC, and the method comprises the following specific steps:
s1, the first Bluetooth adapter searches the tested Bluetooth audio equipment in the pairing mode, and adds the searched MAC address of the tested Bluetooth audio equipment to a Bluetooth audio equipment MAC address list of the PC;
s2, selecting a Bluetooth audio device for connection by the Bluetooth adapter II according to the MAC address list of the Bluetooth audio device, and controlling the PC to transmit audio signals to the Bluetooth audio device through the Bluetooth adapter II;
s3, the Bluetooth audio equipment plays according to the audio signal, the artificial ear collects the signal, the collected signal is transmitted to the electroacoustic tester, and the electroacoustic tester analyzes the signal.
Preferably, the PC is connected with the electroacoustic tester, the first Bluetooth adapter and the second Bluetooth adapter are both in communication connection with the PC, the first Bluetooth adapter is used for searching Bluetooth audio equipment in a pairing mode, and the second Bluetooth adapter is used for connecting with Bluetooth audio equipment in a MAC address list of the Bluetooth audio equipment and transmitting audio.
Preferably, the MAC addresses of the tested bluetooth audio devices searched in step S1 are added to the list of MAC addresses of the bluetooth audio devices according to the chronological order; and S2, the second Bluetooth adapter selects Bluetooth audio equipment from the MAC address list of the Bluetooth audio equipment according to the sequence mode to carry out pairing connection.
Preferably, after the electroacoustic test instrument completes the test of the bluetooth audio device in the step S3, the PC pulls the MAC address of the bluetooth audio device into the blacklist.
The invention has the beneficial effects that: compared with the prior art, the method for testing the Bluetooth audio equipment based on the double Bluetooth adapters and the single channel uses two Bluetooth adapters, one of the two Bluetooth adapters is used for searching the Bluetooth audio equipment in a pairing mode and storing all searched MAC addresses, the other Bluetooth adapter selects the correct MAC address from a stored MAC address list and then is connected with the correct MAC address, the correct MAC address is transmitted to the Bluetooth audio equipment with the MAC address, and the MAC address is pulled into a blacklist after the test is finished. Therefore, the time of the step of searching the MAC address in the test process can be saved, the time of the Bluetooth connection step in the whole test process is greatly shortened, and the test efficiency is improved.
The features and advantages of the present invention will be described in detail by embodiments in conjunction with the accompanying drawings.
Drawings
FIG. 1 is a schematic diagram of a test system according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood, however, that the description herein of specific embodiments is only intended to illustrate the invention and not to limit the scope of the invention. Moreover, in the following description, descriptions of well-known structures and techniques are omitted so as to not unnecessarily obscure the concepts of the present invention.
Referring to fig. 1, an embodiment of the present invention provides a method for testing a bluetooth audio device based on a single channel with two bluetooth adapters, where the method is based on a testing system composed of an electroacoustic tester 1, a PC 2, a bluetooth adapter one 3, a bluetooth adapter two 4, and an artificial ear 5, a MAC address list of the bluetooth audio device is provided in the PC 2, the PC 2 is connected to the electroacoustic tester 1, both the bluetooth adapter one 3 and the bluetooth adapter two 4 are in communication connection with the PC 2, the bluetooth adapter one 3 is used for searching for the bluetooth audio device in a pairing mode, the bluetooth adapter two 4 is used for connecting to the bluetooth audio device in the MAC address list of the bluetooth audio device and transmitting audio, and the method specifically includes the following steps:
s1, the first Bluetooth adapter 3 searches the tested Bluetooth audio device in the pairing mode, and adds the searched MAC address of the tested Bluetooth audio device to the MAC address list of the Bluetooth audio device of the PC 2, wherein the searched MAC address of the tested Bluetooth audio device is added to the MAC address list of the Bluetooth audio device according to the time sequence.
S2, the second Bluetooth adapter 4 selects a Bluetooth audio device to connect according to the MAC address list of the Bluetooth audio device, and controls the PC 2 to transmit audio signals to the Bluetooth audio device through the Bluetooth adapter, wherein the second Bluetooth adapter 4 selects the Bluetooth audio device from the MAC address list of the Bluetooth audio device to pair and connect according to a sequence mode.
S3, the Bluetooth audio device plays according to the audio signal, the artificial ear 5 collects the signal and transmits the collected signal to the electroacoustic tester 1, the electroacoustic tester 1 analyzes the signal, and after the electroacoustic tester 1 tests the Bluetooth audio device, the PC 2 pulls the MAC address of the Bluetooth audio device into a blacklist.
The invention provides a method for testing Bluetooth audio equipment based on a double Bluetooth adapter single channel, which uses two Bluetooth adapters, one is used for searching the Bluetooth audio equipment in a pairing mode and storing all searched MAC addresses, the other is connected after selecting a correct MAC address from a stored MAC address list and transmitting an audio signal with the Bluetooth audio equipment of the MAC address, and the MAC address is pulled into a blacklist after the test is finished. Therefore, the time of the step of searching the MAC address in the test process can be saved, the time of the Bluetooth connection step in the whole test process is greatly shortened, and the test efficiency is improved.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents or improvements made within the spirit and principle of the present invention should be included in the scope of the present invention.
Claims (3)
1. A Bluetooth audio device testing method based on double Bluetooth adapters and single access is characterized in that: the method is based on a test system consisting of an electroacoustic tester (1), a PC (personal computer) machine (2), a Bluetooth adapter I (3), a Bluetooth adapter II (4) and an artificial ear (5), wherein a Bluetooth audio device mac address list is arranged in the PC (2), and the method specifically comprises the following steps:
s1, the first Bluetooth adapter (3) searches the tested Bluetooth audio equipment in the pairing mode, and adds the MAC address of the searched tested Bluetooth audio equipment to the MAC address list of the Bluetooth audio equipment of the PC (2);
s2, the second Bluetooth adapter (4) selects a piece of Bluetooth audio equipment to connect according to the MAC address list of the Bluetooth audio equipment, and controls the PC (2) to transmit audio signals to the Bluetooth audio equipment through the second Bluetooth adapter (4);
s3, the Bluetooth audio equipment plays according to the audio signal, the artificial ear (5) collects the signal and transmits the collected signal to the electroacoustic tester (1), the electroacoustic tester (1) analyzes the signal, and after the electroacoustic tester (1) finishes testing the Bluetooth audio equipment, the PC (2) pulls the MAC address of the Bluetooth audio equipment into a blacklist.
2. The method for testing Bluetooth audio equipment based on double Bluetooth adapters and single channel as claimed in claim 1, wherein: the electroacoustic testing device is characterized in that the PC (2) is connected with the electroacoustic testing device (1), the first Bluetooth adapter (3) and the second Bluetooth adapter (4) are in communication connection with the PC (2), the first Bluetooth adapter (3) is used for searching Bluetooth audio equipment in a pairing mode, and the second Bluetooth adapter (4) is used for being connected with the Bluetooth audio equipment in a MAC address list of the Bluetooth audio equipment and transmitting audio.
3. The method for testing Bluetooth audio equipment based on double Bluetooth adapters and single channel as claimed in claim 1, wherein: the MAC addresses of the tested Bluetooth audio equipment searched in the step S1 are added to a Bluetooth audio equipment MAC address list according to the time sequence; and S2, the second Bluetooth adapter (4) selects Bluetooth audio equipment from the MAC address list of the Bluetooth audio equipment according to the sequence mode to carry out pairing connection.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811209338.2A CN109168153B (en) | 2018-10-17 | 2018-10-17 | Bluetooth audio equipment testing method based on double Bluetooth adapters and single channel |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811209338.2A CN109168153B (en) | 2018-10-17 | 2018-10-17 | Bluetooth audio equipment testing method based on double Bluetooth adapters and single channel |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109168153A CN109168153A (en) | 2019-01-08 |
CN109168153B true CN109168153B (en) | 2020-11-10 |
Family
ID=64878506
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811209338.2A Active CN109168153B (en) | 2018-10-17 | 2018-10-17 | Bluetooth audio equipment testing method based on double Bluetooth adapters and single channel |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109168153B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111132117B (en) * | 2020-02-24 | 2023-04-25 | 中国第一汽车股份有限公司 | Bluetooth connection method and device, vehicle and storage medium |
CN113316183A (en) * | 2021-04-28 | 2021-08-27 | 珠海荣邦智能科技有限公司 | Bluetooth equipment testing method, device and system |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102291668A (en) * | 2011-07-12 | 2011-12-21 | 广州市立伟电子有限公司 | Method and system for testing Bluetooth earphones in batches |
CN104579506A (en) * | 2014-12-31 | 2015-04-29 | 福建联迪商用设备有限公司 | Bluetooth equipment testing method and device |
CN205265691U (en) * | 2015-11-27 | 2016-05-25 | 国家电网公司 | Wireless bluetooth adapter |
CN105848196A (en) * | 2016-05-04 | 2016-08-10 | 青岛歌尔声学科技有限公司 | NFC bluetooth adapter and bluetooth product test system and test method |
CN107135124A (en) * | 2017-05-12 | 2017-09-05 | 上海动联信息技术股份有限公司 | A kind of method and system of many bluetooth communication concurrent testings |
CN107517436A (en) * | 2017-08-18 | 2017-12-26 | 深圳市小瑞科技股份有限公司 | A kind of bluetooth equipment test system, device and method |
CN207200712U (en) * | 2017-07-27 | 2018-04-06 | 歌尔股份有限公司 | The test system of bluetooth equipment |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9794389B2 (en) * | 2015-07-27 | 2017-10-17 | International Business Machines Corporation | Hands-free bluetooth car system |
-
2018
- 2018-10-17 CN CN201811209338.2A patent/CN109168153B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102291668A (en) * | 2011-07-12 | 2011-12-21 | 广州市立伟电子有限公司 | Method and system for testing Bluetooth earphones in batches |
CN104579506A (en) * | 2014-12-31 | 2015-04-29 | 福建联迪商用设备有限公司 | Bluetooth equipment testing method and device |
CN205265691U (en) * | 2015-11-27 | 2016-05-25 | 国家电网公司 | Wireless bluetooth adapter |
CN105848196A (en) * | 2016-05-04 | 2016-08-10 | 青岛歌尔声学科技有限公司 | NFC bluetooth adapter and bluetooth product test system and test method |
CN107135124A (en) * | 2017-05-12 | 2017-09-05 | 上海动联信息技术股份有限公司 | A kind of method and system of many bluetooth communication concurrent testings |
CN207200712U (en) * | 2017-07-27 | 2018-04-06 | 歌尔股份有限公司 | The test system of bluetooth equipment |
CN107517436A (en) * | 2017-08-18 | 2017-12-26 | 深圳市小瑞科技股份有限公司 | A kind of bluetooth equipment test system, device and method |
Also Published As
Publication number | Publication date |
---|---|
CN109168153A (en) | 2019-01-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102833021B (en) | Bluetooth pairing method and system in test | |
CN104753612B (en) | A kind of radio frequency test method and system | |
CN109168153B (en) | Bluetooth audio equipment testing method based on double Bluetooth adapters and single channel | |
CN104538042A (en) | Intelligent voice test system and method for terminal | |
CN102684747B (en) | Method and device for searching adjacent bluetooth device | |
CN103260124A (en) | Audio testing method and system of mobile terminal | |
CN103033820A (en) | Optical cable identifying method and equipment | |
CN104038606A (en) | Headphone and microphone combination testing method and system | |
CN205491156U (en) | General type audio signal analysis appearance | |
CN108418726A (en) | Throughput testing method, apparatus, device and storage medium for user wireless device | |
CN105578375B (en) | A kind of microphone test device and test method | |
CN108880936B (en) | Communication module test system and communication module test method | |
CN110262440A (en) | Railway vehicle traction system data monitoring acquisition system and method | |
CN109150238A (en) | Wireless audio integrated measurement system and method | |
CN201994944U (en) | Bluetooth module testing device | |
CN103118205A (en) | Method and device for testing call performance of downlink receiving terminal in noisy environment | |
CN206756741U (en) | A kind of blood glucose meter based on the communication of mobile device Lightning mouths | |
CN105448306B (en) | Voice loop detecting method | |
CN105572536B (en) | 485 bus communication network short circuit trouble points are without electrification survey meter of taking out stitches | |
CN108200545A (en) | A kind of WLAN signaling tests system and test method | |
CN107727964A (en) | Wireless type relay protection constant value list intelligent checking technology test platform | |
CN208723894U (en) | Wireless audio integrated measurement system | |
CN204836184U (en) | Mobile communication network pronunciation MOS testing arrangement | |
CN108235289B (en) | Method for screening channels of Bluetooth headset for examination | |
CN102819942A (en) | Analog automobile signal transmission and detection system and method thereof |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address |
Address after: 310000 No. 10, Xianqiao Road, Zhongtai street, Yuhang District, Hangzhou City, Zhejiang Province Patentee after: Hangzhou Zhaohua Electronics Co.,Ltd. Address before: 310000 building 1-3, No. 31-1, Xianxing Road, Xianlin street, Yuhang District, Hangzhou City, Zhejiang Province Patentee before: CRY SOUND CO.,LTD. |
|
CP03 | Change of name, title or address |