CN107317638A - Method, terminal device and the computer-readable recording medium of bluetooth test - Google Patents

Method, terminal device and the computer-readable recording medium of bluetooth test Download PDF

Info

Publication number
CN107317638A
CN107317638A CN201710422943.7A CN201710422943A CN107317638A CN 107317638 A CN107317638 A CN 107317638A CN 201710422943 A CN201710422943 A CN 201710422943A CN 107317638 A CN107317638 A CN 107317638A
Authority
CN
China
Prior art keywords
instruction
host computer
computer
test
package
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710422943.7A
Other languages
Chinese (zh)
Inventor
李健
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
PAX Computer Technology Shenzhen Co Ltd
Original Assignee
PAX Computer Technology Shenzhen 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 PAX Computer Technology Shenzhen Co Ltd filed Critical PAX Computer Technology Shenzhen Co Ltd
Priority to CN201710422943.7A priority Critical patent/CN107317638A/en
Priority to PCT/CN2017/095856 priority patent/WO2018223513A1/en
Publication of CN107317638A publication Critical patent/CN107317638A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing

Landscapes

  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides method, terminal device and the computer-readable recording medium of a kind of bluetooth test, it is related to bluetooth technical field of measurement and test.This method includes:The instruction package with preset format that host computer is sent is received by default interaction protocol;Parse the instruction that instruction package is carried;Perform the instruction parsed;The implementing result of execute instruction is returned into host computer.Host computer carries out communication test by default interaction protocol to the instruction package that slave computer sends preset format in the embodiment of the present invention, and slave computer analysis instruction simultaneously performs the instruction, and the result of execute instruction is returned into host computer.The method of testing that existing host computer and the next pusher side are required to manually participate in instead of by above-mentioned automated testing method, the number of times of test can be increased and expand the scope of application of testing location, the testing efficiency of blue tooth productses is improved.

Description

