WO2023160400A1 - 数据传输方法、蓝牙通信装置、存储介质及程序产品 - Google Patents
数据传输方法、蓝牙通信装置、存储介质及程序产品 Download PDFInfo
- Publication number
- WO2023160400A1 WO2023160400A1 PCT/CN2023/075108 CN2023075108W WO2023160400A1 WO 2023160400 A1 WO2023160400 A1 WO 2023160400A1 CN 2023075108 W CN2023075108 W CN 2023075108W WO 2023160400 A1 WO2023160400 A1 WO 2023160400A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- master device
- key
- broadcast message
- master
- slave device
- Prior art date
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
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/04—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
- H04L63/0428—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/08—Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
- H04L9/0861—Generation of secret information including derivation or calculation of cryptographic keys or passwords
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/03—Protecting confidentiality, e.g. by encryption
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/04—Key management, e.g. using generic bootstrapping architecture [GBA]
- H04W12/041—Key generation or derivation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/40—Security arrangements using identity modules
- H04W12/47—Security arrangements using identity modules using near field communication [NFC] or radio frequency identification [RFID] modules
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/50—Secure pairing of devices
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/005—Discovery of network devices, e.g. terminals
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Definitions
- the embodiments of the present application relate to the field of computer technology, and in particular, to a data transmission method, a Bluetooth communication device, a storage medium, and a program product.
- the IoT includes IoT devices and servers, and the IoT devices can transmit data to the server through the transmission network.
- the IoT system includes devices such as cameras, shelf sensors, temperature sensors, and self-service checkout terminals.
- wifi network is generally used as a wireless communication link to realize data transmission.
- the number of IoT devices in an IoT environment continues to increase, the number of devices connected to the wifi network continues to increase, and the data that needs to be transmitted is also increasing, which brings great impact on the power consumption and reliability of the wifi network.
- the challenge comes the challenge.
- an urgent technical problem to be solved in the prior art is how to provide another data transmission solution with high reliability and low power consumption.
- an embodiment of the present application provides a data transmission solution to at least partially solve the above problem.
- a data transmission method applied to a slave device including: pre-pairing with a master device based on the Bluetooth protocol, and generating a shared key with the master device;
- the slave device in the non-connected state sends a broadcast message encrypted by the key to the master device based on the pre-pairing result, and the broadcast message carries the event data reported by the slave device;
- the device responds to the confirmation message returned by the broadcast message, and parses the confirmation message according to the key, and determines that the event data is successfully reported to the master device according to the parsing result; and determines the preset time through the slave device
- the success rate of event data in the segment being successfully reported to the master device adjusting the bluetooth transmission power of the slave device for sending the broadcast message according to the difference between the success rate and a preset success rate threshold, the The Bluetooth transmission power is directly proportional to the success rate of event data being successfully reported to the master device.
- a data transmission method is provided, which is applied to a Bluetooth communication system
- the Bluetooth communication system includes a collection device, a processing device, and an output device
- the method includes: based on the Bluetooth protocol, the collection device Pre-pair with the processing device, processing device and output device respectively, generate the first key shared by the acquisition device and the processing device, and the second key shared by the processing device and the output device; through the current processing
- the collection device in the non-connected state sends a broadcast message encrypted by the first key to the processing device based on the result of the pre-pairing, and the broadcast message carries the collection data collected and reported by the collection device;
- the processing device returns a confirmation message encrypted by the first key to the collection device in response to the broadcast message, so that the collection device parses the confirmation message according to the first key and according to the parsing result Determining that the collected data is successfully reported to the processing device; if the processing device determines that the collected data carried in the broadcast message conforms to a preset output event execution
- a Bluetooth communication device including: a communication module, configured to perform pre-pairing with a master device based on the Bluetooth protocol, generate a key shared with the master device, and make the current
- the slave device in the non-connected state sends a broadcast message encrypted by the key to the master device based on the pre-pairing result, and receives a confirmation message returned by the master device in response to the broadcast message;
- a control module for generating the broadcast message carrying the event data reported by the slave device, parsing the confirmation message according to the key, determining that the event data is successfully reported to the master device according to the parsing result, and, by The slave device determines the success rate of event data successfully reported to the master device within a preset time period, and adjusts the slave device to send the The bluetooth transmission power of the broadcast message, where the bluetooth transmission power is proportional to the success rate of event data being successfully reported to the master device.
- a computer storage medium on which a computer program is stored, and when the program is executed by a processor, the above-mentioned data transmission method is implemented.
- a computer program product including computer instructions, where the computer instructions instruct a computing device to perform operations corresponding to the data transmission method described above.
- the slave device can be pre-paired with the master device based on the Bluetooth protocol, and generate a shared key with the master device; if the slave device generates event data that needs to be reported, it can Send a key-encrypted broadcast message to the master device based on the pre-pairing result through the slave device that is currently in a non-connected state, and the broadcast message carries the event data reported by the slave device; receive the The master device responds to the confirmation message returned by the broadcast message, and parses the confirmation message according to the key, determines that the event data is successfully reported to the master device according to the analysis result, and determines the preset time period through the slave device
- the success rate of internal event data being successfully reported to the master device according to the difference between the success rate and the preset success rate threshold, adjust the Bluetooth transmission power of the slave device to send the broadcast message, the Bluetooth The transmit power is directly proportional to the success rate of event data being successfully reported to the master device.
- the slave device in the non-connected state cooperates with the master device, and the report of event data is realized by broadcasting + scanning. Since there is no need to establish and maintain the Bluetooth connection status between the master device and the slave device, the overhead of the data reporting process is relatively low.
- the data transmission process is encrypted through the key shared by the slave device and the master device, and the slave device can determine that the event data has been successfully received by the master device, thereby ending the reporting process of this event data, reducing the occupation of the broadcast channel, and The reliability of the data transmission process is guaranteed; and, in this embodiment, the slave device can adjust the Bluetooth transmission power of the slave device to send the broadcast message according to the difference between the success rate and the preset success rate threshold , so that the slave device can reduce the bluetooth transmission power of the slave device as much as possible under the condition that the transmission success rate of transmitting broadcast messages meets the preset success rate threshold, thereby reducing the slave device’s impact on other slave devices around it. interference, and reduces the power consumption of slave devices.
- FIG. 1 is a schematic diagram of an Internet of Things system provided by an embodiment of the present application.
- Fig. 2 is a flow chart of steps for transmitting data based on the Bluetooth protocol according to an embodiment of the present application
- FIG. 3 is a schematic flow diagram of a data transmission method according to an embodiment of the present application.
- FIG. 4 is a schematic flowchart of another data transmission method according to an embodiment of the present application.
- FIG. 5 is a schematic flowchart of another data transmission method according to an embodiment of the present application.
- FIG. 6 is a schematic structural diagram of a Bluetooth communication device according to an embodiment of the present application.
- FIG. 7 is a schematic structural diagram of another Bluetooth communication device according to an embodiment of the present application.
- Figure 1 is a schematic diagram of an Internet of Things system provided by the embodiment of the present application.
- the Internet of Things network may include: one or more master devices, multiple slave devices, and the cloud, and the relationship between the master device and the slave devices may be based on Bluetooth protocol for communication.
- one master device may correspond to multiple slave devices, and one slave device may also correspond to one or more master devices, which is not limited in this embodiment.
- the slave device can be an Internet of Things device, or it can be a terminal and various sensors installed in an Internet of Things scene. Especially with the development of science and technology, sensors have become the basis for the Internet of Everything.
- the slave device may be a device that performs at least one of the following: temperature sensing, asset positioning, workstation detection, environment sensing, Conference room occupancy status awareness, passenger flow awareness, shelf status awareness, wearable medical monitoring.
- the slave device may be a self-checkout terminal, a camera, a weighing sensor, a shelf sensor, a sensor for detecting passenger flow, etc. in a store.
- the main device can be any device that can process data or report data to the cloud set in the Internet of Things scene.
- the main device can be a terminal in the above Internet of Things scene (such as a self-checkout terminal, a management terminal, etc.), Devices such as smart routers that are set up in the Internet of Things scene to connect to the server are not limited in this embodiment.
- the slave device can be pre-paired with the master device based on the Bluetooth protocol, and generate a key shared with the master device; if the slave device generates event data that needs to be reported, it can The slave device sends a key-encrypted broadcast message to the master device based on the result of the pre-pairing, and the broadcast message carries the event data reported by the slave device; receiving the response from the master device The confirmation message returned by the broadcast message, and parse the confirmation message according to the key, and determine that the event data is successfully reported to the master device according to the parsing result; the slave device can determine that the event data is successfully reported to the master device within a preset time period
- the success rate of the master device according to the difference between the success rate and the preset success rate threshold, adjust the Bluetooth transmission power of the slave device to send the broadcast message, and the Bluetooth transmission power and the event data are successfully
- the success rate reported to the master device is directly proportional.
- the slave device in the non-connected state cooperates with the master device, and the report of event data is realized by broadcasting + scanning. Since there is no need to establish and maintain the Bluetooth connection status between the master device and the slave device, the overhead of the data reporting process is relatively low.
- the slave device can adjust the Bluetooth transmission power of the slave device to send the broadcast message according to the difference between the success rate and the preset success rate threshold, thereby , the slave device can reduce the bluetooth transmission power of the slave device as much as possible under the condition that the transmission success rate of transmitting the broadcast message meets the preset success rate threshold, thereby reducing the interference of the slave device to other slave devices around it, and Reduced power consumption of slave devices.
- the data reported by a single device may be relatively small, and it may be completed by one data transmission.
- at least three signaling interaction processes are required in the above process of establishing a Bluetooth connection, so that during the entire data transmission process, the Bluetooth connection is established.
- the overhead is greater than the overhead of the data transfer process.
- FIG. 3 is a schematic flowchart of a data transmission method provided in the embodiment of the present application.
- the method provided in this embodiment is mainly executed in the steps of the search device shown in FIG. 2 , as shown in the figure, its bag include:
- S301 Perform pre-pairing with the master device through the slave device based on the Bluetooth protocol, and generate a key shared with the master device.
- the key shared by the master device and the slave device is used to enable the master device and the slave device to skip the pairing process when making a blue connection again, and directly encrypt the data transmission process through the key, so as to omit the lengthy authentication process of the Bluetooth pairing process .
- the slave device is in a non-connected state, which means that the slave device is not in a Bluetooth connection state with the master device.
- the event data used for reporting may be generated by the slave device itself, or may be reported by a sensor connected to the slave device, which is not limited in this embodiment.
- the event data may specifically be, for example, temperature data reported by a temperature sensor, goods data on a shelf collected by a shelf sensor, logistics data collected by a radio frequency device, etc., which are not limited in this embodiment.
- the master device in the scan state at the link layer can send a scan request (Scan request), and after the slave device in the broadcast state at the link layer receives the scan request, it can be determined that the master device has received the broadcast request.
- Scan request a scan request
- the slave device in the broadcast state at the link layer receives the scan request, it can be determined that the master device has received the broadcast request.
- the broadcast message may carry the device address of the slave device and the device address of the master device pre-paired with the slave device, the device of the master device is used to indicate the destination of the broadcast message, and the device address of the slave device is used to make the master device Know the sender who sent the broadcast message.
- the master device returns a confirmation message encrypted by the key to the slave device based on the pre-pairing result in response to the broadcast message.
- the master device specifically responds to the broadcast message, and the method of returning the confirmation message can refer to related technologies, which will not be repeated here.
- the master device may further parse the broadcast information, obtain the event data carried in the broadcast information, and report the event data to the cloud.
- the master device can obtain broadcast data from multiple slave devices, and store the event data obtained by parsing locally, and can report the event data to the cloud after storing the event data with a preset size, or at a predetermined interval Duration reports the event data to the cloud.
- the slave device receives the confirmation message returned by the master device in response to the broadcast message, parses the confirmation message according to the key, and determines that the event data is successfully reported to the master device according to the parsing result.
- the confirmation message carries the identification information of the master device, so that the slave device can obtain the identification information of the master device according to key analysis.
- the identification information of the master device is used for the slave device to confirm the After determining the identity of the main device, after the identity is confirmed, a Bluetooth connection can be performed through a connect message based on the identity confirmation result of the main device, thereby skipping the pairing step.
- the slave device can obtain the identification information of the master device based on key resolution, so that the slave device can determine that the broadcast information has been received by the master device.
- S305 Using the slave device, determine the success rate of event data being successfully reported to the master device within a preset time period, and adjust the slave device according to the difference between the success rate and a preset success rate threshold Bluetooth transmit power for sending the broadcast message.
- the Bluetooth transmission power is directly proportional to the success rate of the event data being successfully reported to the master device. The higher the Bluetooth transmission power, the higher the probability that the broadcast message is received by the master device, and the event data is successfully reported. The higher the probability.
- the slave device can accept the failure to report part of the event data.
- the slave device can be preset with a success rate threshold.
- the success rate threshold is that the event data acceptable to the slave device is successfully reported to the master.
- the slave device can determine the success rate of event data being successfully reported to the master device within a preset time period. If the success rate is greater than the preset success rate threshold, the Bluetooth transmission power of the slave device can be reduced. If the success rate is less than the preset success rate rate threshold, you can increase the Bluetooth transmit power of the slave device.
- the Bluetooth transmission power can be divided into multiple levels, such as 8 levels or 64 levels, and the slave device can determine that it needs to increase or decrease according to the difference between the success rate within a preset time period and the preset success rate threshold Reduced Bluetooth transmit power level.
- the slave device can minimize the Bluetooth transmission of the slave device while ensuring that the transmission success rate of broadcast messages meets the preset success rate threshold. Power, thereby reducing the interference of the slave device to other slave devices around it, and reducing the power consumption of the slave device.
- a schematic diagram of a store is shown.
- a master device and a slave device may be deployed in the store, and the distance between the master device and the slave device may be determined according to the coverage range of the Bluetooth signal.
- Master and slave devices can be pre-paired and generate a shared long-term key LTK.
- the slave device can be used to sense the passenger flow, and generate the event data of "passenger flow” after sensing the passenger flow, and send the broadcast message carrying the event data and encrypted by the long-term key LTK to the master device according to the above-mentioned pre-pairing result .
- the master device After receiving the broadcast message, the master device can return a confirmation message to the slave device according to the pre-pairing result, and can report the event data carried in the broadcast message to the cloud.
- the slave device can continuously send broadcast messages until it receives a confirmation message returned by the master device.
- the slave device determines the message according to the key analysis and determines that the broadcast message has been received by the master device, it can stop sending the broadcast message.
- the slave device can determine the success rate of event data being successfully reported to the master device within a preset time period, for example, determine that the success rate of event data being successfully reported to the master device within 1 minute is 80% . If the preset success rate threshold of the slave device is 95%, then according to the success rate of 80% within the preset time period of the slave device and the preset success rate threshold of 95%, the Bluetooth transmission power of the slave device can be increased; otherwise, if the slave device The success rate of the device within a preset time period is 95%, and the success rate threshold preset by the slave device is 80%, so that the bluetooth transmission power of the slave device can be reduced.
- FIG. 4 is a schematic flow diagram of a data transmission method provided in the embodiment of the present application, as shown in the figure, which includes:
- performing pre-pairing with the master device based on the Bluetooth protocol, and generating a shared key with the master device includes: establishing a connection with the master device based on the Bluetooth protocol, and pairing the master device according to the connection key.
- the main device performs identity authentication, wherein the connection key is a connection key based on time information; if the identity authentication passes, the key shared with the main device is generated and exchanged. Therefore, based on the connection key, the security of the generated common key can be guaranteed as much as possible, thereby ensuring the security of the data transmission process.
- the master device and the slave device verify their identities based on the connection key, they can exchange a shared key LTK (long-term Key) through a binding mechanism.
- LTK long-term Key
- connection key is generated by the following method: determine a time parameter according to the current moment, a preset starting time point, and a preset time step; determine the time parameter according to the preset key parameter and the A time parameter for generating the connection key; wherein, the master device and the slave device are clock-synchronized, and share the preset start time point, the preset time step and the preset key parameter .
- the time-based dynamic encryption algorithm as long as the clocks of the master device and the slave device are synchronized and share the preset starting time point, the preset time step and the preset key parameters, the unique connection key of the master device and the slave device can be generated, which greatly guarantees the security of the data.
- K is the preset key parameter
- T is the time
- T0 is the preset starting time point
- X is the preset time step
- (T-T0)/X) is the calculated time parameter
- HMAC-SHA-1 Indicates to encrypt according to the SHA1 algorithm of the preset key parameter and time parameter HMAC, and obtain an encryption result with a length of 160 bits (20 bytes)
- truncate() indicates that the encryption has been modified to a parameter with a specified length.
- a buffer area can also be established in the slave device to store event data that cannot be reported through broadcast messages in time.
- the master device and the slave device may pre-agreed on the format of the broadcast message, and those skilled in the art may determine the specific format according to requirements, which is not limited in this embodiment.
- the event data carried in the broadcast message can also use the above-mentioned time-based dynamic encryption method to Ensure data security.
- the slave device starts timing when an event occurs, and generates the event data for reporting according to the event occurred.
- a timer may be set in the slave device, and the timer may be started when an event is detected to record the elapsed time of the event.
- the slave device is pre-paired with multiple master devices, and the slave device that is currently in an unconnected state sends a broadcast message to the master device based on the result of the pre-pairing , comprising: using the slave device that is currently in a non-connected state, performing directional broadcast to multiple paired master devices based on a pre-pairing result, so as to send the broadcast message to at least one of the multiple master devices.
- the broadcast information of the slave device can be transmitted to multiple master devices, increasing the probability of data being reliably delivered to the master device, reducing the power consumption of the slave device sending broadcast data and the occupation of the wireless spectrum by the slave device.
- the master device obtains the broadcast message time and the timing value according to the scanning, determines the event occurrence time, and saves the event data and the event occurrence time.
- the master device when the master device scans to obtain the broadcast message, it can record the time when the broadcast message is obtained, and determine the event occurrence time in combination with the timing value carried in the broadcast message.
- the time when the master device scans and obtains the broadcast data is T_Scan
- the timing value carried in the broadcast message is T_past
- the event occurrence time can be obtained by subtracting the elapsed time of the event occurrence when the broadcast message is sent from the time.
- the master device returns a confirmation message encrypted by the key to the slave device based on the pre-pairing result in response to the broadcast message.
- the confirmation message returned by the master device to the slave device may be a scan request SCAN_REQ.
- the master device may further parse the broadcast information, obtain the event data carried in the broadcast information, and report the event data to the cloud.
- the master device can obtain broadcast data from multiple slave devices, and store the event data obtained by parsing locally, and can report the event data to the cloud after storing the event data with a preset size, or at a predetermined interval Duration reports the event data to the cloud.
- the slave device receives the confirmation message returned by the master device in response to the broadcast message, parses the confirmation message according to the key, and determines that the event data is successfully reported to the master device according to the parsing result.
- the slave device may parse the scan request SCAN_REQ according to the key LTK to obtain the identification information of the master device, which may specifically be the address information of the master device.
- the method further includes:
- the master device by adding the timing value in the broadcast message, the master device can accurately determine the event occurrence time without increasing the size of the broadcast message; in addition, in this embodiment, in the pre-pairing process , the security of the key shared by the master device and the slave device can be guaranteed through the connection key based on the dynamic change of time, thereby ensuring the security of the data during data transmission; in addition, in this embodiment, through the master device and the slave device
- the key shared by the devices can enable the slave device to be accurately resolved according to the address information in the SCA_REQ returned by the master device, so that the slave device can accurately determine that the event data is received by the master device.
- the slave device determines the corresponding preset success rate threshold according to the setting information of the master device.
- the master device can conveniently set the preset success rate threshold of the slave device during the pre-pairing process.
- the slave device includes at least one of the following: a temperature sensor, a weight sensor, and a human body sensor, wherein the success rate threshold corresponding to the temperature sensor and/or the weight sensor is less than the The success rate threshold corresponding to the human body sensor.
- the impact will be small, and the corresponding success rate threshold can be small; and whether people pass by is a large uncertainty, and the data report fails.
- the impact is greater, so the success rate threshold corresponding to the human body sensor is higher.
- FIG. 5 is a schematic flowchart of a data transmission method provided in the embodiment of the present application.
- the solution provided in this embodiment is applied to a Bluetooth communication system, and the Bluetooth communication system includes a collection device, a processing device, Output device, as shown in the figure, methods include:
- S501 Pre-pair the collection device with the processing device based on the Bluetooth protocol, and generate a first key shared by the collection device and the processing device;
- the processing device returns a confirmation message encrypted by the first key to the acquisition device in response to the broadcast message;
- the collection device parses the confirmation message according to the first key, and determines that the collection data is successfully reported to the processing device according to the parsing result;
- the processing device determines that the collected data carried in the broadcast message conforms to the preset output event execution condition, generate an output event carrying a control instruction for executing the output event according to the output event corresponding to the output event execution condition that meets the output event broadcast message;
- the processing device parses the confirmation message according to the second key, and determines that the broadcast information is successfully sent to the output device according to the parsing result;
- the collection device when the collection device communicates with the processing device, the collection device is the slave device in the above embodiment, and the processing device is the master device in the above embodiment; when the processing device communicates with the output device, the processing device The output device is a slave device, and the output device is a master device.
- the acquisition device may be a human body sensor
- the processing device may be a Bluetooth gateway or a host
- the output device may be a speaker, a display, and the like.
- the event of the person passing by can be reported to the Bluetooth gateway through the scheme in the above embodiment, and the Bluetooth gateway can broadcast the output command, and the output device can output the corresponding prompt information after receiving the output command. For example, broadcast advertisements, preferential information, precautions, etc. to people passing by.
- the collection device may be a shelf sensor
- the processing device may be a Bluetooth gateway or a host
- the output device may be a speaker, a display, and the like.
- the event of weight loss can be reported to the Bluetooth gateway or the host.
- the output command carrying the output information can be broadcast.
- the output device After the output device receives the output command, it can play the corresponding video or the corresponding voice according to the output information carried in it. For example, play the shelf life and usage of the product. wait.
- the collection device may be a shelf sensor
- the processing device may be a Bluetooth gateway or a host
- the output device may be a device corresponding to a staff involved in replenishment.
- the replenishment command can be issued to the corresponding equipment of the staff participating in the replenishment.
- the staff can pick up the goods from the shelves in the warehouse, and the shelf sensors in the warehouse can sense the weight reduction of the goods and report to Bluetooth gateway or host; the staff can put the goods on the shelf in the sales area, the shelf sensor in the sales area can sense the weight increase of the goods, and report to the Bluetooth gateway or host, the Bluetooth gateway or host can pass through the shelf sensor in the warehouse and the sales area Based on the data reported by the shelf sensor, it is determined that the replenishment is completed, and the information of the completion of the replenishment is broadcast to the equipment of the staff involved in the replenishment to inform the relevant staff.
- the Bluetooth gateway or the host computer can determine the time interval between taking out the goods from the warehouse and storing them in the sales area according to the time information included in the data reported by the shelf sensors in the warehouse and the shelf sensors in the sales area, thereby ensuring the quality of the goods , this solution is especially suitable for goods with high requirements on storage environment or storage temperature.
- the Bluetooth gateway or the host can determine the work efficiency and response speed of the replenishment staff according to the time information included in the data reported by the shelf sensors in the warehouse and the shelf sensors in the sales area.
- Fig. 6 is a schematic structural diagram of a bluetooth communication device provided by the embodiment of the present application, as shown in the figure, it includes:
- the communication module 601 is configured to perform pre-pairing with the master device based on the Bluetooth protocol, and generate a key shared with the master device, and make the slave device that is currently in an unconnected state send a message to the master device based on the result of the pre-pairing
- the master device sends a broadcast message, and receives an acknowledgment message returned by the master device in response to the broadcast message;
- the control module 602 is configured to generate the broadcast message carrying the event data reported by the slave device, parse the confirmation message according to the key, and determine according to the parsing result that the event data is successfully reported to the master device, And, determine the success rate of event data being successfully reported to the master device within a preset time period, and adjust the rate at which the slave device sends the broadcast message according to the difference between the success rate and a preset success rate threshold. transmit power, where the transmit power is proportional to the success rate of event data being successfully reported to the master device.
- the data transmission device in this embodiment is used to implement the corresponding data transmission methods in the foregoing multiple method embodiments, and has the beneficial effects of the corresponding method embodiments, which will not be repeated here.
- the function implementation of each module in the data transmission device of this embodiment reference may be made to the description of corresponding parts in the foregoing method embodiments, and details are not repeated here.
- FIG. 7 shows a schematic structural diagram of a bluetooth communication device provided by the embodiment of the present application, and the specific embodiment of the present application does not limit the specific implementation of the bluetooth communication device.
- the Bluetooth communication device may include: a processor (processor) 702, a communication interface (Communications Interface) 704, a memory (memory) 706, a communication bus 708, and a Bluetooth communication module 712.
- processor processor
- Communication interface Communication interface
- memory memory
- Bluetooth communication module 712.
- the processor 702 , the communication interface 704 , and the memory 706 communicate with each other through the communication bus 708 .
- the communication interface 704 is used for communicating with other bluetooth communication devices or servers.
- the processor 702 is configured to execute the program 710, and specifically, may execute relevant steps in the foregoing data transmission method embodiments.
- the program 710 may include program codes including computer operation instructions.
- the processor 702 may be a central processing unit (CPU), or an ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement the embodiments of the present application.
- a smart device includes one or more processors, which can be of the same type processors, such as one or more CPUs; or different types of processors, such as one or more CPUs and one or more ASICs.
- the memory 706 is used for storing the program 710 .
- the memory 706 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
- An embodiment of the present application further provides a computer program product, including a computer instruction, where the computer instruction instructs a computing device to perform any operation corresponding to data transmission in the above multiple method embodiments.
- each component/step described in the embodiment of the present application can be divided into more components/steps, and two or more components/steps or partial operations of components/steps can also be combined into New components/steps to achieve the purpose of the embodiment of the present application.
- the above method according to the embodiment of the present application can be implemented in hardware, firmware, or as software or computer code that can be stored in a recording medium (such as CD ROM, RAM, floppy disk, hard disk, or magneto-optical disk), or implemented by Computer code downloaded from a network that is originally stored on a remote recording medium or a non-transitory machine-readable medium and will be stored on a local recording medium so that the methods described herein can be stored on a computer code using a general-purpose computer, a dedicated processor, or a programmable Such software processing on a recording medium of dedicated hardware such as ASIC or FPGA.
- a recording medium such as CD ROM, RAM, floppy disk, hard disk, or magneto-optical disk
- Computer code downloaded from a network that is originally stored on a remote recording medium or a non-transitory machine-readable medium and will be stored on a local recording medium so that the methods described herein can be stored on a computer code using a general-purpose computer, a dedicated processor, or
- a computer, processor, microprocessor controller, or programmable hardware includes memory components (e.g., RAM, ROM, flash memory, etc.) that can store or receive software or computer code that, when When accessed and executed by a processor or hardware, implements the data transfer methods described herein.
- memory components e.g., RAM, ROM, flash memory, etc.
- the execution of the code converts the general-purpose computer into a special-purpose computer for executing the data transmission method shown here.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本申请实施例提供了一种数据传输方法、蓝牙通信装置、存储介质及程序产品,数据传输方法,包括:基于蓝牙协议与主设备进行预先配对,并生成与主设备共用的密钥;通过当前处于非连接状态的从设备,基于预先配对的结果向主设备发送通过密钥加密的广播消息,广播消息中携带有从设备上报的事件数据;接收主设备响应于广播消息返回的确认消息,并根据密钥解析确认消息,根据解析结果确定事件数据成功上报至主设备;通过从设备,确定预设时间段内事件数据被成功上报至主设备的成功率,根据成功率与预设的成功率阈值之间的差异,调整从设备发送广播消息的蓝牙发射功率,蓝牙发射功率与事件数据被成功上报至主设备的成功率成正比。
Description
本申请要求于2022年02月24日提交中国专利局、申请号为202210176229.5、申请名称为“数据传输方法、蓝牙通信装置、存储介质及程序产品”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
本申请实施例涉及计算机技术领域,尤其涉及一种数据传输方法、蓝牙通信装置、存储介质及程序产品。
一般情况下,物联网包括物联网设备和服务器,物联网设备可以通过传输网络将数据传输至服务器。示例地,在新零售场景下,物联网***包括摄像头、货架传感器、温度传感器、自助结账终端等设备。
为了保证数据传递的实时性,一般采用wifi网络作为无线通信链路实现数据传输。然而,随着某一物联网环境中物联网设备数量的不断增加,导致wif i网络连接的设备数量不断增加,需要传输的数据也不断增加,这给wif i网络的功耗、可靠性等带来了挑战。
有鉴于此,现有技术亟需解决的技术问题是如何提供另一种可靠性较高且功耗较低的数据传输方案。
发明内容
有鉴于此,本申请实施例提供一种数据传输方案,以至少部分解决上述问题。
根据本申请实施例的第一方面,提供了一种数据传输方法,应用于从设备,包括:基于蓝牙协议与主设备进行预先配对,并生成与所述主设备共用的密钥;通过当前处于非连接状态的所述从设备,基于预先配对的结果向所述主设备发送通过所述密钥加密的广播消息,所述广播消息中携带有所述从设备上报的事件数据;接收所述主设备响应于所述广播消息返回的确认消息,并根据所述密钥解析所述确认消息,根据解析结果确定所述事件数据成功上报至所述主设备;通过所述从设备,确定预设时间段内事件数据被成功上报至所述主设备的成功率,根据所述成功率与预设的成功率阈值之间的差异,调整所述从设备发送所述广播消息的蓝牙发射功率,所述蓝牙发射功率与事件数据被成功上报至所述主设备的成功率成正比。
根据本申请实施例的第二方面,提供了一种数据传输方法,应用于蓝牙通信***,所述蓝牙通信***包括采集设备、处理设备、输出设备,所述方法包括:基于蓝牙协议将采集设备与处理设备、处理设备与输出设备分别进行预先配对,生成采集设备与处理设备共用的第一密钥,以及,处理设备与输出设备共用的第二密钥;通过当前处
于非连接状态的采集设备,基于预先配对的结果向所述处理设备发送通过所述第一密钥加密的广播消息,所述广播消息中携带有所述采集设备采集并上报的采集数据;所述处理设备响应于所述广播消息,返回通过所述第一密钥加密的确认消息至所述采集设备,以使所述采集设备根据所述第一密钥解析所述确认消息并根据解析结果确定所述采集数据成功上报至所述处理设备;若所述处理设备确定所述广播消息携带的所述采集数据符合预设的输出事件执行条件,则根据符合的输出事件执行条件对应的输出事件,生成携带有执行输出事件的控制指令的广播消息;通过当前处于非连接状态的处理设备,基于预先配对的结果将通过所述第二密钥加密的广播信息发送至所述输出设备;通过所述输出设备,根据所述第二密钥解密所述广播信息得到所述控制指令,并响应于所述控制指令执行所述输出事件,以及返回通过所述第二密钥加密的确认消息至所述处理设备。
根据本申请实施例的第三方面,提供了一种蓝牙通信装置,包括:通信模块,用于基于蓝牙协议与主设备进行预先配对,并生成与所述主设备共用的密钥,以及使得当前处于非连接状态的所述从设备,并基于预先配对的结果向所述主设备发送通过所述密钥加密的广播消息,接收所述主设备响应于所述广播消息返回的确认消息;控制模块,用于生成携带有所述从设备上报的事件数据的所述广播消息,根据所述密钥解析所述确认消息,根据解析结果确定所述事件数据成功上报至所述主设备,以及,通过所述从设备,确定预设时间段内事件数据被成功上报至所述主设备的成功率,根据所述成功率与预设的成功率阈值之间的差异,调整所述从设备发送所述广播消息的蓝牙发射功率,所述蓝牙发射功率与事件数据被成功上报至所述主设备的成功率成正比。
根据本申请实施例的第四方面,提供了一种计算机存储介质,其上存储有计算机程序,该程序被处理器执行时实现如上所述的数据传输方法。
根据本申请实施例的第五方面,提供了一种计算机程序产品,包括计算机指令,所述计算机指令指示计算设备执行如上所述的数据传输方法对应的操作。
根据本申请实施例提供的数据传输方案,从设备可以基于蓝牙协议与主设备进行预先配对,并生成与所述主设备共用的密钥;若从设备中生成了需要上报的事件数据,则可以通过当前处于非连接状态的所述从设备,基于预先配对的结果向所述主设备发送通过密钥加密的广播消息,所述广播消息中携带有所述从设备上报的事件数据;接收所述主设备响应于所述广播消息返回的确认消息,并根据所述密钥解析所述确认消息,根据解析结果确定所述事件数据成功上报至所述主设备,通过从设备,确定预设时间段内事件数据被成功上报至所述主设备的成功率,根据所述成功率与预设的成功率阈值之间的差异,调整所述从设备发送所述广播消息的蓝牙发射功率,所述蓝牙发射功率与事件数据被成功上报至所述主设备的成功率成正比。本实施例通过处于非连接状态的从设备与主设备相互配合,通过广播+扫描的方式实现事件数据的上报,由于无需建立及维持主设备和从设备的蓝牙连接状态,数据上报过程的开销较小,并可以
通过从设备与主设备共用的密钥对数据传输过程进行加密,且使得从设备可以确定事件数据被主设备成功接收,从而可以结束本次事件数据的上报流程,减少了广播信道的占用,并且保证了数据传输过程的可靠性;并且,本实施例中,从设备可以根据所述成功率与预设的成功率阈值之间的差异,调整所述从设备发送所述广播消息的蓝牙发射功率,由此,可以使得从设备能够在保证发射广播消息的发射成功率满足预设的成功率阈值的情况下,尽量减少从设备的蓝牙发射功率,从而减少该从设备对其周围其他从设备的干扰,且降低了从设备的功耗。
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请实施例中记载的一些实施例,对于本领域普通技术人员来讲,还可以根据这些附图获得其他的附图。
图1为本申请实施例提供的一种物联网***示意图;
图2为本申请实施例的一种基于蓝牙协议传输数据的步骤流程图;
图3为本申请实施例的一种数据传输方法的流程示意图;
图4为本申请实施例的另一种数据传输方法的流程示意图;
图5为本申请实施例的又一种数据传输方法的流程示意图;
图6为本申请实施例的一种蓝牙通信装置的结构示意图;
图7为本申请实施例的另一种蓝牙通信装置的结构示意图。
为了使本领域的人员更好地理解本申请实施例中的技术方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本申请实施例一部分实施例,而不是全部的实施例。基于本申请实施例中的实施例,本领域普通技术人员所获得的所有其他实施例,都应当属于本申请实施例保护的范围。
下面结合本申请实施例附图进一步说明本申请实施例具体实现。
图1为本申请实施例提供的一种物联网***示意图,如图所示,物联网网络可以包括:一个或多个主设备、多个从设备、云端,主设备和从设备之间可以基于蓝牙协议进行通信。
参见图1,一个主设备可以对应有多个从设备,一个从设备也可以对应一个或多个主设备,本实施例对此不进行限定。
从设备具体可以为物联网设备,具体可以为设置在物联网场景中的终端以及各种传感器,尤其伴随着科技的发展,传感器更是成为了万物互联的基础。具体地,从设备具体可以为进行以下至少之一的设备:温度感知、资产定位、工位探测、环境感知、
会议室占用状态感知、客流感知、货架状态感知、可穿戴医疗监测。
示例地,以新零售场景为例,从设备可以为门店中的自助结账终端、摄像头、称重传感器、货架传感器、用于检测客流的传感器等。
主设备可以为设置在物联网场景中的任意能够处理数据或者将数据上报至云端的设备,例如主设备可以为上述物联网场景中的终端(例如自助结账终端、管理终端等),或者可以为设置在物联网场景中用于与服务端连接的智能路由器等设备,本实施例对此不进行限定。
本实施例中,从设备可以基于蓝牙协议与主设备进行预先配对,并生成与所述主设备共用的密钥;若从设备中生成了需要上报的事件数据,则可以通过当前处于非连接状态的所述从设备,基于预先配对的结果向所述主设备发送通过密钥加密的广播消息,所述广播消息中携带有所述从设备上报的事件数据;接收所述主设备响应于所述广播消息返回的确认消息,并根据所述密钥解析所述确认消息,根据解析结果确定所述事件数据成功上报至所述主设备;从设备可以确定预设时间段内事件数据被成功上报至所述主设备的成功率,根据所述成功率与预设的成功率阈值之间的差异,调整所述从设备发送所述广播消息的蓝牙发射功率,所述蓝牙发射功率与事件数据被成功上报至所述主设备的成功率成正比。本实施例通过处于非连接状态的从设备与主设备相互配合,通过广播+扫描的方式实现事件数据的上报,由于无需建立及维持主设备和从设备的蓝牙连接状态,数据上报过程的开销较小,并可以通过从设备与主设备共用的密钥,使得从设备可以确定事件数据被主设备成功接收,从而可以结束本次事件数据的上报流程,减少了广播信道的占用,并且保证了数据传输过程的可靠性;并且,本实施例中,从设备可以根据所述成功率与预设的成功率阈值之间的差异,调整所述从设备发送所述广播消息的蓝牙发射功率,由此,可以使得从设备能够在保证发射广播消息的发射成功率满足预设的成功率阈值的情况下,尽量减少从设备的蓝牙发射功率,从而减少该从设备对其周围其他从设备的干扰,且降低了从设备的功耗。
需要说明的是,一般基于蓝牙协议传输数据的流程可以参见图2,第一设备和第二设备传输数据的流程为:
1)预先建立蓝牙协议进行预先配对,并生成第一设备和第二设备共用的密钥。
2)基于预先配对关系,通过广播+扫描的方式搜索设备。
3)根据共用的密钥建立蓝牙连接,并基于建立的蓝牙连接进行数据传输。
一般情况下,单个设备上报的数据可能比较小,可能通过一次数据传输即可完成,而上述建立蓝牙连接的过程中需要进行至少三次信令交互过程,使得整个数据传输过程中,建立蓝牙连接的开销大于数据传输过程的开销。
本申请实施例中,参见图3,为本申请实施例提供的一种数据传输方法的流程示意图,本实施例提供的方法主要在图2中示出的搜索设备步骤执行,如图所示,其包
括:
S301、通过从设备基于蓝牙协议与主设备进行预先配对,并生成与所述主设备共用的密钥。
本实施例中,具体基于蓝牙协议进行预先配对以及生成主设备和从设备共用的密钥的方法可参考相关技术,在此不再赘述。主设备和从设备共用的密钥用于使得主设备和从设备在再次进行蓝连接时可以跳过配对过程,直接通过密钥对数据传输过程进行加密,以省略蓝牙配对过程冗长的身份验证流程。
S302、通过当前处于非连接状态的所述从设备,基于预先配对的结果向所述主设备发送通过密钥加密的广播消息,所述广播消息中携带有所述从设备上报的事件数据。
本实施例中,从设备处于非连接状态,是指从设备并未处于与主设备蓝牙连接的状态。
用于上报的事件数据可以为从设备自身生成的,也可以为从设备连接的传感器上报的,本实施例对此不进行限定。事件数据具体可以例如温度传感器上报的温度数据,货架传感器采集的货架上的货物数据,射频设备采集的物流数据等,本实施例对此不进行限定。
从设备具体生成广播消息的方法可参考相关技术,在此不再赘述。
本实施例中,具体可以由链路层处于扫描态的主设备发送扫描请求(Scan request),链路层处于广播态的从设备接收到扫描请求后,可以确定主设备接收到了广播请求。
示例地,广播消息中可以携带有从设备的设备地址以及与从设备预先配对的主设备的设备地址,主设备的设备用于指示广播消息的目的地,从设备的设备地址用于使得主设备得知发送广播消息的发送方。
S303、通过主设备响应于所述广播消息,基于预先配对的结果返回通过所述密钥加密的确认消息至所述从设备。
主设备具体响应广播消息,返回确认消息的方法可参考相关技术,在此不再赘述。
可选地,本申请实施例中,主设备还可以解析所述广播信息,获得所述广播信息中携带的所述事件数据;将所述事件数据上报至云端。
示例地,主设备可以从多个从设备处获得广播数据,并将解析获得的事件数据存储在本地,并可以在存储有预设大小的事件数据后,将事件数据上报至云端,或者间隔预定时长将事件数据上报云端。
S304、通过从设备接收所述主设备响应于所述广播消息返回的确认消息,并根据所述密钥解析所述确认消息,根据解析结果确定所述事件数据成功上报至所述主设备。
本实施例中,确认消息中携带有主设备的标识信息,用于使得从设备可以根据密钥解析获得主设备的标识信息。
一般情况下,主设备的标识信息用于供从设备根据其与主设备共享的密钥,来确
定主设备的身份,在确认身份后,可以基于主设备的身份确认结果通过connect消息进行蓝牙连接,由此,可以跳过配对步骤。
而本实施例中,从设备可以基于密钥解析获得主设备的标识信息,从而可以使得从设备确定广播信息已被主设备接收。
S305、通过所述从设备,确定预设时间段内事件数据被成功上报至所述主设备的成功率,根据所述成功率与预设的成功率阈值之间的差异,调整所述从设备发送所述广播消息的蓝牙发射功率。
本实施例中,所述蓝牙发射功率与事件数据被成功上报至所述主设备的成功率成正比,蓝牙发射功率越高,广播消息被主设备接收到的概率越高,事件数据被成功上报的概率越高。
本实施例中,从设备可以接受部分事件数据上报失败,则本实施例中,从设备内可以预先设置有成功率阈值,成功率阈值为从设备可接受的事件数据被成功上报至所述主设备的最低成功率。从设备可以确定预设时间段内事件数据被成功上报至主设备的成功率,若成功率大于预设的成功率阈值,则可以降低从设备的蓝牙发射功率,若成功率小于预设的成功率阈值,则可以增加从设备的蓝牙发射功率。
示例地,蓝牙发射功率可分为多个等级,例如8个等级或者64个等级,从设备可以根据预设时间段内的成功率和预设的成功率阈值之间的差异,确定需要增加或降低的蓝牙发射功率的等级。
通过根据预设的成功率阈值,来调整从设备的蓝牙发射功率,可以使得从设备能够在保证发射广播消息的发射成功率满足预设的成功率阈值的情况下,尽量减少从设备的蓝牙发射功率,从而减少该从设备对其周围其他从设备的干扰,且降低了从设备的功耗。
下面通过一种具体地使用场景,对上述方案进行示例性说明。
示出了一种门店的示意图,门店中可以部署有主设备和从设备,主设备和从设备之间的距离可以根据蓝牙信号的覆盖范围确定。
主设备和从设备可以预先进行配对,并生成共享的长期密钥LTK。
从设备可以用于感应客流,并在感应到客流后生成“客流”的事件数据,并根据上述预先的配对结果,将携带有的事件数据且通过长期密钥LTK加密的广播消息发送至主设备。
主设备接收到广播消息后,可以根据预先的配对结果返回确定消息到从设备,并可以将广播消息中携带的事件数据上报至云端。
从设备可以不断发送广播消息,直至接收到主设备返回的确定消息。当从设备根据密钥解析确定消息,确定广播消息已经被主设备接收后,可以停止发送广播消息。
多次发送广播消息后,从设备可以确定预设时间段内事件数据被成功上报至所述主设备的成功率,例如,确定1分钟内事件数据被成功上报至主设备的成功率为80%。
若从设备预设的成功率阈值为95%,则根据从设备预设时间段内的成功率80%以及预设的成功率阈值95%,可以增加从设备的蓝牙发射功率;反之,若从设备预设时间段内的成功率为95%,而从设备预设的成功率阈值为80%,则可以降低从设备的蓝牙发射功率。
在物联网领域,尤其是新零售场景下,为了尽量减少布线的困扰,很多需要上报数据的从设备采用的是电池供电,例如,冷柜内的温度传感器等,而通过本实施例提供的方案,可以极大地降低从设备上报数据时的功耗,延长从设备的使用时长。
本申请实施例中,参见图4,为本申请实施例提供的一种数据传输方法的流程示意图,如图所示,其包括:
S401、通过从设备基于蓝牙协议与主设备进行预先配对,并生成与所述主设备共用的密钥。
可选地,本实施例中,基于蓝牙协议与主设备进行预先配对,并生成与所述主设备共用的密钥,包括:基于蓝牙协议与主设备建立连接,并依据连接密钥对所述主设备进行身份认证,其中,所述连接密钥为基于时间信息的连接密钥;若身份认证通过,则生成并交换与所述主设备共用的所述密钥。由此,可以基于连接密钥尽量保证生成的共用密钥的安全性,进而保证数据传输过程的安全性。
具体地,本实施例中主设备和从设备基于连接密钥验证身份后,可以通过绑定机制交换共用的密钥LTK(long-term Key)。
可选地,本实施例中,所述连接密钥通过下述方法生成:根据当前时刻、预设起始时间点以及预设时间步长,确定时间参数;根据预设密钥参数以及所述时间参数,生成所述连接密钥;其中,所述主设备以及所述从设备时钟同步,且共享所述预设起始时间点、所述预设时间步长以及所述预设密钥参数。
本实施例中,通过基于时间的动态加密算法,只要在主设备和从设备时钟同步,且共享所述预设起始时间点、所述预设时间步长以及所述预设密钥参数,即可生成主设备和从设备独有的连接密钥,极大地保证了数据的安全性。
连接密钥的算法表达可以为:TOTP=Truncate(HMAC-SHA-1(K,(T-T0)/X))。其中,K为预设密钥参数,T为时间,T0为预设起始时间点,X预设时间步长,(T-T0)/X)为计算得到的时间参数,HMAC-SHA-1表示根据预设密钥参数和时间参数HMAC的SHA1算法加密,得到160位长度(20字节)的加密结果,truncate()指示将加密加过修改为具有指定长度的参数。
另外,在进行数据上报之前,还可以在从设备中建立缓冲区域,用来存储不能及时通过广播消息上报的事件数据。并且,主设备和从设备还可以预先约定广播消息的格式,具体地格式本领域的技术人员可以根据需求确定,本实施例不对此进行限定。另外,广播消息中携带的事件数据也可以采用上述基于时间进行动态加密的方法,以
保证数据的安全性。
S402、通过从设备在监测到事件发生时启动计时,并根据发生的事件生成用于上报的所述事件数据。
本实施例中,从设备中可以设置有计时器,当监测到事件发生时可以启动计时器,以记录事件发生已经过去的时间。
S403、通过当前处于非连接状态的所述从设备,基于预先配对的结果向所述主设备发送广播消息,所述广播消息中携带有所述事件数据以及发送所述广播消息时刻对应的计时值。
可选地,本申请实施例中,所述从设备与多个主设备进行预先配对,所述通过当前处于非连接状态的所述从设备,基于预先配对的结果向所述主设备发送广播消息,包括:通过当前处于非连接状态的所述从设备,基于预先配对的结果向多个已配对的主设备进行定向广播,以将所述广播消息发送至多个主设备中的至少一个。由此,可以使得从设备的广播信息可以传输至多个主设备,增加了数据被可靠传递至主设备的概率,降低了从设备发送广播数据的功耗以及从设备对无线频谱的占用。
S403、通过主设备根据扫描获得所述广播消息的时间和所述计时值,确定事件发生时间,并保存事件数据和事件发生时间。
本实施例中,主设备扫描获得广播消息时,可以记录获得广播消息的时间,并结合广播消息中携带的计时值,确定事件发生时间。
具体地,假设主设备扫描获得广播数据的时刻为T_Scan,广播消息中携带的计时值为T_past,则可以推断出传感器监测到客流的时刻为:T_Appear=T_Scan-T_past,即,接收到广播消息的时间减去发送广播消息时事件发生已经过去的时间,可以获得事件发生时间。
S405、通过主设备响应于所述广播消息,基于预先配对的结果返回通过所述密钥加密的确认消息至所述从设备。
具体地,主设备返回至从设备的确认消息可以为扫描请求SCAN_REQ。
可选地,本申请实施例中,主设备还可以解析所述广播信息,获得所述广播信息中携带的所述事件数据;将所述事件数据上报至云端。
示例地,主设备可以从多个从设备处获得广播数据,并将解析获得的事件数据存储在本地,并可以在存储有预设大小的事件数据后,将事件数据上报至云端,或者间隔预定时长将事件数据上报云端。
S406、通过从设备接收所述主设备响应于所述广播消息返回的确认消息,并根据所述密钥解析所述确认消息,根据解析结果确定所述事件数据成功上报至所述主设备。
本实施例中,从设备接收到主设备返回的扫描请求SCAN_REQ后,可以根据密钥LTK解析扫描请求SCAN_REQ,获得主设备的标识信息,标识信息具体可以为主设备的地址信息等。
具体地,本实施例中,所述方法还包括:
S407、若根据解析结果确定所述事件数据成功上报至所述主设备,则停止计时,并停止向所述主设备发送广播消息。
本实施例提供的方案,通过在广播消息中增加计时值,可以在不增加广播消息的大小的前提下,使得主设备准确地确定事件发生时间;另外,本实施例中,在预先配对过程中,通过基于时间动态变化的连接密钥,可以保证主设备和从设备共用的密钥的安全呢性,进而保证数据传输过程中数据的安全性;此外,本实施例中,通过主设备和从设备共用的密钥,可以使得从设备根据主设备返回的SCA_REQ中的地址信息被准确解析,进而使得从设备可以准确确定事件数据被主设备接收。
S408、通过所述从设备,确定预设时间段内事件数据被成功上报至所述主设备的成功率,根据所述成功率与预设的成功率阈值之间的差异,调整所述从设备发送所述广播消息的蓝牙发射功率。
可选地,本实施例中,可以在基于蓝牙协议与主设备进行预先配对之后,所述从设备根据所述主设备的设置信息确定对应的所述预设的成功率阈值。
由此,可在预先配对过程中通过主设备方便地对从设备的预设成功率阈值进行设置。
可选地,本实施例中,所述从设备包括以下至少之一:温度传感器、重量传感器、人体传感器,其中,所述温度传感器和\或所述重量传感器对应的成功率阈值,小于所述人体传感器对应的成功率阈值。
示例地,由于温度或者重量等不会突变,即使数据上报失败,产生的影响也较小,则其对应的成功率阈值可以较小;而人是否经过是较大的不确定性,数据上报失败产生的影响较大,因此人体传感器对应的成功率阈值较高。
本申请实施例中,参见图5,为本申请实施例提供的一种数据传输方法的流程示意图,本实施例提供的方案应用于蓝牙通信***,所述蓝牙通信***包括采集设备、处理设备、输出设备,如图所示,方法包括:
S501、基于蓝牙协议将采集设备与处理设备进行预先配对,生成采集设备与处理设备共用的第一密钥,;
S502、基于蓝牙协议将处理设备与输出设备进行预先配对,生成处理设备与输出设备共用的第二密钥;
S503、通过当前处于非连接状态的采集设备,基于预先配对的结果向所述处理设备发送通过所述第一密钥加密的广播消息,所述广播消息中携带有所述采集设备采集并上报的采集数据;
S504、所述处理设备响应于所述广播消息,返回通过所述第一密钥加密的确认消息至所述采集设备;
S505、所述采集设备根据所述第一密钥解析所述确认消息并根据解析结果确定所述采集数据成功上报至所述处理设备;
S506、若所述处理设备确定所述广播消息携带的所述采集数据符合预设的输出事件执行条件,则根据符合的输出事件执行条件对应的输出事件,生成携带有执行输出事件的控制指令的广播消息;
S507、通过当前处于非连接状态的处理设备,基于预先配对的结果将通过所述第二密钥加密的广播信息发送至所述输出设备;
S508、通过所述输出设备,返回通过所述第二密钥加密的确认消息至所述处理设备。
S509、所述处理设备根据所述第二密钥解析所述确认消息并根据解析结果确定所述广播信息成功发送至所述输出设备;
S510、通过所述输出设备,根据所述第二密钥解密所述广播信息得到所述控制指令,并响应于所述控制指令执行所述输出事件;
在本实施例中,当采集设备与处理设备进行通信时,采集设备为上述实施例中的从设备、处理设备为上述实施例中的主设备;当处理设备与输出设备进行通信时,处理设备为从设备,输出设备为主设备,具体进行数据传输的方法可参考上述实施例,在此不再赘述。
示例地,采集设备可以为人体传感器,处理设备可以为蓝牙网关或者主机,输出设备可以为扬声器、显示器等。
当人体传感器感应到人经过时,可以通过上述实施例中的方案将人经过的事件上报至蓝牙网关,蓝牙网关可以广播输出指令,输出设备在接收到输出指令后,可以输出对应的提示信息,例如,向经过的人播放广告、优惠信息、注意事项等。
示例地,采集设备可以为货架传感器,处理设备可以为蓝牙网关或者主机,输出设备可以为扬声器、显示器等。通过货架传感器感应到货架上的商品重量降低时,可以将重量降低的事件上报至蓝牙网关或者主机,蓝牙网关或者主机可以根据上报时间的货架传感器,确定重量发生变化的商品,并确定商品对应的输出信息后,可以广播携带有输出信息的输出指令,输出设备在接收到输出指令后,可以根据其中携带的输出信息,播放对应的视频或者播放对应的语音,例如,播放商品对应的保质期、用法等。
示例地,采集设备可以为货架传感器,处理设备可以为蓝牙网关或者主机,输出设备可以为参与补货的工作人员对应的设备。通过蓝牙网关或者主机可以下发补货命令至参与补货的工作人员对应的设备,工作人员可以从仓库中的货架上提取货物,则仓库中的货架传感器可以感知货物的重量减少,并上报至蓝牙网关或者主机;工作人员可以将货物售卖区的货架上,售卖区的货架传感器可以感知货物的重量增加,并上报至蓝牙网关或者主机,蓝牙网关或者主机可以通过仓库中的货架传感器以及售卖区
的货架传感器上报的数据,确定补货完成,并将补货完成的信息广播至参与补货的工作人员的设备,以告知相关的工作人员。
进一步地,蓝牙网关或者主机可以根据仓库中的货架传感器以及售卖区的货架传感器上报的数据中包括的时间信息,确定货物从仓库取出到存储至售卖区的时间间隔,由此可以保证货物的质量,本方案尤其适用于对保存环境或者保存温度等要求较高的货物。此外,蓝牙网关或者主机可以根据仓库中的货架传感器以及售卖区的货架传感器上报的数据中包括的时间信息,来确定补货的工作人员的工作效率以及响应速度。
图6为本申请实施例提供的一种蓝牙通信装置的结构示意图,如图所示,其包括:
通信模块601,用于基于蓝牙协议与主设备进行预先配对,并生成与所述主设备共用的密钥,以及使得当前处于非连接状态的所述从设备,并基于预先配对的结果向所述主设备发送广播消息,接收所述主设备响应于所述广播消息返回的确认消息;
控制模块602,用于生成携带有所述从设备上报的事件数据的所述广播消息,根据所述密钥解析所述确认消息,根据解析结果确定所述事件数据成功上报至所述主设备,以及,确定预设时间段内事件数据被成功上报至所述主设备的成功率,根据所述成功率与预设的成功率阈值之间的差异,调整所述从设备发送所述广播消息的发射功率,所述发射功率与事件数据被成功上报至所述主设备的成功率成正比。
本实施例的数据传输装置用于实现前述多个方法实施例中相应的数据传输方法,并具有相应的方法实施例的有益效果,在此不再赘述。此外,本实施例的数据传输装置中的各个模块的功能实现均可参照前述方法实施例中的相应部分的描述,在此亦不再赘述。
参照图7,示出了本申请实施例提供的一种蓝牙通信装置的结构示意图,本申请具体实施例并不对蓝牙通信装置的具体实现做限定。
如图7所示,该蓝牙通信装置可以包括:处理器(processor)702、通信接口(Communications Interface)704、存储器(memory)706、以及通信总线708、蓝牙通信模块712。
其中:
处理器702、通信接口704、以及存储器706通过通信总线708完成相互间的通信。
通信接口704,用于与其它蓝牙通信装置或服务器进行通信。
处理器702,用于执行程序710,具体可以执行上述数据传输方法实施例中的相关步骤。
具体地,程序710可以包括程序代码,该程序代码包括计算机操作指令。
处理器702可能是CPU(central processing unit),或者是特定集成电路ASIC(Application Specific Integrated Circuit),或者是被配置成实施本申请实施例的一个或多个集成电路。智能设备包括的一个或多个处理器,可以是同一类型的处理
器,如一个或多个CPU;也可以是不同类型的处理器,如一个或多个CPU以及一个或多个ASIC。
存储器706,用于存放程序710。存储器706可能包含高速RAM存储器,也可能还包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。
程序710中各步骤的具体实现可以参见上述数据传输方法实施例中的相应步骤和单元中对应的描述,在此不赘述。所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的设备和模块的具体工作过程,可以参考前述方法实施例中的对应过程描述,在此不再赘述。
本申请实施例还提供了一种计算机程序产品,包括计算机指令,该计算机指令指示计算设备执行上述多个方法实施例中的任一数据传输对应的操作。
需要指出,根据实施的需要,可将本申请实施例中描述的各个部件/步骤拆分为更多部件/步骤,也可将两个或多个部件/步骤或者部件/步骤的部分操作组合成新的部件/步骤,以实现本申请实施例的目的。
上述根据本申请实施例的方法可在硬件、固件中实现,或者被实现为可存储在记录介质(诸如CD ROM、RAM、软盘、硬盘或磁光盘)中的软件或计算机代码,或者被实现通过网络下载的原始存储在远程记录介质或非暂时机器可读介质中并将被存储在本地记录介质中的计算机代码,从而在此描述的方法可被存储在使用通用计算机、专用处理器或者可编程或专用硬件(诸如ASIC或FPGA)的记录介质上的这样的软件处理。可以理解,计算机、处理器、微处理器控制器或可编程硬件包括可存储或接收软件或计算机代码的存储组件(例如,RAM、ROM、闪存等),当所述软件或计算机代码被计算机、处理器或硬件访问且执行时,实现在此描述的数据传输方法。此外,当通用计算机访问用于实现在此示出的数据传输方法的代码时,代码的执行将通用计算机转换为用于执行在此示出的数据传输方法的专用计算机。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及方法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请实施例的范围。
以上实施方式仅用于说明本申请实施例,而并非对本申请实施例的限制,有关技术领域的普通技术人员,在不脱离本申请实施例的精神和范围的情况下,还可以做出各种变化和变型,因此所有等同的技术方案也属于本申请实施例的范畴,本申请实施例的专利保护范围应由权利要求限定。
Claims (12)
- 一种数据传输方法,应用于从设备,包括:基于蓝牙协议与主设备进行预先配对,并生成与所述主设备共用的密钥;通过当前处于非连接状态的所述从设备,基于预先配对的结果向所述主设备发送通过所述密钥加密的广播消息,所述广播消息中携带有所述从设备上报的事件数据;接收所述主设备响应于所述广播消息返回的确认消息,并根据所述密钥解析所述确认消息,根据解析结果确定所述事件数据成功上报至所述主设备;通过所述从设备,确定预设时间段内事件数据被成功上报至所述主设备的成功率,根据所述成功率与预设的成功率阈值之间的差异,调整所述从设备发送所述广播消息的蓝牙发射功率,所述蓝牙发射功率与事件数据被成功上报至所述主设备的成功率成正比。
- 根据权利要求1所述的方法,其中,所述方法还包括:在监测到事件发生时启动计时,并根据发生的事件生成用于上报的所述事件数据;所述通过当前处于非连接状态的所述从设备,基于预先配对的结果向所述主设备发送广播消息,包括:通过当前处于非连接状态的所述从设备,基于预先配对的结果向所述主设备发送广播消息,所述广播消息中携带有所述事件数据以及发送所述广播消息时刻对应的计时值,以使所述主设备根据扫描获得所述广播消息的时间和所述计时值,确定事件发生时间。
- 根据权利要求2所述的方法,其中,所述方法还包括:若根据解析结果确定所述事件数据成功上报至所述主设备,则停止计时,并停止向所述主设备发送广播消息。
- 根据权利要求1所述的方法,其中,所述基于蓝牙协议与主设备进行预先配对,并生成与所述主设备共用的密钥,包括:基于蓝牙协议与主设备建立连接,并依据连接密钥对所述主设备进行身份认证,其中,所述连接密钥为基于时间信息变化的连接密钥;若身份认证通过,则生成并交换与所述主设备共用的所述密钥。
- 根据权利要求4所述的方法,其中,所述连接密钥通过下述方法生成:根据当前时刻、预设起始时间点以及预设时间步长,确定时间参数;根据预设密钥参数以及所述时间参数,生成所述连接密钥;其中,所述主设备以及所述从设备时钟同步,且共享所述预设起始时间点、所述 预设时间步长以及所述预设密钥参数。
- 根据权利要求1所述的方法,其中,所述从设备与多个主设备进行预先配对,所述通过当前处于非连接状态的所述从设备,基于预先配对的结果向所述主设备发送广播消息,包括:通过当前处于非连接状态的所述从设备,基于预先配对的结果向多个已配对的主设备进行定向广播,以将所述广播消息发送至多个主设备中的至少一个。
- 根据权利要求1所述的方法,其中,所述基于蓝牙协议与主设备进行预先配对,并生成与所述主设备共用的密钥,包括:基于蓝牙协议与主设备进行预先配对之后,所述从设备根据所述主设备的设置信息确定对应的所述预设的成功率阈值。
- 根据权利要求7所述的方法,其中,所述从设备包括以下至少之一:温度传感器、重量传感器、人体传感器,其中,所述温度传感器和\或所述重量传感器对应的成功率阈值,小于所述人体传感器对应的成功率阈值。
- 一种数据传输方法,应用于蓝牙通信***,所述蓝牙通信***包括采集设备、处理设备、输出设备,所述方法包括:基于蓝牙协议将采集设备与处理设备、处理设备与输出设备分别进行预先配对,生成采集设备与处理设备共用的第一密钥,以及,处理设备与输出设备共用的第二密钥;通过当前处于非连接状态的采集设备,基于预先配对的结果向所述处理设备发送通过所述第一密钥加密的广播消息,所述广播消息中携带有所述采集设备采集并上报的采集数据;所述处理设备响应于所述广播消息,返回通过所述第一密钥加密的确认消息至所述采集设备,以使所述采集设备根据所述第一密钥解析所述确认消息并根据解析结果确定所述采集数据成功上报至所述处理设备;若所述处理设备确定所述广播消息携带的所述采集数据符合预设的输出事件执行条件,则根据符合的输出事件执行条件对应的输出事件,生成携带有执行输出事件的控制指令的广播消息;通过当前处于非连接状态的处理设备,基于预先配对的结果将通过所述第二密钥加密的广播信息发送至所述输出设备;通过所述输出设备,根据所述第二密钥解密所述广播信息得到所述控制指令,并响应于所述控制指令执行所述输出事件,以及返回通过所述第二密钥加密的确认消息 至所述处理设备。
- 一种蓝牙通信装置,包括:通信模块,用于基于蓝牙协议与主设备进行预先配对,并生成与所述主设备共用的密钥,以及使得当前处于非连接状态的所述从设备,并基于预先配对的结果向所述主设备发送通过所述密钥加密的广播消息,接收所述主设备响应于所述广播消息返回的确认消息;控制模块,用于生成携带有所述从设备上报的事件数据的所述广播消息,根据所述密钥解析所述确认消息,根据解析结果确定所述事件数据成功上报至所述主设备,以及,确定预设时间段内事件数据被成功上报至所述主设备的成功率,根据所述成功率与预设的成功率阈值之间的差异,调整所述从设备发送所述广播消息的发射功率,所述发射功率与事件数据被成功上报至所述主设备的成功率成正比。
- 一种计算机存储介质,其上存储有计算机程序,该程序被处理器执行时实现如权利要求1-9中任一所述的数据传输方法。
- 一种计算机程序产品,包括计算机指令,所述计算机指令指示计算设备执行如权利要求1-9中任一所述的数据传输方法对应的操作。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210176229.5A CN114554469A (zh) | 2022-02-24 | 2022-02-24 | 数据传输方法、蓝牙通信装置、存储介质及程序产品 |
CN202210176229.5 | 2022-02-24 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2023160400A1 true WO2023160400A1 (zh) | 2023-08-31 |
Family
ID=81679320
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2023/075108 WO2023160400A1 (zh) | 2022-02-24 | 2023-02-09 | 数据传输方法、蓝牙通信装置、存储介质及程序产品 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN114554469A (zh) |
WO (1) | WO2023160400A1 (zh) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117614993A (zh) * | 2023-12-26 | 2024-02-27 | 杭州骋风而来数字科技有限公司 | 设备控制方法、***、设备及介质 |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114554469A (zh) * | 2022-02-24 | 2022-05-27 | 盒马(中国)有限公司 | 数据传输方法、蓝牙通信装置、存储介质及程序产品 |
CN115278551B (zh) * | 2022-06-14 | 2023-10-13 | 广东逸动科技有限公司 | 控制方法、远控端、智能终端、通信***及存储介质 |
CN115623645A (zh) * | 2022-09-05 | 2023-01-17 | 深圳市集贤科技有限公司 | 灯光设备联动控制***及其灯光设备联动控制方法 |
CN115664932B (zh) * | 2022-10-17 | 2024-01-26 | 厦门海辰储能科技股份有限公司 | 能量块并联通讯方法及装置 |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111105528A (zh) * | 2020-02-20 | 2020-05-05 | 南京艾弗雷德网络技术有限公司 | 一种基于蓝牙广播的智能门锁*** |
CN111918377A (zh) * | 2020-08-08 | 2020-11-10 | 北京百瑞互联技术有限公司 | 一种蓝牙发射功率自适应的方法及*** |
CN112738780A (zh) * | 2020-12-28 | 2021-04-30 | 青岛海尔科技有限公司 | 测量参数的上报方法及装置、存储介质、电子装置 |
US20210227368A1 (en) * | 2018-02-13 | 2021-07-22 | Bayerische Motoren Werke Aktiengesellschaft | Master-Slave System for Communication Over a Bluetooth Low Energy Connection |
CN113329399A (zh) * | 2020-02-28 | 2021-08-31 | 阿里巴巴集团控股有限公司 | 数据传输、配网与管理方法、设备、***及存储介质 |
CN114554469A (zh) * | 2022-02-24 | 2022-05-27 | 盒马(中国)有限公司 | 数据传输方法、蓝牙通信装置、存储介质及程序产品 |
-
2022
- 2022-02-24 CN CN202210176229.5A patent/CN114554469A/zh active Pending
-
2023
- 2023-02-09 WO PCT/CN2023/075108 patent/WO2023160400A1/zh unknown
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20210227368A1 (en) * | 2018-02-13 | 2021-07-22 | Bayerische Motoren Werke Aktiengesellschaft | Master-Slave System for Communication Over a Bluetooth Low Energy Connection |
CN111105528A (zh) * | 2020-02-20 | 2020-05-05 | 南京艾弗雷德网络技术有限公司 | 一种基于蓝牙广播的智能门锁*** |
CN113329399A (zh) * | 2020-02-28 | 2021-08-31 | 阿里巴巴集团控股有限公司 | 数据传输、配网与管理方法、设备、***及存储介质 |
CN111918377A (zh) * | 2020-08-08 | 2020-11-10 | 北京百瑞互联技术有限公司 | 一种蓝牙发射功率自适应的方法及*** |
CN112738780A (zh) * | 2020-12-28 | 2021-04-30 | 青岛海尔科技有限公司 | 测量参数的上报方法及装置、存储介质、电子装置 |
CN114554469A (zh) * | 2022-02-24 | 2022-05-27 | 盒马(中国)有限公司 | 数据传输方法、蓝牙通信装置、存储介质及程序产品 |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117614993A (zh) * | 2023-12-26 | 2024-02-27 | 杭州骋风而来数字科技有限公司 | 设备控制方法、***、设备及介质 |
Also Published As
Publication number | Publication date |
---|---|
CN114554469A (zh) | 2022-05-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2023160400A1 (zh) | 数据传输方法、蓝牙通信装置、存储介质及程序产品 | |
US10911930B2 (en) | Wireless system, wireless device, non-transitory computer-readable storage medium having stored therein communication program, and communication method | |
US10904832B2 (en) | Wireless system, wireless device, non-transitory computer-readable storage medium having stored therein communication program, and communication method | |
US10645559B2 (en) | Bluetooth connection method and terminal | |
US10397868B2 (en) | Wireless system, wireless device, non-transitory computer-readable storage medium having stored therein communication program, and communication method | |
US9479892B2 (en) | Method and technical equipment for short range data transmission | |
US20210119716A1 (en) | Data synchronization method, device, equipment, system and storage medium | |
US10524298B2 (en) | Method and apparatus for sending and receiving data on Bluetooth | |
US10959122B2 (en) | Method and device for transmitting data | |
US20200213903A1 (en) | Data transmission method and device | |
CN104137618A (zh) | 经由对等链路的共享网络访问 | |
EP3135053B1 (en) | Data transmission | |
TW201637392A (zh) | 鄰域感知網路(nan)資料路徑中的訊務廣告(五) | |
WO2017118002A1 (zh) | 机器人与服务器同步的方法及*** | |
WO2019080906A1 (zh) | 一种基于lwaap的数据传输方法、装置及存储介质 | |
WO2018095175A1 (zh) | 通信消息同步方法、数据备份方法、设备及存储介质 | |
US9781691B2 (en) | Wireless communication device, non-transitory computer readable medium, and wireless communication system | |
US9886400B2 (en) | Communication system and communication method | |
US20240236568A1 (en) | Wireless audio monitoring method and wireless audio system | |
US11917543B2 (en) | Bluetooth-based data transmission method and data receiving method, communicating apparatus and computer storage medium | |
US10425508B1 (en) | System for identifying idle time of a protocol to facilitate communication using multiple protocols | |
WO2023024119A1 (zh) | 一种应用于短距无线通信的数据传输方法及通信装置 | |
CN114489730A (zh) | 一种远程升级方法及其终端设备、计算机可读存储介质 | |
US20210377855A1 (en) | Communicating in a wireless network | |
JP2014027616A (ja) | 無線通信装置、無線通信方法及びプログラム |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 23759025 Country of ref document: EP Kind code of ref document: A1 |