CN106851678A - Blue tooth productses method of testing and device - Google Patents
Blue tooth productses method of testing and device Download PDFInfo
- Publication number
- CN106851678A CN106851678A CN201710082563.3A CN201710082563A CN106851678A CN 106851678 A CN106851678 A CN 106851678A CN 201710082563 A CN201710082563 A CN 201710082563A CN 106851678 A CN106851678 A CN 106851678A
- Authority
- CN
- China
- Prior art keywords
- blue tooth
- test
- tooth productses
- productses
- tested
- 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
Links
- 238000010998 test method Methods 0.000 title claims abstract description 23
- 238000012360 testing method Methods 0.000 claims abstract description 336
- 230000005540 biological transmission Effects 0.000 claims abstract description 10
- 230000001960 triggered effect Effects 0.000 claims description 3
- 238000000034 method Methods 0.000 claims 1
- 239000000047 product Substances 0.000 description 15
- 238000001514 detection method Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 6
- 239000004744 fabric Substances 0.000 description 5
- 238000002360 preparation method Methods 0.000 description 4
- 241001062009 Indigofera Species 0.000 description 3
- 239000006227 byproduct Substances 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000012423 maintenance Methods 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 238000004806 packaging method and process Methods 0.000 description 2
- 238000003860 storage Methods 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000011990 functional testing Methods 0.000 description 1
- 238000012956 testing procedure Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B5/00—Near-field transmission systems, e.g. inductive or capacitive transmission systems
- H04B5/40—Near-field transmission systems, e.g. inductive or capacitive transmission systems characterised by components specially adapted for near-field transmission
- H04B5/48—Transceivers
-
- 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 kind of blue tooth productses method of testing, the blue tooth productses method of testing is comprised the following steps:When blue tooth productses are contacted with test board, the test board is set up with the blue tooth productses and is connected;When the test for receiving test terminal transmission is instructed, handshake request is sent to the blue tooth productses;When receive the blue tooth productses be based on the handshake request feedback shake hands successful information when, according to it is described test instruction traversal perform configuration file in tested entries the blue tooth productses are tested.The invention also discloses a kind of blue tooth productses test device.The present invention can improve the testing efficiency of blue tooth productses, reduce personnel's input, reduce cost of labor.
Description
Technical field
The present invention relates to the testing field of blue tooth productses, more particularly to a kind of blue tooth productses method of testing and device.
Background technology
Factory can carry out functional test, to detect blue tooth productses when blue tooth productses are produced to the blue tooth productses for producing
Software function it is whether intact.At present, the traditional test mode of blue tooth productses is mainly:Tester is in test computer or test
The display interface of box clicks on bluetooth discovery, and blue tooth productses are carried out pairing and be connected with test computer or testing cassete, after successful matching,
Need the tester of factory to be operated on test computer or testing cassete, blue tooth productses are tested.
But traditional test mode can only test a blue tooth productses every time, testing efficiency is relatively low, it is necessary to put into more
Tester, and tested entries it is more when, tester needs multi-pass operation to test computer or testing cassete could complete test.Cause
This, traditional blue tooth productses test mode has that complex operation, testing efficiency are relatively low and human cost is higher.
The content of the invention
It is a primary object of the present invention to propose a kind of blue tooth productses method of testing and device, it is intended to solve blue tooth productses survey
Examination complex operation, the technical problem that testing efficiency is relatively low and human cost is higher.
To achieve the above object, a kind of blue tooth productses method of testing that the present invention is provided, the blue tooth productses method of testing
Comprise the following steps:
When blue tooth productses are contacted with test board, the test board is set up with the blue tooth productses and is connected;
When the test for receiving test terminal transmission is instructed, handshake request is sent to the blue tooth productses;
When receive the blue tooth productses be based on the handshake request feedback shake hands successful information when, according to the test
The tested entries that instruction traversal is performed in configuration file are tested the blue tooth productses.
Alternatively, it is described the blue tooth productses are tested according to the test instruction traversal execution default tested entries
The step of include:
Traversal obtains the tested entries in configuration file;
Corresponding test request is triggered according to the tested entries, and the test request is sent to bluetooth product
Product, wherein, the blue tooth productses perform corresponding operation according to the test request, and feed back Boolean to the test board;
Receive the Boolean that the blue tooth productses are based on test request feedback;
Judge whether the tested entries have completed according to the Boolean;
If the tested entries have been completed, continue to travel through the tested entries obtained in configuration file.
Alternatively, it is described to be judged also to include after the whether completed step of the tested entries according to the Boolean:
If the tested entries are not completed, record does not complete the tested entries of test;
The tested entries and the unfinished prompt message of the tested entries are sent to test terminal.
Alternatively, the blue tooth productses include the blue tooth productses and the blue tooth productses without NFC chip of built-in NFC chip.
Alternatively, the tested entries in the test instruction traversal execution configuration file are to the blue tooth productses
After the step of being tested, the blue tooth productses method of testing also includes:
When the tested entries in the configuration file are completed, software reset instruction is sent to the blue tooth productses, its
In, the blue tooth productses carry out software reset, and automatic shutdown according to the software reset instruction.
Additionally, to achieve the above object, the present invention also provides a kind of blue tooth productses test device, the blue tooth productses test
Device includes:
Link block is set up, for when blue tooth productses are contacted with test board, the test board to be built with the blue tooth productses
Vertical connection;
First sending module, during for being instructed in the test for receiving test terminal transmission, sends to the blue tooth productses
Handshake request;
Traversal test module, successfully believe for that ought receive the blue tooth productses based on being shaken hands for handshake request feedback
During breath, the tested entries in configuration file are performed according to the test instruction traversal blue tooth productses are tested.
Alternatively, the traversal test module includes:
Traversal acquiring unit, for obtaining the tested entries in configuration file;
First transmitting element, for triggering corresponding test request according to the tested entries, and by the test request
Send to the blue tooth productses, wherein, the blue tooth productses perform corresponding operation according to the test request, and to the survey
Test plate (panel) feeds back Boolean;
Receiving unit, the Boolean of test request feedback is based on for receiving the blue tooth productses;
Judging unit, for judging whether the tested entries have completed according to the Boolean;
The traversal acquiring unit, if be additionally operable to the tested entries having completed, continuation is traveled through in acquisition configuration file
Tested entries.
Alternatively, the traversal test module also includes:
Recording unit, if not completed for the tested entries, record does not complete the tested entries of test;
Second transmitting element, for the tested entries and the unfinished prompt message of the tested entries to be sent to survey
Examination terminal.
Alternatively, the blue tooth productses include the blue tooth productses and the blue tooth productses without NFC chip of built-in NFC chip.
Alternatively, the blue tooth productses test device also includes:
Second sending module, for when the tested entries in the configuration file are completed, being sent out to the blue tooth productses
Software reset instruction is sent, wherein, the blue tooth productses carry out software reset, and automatic shutdown according to the software reset instruction.
The present invention when blue tooth productses are contacted with test board, with the test board set up and be connected by the blue tooth productses, and is receiving
When the test sent to test terminal is instructed, the test board sends handshake request to the blue tooth productses, then when receiving the indigo plant
Tooth product be based on the handshake request feedback shake hands successful information when, according to the test instruction traversal perform configuration file in survey
Strip mesh is tested the blue tooth productses, due to storing blue tooth productses in built-in NFC chip in blue tooth productses or NFC plates
MAC Address so that blue tooth productses can quickly be set up with test board and be connected, and pre-loaded configuration file, tester in test board
Member only needs shirtsleeve operation, so that it may which the tested entries for making test board travel through automatically in configuration file are tested blue tooth productses,
Can effectively reduce the number of operations of tester, improve testing efficiency, so as to reduce the input of tester, reduce it is artificial into
This.
Brief description of the drawings
Fig. 1 is the schematic flow sheet of blue tooth productses method of testing first embodiment of the present invention;
Fig. 2 is to perform default tested entries according to the test instruction traversal described in Fig. 1 to survey the blue tooth productses
The rapid refinement schematic flow sheet of try;
Fig. 3 is to perform default tested entries to described according to the test instruction traversal described in second embodiment of the invention
Blue tooth productses carry out the another refinement schematic flow sheet of testing procedure;
Fig. 4 is the schematic flow sheet of blue tooth productses method of testing 3rd embodiment of the present invention;
Fig. 5 is the high-level schematic functional block diagram of blue tooth productses test device first embodiment of the present invention;
Fig. 6 is a refinement high-level schematic functional block diagram of traversal test module described in Fig. 5;
Fig. 7 is the another refinement high-level schematic functional block diagram of traversal test module described in second embodiment in the present invention;
Fig. 8 is the high-level schematic functional block diagram of blue tooth productses test device 3rd embodiment of the present invention.
The realization of the object of the invention, functional characteristics and advantage will be described further referring to the drawings in conjunction with the embodiments.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The present invention provides a kind of blue tooth productses method of testing.
Reference picture 1, Fig. 1 is the schematic flow sheet of blue tooth productses method of testing first embodiment of the present invention.
In the present embodiment, the blue tooth productses method of testing includes:
Step S10, when blue tooth productses are contacted with test board, the test board is set up with the blue tooth productses and is connected;
The blue tooth productses include the blue tooth productses and the blue tooth productses without NFC chip of built-in NFC chip, in the NFC chip
Be stored with the MAC Address of blue tooth productses.When the blue tooth productses of test are the blue tooth productses without NFC chip, in test without NFC cores
Before the blue tooth productses of piece, the MAC Address in the blue tooth productses without NFC chip can be shifted to an earlier date burning and stored in NFC plates.Should
Blue tooth productses are including bluetooth earphone, bluetooth power supply and Bluetooth audio device etc..NFC module is installed in the test board, the test board can
Set up with blue tooth productses by NFC module and be connected.The test board both can be by being connected through a wired connection with test terminal, it is also possible to
By being wirelessly attached, the test terminal includes computer and notebook computer.
Produce the blue tooth productses for completing and test link is entered by product production line, tester opens bluetooth to be tested
Product, the blue tooth productses enter factory mode, and now test board is also at factory mode, after the test board enters factory mode,
Loading configuration file, then tester is by the NFC plates of blue tooth productses to be tested or storage blue tooth productses MAC Address and test
Plate is contacted so that the blue tooth productses are set up with the test board by NFC chip or NFC plates and are connected.Blue tooth productses to be tested
After test board successful connection, by SPP, (Standara Parallel Port, standard is simultaneously with the blue tooth productses for the test board
Line interface), agreement carries out data interaction.The blue tooth productses and the test board are parsed and packed by a set of general communications protocol
Test instruction.
In specific implementation, when built-in NFC chip in blue tooth productses, test zone can be in the factory set, the test
Test board is installed in region, and the platform for placing blue tooth productses to be measured is provided with the side of test board, and the platform can be rolled
It is dynamic, when test blue tooth productses are needed, blue tooth productses to be measured can be placed or are sent on the platform so that indigo plant to be tested
Tooth product can be set up with test board by built-in NFC chip and is connected, and after the completion of test, will complete the blue tooth productses of test
Next link is sent to, such as packaging link, and when test is to underproof blue tooth productses, underproof blue tooth productses can be passed
Deliver to substandard product intensively.
In another specific implementation, when not built-in NFC chip in blue tooth productses, NFC can be installed in the test platform
Plate, can in the NFC plates burning blue tooth productses to be tested MAC Address, the test board is contacted by with NFC plates, so as to obtain
The MAC Address of blue tooth productses to be tested so that the test board can be set up with trial product to be measured and be connected.The test board may be provided at
The side of blue tooth productses streamline, it is also possible to be arranged on other positions, in the present invention, is not construed as limiting.
Step S20, when the test for receiving test terminal transmission is instructed, handshake request is sent to the blue tooth productses;
Shown in the test terminal display test interface, and the test interface and start to test control, tester passes through
Mouse or keyboard move a cursor to start to test control, press mouse or enter key, so as to trigger test instruction, now test eventually
End sends to test board test instruction, and test board is sent out when test instruction is received to blue tooth productses to be tested
Handshake request is sent, the handshake request includes test instruction, and blue tooth productses to be tested receive test instruction, and are sent to test board
Response message, while sending preparation starts test instruction, and test board receives response message and the preparation of blue tooth productses to be tested
When starting test instruction, being sent to blue tooth productses to be tested can between response message, i.e. test board and blue tooth productses to be tested
Mutual response, that is to say, that test board is shaken hands successfully with blue tooth productses to be tested.
Step S30, when receive the blue tooth productses be based on the handshake request feedback shake hands successful information when, according to
The tested entries that the test instruction traversal is performed in configuration file are tested the blue tooth productses.
After the test board enters factory mode, loading configuration file, the configuration file includes tested entries, the test-strips
Mesh can include checking that music is played in software version number, detection battery electric quantity, volume adjusting (tune up or turn down), beginning or pause
With call.When the test board receives the successful information of shaking hands that blue tooth productses to be tested are based on handshake request feedback
When, can determine that the test board is shaken hands successfully with trial product to be measured, now the test board performs configuration according to test instruction traversal
Tested entries in file are tested blue tooth productses to be tested.
Specifically, reference picture 2, Fig. 2 is a refinement schematic flow sheet of step S30 described in Fig. 1, the step S30 bags
Include:
Step S31, traversal obtains the tested entries in configuration file;
Step S32, corresponding test request is triggered according to the tested entries, and the test request is sent to described
Blue tooth productses, wherein, the blue tooth productses perform corresponding operation according to the test request, and feed back cloth to the test board
Value of;
Step S33, receives the Boolean that the blue tooth productses are based on test request feedback;
Traversal obtains the tested entries in configuration file, for example, it is assumed that the trial product to be measured is bluetooth earphone, and the configuration
In file tested entries order for check software version number, detection battery electric quantity, volume adjusting (tune up or turn down), start or
Pause is played music and is called, then the tested entries that test board traversal is performed in configuration file are surveyed to blue tooth productses
The order of examination is:Check blue tooth productses software version number, detection blue tooth productses battery electric quantity, test volume adjusting function,
Function is called in test music playback function (start or music is played in pause), test.Then the test for being obtained according to traversal
Entry triggers corresponding test request, and the test request is sent to blue tooth productses, and the blue tooth productses are receiving the survey
During examination request, the test instruction in the test request performs corresponding operation, and obtains corresponding Boolean, and by the cloth
Value of is sent to test board, and the test board receives the Boolean that blue tooth productses are based on test request feedback.
Step S34, judges whether the tested entries have completed according to the Boolean;
Step S35, if the tested entries have been completed, continues to travel through tested entries in acquisition configuration file.
The test board judges that the Boolean is when Boolean of the blue tooth productses based on test request feedback is received
One, or zero, if the Boolean is one, judge that the tested entries have been completed, i.e., blue tooth productses complete the tested entries, if cloth
Value of is zero, then judge that the tested entries are not completed, i.e., blue tooth productses do not complete the tested entries, that is to say, that the tested entries
There is problem in the software function of corresponding blue tooth productses.The test board finds that the tested entries have been completed by judging, then continue
Traversal obtains the tested entries in configuration file, and blue tooth productses are tested.In specific implementation, the completion can be tested
The relevant information of tested entries is sent to test terminal so that test terminal preserves the tested entries for having completed test, can be complete
When portion completes test, test report is generated, be easy to tester to understand the reliability of the related software function of blue tooth productses.
In the present embodiment, the present invention when blue tooth productses are contacted with test board, with the test board set up by the blue tooth productses
Connection, and when the test for receiving test terminal transmission is instructed, the test board sends handshake request to the blue tooth productses, then
When receive the blue tooth productses be based on the handshake request feedback shake hands successful information when, according to the test instruction traversal execution match somebody with somebody
The tested entries put in file are tested the blue tooth productses, due to being stored in built-in NFC chip in blue tooth productses or NFC plates
The MAC Address of blue tooth productses so that blue tooth productses can quickly be set up with test board and be connected, and pre-loaded configuration text in test board
Part, tester only needs shirtsleeve operation, so that it may test board is traveled through the tested entries in configuration file automatically to blue tooth productses
Tested, can effectively be reduced the number of operations of tester, improved testing efficiency, so that the input of tester is reduced,
Reduce cost of labor.
Further, reference picture 3, based on above-mentioned first embodiment, blue tooth productses method of testing 3rd embodiment of the present invention
In, also include after the step S34:
Step S36, if the tested entries are not completed, records the unfinished tested entries;
Step S37, the tested entries and the unfinished prompt message of the tested entries are sent to test terminal.
The test board finds that the tested entries that traversal is obtained are not completed by judging, then record unfinished tested entries,
And send to test terminal the tested entries and the unfinished prompt message of tested entries, test terminal preserves the tested entries
With the prompt message, tester can quickly know unfinished tested entries by the prompt message, so as to know blue tooth productses
Corresponding software function goes wrong, and is easy to follow-up improvement and maintenance etc..
In the present embodiment, the present invention has found that the tested entries that traversal is obtained are not completed by judging, then record and do not complete
Tested entries, and the unfinished prompt message of the tested entries and tested entries is sent to test terminal, this programme test
Terminal preserves the prompt message and unfinished tested entries that test board sends, and is easy to tester quickly to consult and knows what is occurred
Problem.
Further, reference picture 4, based on above-mentioned first or second embodiments, blue tooth productses method of testing the 3rd of the present invention
In embodiment, after the step S30, the blue tooth productses method of testing also includes:
Step S40, when the tested entries in the configuration file are completed, software reset is sent to the blue tooth productses
Instruction, wherein, the blue tooth productses carry out software reset, and automatic shutdown according to the software reset instruction.
The test board performs the tested entries in configuration file and the blue tooth productses is carried out according to test instruction traversal
Test, and when the tested entries in configuration file test completion, software reset instruction, and the survey are sent to the blue tooth productses
Test plate (panel) exits factory mode, and the blue tooth productses are carried out soft when the software reset instruction is received according to the software reset instruction
Part resets, and automatic shutdown,
In the present embodiment, the present invention when loading configuration file in tested entries test completion when, test board to
Blue tooth productses send software reset instruction so that blue tooth productses can carry out software reset according to the software reset instruction, and certainly
Dynamic shutdown, this programme test board sends software reset instruction to blue tooth productses so that blue tooth productses can be according to the software reset
Instruction carries out software reset, and automatic shutdown, manually operated without tester, improves testing efficiency.
The present invention further provides a kind of blue tooth productses test device.
Reference picture 5, Fig. 5 is the high-level schematic functional block diagram of blue tooth productses test device first embodiment of the present invention.
In the present embodiment, the blue tooth productses test device includes:
Link block 10 is set up, for when blue tooth productses are contacted with test board, the test board and the blue tooth productses
Set up connection;
The blue tooth productses include the blue tooth productses and the blue tooth productses without NFC chip of built-in NFC chip, in the NFC chip
Be stored with the MAC Address of blue tooth productses.When the blue tooth productses of test are the blue tooth productses without NFC chip, in test without NFC cores
Before the blue tooth productses of piece, the MAC Address in the blue tooth productses without NFC chip can be shifted to an earlier date burning and stored in NFC plates.Should
Blue tooth productses are including bluetooth earphone, bluetooth power supply and Bluetooth audio device etc..NFC module is installed in the test board, the test board can
Set up with blue tooth productses by NFC module and be connected.The test board both can be by being connected through a wired connection with test terminal, it is also possible to
By being wirelessly attached, the test terminal includes computer and notebook computer.
Produce the blue tooth productses for completing and test link is entered by product production line, tester opens bluetooth to be tested
Product, the blue tooth productses enter factory mode, and now test board is also at factory mode, after the test board enters factory mode,
Loading configuration file, then tester is by the NFC plates of blue tooth productses to be tested or storage blue tooth productses MAC Address and test
Plate is contacted so that the blue tooth productses are set up with the test board by NFC chip or NFC plates and are connected.Blue tooth productses to be tested
After test board successful connection, by SPP, (Standara Parallel Port, standard is simultaneously with the blue tooth productses for the test board
Line interface), agreement carries out data interaction.The blue tooth productses and the test board are parsed and packed by a set of general communications protocol
Test instruction.
In specific implementation, when built-in NFC chip in blue tooth productses, test zone can be in the factory set, the test
Test board is installed in region, and the platform for placing blue tooth productses to be measured is provided with the side of test board, and the platform can be rolled
It is dynamic, when test blue tooth productses are needed, blue tooth productses to be measured can be placed or are sent on the platform so that indigo plant to be tested
Tooth product can be set up with test board by built-in NFC chip and is connected, and after the completion of test, will complete the blue tooth productses of test
Next link is sent to, such as packaging link, and when test is to underproof blue tooth productses, underproof blue tooth productses can be passed
Deliver to substandard product intensively.
In another specific implementation, when not built-in NFC chip in blue tooth productses, NFC can be installed in the test platform
Plate, can in the NFC plates burning blue tooth productses to be tested MAC Address, the test board is contacted by with NFC plates, so as to obtain
The MAC Address of blue tooth productses to be tested so that the test board can be set up with trial product to be measured and be connected.The test board may be provided at
The side of blue tooth productses streamline, it is also possible to be arranged on other positions, in the present invention, is not construed as limiting.
First sending module 20, during for being instructed in the test for receiving test terminal transmission, sends out to the blue tooth productses
Send handshake request;
Shown in the test terminal display test interface, and the test interface and start to test control, tester passes through
Mouse or keyboard move a cursor to start to test control, press mouse or enter key, so as to trigger test instruction, now test eventually
End sends to test board test instruction, and test board is sent out when test instruction is received to blue tooth productses to be tested
Handshake request is sent, the handshake request includes test instruction, and blue tooth productses to be tested receive test instruction, and are sent to test board
Response message, while sending preparation starts test instruction, and test board receives response message and the preparation of blue tooth productses to be tested
When starting test instruction, being sent to blue tooth productses to be tested can between response message, i.e. test board and blue tooth productses to be tested
Mutual response, that is to say, that test board is shaken hands successfully with blue tooth productses to be tested.
Traversal test module 30, the blue tooth productses shaking hands successfully based on handshake request feedback is received for working as
During information, the tested entries in configuration file are performed according to the test instruction traversal blue tooth productses are tested.
After the test board enters factory mode, loading configuration file, the configuration file includes tested entries, the test-strips
Mesh can include checking that music is played in software version number, detection battery electric quantity, volume adjusting (tune up or turn down), beginning or pause
With call.When the test board receives the successful information of shaking hands that blue tooth productses to be tested are based on handshake request feedback
When, can determine that the test board is shaken hands successfully with trial product to be measured, now the test board performs configuration according to test instruction traversal
Tested entries in file are tested blue tooth productses to be tested.
Specifically, reference picture 6, Fig. 6 is a refinement high-level schematic functional block diagram of traversal test module 30 described in Fig. 5, institute
Stating traversal test module 30 includes:
Traversal acquiring unit 31, for obtaining the tested entries in configuration file;
First transmitting element 32, for triggering corresponding test request according to the tested entries, and please by the test
Transmission is asked to the blue tooth productses, wherein, the blue tooth productses perform corresponding operation according to the test request, and to described
Test board feeds back Boolean;
Receiving unit 33, the Boolean of test request feedback is based on for receiving the blue tooth productses;
Traversal obtains the tested entries in configuration file, for example, it is assumed that the trial product to be measured is bluetooth earphone, and the configuration
In file tested entries order for check software version number, detection battery electric quantity, volume adjusting (tune up or turn down), start or
Pause is played music and is called, then the tested entries that test board traversal is performed in configuration file are surveyed to blue tooth productses
The order of examination is:Check blue tooth productses software version number, detection blue tooth productses battery electric quantity, test volume adjusting function,
Function is called in test music playback function (start or music is played in pause), test.Then the test for being obtained according to traversal
Entry triggers corresponding test request, and the test request is sent to blue tooth productses, and the blue tooth productses are receiving the survey
During examination request, the test instruction in the test request performs corresponding operation, and obtains corresponding Boolean, and by the cloth
Value of is sent to test board, and the test board receives the Boolean that blue tooth productses are based on test request feedback.
Judging unit 34, for judging whether the tested entries have completed according to the Boolean;
The traversal acquiring unit 31, if be additionally operable to the tested entries having completed, continues to travel through acquisition configuration file
In tested entries.
The test board judges that the Boolean is when Boolean of the blue tooth productses based on test request feedback is received
One, or zero, if the Boolean is one, judge that the tested entries have been completed, i.e., blue tooth productses complete the tested entries, if cloth
Value of is zero, then judge that the tested entries are not completed, i.e., blue tooth productses do not complete the tested entries, that is to say, that the tested entries
There is problem in the software function of corresponding blue tooth productses.The test board finds that the tested entries have been completed by judging, then continue
Traversal obtains the tested entries in configuration file, and blue tooth productses are tested.In specific implementation, the completion can be tested
The relevant information of tested entries is sent to test terminal so that test terminal preserves the tested entries for having completed test, can be complete
When portion completes test, test report is generated, be easy to tester to understand the reliability of the related software function of blue tooth productses.
In the present embodiment, the present invention when blue tooth productses are contacted with test board, with the test board set up by the blue tooth productses
Connection, and when the test for receiving test terminal transmission is instructed, the test board sends handshake request to the blue tooth productses, then
When receive the blue tooth productses be based on the handshake request feedback shake hands successful information when, according to the test instruction traversal execution match somebody with somebody
The tested entries put in file are tested the blue tooth productses, due to being stored in built-in NFC chip in blue tooth productses or NFC plates
The MAC Address of blue tooth productses so that blue tooth productses can quickly be set up with test board and be connected, and pre-loaded configuration text in test board
Part, tester only needs shirtsleeve operation, so that it may test board is traveled through the tested entries in configuration file automatically to blue tooth productses
Tested, can effectively be reduced the number of operations of tester, improved testing efficiency, so that the input of tester is reduced,
Reduce cost of labor.
Further, reference picture 7, based on above-mentioned first embodiment, blue tooth productses test device 3rd embodiment of the present invention
In, the traversal test module 30 also includes:
Recording unit 35, if not completed for the tested entries, record does not complete the tested entries of test;
Second transmitting element 36, for by the unfinished prompt message of the tested entries and the tested entries send to
Test terminal.
The test board finds that the tested entries that traversal is obtained are not completed by judging, then record unfinished tested entries,
And send to test terminal the tested entries and the unfinished prompt message of tested entries, test terminal preserves the tested entries
With the prompt message, tester can quickly know unfinished tested entries by the prompt message, so as to know blue tooth productses
Corresponding software function goes wrong, and is easy to follow-up improvement and maintenance etc..
In the present embodiment, the present invention has found that the tested entries that traversal is obtained are not completed by judging, then record and do not complete
Tested entries, and the unfinished prompt message of the tested entries and tested entries is sent to test terminal, this programme test
Terminal preserves the prompt message and unfinished tested entries that test board sends, and is easy to tester quickly to consult and knows what is occurred
Problem.
Further, reference picture 8, based on above-mentioned first or second embodiments, blue tooth productses test device the 3rd of the present invention
In embodiment, after the step S30, the blue tooth productses test device also includes:
Second sending module 40, for when the tested entries in the configuration file are completed, to the blue tooth productses
Software reset instruction is sent, wherein, the blue tooth productses carry out software reset according to the software reset instruction, and close automatically
Machine.
The test board performs the tested entries in configuration file and the blue tooth productses is carried out according to test instruction traversal
Test, and when the tested entries in configuration file test completion, software reset instruction, and the survey are sent to the blue tooth productses
Test plate (panel) exits factory mode, and the blue tooth productses are carried out soft when the software reset instruction is received according to the software reset instruction
Part resets, and automatic shutdown,
In the present embodiment, the present invention when loading configuration file in tested entries test completion when, test board to
Blue tooth productses send software reset instruction so that blue tooth productses can carry out software reset according to the software reset instruction, and certainly
Dynamic shutdown, this programme test board sends software reset instruction to blue tooth productses so that blue tooth productses can be according to the software reset
Instruction carries out software reset, and automatic shutdown, manually operated without tester, improves testing efficiency.
The preferred embodiments of the present invention are these are only, the scope of the claims of the invention is not thereby limited, it is every to utilize this hair
Equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skills
Art field, is included within the scope of the present invention.
Claims (10)
1. a kind of blue tooth productses method of testing, it is characterised in that the blue tooth productses method of testing is comprised the following steps:
When blue tooth productses are contacted with test board, the test board is set up with the blue tooth productses and is connected;
When the test for receiving test terminal transmission is instructed, handshake request is sent to the blue tooth productses;
When receive the blue tooth productses be based on the handshake request feedback shake hands successful information when, according to it is described test instruction
The tested entries that traversal is performed in configuration file are tested the blue tooth productses.
2. blue tooth productses method of testing as claimed in claim 1, it is characterised in that described to be held according to the test instruction traversal
The step of default tested entries of row are tested the blue tooth productses includes:
Traversal obtains the tested entries in configuration file;
Corresponding test request is triggered according to the tested entries, and the test request is sent to the blue tooth productses, its
In, the blue tooth productses perform corresponding operation according to the test request, and feed back Boolean to the test board;
Receive the Boolean that the blue tooth productses are based on test request feedback;
Judge whether the tested entries have completed according to the Boolean;
If the tested entries have been completed, continue to travel through tested entries in acquisition configuration file.
3. the blue tooth productses method of testing as described in right wants 2, it is characterised in that described that the survey is judged according to the Boolean
Also include after the whether completed step of strip mesh:
If the tested entries are not completed, record does not complete the tested entries of test;
The tested entries and the unfinished prompt message of the tested entries are sent to test terminal.
4. blue tooth productses method of testing as claimed in claim 1, it is characterised in that the blue tooth productses include built-in NFC cores
The blue tooth productses of piece and the blue tooth productses without NFC chip.
5. the blue tooth productses method of testing as any one of right wants 1-4, it is characterised in that described to be referred to according to the test
After the step of tested entries that order traversal is performed in configuration file are tested the blue tooth productses, the blue tooth productses are surveyed
Method for testing also includes:
When the tested entries in the configuration file are completed, software reset instruction is sent to the blue tooth productses, wherein, institute
State blue tooth productses carries out software reset, and automatic shutdown according to the software reset instruction.
6. a kind of blue tooth productses test device, it is characterised in that the blue tooth productses test device includes:
Link block is set up, for when blue tooth productses are contacted with test board, the test board to be set up with the blue tooth productses and connected
Connect;
First sending module, during for being instructed in the test for receiving test terminal transmission, sending to the blue tooth productses and shaking hands
Request;
Traversal test module, the successful information of shaking hands that the blue tooth productses are based on handshake request feedback is received for working as
When, the tested entries in configuration file are performed according to the test instruction traversal blue tooth productses are tested.
7. blue tooth productses test device as claimed in claim 6, it is characterised in that the traversal test module includes:
Traversal acquiring unit, for obtaining the tested entries in configuration file;
First transmitting element, for triggering corresponding test request according to the tested entries, and the test request is sent
To the blue tooth productses, wherein, the blue tooth productses perform corresponding operation according to the test request, and to the test board
Feedback Boolean;
Receiving unit, the Boolean of test request feedback is based on for receiving the blue tooth productses;
Judging unit, for judging whether the tested entries have completed according to the Boolean;
The traversal acquiring unit, if be additionally operable to the tested entries having completed, continues to travel through the survey obtained in configuration file
Strip mesh.
8. blue tooth productses test device as claimed in claim 7, it is characterised in that the traversal test module also includes:
Recording unit, if not completed for the tested entries, record does not complete the tested entries of test;
Second transmitting element, for the tested entries and the unfinished prompt message of the tested entries to be sent to test eventually
End.
9. blue tooth productses test device as claimed in claim 6, it is characterised in that the blue tooth productses include built-in NFC cores
The blue tooth productses of piece and the blue tooth productses without NFC chip.
10. the blue tooth productses test device as any one of claim 6-9, it is characterised in that the blue tooth productses are surveyed
Trial assembly is put also to be included:
Second sending module, for when the tested entries in the configuration file are completed, sending soft to the blue tooth productses
Part reset instruction, wherein, the blue tooth productses carry out software reset, and automatic shutdown according to the software reset instruction.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710082563.3A CN106851678A (en) | 2017-02-15 | 2017-02-15 | Blue tooth productses method of testing and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710082563.3A CN106851678A (en) | 2017-02-15 | 2017-02-15 | Blue tooth productses method of testing and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106851678A true CN106851678A (en) | 2017-06-13 |
Family
ID=59128761
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710082563.3A Pending CN106851678A (en) | 2017-02-15 | 2017-02-15 | Blue tooth productses method of testing and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106851678A (en) |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107909803A (en) * | 2017-11-08 | 2018-04-13 | 广东辰奕智能科技股份有限公司 | A kind of blue Tooth remote controller test and management system and method |
CN108829609A (en) * | 2018-07-27 | 2018-11-16 | 深圳智芯数据服务有限公司 | A kind of test method and system of blue tooth products |
CN109561169A (en) * | 2018-12-25 | 2019-04-02 | 连云港腾越电子科技有限公司 | A kind of detection system and application method of bluetooth water meter |
CN110232019A (en) * | 2019-05-20 | 2019-09-13 | 平安普惠企业管理有限公司 | Page test method and Related product |
CN110830971A (en) * | 2019-11-25 | 2020-02-21 | 航天科技控股集团股份有限公司 | Bluetooth function detection method of vehicle-mounted entertainment terminal |
CN111107528A (en) * | 2019-10-09 | 2020-05-05 | 珠海市杰理科技股份有限公司 | Bluetooth test method and test machine |
CN112180189A (en) * | 2020-09-09 | 2021-01-05 | 杭州涂鸦信息技术有限公司 | Automatic detection method, device and system based on multi-class intelligent module |
CN112839323A (en) * | 2020-12-31 | 2021-05-25 | Tcl通力电子(惠州)有限公司 | Bluetooth device testing method and device, terminal and computer readable storage medium |
CN113094277A (en) * | 2021-04-23 | 2021-07-09 | 广州粒子微电子有限公司 | Chip test case management method and device |
CN113726467A (en) * | 2021-07-29 | 2021-11-30 | 黎兴荣 | Electronic product data transmission method, system, storage medium and program product |
CN113886164A (en) * | 2021-11-08 | 2022-01-04 | 广东乐心医疗电子股份有限公司 | Bluetooth product testing method and device and electronic equipment |
CN114338460A (en) * | 2021-12-27 | 2022-04-12 | 广州由我科技股份有限公司 | Pairing test system and method for Bluetooth equipment |
CN115314867A (en) * | 2022-07-15 | 2022-11-08 | 深圳市大富智慧健康科技有限公司 | A detection equipment connection method, device, system and storage medium |
CN117098106A (en) * | 2023-10-18 | 2023-11-21 | 合肥联宝信息技术有限公司 | Bluetooth testing method and device, electronic equipment and storage medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2008069969A2 (en) * | 2006-12-01 | 2008-06-12 | Ecrio, Inc. | System, method and apparatus for communicating information from a personal electronic device |
CN104202105A (en) * | 2014-09-24 | 2014-12-10 | 福建联迪商用设备有限公司 | Bluetooth device testing method and system |
CN204721611U (en) * | 2015-06-19 | 2015-10-21 | 珠海市杰理科技有限公司 | The device of exchanges data is carried out with bluetooth equipment |
CN105162532A (en) * | 2015-09-28 | 2015-12-16 | 中山市天键电声有限公司 | A PC-side bluetooth testing method |
CN105790801A (en) * | 2016-03-11 | 2016-07-20 | 青岛海信电器股份有限公司 | Pairing testing method and testing apparatus for electronic equipment and bluetooth equipment |
CN105848196A (en) * | 2016-05-04 | 2016-08-10 | 青岛歌尔声学科技有限公司 | NFC bluetooth adapter and bluetooth product test system and test method |
CN106294158A (en) * | 2016-08-11 | 2017-01-04 | 北京小米移动软件有限公司 | Terminal test method, Apparatus and system |
CN106375947A (en) * | 2016-11-21 | 2017-02-01 | 深圳市丰禾原电子科技有限公司 | Test system for Bluetooth function test and NFC information reading-writing |
-
2017
- 2017-02-15 CN CN201710082563.3A patent/CN106851678A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2008069969A2 (en) * | 2006-12-01 | 2008-06-12 | Ecrio, Inc. | System, method and apparatus for communicating information from a personal electronic device |
CN104202105A (en) * | 2014-09-24 | 2014-12-10 | 福建联迪商用设备有限公司 | Bluetooth device testing method and system |
CN204721611U (en) * | 2015-06-19 | 2015-10-21 | 珠海市杰理科技有限公司 | The device of exchanges data is carried out with bluetooth equipment |
CN105162532A (en) * | 2015-09-28 | 2015-12-16 | 中山市天键电声有限公司 | A PC-side bluetooth testing method |
CN105790801A (en) * | 2016-03-11 | 2016-07-20 | 青岛海信电器股份有限公司 | Pairing testing method and testing apparatus for electronic equipment and bluetooth equipment |
CN105848196A (en) * | 2016-05-04 | 2016-08-10 | 青岛歌尔声学科技有限公司 | NFC bluetooth adapter and bluetooth product test system and test method |
CN106294158A (en) * | 2016-08-11 | 2017-01-04 | 北京小米移动软件有限公司 | Terminal test method, Apparatus and system |
CN106375947A (en) * | 2016-11-21 | 2017-02-01 | 深圳市丰禾原电子科技有限公司 | Test system for Bluetooth function test and NFC information reading-writing |
Cited By (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107909803A (en) * | 2017-11-08 | 2018-04-13 | 广东辰奕智能科技股份有限公司 | A kind of blue Tooth remote controller test and management system and method |
CN108829609A (en) * | 2018-07-27 | 2018-11-16 | 深圳智芯数据服务有限公司 | A kind of test method and system of blue tooth products |
CN109561169B (en) * | 2018-12-25 | 2022-01-04 | 连云港腾越电子科技有限公司 | Detection system of Bluetooth water meter and use method |
CN109561169A (en) * | 2018-12-25 | 2019-04-02 | 连云港腾越电子科技有限公司 | A kind of detection system and application method of bluetooth water meter |
CN110232019A (en) * | 2019-05-20 | 2019-09-13 | 平安普惠企业管理有限公司 | Page test method and Related product |
CN111107528A (en) * | 2019-10-09 | 2020-05-05 | 珠海市杰理科技股份有限公司 | Bluetooth test method and test machine |
CN111107528B (en) * | 2019-10-09 | 2023-05-02 | 珠海市杰理科技股份有限公司 | Bluetooth testing method and testing machine |
CN110830971A (en) * | 2019-11-25 | 2020-02-21 | 航天科技控股集团股份有限公司 | Bluetooth function detection method of vehicle-mounted entertainment terminal |
CN112180189A (en) * | 2020-09-09 | 2021-01-05 | 杭州涂鸦信息技术有限公司 | Automatic detection method, device and system based on multi-class intelligent module |
CN112839323A (en) * | 2020-12-31 | 2021-05-25 | Tcl通力电子(惠州)有限公司 | Bluetooth device testing method and device, terminal and computer readable storage medium |
CN113094277A (en) * | 2021-04-23 | 2021-07-09 | 广州粒子微电子有限公司 | Chip test case management method and device |
CN113726467A (en) * | 2021-07-29 | 2021-11-30 | 黎兴荣 | Electronic product data transmission method, system, storage medium and program product |
CN113886164A (en) * | 2021-11-08 | 2022-01-04 | 广东乐心医疗电子股份有限公司 | Bluetooth product testing method and device and electronic equipment |
CN114338460A (en) * | 2021-12-27 | 2022-04-12 | 广州由我科技股份有限公司 | Pairing test system and method for Bluetooth equipment |
CN115314867A (en) * | 2022-07-15 | 2022-11-08 | 深圳市大富智慧健康科技有限公司 | A detection equipment connection method, device, system and storage medium |
CN117098106A (en) * | 2023-10-18 | 2023-11-21 | 合肥联宝信息技术有限公司 | Bluetooth testing method and device, electronic equipment and storage medium |
CN117098106B (en) * | 2023-10-18 | 2023-12-29 | 合肥联宝信息技术有限公司 | Bluetooth testing method and device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106851678A (en) | Blue tooth productses method of testing and device | |
CN105320598B (en) | Method for testing software and device | |
US9075716B2 (en) | Remote issue logging and reporting of mobile station issues and diagnostic information to manufacturer | |
US7519864B2 (en) | Automation test systems | |
CN110324612B (en) | Television testing method, testing control terminal and television | |
CN105677571B (en) | Mobile terminal software device for testing compatibility and method | |
JP2004265417A (en) | Automatic diagnosis method and device and graphical user interface for automated diagnosis | |
CN112839323A (en) | Bluetooth device testing method and device, terminal and computer readable storage medium | |
CN101287266A (en) | Test system and method for mobile phone | |
CN101272422A (en) | Mobile phone automatized test method | |
CN104915297B (en) | A kind of automated testing method of the APP power consumption of android equipment | |
CN109345813A (en) | The matching method of playback equipment and blue Tooth remote controller, equipment and readable storage medium storing program for executing | |
CN104993961A (en) | Equipment control methods, devices and system | |
CN106874152A (en) | A kind of method for supporting electronic equipment self-inspection hardware performance | |
JP4489710B2 (en) | Equipment inspection equipment | |
CN109274807A (en) | Test method, apparatus and system | |
CN107561379A (en) | The method of testing and system of a kind of electronic product | |
CN112416676A (en) | A test tool applied to test chips | |
KR100892141B1 (en) | Automatic verification method of portable device and device | |
CN110895509B (en) | Test processing method and device, electronic equipment and storage medium | |
TWI791781B (en) | Monitoring device and method for software test | |
CN102761453B (en) | Method for testing availability of client and client | |
CN110198324B (en) | Data monitoring method and device, browser and terminal | |
CN114578790A (en) | Unmanned aerial vehicle flight control automatic test method, system, equipment and medium | |
CN108462614A (en) | Automatization test system |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170613 |
|
RJ01 | Rejection of invention patent application after publication |