CN112969169A - Low-power-consumption Bluetooth communication flow control method, system, storage medium and equipment - Google Patents

Low-power-consumption Bluetooth communication flow control method, system, storage medium and equipment Download PDF

Info

Publication number
CN112969169A
CN112969169A CN202110542885.8A CN202110542885A CN112969169A CN 112969169 A CN112969169 A CN 112969169A CN 202110542885 A CN202110542885 A CN 202110542885A CN 112969169 A CN112969169 A CN 112969169A
Authority
CN
China
Prior art keywords
bluetooth
memory
data
connection
power
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
CN202110542885.8A
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 CN202110542885.8A priority Critical patent/CN112969169A/en
Publication of CN112969169A publication Critical patent/CN112969169A/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/16Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
    • H04W28/18Negotiating wireless communication parameters
    • H04W28/22Negotiating communication rate
    • 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)
  • Quality & Reliability (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The disclosure discloses a low-power-consumption Bluetooth communication flow control method, a system, a storage medium and equipment, and belongs to the technical field of Bluetooth wireless communication. The low-power-consumption Bluetooth communication flow control method comprises the following steps: the method comprises the steps that a low-power-consumption Bluetooth device monitors a used memory in real time, and updates connection parameters by using the size relation between the used memory and a memory threshold value, wherein the connection parameters comprise connection intervals and/or data packet lengths; and the Bluetooth central equipment updates the transmission speed of the data according to the updated connection parameters and transmits the data to the low-power Bluetooth equipment. The method and the device avoid the problem that data received by a receiver cannot be processed in time when the low-power-consumption Bluetooth communication is free of flow control.

Description

Low-power-consumption Bluetooth communication flow control method, system, storage medium and equipment
Technical Field
The present disclosure relates to the field of bluetooth wireless communication technologies, and in particular, to a bluetooth low energy communication traffic control method, system, storage medium, and device.
Background
According to the existing low-power-consumption Bluetooth communication, a Bluetooth center device sends data to a low-power-consumption Bluetooth device through service, if the upper application of a Bluetooth protocol stack is not subjected to flow control processing, the Bluetooth center device cannot stop data sending or slow down the speed of data sending under the condition that the low-power-consumption Bluetooth device cannot process the data in time, the low-power-consumption Bluetooth device can continuously receive the data, and therefore the data cannot be processed in time and discarded or the existing data is covered, and further incomplete data receiving or data errors are caused.
Disclosure of Invention
The disclosure mainly provides a method, a system, a storage medium and a device for controlling low-power-consumption Bluetooth communication flow, aiming at the problem that in the prior art, because the Bluetooth center device cannot control the data transmission speed and the low-power-consumption Bluetooth device cannot process the received data in time, the low-power-consumption Bluetooth device discards the data or covers the existing data.
In order to achieve the above object, the present disclosure adopts a technical solution that: provided is a Bluetooth low energy communication traffic control method, including: the method comprises the steps that a low-power-consumption Bluetooth device monitors a used memory in real time, and updates connection parameters by using the size relation between the used memory and a memory threshold value, wherein the connection parameters comprise connection intervals and/or data packet lengths; and the Bluetooth center equipment updates the transmission speed of the data according to the updated connection parameters and transmits the data to the low-power Bluetooth equipment.
Another technical scheme adopted by the present disclosure is: provided is a Bluetooth low energy communication flow control system, including: the communication module is used for establishing wireless communication connection between the Bluetooth center equipment and the low-power-consumption Bluetooth equipment through Bluetooth and transmitting data to the low-power-consumption Bluetooth equipment; the memory monitoring module is used for receiving data by the memory of the low-power-consumption Bluetooth equipment, monitoring the used memory in real time and updating the connection parameters by utilizing the size relationship between the used memory and the memory threshold value; and the data speed updating module is used for updating the transmission speed of the data by the Bluetooth central equipment according to the updated connection parameters.
Another technical scheme adopted by the present disclosure is: there is provided a computer readable storage medium having stored thereon computer instructions, wherein the computer instructions are operable to perform the bluetooth low energy communication traffic control method of scheme one.
Another technical scheme adopted by the present disclosure is: a computer device is provided that includes at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores computer instructions executable by the at least one processor, the at least one processor operating the computer instructions to perform the bluetooth low energy communication traffic control method of scenario one.
The beneficial effect of this disclosure lies in: the present disclosure provides a bluetooth low energy communication traffic control method, system, storage medium and device. When the Bluetooth center equipment sends data to the low-power-consumption Bluetooth equipment, if the low-power-consumption Bluetooth equipment cannot process the received data in time and the used memory is higher than the second threshold value, the connection parameter is triggered and updated, the transmission speed of the data sent by the Bluetooth center equipment is reduced, the data is prevented from being lost or making mistakes, when the data processing speed of the low-power-consumption Bluetooth equipment is increased and the used memory is lower than the first threshold value, the connection parameter is triggered and updated, the transmission speed of the data sent by the Bluetooth center equipment is increased, the data can be transmitted to the low-power-consumption Bluetooth equipment in time, and the purpose of flow control is achieved.
Drawings
In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present disclosure, and for those skilled in the art, other drawings can be obtained according to the drawings without inventive exercise.
Fig. 1 is a flowchart of one embodiment of a bluetooth low energy communication traffic control method disclosed in the present disclosure;
FIG. 2 is a flowchart of one embodiment of a Bluetooth Low energy communication traffic control method disclosed in the present disclosure;
fig. 3 is a flowchart of an embodiment of a bluetooth low energy communication traffic control method disclosed in the present disclosure;
fig. 4 is a schematic diagram illustrating transmission and reception of a bluetooth low energy communication traffic control method disclosed in the present disclosure;
fig. 5 is a block diagram of an embodiment of a bluetooth low energy communication control system disclosed in the present disclosure.
With the foregoing drawings in mind, certain embodiments of the disclosure have been shown and described in more detail below. These drawings and written description are not intended to limit the scope of the disclosed concepts in any way, but rather to illustrate the concepts of the disclosure to those skilled in the art by reference to specific embodiments.
Detailed Description
In order to make the aforementioned features and advantages of the present disclosure more comprehensible, the present disclosure proceeds with reference to the accompanying drawings and detailed description. This detailed description is merely intended to facilitate an understanding of the disclosure, and the scope of the disclosure is not limited to the specific description in the specific embodiments.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
After the Bluetooth central equipment is connected with the low-power-consumption Bluetooth equipment, the Bluetooth central equipment sends data to the low-power-consumption Bluetooth equipment, a standard core protocol has no data flow control definition, the connection interval and the data packet length are fixed and cannot be changed, and the data transmission speed of Bluetooth communication is fixed. After the bluetooth center equipment sends data, whether the data of the low-power-consumption bluetooth equipment can be processed in time cannot be determined, under the condition that the bluetooth center equipment does not have an upper layer flow control protocol, the data can be continuously sent to the low-power-consumption bluetooth equipment at the original transmission speed until all data are sent, if the low-power-consumption bluetooth equipment cannot process the received data in time, the data can be forced to be lost or data coverage can occur, and then data errors can be caused. The low-power-consumption Bluetooth communication flow control method can ensure that the low-power-consumption Bluetooth equipment has enough time to process received data, and avoids data loss or errors.
The invention conception of the present disclosure: the size of the used memory of the low-power-consumption Bluetooth device is obtained by monitoring the amount of the cached data of the low-power-consumption Bluetooth device, and the connection parameters are adjusted through negotiation according to the using condition of the memory, so that the speed of Bluetooth data transmission is increased or reduced, the low-power-consumption Bluetooth device can have time to process data, and the problem of incomplete data receiving or error is avoided.
Fig. 1 shows an embodiment of a bluetooth low energy communication traffic control method disclosed in the present disclosure, in which the method mainly includes the following steps:
step S101: the low-power consumption Bluetooth device monitors the used memory in real time, and updates the connection parameters by using the size relation between the used memory and the memory threshold value, wherein the connection parameters comprise the connection interval and/or the data packet length.
In this embodiment, the memory of the bluetooth low energy device receives data and detects the amount of the used memory thereof, and the bluetooth low energy device actively initiates the update of the connection parameter according to the comparison result between the used memory and the preset memory threshold. The change of the connection parameters is based on the change of the data transmission speed of the Bluetooth central equipment, so as to achieve the purpose of communication flow control.
In an optional embodiment of the present disclosure, the specific process of updating the connection parameter by using the size relationship between the used memory and the memory threshold includes, when the used memory is lower than a first threshold of the memory thresholds, decreasing the connection interval and/or increasing the packet length according to a preset parameter change rule; and when the used memory is higher than a second threshold value in the memory threshold values, increasing the connection interval and/or reducing the length of the data packet according to a preset parameter change rule, wherein the first threshold value is smaller than the second threshold value.
In this embodiment, the connection interval and the packet length in the connection parameters are two parameters that can be adjusted independently, and both the two parameters can be adjusted simultaneously, or any one of the two parameters can be adjusted independently. The preset parameter change rule is as follows:
the connection interval is theoretically 7.5 ms to 40 s. The connection interval is negotiated by both sides of the connection, and generally, the negotiation interval at high speed may be 7.5 ms to 20 ms, and the negotiation interval at low speed may be 800 ms to 1200 ms.
The packet length that both sides of the connection need to negotiate is 27 to 251 bytes. The high speed may be set to 251 bytes, and the low speed may be set to 27 bytes. The connection interval and the packet length can be adjusted according to the actual scheme requirements.
When the used memory is lower than the first threshold, the cache data is less, the processed data is more, the residual space in the memory is large, and the low-power-consumption Bluetooth device actively initiates the update of the connection parameters according to the connection interval and/or the data packet length negotiated by the two connection parties, namely, the connection interval is reduced and/or the data packet length is increased; when the used memory is higher than the first threshold and lower than the second threshold, the connection parameter is unchanged, when the used memory is increased from being lower than the first threshold to the interval between the first threshold and the second threshold, the connection parameter is kept at the connection parameter updated when the used memory is lower than the first threshold, and when the used memory is decreased from being higher than the second threshold to the interval between the first threshold and the second threshold, the connection parameter is kept at the connection parameter updated when the used memory is higher than the second threshold; when the used memory is higher than the second threshold, the number of the cached data is large, the number of the processed data is small, the remaining space in the memory is small, and the low-power-consumption Bluetooth device actively initiates the update of the connection parameters according to the connection interval and/or the data packet length negotiated by the two connection parties, namely, the connection interval is increased and/or the data packet length is reduced.
In an optional embodiment of the present disclosure, the memory threshold is set according to a memory size of the bluetooth low energy device.
In this embodiment, two memory thresholds are set on the memory block of the bluetooth low energy device, and specific values of the two memory thresholds are set according to the size of the memory. Preferably, one is 0.3 times the memory size as the first threshold, and the other is 0.7 times the memory size as the second threshold. The size of the first threshold and the second threshold is dynamically adjusted according to the amount of the actual memory.
It should be noted that the values of the two memory thresholds can be adjusted according to the characteristics of the actual scheme, and only the first threshold needs to be lower than the second threshold.
In an optional embodiment of the disclosure, the bluetooth low energy device comprises a bluetooth printer and/or a bluetooth data transfer module.
In this embodiment, the low power consumption bluetooth device is a standard device specified by bluetooth 4.0 and above specifications, and in this disclosure, the low power consumption bluetooth device may be a bluetooth printer and/or a bluetooth data transmission module.
The specific embodiment of the bluetooth low energy communication traffic control method shown in fig. 1 further includes:
step S102: and the Bluetooth center equipment updates the transmission speed of the data according to the updated connection parameters and transmits the data to the low-power Bluetooth equipment.
In this specific embodiment, the bluetooth data transmitting end is a bluetooth central device, and the bluetooth data receiving end is a low-power bluetooth device. After the Bluetooth low energy device and the Bluetooth center device negotiate the successful connection parameters, the Bluetooth low energy device actively updates the connection parameters, the Bluetooth center device updates the data transmission speed of the Bluetooth low energy device according to the updated connection parameters, and sends data to the Bluetooth low energy device by using the updated transmission speed, the processing speed of the Bluetooth low energy device for receiving the data is not a constant value, the transmission speed of the data of the Bluetooth center device needs to be adjusted according to the data processing speed, so that the situation that the data is transmitted too fast in Bluetooth communication, and the data is lost due to the fact that the data processing of the Bluetooth low energy device is not performed is avoided.
In an optional embodiment of the present disclosure, the specific process of updating the transmission speed of the data by the bluetooth central device according to the updated connection parameter includes, if the updated connection parameter is to reduce the connection interval and/or increase the packet length, increasing the transmission speed of the data according to a corresponding relationship between a preset connection parameter and the transmission speed; and if the updated connection parameters are that the connection interval is increased and/or the data packet length is decreased, reducing the data transmission speed according to the corresponding relation.
In this embodiment, the corresponding relationship between the predetermined connection parameter and the transmission speed is calculated according to the connection interval and the packet length, and the transmission speed can be as low as 27 bytes/sec at the lowest and as high as 50 kbytes/sec at the highest.
It is worth noting that the transmission speed of data in the low power consumption bluetooth communication is related to two connection parameters, namely, a connection interval and a data packet length (MTU), and the two connection parameters can be dynamically negotiated and modified, wherein the shorter the connection interval, the larger the MTU, the higher the transmission speed; the longer the connection interval, the smaller the MTU, and the lower the transmission speed. The connection interval parameter is dynamically adjusted according to the judgment of the step S101.
In an optional embodiment of the present disclosure, the bluetooth hub device comprises a computer, iPad, and/or cell phone.
In the present disclosure, a bluetooth center device includes, but is not limited to, a computer, an iPad, and/or a cell phone, among others.
Fig. 2 shows a specific embodiment of a bluetooth low energy communication traffic control method disclosed in the present disclosure, which mainly includes the following steps:
step 201, initializing the low power consumption bluetooth device and setting a memory threshold and connection parameters.
In the embodiment, a memory is allocated for the low-power-consumption Bluetooth device, and a memory threshold value is set for the memory to provide preparation for data transmission; the connection parameters of the low-power-consumption Bluetooth device are configured, so that the initial transmission of data is more efficient.
Step 202, establishing wireless communication connection between the bluetooth center device and the low-power-consumption bluetooth device through bluetooth, and transmitting data.
In this embodiment, the low power consumption bluetooth device initiates a broadcast through bluetooth, the bluetooth center device pairs or binds with the low power consumption bluetooth device through bluetooth, and after the pairing or binding is successful, the bluetooth center device establishes wireless communication connection with the low power consumption bluetooth device to realize data communication, thereby providing possibility for data transmission.
Step 203, the bluetooth low energy device monitors the used memory in real time, and updates the connection parameters by using the size relationship between the used memory and the memory threshold, wherein the connection parameters include the connection interval and/or the data packet length.
And step 204, the Bluetooth center equipment updates the transmission speed of the data according to the updated connection parameters and transmits the data to the low-power Bluetooth equipment.
In this embodiment, please refer to the relevant description in steps S101 to S102 in the method shown in fig. 1 for the specific implementation process and technical principle of steps S203 to S204, which is not described herein again.
Fig. 3 shows a specific example of a bluetooth low energy communication traffic control method disclosed by the present disclosure.
In the specific example shown in fig. 3, the bluetooth low energy device is initialized first. The initialized connection parameter is configured as the highest communication speed, i.e. the communication high speed parameter in fig. 3, and one memory cache block is allocated for use as a data cache. The low-power-consumption Bluetooth device continuously initiates broadcasting through Bluetooth until the Bluetooth center device is successfully paired or bound with the low-power-consumption Bluetooth device, wireless communication connection is established, the Bluetooth center device performs data transmission through the service of the low-power-consumption Bluetooth device, the low-power-consumption Bluetooth device temporarily stores the received data in a distributed memory cache block, meanwhile, data are taken from the distributed memory cache block for data processing, and the amount of unprocessed data is equal to the amount of cached data. If the cached data amount in the memory cache block does not exceed the second threshold, namely the used memory is smaller than the second threshold, maintaining the connection parameter during initialization; if the cached data amount in the memory cache block is increased to be larger than or equal to a second threshold value, determining whether the Bluetooth connection parameter is a high-speed parameter or not, if the Bluetooth connection parameter is the low-speed parameter, updating the connection parameter to be the low-speed parameter by the low-power consumption Bluetooth equipment, reducing the Bluetooth communication speed to be the lowest speed, maintaining the lowest speed until the unprocessed data amount in the memory cache block is lower than the first threshold value, updating the connection parameter, increasing the Bluetooth communication speed to be the highest speed, and maintaining the speed. The unprocessed data volume and the two memory thresholds are detected repeatedly to achieve the purpose of flow control.
It should be noted that, the bluetooth center device performs data transmission through the service of the low power consumption bluetooth device, the service of the low power consumption bluetooth device may be understood as a pipe in the low power consumption bluetooth communication, each pipe has a unique number, and the low power consumption bluetooth is called a service.
Fig. 4 is a schematic diagram of transmission and reception of a bluetooth low energy communication traffic control method.
In the example shown in fig. 4, the bluetooth low energy device and the bluetooth central device are connected and communicate with each other through bluetooth, a memory block is disposed inside the bluetooth low energy device, and a memory threshold is configured for the memory block, so as to monitor the use condition of the memory in real time and facilitate changing of connection parameters, so that the data transmission speed of the bluetooth central device is controlled, and the purpose of communication flow control is achieved.
Fig. 5 shows a specific embodiment of a bluetooth low energy communication control system disclosed in the present disclosure, in this specific embodiment, the following modules are mainly included:
the module 501, a communication module, is configured to establish a wireless communication connection between the bluetooth center device and the bluetooth low energy device through bluetooth, and transmit data to the bluetooth low energy device.
Module 502, a memory monitoring module, configured to receive data from a memory of the bluetooth low energy device, monitor a used memory in real time, and update connection parameters according to a size relationship between the used memory and a memory threshold, where the connection parameters include a connection interval and/or a packet length.
The module 503 is a data speed updating module, and is configured to update the data transmission speed by the bluetooth central apparatus according to the updated connection parameter.
In the embodiment, in the communication module, the low-power-consumption bluetooth device firstly initializes and sets a memory threshold and an initialization connection parameter to prepare for establishing wireless communication connection; the low-power-consumption Bluetooth device is connected with the Bluetooth center device through Bluetooth, and the Bluetooth center device sends data to the low-power-consumption Bluetooth device; in the memory detection module, after a memory of the low-power-consumption Bluetooth device receives data sent by the Bluetooth center device, the low-power-consumption Bluetooth device monitors a used memory of the device, when the used memory is lower than a first threshold value, the low-power-consumption Bluetooth device actively updates connection parameters, so that the Bluetooth center device in the data speed updating module accelerates the data transmission speed, and when the used memory is higher than a second threshold value, the low-power-consumption Bluetooth device actively updates the connection parameters, so that the Bluetooth center device in the data speed updating module reduces the data transmission speed, and the purpose of flow control is achieved; the low-power-consumption Bluetooth device actively initiates the update of the connection parameters, so that the Bluetooth center device can increase and decrease the data transmission speed.
The various illustrative logics, logical blocks, modules described in this disclosure in a bluetooth low energy communication flow system may be used in a general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination thereof designed to perform the methods of dynamically negotiating bluetooth connection parameters herein. A general purpose processor may be a microprocessor, but in the alternative, the processor may be any conventional processor, controller, microcontroller, or state machine. A processor may also be implemented as a combination of computing devices, e.g., a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a DSP core, or any other such configuration.
In an optional embodiment of the present disclosure, each functional module in a bluetooth low energy communication control system of the present disclosure may be directly in hardware, in a software module executed by a processor, or in a combination of both.
A software module may reside in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium.
The Processor may be a Central Processing Unit (CPU), other general-purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA), other Programmable logic devices, discrete Gate or transistor logic, discrete hardware components, or any combination thereof. A general purpose processor may be a microprocessor, but in the alternative, the processor may be any conventional processor, controller, microcontroller, or state machine. A processor may also be implemented as a combination of computing devices, e.g., a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a DSP core, or any other such configuration. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an ASIC. The ASIC may reside in a user terminal. In the alternative, the processor and the storage medium may reside as discrete components in a user terminal.
In another embodiment of the disclosure, a computer-readable storage medium stores computer instructions that are operable to perform the bluetooth low energy communication traffic control method described in any of the embodiments.
In another particular embodiment of the present disclosure, a computer device includes at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores a computer program executable by the at least one processor, the computer program being executable by the at least one processor to cause the at least one processor to perform the bluetooth low energy communication traffic control method described in any of the embodiments.
In the several embodiments provided in the present disclosure, it should be understood that the disclosed system and method may be implemented in other ways. For example, the above-described system embodiments are merely illustrative, and for example, a division of modules is merely a logical division, and an actual implementation may have another division, for example, multiple modules or components may be combined or integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, systems or modules, and may be in an electrical, mechanical or other form.
Therefore, the disclosure is not limited to the embodiments, and all equivalent structural changes, direct or indirect applications and modifications of the disclosure in other related fields are intended to be included within the scope of the disclosure.

