CN105577293B - A kind of test method of bluetooth equipment, apparatus and system - Google Patents

A kind of test method of bluetooth equipment, apparatus and system Download PDF

Info

Publication number
CN105577293B
CN105577293B CN201410538699.7A CN201410538699A CN105577293B CN 105577293 B CN105577293 B CN 105577293B CN 201410538699 A CN201410538699 A CN 201410538699A CN 105577293 B CN105577293 B CN 105577293B
Authority
CN
China
Prior art keywords
test
bluetooth
equipment
measured
information
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
Application number
CN201410538699.7A
Other languages
Chinese (zh)
Other versions
CN105577293A (en
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.)
Actions Technology Co Ltd
Original Assignee
Juxin (zhuhai) Science & Technology 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 Juxin (zhuhai) Science & Technology Co Ltd filed Critical Juxin (zhuhai) Science & Technology Co Ltd
Priority to CN201410538699.7A priority Critical patent/CN105577293B/en
Publication of CN105577293A publication Critical patent/CN105577293A/en
Application granted granted Critical
Publication of CN105577293B publication Critical patent/CN105577293B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention relates to measuring technology, more particularly to a kind of test method of bluetooth equipment, apparatus and system shorten the Bluetooth pairing time to improve the testing efficiency of bluetooth equipment.This method is:Bluetooth equipment to be measured obtains the identification information of bluetooth test equipment, and the identification information based on acquisition carries out active Hui Lian with bluetooth test equipment by reading preset test configurations information.It is to determine due to the bluetooth test equipment of Hui Lian, what connection procedure was also to determine, so as to shorten the pairing time, testing efficiency is improved, and then facilitate the management and control to product test.On the other hand, one-to-one time company's mode may be implemented multiple stations and be carried out at the same time test, greatly improve the degree of parallelism and efficiency of test.And since the company of returning only needs the identification information of storage bluetooth, means of testing is simple, and the information to be preserved is also less, reduces testing cost and test execution complexity.

Description

