CN111065084A - Method for improving low-power-consumption Bluetooth transmission speed - Google Patents

Method for improving low-power-consumption Bluetooth transmission speed Download PDF

Info

Publication number
CN111065084A
CN111065084A CN202010117784.1A CN202010117784A CN111065084A CN 111065084 A CN111065084 A CN 111065084A CN 202010117784 A CN202010117784 A CN 202010117784A CN 111065084 A CN111065084 A CN 111065084A
Authority
CN
China
Prior art keywords
main control
data
data packets
control equipment
peripheral
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010117784.1A
Other languages
Chinese (zh)
Inventor
邱文庆
范锐
朱勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Barrot Wireless Co Ltd
Original Assignee
Barrot Wireless Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Barrot Wireless Co Ltd filed Critical Barrot Wireless Co Ltd
Priority to CN202010117784.1A priority Critical patent/CN111065084A/en
Publication of CN111065084A publication Critical patent/CN111065084A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/06Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information
    • H04W28/065Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information using assembly or disassembly of packets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE 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/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

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

Abstract

The invention discloses a method for improving the transmission speed of low-power-consumption Bluetooth, belonging to the technical field of communication. The method for improving the transmission speed of the low-power-consumption Bluetooth comprises the following steps: the master control device and the peripheral device establish communication connection through Bluetooth; the peripheral equipment sends a maximum packet length negotiation request to the main control equipment, and the main control equipment feeds back the negotiated maximum packet length to the peripheral equipment; the peripheral equipment transmits the number requirement of data packets which are allowed to be continuously transmitted by the main control equipment to the main control equipment; the main control equipment disassembles the transmitted data according to the negotiated maximum packet length and divides the data into data packets; and the main control equipment sends the split data packets to the peripheral equipment according to the number of the continuously sent data packets. The invention adopts the mode of combining the increase of the data packet length and the continuous data packet sending mechanism to carry out data transmission, reduces the frequency of waiting for the reply of the data receiver and saves the time of waiting for the reply of the data receiver.

Description

