CN111818498B - Bluetooth device connection method, bluetooth device and server - Google Patents
Bluetooth device connection method, bluetooth device and server Download PDFInfo
- Publication number
- CN111818498B CN111818498B CN202010718150.1A CN202010718150A CN111818498B CN 111818498 B CN111818498 B CN 111818498B CN 202010718150 A CN202010718150 A CN 202010718150A CN 111818498 B CN111818498 B CN 111818498B
- Authority
- CN
- China
- Prior art keywords
- bluetooth
- slave device
- master device
- link
- bluetooth slave
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/02—Protecting privacy or anonymity, e.g. protecting personally identifiable information [PII]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/11—Allocation or use of connection identifiers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/14—Direct-mode setup
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本发明涉及蓝牙设备的连接方法、蓝牙设备及服务器,其中,蓝牙设备的连接方法包括:蓝牙主设备获取蓝牙从设备的标识信息;判断蓝牙从设备是否为蓝牙主设备的相关设备,蓝牙从设备为蓝牙主设备的相关设备时蓝牙主设备的应用模块获取第一链接值;蓝牙主设备与蓝牙从设备建立物理链路连接并将其标识信息发送给蓝牙从设备;蓝牙从设备的应用模块向服务器发送第二链接值查询信息;当蓝牙主设备为蓝牙从设备的相关设备时,蓝牙从设备的应用模块接收服务器发送的第二链接值,第一链接值与第二链接值相同;蓝牙主设备与蓝牙从设备分别根据第一链接值和第二链接值建立连接并进行数据传输。该蓝牙设备的连接方法提高了蓝牙设备首次连接的速度。
The present invention relates to a connection method of a Bluetooth device, a Bluetooth device and a server, wherein the connection method of the Bluetooth device comprises: a Bluetooth master device acquires identification information of a Bluetooth slave device; determines whether the Bluetooth slave device is a related device of the Bluetooth master device, and when the Bluetooth slave device is a related device of the Bluetooth master device, an application module of the Bluetooth master device acquires a first link value; the Bluetooth master device establishes a physical link connection with the Bluetooth slave device and sends its identification information to the Bluetooth slave device; the application module of the Bluetooth slave device sends second link value query information to a server; when the Bluetooth master device is a related device of the Bluetooth slave device, the application module of the Bluetooth slave device receives the second link value sent by the server, and the first link value is the same as the second link value; the Bluetooth master device and the Bluetooth slave device respectively establish a connection according to the first link value and the second link value and perform data transmission. The connection method of the Bluetooth device improves the speed of the first connection of the Bluetooth device.
Description
技术领域Technical Field
本发明涉及计算机技术领域,具体涉及一种蓝牙设备的连接方法、蓝牙设备及服务器。The present invention relates to the field of computer technology, and in particular to a connection method for a Bluetooth device, a Bluetooth device and a server.
背景技术Background technique
蓝牙作为一种标准的无线通信协议,目前已经很广泛的应用在各个领域,尤其是车载短距离通信领域。目前,蓝牙设备第一次进行连接时,需要双方蓝牙模块通过多次空中交互然后计算出同样的linkkey(链接密钥),然后基于linkkey用于双方蓝牙设备进行通信,但是双方蓝牙模块计算linkkey的过程耗时较长导致蓝牙设备首次连接速度较慢,并且需要用户主动确认来完成配对流程。As a standard wireless communication protocol, Bluetooth is now widely used in various fields, especially in the field of in-vehicle short-distance communication. At present, when Bluetooth devices are connected for the first time, the Bluetooth modules of both parties need to calculate the same linkkey through multiple air interactions, and then use the linkkey to communicate between the two Bluetooth devices. However, the process of calculating the linkkey by the Bluetooth modules of both parties takes a long time, resulting in a slow first connection speed of Bluetooth devices, and the user needs to actively confirm to complete the pairing process.
发明内容Summary of the invention
为解决上述技术问题,本发明的一个目的在于提供一种蓝牙设备的连接方法,该蓝牙设备的连接方法,避免了计算能力较弱的双方蓝牙模块通过多次空中交互多次握手的方式才产生链接密钥,不仅加快了链接秘钥的计算过程而且无需人工操作即可完成配对流程,提高了蓝牙设备首次连接的速度。In order to solve the above technical problems, one object of the present invention is to provide a connection method for Bluetooth devices. The connection method for Bluetooth devices avoids the situation where the Bluetooth modules of both parties with weaker computing power generate link keys through multiple air interactions and multiple handshakes. This not only speeds up the calculation process of the link key, but also completes the pairing process without manual operation, thereby improving the speed of the first connection of the Bluetooth device.
本发明的另一个目的在于还提供一种蓝牙设备的连接方法。Another object of the present invention is to provide a connection method for a Bluetooth device.
本发明的再一个目的在于提供一种实现上述蓝牙设备的连接方法的适用于蓝牙主设备的蓝牙设备。Another object of the present invention is to provide a Bluetooth device applicable to a Bluetooth master device for implementing the above-mentioned Bluetooth device connection method.
本发明的再一个目的在于提供一种实现上述蓝牙设备的连接方法的适用于蓝牙从设备的蓝牙设备。Another object of the present invention is to provide a Bluetooth device applicable to a Bluetooth slave device for implementing the above-mentioned Bluetooth device connection method.
本发明的又一个目的在于提供一种实现上述蓝牙设备的连接方法的服务器。Another object of the present invention is to provide a server for implementing the above-mentioned connection method of Bluetooth devices.
为达到上述目的,本发明采用如下技术方案:In order to achieve the above object, the present invention adopts the following technical scheme:
根据本发明第一方面实施例的蓝牙设备的连接方法,包括:A method for connecting a Bluetooth device according to an embodiment of the first aspect of the present invention includes:
蓝牙主设备获取蓝牙从设备的标识信息;The Bluetooth master device obtains the identification information of the Bluetooth slave device;
判断所述蓝牙从设备是否为所述蓝牙主设备的相关设备,当所述蓝牙从设备为所述蓝牙主设备的相关设备时,所述蓝牙主设备的应用模块获取与所述蓝牙从设备的标识信息相对应的第一链接值;Determine whether the Bluetooth slave device is a related device of the Bluetooth master device, and when the Bluetooth slave device is a related device of the Bluetooth master device, the application module of the Bluetooth master device acquires a first link value corresponding to the identification information of the Bluetooth slave device;
所述蓝牙主设备与所述蓝牙从设备建立物理链路连接,并将其标识信息发送给所述蓝牙从设备;The Bluetooth master device establishes a physical link connection with the Bluetooth slave device, and sends its identification information to the Bluetooth slave device;
所述蓝牙从设备的应用模块向服务器发送第二链接值查询信息,所述第二链接值查询信息包括所述蓝牙主设备的标识信息,用以请求所述服务器根据所述蓝牙主设备的标识信息确定所述蓝牙主设备是否为所述蓝牙从设备的相关设备,并当所述蓝牙主设备为所述蓝牙从设备的相关设备时向所述蓝牙从设备的应用模块发送所述第二链接值;The application module of the Bluetooth slave device sends second link value query information to the server, where the second link value query information includes the identification information of the Bluetooth master device, and is used to request the server to determine whether the Bluetooth master device is a related device of the Bluetooth slave device according to the identification information of the Bluetooth master device, and send the second link value to the application module of the Bluetooth slave device when the Bluetooth master device is a related device of the Bluetooth slave device;
当所述蓝牙主设备为所述蓝牙从设备的相关设备时,所述蓝牙从设备的应用模块接收所述服务器发送的第二链接值,所述第一链接值与所述第二链接值相同;When the Bluetooth master device is a related device of the Bluetooth slave device, the application module of the Bluetooth slave device receives the second link value sent by the server, and the first link value is the same as the second link value;
所述蓝牙主设备与所述蓝牙从设备分别根据第一链接值和第二链接值建立连接并进行数据传输。The Bluetooth master device and the Bluetooth slave device establish a connection and perform data transmission according to the first link value and the second link value respectively.
优选地,当所述蓝牙主设备与所述服务器连接时,所述判断所述蓝牙从设备是否为所述蓝牙主设备的相关设备,当所述蓝牙从设备为所述蓝牙主设备的相关设备时,所述蓝牙主设备的应用模块获取与所述蓝牙从设备的标识信息相对应的第一链接值,具体包括:Preferably, when the Bluetooth master device is connected to the server, the determining whether the Bluetooth slave device is a related device of the Bluetooth master device, when the Bluetooth slave device is a related device of the Bluetooth master device, the application module of the Bluetooth master device acquiring a first link value corresponding to the identification information of the Bluetooth slave device, specifically includes:
所述蓝牙主设备的应用模块向所述服务器发送第一链接值查询信息,所述第一链接值查询信息包括所述蓝牙从设备的标识信息,用以请求所述服务器根据所述蓝牙从设备的标识信息确定所述蓝牙从设备是否为所述蓝牙主设备的相关设备,并当所述蓝牙从设备为所述蓝牙主设备的相关设备时向所述蓝牙主设备的应用模块发送所述第一链接值;The application module of the Bluetooth master device sends first link value query information to the server, where the first link value query information includes the identification information of the Bluetooth slave device, and is used to request the server to determine whether the Bluetooth slave device is a related device of the Bluetooth master device according to the identification information of the Bluetooth slave device, and send the first link value to the application module of the Bluetooth master device when the Bluetooth slave device is a related device of the Bluetooth master device;
当所述蓝牙从设备为所述蓝牙主设备的相关设备时,所述蓝牙主设备的应用模块接收所述服务器发送的与所述蓝牙从设备的标识信息相对应的随机的第一链接值。When the Bluetooth slave device is a related device of the Bluetooth master device, the application module of the Bluetooth master device receives a random first link value corresponding to the identification information of the Bluetooth slave device and sent by the server.
优选地,所述第一链接值为第一链接密钥计算值,所述第二链接值为第二链接密钥计算值,Preferably, the first link value is a first link key calculation value, and the second link value is a second link key calculation value.
所述蓝牙主设备与所述蓝牙从设备分别根据第一链接值和第二链接值建立连接并进行数据传输,具体包括:The Bluetooth master device and the Bluetooth slave device establish a connection and perform data transmission according to the first link value and the second link value respectively, specifically including:
所述蓝牙主设备的应用模块根据第一链接密钥计算值计算得到第一链接密钥,且所述蓝牙从设备的应用模块根据第二链接密钥计算值计算得到第二链接密钥,所述蓝牙主设备与所述蓝牙从设备分别根据第一链接密钥和第二链接密钥建立连接并进行数据传输。The application module of the Bluetooth master device calculates the first link key according to the first link key calculation value, and the application module of the Bluetooth slave device calculates the second link key according to the second link key calculation value. The Bluetooth master device and the Bluetooth slave device establish a connection and perform data transmission according to the first link key and the second link key respectively.
优选地,所述第一链接值为第一链接密钥,所述第二链接值为第二链接密钥。Preferably, the first link value is a first link key, and the second link value is a second link key.
优选地,当所述蓝牙主设备与所述服务器断开连接时,所述第一链接值为第一链接密钥计算值,所述第二链接值为第二链接密钥计算值,Preferably, when the Bluetooth master device is disconnected from the server, the first link value is a first link key calculation value, the second link value is a second link key calculation value,
所述判断所述蓝牙从设备是否为所述蓝牙主设备的相关设备,当所述蓝牙从设备为所述蓝牙主设备的相关设备时,所述蓝牙主设备的应用模块获取与所述蓝牙从设备的标识信息相对应的第一链接值,具体包括:The determining whether the Bluetooth slave device is a related device of the Bluetooth master device, when the Bluetooth slave device is a related device of the Bluetooth master device, the application module of the Bluetooth master device acquiring a first link value corresponding to the identification information of the Bluetooth slave device specifically includes:
所述蓝牙主设备的应用模块根据所述蓝牙从设备的标识信息判断所述蓝牙从设备是否为所述蓝牙主设备的相关设备;The application module of the Bluetooth master device determines whether the Bluetooth slave device is a related device of the Bluetooth master device according to the identification information of the Bluetooth slave device;
当所述蓝牙从设备为所述蓝牙主设备的相关设备时,所述蓝牙主设备的应用模块根据其中存储的蓝牙从设备的标识信息与链接密钥计算值的对应关系获取所述蓝牙从设备的标识信息对应的固定的第一链接密钥计算值;When the Bluetooth slave device is a related device of the Bluetooth master device, the application module of the Bluetooth master device obtains a fixed first link key calculation value corresponding to the identification information of the Bluetooth slave device according to a correspondence relationship between the identification information of the Bluetooth slave device and the link key calculation value stored therein;
所述蓝牙主设备与所述蓝牙从设备分别根据第一链接值和第二链接值建立连接并进行数据传输,具体包括:The Bluetooth master device and the Bluetooth slave device establish a connection and perform data transmission according to the first link value and the second link value respectively, specifically including:
所述蓝牙主设备的应用模块根据第一链接密钥计算值计算得到第一链接密钥,且所述蓝牙从设备的应用模块根据第二链接密钥计算值计算得到第二链接密钥,所述蓝牙主设备与所述蓝牙从设备分别根据第一链接密钥和第二链接密钥建立连接并进行数据传输。The application module of the Bluetooth master device calculates the first link key according to the first link key calculation value, and the application module of the Bluetooth slave device calculates the second link key according to the second link key calculation value. The Bluetooth master device and the Bluetooth slave device establish a connection and perform data transmission according to the first link key and the second link key respectively.
优选地,在所述蓝牙从设备的应用模块向服务器发送第二链接值查询信息之前,还包括:Preferably, before the application module of the Bluetooth slave device sends the second link value query information to the server, the method further includes:
所述蓝牙从设备的应用模块根据所述蓝牙主设备的标识信息判断所述蓝牙主设备是否为所述蓝牙从设备的可能相关设备;The application module of the Bluetooth slave device determines whether the Bluetooth master device is a possible related device of the Bluetooth slave device according to the identification information of the Bluetooth master device;
当所述蓝牙主设备为所述蓝牙从设备的可能相关设备时,所述蓝牙从设备的应用模块向服务器发送第二链接值查询信息。When the Bluetooth master device is a possible related device of the Bluetooth slave device, the application module of the Bluetooth slave device sends second link value query information to the server.
根据本发明第二方面实施例的蓝牙设备的连接方法,包括:A method for connecting a Bluetooth device according to a second embodiment of the present invention includes:
所述服务器接收所述蓝牙从设备的应用模块发送的第二链接值查询信息,所述第二链接值查询信息包括所述蓝牙主设备的标识信息;The server receives second link value query information sent by the application module of the Bluetooth slave device, where the second link value query information includes identification information of the Bluetooth master device;
所述服务器根据所述蓝牙主设备的标识信息确定所述蓝牙主设备是否为所述蓝牙从设备的相关设备;The server determines, according to the identification information of the Bluetooth master device, whether the Bluetooth master device is a related device of the Bluetooth slave device;
当所述蓝牙主设备为所述蓝牙从设备的相关设备时,所述服务器向所述蓝牙从设备的应用模块发送所述第二链接值。When the Bluetooth master device is a related device of the Bluetooth slave device, the server sends the second link value to an application module of the Bluetooth slave device.
优选地,所述服务器接收所述蓝牙主设备的应用模块发送的第一链接值查询信息,所述第一链接值查询信息包括所述蓝牙从设备的标识信息;Preferably, the server receives first link value query information sent by the application module of the Bluetooth master device, wherein the first link value query information includes identification information of the Bluetooth slave device;
所述服务器根据所述蓝牙从设备的标识信息确定所述蓝牙从设备是否为所述蓝牙主设备的相关设备;The server determines, according to the identification information of the Bluetooth slave device, whether the Bluetooth slave device is a related device of the Bluetooth master device;
当所述蓝牙从设备为所述蓝牙主设备的相关设备时,所述服务器向所述蓝牙主设备的应用模块发送与所述蓝牙从设备的标识信息相对应的第一链接值。When the Bluetooth slave device is a related device of the Bluetooth master device, the server sends a first link value corresponding to the identification information of the Bluetooth slave device to an application module of the Bluetooth master device.
根据本发明第三方面实施例的蓝牙设备,适用于蓝牙主设备,包括:A Bluetooth device according to an embodiment of a third aspect of the present invention is applicable to a Bluetooth master device, comprising:
第一获取模块,用于所述蓝牙主设备获取蓝牙从设备的标识信息;A first acquisition module, used for the Bluetooth master device to acquire identification information of the Bluetooth slave device;
第二获取模块,用于当所述蓝牙从设备为所述蓝牙主设备的相关设备时,所述蓝牙主设备的应用模块获取与所述蓝牙从设备的标识信息相对应的第一链接值;A second acquisition module, configured to, when the Bluetooth slave device is a related device of the Bluetooth master device, enable the application module of the Bluetooth master device to acquire a first link value corresponding to the identification information of the Bluetooth slave device;
第一连接模块和第一发送模块,用于所述蓝牙主设备与所述蓝牙从设备建立物理链路连接,并将其标识信息发送给所述蓝牙从设备;A first connecting module and a first sending module, used for the Bluetooth master device to establish a physical link connection with the Bluetooth slave device, and send its identification information to the Bluetooth slave device;
第二连接模块和第一传输模块,用于所述蓝牙主设备与所述蓝牙从设备分别根据第一链接值和第二链接值建立连接并进行数据传输。The second connection module and the first transmission module are used for the Bluetooth master device and the Bluetooth slave device to establish a connection and perform data transmission according to the first link value and the second link value respectively.
优选地,所述蓝牙设备还包括:Preferably, the Bluetooth device further includes:
第二信息发送模块,用于所述蓝牙主设备的应用模块向所述服务器发送第一链接值查询信息,所述第一链接值查询信息包括所述蓝牙从设备的标识信息;A second information sending module, used for the application module of the Bluetooth master device to send first link value query information to the server, where the first link value query information includes the identification information of the Bluetooth slave device;
所述第二获取模块具体用于,当所述蓝牙从设备为所述蓝牙主设备的相关设备时,所述蓝牙主设备的应用模块接收所述服务器发送的与所述蓝牙从设备的标识信息相对应的随机的第一链接值。The second acquisition module is specifically configured to, when the Bluetooth slave device is a related device of the Bluetooth master device, enable the application module of the Bluetooth master device to receive a random first link value corresponding to the identification information of the Bluetooth slave device and sent by the server.
优选地,所述第一链接值为第一链接密钥计算值,所述第二链接值为第二链接密钥计算值,Preferably, the first link value is a first link key calculation value, and the second link value is a second link key calculation value.
所述第二连接模块和第一传输模块具体用于,所述蓝牙主设备的应用模块根据第一链接密钥计算值计算得到第一链接密钥,所述蓝牙主设备与所述蓝牙从设备分别根据第一链接密钥和第二链接密钥建立连接并进行数据传输。The second connection module and the first transmission module are specifically used for the application module of the Bluetooth master device to calculate the first link key according to the first link key calculation value, and the Bluetooth master device and the Bluetooth slave device to establish a connection and perform data transmission according to the first link key and the second link key respectively.
优选地,所述第一链接值为第一链接密钥计算值,所述第二链接值为第二链接密钥计算值,所述蓝牙设备还包括:Preferably, the first link value is a first link key calculation value, the second link value is a second link key calculation value, and the Bluetooth device further includes:
第二判断模块,用于所述蓝牙主设备的应用模块根据所述蓝牙从设备的标识信息判断所述蓝牙从设备是否为所述蓝牙主设备的相关设备;A second judgment module, used for the application module of the Bluetooth master device to judge whether the Bluetooth slave device is a related device of the Bluetooth master device according to the identification information of the Bluetooth slave device;
所述第二获取模块具体用于,当所述蓝牙从设备为所述蓝牙主设备的相关设备时,所述蓝牙主设备的应用模块根据其中存储的蓝牙从设备的标识信息与链接密钥计算值的对应关系获取所述蓝牙从设备的标识信息对应的固定的第一链接密钥计算值;The second acquisition module is specifically configured to, when the Bluetooth slave device is a related device of the Bluetooth master device, obtain, by the application module of the Bluetooth master device, a fixed first link key calculation value corresponding to the identification information of the Bluetooth slave device according to a correspondence between the identification information of the Bluetooth slave device and the link key calculation value stored therein;
所述第二连接模块和第一传输模块具体用于,所述蓝牙主设备的应用模块根据第一链接密钥计算值计算得到第一链接密钥,所述蓝牙主设备与所述蓝牙从设备分别根据第一链接密钥和第二链接密钥建立连接并进行数据传输。The second connection module and the first transmission module are specifically used for the application module of the Bluetooth master device to calculate the first link key according to the first link key calculation value, and the Bluetooth master device and the Bluetooth slave device to establish a connection and perform data transmission according to the first link key and the second link key respectively.
根据本发明第四方面实施例的蓝牙设备,适用于蓝牙从设备,包括:A Bluetooth device according to an embodiment of a fourth aspect of the present invention is applicable to a Bluetooth slave device, comprising:
第三连接模块和第一接收模块,用于与所述蓝牙主设备建立物理链路连接,并接收所述蓝牙主设备发送的所述蓝牙主设备的标识信息;The third connection module and the first receiving module are used to establish a physical link connection with the Bluetooth master device and receive identification information of the Bluetooth master device sent by the Bluetooth master device;
第一信息发送模块,用于所述蓝牙从设备向服务器发送第二链接值查询信息,所述第二链接值查询信息包括所述蓝牙主设备的标识信息;A first information sending module, configured for the Bluetooth slave device to send second link value query information to a server, wherein the second link value query information includes identification information of the Bluetooth master device;
第二接收模块,用于当所述蓝牙主设备为所述蓝牙从设备的相关设备时,所述蓝牙从设备的应用模块接收所述服务器发送第二链接值;A second receiving module, configured to, when the Bluetooth master device is a related device of the Bluetooth slave device, receive, by the application module of the Bluetooth slave device, a second link value sent by the server;
第四连接模块和第二传输模块,用于与所述蓝牙主设备分别根据第二链接值和第一链接值建立连接并进行数据传输。The fourth connection module and the second transmission module are used to establish a connection with the Bluetooth master device according to the second link value and the first link value respectively and perform data transmission.
优选地,优选地,所述第一链接值为第一链接密钥计算值,所述第二链接值为第二链接密钥计算值,Preferably, the first link value is a first link key calculation value, the second link value is a second link key calculation value,
所述第四连接模块和第二传输模块具体用于,所述蓝牙从设备的应用模块根据第二链接密钥计算值计算得到第二链接密钥,所述蓝牙从设备与所述蓝牙主设备分别根据第二链接密钥和第一链接密钥建立连接并进行数据传输。The fourth connection module and the second transmission module are specifically used for the application module of the Bluetooth slave device to calculate the second link key according to the second link key calculation value, and the Bluetooth slave device and the Bluetooth master device to establish a connection and perform data transmission according to the second link key and the first link key respectively.
优选地,所述蓝牙设备还包括:Preferably, the Bluetooth device further includes:
第三判断模块,用于所述蓝牙从设备的应用模块根据所述蓝牙主设备的标识信息判断所述蓝牙主设备是否为所述蓝牙从设备的可能相关设备。The third judgment module is used for the application module of the Bluetooth slave device to judge whether the Bluetooth master device is a possible related device of the Bluetooth slave device according to the identification information of the Bluetooth master device.
根据本发明第五方面实施例的服务器,包括:A server according to a fifth aspect of the present invention includes:
第三接收模块,用于所述服务器接收所述蓝牙从设备的应用模块发送的第二链接值查询信息,所述第二链接值查询信息包括所述蓝牙主设备的标识信息;A third receiving module, configured for receiving, by the server, second link value query information sent by the application module of the Bluetooth slave device, wherein the second link value query information includes identification information of the Bluetooth master device;
第一判断模块,用于所述服务器根据所述蓝牙主设备的标识信息确定所述蓝牙主设备是否为所述蓝牙从设备的相关设备;A first judgment module, configured for the server to determine whether the Bluetooth master device is a related device of the Bluetooth slave device according to the identification information of the Bluetooth master device;
第二发送模块,用于当所述蓝牙主设备为所述蓝牙从设备的相关设备时,所述服务器向所述蓝牙从设备的应用模块发送所述第二链接值。The second sending module is used for, when the Bluetooth master device is a related device of the Bluetooth slave device, for the server to send the second link value to the application module of the Bluetooth slave device.
优选地,所述服务器还包括:Preferably, the server further includes:
第四接收模块,用于所述服务器接收所述蓝牙主设备的应用模块发送的第一链接值查询信息,所述第一链接值查询信息包括所述蓝牙从设备的标识信息;A fourth receiving module, configured to receive, by the server, first link value query information sent by the application module of the Bluetooth master device, wherein the first link value query information includes identification information of the Bluetooth slave device;
第四判断模块,用于所述服务器根据所述蓝牙从设备的标识信息确定所述蓝牙从设备是否为所述蓝牙主设备的相关设备;A fourth judgment module, configured for the server to determine whether the Bluetooth slave device is a related device of the Bluetooth master device according to the identification information of the Bluetooth slave device;
第三发送模块,用于当所述蓝牙从设备为所述蓝牙主设备的相关设备时,所述服务器向所述蓝牙主设备的应用模块发送与所述蓝牙从设备的标识信息相对应的第一链接值。The third sending module is used for, when the Bluetooth slave device is a related device of the Bluetooth master device, for the server to send a first link value corresponding to the identification information of the Bluetooth slave device to the application module of the Bluetooth master device.
本发明的有益效果在于:The beneficial effects of the present invention are:
通过判断蓝牙从设备是否为蓝牙主设备的相关设备,当蓝牙从设备为蓝牙主设备的相关设备时蓝牙主设备的应用模块获取与蓝牙从设备的标识信息相对应的第一链接值,并通过服务器确定蓝牙主设备是否为蓝牙从设备的相关设备,当蓝牙主设备为蓝牙从设备的相关设备时蓝牙从设备的应用模块接收服务器发送的第二链接值,本发明实施例的蓝牙设备的连接方法,避免了计算能力较弱的双方蓝牙模块通过多次空中交互多次握手的方式才产生链接密钥,不仅加快了链接秘钥的计算过程而且无需人工操作即可完成配对流程,提高了蓝牙设备首次连接的速度。By judging whether the Bluetooth slave device is a related device of the Bluetooth master device, when the Bluetooth slave device is a related device of the Bluetooth master device, the application module of the Bluetooth master device obtains a first link value corresponding to the identification information of the Bluetooth slave device, and determines through a server whether the Bluetooth master device is a related device of the Bluetooth slave device, and when the Bluetooth master device is a related device of the Bluetooth slave device, the application module of the Bluetooth slave device receives a second link value sent by the server. The connection method of the Bluetooth device in the embodiment of the present invention avoids the situation that the Bluetooth modules of both parties with weak computing power generate link keys through multiple air interactions and multiple handshakes, which not only speeds up the calculation process of the link key but also completes the pairing process without manual operation, thereby improving the speed of the first connection of the Bluetooth device.
上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,并可依照说明书的内容予以实施,以下以本发明的较佳实施例并配合附图详细说明如后。The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention and implement it according to the contents of the specification, the following is a detailed description of the preferred embodiments of the present invention in conjunction with the accompanying drawings.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1为本发明实施例的蓝牙设备的连接的一种应用场景示意图;FIG1 is a schematic diagram of an application scenario of the connection of Bluetooth devices according to an embodiment of the present invention;
图2为本发明实施例的基于蓝牙设备的蓝牙设备的连接方法的流程图;2 is a flow chart of a method for connecting a Bluetooth device based on a Bluetooth device according to an embodiment of the present invention;
图3为本发明实施例的基于服务器的蓝牙设备的连接方法的流程图;3 is a flow chart of a method for connecting a Bluetooth device based on a server according to an embodiment of the present invention;
图4为本发明实施例的蓝牙主设备的结构示意图;FIG4 is a schematic diagram of the structure of a Bluetooth master device according to an embodiment of the present invention;
图5为本发明实施例的服务器的结构示意图。FIG. 5 is a schematic diagram of the structure of a server according to an embodiment of the present invention.
具体实施方式Detailed ways
下面结合附图和实施例,对本发明的具体实施方式作进一步详细描述。以下实施例仅用于说明本发明,但不用来限制本发明的范围。The specific implementation of the present invention is further described in detail below in conjunction with the accompanying drawings and examples. The following examples are only used to illustrate the present invention, but are not intended to limit the scope of the present invention.
可以理解的是,如本文所使用的,术语“模块””可以指代或者包括专用集成电路(ASIC)、电子电路、执行一个或多个软件或固件程序的处理器(共享、专用、或群组)和/或存储器、组合逻辑电路、和/或提供所描述的功能的其他适当硬件组件,或者可以作为这些硬件组件的一部分。It will be understood that, as used herein, the term "module" may refer to or include an application specific integrated circuit (ASIC), an electronic circuit, a processor (shared, dedicated, or group) and/or memory that executes one or more software or firmware programs, a combinational logic circuit, and/or other appropriate hardware components that provide the described functionality, or may be part of these hardware components.
可以理解的是,在本发明各实施例中,处理器可以是微处理器、数字信号处理器、微控制器等,和/或其任何组合。根据另一个方面,所述处理器可以是单核处理器,多核处理器等,和/或其任何组合。It is understood that in various embodiments of the present invention, the processor may be a microprocessor, a digital signal processor, a microcontroller, etc., and/or any combination thereof. According to another aspect, the processor may be a single-core processor, a multi-core processor, etc., and/or any combination thereof.
如图1所示,根据本发明实施例的本申请技术方案的一种应用场景示意图,蓝牙主设备可以是车载蓝牙,蓝牙从设备可以是手机蓝牙,当车辆11的车载蓝牙与手机12的手机蓝牙第一次连接时,现有的蓝牙设备的连接方法连接速度较慢且需要用户主动确认来完成配对流程,本发明的车载蓝牙与手机蓝牙第一次连接时,车载蓝牙获取手机蓝牙的标识信息,判断手机蓝牙是否为车载蓝牙的相关设备,当手机蓝牙为车载蓝牙的相关设备时,车载蓝牙的应用模块获取与手机蓝牙的标识信息相对应的第一链接值,然后车载蓝牙与手机蓝牙建立物理链路连接并将其标识信息发送给手机蓝牙,手机蓝牙的应用模块向服务器发送第二链接值查询信息,第二链接值查询信息包括车载蓝牙的标识信息,当车载蓝牙为手机蓝牙的相关设备时,手机蓝牙的应用模块接收服务器发送的第二链接值且第一链接值与第二链接值相同,车载蓝牙与手机蓝牙分别根据第一链接值和第二链接值建立连接并进行数据传输,无需人工操作即可完成配对流程,且提高了蓝牙设备首次连接的速度。As shown in FIG1 , according to an application scenario schematic diagram of the technical solution of the present application according to an embodiment of the present invention, the Bluetooth master device may be a vehicle-mounted Bluetooth, and the Bluetooth slave device may be a mobile phone Bluetooth. When the vehicle-mounted Bluetooth of the vehicle 11 is connected to the mobile phone Bluetooth of the mobile phone 12 for the first time, the connection speed of the existing Bluetooth device connection method is slow and requires the user to actively confirm to complete the pairing process. When the vehicle-mounted Bluetooth of the present invention is connected to the mobile phone Bluetooth for the first time, the vehicle-mounted Bluetooth obtains the identification information of the mobile phone Bluetooth, and determines whether the mobile phone Bluetooth is a related device of the vehicle-mounted Bluetooth. When the mobile phone Bluetooth is a related device of the vehicle-mounted Bluetooth, the application module of the vehicle-mounted Bluetooth obtains the first link value corresponding to the identification information of the mobile phone Bluetooth, and then the vehicle-mounted Bluetooth establishes a physical link connection with the mobile phone Bluetooth and sends its identification information to the mobile phone Bluetooth. The application module of the mobile phone Bluetooth sends second link value query information to the server, and the second link value query information includes the identification information of the vehicle-mounted Bluetooth. When the vehicle-mounted Bluetooth is a related device of the mobile phone Bluetooth, the application module of the mobile phone Bluetooth receives the second link value sent by the server and the first link value is the same as the second link value. The vehicle-mounted Bluetooth and the mobile phone Bluetooth respectively establish a connection according to the first link value and the second link value and perform data transmission. The pairing process can be completed without manual operation, and the speed of the first connection of the Bluetooth device is improved.
如图2所示,根据本发明实施例的基于蓝牙设备的蓝牙设备的连接方法,包括如下步骤:As shown in FIG. 2 , a method for connecting a Bluetooth device based on a Bluetooth device according to an embodiment of the present invention includes the following steps:
步骤S1,蓝牙主设备获取蓝牙从设备的标识信息。Step S1: The Bluetooth master device obtains identification information of the Bluetooth slave device.
具体地,标识信息可以是蓝牙地址,当然也可以是其它具有唯一标识的信息,当标识信息为蓝牙地址时,蓝牙主设备可以通过蓝牙搜索获取到蓝牙从设备的标识信息。Specifically, the identification information may be a Bluetooth address, or other information with a unique identification. When the identification information is a Bluetooth address, the Bluetooth master device may obtain the identification information of the Bluetooth slave device through a Bluetooth search.
步骤S2,判断所述蓝牙从设备是否为所述蓝牙主设备的相关设备,当所述蓝牙从设备为所述蓝牙主设备的相关设备时,所述蓝牙主设备的应用模块获取与所述蓝牙从设备的标识信息相对应的第一链接值。Step S2, determining whether the Bluetooth slave device is a related device of the Bluetooth master device, and when the Bluetooth slave device is a related device of the Bluetooth master device, the application module of the Bluetooth master device acquires a first link value corresponding to the identification information of the Bluetooth slave device.
优选地,当蓝牙主设备与服务器连接时,所述步骤S2具体包括:Preferably, when the Bluetooth master device is connected to the server, step S2 specifically includes:
步骤S21,蓝牙主设备的应用模块向服务器发送第一链接值查询信息,第一链接值查询信息包括蓝牙从设备的标识信息,用以请求服务器根据蓝牙从设备的标识信息确定蓝牙从设备是否为蓝牙主设备的相关设备,并当蓝牙从设备为蓝牙主设备的相关设备时向蓝牙主设备的应用模块发送第一链接值;Step S21, the application module of the Bluetooth master device sends first link value query information to the server, the first link value query information includes identification information of the Bluetooth slave device, and is used to request the server to determine whether the Bluetooth slave device is a related device of the Bluetooth master device according to the identification information of the Bluetooth slave device, and send the first link value to the application module of the Bluetooth master device when the Bluetooth slave device is a related device of the Bluetooth master device;
具体地,蓝牙主设备和蓝牙从设备均安装有专有应用客户端并在应用客户端进行信息注册,从而服务器保存有蓝牙主设备和蓝牙从设备的注册信息,当蓝牙主设备与服务器连接时,蓝牙主设备的应用模块向服务器发送包括蓝牙从设备的标识信息的第一链接值查询信息,服务器依据保存的蓝牙主设备和蓝牙从设备的注册信息,并根据蓝牙从设备的标识信息确定蓝牙从设备是否为蓝牙主设备的相关设备。Specifically, both the Bluetooth master device and the Bluetooth slave device are installed with a proprietary application client and register information in the application client, so that the server saves the registration information of the Bluetooth master device and the Bluetooth slave device. When the Bluetooth master device is connected to the server, the application module of the Bluetooth master device sends a first link value query message including the identification information of the Bluetooth slave device to the server. The server determines whether the Bluetooth slave device is a related device of the Bluetooth master device based on the saved registration information of the Bluetooth master device and the Bluetooth slave device and the identification information of the Bluetooth slave device.
步骤S22,当蓝牙从设备为蓝牙主设备的相关设备时,蓝牙主设备的应用模块接收服务器发送的与蓝牙从设备的标识信息相对应的随机的第一链接值。Step S22: when the Bluetooth slave device is a related device of the Bluetooth master device, the application module of the Bluetooth master device receives a random first link value corresponding to the identification information of the Bluetooth slave device and sent by the server.
由此,蓝牙主设备的应用模块能够较为快速且方便的获取第一链接值,且由于蓝牙主设备的应用模块获取的为随机的第一链接值,便于蓝牙主设备和蓝牙从设备更为安全的进行数据传输。Therefore, the application module of the Bluetooth master device can obtain the first link value relatively quickly and conveniently, and because the application module of the Bluetooth master device obtains a random first link value, the Bluetooth master device and the Bluetooth slave device can perform data transmission more safely.
步骤S3,所述蓝牙主设备与所述蓝牙从设备建立物理链路连接,并将其标识信息发送给所述蓝牙从设备。Step S3: the Bluetooth master device establishes a physical link connection with the Bluetooth slave device, and sends its identification information to the Bluetooth slave device.
步骤S4,所述蓝牙从设备的应用模块向服务器发送第二链接值查询信息,所述第二链接值查询信息包括所述蓝牙主设备的标识信息,用以请求所述服务器根据所述蓝牙主设备的标识信息确定所述蓝牙主设备是否为所述蓝牙从设备的相关设备,并当所述蓝牙主设备为所述蓝牙从设备的相关设备时向所述蓝牙从设备的应用模块发送所述第二链接值。Step S4, the application module of the Bluetooth slave device sends second link value query information to the server, where the second link value query information includes the identification information of the Bluetooth master device, and is used to request the server to determine whether the Bluetooth master device is a related device of the Bluetooth slave device based on the identification information of the Bluetooth master device, and send the second link value to the application module of the Bluetooth slave device when the Bluetooth master device is a related device of the Bluetooth slave device.
具体地,服务器保存有蓝牙主设备和蓝牙从设备的注册信息,当蓝牙从设备的应用模块向服务器发送包括蓝牙主设备的标识信息的第二链接值查询信息时,服务器依据保存的蓝牙主设备和蓝牙从设备的注册信息,并根据蓝牙主设备的标识信息确定蓝牙主设备是否为蓝牙从设备的相关设备。Specifically, the server saves the registration information of the Bluetooth master device and the Bluetooth slave device. When the application module of the Bluetooth slave device sends the second link value query information including the identification information of the Bluetooth master device to the server, the server determines whether the Bluetooth master device is a related device of the Bluetooth slave device based on the saved registration information of the Bluetooth master device and the Bluetooth slave device and the identification information of the Bluetooth master device.
优选地,步骤S4中,在蓝牙从设备的应用模块向服务器发送第二链接值查询信息之前,还包括:Preferably, in step S4, before the application module of the Bluetooth slave device sends the second link value query information to the server, it also includes:
蓝牙从设备的应用模块根据蓝牙主设备的标识信息判断蓝牙主设备是否为蓝牙从设备的可能相关设备;The application module of the Bluetooth slave device determines whether the Bluetooth master device is a possible related device of the Bluetooth slave device according to the identification information of the Bluetooth master device;
当蓝牙主设备为蓝牙从设备的可能相关设备时,蓝牙从设备的应用模块向服务器发送第二链接值查询信息。When the Bluetooth master device is a possible related device of the Bluetooth slave device, the application module of the Bluetooth slave device sends second link value query information to the server.
具体地,当标识信息为蓝牙地址时,蓝牙从设备的应用模块根据蓝牙主设备的蓝牙地址的前三个字节判断蓝牙主设备的生产厂商,并根据蓝牙从设备在应用客户端进行信息注册时保存的与其相关的蓝牙主设备的生产厂商信息,确定蓝牙主设备是否为蓝牙从设备的可能相关设备。Specifically, when the identification information is a Bluetooth address, the application module of the Bluetooth slave device determines the manufacturer of the Bluetooth master device based on the first three bytes of the Bluetooth address of the Bluetooth master device, and determines whether the Bluetooth master device is a possible related device of the Bluetooth slave device based on the manufacturer information of the Bluetooth master device related to the Bluetooth slave device saved when the Bluetooth slave device registers information on the application client.
蓝牙从设备的应用模块先根据蓝牙主设备的标识信息初步判断蓝牙主设备是否为蓝牙从设备的可能相关设备,当蓝牙主设备为蓝牙从设备的可能相关设备时,蓝牙从设备的应用模块才向服务器发送第二链接值查询信息,由此便于减小服务器的工作量,避免服务器过于繁忙。The application module of the Bluetooth slave device first preliminarily determines whether the Bluetooth master device is a possible related device of the Bluetooth slave device based on the identification information of the Bluetooth master device. When the Bluetooth master device is a possible related device of the Bluetooth slave device, the application module of the Bluetooth slave device sends the second link value query information to the server, thereby reducing the workload of the server and avoiding the server being too busy.
步骤S5,当所述蓝牙主设备为所述蓝牙从设备的相关设备时,所述蓝牙从设备的应用模块接收所述服务器发送的第二链接值,所述第一链接值与所述第二链接值相同。Step S5: when the Bluetooth master device is a related device of the Bluetooth slave device, the application module of the Bluetooth slave device receives a second link value sent by the server, and the first link value is the same as the second link value.
步骤S6,所述蓝牙主设备与所述蓝牙从设备分别根据第一链接值和第二链接值建立连接并进行数据传输。Step S6: the Bluetooth master device and the Bluetooth slave device establish a connection and perform data transmission according to the first link value and the second link value respectively.
优选地,当蓝牙主设备与服务器连接时,第一链接值为第一链接密钥计算值,第二链接值为第二链接密钥计算值,Preferably, when the Bluetooth master device is connected to the server, the first link value is a first link key calculation value, and the second link value is a second link key calculation value.
所述步骤S6,具体包括:The step S6 specifically includes:
蓝牙主设备的应用模块根据第一链接密钥计算值计算得到第一链接密钥,且蓝牙从设备的应用模块根据第二链接密钥计算值计算得到第二链接密钥,蓝牙主设备与蓝牙从设备分别根据第一链接密钥和第二链接密钥建立连接并进行数据传输。The application module of the Bluetooth master device calculates the first link key according to the first link key calculation value, and the application module of the Bluetooth slave device calculates the second link key according to the second link key calculation value. The Bluetooth master device and the Bluetooth slave device establish a connection and perform data transmission according to the first link key and the second link key respectively.
具体地,蓝牙主设备的应用模块可以根据第一链接密钥计算值通过哈希算法或其它算法得到第一链接密钥,蓝牙从设备的应用模块根据第二链接密钥计算值通过与计算得到第一链接密钥相同的算法得到第二链接密钥。Specifically, the application module of the Bluetooth master device can obtain the first link key through a hash algorithm or other algorithms based on the first link key calculation value, and the application module of the Bluetooth slave device can obtain the second link key through the same algorithm as the first link key calculation value based on the second link key calculation value.
优选地,当蓝牙主设备与服务器连接时,第一链接值为第一链接密钥,第二链接值为第二链接密钥。Preferably, when the Bluetooth master device is connected to the server, the first link value is the first link key, and the second link value is the second link key.
具体地,蓝牙主设备与服务器连接时,蓝牙主设备的应用模块接收服务器发送的随机的第一链接密钥,蓝牙从设备的应用模块接收服务器发送的随机的第二链接密钥,蓝牙主设备与蓝牙从设备可以直接分别根据第一链接密钥和第二链接密钥建立连接并进行数据传输,由此通过蓝牙主设备和蓝牙从设备的应用模块分别直接从服务器获取第一链接密钥和第二链接密钥,而避免了双方在本地计算第一链接密钥和第二链接密钥,进一步的提高了蓝牙主设备与所述蓝牙从设备的连接速度。Specifically, when the Bluetooth master device is connected to the server, the application module of the Bluetooth master device receives the random first link key sent by the server, and the application module of the Bluetooth slave device receives the random second link key sent by the server. The Bluetooth master device and the Bluetooth slave device can directly establish a connection and transmit data according to the first link key and the second link key, respectively. In this way, the first link key and the second link key are directly obtained from the server through the application modules of the Bluetooth master device and the Bluetooth slave device, respectively, which avoids the need for both parties to locally calculate the first link key and the second link key, thereby further improving the connection speed between the Bluetooth master device and the Bluetooth slave device.
具体地,可以在蓝牙主设备每次开机时,例如,当蓝牙主设备为车载蓝牙时,在车辆每次点火开机时,当蓝牙主设备与服务器连接时,蓝牙主设备的应用模块获取服务器发送的与蓝牙从设备的标识信息相对应的新的随机的第一链接值,蓝牙从设备的应用模块获取服务器发送的新的第二链接值,以便于蓝牙主设备与蓝牙从设备分别根据新的第一链接值和第二链接值建立连接并进行数据传输,以增强蓝牙主设备与蓝牙从设备数据传输的安全性。Specifically, each time the Bluetooth master device is turned on, for example, when the Bluetooth master device is a vehicle-mounted Bluetooth, each time the vehicle is ignited and turned on, when the Bluetooth master device is connected to the server, the application module of the Bluetooth master device obtains a new random first link value sent by the server corresponding to the identification information of the Bluetooth slave device, and the application module of the Bluetooth slave device obtains a new second link value sent by the server, so that the Bluetooth master device and the Bluetooth slave device can establish a connection and perform data transmission according to the new first link value and the second link value respectively, so as to enhance the security of data transmission between the Bluetooth master device and the Bluetooth slave device.
优选地,当蓝牙主设备与服务器断开连接时,第一链接值为第一链接密钥计算值,第二链接值为第二链接密钥计算值,Preferably, when the Bluetooth master device is disconnected from the server, the first link value is the first link key calculation value, the second link value is the second link key calculation value,
所述判断蓝牙从设备是否为蓝牙主设备的相关设备,当蓝牙从设备为蓝牙主设备的相关设备时,蓝牙主设备的应用模块获取与蓝牙从设备的标识信息相对应的第一链接值,具体包括:The determining whether the Bluetooth slave device is a related device of the Bluetooth master device, when the Bluetooth slave device is a related device of the Bluetooth master device, the application module of the Bluetooth master device acquiring a first link value corresponding to the identification information of the Bluetooth slave device specifically includes:
蓝牙主设备的应用模块根据蓝牙从设备的标识信息判断蓝牙从设备是否为蓝牙主设备的相关设备;The application module of the Bluetooth master device determines whether the Bluetooth slave device is a related device of the Bluetooth master device according to the identification information of the Bluetooth slave device;
当蓝牙从设备为蓝牙主设备的相关设备时,蓝牙主设备的应用模块根据其中存储的蓝牙从设备的标识信息与链接密钥计算值的对应关系获取蓝牙从设备的标识信息对应的固定的第一链接密钥计算值;When the Bluetooth slave device is a related device of the Bluetooth master device, the application module of the Bluetooth master device obtains a fixed first link key calculation value corresponding to the identification information of the Bluetooth slave device according to a correspondence relationship between the identification information of the Bluetooth slave device and the link key calculation value stored therein;
蓝牙主设备与蓝牙从设备分别根据第一链接值和第二链接值建立连接并进行数据传输,具体包括:The Bluetooth master device and the Bluetooth slave device establish a connection and perform data transmission according to the first link value and the second link value respectively, specifically including:
蓝牙主设备的应用模块根据第一链接密钥计算值计算得到第一链接密钥,且蓝牙从设备的应用模块根据第二链接密钥计算值计算得到第二链接密钥,蓝牙主设备与蓝牙从设备分别根据第一链接密钥和第二链接密钥建立连接并进行数据传输。The application module of the Bluetooth master device calculates the first link key according to the first link key calculation value, and the application module of the Bluetooth slave device calculates the second link key according to the second link key calculation value. The Bluetooth master device and the Bluetooth slave device establish a connection and perform data transmission according to the first link key and the second link key respectively.
具体地,蓝牙主设备与服务器断开连接时,根据蓝牙主设备在应用客户端进行信息注册时保存的与其相关的蓝牙从设备的标识信息,确定蓝牙从设备是否为蓝牙主设备的相关设备,当蓝牙从设备为蓝牙主设备的相关设备时,蓝牙主设备的应用模块根据蓝牙从设备的标识信息与链接密钥计算值的对应关系获取的固定的第一链接密钥计算值,且当蓝牙主设备为蓝牙从设备的相关设备时,由于服务器中储存有与蓝牙主设备的应用模块中储存的相同的蓝牙从设备的标识信息与链接密钥计算值的对应关系,蓝牙从设备的应用模块获取服务器发送的与固定的第一链接密钥计算值相同的第二链接密钥计算值。Specifically, when the Bluetooth master device is disconnected from the server, it is determined whether the Bluetooth slave device is a related device of the Bluetooth master device based on the identification information of the Bluetooth slave device related to it that is saved by the Bluetooth master device when registering information on the application client. When the Bluetooth slave device is a related device of the Bluetooth master device, the application module of the Bluetooth master device obtains a fixed first link key calculation value based on the correspondence between the identification information of the Bluetooth slave device and the link key calculation value. When the Bluetooth master device is a related device of the Bluetooth slave device, since the server stores the same correspondence between the identification information of the Bluetooth slave device and the link key calculation value as that stored in the application module of the Bluetooth master device, the application module of the Bluetooth slave device obtains the second link key calculation value sent by the server that is the same as the fixed first link key calculation value.
由此,当蓝牙主设备与服务器断开连接时,蓝牙主设备与蓝牙从设备也能够较为便利且快速的进行连接。Therefore, when the Bluetooth master device is disconnected from the server, the Bluetooth master device and the Bluetooth slave device can also be connected more conveniently and quickly.
通过判断蓝牙从设备是否为蓝牙主设备的相关设备,当蓝牙从设备为蓝牙主设备的相关设备时蓝牙主设备的应用模块获取与蓝牙从设备的标识信息相对应的第一链接值,并通过服务器确定蓝牙主设备是否为蓝牙从设备的相关设备,当蓝牙主设备为蓝牙从设备的相关设备时蓝牙从设备的应用模块接收服务器发送的第二链接值,本发明实施例的蓝牙设备的连接方法,避免了计算能力较弱的双方蓝牙模块通过多次空中交互多次握手的方式才产生链接密钥,不仅加快了链接秘钥的计算过程而且无需人工操作即可完成配对流程,提高了蓝牙设备首次连接的速度。By judging whether the Bluetooth slave device is a related device of the Bluetooth master device, when the Bluetooth slave device is a related device of the Bluetooth master device, the application module of the Bluetooth master device obtains a first link value corresponding to the identification information of the Bluetooth slave device, and determines through a server whether the Bluetooth master device is a related device of the Bluetooth slave device, and when the Bluetooth master device is a related device of the Bluetooth slave device, the application module of the Bluetooth slave device receives a second link value sent by the server. The connection method of the Bluetooth device in the embodiment of the present invention avoids the situation that the Bluetooth modules of both parties with weak computing power generate link keys through multiple air interactions and multiple handshakes, which not only speeds up the calculation process of the link key but also completes the pairing process without manual operation, thereby improving the speed of the first connection of the Bluetooth device.
如图3所示,根据本发明实施例的基于服务器的蓝牙设备的连接方法,包括如下步骤:As shown in FIG3 , the method for connecting a Bluetooth device based on a server according to an embodiment of the present invention includes the following steps:
步骤S100,所述服务器接收所述蓝牙从设备的应用模块发送的第二链接值查询信息,所述第二链接值查询信息包括所述蓝牙主设备的标识信息;Step S100, the server receives second link value query information sent by the application module of the Bluetooth slave device, where the second link value query information includes identification information of the Bluetooth master device;
步骤S200,所述服务器根据所述蓝牙主设备的标识信息确定所述蓝牙主设备是否为所述蓝牙从设备的相关设备;Step S200, the server determines whether the Bluetooth master device is a related device of the Bluetooth slave device according to the identification information of the Bluetooth master device;
步骤S300,当所述蓝牙主设备为所述蓝牙从设备的相关设备时,所述服务器向所述蓝牙从设备的应用模块发送所述第二链接值。Step S300: When the Bluetooth master device is a related device of the Bluetooth slave device, the server sends the second link value to the application module of the Bluetooth slave device.
通过服务器根据蓝牙主设备的标识信息确定蓝牙主设备是否为蓝牙从设备的相关设备,并当蓝牙主设备为蓝牙从设备的相关设备时向蓝牙从设备的应用模块发送第二链接值,本发明实施例的蓝牙设备的连接方法,避免了计算能力较弱的双方蓝牙模块通过多次空中交互多次握手的方式才产生链接密钥,不仅加快了链接秘钥的计算过程而且无需人工操作即可完成配对流程,提高了蓝牙设备首次连接的速度。The server determines whether the Bluetooth master device is a related device of the Bluetooth slave device based on the identification information of the Bluetooth master device, and sends the second link value to the application module of the Bluetooth slave device when the Bluetooth master device is a related device of the Bluetooth slave device. The connection method of the Bluetooth device in the embodiment of the present invention avoids the situation that the Bluetooth modules of both parties with weaker computing power generate link keys through multiple air interactions and multiple handshakes. It not only speeds up the calculation process of the link key but also completes the pairing process without manual operation, thereby improving the speed of the first connection of the Bluetooth device.
优选地,所述服务器接收所述蓝牙主设备的应用模块发送的第一链接值查询信息,所述第一链接值查询信息包括所述蓝牙从设备的标识信息;Preferably, the server receives first link value query information sent by the application module of the Bluetooth master device, wherein the first link value query information includes identification information of the Bluetooth slave device;
所述服务器根据所述蓝牙从设备的标识信息确定所述蓝牙从设备是否为所述蓝牙主设备的相关设备;The server determines, according to the identification information of the Bluetooth slave device, whether the Bluetooth slave device is a related device of the Bluetooth master device;
当所述蓝牙从设备为所述蓝牙主设备的相关设备时,所述服务器向所述蓝牙主设备的应用模块发送与所述蓝牙从设备的标识信息相对应的第一链接值。When the Bluetooth slave device is a related device of the Bluetooth master device, the server sends a first link value corresponding to the identification information of the Bluetooth slave device to an application module of the Bluetooth master device.
如图4所示,实现上述根据发明实施例的基于蓝牙设备的蓝牙设备的连接方法的根据发明实施例的蓝牙设备,适用于蓝牙主设备,包括第一获取模块20、第二获取模块30、第一连接模块40、第一发送模块50、第二连接模块60和第一传输模块70。As shown in Figure 4, the Bluetooth device according to the embodiment of the invention that implements the above-mentioned connection method of the Bluetooth device based on the Bluetooth device according to the embodiment of the invention is suitable for a Bluetooth master device, including a first acquisition module 20, a second acquisition module 30, a first connection module 40, a first sending module 50, a second connection module 60 and a first transmission module 70.
其中,第一获取模块20,用于所述蓝牙主设备获取蓝牙从设备的标识信息。The first acquisition module 20 is used for the Bluetooth master device to acquire identification information of the Bluetooth slave device.
第二获取模块30,用于当所述蓝牙从设备为所述蓝牙主设备的相关设备时,所述蓝牙主设备的应用模块获取与所述蓝牙从设备的标识信息相对应的第一链接值。The second acquisition module 30 is configured to, when the Bluetooth slave device is a related device of the Bluetooth master device, enable the application module of the Bluetooth master device to acquire a first link value corresponding to the identification information of the Bluetooth slave device.
第一连接模块40和第一发送模块50,用于所述蓝牙主设备与所述蓝牙从设备建立物理链路连接,并将其标识信息发送给所述蓝牙从设备。The first connection module 40 and the first sending module 50 are used for the Bluetooth master device to establish a physical link connection with the Bluetooth slave device, and to send its identification information to the Bluetooth slave device.
第二连接模块60和第一传输模块70,用于所述蓝牙主设备与所述蓝牙从设备分别根据第一链接值和第二链接值建立连接并进行数据传输。The second connection module 60 and the first transmission module 70 are used for the Bluetooth master device and the Bluetooth slave device to establish a connection and perform data transmission according to the first link value and the second link value respectively.
通过当蓝牙从设备为蓝牙主设备的相关设备时,蓝牙主设备的应用模块获取与蓝牙从设备的标识信息相对应的第一链接值,该蓝牙主设备避免了计算能力较弱的双方蓝牙模块通过多次空中交互多次握手的方式才产生链接密钥,不仅加快了链接秘钥的计算过程而且无需人工操作即可完成配对流程,提高了蓝牙设备首次连接的速度。When the Bluetooth slave device is a related device of the Bluetooth master device, the application module of the Bluetooth master device obtains the first link value corresponding to the identification information of the Bluetooth slave device. The Bluetooth master device avoids the situation where the Bluetooth modules of both parties with weaker computing power generate the link key through multiple air interactions and multiple handshakes. This not only speeds up the calculation process of the link key but also completes the pairing process without manual operation, thereby improving the speed of the first connection of the Bluetooth device.
优选地,所述蓝牙设备还包括:Preferably, the Bluetooth device further includes:
第二信息发送模块,用于所述蓝牙主设备的应用模块向所述服务器发送第一链接值查询信息,所述第一链接值查询信息包括所述蓝牙从设备的标识信息;A second information sending module, used for the application module of the Bluetooth master device to send first link value query information to the server, where the first link value query information includes the identification information of the Bluetooth slave device;
所述第二获取模块30具体用于,当所述蓝牙从设备为所述蓝牙主设备的相关设备时,所述蓝牙主设备的应用模块接收所述服务器发送的与所述蓝牙从设备的标识信息相对应的随机的第一链接值。The second acquisition module 30 is specifically configured to, when the Bluetooth slave device is a related device of the Bluetooth master device, enable the application module of the Bluetooth master device to receive a random first link value corresponding to the identification information of the Bluetooth slave device and sent by the server.
优选地,所述第一链接值为第一链接密钥计算值,所述第二链接值为第二链接密钥计算值,Preferably, the first link value is a first link key calculation value, and the second link value is a second link key calculation value.
所述第二连接模块60和第一传输模块70具体用于,所述蓝牙主设备的应用模块根据第一链接密钥计算值计算得到第一链接密钥,所述蓝牙主设备与所述蓝牙从设备分别根据第一链接密钥和第二链接密钥建立连接并进行数据传输。The second connection module 60 and the first transmission module 70 are specifically used for the application module of the Bluetooth master device to calculate the first link key according to the first link key calculation value, and the Bluetooth master device and the Bluetooth slave device to establish a connection and perform data transmission according to the first link key and the second link key respectively.
优选地,所述第一链接值为第一链接密钥计算值,所述第二链接值为第二链接密钥计算值,所述蓝牙设备还包括:Preferably, the first link value is a first link key calculation value, the second link value is a second link key calculation value, and the Bluetooth device further includes:
第二判断模块,用于所述蓝牙主设备的应用模块根据所述蓝牙从设备的标识信息判断所述蓝牙从设备是否为所述蓝牙主设备的相关设备;A second judgment module, used for the application module of the Bluetooth master device to judge whether the Bluetooth slave device is a related device of the Bluetooth master device according to the identification information of the Bluetooth slave device;
所述第二获取模块30具体用于,当所述蓝牙从设备为所述蓝牙主设备的相关设备时,所述蓝牙主设备的应用模块根据其中存储的蓝牙从设备的标识信息与链接密钥计算值的对应关系获取所述蓝牙从设备的标识信息对应的固定的第一链接密钥计算值;The second acquisition module 30 is specifically configured to, when the Bluetooth slave device is a related device of the Bluetooth master device, obtain, by the application module of the Bluetooth master device, a fixed first link key calculation value corresponding to the identification information of the Bluetooth slave device according to a correspondence between the identification information of the Bluetooth slave device and the link key calculation value stored therein;
所述第二连接模块60和第一传输模块70具体用于,所述蓝牙主设备的应用模块根据第一链接密钥计算值计算得到第一链接密钥,所述蓝牙主设备与所述蓝牙从设备分别根据第一链接密钥和第二链接密钥建立连接并进行数据传输。The second connection module 60 and the first transmission module 70 are specifically used for the application module of the Bluetooth master device to calculate the first link key according to the first link key calculation value, and the Bluetooth master device and the Bluetooth slave device to establish a connection and perform data transmission according to the first link key and the second link key respectively.
实现上述根据发明实施例的基于蓝牙设备的蓝牙设备的连接方法的根据发明实施例的蓝牙设备,适用于蓝牙从设备,包括第三连接模块、第一接收模块、第一信息发送模块、第二接收模块、第四连接模块和第二传输模块。The Bluetooth device according to the embodiment of the invention that implements the above-mentioned connection method of the Bluetooth device based on the Bluetooth device according to the embodiment of the invention is suitable for the Bluetooth slave device, including a third connection module, a first receiving module, a first information sending module, a second receiving module, a fourth connection module and a second transmission module.
其中,第三连接模块和第一接收模块,用于与所述蓝牙主设备建立物理链路连接,并接收所述蓝牙主设备发送的所述蓝牙主设备的标识信息。The third connection module and the first receiving module are used to establish a physical link connection with the Bluetooth master device and receive identification information of the Bluetooth master device sent by the Bluetooth master device.
第一信息发送模块,用于所述蓝牙从设备向服务器发送第二链接值查询信息,所述第二链接值查询信息包括所述蓝牙主设备的标识信息。The first information sending module is used for the Bluetooth slave device to send second link value query information to the server, where the second link value query information includes the identification information of the Bluetooth master device.
第二接收模块,用于当所述蓝牙主设备为所述蓝牙从设备的相关设备时,所述蓝牙从设备的应用模块接收所述服务器发送第二链接值。The second receiving module is used for, when the Bluetooth master device is a related device of the Bluetooth slave device, for the application module of the Bluetooth slave device to receive the second link value sent by the server.
第四连接模块和第二传输模块,用于与所述蓝牙主设备分别根据第二链接值和第一链接值建立连接并进行数据传输。The fourth connection module and the second transmission module are used to establish a connection with the Bluetooth master device according to the second link value and the first link value respectively and perform data transmission.
通过当蓝牙主设备为蓝牙从设备的相关设备时,蓝牙从设备的应用模块从服务器获取与蓝牙主设备的标识信息相对应的第二链接值,本发明实施例的蓝牙从设备,避免了计算能力较弱的双方蓝牙模块通过多次空中交互多次握手的方式才产生链接密钥,不仅加快了链接秘钥的计算过程而且无需人工操作即可完成配对流程,提高了蓝牙设备首次连接的速度。When the Bluetooth master device is a related device of the Bluetooth slave device, the application module of the Bluetooth slave device obtains the second link value corresponding to the identification information of the Bluetooth master device from the server. The Bluetooth slave device of the embodiment of the present invention avoids the Bluetooth modules of both parties with weaker computing power from generating a link key through multiple air interactions and multiple handshakes. This not only speeds up the calculation process of the link key, but also completes the pairing process without manual operation, thereby improving the speed of the first connection of the Bluetooth device.
优选地,所述第一链接值为第一链接密钥计算值,所述第二链接值为第二链接密钥计算值,Preferably, the first link value is a first link key calculation value, and the second link value is a second link key calculation value.
所述第四连接模块和第二传输模块具体用于,所述蓝牙从设备的应用模块根据第二链接密钥计算值计算得到第二链接密钥,所述蓝牙从设备与所述蓝牙主设备分别根据第二链接密钥和第一链接密钥建立连接并进行数据传输。The fourth connection module and the second transmission module are specifically used for the application module of the Bluetooth slave device to calculate the second link key according to the second link key calculation value, and the Bluetooth slave device and the Bluetooth master device to establish a connection and perform data transmission according to the second link key and the first link key respectively.
优选地,所述蓝牙设备还包括:Preferably, the Bluetooth device further includes:
第三判断模块,用于所述蓝牙从设备的应用模块根据所述蓝牙主设备的标识信息判断所述蓝牙主设备是否为所述蓝牙从设备的可能相关设备。The third judgment module is used for the application module of the Bluetooth slave device to judge whether the Bluetooth master device is a possible related device of the Bluetooth slave device according to the identification information of the Bluetooth master device.
如图5所示,实现上述根据发明实施例的基于服务器的蓝牙设备的连接方法的根据发明实施例的服务器,包括第三接收模块200、第一判断模块300和第二发送模块400。As shown in FIG. 5 , the server according to the embodiment of the invention that implements the above-mentioned method for connecting Bluetooth devices based on the server according to the embodiment of the invention includes a third receiving module 200 , a first judging module 300 and a second sending module 400 .
其中,第三接收模块200,用于所述服务器接收所述蓝牙从设备的应用模块发送的第二链接值查询信息,所述第二链接值查询信息包括所述蓝牙主设备的标识信息。The third receiving module 200 is used for the server to receive second link value query information sent by the application module of the Bluetooth slave device, where the second link value query information includes the identification information of the Bluetooth master device.
第一判断模块300,用于所述服务器根据所述蓝牙主设备的标识信息确定所述蓝牙主设备是否为所述蓝牙从设备的相关设备。The first judgment module 300 is used for the server to determine whether the Bluetooth master device is a related device of the Bluetooth slave device according to the identification information of the Bluetooth master device.
第二发送模块400,用于当所述蓝牙主设备为所述蓝牙从设备的相关设备时,所述服务器向所述蓝牙从设备的应用模块发送所述第二链接值。The second sending module 400 is configured to enable the server to send the second link value to an application module of the Bluetooth slave device when the Bluetooth master device is a related device of the Bluetooth slave device.
通过服务器接收蓝牙从设备的应用模块发送的第二链接值查询信息,并当蓝牙主设备为蓝牙从设备的相关设备时服务器向蓝牙从设备的应用模块发送第二链接值,本发明实施例的服务器,避免了计算能力较弱的双方蓝牙模块通过多次空中交互多次握手的方式才产生链接密钥,不仅加快了链接秘钥的计算过程而且无需人工操作即可完成配对流程,提高了蓝牙设备首次连接的速度。The server receives the second link value query information sent by the application module of the Bluetooth slave device, and when the Bluetooth master device is a related device of the Bluetooth slave device, the server sends the second link value to the application module of the Bluetooth slave device. The server of the embodiment of the present invention avoids the situation that the Bluetooth modules of both parties with weaker computing power generate link keys through multiple air interactions and multiple handshakes. It not only speeds up the calculation process of the link key but also completes the pairing process without manual operation, thereby improving the speed of the first connection of the Bluetooth device.
优选地,所述服务器还包括:Preferably, the server further includes:
第四接收模块,用于所述服务器接收所述蓝牙主设备的应用模块发送的第一链接值查询信息,所述第一链接值查询信息包括所述蓝牙从设备的标识信息;A fourth receiving module, configured to receive, by the server, first link value query information sent by the application module of the Bluetooth master device, wherein the first link value query information includes identification information of the Bluetooth slave device;
第四判断模块,用于所述服务器根据所述蓝牙从设备的标识信息确定所述蓝牙从设备是否为所述蓝牙主设备的相关设备;A fourth judgment module, configured for the server to determine whether the Bluetooth slave device is a related device of the Bluetooth master device according to the identification information of the Bluetooth slave device;
第三发送模块,用于当所述蓝牙从设备为所述蓝牙主设备的相关设备时,所述服务器向所述蓝牙主设备的应用模块发送与所述蓝牙从设备的标识信息相对应的第一链接值。The third sending module is configured to enable the server to send a first link value corresponding to the identification information of the Bluetooth slave device to the application module of the Bluetooth master device when the Bluetooth slave device is a related device of the Bluetooth master device.
在本申请所提供的几个实施例中,应该理解到,所揭露方法和装置,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in the present application, it should be understood that the disclosed methods and devices can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理包括,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may be physically included separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional units.
以上所述实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
以上所述实施例仅表达了本发明的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干变形和改进,这些都属于本发明的保护范围。因此,本发明专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only express several implementation methods of the present invention, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010718150.1A CN111818498B (en) | 2020-07-23 | 2020-07-23 | Bluetooth device connection method, bluetooth device and server |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010718150.1A CN111818498B (en) | 2020-07-23 | 2020-07-23 | Bluetooth device connection method, bluetooth device and server |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN111818498A CN111818498A (en) | 2020-10-23 |
| CN111818498B true CN111818498B (en) | 2024-04-19 |
Family
ID=72862446
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202010718150.1A Active CN111818498B (en) | 2020-07-23 | 2020-07-23 | Bluetooth device connection method, bluetooth device and server |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN111818498B (en) |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR20080039153A (en) * | 2006-10-31 | 2008-05-07 | 에스케이 텔레콤주식회사 | Pairing method between mobile terminal and Bluetooth device and mobile terminal and system for same |
| CN104378145A (en) * | 2014-11-27 | 2015-02-25 | 北京深思数盾科技有限公司 | Method and system for pairing bluetooth devices |
| CN105338472A (en) * | 2015-09-29 | 2016-02-17 | 爱国者电子科技有限公司 | Wireless routing equipment, wireless routing system and communication method |
| CN105611488A (en) * | 2015-12-31 | 2016-05-25 | 福建联迪商用设备有限公司 | Automatic Bluetooth connection method and master device, slave device and system |
| CN108471610A (en) * | 2018-03-02 | 2018-08-31 | 杨宪国 | Bluetooth connection control system |
| CN110012049A (en) * | 2018-11-27 | 2019-07-12 | 阿里巴巴集团控股有限公司 | Information-pushing method, system, server and computer readable storage medium |
Family Cites Families (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8750796B2 (en) * | 2007-05-17 | 2014-06-10 | Abbott Medical Optics Inc. | Exclusive pairing technique for short-range communication devices |
| US9332587B2 (en) * | 2012-08-21 | 2016-05-03 | Blackberry Limited | Smart proximity priority pairing |
| KR101995736B1 (en) * | 2013-01-22 | 2019-10-01 | 삼성전자주식회사 | Method and bluetooth device for providing information associated with the bluetooth device |
| CN105933039B (en) * | 2016-06-24 | 2018-06-29 | 飞天诚信科技股份有限公司 | A kind of bluetooth equipment and its method of work |
| CN108696843A (en) * | 2017-03-07 | 2018-10-23 | 中移(杭州)信息技术有限公司 | Bluetooth group control method, device and system between a kind of physical equipment |
-
2020
- 2020-07-23 CN CN202010718150.1A patent/CN111818498B/en active Active
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR20080039153A (en) * | 2006-10-31 | 2008-05-07 | 에스케이 텔레콤주식회사 | Pairing method between mobile terminal and Bluetooth device and mobile terminal and system for same |
| CN104378145A (en) * | 2014-11-27 | 2015-02-25 | 北京深思数盾科技有限公司 | Method and system for pairing bluetooth devices |
| CN105338472A (en) * | 2015-09-29 | 2016-02-17 | 爱国者电子科技有限公司 | Wireless routing equipment, wireless routing system and communication method |
| CN105611488A (en) * | 2015-12-31 | 2016-05-25 | 福建联迪商用设备有限公司 | Automatic Bluetooth connection method and master device, slave device and system |
| CN108471610A (en) * | 2018-03-02 | 2018-08-31 | 杨宪国 | Bluetooth connection control system |
| CN110012049A (en) * | 2018-11-27 | 2019-07-12 | 阿里巴巴集团控股有限公司 | Information-pushing method, system, server and computer readable storage medium |
Non-Patent Citations (2)
| Title |
|---|
| 蓝牙安全研究;严霄凤;;网络安全技术与应用(02);全文 * |
| 野外设备监控系统在Android平台上的应用;田翠玲;曹霞;余笑;许政涛;叶亮;;电子测量技术(15);全文 * |
Also Published As
| Publication number | Publication date |
|---|---|
| CN111818498A (en) | 2020-10-23 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2019010686A1 (en) | Data processing method and data processing apparatus | |
| JP7562661B2 (en) | Software upgrade method, apparatus and system | |
| CN113545164B (en) | Electronic device and method for sending response message in Bluetooth network environment | |
| CN111203874A (en) | Robot control method, device, electronic device and storage medium | |
| CN109962953A (en) | Client communication establishment method and device | |
| CN113872967A (en) | Vehicle information transmission method and device, electronic equipment and storage medium | |
| TW202014901A (en) | Direct communication between slaves | |
| CN116962114B (en) | Equipment interconnection method, device, equipment and medium based on distributed soft bus | |
| CN111624983B (en) | Synchronous connection method and vehicle remote diagnosis system | |
| CN118233742A (en) | Vehicle-mounted image pickup system configuration method, microcontroller and vehicle-mounted image pickup system | |
| CN114326673A (en) | Vehicle remote diagnosis method and device, connector and storage medium | |
| WO2016150267A1 (en) | Method for actively connecting to and communicating with apple device and apple device attachment | |
| CN101766005A (en) | communication control system | |
| CN111698086B (en) | Method and device for data transmission | |
| CN107294811A (en) | Network detection method, network detection device and intelligent terminal | |
| CN111818498B (en) | Bluetooth device connection method, bluetooth device and server | |
| CN116600367A (en) | Equipment networking method, device, system, equipment and medium | |
| JP2022528075A (en) | Message transmission systems, methods and vehicles based on heterogeneous operating systems | |
| US8996771B1 (en) | System and method for communication via universal serial bus | |
| CN114650194B (en) | Data communication method, device, electronic equipment and storage medium | |
| Elhadeedy et al. | 60 GHz Wi-Fi as a tractor-trailer wireless harness | |
| CN114124275B (en) | A time synchronization method, device, equipment and storage medium | |
| CN111770181B (en) | Access method, device and equipment of Internet of things equipment | |
| CN115406053A (en) | Air conditioner internal and external unit communication method, device, air conditioner and storage medium | |
| CN103024021B (en) | A method and system for information transmission |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| CP03 | Change of name, title or address |
Address after: 200000 Shanghai City Xuhui District Longyao Road No. 18 10th Floor 1001 Room Patentee after: Zebra Network Technology Co.,Ltd. Country or region after: China Address before: Building D1, 2nd Floor, No. 55 Huaihai West Road, Xuhui District, Shanghai Patentee before: ZEBRED NETWORK TECHNOLOGY Co.,Ltd. Country or region before: China |
|
| CP03 | Change of name, title or address |