[go: up one dir, main page]

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
computer
instruction
bluetooth
command
packet
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 a bluetooth test method, terminal equipment and a computer-readable storage medium, and relates to the technical field of bluetooth test. The method includes: receiving an instruction packet with a preset format sent by a host computer through a preset interaction protocol; parsing out the instruction carried in the instruction packet; executing the parsed instruction; and returning the execution result of the executed instruction to the host computer. In the embodiment of the present invention, the upper computer sends an instruction packet in a preset format to the lower computer through a preset interactive protocol for communication testing. The lower computer parses the instruction and executes the instruction, and returns the result of executing the instruction to the upper computer. By replacing the existing test method that requires manual participation on both the upper and lower computer sides, the above-mentioned automated test method can increase the number of tests and expand the scope of application of the test site, and improve the test efficiency of Bluetooth products.

Description

蓝牙测试的方法、终端设备及计算机可读存储介质Bluetooth testing method, terminal equipment and computer-readable storage medium

技术领域technical field

本发明属于蓝牙测试技术领域,尤其涉及一种蓝牙测试的方法、终端设备及计算机可读存储介质。The invention belongs to the technical field of bluetooth testing, and in particular relates to a bluetooth testing method, terminal equipment and a computer-readable storage medium.

背景技术Background technique

蓝牙是一种无线技术标准,可实现固定设备、移动设备和楼宇个人域网之间的短距离数据交换。蓝牙工作需要两个及以上的蓝牙终端,而且需要两个人配合操作才能完成蓝牙的配对、连接等过程。上述动作在实际测试使用中都需要用户手工进行操作。目前对蓝牙产品的测试方式都是模拟实际用户操作蓝牙的手工方式。手工测试蓝牙模块在测试效率和测试覆盖率方面相较于自动化测试存在明显不足。Bluetooth is a wireless technology standard that enables short-range data exchange between fixed and mobile devices and personal area networks in buildings. Bluetooth work requires two or more Bluetooth terminals, and two people need to cooperate to complete the Bluetooth pairing, connection and other processes. The above actions all need to be manually operated by the user in actual test use. At present, the testing methods for Bluetooth products are manual methods that simulate the actual user's operation of Bluetooth. Compared with automated testing, manual testing of Bluetooth modules has obvious shortcomings in terms of test efficiency and test coverage.

上述问题亟待解决。The above problems need to be solved urgently.

发明内容Contents of the invention

针对手工测试蓝牙模块在测试效率和测试覆盖率方面相较于自动化测试存在明显不足的缺陷,本发明提供一种蓝牙测试的方法、终端设备及计算机可读存储介质。Aiming at the defect that manual testing of Bluetooth modules is obviously insufficient compared with automated testing in terms of testing efficiency and testing coverage, the present invention provides a Bluetooth testing method, terminal equipment, and a computer-readable storage medium.

本发明实施例的第一方面提供了一种蓝牙测试的方法,包括:The first aspect of the embodiments of the present invention provides a method for Bluetooth testing, including:

通过预设的交互协议接收上位机发送的带有预设格式的指令封包;Receive the command packet with the preset format sent by the host computer through the preset interactive protocol;

解析出指令封包携带的指令;Parsing out the instructions carried in the instruction packet;

执行解析出的指令;Execute the parsed instructions;

将执行指令的执行结果返回给上位机。Return the execution result of the execution command to the host computer.

进一步地,通过预设的交互协议接收上位机发送的带有预设格式的指令封包之前,方法还包括:Further, before receiving the instruction packet with the preset format sent by the host computer through the preset interaction protocol, the method also includes:

监听上位机是否发送带有预设格式的指令封包,若未监听到,则保持监听,直至接收到上位机发送的指令封包。Monitor whether the host computer sends a command packet with a preset format, if not, keep monitoring until the command packet sent by the host computer is received.

进一步地,解析出指令封包携带的指令之后,方法还包括:Further, after parsing the instructions carried in the instruction packet, the method further includes:

判定解析出的指令是否正确,若不正确,则通知上位机重新发送指令封包,直至解析出正确的指令。Determine whether the parsed command is correct, if not, notify the host computer to resend the command packet until the correct command is parsed.

进一步地,测试蓝牙的方法还包括:Further, the method for testing Bluetooth also includes:

通过日志接口记录上位机和下位机之间进行通讯交互的过程。Record the process of communication interaction between the upper computer and the lower computer through the log interface.

进一步地,测试蓝牙的方法还包括:Further, the method for testing Bluetooth also includes:

下位机和所述上位机之间通过抽象层的发送指令接口和指令响应接口实现相互通讯。The lower computer and the upper computer communicate with each other through the sending command interface and the command response interface of the abstraction layer.

本发明实施例的第二方面提供了一种蓝牙测试的装置,包括:The second aspect of the embodiments of the present invention provides a device for Bluetooth testing, including:

接收模块,用于通过预设的交互协议接收上位机发送的带有预设格式的指令封包;The receiving module is used to receive the instruction packet with the preset format sent by the host computer through the preset interactive protocol;

解析模块,用于解析出指令封包携带的指令;A parsing module, configured to parse out instructions carried in the instruction packet;

执行模块,用于执行解析出的指令;An execution module, used to execute the parsed instructions;

返回模块,用于将执行指令的执行结果返回给上位机。The return module is used to return the execution result of the execution instruction to the host computer.

进一步地,装置还包括:Further, the device also includes:

监听模块,用于监听上位机是否发送带有预设格式的指令封包,若未监听到,则保持监听,直至接收到上位机发送的指令封包。The monitoring module is used to monitor whether the upper computer sends a command packet with a preset format, if not, keep monitoring until the command packet sent by the upper computer is received.

进一步地,装置还包括:Further, the device also includes:

判定模块,用于判定解析出的指令是否正确,若不正确,则通知上位机重新发送指令封包,直至解析出正确的指令。The judging module is used to judge whether the parsed command is correct, if not, notify the upper computer to resend the command packet until the correct command is parsed.

本发明实施例的第三方面提供了一种蓝牙测试的终端设备,包括存储器、处理器以及存储在存储器中并可在处理器上运行的计算机程序,处理器执行计算机程序时实现以下步骤:The third aspect of the embodiment of the present invention provides a terminal device for Bluetooth testing, including a memory, a processor, and a computer program stored in the memory and operable on the processor. When the processor executes the computer program, the following steps are implemented:

通过预设的交互协议接收上位机发送的带有预设格式的指令封包;Receive the command packet with the preset format sent by the host computer through the preset interactive protocol;

解析出指令封包携带的指令;Parsing out the instructions carried in the instruction packet;

执行解析出的指令;Execute the parsed instructions;

将执行指令的执行结果返回给上位机。Return the execution result of the execution command to the host computer.

本发明实施例的第四方面提供了一种蓝牙测试的计算机可读存储介质,计算机可读存储介质存储有计算机程序,计算机程序被处理器执行时实现以下步骤:A fourth aspect of the embodiments of the present invention provides a computer-readable storage medium for Bluetooth testing, the computer-readable storage medium stores a computer program, and the computer program is executed by a processor to implement the following steps:

通过预设的交互协议接收上位机发送的带有预设格式的指令封包;Receive the command packet with the preset format sent by the host computer through the preset interactive protocol;

解析出指令封包携带的指令;Parsing out the instructions carried in the instruction packet;

执行解析出的指令;Execute the parsed instructions;

将执行指令的执行结果返回给上位机。Return the execution result of the execution command to the host computer.

本发明实施例与现有技术相比存在的有益效果是:本发明实施例中上位机通过预设的交互协议给下位机发送预设格式的指令封包进行通讯测试,下位机解析指令并执行该指令,并将执行指令的结果返回给上位机。通过上述自动化测试方法代替了现有上位机和下位机侧均需要人工参与的测试方法,可以增加测试的次数以及扩大测试地点的适用范围,提升了蓝牙产品的测试效率。Compared with the prior art, the embodiment of the present invention has the following beneficial effects: in the embodiment of the present invention, the upper computer sends an instruction packet in a preset format to the lower computer through a preset interactive protocol for communication testing, and the lower computer parses the instruction and executes the instruction. instruction, and return the result of executing the instruction to the host computer. By replacing the existing test method that requires manual participation on both the upper and lower computer sides, the above-mentioned automated test method can increase the number of tests and expand the scope of application of the test site, and improve the test efficiency of Bluetooth products.

附图说明Description of drawings

为了更清楚地说明本发明实施例中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the accompanying drawings that need to be used in the descriptions of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only of the present invention. For some embodiments, those of ordinary skill in the art can also obtain other drawings based on these drawings without paying creative efforts.

图1是本发明实施例提供的蓝牙测试的方法的实现流程示意图;Fig. 1 is the realization flowchart of the method for bluetooth test provided by the embodiment of the present invention;

图2是本发明另一实施例提供的蓝牙测试的方法的示意性框图;Fig. 2 is a schematic block diagram of a method for Bluetooth testing provided by another embodiment of the present invention;

图3是图2中实现蓝牙测试的方法的实现流程示意图;Fig. 3 is the realization flowchart of the method for realizing bluetooth test in Fig. 2;

图4是本发明实施例提供的蓝牙测试的装置的连接示意图;Fig. 4 is a schematic diagram of connection of a device for Bluetooth testing provided by an embodiment of the present invention;

图5是本发明另一实施例提供的蓝牙测试的装置的连接示意图;Fig. 5 is a schematic diagram of connection of a device for Bluetooth testing provided by another embodiment of the present invention;

图6是本发明实施例提供的蓝牙测试的终端设备的示意图。Fig. 6 is a schematic diagram of a terminal device for Bluetooth testing provided by an embodiment of the present invention.

具体实施方式detailed description

以下描述中,为了说明而不是为了限定,提出了诸如特定系统结构、技术之类的具体细节,以便透彻理解本发明实施例。然而,本领域的技术人员应当清楚,在没有这些具体细节的其它实施例中也可以实现本发明。在其它情况中,省略对众所周知的系统、装置、电路以及方法的详细说明,以免不必要的细节妨碍本发明的描述。In the following description, specific details such as specific system structures and technologies are presented for the purpose of illustration rather than limitation, so as to thoroughly understand the embodiments of the present invention. It will be apparent, however, to one skilled in the art that the invention may be practiced in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.

为了说明本发明的技术方案,下面通过具体实施例来进行说明。In order to illustrate the technical solutions of the present invention, specific examples are used below to illustrate.