Method for improving low-power-consumption Bluetooth transmission speed
Technical Field
The invention relates to the technical field of voice communication, in particular to a method for improving the transmission speed of low-power-consumption Bluetooth.
Background
BLE refers to Bluetooth Low Energy (Bluetooth Low Energy technology), and can implement Low-power data transmission between Bluetooth devices. A large number of devices currently support BLE functionality, such as cell phones and some smart accessories. However, the data transmission speed of BLE is not very high, mainly due to two reasons, one is that the maximum packet length used by many devices by default is 20 bytes, and the other is that the sender needs to wait for the receiver to reply after sending a data packet before sending the next packet.
Disclosure of Invention
The invention mainly solves the technical problem of providing a method for improving the low-power consumption Bluetooth transmission speed, so that the data transmission speed of the conventional BLE is improved, and the data transmission efficiency is improved.
In order to achieve the above object, the first technical solution adopted by the present invention is: a method for improving the transmission speed of low-power Bluetooth is characterized by comprising the following steps: the master control device and the peripheral device establish communication connection through Bluetooth; the peripheral equipment sends a maximum packet length negotiation request to the main control equipment, and the main control equipment feeds back the negotiated maximum packet length to the peripheral equipment; the peripheral equipment transmits the number requirement of data packets which are allowed to be continuously transmitted by the main control equipment to the main control equipment; the main control equipment disassembles the transmitted data according to the negotiated maximum packet length and divides the data into data packets; the main control equipment sends the split data packets to the peripheral equipment according to the number of the continuously sent data packets; wherein the maximum negotiated packet length byte number is more than 20.
The invention has the beneficial effects that:
the application of the invention improves the speed of the low-power Bluetooth data transmission, thereby improving the data transmission efficiency.
Drawings
Fig. 1 is a flow chart of a method for increasing the transmission speed of bluetooth low energy according to the present invention.
Detailed Description
The following detailed description of the preferred embodiments of the present invention, taken in conjunction with the accompanying drawings, will make the advantages and features of the invention easier to understand by those skilled in the art, and thus will clearly and clearly define the scope of the invention.
The length of a data packet in the existing BLE (default 20 bytes) is that after a sender sends a data packet to a receiver, the sender needs to wait for the receiver to reply before sending the next data packet, that is, a question-and-answer mode is adopted.
The invention adopts a mode of combining the increase of the length of the data packet (the byte number of the data is more than 20 bytes) and a continuous sending mechanism of the data packet to replace a data packet transmission mechanism in the prior BLE technology. On one hand, the amount of data transmitted by one data packet is increased; on the other hand, the sender can continuously send a plurality of data packets and then receive the reply of the data receiver, thereby reducing the frequency of waiting for the reply of the data receiver and saving the time of waiting for the reply of the data receiver. According to the invention, a data transmission speed higher than that of the existing BLE data transmission speed is obtained through a new data transmission mechanism.
Fig. 1 shows an embodiment of a method for increasing a transmission speed of bluetooth low energy according to the present invention, in which the method mainly includes the following steps:
s1 is a step of establishing a communication connection between the master device and the Peripheral device, where the master device (Controller) and the Peripheral device (Peripheral) in the bluetooth protocol establish a communication connection through a generic attribute Profile (GATT) service by using a bluetooth low energy technology. In one embodiment of the present invention, the master device may be a smartphone, a tablet, a Personal Computer (PC), or the like. The peripheral device may be a sphygmomanometer, a thermometer, a bracelet, a bluetooth remote control, etc.
S2 is a step of negotiating the maximum transmission packet length between the master device and the peripheral device, and the peripheral device sends a request for negotiating the maximum packet length to the master device. The maximum packet length is the number of bytes of the data packet sent by the master device, and preferably, the negotiated maximum number of bytes of the packet length is greater than 20. The main control device determines the negotiated maximum packet length after receiving the request of the peripheral device, and then feeds back the negotiated maximum packet length to the peripheral device, thereby providing technical support for subsequent data transmission.
S3 is a step of negotiating, by the main control device and the peripheral device, the number of consecutively transmitted data packets, where the peripheral device determines the number of data packets that can be consecutively received from the main control device, and then transmits, to the main control device, the number of data packets that the main control device is allowed to consecutively transmit. Preferably, the number of data packets continuously transmitted by the master device is greater than 1.
S4 is a step of parsing and packetizing data transmitted by the master device, where the master device parses and packetizes the transmitted data into data packets according to the maximum packet length negotiated with the peripheral device, and the number of bytes of each data packet is greater than 20.
S5 is a step of data transmission between the host and the peripheral, where the host transmits the disassembled and divided data packets in S4 to the peripheral according to the number of the data packets to be transmitted continuously. When the number of data packets received by the peripheral device is equal to the number of data packets continuously transmitted by the main control device, the main control device temporarily stops transmitting the data packets. The peripheral equipment sends a new requirement for the number of data packets which are allowed to be continuously sent by the main control equipment to the main control equipment, the main control equipment sends data according to the new requirement for the number of the data packets which are continuously sent, and a cyclic data transmission mode is formed according to the negotiation mode until the data in the main control equipment are completely sent to the peripheral equipment.
The method for increasing the transmission speed of bluetooth low energy according to the present invention is further described in an embodiment.
A smart phone (command device) transmits a segment of data containing 10,000 bytes to a bluetooth bracelet (peripheral device). The transmission of this piece of data in the manner of the invention requires the following steps:
and establishing communication connection, wherein the smart phone and the Bluetooth bracelet establish communication connection through a GATT service by adopting a low-power Bluetooth technology.
And negotiating the maximum transmission packet length, wherein the Bluetooth bracelet sends a maximum packet length negotiation request to the smart phone. For example, the maximum negotiated packet length byte number is 50. The smart phone determines that the negotiated maximum packet length is 50 after receiving the request of the Bluetooth bracelet, and then feeds back the negotiated maximum packet length to the Bluetooth bracelet.
And negotiating the number of the continuously transmitted data packets, wherein the smart phone determines the number of the continuously transmitted data packets, for example, the bluetooth bracelet can continuously receive 50 data packets. The bluetooth bracelet then transmits to the smartphone a number of data packets (50) requirement that the smartphone is allowed to continuously send.
And (3) disassembling and subpackaging transmission data, and disassembling and dividing the transmitted data into 200 data packets by the smart phone according to the maximum packet length (50) negotiated with the Bluetooth bracelet.
And a data transmission step, wherein the smart phone transmits the disassembled and divided 200 data packets to the Bluetooth bracelet according to the number (50) of the continuously transmitted data packets. When the number of the data packets received by the Bluetooth bracelet is equal to 50, the smart phone temporarily stops sending the data packets. The Bluetooth bracelet transmits a new data packet number requirement (for example, still 50) allowing the smart phone to continuously transmit to the smart phone, the smart phone transmits data according to the new data packet number requirement (still 50) continuously transmitted, and a cyclic data transmission mode is formed according to the negotiation mode until 10,000 bytes of data in the smart phone are completely transmitted to the Bluetooth bracelet.
In the above example, the smart phone needs to receive the bluetooth bracelet 4 times to allow the smart phone to continuously send the data packet number requirement (i.e. send 4 replies to the smart phone) to complete the data transmission of 10,000 bytes. If data transmission is carried out in the prior art, the smart phone needs to send 500 data packets, and the reply sent to the smart phone by the Bluetooth bracelet needs 500 times, which is obviously higher than the 4 replies in the invention.
The invention adopts the mode of combining the data packet length (the byte number of the data is more than 20 bytes) and the continuous data packet sending mechanism to transmit the data, reduces the frequency of waiting for the reply of the data receiver and saves the time of waiting for the reply of the data receiver.
The above description is only an embodiment of the present invention, and not intended to limit the scope of the present invention, and all equivalent structural changes made by using the contents of the present specification and the drawings, or applied directly or indirectly to other related technical fields, are included in the scope of the present invention.