Claims (10)

1. A bluetooth low energy communication traffic control method, comprising:
the method comprises the steps that a low-power-consumption Bluetooth device monitors an used memory in real time, and updates connection parameters by using the size relation between the used memory and a memory threshold value, wherein the connection parameters comprise connection intervals and/or data packet lengths; and
and the Bluetooth center equipment updates the transmission speed of the data according to the updated connection parameters and transmits the data to the low-power Bluetooth equipment.
2. The bluetooth low energy communication traffic control method according to claim 1, wherein the updating the connection parameters using the magnitude relationship between the used memory and the memory threshold comprises:
when the used memory is lower than a first threshold value in the memory threshold values, reducing the connection interval and/or increasing the length of the data packet according to a preset parameter change rule;
and when the used memory is higher than a second threshold value in the memory threshold values, increasing the connection interval and/or reducing the length of the data packet according to the preset parameter change rule, wherein the first threshold value is smaller than the second threshold value.
3. The bluetooth low energy communication traffic control method according to claim 2, wherein the bluetooth center apparatus updates the transmission speed of data according to the updated connection parameter, comprising:
if the updated connection parameter is to reduce the connection interval and/or increase the packet length, increasing the transmission speed of the data according to a preset corresponding relationship between the connection parameter and the transmission speed;
and if the updated connection parameter is to increase the connection interval and/or decrease the packet length, reducing the transmission speed of the data according to the corresponding relationship.
4. The bluetooth low energy communication traffic control method according to claim 1, further comprising, before the bluetooth low energy device monitors the used memory in real time:
initializing the low-power-consumption Bluetooth equipment and setting the memory threshold value and the connection parameter;
and establishing wireless communication connection between the Bluetooth center equipment and the low-power-consumption Bluetooth equipment through Bluetooth, and transmitting the data.
5. The bluetooth low energy communication traffic control method according to claim 1, wherein the memory threshold is set according to a memory size of the bluetooth low energy device.
6. The bluetooth low energy communication traffic control method according to claim 1, characterized in that the bluetooth low energy device comprises a bluetooth printer and/or a bluetooth data transfer module.
7. The bluetooth low energy communication traffic control method according to claim 1, characterized in that the bluetooth central device comprises a computer, iPad and/or a mobile phone.
8. A Bluetooth low energy communication control system, comprising:
the communication module is used for establishing wireless communication connection between the Bluetooth center equipment and the low-power Bluetooth equipment through Bluetooth and transmitting data to the low-power Bluetooth equipment;
the memory monitoring module is used for receiving the data by the memory of the low-power-consumption Bluetooth device, monitoring the used memory in real time, and updating connection parameters by using the size relation between the used memory and a memory threshold value, wherein the connection parameters comprise connection intervals and/or data packet lengths; and
and the data speed updating module is used for updating the transmission speed of the data by the Bluetooth central equipment according to the updated connection parameters.
9. A computer readable storage medium having stored thereon computer instructions, wherein the computer instructions are operative to perform the bluetooth low energy communication traffic control method of any of claims 1-7.
10. A computer device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor;
wherein the memory stores computer instructions executable by the at least one processor, the at least one processor operating the computer instructions to perform the bluetooth low energy communication traffic control method of any of claims 1-7.
CN202110542885.8A 2021-05-19 2021-05-19 Low-power-consumption Bluetooth communication flow control method, system, storage medium and equipment Pending CN112969169A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110542885.8A CN112969169A (en) 2021-05-19 2021-05-19 Low-power-consumption Bluetooth communication flow control method, system, storage medium and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110542885.8A CN112969169A (en) 2021-05-19 2021-05-19 Low-power-consumption Bluetooth communication flow control method, system, storage medium and equipment