图1是本发明实施例提供的蓝牙测试的方法的实现流程示意图;如图1所示,本发明实施例的执行主体是下位机,本发明实施例提供的蓝牙测试的方法,可以包括:Fig. 1 is the realization flow diagram of the method for bluetooth test provided by the embodiment of the present invention; As shown in Fig. 1, the executive subject of the embodiment of the present invention is the lower computer, the method for the bluetooth test provided by the embodiment of the present invention may include:

101、通过预设的交互协议接收上位机发送的带有预设格式的指令封包;101. Receive the instruction packet with the preset format sent by the host computer through the preset interactive protocol;

具体地,本方案通讯的两端分别为蓝牙模块一端所在的上位机和蓝牙模块另一端所在的下位机,本方案的执行主体在下位机。上位机上运行的程序为高度定制化程序,可视具体测试需求和目的而不同,运行在蓝牙模块一端所在的例如POS机(Point Of Sale支付终端)或者电脑端等,与蓝牙模块另一端所在的下位机所在的被测产品进行互通测试。通过给上位机和下位机设定交互接口的交互协议,以及提供统一格式的指令封包接口供上位机调用,完成与下位机的交互。进一步地,上位机实现通讯并不需要了解采用通讯协议细节,仅需提供符合下位机预设的指令封包接口的格式。上位机用下位机支持的蓝牙命令以及对应的定制参数的作为输入参数调用后,通过交互接口把封装好的指令封包发给下位机,并等待下位机返回的指令响应结果即可。Specifically, the two ends of communication in this solution are the upper computer where one end of the Bluetooth module is located and the lower computer where the other end of the Bluetooth module is located, and the execution subject of this solution is the lower computer. The program running on the host computer is a highly customized program, depending on the specific test requirements and purposes. The program running on one end of the Bluetooth module, such as a POS machine (Point Of Sale payment terminal) or computer, and the other end of the Bluetooth module are located The product under test where the lower computer is located performs an interoperability test. The interaction with the lower computer is completed by setting the interactive protocol of the interactive interface for the upper computer and the lower computer, and providing a unified command packet interface for the upper computer to call. Furthermore, the upper computer does not need to know the details of the communication protocol used to realize the communication, but only needs to provide the format of the command packet interface that conforms to the preset command package interface of the lower computer. After the upper computer uses the Bluetooth commands supported by the lower computer and the corresponding customized parameters as input parameters, it sends the packaged command packet to the lower computer through the interactive interface, and waits for the command response result returned by the lower computer.

再进一步地,本实施例对蓝牙具体操作进行细化,一对一封装成命令加参数的形式。命令调用和参数传递由上位机发起,通过通讯端口例如串口、USB、以太网等发送给一直处于监听状态的下位机,下位机接收到命令后对命令进行判断并进行对应蓝牙操作。上下位的通讯协议使用等停协议模式,简单可靠。下位机具有命令响应机制,进一步提高了通讯的稳定性。Still further, this embodiment refines the specific operations of Bluetooth, and encapsulates them one-to-one in the form of commands plus parameters. The command call and parameter transfer are initiated by the upper computer, and sent to the lower computer that has been in the monitoring state through communication ports such as serial port, USB, Ethernet, etc. After receiving the command, the lower computer judges the command and performs the corresponding Bluetooth operation. The upper and lower communication protocols use the waiting-stop protocol mode, which is simple and reliable. The lower computer has a command response mechanism, which further improves the stability of communication.

更进一步地,交互协议的格式如下:Furthermore, the format of the interactive protocol is as follows:

STXSTX Typetype IDID LengthLength DataData ETXETX LRC LRC

上述表格内字段的意义:The meaning of the fields in the above table:

STX:帧开始STX: start of frame

Type:帧类型Type: frame type

value 类型Types of 描述describe 44 PROTOCOL_CMD_EXECUTEPROTOCOL_CMD_EXECUTE 用于传递指令used to pass instructions 00 PROTOCOL_ERRNO_OKPROTOCOL_ERRNO_OK 响应指令执行成功Response command executed successfully 11 PROTOCOL_ERRNO_SIDPROTOCOL_ERRNO_SID 帧序列不正确frame sequence is incorrect 22 PROTOCOL_ERRNO_TIMEOUTPROTOCOL_ERRNO_TIMEOUT 下位机接收指令超时The lower computer receives the instruction timeout 33 PROTOCOL_ERRNO_LRCPROTOCOL_ERRNO_LRC 帧校验错误 frame check error

ID:帧序列ID: frame sequence

Length Data:字段长度Length Data: field length

Data:具体的指令以及参数信息Data: specific instructions and parameter information

ETX:帧结束ETX: end of frame

LRC:校验码LRC: check code

通过交互协议收到的数据对下位机而言成为指令封包,对指令封包进行逆向解析后交给指令控制模块进行进一步处理,主要是完成对应的蓝牙操作。The data received through the interactive protocol becomes a command packet for the lower computer, and after reverse analysis of the command packet, it is handed over to the command control module for further processing, mainly to complete the corresponding Bluetooth operation.

通讯接口抽象层主要是为了屏蔽不同通讯方式的差异,例如串口、USB、以太网等。本实施例通过提供统一的调用入口,方便代码移植和重复使用。目前提供的发送指令和指令响应两个接口以满足实际使用。本协议层仅提供接口定义,然后根据不同通讯方式的实现方式以及根据用户的选择进行动态绑定。The communication interface abstraction layer is mainly to shield the differences of different communication methods, such as serial port, USB, Ethernet, etc. This embodiment facilitates code transplantation and reuse by providing a unified call entry. Currently, there are two interfaces for sending commands and command responses to meet the actual use. This protocol layer only provides interface definition, and then performs dynamic binding according to the realization of different communication methods and according to the user's choice.