Claims (4)

1. A method for improving the transmission speed of low-power Bluetooth is characterized by comprising the following steps:
the master control device and the peripheral device establish communication connection through Bluetooth;
the peripheral equipment sends a maximum packet length negotiation request to the main control equipment, and the main control equipment feeds back the negotiated maximum packet length to the peripheral equipment;
the peripheral equipment transmits the requirement of the number of data packets which are allowed to be continuously sent by the main control equipment to the main control equipment;
the main control equipment disassembles the transmitted data according to the negotiated maximum packet length and divides the data into data packets;
the main control equipment sends the split data packets to the peripheral equipment according to the number of the continuously sent data packets;
wherein the negotiated maximum packet length byte number is greater than 20.
2. The method for increasing transmission speed of bluetooth low energy according to claim 1, wherein the communication between the master device and the peripheral device uses a generic attribute profile service.
3. The method for increasing transmission speed of bluetooth low energy according to claim 1, wherein the number of consecutively transmitted data packets is > 1.
4. The method for increasing bluetooth low energy transmission speed according to claim 1, further comprising:
when the number of data packets sent by the main control device to the peripheral device is equal to the number of data packets sent continuously, the peripheral device sends a new requirement for the number of data packets allowed to be sent continuously by the main control device, and the main control device sends data according to the new requirement for the number of data packets sent continuously, so that a cyclic data transmission mode is formed until the data in the main control device is completely transmitted to the peripheral device.
CN202010117784.1A 2020-02-25 2020-02-25 Method for improving low-power-consumption Bluetooth transmission speed Pending CN111065084A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010117784.1A CN111065084A (en) 2020-02-25 2020-02-25 Method for improving low-power-consumption Bluetooth transmission speed

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010117784.1A CN111065084A (en) 2020-02-25 2020-02-25 Method for improving low-power-consumption Bluetooth transmission speed

Publications (1)

Publication Number Publication Date
CN111065084A true CN111065084A (en) 2020-04-24

Family

ID=70307735

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010117784.1A Pending CN111065084A (en) 2020-02-25 2020-02-25 Method for improving low-power-consumption Bluetooth transmission speed

Country Status (1)