Publications (1)

Publication Number Publication Date
CN112969169A true CN112969169A (en) 2021-06-15

Family

ID=76275633

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110542885.8A Pending CN112969169A (en) 2021-05-19 2021-05-19 Low-power-consumption Bluetooth communication flow control method, system, storage medium and equipment

Country Status (1)

Country Link
CN (1) CN112969169A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113840272A (en) * 2021-10-12 2021-12-24 北京奕斯伟计算技术有限公司 Data transmission method, data transmission device and electronic device
CN114040371A (en) * 2021-11-02 2022-02-11 郑州市中医院(郑州市红十字医院) Embedded electro-therapeutic apparatus and mobile terminal communication method and system
CN114422994A (en) * 2022-03-29 2022-04-29 龙旗电子(惠州)有限公司 Firmware upgrading method and device, electronic equipment and storage medium
WO2023019575A1 (en) * 2021-08-20 2023-02-23 华为技术有限公司 Receiving/sending switching control method, management node and terminal node

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104065401A (en) * 2014-06-25 2014-09-24 青岛歌尔声学科技有限公司 Voice transmission method based on HID bluetooth module and HID bluetooth voice communication device
CN107172639A (en) * 2017-06-29 2017-09-15 苏州博联科技有限公司 A kind of method of testing of low-power consumption bluetooth transmission rate
CN107580374A (en) * 2017-08-14 2018-01-12 拉卡拉支付股份有限公司 A kind of dispatching method, equipment and the storage medium of Bluetooth communication resource
CN111328059A (en) * 2020-02-25 2020-06-23 Oppo广东移动通信有限公司 Data transmission method, data transmission device and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104065401A (en) * 2014-06-25 2014-09-24 青岛歌尔声学科技有限公司 Voice transmission method based on HID bluetooth module and HID bluetooth voice communication device
CN107172639A (en) * 2017-06-29 2017-09-15 苏州博联科技有限公司 A kind of method of testing of low-power consumption bluetooth transmission rate
CN107580374A (en) * 2017-08-14 2018-01-12 拉卡拉支付股份有限公司 A kind of dispatching method, equipment and the storage medium of Bluetooth communication resource
CN111328059A (en) * 2020-02-25 2020-06-23 Oppo广东移动通信有限公司 Data transmission method, data transmission device and electronic equipment

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023019575A1 (en) * 2021-08-20 2023-02-23 华为技术有限公司 Receiving/sending switching control method, management node and terminal node
CN113840272A (en) * 2021-10-12 2021-12-24 北京奕斯伟计算技术有限公司 Data transmission method, data transmission device and electronic device
CN113840272B (en) * 2021-10-12 2024-05-14 北京奕斯伟计算技术股份有限公司 Data transmission method, data transmission device and electronic device
CN114040371A (en) * 2021-11-02 2022-02-11 郑州市中医院(郑州市红十字医院) Embedded electro-therapeutic apparatus and mobile terminal communication method and system
CN114422994A (en) * 2022-03-29 2022-04-29 龙旗电子(惠州)有限公司 Firmware upgrading method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN112969169A (en) Low-power-consumption Bluetooth communication flow control method, system, storage medium and equipment
US11671210B2 (en) Retransmission control method, communications interface, and electronic device
TWI743946B (en) Mobile terminal and method of controlling power consumption in a computing device
US9081905B2 (en) Low latency interconnect bus protocol
WO2020038132A1 (en) Data transmission method and related apparatus
WO2020098410A1 (en) Transmission control method and related apparatus
US20100262651A1 (en) Method to prevent server overload for broadcast protocols by adaptively applying prescribed response behavior profiles
EP2629446A1 (en) Dynamic Buffer Management in High-Throughput Wireless Systems
CN101877604A (en) Method and system for transmitting files
US9949300B2 (en) Packet transmission method and system, and station
CN109586932B (en) Multicast method and terminal equipment
KR101018685B1 (en) Apparatus and method for controling automatic repeat request reset in wireless broadbandinternet system
CN109586931B (en) Multicast method and terminal equipment
EP3142281A1 (en) Wireless local area network data frame transmission method and apparatus
WO2020088477A1 (en) Communication method and device
EP3136665B1 (en) Method for processing data packet of rlc layer and rlc entity
CN108040332B (en) Bluetooth-based audio transmission method and device, storage medium and terminal
CN111065084A (en) Method for improving low-power-consumption Bluetooth transmission speed
CN108882345B (en) Bluetooth device, sleep control method and device thereof, and computer-readable storage medium
US10420140B2 (en) Multi-destination burst protocol
CN110750486A (en) RDMA data stream control method, system, electronic device and readable storage medium
US20180376326A1 (en) Reliable write command protocol for bluetooth le
CN112866133B (en) Method and device for acquiring MSS (maximum segment size)
US9565590B2 (en) Systems and methods for modem control based on feedback
CN107888508B (en) PC-NC-based numerical control system and anti-interference weak real-time communication method thereof

Legal Events

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

Application publication date: 20210615