指令封包的格式如下(数字表示占用的字节数):The format of the instruction packet is as follows (the number indicates the number of bytes occupied):

上述表格内字段的意义:The meaning of the fields in the above table:

%:关键字分隔符%: keyword separator

e:命令字段标识e: command field identifier

d:整数类型参数d: integer type parameter

c:字符类型参数c: character type parameter

s:字符串类型参数s: string type parameter

其中参数个数不限制,参数值满足TLV格式:The number of parameters is not limited, and the parameter values meet the TLV format:

Typetype LengthLength Value value

(Length指value字段的字节数)(Length refers to the number of bytes in the value field)

封装好的指令封包将成为上位机和下位机交互协议的数据部分。The encapsulated command packet will become the data part of the interaction protocol between the upper computer and the lower computer.

102、解析出指令封包携带的指令;102. Parsing out the instructions carried in the instruction packet;

具体地,指令封包携带的指令几乎囊括了所有蓝牙模块应该具有的功能命令。下面的表格列举了本实施例设定的蓝牙命令,用于测试蓝牙模块各个指令功能是否正常。Specifically, the instructions carried by the instruction packet almost include all the functional commands that the Bluetooth module should have. The following table lists the Bluetooth commands set in this embodiment, which are used to test whether the functions of each command of the Bluetooth module are normal.

103、执行解析出的指令;103. Execute the parsed instructions;

104、将执行指令的执行结果返回给上位机。104. Return the execution result of the execution instruction to the host computer.

具体地,本步骤将步骤103执行指令的结果反馈给上位机,用于上报测试蓝牙模块功能运行的情况,代替了人工上报测试结果的过程。Specifically, this step feeds back the result of executing the instruction in step 103 to the host computer for reporting the operation of the Bluetooth module, instead of manually reporting the test result.

应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。It should be understood that the sequence numbers of the steps in the above embodiments do not mean the order of execution, and the execution order of each process should be determined by its functions and internal logic, and should not constitute any limitation to the implementation process of the embodiment of the present invention.

本实施例提供的方法可以看出,本实施例中上位机通过预设的交互协议给下位机发送预设格式的指令封包进行通讯测试,下位机解析指令并执行该指令,并将执行指令的结果返回给上位机。通过上述自动化测试方法代替了现有上位机和下位机侧均需要人工参与的测试方法,可以增加测试的次数以及扩大测试地点的适用范围,提升了蓝牙产品的测试效率。From the method provided in this embodiment, it can be seen that in this embodiment, the upper computer sends an instruction packet in a preset format to the lower computer through a preset interactive protocol for communication testing, and the lower computer parses the instruction and executes the instruction, and executes the command The result is returned to the host computer. By replacing the existing test method that requires manual participation on both the upper and lower computer sides, the above-mentioned automated test method can increase the number of tests and expand the scope of application of the test site, and improve the test efficiency of Bluetooth products.

图2是本发明另一实施例提供的蓝牙测试的方法的示意性框图;图3是图2 中实现蓝牙测试的方法的实现流程示意图;如图2和图3所示,本发明实施例的执行主体是下位机,本发明实施例中通过预设的交互协议接收上位机发送的带有预设格式的指令封包之前,该方法还可以包括:Fig. 2 is the schematic block diagram of the method for bluetooth test that another embodiment of the present invention provides; Fig. 3 is the realization flowchart of the method for realizing bluetooth test among Fig. 2; As shown in Fig. 2 and Fig. 3, the embodiment of the present invention The execution subject is the lower computer. In the embodiment of the present invention, before receiving the instruction packet with the preset format sent by the upper computer through the preset interactive protocol, the method may also include:

201、监听上位机是否发送带有预设格式的指令封包,若未监听到,则保持监听,直至接收到上位机发送的指令封包。201. Monitor whether the host computer sends a command packet with a preset format, if not, keep monitoring until the command packet sent by the host computer is received.

具体的,下位机所在的蓝牙测试服务器启动后,默认进入监听状态,采用轮询的方式等待上位机发出指令封包。进一步地,当下位机接收到指令封包,并解析出指令封包携带的指令之后,判定解析出的指令是否正确,若不正确,则通知上位机重新发送指令封包,直至解析出正确的指令。对指令的解析包括:先对数据格式进行解析,格式正确的情况下再检查是否支持携带的指令,都正确的情况下把指令提交给指令控制模块进行最终的蓝牙操作。上述过程完成后下位机继续恢复监听的模式,等待接收下一个指令封包。Specifically, after the Bluetooth test server where the lower computer is located is started, it enters the monitoring state by default, and waits for the command packet sent by the upper computer by polling. Further, after the host computer receives the command packet and parses out the command carried in the command packet, it determines whether the parsed command is correct, and if not, notifies the host computer to resend the command packet until the correct command is parsed. The parsing of the command includes: parsing the data format first, and then checking whether the carried command is supported if the format is correct, and submitting the command to the command control module for the final Bluetooth operation if all are correct. After the above process is completed, the lower computer continues to resume the monitoring mode, waiting to receive the next command packet.

相对于上一实施例,本实施例提供的方法可以持续性地对蓝牙指令进行测试,加大了测试的速度提高了测试效率。Compared with the previous embodiment, the method provided by this embodiment can continuously test the Bluetooth command, which increases the test speed and improves the test efficiency.