Method, terminal device and the computer-readable recording medium of bluetooth test
Technical field
The invention belongs to method, terminal device and the calculating of bluetooth technical field of measurement and test, more particularly to a kind of test of bluetooth Machine readable storage medium storing program for executing.
Background technology
Bluetooth is a kind of wireless technology standard, be can be achieved short between fixing equipment, mobile device and building personal area network Range data is exchanged.The Bluetooth terminal of bluetooth need of work two and the above, and need two people's compounding practices to complete The processes such as pairing, the connection of bluetooth.Above-mentioned action is required for user to be operated by hand in actual test in.At present to indigo plant The test mode of tooth product is all to simulate the manual mode that actual user operates bluetooth.Manual test bluetooth module is in testing efficiency It is obvious not enough with existing in terms of test coverage compared to automatic test.
Above mentioned problem is urgently to be resolved hurrily.
The content of the invention
Exist for manual test bluetooth module compared to automatic test in terms of testing efficiency and test coverage bright Inadequate defect, the present invention provides a kind of method, terminal device and the computer-readable recording medium of bluetooth test.
The first aspect of the embodiment of the present invention provides a kind of method that bluetooth is tested, including:
The instruction package with preset format that host computer is sent is received by default interaction protocol;
Parse the instruction that instruction package is carried;
Perform the instruction parsed;
The implementing result of execute instruction is returned into host computer.
Further, by default interaction protocol receive host computer send the instruction package with preset format it Before, method also includes:
Monitor whether host computer sends the instruction package with preset format, if not hearing, keep monitoring, until connecing Receive the instruction package of host computer transmission.
Further, parse after the instruction that instruction package is carried, method also includes:
Judge whether the instruction parsed is correct, if incorrect, notify host computer to resend instruction package, until solution Separate out correct instruction.
Further, the method for test bluetooth also includes:
The process that communication interaction is carried out between host computer and slave computer is recorded by log interface.
Further, the method for test bluetooth also includes:
Realized mutually by the transmission instruction interface and instruction response interface of level of abstraction between slave computer and the host computer Communication.
The second aspect of the embodiment of the present invention provides the device that a kind of bluetooth is tested, including:
Receiving module, for receiving the envelope of the instruction with preset format that host computer is sent by default interaction protocol Bag;
Parsing module, for parsing the instruction that instruction package is carried;
Performing module, for performing the instruction parsed;
Module is returned to, for the implementing result of execute instruction to be returned into host computer.
Further, device also includes:
Module is monitored, for monitoring whether host computer sends the instruction package with preset format, if not hearing, is protected Monitoring is held, until receiving the instruction package of host computer transmission.
Further, device also includes:
Whether determination module, the instruction for judging to parse is correct, if incorrect, notifies host computer to resend finger Package is made, until parsing correct instruction.
The third aspect of the embodiment of the present invention provides the terminal device that a kind of bluetooth is tested, including memory, processor And storage is in memory and the computer program that can run on a processor, during computing device computer program realization with Lower step:
The instruction package with preset format that host computer is sent is received by default interaction protocol;
Parse the instruction that instruction package is carried;
Perform the instruction parsed;
The implementing result of execute instruction is returned into host computer.
The fourth aspect of the embodiment of the present invention provides the computer-readable recording medium that a kind of bluetooth is tested, and computer can Read storage medium to be stored with computer program, following steps are realized when computer program is executed by processor:
The instruction package with preset format that host computer is sent is received by default interaction protocol;
Parse the instruction that instruction package is carried;
Perform the instruction parsed;
The implementing result of execute instruction is returned into host computer.
The beneficial effect that the embodiment of the present invention exists compared with prior art is:Host computer passes through pre- in the embodiment of the present invention If interaction protocol to slave computer send preset format instruction package carry out communication test, slave computer analysis instruction simultaneously perform should Instruction, and the result of execute instruction is returned into host computer.By above-mentioned automated testing method instead of existing host computer and The next pusher side is required to the method for testing manually participated in, can increase the number of times of test and expand the applicable model of testing location Enclose, improve the testing efficiency of blue tooth productses.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art In required for the accompanying drawing that uses be briefly described, it should be apparent that, drawings in the following description are only some of the present invention Embodiment, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these Accompanying drawing obtains other accompanying drawings.
Fig. 1 is the implementation process schematic diagram of the method for bluetooth test provided in an embodiment of the present invention;
Fig. 2 is the schematic block diagram of the method for the bluetooth test that another embodiment of the present invention is provided;
Fig. 3 is the implementation process schematic diagram for the method that bluetooth test is realized in Fig. 2;
Fig. 4 is the connection diagram of the device of bluetooth test provided in an embodiment of the present invention;
Fig. 5 is the connection diagram of the device for the bluetooth test that another embodiment of the present invention is provided;
Fig. 6 is the schematic diagram of the terminal device of bluetooth test provided in an embodiment of the present invention.
Embodiment
In describing below, in order to illustrate rather than in order to limit, it is proposed that such as tool of particular system structure, technology etc Body details, thoroughly to understand the embodiment of the present invention.However, it will be clear to one skilled in the art that there is no these specific The present invention can also be realized in the other embodiments of details.In other situations, omit to well-known system, device, electricity Road and the detailed description of method, in case unnecessary details hinders description of the invention.
In order to illustrate technical scheme, illustrated below by specific embodiment.
Fig. 1 is the implementation process schematic diagram of the method for bluetooth test provided in an embodiment of the present invention;As shown in figure 1, this hair The executive agent of bright embodiment is slave computer, the method for bluetooth test provided in an embodiment of the present invention, can be included:
101st, the instruction package with preset format that host computer is sent is received by default interaction protocol;
Specifically, the two ends of this programme communication are respectively the host computer and the bluetooth module other end where bluetooth module one end The slave computer at place, the executive agent of this programme is in slave computer.The program run on host computer is height customization program, visually Specific testing requirement and purpose and different, such as POS (the Point Of Sale payments operated in where bluetooth module one end Terminal) or computer end etc., carry out interoperability test with the test product where the slave computer where the bluetooth module other end.Pass through The interaction protocol of interactive interface is set to host computer and slave computer, and the instruction package interface of the unified form of offer supplies host computer Call, completion is interacted with slave computer.Further, host computer realizes communication not it should be understood that using communications protocol details, Only need to provide the form for meeting the default instruction package interface of slave computer.Bluetooth command that host computer is supported with slave computer and right After being called as input parameter of the customized parameter answered, packaged instruction package is issued by interactive interface by slave computer, and The instruction response results for waiting slave computer to return.
Yet further, the present embodiment is refined to bluetooth concrete operations, the one-to-one shape for being packaged into order plus parameter Formula.Command calls and parameter transmission are initiated by host computer, are sent to always such as serial ports, USB, Ethernet by PORT COM Slave computer in listening state, slave computer, which is received, is judged order and is carried out correspondence Bluetooth operation after order.Up and down Position communications protocol using etc. stop protocol mode, it is simple and reliable.Slave computer has command-response mechanism, further increases communication Stability.
Further, the form of interaction protocol is as follows:
STX Type ID Length Data ETX LRC
The meaning of field in above table:
STX:Frame starts
Type:Frame type
Value Type Description
4 PROTOCOL_CMD_EXECUTE For transmitting instruction
0 PROTOCOL_ERRNO_OK Response instruction runs succeeded
1 PROTOCOL_ERRNO_SID Frame sequence is incorrect
2 PROTOCOL_ERRNO_TIMEOUT Slave computer receives instruction time-out
3 PROTOCOL_ERRNO_LRC Frame check mistake
ID:Frame sequence
Length Data:Field length
Data:Specific instruction and parameter information
ETX:Frame end
LRC:Check code
The data received by interaction protocol turn into instruction package for slave computer, and resolving inversely is carried out to instruction package After give instruction control module and be further processed, mainly complete corresponding Bluetooth operation.
Communication interface level of abstraction is primarily to shield the difference of different communication modes, such as serial ports, USB, Ethernet. The present embodiment call entry unified by providing, facilitates code migrating and reuse.The transmission provided at present is instructed and referred to Order responds two interfaces to meet actual use.This protocol layer only provides interface definition, then according to the reality of different communication modes Existing mode and dynamic binding is carried out according to the selection of user.
Instruct the form of package following (numeral represents the byte number taken):
The meaning of field in above table:
%:Crucial word separator
e:Command field is identified
d:Integer type parameter
c:Character types parameter
s:Character string type parameter
Wherein number of parameters is not limited, and parameter value meets TLV forms:
Type Length Value
(Length refers to the byte number of value fields)
Packaged instructs package by the data division as host computer and slave computer interaction protocol.
102nd, the instruction that instruction package is carried is parsed;
Specifically, the instruction that instruction package is carried almost enumerates the command function that all bluetooth modules should have.Under Whether the form in face lists the Bluetooth command of the present embodiment setting, normal for testing bluetooth module each command function.
103rd, the instruction parsed is performed;
104th, the implementing result of execute instruction is returned into host computer.
Specifically, the result of step 103 execute instruction is fed back to host computer by this step, for reporting test bluetooth module The situation of function operation, instead of the process for manually reporting test result.
It should be understood that the size of the sequence number of each step is not meant to the priority of execution sequence, each process in above-described embodiment Execution sequence should determine that the implementation process without tackling the embodiment of the present invention constitutes any limit with its function and internal logic It is fixed.
The method that the present embodiment is provided can be seen that in the present embodiment host computer by default interaction protocol to slave computer The instruction package for sending preset format carries out communication test, and slave computer analysis instruction simultaneously performs the instruction, and by execute instruction As a result host computer is returned to.Existing host computer instead of by above-mentioned automated testing method and the next pusher side is required to artificial ginseng With method of testing, can increase test number of times and expand testing location the scope of application, improve the survey of blue tooth productses Try efficiency.
Fig. 2 is the schematic block diagram of the method for the bluetooth test that another embodiment of the present invention is provided;Fig. 3 is realization in Fig. 2 The implementation process schematic diagram of the method for bluetooth test;As shown in Figures 2 and 3, the executive agent of the embodiment of the present invention is slave computer, , should before the instruction package with preset format for receiving host computer transmission in the embodiment of the present invention by default interaction protocol Method can also include:
201st, monitor whether host computer sends the instruction package with preset format, if not hearing, keep monitoring, directly To the instruction package for receiving host computer transmission.
Specifically, after the bluetooth test server where slave computer starts, acquiescence enters listening state, using the side of poll Formula waits host computer to send instruction package.Further, when slave computer receives instruction package, and parse instruction package and carry Instruction after, judge whether the instruction that parses correct, if incorrect, notify host computer to resend instruction package, directly To parsing correct instruction.Parsing to instruction includes:First data format is parsed, examined again in the case of form is correct Look into the instruction for whether supporting to carry, it is all correct in the case of instruction submitted to instruction control module carry out final bluetooth and grasp Make.Slave computer continues the pattern for recovering to monitor after the completion of said process, waits next instruction package to be received.
Relative to a upper embodiment, the method that the present embodiment is provided can be tested routinely Bluetooth commands, plus The speed of big test improves testing efficiency.
This method also provides another embodiment, and the method for test bluetooth can also include:Record upper by log interface The process of communication interaction is carried out between machine and slave computer.Further, the method for test bluetooth can also include:Slave computer and institute State between host computer and mutual communication is realized by the transmission instruction interface and instruction response interface of level of abstraction.By host computer and bottom Communication interface abstract between machine is primarily to shield the difference of different communication modes, such as serial ports, USB, Ethernet. Unified abstract call entry is provided, facilitates code migrating and reuse.The transmission instruction and instruction that the present embodiment is provided ring Two interfaces are answered to meet actual use.Communication interface layer only provides interface definition, and then system will be according to different communication modes Implement according to user selection carry out dynamic binding.
Relative to a upper embodiment, recorded by log interface and the mistake for communicating interaction is carried out between host computer and slave computer Journey, can effectively record the time of the various problem times occurred in test process and generation, be easy to the later stage according to daily record Record take corresponding solution.The place that test occurs can be recorded by LBS methods, for the later stage according to test ground The test problem that point occurs, takes corresponding solution.Above two method for the test problem that occurs in test all more With specific aim, with facilitating later stage maintenance work.
Fig. 4 is the connection diagram of the device of bluetooth test provided in an embodiment of the present invention;As shown in figure 4, the present invention is real The executive agent for applying example is slave computer, the embodiments of the invention provide a kind of device of bluetooth test, can be included:
Receiving module 41, for receiving the envelope of the instruction with preset format that host computer is sent by default interaction protocol Bag;
Parsing module 42, for parsing the instruction that instruction package is carried;
Performing module 43, for performing the instruction parsed;
Module 44 is returned to, for the implementing result of execute instruction to be returned into host computer.
The present embodiment provide device again it can be seen that in the present embodiment host computer by default interaction protocol under The instruction package that position machine sends preset format carries out communication test, and slave computer analysis instruction simultaneously performs the instruction, and execution is referred to The result of order returns to host computer.Existing host computer instead of by above-mentioned automated testing method and the next pusher side is required to people The method of testing that work is participated in, can increase the number of times of test and expand the scope of application of testing location, improve blue tooth productses Testing efficiency.
Fig. 5 is the connection diagram of the device for the bluetooth test that another embodiment of the present invention is provided;As shown in figure 5, this hair The executive agent of bright embodiment is slave computer, the embodiments of the invention provide a kind of device of bluetooth test, can also be included:
Module 51 is monitored, for monitoring whether host computer sends the instruction package with preset format, if not hearing, Keep monitoring, until receiving the instruction package of host computer transmission.
It should be noted that modules in said system provided in an embodiment of the present invention, due to real with the inventive method Apply example and be based on same design, its technique effect brought is identical with the inventive method embodiment, and particular content can be found in the present invention Narration in embodiment of the method, here is omitted.
Fig. 6 is the schematic diagram of the terminal device for the bluetooth test that one embodiment of the invention is provided.As shown in fig. 6, the implementation The terminal device 6 of the bluetooth test of example includes:Processor 60, memory 61 and it is stored in memory 61 and can be in processor The computer program 62 run on 60, such as the computer program for the method for realizing bluetooth test.Processor 60 performs meter Realize the step in the embodiment of the method for above-mentioned each bluetooth test during calculation machine program 62, such as step 101 shown in Fig. 1 to 104.Or, processor 60 realizes the function of each module/unit in above-mentioned each device embodiment, example when performing computer program 62 The function of module 41 to 44 as shown in Figure 4.
The present invention proposes the computer program 62 of the method for realizing bluetooth test, including:Assisted by default interaction View receives the instruction package with preset format that host computer is sent;Parse the instruction that instruction package is carried;Execution is parsed Instruction;The implementing result of execute instruction is returned into host computer.Computer program 62 can be divided into one or more moulds Block/unit, one or more module/unit is stored in memory 61, and is performed by processor 60, to complete this hair It is bright.One or more module/units can complete the series of computation machine programmed instruction section of specific function, the instruction segment For describing implementation procedure of the computer program 62 in the terminal device 6 that bluetooth is tested.For example, computer program 62 can be with It is divided into synchronization module, summarizing module, acquisition module, return module (module in virtual bench), each module concrete function It is as follows:
The terminal device 6 of bluetooth test can be the meter such as desktop PC, notebook, palm PC and cloud server Calculate equipment.The terminal device of bluetooth test may include, but be not limited only to, processor 60, memory 61.Those skilled in the art can To understand, Fig. 6 is only the example of the terminal device 6 of bluetooth test, does not constitute the limit for the terminal device 6 tested bluetooth It is fixed, it can include than illustrating more or less parts, either combine some parts or different parts, such as bluetooth is surveyed The terminal device 6 of examination can also include input-output equipment, network access equipment, bus etc..
Alleged processor 60 can be CPU (Central Processing Unit, CPU), can also be Other general processors, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) or other PLDs, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor can also be any conventional processor Deng.
Memory 61 can be the internal storage unit of the terminal device 6 of bluetooth test, and the terminal of such as bluetooth test is set Standby 6 hard disk or internal memory.Memory 61 can also be the External memory equipment of the terminal device 6 of bluetooth test, and such as bluetooth is surveyed The plug-in type hard disk being equipped with the terminal device 6 of examination, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) blocks, flash card (Flash Card) etc..Further, memory 61 can also both include bluetooth The internal storage unit of the terminal device 6 of test also includes External memory equipment.Memory 61 be used for store computer program with And other programs and data needed for the terminal device 6 of bluetooth test.Memory 61 can be also used for temporarily storing defeated The data that goes out or will export.
It is apparent to those skilled in the art that, for convenience of description and succinctly, only with above-mentioned each work( Energy unit, the division progress of module are for example, in practical application, as needed can distribute above-mentioned functions by different Functional unit, module are completed, i.e., the internal structure of device is divided into different functional unit or module, to complete above description All or part of function.Each functional unit, module in embodiment can be integrated in a processing unit or Unit is individually physically present, can also two or more units it is integrated in a unit, above-mentioned integrated unit Both it can be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.In addition, each functional unit, mould The specific name of block is also only to facilitate mutually differentiation, is not limited to the protection domain of the application.It is single in said system Member, the specific work process of module, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, without detailed description or note in some embodiment The part of load, may refer to the associated description of other embodiments.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein Member and algorithm steps, can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually Performed with hardware or software mode, depending on the application-specific and design constraint of technical scheme.Professional and technical personnel Described function can be realized using distinct methods to each specific application, but this realization is it is not considered that exceed The scope of the present invention.
, can be with embodiment provided by the present invention, it should be understood that disclosed device/terminal device and method Realize by another way.For example, device described above/terminal device embodiment is only schematical, for example, mould The division of block or unit, only a kind of division of logic function can have other dividing mode when actually realizing, such as multiple Unit or component can combine or be desirably integrated into another system, or some features can be ignored, or not perform.It is another Point, shown or discussed coupling or direct-coupling or communication connection each other can be by some interfaces, device or The INDIRECT COUPLING of unit or communication connection, can be electrical, machinery or other forms.
The unit illustrated as separating component can be or may not be physically separate, be shown as unit Part can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple networks On unit.Some or all of unit therein can be selected to realize the purpose of this embodiment scheme according to the actual needs.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list Member can both be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If integrated module/unit is realized using in the form of SFU software functional unit and as independent production marketing or used When, it can be stored in a computer read/write memory medium.Understood based on such, the present invention realizes above-described embodiment side All or part of flow in method, can also instruct the hardware of correlation to complete by computer program, computer program It can be stored in a computer-readable recording medium, each above-mentioned side can be achieved when being executed by processor in the computer program The step of method embodiment.Wherein, computer program includes computer program code, and computer program code can be source code shape Formula, object identification code form, executable file or some intermediate forms etc..Computer-readable medium can include:Meter can be carried Any entity or device of calculation machine program code, recording medium, USB flash disk, mobile hard disk, magnetic disc, CD, computer storage, only Memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electricity is read to carry Ripple signal, telecommunication signal and software distribution medium etc..It should be noted that the content that computer-readable medium is included can root Appropriate increase and decrease is carried out according to legislation in jurisdiction and the requirement of patent practice, such as in some jurisdictions, according to vertical Method and patent practice, computer-readable medium do not include electric carrier signal and telecommunication signal.
The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although with reference to the foregoing embodiments The present invention is described in detail, it will be understood by those within the art that:It still can be to foregoing each implementation Technical scheme described in example is modified, or carries out equivalent substitution to which part technical characteristic;And these modification or Replace, the essence of appropriate technical solution is departed from the spirit and scope of various embodiments of the present invention technical scheme, all should include Within protection scope of the present invention.

Claims (10)

1. a kind of method of bluetooth test, it is characterised in that including:
The instruction package with preset format that host computer is sent is received by default interaction protocol;
Parse the instruction that the instruction package is carried;
The instruction parsed described in performing;
The implementing result for performing the instruction is returned into host computer.
2. the method for bluetooth test as claimed in claim 1, it is characterised in that described to be received by default interaction protocol Before the instruction package with preset format that position machine is sent, methods described also includes:
Monitor whether the host computer sends the instruction package for carrying preset format, if not hearing, keep monitoring, directly To the instruction package for receiving the host computer transmission.
3. the method for bluetooth test as claimed in claim 1, it is characterised in that described to parse what the instruction package was carried After instruction, methods described also includes:
Judge whether the instruction parsed is correct, if incorrect, notifies the host computer to resend instruction package, directly To parsing correct instruction.
4. the method for bluetooth test as claimed in claim 1, it is characterised in that also include:
The process that communication interaction is carried out between slave computer and the host computer is recorded by log interface.
5. the method for bluetooth test as claimed in claim 1, it is characterised in that also include:
Mutual communication is realized by the transmission instruction interface and instruction response interface of level of abstraction between slave computer and the host computer.
6. a kind of device of bluetooth test, it is characterised in that including:
Receiving module, for receiving the instruction package with preset format that host computer is sent by default interaction protocol;
Parsing module, for parsing the instruction that instruction package is carried;
Performing module, for performing the instruction parsed;
Module is returned to, for the implementing result of execute instruction to be returned into host computer.
7. the device of bluetooth test as claimed in claim 6, it is characterised in that device also includes:
Module is monitored, for monitoring whether host computer sends the instruction package with preset format, if not hearing, prison is kept Listen, until receiving the instruction package of host computer transmission.
8. the device of bluetooth test as claimed in claim 6, it is characterised in that device also includes:
Whether determination module, the instruction for judging to parse is correct, if incorrect, notifies host computer to resend instruction envelope Bag, until parsing correct instruction.
9. a kind of terminal device of bluetooth test, including memory, processor and it is stored in the memory and can be in institute State the computer program run on processor, it is characterised in that realized described in the computing device during computer program as weighed The step of profit requires any one of 1 to 5 methods described.
10. a kind of computer-readable recording medium of bluetooth test, the computer-readable recording medium storage has computer journey Sequence, it is characterised in that realized when the computer program is executed by processor such as any one of claim 1 to 5 methods described Step.
CN201710422943.7A 2017-06-07 2017-06-07 Method, terminal device and the computer-readable recording medium of bluetooth test Pending CN107317638A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710422943.7A CN107317638A (en) 2017-06-07 2017-06-07 Method, terminal device and the computer-readable recording medium of bluetooth test
PCT/CN2017/095856 WO2018223513A1 (en) 2017-06-07 2017-08-03 Bluetooth testing method, terminal device, and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710422943.7A CN107317638A (en) 2017-06-07 2017-06-07 Method, terminal device and the computer-readable recording medium of bluetooth test

Publications (1)

Publication Number Publication Date
CN107317638A true CN107317638A (en) 2017-11-03

Family

ID=60182201

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710422943.7A Pending CN107317638A (en) 2017-06-07 2017-06-07 Method, terminal device and the computer-readable recording medium of bluetooth test

Country Status (2)

Country Link
CN (1) CN107317638A (en)
WO (1) WO2018223513A1 (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110533062A (en) * 2019-07-12 2019-12-03 平安科技(深圳)有限公司 Polytypic gating device method for handover control, device, electronic equipment and storage medium
CN111198790A (en) * 2019-12-23 2020-05-26 深圳市优必选科技股份有限公司 Robot testing method, robot testing device and robot
CN111323831A (en) * 2020-03-05 2020-06-23 上海顷实电子科技有限公司 Method and device for testing clamp nail and computer readable storage medium
CN112015607A (en) * 2020-08-06 2020-12-01 百富计算机技术(深圳)有限公司 Startup and shutdown testing method, tested equipment and tool equipment
CN112085873A (en) * 2020-08-12 2020-12-15 中国电力科学研究院有限公司 Testing device and method for electric intelligent internet of things lockset
CN112383911A (en) * 2020-12-24 2021-02-19 福建新大陆支付技术有限公司 POS Bluetooth automatic test method, system and storage medium
CN112445548A (en) * 2019-09-02 2021-03-05 广州皓醒湾科技有限公司 Method and system for processing Bluetooth device operation command and readable storage medium
CN112911565A (en) * 2021-02-01 2021-06-04 中汽数据(天津)有限公司 Bluetooth packet sending method and system, equipment and storage medium
CN112996020A (en) * 2021-03-30 2021-06-18 深圳市优必选科技股份有限公司 Bluetooth-based automatic testing method and device and Bluetooth testing terminal
CN113890635A (en) * 2021-09-29 2022-01-04 四川虹美智能科技有限公司 Detection tool, detection device, detection method and medium for intelligent product
CN115442261A (en) * 2022-05-27 2022-12-06 北京罗克维尔斯科技有限公司 Method and system for testing lower computer

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110519779B (en) * 2019-08-26 2022-05-13 Oppo(重庆)智能科技有限公司 Mobile terminal testing method, device, system and storage medium
CN111885579B (en) * 2020-07-10 2023-05-09 上海庆科信息技术有限公司 Bluetooth device testing method, device, equipment and storage medium
CN111885580B (en) * 2020-07-10 2023-04-18 上海庆科信息技术有限公司 Bluetooth device test method, device and storage medium
CN113037396B (en) * 2021-03-05 2021-11-30 深圳市百泰实业股份有限公司 PCBA automatic test system and automatic test method of Bluetooth equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201994944U (en) * 2010-12-22 2011-09-28 宁波翼动通讯科技有限公司 Bluetooth module testing device
CN103716099A (en) * 2013-12-17 2014-04-09 延锋伟世通电子科技(上海)有限公司 Bluetooth intercommunity standard automatic test system
CN104202105A (en) * 2014-09-24 2014-12-10 福建联迪商用设备有限公司 Bluetooth device testing method and system
US9524148B1 (en) * 2016-03-07 2016-12-20 Luxrobo Multi-module compilation system, multi-module compilation method, and non-transitory computer-readable storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201994944U (en) * 2010-12-22 2011-09-28 宁波翼动通讯科技有限公司 Bluetooth module testing device
CN103716099A (en) * 2013-12-17 2014-04-09 延锋伟世通电子科技(上海)有限公司 Bluetooth intercommunity standard automatic test system
CN104202105A (en) * 2014-09-24 2014-12-10 福建联迪商用设备有限公司 Bluetooth device testing method and system
US9524148B1 (en) * 2016-03-07 2016-12-20 Luxrobo Multi-module compilation system, multi-module compilation method, and non-transitory computer-readable storage medium

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110533062A (en) * 2019-07-12 2019-12-03 平安科技(深圳)有限公司 Polytypic gating device method for handover control, device, electronic equipment and storage medium
WO2021008356A1 (en) * 2019-07-12 2021-01-21 平安科技(深圳)有限公司 Multi-model door controller switching control method and apparatus, electronic device, and storage medium
CN110533062B (en) * 2019-07-12 2024-04-09 平安科技(深圳)有限公司 Multi-model gate controller switching control method and device, electronic equipment and storage medium
CN112445548A (en) * 2019-09-02 2021-03-05 广州皓醒湾科技有限公司 Method and system for processing Bluetooth device operation command and readable storage medium
CN111198790A (en) * 2019-12-23 2020-05-26 深圳市优必选科技股份有限公司 Robot testing method, robot testing device and robot
CN111198790B (en) * 2019-12-23 2023-09-08 深圳市优必选科技股份有限公司 Robot testing method, robot testing device and robot
CN111323831B (en) * 2020-03-05 2023-01-17 上海顷实电子科技有限公司 Method and device for testing clamp nail and computer readable storage medium
CN111323831A (en) * 2020-03-05 2020-06-23 上海顷实电子科技有限公司 Method and device for testing clamp nail and computer readable storage medium
CN112015607A (en) * 2020-08-06 2020-12-01 百富计算机技术(深圳)有限公司 Startup and shutdown testing method, tested equipment and tool equipment
CN112085873A (en) * 2020-08-12 2020-12-15 中国电力科学研究院有限公司 Testing device and method for electric intelligent internet of things lockset
CN112383911B (en) * 2020-12-24 2023-09-29 福建新大陆支付技术有限公司 POS Bluetooth automatic test method, system and storage medium
CN112383911A (en) * 2020-12-24 2021-02-19 福建新大陆支付技术有限公司 POS Bluetooth automatic test method, system and storage medium
CN112911565A (en) * 2021-02-01 2021-06-04 中汽数据(天津)有限公司 Bluetooth packet sending method and system, equipment and storage medium
CN112996020A (en) * 2021-03-30 2021-06-18 深圳市优必选科技股份有限公司 Bluetooth-based automatic testing method and device and Bluetooth testing terminal
CN112996020B (en) * 2021-03-30 2023-06-02 深圳市优必选科技股份有限公司 Bluetooth-based automatic test method and device and Bluetooth test terminal
CN113890635A (en) * 2021-09-29 2022-01-04 四川虹美智能科技有限公司 Detection tool, detection device, detection method and medium for intelligent product
CN115442261A (en) * 2022-05-27 2022-12-06 北京罗克维尔斯科技有限公司 Method and system for testing lower computer

Also Published As

Publication number Publication date
WO2018223513A1 (en) 2018-12-13

Similar Documents

Publication Publication Date Title
CN107317638A (en) Method, terminal device and the computer-readable recording medium of bluetooth test
CN110471834B (en) Credit card simulation test method under multi-transaction channel and related equipment
CN104038605A (en) Phone point of sale (POS) payment terminal transaction testing method
CN104268079B (en) A kind of method and system of POS Application testings
CN104866423B (en) The test method and system of a kind of software configuration item
CN103279846A (en) Project acceptance method and system based on BIM model
CN109286538A (en) Communication protocol conformance test method and terminal device
CN107980124A (en) A kind of collecting method and server
CN108255936A (en) A kind of edit methods of webpage, system and editing machine
CN107762821A (en) A kind of air compressor monitoring method and system based on Internet of Things
CN106954225A (en) Method, device and the wireless device of radio roaming
CN107609797A (en) Electric operating checking method and terminal device
CN102413484A (en) System and method for testing network link performance of terminal equipment
CN107748718A (en) Applied program testing method, device and server
CN101625705B (en) Verification environment system and construction method thereof
CN110766263A (en) Automatic acceptance method for secondary equipment of transformer substation and terminal equipment
CN107249182A (en) A kind of note transmission method and its device, terminal device
CN107741906B (en) Monetary fund system automation test method, device, equipment and storage medium
CN102662655B (en) The structure system and method for version
CN107480064A (en) A kind of the virtual of e-voucher center system supplements test system and method with money
CN203894630U (en) Simulation debugging device of electric vehicle battery management system
CN111179075B (en) Settlement method, device, storage medium and settlement server for medium-and-long-term power transaction
CN109308217A (en) A kind of date storage method and device of timeliness task
CN107167656A (en) Electricity consumption monitoring method and device based on intelligent electric meter
CN110224898A (en) Specification encryption test method, device, equipment and the storage medium of distribution terminal

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: 20171103

RJ01 Rejection of invention patent application after publication