A kind of test method of bluetooth equipment, apparatus and system
Technical field
The present invention relates to bluetooth measuring technology, more particularly to a kind of test method of bluetooth equipment, apparatus and system.
Background technology
It is universal with individual mobile terminal, bluetooth as a kind of wireless near field communication solution, increasingly by The attention in market.Many electronic products all have Bluetooth function, wherein Baffle Box of Bluetooth as consumer electronics product new lover its Sales volume obtained rapid growth at nearly 2 years.
It is long there is the time is matched during its test since Bluetooth technology is a kind of wireless technology, test The problems such as inconvenient.In order to improve testing efficiency, ensure the accuracy of test, there is an urgent need to one kind carrying out bluetooth equipment to be measured The method quickly tested.This test method requires test accurate easy, and can cover equipment test as far as possible Links.
In the prior art, the test in terms of bluetooth module pairing connection is general in such a way that scanning connects.In this survey In method for testing, using the bluetooth equipment around transmitter scanning, discovery has the bluetooth equipment that can be matched just to be attached.But this There are following defects for kind test method:
First, the bluetooth equipment of connecting test is uncontrollable.
Since the test of pairing connection is using scanning connection type, so cannot achieve manual intervention.Therefore this The bluetooth equipment that method scans may not be bluetooth equipment to be measured, can not also determine the bluetooth equipment identity of connection.
Second, active scan is difficult to realize concurrent testing.
In test process, needs to ensure that test station is apart from each other, there cannot be crosstalk between each other.And the reality of this test Requirement referring now to environment is very high, although can solve the problems, such as this very well using shielding house, testing cost is too high.
Third, active scan testing time are long.
General Bluetooth pairing connection will undergo inquiry (inquiry scan) and paging (page scan) two stages, main The mode of dynamic scanning needs to first carry out inquiry operation, it is found that neighbouring connectable device equipment, Devices to test respond transmitter After inquiry request, then carry out paging operation.When paging operation completion, the foundation that equipment can be attached.Active scan connects In the process, the time needed for inquiry operation is longer, causes the entire testing time long.
Based on the analysis of above several aspects, that there are testing efficiencies is relatively low for existing test method, and the testing time is long, test The problems such as cost is uneconomical.
Invention content
The embodiment of the present invention provides a kind of test method and device of bluetooth equipment, and to improve testing efficiency, shortening is matched To the time, testing cost is reduced.
Specific technical solution provided in an embodiment of the present invention is as follows:
A kind of test method of bluetooth equipment, includes the following steps:
Bluetooth equipment to be measured obtains preset test configurations information;
Bluetooth equipment to be measured reads the identification information of bluetooth test equipment from the test configurations information obtained, and based on mark Know information and uses back even mode and the foundation connection of corresponding bluetooth test equipment;
Bluetooth equipment triggering bluetooth test equipment to be measured carries out Bluetooth function test to bluetooth equipment to be measured itself.
Preferably, bluetooth equipment to be tested obtains preset test configurations information, including:
When test is to external storage medium, preset test code and test script are read from storage medium;Wherein, Test code executes test program, test script is for describing in testing procedure and test process for parsing test script Need all kinds of test parameters used.
Preferably, bluetooth equipment to be measured detects external storage medium, obtain according to practical application request real-time update The test code and test script of latest edition.
By test script come configuration testing content, manual intervention is not needed, improves testing efficiency.It is surveyed needing to update When try is rapid or test event, test script only need to be updated, to save O&M cost to the full extent, is realized to surveying Configurableization for trying content, can be adapted for different bluetooth equipments to be measured.
Preferably, bluetooth equipment to be measured reads the identification information of bluetooth test equipment from the test configurations information obtained, And even mode and the foundation connection of corresponding bluetooth test equipment are used back based on identification information, including:
Read from the test configurations information obtained the address of bluetooth test equipment, bluetooth test equipment device name and One kind in the device number of bluetooth test equipment or arbitrary combination;
According to the corresponding bluetooth test equipment of the information scanning read, and the mode of company is used back to be built with bluetooth test equipment Vertical bluetooth connection.
Preferably, bluetooth equipment triggering bluetooth test equipment to be measured carries out Bluetooth function survey to bluetooth equipment to be measured itself Examination, including:
Bluetooth test equipment is bluetooth transmitter, and bluetooth equipment triggering bluetooth transmitter to be measured carries out bluetooth to this equipment and matches Connecting test and/or application function are tested;
In addition, after bluetooth equipment to be tested obtains preset test configurations information, before reading identification information, or Person, after completing Bluetooth function test, including:
Bluetooth equipment to be measured triggers bluetooth comprehensive test instrument according to test configurations information and carries out RF index to bluetooth equipment to be measured Test;
After bluetooth equipment to be tested obtains preset test configurations information, before reading identification information, alternatively, After completing Bluetooth function test, further include:
Bluetooth equipment to be measured carries out non-Bluetooth function test according to test configurations information, specifically includes:Universal input/output Interface GPIO tests, general-purpose serial bus USB interface testing, secure digital card/multimedia card SD/MMC interface testings, microphone Access MIC channel tests, voice-frequency channel LINEIN channel tests, in radio module access FM channel tests One or more combinations.
Other than basic bluetooth test function, the present invention is also added into RF index test and non-Bluetooth function is surveyed Examination, keeps test more comprehensive, meets the test needs to different bluetooth equipments to be measured.
Bluetooth equipment to be measured obtains the identification information of bluetooth test equipment by the preset test configurations information of reading, and Identification information based on acquisition carries out active Hui Lian with bluetooth test equipment.It is to determine due to the bluetooth test equipment of Hui Lian, Therefore connection procedure is also to determine, so as to shorten the pairing time, improves testing efficiency, and then facilitate to product test Management and control.On the other hand, one-to-one time company's mode may be implemented multiple stations and be carried out at the same time test, greatly improve test Degree of parallelism and efficiency.And since the company of returning only needs to store Bluetooth identification information, means of testing is simple, the letter to be preserved Breath is also less, will not increase testing cost and test execution complexity.
A kind of device of bluetooth equipment test, specifically includes:
Acquiring unit, for obtaining preset test configurations information;
Processing unit, the identification information for reading bluetooth test equipment from the test configurations information obtained, and be based on Identification information uses back even mode and the foundation connection of corresponding bluetooth test equipment;
Test cell carries out Bluetooth function test for triggering bluetooth test equipment to bluetooth equipment to be measured.
Preferably, acquiring unit obtains preset test configurations information, including:
When test is to external storage medium, preset test code and test script are read from storage medium;Wherein, Test code is each for describing to need to use in testing procedure and test process for calling test script, test script Class testing parameter.
Preferably, acquiring unit is specifically used for:
Detect external storage medium, obtain according to the test code of the latest edition of practical application request real-time update and Test script.
By test script come configuration testing content, manual intervention is not needed, improves testing efficiency.It is surveyed needing to update When try is rapid or test event, test script only need to be updated, to save O&M cost to the full extent, is realized to surveying Configurableization for trying content, can be adapted for different bluetooth equipments to be measured.
Preferably, processing unit reads the identification information of bluetooth test equipment, and base from the test configurations information obtained Even mode and the foundation connection of corresponding bluetooth test equipment are used back in identification information, including:
Read from the test configurations information obtained the address of bluetooth test equipment, bluetooth test equipment device name and One kind in the device number of bluetooth test equipment or arbitrary combination;
According to the corresponding bluetooth test equipment of the information scanning read, and the mode of company is used back to be built with bluetooth test equipment Vertical bluetooth connection.
Preferably, test cell triggers bluetooth test equipment carries out Bluetooth function test to bluetooth equipment to be measured, including:
Bluetooth test equipment is bluetooth transmitter, and bluetooth equipment triggering bluetooth transmitter to be measured carries out bluetooth to this equipment and matches To connecting test and (or) application test.
It is to determine due to the bluetooth test equipment of Hui Lian, what connection procedure was also to determine, so as to shorten pairing Time improves testing efficiency, and then facilitates the management and control to product test.On the other hand, one-to-one time company's mode can be with It realizes that multiple stations are carried out at the same time test, greatly improves the degree of parallelism and efficiency of test.And since the company of returning only stores indigo plant Tooth identification information, therefore means of testing is simple, the information to be preserved is also less, will not increase testing cost and test execution is complicated Degree.
In addition, after acquiring unit obtains preset test configurations information, before processing unit reads identification information, Alternatively, after test cell completes Bluetooth function test, test cell is further used for:
Bluetooth comprehensive test instrument, which is triggered, according to test configurations information carries out RF index test.
After acquiring unit obtains preset test configurations information, before processing unit reads identification information, alternatively, After test cell completes Bluetooth function test, test cell is further used for:
Non- Bluetooth function test is carried out according to test configurations information, is specifically included:Universal input/output interface GPIO is surveyed Examination, general-purpose serial bus USB interface testing, secure digital card/multimedia card SD/MMC interface testings, microphone access MIC Channel is tested, voice-frequency channel LINEIN channel tests, one kind or more in radio module access FM channel tests Kind combination.
Other than basic bluetooth test function, the present invention is also added into RF index test and non-Bluetooth function is surveyed Examination, keeps test more comprehensive, meets the test needs to different bluetooth equipments to be measured.
A kind of system of bluetooth equipment test, including at least one set of bluetooth equipment to be measured and bluetooth test equipment, wherein
Bluetooth equipment to be measured for obtaining preset test configurations information, and is read from the test configurations information obtained The identification information of bluetooth test equipment is taken, and even mode and corresponding bluetooth test equipment foundation company are used back based on identification information It connects;
Bluetooth test equipment is used for the triggering based on bluetooth equipment to be measured, and Bluetooth function survey is carried out to bluetooth equipment to be measured Examination.
Preferably, this system, further comprises:
Storage medium, for storing test configurations information, test configurations information includes test code and test script.
Preferably, this system, further comprises:
Bluetooth comprehensive test instrument is used for the triggering based on bluetooth equipment to be measured, and radio-frequency enabled test is carried out to bluetooth equipment to be measured.
Preferably, this system, further comprises:
Equipment, including LED light and/or PC equipment are shown, for feeding back detailed test result.
Description of the drawings
Fig. 1 is the Assessment Overview flow chart of bluetooth equipment to be measured in the embodiment of the present invention;
Fig. 2 is the test detail flowchart of bluetooth equipment to be measured in the embodiment of the present invention;
Fig. 3 is bluetooth equipment structural schematic diagram to be measured in the embodiment of the present invention;
Fig. 4 is the test system schematic of bluetooth equipment to be measured in the embodiment of the present invention.
Specific implementation mode
Low, the problem of pairing time length for the testing efficiency that solves bluetooth test in the prior art, in the embodiment of the present invention, Bluetooth equipment to be measured obtains the identification information of bluetooth test equipment, and based on acquisition by reading preset test configurations information Identification information pair bluetooth test equipment carry out active Hui Lian, i.e., bluetooth equipment to be measured actively connects bluetooth test device, request Bluetooth test equipment is completed to waiting for bluetooth transmitter scanning to connect indigo plant to be measured under the bluetooth test of this equipment rather than the prior art Tooth equipment.
The preferred embodiment of the present invention is described in detail below in conjunction with the accompanying drawings.
As shown in fig.1, in the embodiment of the present invention, the detailed process tested bluetooth equipment to be measured is as follows:
Step 100:Bluetooth equipment to be measured obtains preset test configurations information.
In the embodiment of the present invention, test configurations information is pre-configured with by administrative staff and there are SD card, USB flash disk or Key to set In the storage devices such as standby, when being tested, the storage medium for preserving test configurations information is inserted into indigo plant to be measured by administrative staff Tooth equipment after bluetooth equipment to be measured detects the storage medium of insertion, therefrom reads and obtains preset test configurations information.
Specifically, test configurations information may include test code and test script, wherein test code is surveyed for parsing Training sheet, and test script is then used to describe testing procedure, i.e., needs to use in test operation flow and test process All kinds of test parameters, e.g., the address of bluetooth test device needs the test event completed, the execution sequence of items test etc.. Why configuration information to be measured is set in this way, is because when needing to update testing procedure or test event, only needing Test script is updated, to saving O&M cost to the full extent, you can on the basis of not changing test code, Configurableization to testing content is realized, so as to suitable for different bluetooth equipments to be measured.
Step 110:Bluetooth equipment to be measured reads the identification information of bluetooth test equipment from the test configurations information obtained, And the mode of company is used back to be attached with corresponding bluetooth test equipment based on the identification information.
Specifically, the identification information read from the test configurations information obtained can be bluetooth test equipment address, The device name of bluetooth test equipment;
Bluetooth equipment to be measured uses back even mode and indigo plant according to the corresponding bluetooth test equipment of the information scanning read Tooth test equipment establishes bluetooth connection.
Bluetooth test equipment establishes the process connected with bluetooth equipment to be measured:
Bluetooth test equipment (main equipment) to be measured is with the saltus step of frequency hop sequences progress carrier frequency and in sending time slot Paging request is sent, bluetooth test equipment (from equipment) is with the fixed period in a regular time slot with some Hopping frequencies Monitor the paging request of main equipment.
Bluetooth test equipment listens to request and is just sent immediately from equipment paging response in next time slot, and bluetooth to be measured is set It is standby to receive the next time slot transmission main equipment page response responded from equipment paging, it is contained in the response by main equipment The hopping sequence information and clock phase that location generates.
Bluetooth test equipment receives these information and just enters connection status and automatically become the slave equipment of pico-network, and again Secondary return responds from equipment paging, and main equipment enters connection status after receiving the response and automatically becomes the main equipment of pico-network.
Compared with conventional test methodologies, query process is eliminated using the test mode of Hui Lian, directly carries out paging operation, Therefore the pairing time can be saved.
Step 120:Bluetooth equipment triggering bluetooth test equipment to be measured carries out Bluetooth function survey to bluetooth equipment to be measured itself Examination.
If bluetooth test equipment is bluetooth transmitter, bluetooth equipment triggering bluetooth transmitter to be measured carries out this equipment blue Tooth matches connecting test and/or application function test.
Wherein, include that simulation call tests (Hands-free Profile, HFP) again using (profile) functional test, Song test (Advanced Audio Distribution Profile, A2DP) and audio/video remote control rule are broadcast in simulation The protocol tests such as model (Audio/Video Remote Control Profile, AVRCP).
For example, by taking simulation call is tested as an example, after bluetooth transmitter establishes connection with bluetooth equipment to be measured, bluetooth to be measured is set Standby that one section of voice data can be sent out by microphone, the compressed coding of voice data is transferred to bluetooth hair by bluetooth radio path Machine is penetrated, and the audio data is exported via the speaker of transmitter, the connection of bluetooth equipment to be measured, microphone are detected with this Quality and speech quality etc..
In another example by taking song test is broadcast in simulation as an example, a section audio is sent to bluetooth equipment to be measured by bluetooth transmitter, to be measured Bluetooth equipment can play the section audio after receiving data, and connection and the audio broadcasting of bluetooth equipment to be measured are detected with this Quality.
On the basis of carrying out Bluetooth function test, bluetooth equipment to be measured can also be believed according to the default test configurations of acquisition Breath triggering bluetooth comprehensive test instrument carries out radio-frequency enabled test, can select to be tested two different opportunitys, one is obtaining After taking test configurations information, before the identification information for reading bluetooth test equipment, bluetooth module to be measured is according to test configurations Information triggers bluetooth comprehensive test instrument to its own progress radio-frequency enabled test;The second is after completing Bluetooth function test, it is to be measured Bluetooth equipment triggers bluetooth comprehensive test instrument to its own progress radio-frequency enabled test according to test configurations information.
In addition, on the basis of carrying out Bluetooth function test, bluetooth equipment to be tested can also be according to the preset survey of acquisition It tries configuration information and carries out non-Bluetooth function test, can select to be tested two different opportunitys, one is being surveyed obtaining After trying configuration information, before the identification information for reading bluetooth test equipment, bluetooth module to be measured is according to test configurations information To its own non-Bluetooth function test of progress;The second is after completing Bluetooth function test, bluetooth equipment to be measured is according to test Configuration information is to its own non-Bluetooth function test of progress.
Bluetooth equipment to be measured triggers bluetooth comprehensive test instrument according to test configurations information and carries out RF index test, example to this equipment Such as:Frequency deviation test, sensitivity test etc..
In bluetooth course of normal operation, frequency deviation and sensitivity are all to compare the RF index of concern, and frequency deviation can influence indigo plant Tooth data receiver there may be the bluetooth connection time is long, broadcasts the problems such as song speech quality declines if frequency deviation is excessive.It is sensitive Degree is to characterize bluetooth under conditions of ensureing the bit error rate, receives the minimum power input needed for data.If sensitivity is inadequate, There may be the effective detection ranges of equipment to reduce, and broadcasts the problems such as song speech quality declines.Therefore when carrying out RF index test, It can be by making Devices to test enter test pattern, to complete frequency deviation test, sensitivity test etc..
Bluetooth equipment to be measured carries out non-Bluetooth function test according to test configurations information, may include universal input/output (General Purpose Input Output, GPIO) test, universal serial bus (Universal Serial Bus, USB) interface testing, secure digital card (Secure digital, SD)/multimedia card (Multimedia Card, MMC) interface Test, microphone (MIC channel) path testing, voice-frequency channel (LINEIN channel) test, radio module access (FM Channel one or more combinations in) testing.
Such as:Bluetooth equipment to be measured judges whether SD card access is normal by judging whether the driving of normal load SD card.
In another example:Bluetooth equipment to be measured is during loading USB flash disk driving by judging whether drive load normally confirms Whether USB accesses are normal.
In another example:Bluetooth equipment to be measured is completed using exclusion method to bluetooth equipment GPIO to be measured by load test script Test, content include test GPIO with the presence or absence of short circuit and short circuit situation.If test does not pass through, failure is provided GPIO is numbered.
In another example:Bluetooth equipment to be measured counts the energy value in the channels MIC/LINEIN/FM, really by load test script Whether fixed corresponding channels operation is normal.
These above-mentioned tests are all by test script come configuration testing content, and are tested by testing results code call It is automatically performed after script, therefore does not need manual intervention, improve testing efficiency.
Further description is made to above-described embodiment using a specific application scenarios below.Referring particularly to Fig. 2 Shown, in the embodiment of the present invention, the measuring executing process of bluetooth equipment to be measured is specific as follows:
Step 201:Bluetooth equipment load test configuration information to be measured, it is true according to the test program of its record and test script Location survey tries content.
Step 202:Bluetooth equipment to be measured carries out non-Bluetooth function test according to the test configurations information of load, including The non-Bluetooth function test such as GPIO, MIC, LINEIN, FM.
Step 203:Bluetooth equipment to be measured feeds back the test knot of non-Bluetooth function test by local test output unit Fruit, if test executes step 209 by executing step 204, if testing and not passing through.
Here local test output unit includes LED light and/or PC equipment, can feed back detailed test knot Fruit, convenient for the management and control to product yield and quality in actual production process.
Step 204:Bluetooth equipment to be measured reads the identification information of bluetooth transmitter from the test configurations information obtained, and Based on the identification information bluetooth connection is carried out with corresponding bluetooth transmitter.
Step 205:Bluetooth equipment triggering bluetooth transmitter to be measured carries out bluetooth connection function to bluetooth equipment to be measured itself It is tested with profile.
Step 206:Bluetooth transmitter feeds back bluetooth connection function by its local test output unit and profile is surveyed Examination as a result, if test by execute step 207, if test do not pass through execute step 209.
Specifically, bluetooth transmitter can show equipment feedback test result by transmitter;
Step 207:Bluetooth equipment to be measured judges whether to need to carry out radio-frequency enabled survey according to the test configurations information of load Examination, thens follow the steps 208, if you do not need to thening follow the steps 209 if necessary.
Step 208:Bluetooth equipment to be measured carries out Bluetooth RF functional test.
Specifically, Bluetooth RF functional test is to be completed by bluetooth comprehensive test instrument and penetrated by PC equipment connected to it feedback Frequency test result.
Step 209:Bluetooth equipment to be measured determines that test terminates.
In concrete application scene more than it should be pointed out that, the test of non-Bluetooth function is to test it in Bluetooth function Preceding completion, in fact, the test of non-Bluetooth function can also carry out after Bluetooth function is tested.In addition it may also select whether Need the opportunity for carrying out radio-frequency enabled test and radio-frequency enabled is tested.
Based on above-described embodiment, as shown in fig.3, in the embodiment of the present invention, a kind of device of bluetooth equipment test, specifically Including:
Acquiring unit 30, for obtaining preset test configurations information;
Processing unit 31, the identification information for reading bluetooth test equipment from the test configurations information obtained, and base Even mode and the foundation connection of corresponding bluetooth test equipment are used back in identification information;
Test cell 32 carries out Bluetooth function test for triggering bluetooth test equipment to bluetooth equipment to be measured.
Preferably, acquiring unit 30 obtains preset test configurations information, including:
When test is to external storage medium, preset test code and test script are read from storage medium;Wherein, External storage medium is SD card, USB flash disk and/or Key equipment, and test code is for calling test script, and test script is for retouching State all kinds of test parameters for needing to use in testing procedure and test process.
Preferably, acquiring unit 30 is specifically used for:
Detect external storage medium, obtain according to the test code of the latest edition of practical application request real-time update and Test script.
Preferably, processing unit 31 is specifically used for:
The address of bluetooth test equipment, the device name etc. of bluetooth test equipment are read from the test configurations information obtained Information;
According to the corresponding bluetooth test equipment of the information scanning read, and the mode of company is used back to be built with bluetooth test equipment Vertical bluetooth connection.
Preferably, test cell 32 is specifically used for:
Bluetooth test equipment is bluetooth transmitter, then bluetooth equipment triggering bluetooth transmitter to be measured carries out bluetooth to this equipment Match connecting test and (or) application test;
In addition, after acquiring unit 30 obtains preset test configurations information, can select two different opportunitys Non- Bluetooth function test is carried out, i.e., before processing unit 31 reads identification information, alternatively, completing bluetooth work(in test cell 32 After capable of testing.
Test cell 32 is further used for:
Bluetooth comprehensive test instrument, which is triggered, according to test configurations information carries out RF index test.
After acquiring unit 30 obtains preset test configurations information, it can select to carry out two different opportunitys non- Bluetooth function is tested, i.e., before processing unit 31 reads identification information, alternatively, completing Bluetooth function test in test cell 32 Later.
Test cell 32 is further used for:
Non- Bluetooth function test is carried out according to test configurations information, is specifically included:Universal input/output interface GPIO is surveyed Examination, general-purpose serial bus USB interface testing, secure digital card/multimedia card SD/MMC interface testings, microphone access MIC Channel is tested, voice-frequency channel LINEIN channel tests, one kind or more in radio module access FM channel tests Kind combination.
Based on above-described embodiment, as shown in fig.4, in the embodiment of the present invention, a kind of system of bluetooth equipment test, including At least one set of bluetooth equipment to be measured and bluetooth test equipment, wherein
Bluetooth equipment to be measured for obtaining preset test configurations information, and is read from the test configurations information obtained The identification information of bluetooth test equipment is taken, and even mode and corresponding bluetooth test equipment foundation company are used back based on identification information It connects;
Bluetooth test equipment is used for the triggering based on bluetooth equipment to be measured, and Bluetooth function survey is carried out to bluetooth equipment to be measured Examination.
Preferably, this system, further comprises
Storage medium, for storing test configurations information, test configurations information includes test code and test script.
Preferably, this system, further comprises:
Bluetooth comprehensive test instrument is used for the triggering based on bluetooth equipment to be measured, and radio-frequency enabled test is carried out to bluetooth equipment to be measured.
Preferably, this system, further comprises:
Equipment, including LED light and/or PC equipment are shown, for feeding back detailed test result.
In conclusion bluetooth equipment to be measured is by reading preset test configurations information, test configurations information here can To be updated as required, configurableization to testing content is realized, O&M cost is dramatically saved and can be applicable in In different bluetooth equipments to be measured.Bluetooth equipment to be measured obtains the identification information of bluetooth test equipment, and the mark based on acquisition Information carries out active Hui Lian to bluetooth test equipment.It is to determine due to the bluetooth test equipment of Hui Lian, connection procedure It is to determine, so as to shorten the pairing time, improves testing efficiency, and then facilitate the management and control to product test.Another party Face, one-to-one time company's mode may be implemented multiple stations and be carried out at the same time test, greatly improve the degree of parallelism and effect of test Rate.And since the company of returning only stores Bluetooth identification information, means of testing is simple, and the information to be preserved is also less, Bu Huizeng Add testing cost and test execution complexity.In addition, the present invention is also added into RF index test and the test of non-Bluetooth function, make Test is more comprehensive, meets the test needs to different bluetooth equipments to be measured.
It should be understood by those skilled in the art that, the embodiment of the present invention can be provided as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention Apply the form of example.Moreover, the present invention can be used in one or more wherein include computer usable program code computer The computer program production implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of product.
The present invention be with reference to according to the method for the embodiment of the present invention, the flow of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that can be realized by computer program instructions every first-class in flowchart and/or the block diagram The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided Instruct the processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine so that the instruction executed by computer or the processor of other programmable data processing devices is generated for real The device for the function of being specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that instruction generation stored in the computer readable memory includes referring to Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device so that count Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, in computer or The instruction executed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, those skilled in the art can carry out the embodiment of the present invention various modification and variations without departing from this hair The spirit and scope of bright embodiment.In this way, if these modifications and variations of the embodiment of the present invention belong to the claims in the present invention And its within the scope of equivalent technologies, then the present invention is also intended to include these modifications and variations.

Claims (15)

1. a kind of test method of bluetooth equipment, which is characterized in that including:
Bluetooth equipment to be measured obtains preset test configurations information;
Bluetooth equipment to be measured reads the identification information of bluetooth test equipment from the test configurations information obtained, and is based on the mark Know information and uses back even mode and the foundation connection of corresponding bluetooth test equipment;
Bluetooth equipment triggering bluetooth test equipment to be measured carries out Bluetooth function test to bluetooth equipment to be measured itself;
Wherein, bluetooth equipment to be measured obtains preset test configurations information, including:
When test is to external storage medium, preset test code and test script are read from the storage medium;Wherein, The test code executes test program for parsing test script;The test script is for describing testing procedure and survey All kinds of test parameters used are needed during examination.
2. the method as described in claim 1, which is characterized in that further comprise:
Bluetooth equipment to be measured detects the external storage medium, obtains the latest edition according to practical application request real-time update Test code and test script.
3. the method as described in claim 1, which is characterized in that bluetooth equipment to be measured is read from the test configurations information obtained The identification information of bluetooth test equipment, and use back the mode of company to be established with corresponding bluetooth test equipment based on the identification information Connection, including:
The address of bluetooth test equipment, the device name of bluetooth test equipment are read from the test configurations information obtained;
According to the corresponding bluetooth test equipment of the information scanning read, and the mode of company is used back to be built with the bluetooth test equipment Vertical bluetooth connection.
4. method as described in any one of claims 1-3, which is characterized in that bluetooth equipment to be measured triggers bluetooth test equipment Bluetooth function test is carried out to bluetooth equipment to be measured itself, including:
The bluetooth test equipment is bluetooth transmitter, the bluetooth equipment to be measured trigger the bluetooth transmitter to this equipment into Row Bluetooth pairing connecting test and/or application function test.
5. method as described in any one of claims 1-3, which is characterized in that obtain preset survey in bluetooth equipment to be tested After trying configuration information, before reading the identification information, alternatively, after completing the Bluetooth function test, further Including:
Bluetooth equipment to be measured triggers bluetooth comprehensive test instrument according to test configurations information and carries out RF index to the bluetooth equipment to be measured Test.
6. method as described in any one of claims 1-3, which is characterized in that obtain preset survey in bluetooth equipment to be tested After trying configuration information, before reading the identification information, alternatively, after completing the Bluetooth function test, further Including:
Bluetooth equipment to be measured carries out non-Bluetooth function test according to test configurations information, specifically includes:Universal input/output interface GPIO tests, general-purpose serial bus USB interface testing, secure digital card/multimedia card SD/MMC interface testings, microphone access One kind in MIC channel tests, voice-frequency channel LINEIN channel tests, radio module access FM channel tests Or multiple combinations.
7. a kind of device of bluetooth equipment test, which is characterized in that including:
Acquiring unit, for obtaining preset test configurations information;
Processing unit, the identification information for reading bluetooth test equipment from the test configurations information obtained, and based on described Identification information uses back even mode and the foundation connection of corresponding bluetooth test equipment;
Test cell carries out Bluetooth function test for triggering bluetooth test equipment to bluetooth equipment to be measured;
Wherein, when obtaining preset test configurations information, acquiring unit is specifically used for:
When test is to external storage medium, preset test code and test script are read from the storage medium;Wherein, The test code executes test program, the test script is for describing testing procedure and survey for parsing test script All kinds of test parameters used are needed during examination.
8. device as claimed in claim 7, which is characterized in that the acquiring unit is specifically used for:
Detect the external storage medium, obtain according to the test code of the latest edition of practical application request real-time update and Test script.
9. device as claimed in claim 7, which is characterized in that read bluetooth test equipment from the test configurations information obtained Identification information, it is described and when using back that even mode and corresponding bluetooth test equipment establish connection based on the identification information Processing unit is specifically used for:
The address of bluetooth test equipment, the device name of bluetooth test equipment are read from the test configurations information obtained;
According to the corresponding bluetooth test equipment of the information scanning read, and the mode of company is used back to be built with the bluetooth test equipment Vertical bluetooth connection.
10. such as claim 7-9 any one of them devices, which is characterized in that triggering bluetooth test equipment sets bluetooth to be measured When standby progress Bluetooth function test, the test cell is specifically used for:
The bluetooth test equipment is bluetooth transmitter, the bluetooth equipment to be measured trigger the bluetooth transmitter to this equipment into Row Bluetooth pairing connecting test and/or application test.
11. such as claim 7-9 any one of them devices, which is characterized in that obtain preset test configurations in acquiring unit After information, before processing unit reads the identification information, alternatively, completing the Bluetooth function in test cell tests it Afterwards, the test cell is further used for:
Bluetooth comprehensive test instrument, which is triggered, according to test configurations information carries out RF index test.
12. such as claim 7-9 any one of them devices, which is characterized in that obtain preset test configurations in acquiring unit After information, before processing unit reads the identification information, alternatively, completing the Bluetooth function in test cell tests it Afterwards, the test cell is further used for:
Non- Bluetooth function test is carried out according to test configurations information, is specifically included:Universal input/output interface GPIO tests leads to With serial bus USB interface testing, secure digital card/multimedia card SD/MMC interface testings, microphone access MIC channel One or more combinations in test, voice-frequency channel LINEIN channel tests, radio module access FM channel tests.
13. a kind of system of bluetooth equipment test, which is characterized in that set including at least one set of bluetooth equipment to be measured and bluetooth test It is standby, wherein
Bluetooth equipment to be measured, for obtaining preset test configurations information, and the reading indigo plant from the test configurations information obtained The identification information of tooth test equipment, and even mode and corresponding bluetooth test equipment foundation company are used back based on the identification information It connects;
Bluetooth test equipment is used for the triggering based on bluetooth equipment to be measured, and Bluetooth function test is carried out to bluetooth equipment to be measured;
Storage medium, for storing test configurations information, the test configurations information includes test code and test script;
Wherein, bluetooth equipment to be measured obtains preset test configurations information, including:
Bluetooth equipment to be measured reads preset test code and survey when test is to external storage medium from the storage medium Training sheet;Wherein, the test code executes test program for parsing test script;The test script is surveyed for describing Try needs all kinds of test parameters used suddenly and in test process.
14. system as claimed in claim 13, which is characterized in that further comprise:
Bluetooth comprehensive test instrument is used for the triggering based on bluetooth equipment to be measured, and radio-frequency enabled test is carried out to bluetooth equipment to be measured.
15. system according to claim 13 or 14, which is characterized in that further comprise:
Equipment, including LED light and/or PC equipment are shown, for feeding back detailed test result.
CN201410538699.7A 2014-10-13 2014-10-13 A kind of test method of bluetooth equipment, apparatus and system Active CN105577293B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410538699.7A CN105577293B (en) 2014-10-13 2014-10-13 A kind of test method of bluetooth equipment, apparatus and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410538699.7A CN105577293B (en) 2014-10-13 2014-10-13 A kind of test method of bluetooth equipment, apparatus and system

Publications (2)

Publication Number Publication Date
CN105577293A CN105577293A (en) 2016-05-11
CN105577293B true CN105577293B (en) 2018-10-30

Family

ID=55887036

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410538699.7A Active CN105577293B (en) 2014-10-13 2014-10-13 A kind of test method of bluetooth equipment, apparatus and system

Country Status (1)

Country Link
CN (1) CN105577293B (en)

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106533578A (en) * 2016-11-16 2017-03-22 上海移为通信技术股份有限公司 Adaptive Bluetooth test system and method
CN108124232B (en) * 2016-11-29 2021-01-26 深圳市三诺数字科技有限公司 Sound testing system and testing method
CN108923819B (en) 2017-04-24 2020-04-21 广东虚拟现实科技有限公司 Communication connection method, equipment and system
CN107135124B (en) * 2017-05-12 2020-10-27 上海动联信息技术股份有限公司 Method and system for multi-Bluetooth communication parallel test
CN107231253B (en) * 2017-05-23 2021-06-15 捷开通讯(深圳)有限公司 Detection method and detection device for radio frequency parameters of terminal, and storage device
CN108495323B (en) * 2018-03-13 2019-09-27 华中科技大学 A kind of Bluetooth label detector with a variety of detection patterns
CN108882289A (en) * 2018-06-28 2018-11-23 深圳芯之联科技有限公司 A kind of method and device for bluetooth throughput performance production line test
CN109036462A (en) * 2018-08-31 2018-12-18 上海与德通讯技术有限公司 The test macro and method of Bluetooth bracket
CN112889096B (en) * 2018-12-07 2022-05-24 华为技术有限公司 Method for dynamically adjusting AVRCP version and terminal equipment
CN109921866B (en) * 2019-03-22 2021-11-09 广东顺德智勤科技有限公司 Pairing-free test system, method, test equipment and wireless receiver
CN110602672B (en) * 2019-07-29 2021-10-08 深圳市万普拉斯科技有限公司 Bluetooth device reconnection method, device, terminal and computer readable storage medium
TWI721716B (en) * 2019-12-17 2021-03-11 英業達股份有限公司 Method, system, readable media and device for self-adjusting settings of stress test
CN111313984B (en) * 2020-02-19 2022-02-18 北京瑞森新谱科技股份有限公司 Testing device and method for various audio codes of Bluetooth headset
CN111918259A (en) * 2020-06-30 2020-11-10 厦门汉印电子技术有限公司 Batch test method, medium and system for Bluetooth modules of printer
CN115315025A (en) * 2021-05-08 2022-11-08 广州视源电子科技股份有限公司 Equipment connection method, device, equipment and storage medium
CN114553328B (en) * 2022-02-22 2023-10-20 深圳市冠旭电子股份有限公司 Bluetooth device testing method and device, electronic device and storage medium
CN116405968B (en) * 2023-06-07 2023-08-29 深圳市百泰实业股份有限公司 Bluetooth test system with programmable user
CN116846788B (en) * 2023-09-01 2023-11-17 天津华来科技股份有限公司 Equipment reconnection automatic test method based on intelligent socket and router

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006116120A2 (en) * 2005-04-21 2006-11-02 Qualcomm Incorporated Methods and apparatus for determining aspects of multimedia performance of a wireless device
CN102026263A (en) * 2010-12-09 2011-04-20 苏州捷泰科信息技术有限公司 Wireless communication network connection method
CN103546203A (en) * 2013-09-30 2014-01-29 小米科技有限责任公司 Near field communication label script providing and acquiring methods and device, mobile terminal and server
CN104090185A (en) * 2014-06-30 2014-10-08 深圳市英威腾电气股份有限公司 Testing system and method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006116120A2 (en) * 2005-04-21 2006-11-02 Qualcomm Incorporated Methods and apparatus for determining aspects of multimedia performance of a wireless device
CN102026263A (en) * 2010-12-09 2011-04-20 苏州捷泰科信息技术有限公司 Wireless communication network connection method
CN103546203A (en) * 2013-09-30 2014-01-29 小米科技有限责任公司 Near field communication label script providing and acquiring methods and device, mobile terminal and server
CN104090185A (en) * 2014-06-30 2014-10-08 深圳市英威腾电气股份有限公司 Testing system and method

Also Published As

Publication number Publication date
CN105577293A (en) 2016-05-11

Similar Documents

Publication Publication Date Title
CN105577293B (en) A kind of test method of bluetooth equipment, apparatus and system
JP7451733B2 (en) Beam directing methods, devices, equipment and media
CN109417717A (en) Measuring configuration method, apparatus, equipment, system and storage medium
US10298461B2 (en) System and method for determining a master device in a neighborhood aware network
US20140080423A1 (en) Signal testing system of a handheld device and a signal testing method thereof
US20150055492A1 (en) System and method for selecting a wi-fi access point for position determnation
CN108184201A (en) audio testing method, audio test system
CN106504770A (en) The test system and method for testing of speech quality, test device
CN104811524B (en) A kind of terminal radio frequency performance test methods and its device
CN106533578A (en) Adaptive Bluetooth test system and method
CN108055092A (en) Bluetooth signal method of adjustment, device, test terminal, system and readable medium
CN110611876B (en) Indoor asset management method, device and system
CN105872980B (en) A kind of method and device scanning wireless network signal
CN106776301B (en) Subelement testing method and device
US20160021524A1 (en) Method for searching for a device and terminal device
CN108234034A (en) Bluetooth signal method of adjustment, device, test terminal, system and readable medium
US9838884B2 (en) Radio wave status indicating apparatus, communication apparatus and computer-readable medium
CN107018223A (en) One kind is used for mobile phone radio frequency signal testing method and system
CN106375031B (en) The detection method and mobile terminal of radio-frequency channel
CN105577301B (en) A kind of test method and detection terminal
US10492013B2 (en) Testing of vehicle system module using audio recognition
TW201419776A (en) Signal detection method for communication apparatus and signal detection system
CN113766406B (en) Earphone testing method, system and device
CN206481311U (en) A kind of adaptive Bluetooth test system
CN106341436B (en) Method and device for detecting acceleration effect

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 519085 High-tech Zone, Tangjiawan Town, Zhuhai City, Guangdong Province

Patentee after: ACTIONS TECHNOLOGY Co.,Ltd.

Address before: 519085 High-tech Zone, Tangjiawan Town, Zhuhai City, Guangdong Province

Patentee before: ACTIONS (ZHUHAI) TECHNOLOGY Co.,Ltd.