本方法还提供另一实施例,测试蓝牙的方法还可以包括:通过日志接口记录上位机和下位机之间进行通讯交互的过程。进一步地,测试蓝牙的方法还可以包括:下位机和所述上位机之间通过抽象层的发送指令接口和指令响应接口实现相互通讯。将上位机和下位机之间的通讯接口抽象化主要是为了屏蔽不同通讯方式的差异,例如串口、USB、以太网等。提供统一的抽象调用入口,方便代码移植和重复使用。本实施例提供的发送指令和指令响应两个接口以满足实际使用。通讯接口层只提供接口定义,然后系统将根据不同通讯方式的具体实现根据用户选择进行动态绑定。The method also provides another embodiment. The method for testing the Bluetooth may further include: recording the communication and interaction process between the upper computer and the lower computer through the log interface. Further, the method for testing the bluetooth may further include: realizing mutual communication between the lower computer and the upper computer through the sending command interface and the command response interface of the abstraction layer. The main purpose of abstracting the communication interface between the upper computer and the lower computer is to shield the differences of different communication methods, such as serial port, USB, Ethernet, etc. Provide a unified abstract call entry to facilitate code porting and reuse. This embodiment provides two interfaces for sending commands and command responses to meet practical use. The communication interface layer only provides interface definition, and then the system will perform dynamic binding according to the specific realization of different communication methods according to the user's choice.

相对于上一实施例,通过日志接口记录上位机和下位机之间进行通讯交互的过程,可以有效地记录测试过程中发生的各种问题时间以及发生的时间,便于后期根据日志的记录采取相应的解决方案。通过LBS方法可以记录测试发生的地点,用于后期根据测试地点出现的测试问题,采取相应的解决方案。上述两种方法对于测试中出现的测试问题都更具有针对性,方便了后期地维护工作。Compared with the previous embodiment, recording the process of communication and interaction between the upper computer and the lower computer through the log interface can effectively record the time and time of various problems that occurred during the test, so that it is convenient to take corresponding measures according to the log records later. s solution. The location of the test can be recorded through the LBS method, which can be used in the later stage to take corresponding solutions according to the test problems that occur in the test location. The above two methods are more targeted for the test problems that arise during the test, which facilitates the later maintenance work.

图4是本发明实施例提供的蓝牙测试的装置的连接示意图;如图4所示,本发明实施例的执行主体是下位机,本发明实施例提供了一种蓝牙测试的装置,可以包括:Fig. 4 is a schematic diagram of the connection of the device for Bluetooth testing provided by the embodiment of the present invention; as shown in Fig. 4, the execution subject of the embodiment of the present invention is a lower computer, and the embodiment of the present invention provides a device for Bluetooth testing, which may include:

接收模块41,用于通过预设的交互协议接收上位机发送的带有预设格式的指令封包;The receiving module 41 is used to receive the instruction packet with the preset format sent by the host computer through the preset interactive protocol;

解析模块42,用于解析出指令封包携带的指令;Parsing module 42, is used for parsing out the instruction that instruction packet carries;

执行模块43,用于执行解析出的指令;An execution module 43, configured to execute the parsed instructions;

返回模块44,用于将执行指令的执行结果返回给上位机。The return module 44 is used to return the execution result of the execution instruction to the host computer.

本实施例提供的装置同样可以看出,本实施例中上位机通过预设的交互协议给下位机发送预设格式的指令封包进行通讯测试,下位机解析指令并执行该指令,并将执行指令的结果返回给上位机。通过上述自动化测试方法代替了现有上位机和下位机侧均需要人工参与的测试方法,可以增加测试的次数以及扩大测试地点的适用范围,提升了蓝牙产品的测试效率。It can also be seen from the device provided in this embodiment that in this embodiment, the upper computer sends an instruction packet in a preset format to the lower computer through a preset interactive protocol for communication testing, and the lower computer parses the instruction and executes the instruction, and executes the instruction The results are returned to the host computer. By replacing the existing test method that requires manual participation on both the upper and lower computer sides, the above-mentioned automated test method can increase the number of tests and expand the scope of application of the test site, and improve the test efficiency of Bluetooth products.

图5是本发明另一实施例提供的蓝牙测试的装置的连接示意图;如图5所示,本发明实施例的执行主体是下位机,本发明实施例提供了一种蓝牙测试的装置,还可以包括:Fig. 5 is a schematic diagram of connection of a device for Bluetooth testing provided by another embodiment of the present invention; Can include:

监听模块51,用于监听上位机是否发送带有预设格式的指令封包,若未监听到,则保持监听,直至接收到上位机发送的指令封包。The monitoring module 51 is used to monitor whether the upper computer sends a command packet with a preset format, and if not, keep monitoring until the command packet sent by the upper computer is received.

需要说明的是,本发明实施例提供的上述系统中各个模块,由于与本发明方法实施例基于同一构思,其带来的技术效果与本发明方法实施例相同,具体内容可参见本发明方法实施例中的叙述,此处不再赘述。It should be noted that, since each module in the above-mentioned system provided by the embodiment of the present invention is based on the same idea as the method embodiment of the present invention, the technical effect it brings is the same as that of the method embodiment of the present invention. For details, please refer to the implementation of the method of the present invention The description in the example will not be repeated here.