Country Link
CN (1) CN111065084A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112566082A (en) * 2020-11-16 2021-03-26 深圳市元征科技股份有限公司 Data transmission method, device, equipment and medium
WO2022052507A1 (en) * 2020-09-08 2022-03-17 南京中感微电子有限公司 Bluetooth low-power consumption audio data transmission method, and apparatus and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101499827A (en) * 2009-03-03 2009-08-05 青岛海信移动通信技术股份有限公司 Mobile terminal and Bluetooth communication method thereof
CN104135339A (en) * 2014-07-08 2014-11-05 福建联迪商用设备有限公司 Bluetooth low-power-consumption communication method, Bluetooth equipment and system
CN104184553A (en) * 2014-09-02 2014-12-03 广东欧珀移动通信有限公司 Low-power-dissipation Bluetooth data transmission method, device and equipment
US20170086098A1 (en) * 2014-03-12 2017-03-23 Lg Electronics Inc. Method and device for adjusting data transmission rate in wireless communication system
CN109640302A (en) * 2018-12-06 2019-04-16 上海荣泰健康科技股份有限公司 Method for updating program, electronic equipment and mobile terminal based on BLE bluetooth

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101499827A (en) * 2009-03-03 2009-08-05 青岛海信移动通信技术股份有限公司 Mobile terminal and Bluetooth communication method thereof
US20170086098A1 (en) * 2014-03-12 2017-03-23 Lg Electronics Inc. Method and device for adjusting data transmission rate in wireless communication system
CN104135339A (en) * 2014-07-08 2014-11-05 福建联迪商用设备有限公司 Bluetooth low-power-consumption communication method, Bluetooth equipment and system
CN104184553A (en) * 2014-09-02 2014-12-03 广东欧珀移动通信有限公司 Low-power-dissipation Bluetooth data transmission method, device and equipment
CN109640302A (en) * 2018-12-06 2019-04-16 上海荣泰健康科技股份有限公司 Method for updating program, electronic equipment and mobile terminal based on BLE bluetooth

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022052507A1 (en) * 2020-09-08 2022-03-17 南京中感微电子有限公司 Bluetooth low-power consumption audio data transmission method, and apparatus and device
CN112566082A (en) * 2020-11-16 2021-03-26 深圳市元征科技股份有限公司 Data transmission method, device, equipment and medium

Similar Documents

Publication Publication Date Title
EP2285029B1 (en) Data transmission method, transmission system and data transmitter
WO2022037664A1 (en) Discontinuous reception (drx) configuration method and apparatus, and device
CN111277988B (en) Method for improving Bluetooth transmission speed of WeChat applet
CN111065084A (en) Method for improving low-power-consumption Bluetooth transmission speed
CN112969169A (en) Low-power-consumption Bluetooth communication flow control method, system, storage medium and equipment
US8683094B2 (en) Method for enhancing data transmission efficiency
CN101587373B (en) Method, system and device for displaying input information
WO2014134947A1 (en) Device for transmitting and receiving control information and method thereof
CN107846709B (en) Wireless communication device and wireless communication method based on LoRa
CN113518333A (en) Data transparent transmission method and device, Bluetooth device and BLE chip
WO2023165246A1 (en) Bluetooth protocol communication method, electronic device, apparatus, storage medium and product
US20220405213A1 (en) Data processing method and apparatus
WO2023051082A1 (en) Data transmission method based on wireless network (wi-fi), and electronic device
US10477370B2 (en) System and method for low latency wireless connection
WO2020060682A1 (en) Bluetooth connectionless slave broadcast burst mode
US7555313B2 (en) Method for providing connections on a portable device, a portable device
KR20090065356A (en) Local area wireless communication apparatus and methdo thereof
CN109673044A (en) Communication control method, chip, the gateway apparatus of chip
CN201360355Y (en) Wireless transmission device
US11064435B1 (en) Rapid sync up mechanism for traffic control between two systems
CN110831060B (en) Method and equipment for carrying MAC CE of data packet
CN102076123B (en) Communication terminal, communication subsystem, application subsystem and multimode communication method
WO2009063272A1 (en) Hid adaptation to attribute protocol
CN111372301A (en) Mobile communication terminal and mobile communication terminal communication technology selection method
CN109379342A (en) Host computer and DSP data transmission method based on UDP network protocol

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20200424

RJ01 Rejection of invention patent application after publication