图6是本发明一实施例提供的蓝牙测试的终端设备的示意图。如图6所示,该实施例的蓝牙测试的终端设备6包括:处理器60、存储器61以及存储在存储器61中并可在处理器60上运行的计算机程序62,例如用于实现蓝牙测试的方法的计算机程序。处理器60执行计算机程序62时实现上述各个蓝牙测试的方法实施例中的步骤,例如图1所示的步骤101至104。或者,处理器60执行计算机程序62时实现上述各装置实施例中各模块/单元的功能,例如图4所示模块41至44的功能。Fig. 6 is a schematic diagram of a terminal device for Bluetooth testing provided by an embodiment of the present invention. As shown in Figure 6, the terminal equipment 6 of the bluetooth test of this embodiment comprises: processor 60, memory 61 and are stored in memory 61 and can run on the computer program 62 of processor 60, for example be used to realize the bluetooth test Method computer program. When the processor 60 executes the computer program 62, the steps in the above-mentioned embodiments of the Bluetooth testing method are implemented, such as steps 101 to 104 shown in FIG. 1 . Alternatively, when the processor 60 executes the computer program 62, the functions of the modules/units in the above-mentioned device embodiments are implemented, for example, the functions of the modules 41 to 44 shown in FIG. 4 .

本发明提出用于实现蓝牙测试的方法的计算机程序62,包括:通过预设的交互协议接收上位机发送的带有预设格式的指令封包;解析出指令封包携带的指令;执行解析出的指令;将执行指令的执行结果返回给上位机。计算机程序 62可以被分割成一个或多个模块/单元,一个或者多个模块/单元被存储在存储器61中,并由处理器60执行,以完成本发明。一个或多个模块/单元可以是能够完成特定功能的一系列计算机程序指令段,该指令段用于描述计算机程序62 在蓝牙测试的终端设备6中的执行过程。例如,计算机程序62可以被分割成同步模块、汇总模块、获取模块、返回模块(虚拟装置中的模块),各模块具体功能如下:The present invention proposes a computer program 62 for implementing a method for Bluetooth testing, including: receiving an instruction packet with a preset format sent by a host computer through a preset interactive protocol; parsing out the instruction carried in the instruction packet; executing the parsed instruction ; Return the execution result of the execution instruction to the host computer. The computer program 62 can be divided into one or more modules/units, and one or more modules/units are stored in the memory 61 and executed by the processor 60 to implement the present invention. One or more modules/units may be a series of computer program instruction segments capable of accomplishing specific functions, and the instruction segments are used to describe the execution process of the computer program 62 in the terminal device 6 for Bluetooth testing. For example, the computer program 62 can be divided into a synchronization module, a summary module, an acquisition module, and a return module (modules in the virtual device), and the specific functions of each module are as follows:

蓝牙测试的终端设备6可以是桌上型计算机、笔记本、掌上电脑及云端服务器等计算设备。蓝牙测试的终端设备可包括,但不仅限于,处理器60、存储器61。本领域技术人员可以理解,图6仅仅是蓝牙测试的终端设备6的示例,并不构成对蓝牙测试的终端设备6的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如蓝牙测试的终端设备6还可以包括输入输出设备、网络接入设备、总线等。The terminal device 6 of the Bluetooth test can be computing devices such as desktop computers, notebooks, palmtop computers, and cloud servers. The terminal equipment for Bluetooth testing may include, but not limited to, a processor 60 and a memory 61 . Those skilled in the art can understand that FIG. 6 is only an example of the terminal device 6 for Bluetooth testing, and does not constitute a limitation to the terminal device 6 for Bluetooth testing. It may include more or less components than those shown in the illustration, or combine some Components, or different components, for example, the terminal device 6 for Bluetooth testing may also include input and output devices, network access devices, buses, and the like.

所称处理器60可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processor, DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The so-called processor 60 may be a central processing unit (Central Processing Unit, CPU), and may also be other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), Off-the-shelf programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like.

存储器61可以是蓝牙测试的终端设备6的内部存储单元,例如蓝牙测试的终端设备6的硬盘或内存。存储器61也可以是蓝牙测试的终端设备6的外部存储设备,例如蓝牙测试的终端设备6上配备的插接式硬盘,智能存储卡 (Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡 (Flash Card)等。进一步地,存储器61还可以既包括蓝牙测试的终端设备6 的内部存储单元也包括外部存储设备。存储器61用于存储计算机程序以及蓝牙测试的终端设备6所需的其他程序和数据。存储器61还可以用于暂时地存储已经输出或者将要输出的数据。The memory 61 may be an internal storage unit of the terminal device 6 for Bluetooth testing, such as a hard disk or memory of the terminal device 6 for Bluetooth testing. Memory 61 can also be the external storage device of the terminal equipment 6 of bluetooth test, for example the plug-in type hard disk equipped on the terminal equipment 6 of bluetooth test, smart memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash memory card (Flash Card), etc. Further, the memory 61 may also include both an internal storage unit of the terminal device 6 for the Bluetooth test and an external storage device. The memory 61 is used to store computer programs and other programs and data required by the terminal device 6 for Bluetooth testing. The memory 61 can also be used to temporarily store data that has been output or will be output.

所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,仅以上述各功能单元、模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能单元、模块完成,即将装置的内部结构划分成不同的功能单元或模块,以完成以上描述的全部或者部分功能。实施例中的各功能单元、模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中,上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。另外,各功能单元、模块的具体名称也只是为了便于相互区分,并不用于限制本申请的保护范围。上述系统中单元、模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of description, only the division of the above-mentioned functional units and modules is used for illustration. In practical applications, the above-mentioned functions can be assigned to different functional units, Completion of modules means that the internal structure of the device is divided into different functional units or modules to complete all or part of the functions described above. Each functional unit and module in the embodiment may be integrated into one processing unit, or each unit may exist separately physically, or two or more units may be integrated into one unit, and the above-mentioned integrated units may adopt hardware It can also be implemented in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the present application. For the specific working process of the units and modules in the above system, reference may be made to the corresponding process in the foregoing method embodiments, and details will not be repeated here.

在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述或记载的部分,可以参见其它实施例的相关描述。In the above-mentioned embodiments, the descriptions of each embodiment have their own emphases, and for parts that are not detailed or recorded in a certain embodiment, refer to the relevant descriptions of other embodiments.

本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those skilled in the art can appreciate that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present invention.

在本发明所提供的实施例中,应该理解到,所揭露的装置/终端设备和方法,可以通过其它的方式实现。例如,以上所描述的装置/终端设备实施例仅仅是示意性的,例如,模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通讯连接可以是通过一些接口,装置或单元的间接耦合或通讯连接,可以是电性,机械或其它的形式。In the embodiments provided in the present invention, it should be understood that the disclosed apparatus/terminal equipment and method may be implemented in other ways. For example, the device/terminal device embodiments described above are only illustrative, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components May be combined or may be integrated into another system, or some features may be omitted, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.

作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。A unit described as a separate component may or may not be physically separated, and a component displayed as a unit may or may not be a physical unit, that is, it may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.

集成的模块/单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明实现上述实施例方法中的全部或部分流程,也可以通过计算机程序来指令相关的硬件来完成,的计算机程序可存储于一计算机可读存储介质中,该计算机程序在被处理器执行时,可实现上述各个方法实施例的步骤。其中,计算机程序包括计算机程序代码,计算机程序代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。计算机可读介质可以包括:能够携带计算机程序代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机存储器、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、电载波信号、电信信号以及软件分发介质等。需要说明的是,计算机可读介质包含的内容可以根据司法管辖区内立法和专利实践的要求进行适当的增减,例如在某些司法管辖区,根据立法和专利实践,计算机可读介质不包括电载波信号和电信信号。If an integrated module/unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention realizes all or part of the processes in the methods of the above embodiments, and can also be completed by instructing related hardware through computer programs, and the computer programs can be stored in a computer-readable storage medium. When executed by the processor, the steps in the above-mentioned various method embodiments can be realized. Wherein, the computer program includes computer program code, and the computer program code may be in the form of source code, object code, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying computer program code, recording medium, U disk, removable hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access Memory (RAM, Random Access Memory), electrical carrier signal, telecommunication signal, and software distribution medium, etc. It should be noted that the content contained on computer readable media may be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer readable media does not include Electrical carrier signals and telecommunication signals.

以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围,均应包含在本发明的保护范围之内。The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still be described in the foregoing embodiments Modifications to the technical solutions recorded, or equivalent replacements for some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of each embodiment of the present invention, and should be included in the scope of the present invention. within the scope of protection.

Claims (10)

1.一种蓝牙测试的方法,其特征在于,包括:1. A method for bluetooth testing, comprising: 通过预设的交互协议接收上位机发送的带有预设格式的指令封包;Receive the command packet with the preset format sent by the host computer through the preset interactive protocol; 解析出所述指令封包携带的指令;Parsing out the instructions carried in the instruction packet; 执行所述解析出的指令;Execute the parsed instructions; 将执行所述指令的执行结果返回给上位机。The execution result of executing the instruction is returned to the host computer. 2.如权利要求1所述的蓝牙测试的方法,其特征在于,所述通过预设的交互协议接收上位机发送的带有预设格式的指令封包之前,所述方法还包括:2. The method for bluetooth testing as claimed in claim 1, characterized in that, before receiving the instruction packet with the preset format sent by the host computer through the preset interactive protocol, the method also includes: 监听所述上位机是否发送所述带有预设格式的指令封包,若未监听到,则保持监听,直至接收到所述上位机发送的指令封包。Monitor whether the host computer sends the command packet with the preset format, if not, keep monitoring until the command packet sent by the host computer is received. 3.如权利要求1所述的蓝牙测试的方法,其特征在于,所述解析出所述指令封包携带的指令之后,所述方法还包括:3. The method for bluetooth testing as claimed in claim 1, characterized in that, after parsing out the instruction carried by the instruction packet, the method further comprises: 判定解析出的所述指令是否正确,若不正确,则通知所述上位机重新发送指令封包,直至解析出正确的指令。Determine whether the parsed command is correct, if not, notify the host computer to resend the command packet until the correct command is parsed. 4.如权利要求1所述的蓝牙测试的方法,其特征在于,还包括:4. The method for bluetooth test as claimed in claim 1, is characterized in that, also comprises: 通过日志接口记录下位机和所述上位机之间进行通讯交互的过程。The process of communication and interaction between the lower computer and the upper computer is recorded through the log interface. 5.如权利要求1所述的蓝牙测试的方法,其特征在于,还包括:5. the method for bluetooth test as claimed in claim 1, is characterized in that, also comprises: 下位机和所述上位机之间通过抽象层的发送指令接口和指令响应接口实现相互通讯。The lower computer and the upper computer communicate with each other through the sending command interface and the command response interface of the abstraction layer. 6.一种蓝牙测试的装置,其特征在于,包括:6. A device for bluetooth testing, comprising: 接收模块,用于通过预设的交互协议接收上位机发送的带有预设格式的指令封包;The receiving module is used to receive the instruction packet with the preset format sent by the host computer through the preset interactive protocol; 解析模块,用于解析出指令封包携带的指令;A parsing module, configured to parse out instructions carried in the instruction packet; 执行模块,用于执行解析出的指令;An execution module, used to execute the parsed instructions; 返回模块,用于将执行指令的执行结果返回给上位机。The return module is used to return the execution result of the execution instruction to the host computer. 7.如权利要求6所述的蓝牙测试的装置,其特征在于,装置还包括:7. The device of bluetooth test as claimed in claim 6, is characterized in that, device also comprises: 监听模块,用于监听上位机是否发送带有预设格式的指令封包,若未监听到,则保持监听,直至接收到上位机发送的指令封包。The monitoring module is used to monitor whether the upper computer sends a command packet with a preset format, if not, keep monitoring until the command packet sent by the upper computer is received. 8.如权利要求6所述的蓝牙测试的装置,其特征在于,装置还包括:8. The device of bluetooth test as claimed in claim 6, is characterized in that, device also comprises: 判定模块,用于判定解析出的指令是否正确,若不正确,则通知上位机重新发送指令封包,直至解析出正确的指令。The judging module is used to judge whether the parsed command is correct, if not, notify the upper computer to resend the command packet until the correct command is parsed. 9.一种蓝牙测试的终端设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实现如权利要求1至5任一项所述方法的步骤。9. A terminal device for bluetooth testing, comprising a memory, a processor and a computer program stored in the memory and operable on the processor, characterized in that, when the processor executes the computer program, it realizes The steps of the method according to any one of claims 1 to 5. 10.一种蓝牙测试的计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1至5任一项所述方法的步骤。10. A computer-readable storage medium for Bluetooth testing, the computer-readable storage medium stores a computer program, characterized in that, when the computer program is executed by a processor, it realizes any one of claims 1 to 5 method steps.
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 (14)

* 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 百富计算机技术(深圳)有限公司 A switch test 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
CN113961403A (en) * 2020-07-20 2022-01-21 深圳华大智造科技股份有限公司 Test method, computer device and readable storage medium
CN114071519A (en) * 2020-07-31 2022-02-18 深圳市润安科技发展有限公司 A method, system and computer-readable storage medium for testing wristbands
CN114339705A (en) * 2021-12-30 2022-04-12 上海庆科信息技术有限公司 Module testing method, device, storage medium, terminal equipment and system
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 (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110533062B (en) * 2019-07-12 2024-04-09 平安科技(深圳)有限公司 Multi-model gate controller switching control method and device, electronic equipment and storage medium
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
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
CN113961403A (en) * 2020-07-20 2022-01-21 深圳华大智造科技股份有限公司 Test method, computer device and readable storage medium
CN114071519A (en) * 2020-07-31 2022-02-18 深圳市润安科技发展有限公司 A method, system and computer-readable storage medium for testing wristbands
CN112015607A (en) * 2020-08-06 2020-12-01 百富计算机技术(深圳)有限公司 A switch test 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
CN112383911B (en) * 2020-12-24 2023-09-29 福建新大陆支付技术有限公司 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
CN114339705A (en) * 2021-12-30 2022-04-12 上海庆科信息技术有限公司 Module testing method, device, storage medium, terminal equipment and system
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
CN102118230B (en) Tree and tabular combined notation (TTCN)-based network protocol performance testing method
CN109040210B (en) A communication method, terminal device and storage medium between applications
CN109039829A (en) A kind of network card performance testing method, apparatus, terminal and storage medium
CN112948224B (en) Data processing method, device, terminal and storage medium
CN111736866A (en) One-to-one and one-to-many compatible online upgrading method and terminal equipment
CN107748718B (en) Application testing method, device and server
CN107678949A (en) Realize the automated testing method of embedded device different communication mode
CN114064091A (en) OTA (over the air) upgrade control method and device, electronic equipment and automatic driving vehicle
CN117873853B (en) Data recording method, device, electronic equipment and medium
CN114328223A (en) An information testing method, device, equipment and storage medium
CN113535578A (en) CTS (clear to send) testing method, device and testing equipment
CN116319954A (en) Method, device, equipment and medium for interaction between server platform and terminal equipment
CN112422485A (en) Communication method and device of transmission control protocol
WO2025035936A1 (en) Esim card configuration method and configuration apparatus, and configuration device
CN107451059A (en) A kind of method for testing software and test device
CN118295954A (en) Data transmission method and communication system of processing card based on PCIe protocol
CN117785744A (en) Method and device for realizing device driver
CN117076356A (en) Instruction sending method and device, substrate management controller and storage medium
CN115525517A (en) Mixed-insertion hard disk lamp signal control system, method and device and readable storage medium
CN110457221B (en) A joint debugging test method and device based on payment anomaly
CN108540337B (en) A dual network port POS machine and its network state monitoring system and method
CN114579166A (en) Component module upgrade method, component module and financial robot
CN114339705A (en) Module testing method, device, storage medium, terminal equipment and system
WO2020228451A1 (en) Fast identity online method, fast identity online device and card reader

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20171103