A Bluetooth transmission rate control method and a storage medium
By setting up storage modules, coverage modules and secret key modules in the Bluetooth transmitter, the problem of data loss and transmission rate cannot be adjusted at the Bluetooth transmitter is solved, and automatic data backup and dynamic adjustment of the rate are realized to ensure the integrity of data transmission and resource saving.
Patent Information
- Application Number
- CN202110367575.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-04-06
- Publication Date
- 2025-07-11
- Estimated Expiration
- 2041-04-06
AI Technical Summary
The existing Bluetooth technology sending end cannot back up data, resulting in data being lost and cannot be retrieved, and the transmission rate cannot be automatically adjusted according to the data size, which is seriously wasted resources.
Set up storage modules, coverage modules and key modules in the Bluetooth transmitting end, control data backup and transmission rate adjustment through the control module, control transmission rate using low-power stack partitions, and automatically overwrite data when the storage module is insufficient, and encrypt data using the key module.
It can be retrieved after data loss, and the transmission rate can be automatically adjusted according to the data size to avoid resource waste and ensure the integrity and security of data transmission.
Smart Images

Figure CN113079496B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of Bluetooth technology, and specifically to a Bluetooth transmission rate control method and a storage medium. Background Art
[0002] Bluetooth technology is an open global specification for wireless data and voice communication. It is a special short-range wireless technology connection based on low-cost short-range wireless connections to establish a communication environment for fixed and mobile devices, enabling wireless information exchange among many devices including mobile phones, wireless headsets, laptop computers, and related peripherals. Simply put, the sender sends wireless data to the receiver through Bluetooth technology.
[0003] Existing Bluetooth-based senders often cannot back up data. If the sent data is lost without the original data being saved, it is often impossible to retrieve, resulting in incomplete and irrecoverable data;
[0004] Moreover, the Bluetooth transmission rate is usually between 195 - 215 KB per second and 3 MB per second, but it cannot automatically adjust the transmission rate according to the data size, unable to save resources. For this reason, we have introduced a Bluetooth transmission rate control method and a storage medium. Summary of the Invention
[0005] In view of the deficiencies of the prior art, the present invention provides a Bluetooth transmission rate control method and a storage medium, which solve the problems presented in the above background art that existing Bluetooth-based senders often cannot back up data. If the sent data is lost without the original data being saved, it is often impossible to retrieve, resulting in incomplete and irrecoverable data, and that the Bluetooth transmission rate is usually between 195 - 215 KB per second and 3 MB per second, but it cannot automatically adjust the transmission rate according to the data size, unable to save resources.
[0006] To achieve the above objectives, the present invention is realized through the following technical solutions: A Bluetooth storage medium, comprising:
[0007] A Bluetooth sender, which functions to send data packets based on a Bluetooth connection;
[0008] A Bluetooth receiver, which receives the data packets sent by the Bluetooth sender based on a Bluetooth connection;
[0009] A storage module, which is arranged inside the Bluetooth sender;
[0010] The storage module further includes:
[0011] An overwrite module, which is connected to the storage module through a wire;
[0012] A key module, which is connected to the storage module through a wire;
[0013] A control module, which is arranged on the surface of any one of the Bluetooth transmitter and the Bluetooth receiver, and the control module is connected to the storage module, the key module and the covering module through wires.
[0014] Optionally, the control module, the key module and the storage module are electrically connected in series through wires, and the storage module is electrically connected in parallel to the key module and the covering module through wires.
[0015] Optionally, the storage module is used for storing data, and the function of the covering module is to automatically overwrite the bottommost data inside the storage module with new data when the storage space of the storage module is insufficient.
[0016] Optionally, the key module is used for encrypting the storage module, and the control module has the function of inputting a key to the key module and extracting the internal data of the storage module.
[0017] A Bluetooth transmission rate control method includes the following operation steps:
[0018] S1. Chip Stacking:
[0019] Add low-power stacks on the chip of the Bluetooth transmitter. These stacks are evenly divided into three areas according to the total number, namely the first transmission rate area, the second transmission rate area and the third transmission rate area;
[0020] S2. Transmission Rate Control:
[0021] Based on the size of the data sent by the Bluetooth transmitter, automatically control the startup and shutdown of the first transmission rate area, the second transmission rate area and the third transmission rate area;
[0022] S3. Data Transmission:
[0023] According to the size of the data packet to be transmitted, turn on the corresponding transmission rate area of the Bluetooth transmitter until the data packet is completely received by the Bluetooth receiver;
[0024] S4. Data Backup:
[0025] The data transmitted in step S3 will be backed up and stored by the storage module in the Bluetooth transmitter;
[0026] S5. Data Loss Recovery:
[0027] When the transmitted data is lost, the correct key set by the key module can be input through the control module of the Bluetooth transmitter to extract the backup data in the storage module and send it again;
[0028] S6. Data coverage:
[0029] When the memory of the storage module is insufficient, the overwrite module can automatically overwrite the bottommost data inside the storage module with new data.
[0030] Optionally, in steps S1 and S2, the first transmission rate zone, the second transmission rate zone, and the third transmission rate zone can be individually enabled, or any two of them can be enabled simultaneously, or all three of the first transmission rate zone, the second transmission rate zone, and the third transmission rate zone can be enabled simultaneously.
[0031] Optionally, in step S3, for data with a memory of less than 0.5G, only the first transmission rate zone needs to be enabled to transmit the data. For data with a memory between 0.5G and 3G, the first transmission rate zone and the second transmission rate zone are enabled simultaneously to transmit the data. For data with a memory of more than 3G, the first transmission rate zone, the second transmission rate zone, and the third transmission rate zone are enabled simultaneously to transmit the data.
[0032] Optionally, in step S4, the data to be sent is first backed up and stored by the storage module and then sent through the Bluetooth transmitter.
[0033] Optionally, in step S5, the optimal minimum memory upper limit of the storage module is 8G.
[0034] The present invention provides a Bluetooth transmission rate control method and a storage medium, having the following beneficial effects:
[0035] The data can be backed up before sending, and can be retrieved when the data is lost during transmission and not discovered in time, avoiding data corruption. Moreover, the Bluetooth transmission rate is automatically adjusted according to the data size, which can save transmission resources while ensuring fast and stable data transmission;
[0036] 1. For this Bluetooth transmission rate control method and storage medium, the data to be sent is first backed up and stored by the storage module and then sent through the Bluetooth transmitter, which is beneficial to avoiding the situation of incomplete content loss after data sending, facilitating subsequent retrieval and secondary sending. Moreover, the data in the storage module can be encrypted through the key module to avoid malicious data theft. And the function of the overwrite module is that when the memory of the storage module is insufficient, new data automatically overwrites the bottommost data inside the storage module, which can avoid insufficient memory of the storage module;
[0037] 2. The Bluetooth transmission rate control method and storage medium. The Bluetooth sender reads the size of the data to be sent and automatically activates one, two, or all three of the first transmission rate zone, the second transmission rate zone, and the third transmission rate zone according to the data size, avoiding waste of redundant resources while ensuring data transmission efficiency. At the same time, the first transmission rate zone, the second transmission rate zone, and the third transmission rate zone are connected in parallel with the chip in the Bluetooth sender. When a problem occurs in one of the transmission rate zones, the other two transmission rate zones are used to replace it, so that the transmission operation can still continue. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Figure 1 It is a schematic diagram of the overall process of the present invention;
[0039] Figure 2 It is a schematic diagram of the internal process of the Bluetooth sender of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0040] Next, the technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments.
[0041] Please refer to Figures 1 to 2 , the present invention provides a technical solution: a Bluetooth storage medium, including:
[0042] A Bluetooth sender, which plays a role in sending data packets based on a Bluetooth connection;
[0043] A Bluetooth receiver, which receives the data packets sent by the Bluetooth sender based on a Bluetooth connection;
[0044] A storage module, which is arranged inside the Bluetooth sender;
[0045] The storage module further includes:
[0046] A coverage module, which is connected to the storage module through a wire;
[0047] A key module, which is connected to the storage module through a wire;
[0048] A control module, which is arranged on the surface of either the Bluetooth sender or the Bluetooth receiver. The control module is connected to the storage module, the key module, and the coverage module through a wire.
[0049] The control module, the key module, and the storage module are electrically connected in series through a wire, and the storage module is electrically connected in parallel with the key module and the coverage module through a wire.
[0050] The storage module has the function of storing data. The function of the overwrite module is that when the memory of the storage module is insufficient, new data can automatically overwrite the bottommost data inside the storage module.
[0051] The key module has the function of encrypting the storage module. The control module has the functions of inputting a key to the key module and extracting the data inside the storage module.
[0052] A Bluetooth transmission rate control method includes the following operating steps:
[0053] S1. Chip stack:
[0054] Add low-power stacks on the chip of the Bluetooth transmitter. These stacks are evenly divided into three areas according to the overall quantity, namely the first transmission rate area, the second transmission rate area, and the third transmission rate area;
[0055] S2. Transmission rate control:
[0056] Automatically control the startup and shutdown of the first transmission rate area, the second transmission rate area, and the third transmission rate area based on the size of the data volume sent by the Bluetooth transmitter;
[0057] S3. Data transmission:
[0058] According to the size of the data packet to be transmitted, turn on the corresponding transmission rate area of the Bluetooth transmitter until the data packet is completely received by the Bluetooth receiver;
[0059] S4. Data backup:
[0060] The data transmitted in step S3 will be backed up and stored by the storage module inside the Bluetooth transmitter;
[0061] S5. Data loss recovery:
[0062] When the transmitted data is lost, the correct key set by the key module can be input through the control module of the Bluetooth transmitter to extract the backup data in the storage module and send it again;
[0063] S6. Data overwrite:
[0064] When the memory of the storage module is insufficient, the overwrite module can make new data automatically overwrite the bottommost data inside the storage module.
[0065] In steps S1 and S2, the first transmission rate area, the second transmission rate area, and the third transmission rate area can be turned on separately, or two of them can be turned on simultaneously, and all three of the first transmission rate area, the second transmission rate area, and the third transmission rate area can be turned on simultaneously.
[0066] In step S3, for data with a memory of less than 0.5G, only the first transmission rate area needs to be enabled to transmit the data. For data with a memory between 0.5G and 3G, both the first transmission rate area and the second transmission rate area are enabled to transmit the data. For data with a memory of more than 3G, the first transmission rate area, the second transmission rate area, and the third transmission rate area are enabled to transmit the data.
[0067] In step S4, the data to be sent is first backed up and stored by the storage module and then sent through the Bluetooth transmitter.
[0068] In step S5, the minimum memory upper limit of the storage module is preferably 8G;
[0069] For the Bluetooth transmission rate control method and the storage medium, the data to be sent is first backed up and stored by the storage module and then sent through the Bluetooth transmitter, which helps to avoid the situation of incomplete data loss after sending, facilitates retrieval and secondary sending later, and the data in the storage module can be encrypted through the key module to avoid the situation of malicious data theft. Moreover, the function of the overwrite module is that when the memory of the storage module is insufficient, new data automatically overwrites the bottom-layer data inside the storage module, which can avoid the memory shortage of the storage module;
[0070] The Bluetooth transmitter reads the size of the data to be sent and automatically enables one or two to three of the first transmission rate area, the second transmission rate area, and the third transmission rate area. While ensuring the data transmission efficiency, it avoids waste of redundant resources. At the same time, the first transmission rate area, the second transmission rate area, and the third transmission rate area are connected in parallel with the chip in the Bluetooth transmitter. When one of the transmission rate areas has a problem, the other two transmission rate areas are used to replace it, so that the transmission operation can still continue.
[0071] In summary, for the Bluetooth transmission rate control method and the storage medium, when in use, a Bluetooth storage medium includes:
[0072] A Bluetooth transmitter, which functions to send data packets based on a Bluetooth connection;
[0073] A Bluetooth receiver, which receives the data packets sent by the Bluetooth transmitter based on a Bluetooth connection;
[0074] A storage module, which is arranged inside the Bluetooth transmitter;
[0075] The storage module further includes:
[0076] An overwrite module, which is connected to the storage module through a wire;
[0077] A key module, which is connected to the storage module through a wire;
[0078] A control module is disposed on the surface of either the Bluetooth transmitter or the Bluetooth receiver. The control module is connected to a storage module, a key module, and an overwrite module through wires.
[0079] A Bluetooth transmission rate control method includes the following operation steps:
[0080] S1. Chip stack: Add low-power stacks to the chip of the Bluetooth transmitter. These stacks are evenly divided into three areas according to the overall quantity, namely the first transmission rate area, the second transmission rate area, and the third transmission rate area.
[0081] S2. Transmission rate control: Automatically control the startup and shutdown of the first transmission rate area, the second transmission rate area, and the third transmission rate area based on the size of the data sent by the Bluetooth transmitter.
[0082] S3. Data transmission: Open the corresponding transmission rate area of the Bluetooth transmitter according to the size of the data packet to be transmitted until the data packet is completely received by the Bluetooth receiver.
[0083] S4. Data backup: The data transmitted in step S3 will be backed up and stored by the storage module in the Bluetooth transmitter.
[0084] S5. Data loss recovery: When the transmitted data is lost, the correct key set by the key module can be input through the control module of the Bluetooth transmitter to extract the backup data in the storage module and send it again.
[0085] S6. Data overwrite: When the storage space in the storage module is insufficient, the overwrite module can make new data automatically overwrite the bottom-layer data inside the storage module.
[0086] For this Bluetooth transmission rate control method and storage medium, the data to be sent is first backed up and stored by the storage module and then sent through the Bluetooth transmitter, which is beneficial to avoiding the situation of incomplete content loss after data transmission, facilitating subsequent recovery and secondary sending. Moreover, the data in the storage module can be encrypted through the key module to avoid malicious data theft. And the function of the overwrite module is that when the storage space in the storage module is insufficient, new data automatically overwrites the bottom-layer data inside the storage module, which can avoid insufficient storage space in the storage module.
[0087] The Bluetooth transmitter reads the size of the data to be sent and automatically activates one or two to three of the first transmission rate area, the second transmission rate area, and the third transmission rate area according to the data size. While ensuring the data transmission efficiency, it avoids waste of redundant resources. At the same time, the first transmission rate area, the second transmission rate area, and the third transmission rate area are connected in parallel with the chip in the Bluetooth transmitter. When one of the transmission rate areas has a problem, the other two transmission rate areas will replace it, so that the transmission operation can still continue.
[0088] The above are only the preferred specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art within the technical scope disclosed by the present invention, according to the technical solution of the present invention and its inventive concept, makes equivalent substitutions or changes, and should be covered within the protection scope of the present invention.
Claims
1. A Bluetooth storage medium, characterized in that, Including: A Bluetooth transmitter that functions to send data packets based on a Bluetooth connection; A Bluetooth receiver that receives the data packets sent by the Bluetooth transmitter based on a Bluetooth connection; A storage module disposed inside the Bluetooth transmitter; The data to be sent is first backed up and stored by the storage module and then sent through the Bluetooth transmitter; The storage module further includes: An overwrite module connected to the storage module through a wire; A key module connected to the storage module through a wire; A control module disposed on the surface of either the Bluetooth transmitter or the Bluetooth receiver, and the control module is connected to the storage module, the key module, and the overwrite module through wires; When the transmitted data is lost, the correct key set by the key module can be input through the control module of the Bluetooth transmitter to extract the backup data in the storage module and send it again.
2. The Bluetooth storage medium according to claim 1, characterized in that: The control module, the key module, and the storage module are electrically connected in series through wires, and the control module, the overwrite module, and the storage module are electrically connected in series through wires. Among them, the key module and the overwrite module are electrically connected in parallel through wires.
3. A Bluetooth storage medium according to claim 1, characterized in that: The storage module functions to store data, and the function of the overwrite module is to automatically overwrite the bottommost data inside the storage module with new data when the storage module runs out of memory.
4. A Bluetooth storage medium according to claim 1, characterized in that: The key module functions to encrypt the storage module, and the control module has the function of inputting a key to the key module and extracting the internal data of the storage module.
5. A Bluetooth transmission rate control method implemented based on the Bluetooth storage medium according to any one of claims 1-4, characterized in that: The Bluetooth transmission rate control method includes the following operating steps: S1. Chip stack: Add low-power stacks to the chip of the Bluetooth transmitter. These stacks are evenly divided into three areas according to the overall quantity, namely the first transmission rate area, the second transmission rate area, and the third transmission rate area; S2. Transmission rate control: Automatically control the startup and shutdown of the first transmission rate area, the second transmission rate area, and the third transmission rate area based on the size of the data volume sent by the Bluetooth transmitter; S3. Data transmission: Open the corresponding transmission rate area of the Bluetooth transmitter according to the size of the data packet to be transmitted until the data packet is completely received by the Bluetooth receiver; S4. Data backup: The data transmitted in step S3 will be backed up and stored by the storage module inside the Bluetooth transmitter; S5. Data loss recovery: When the transmitted data is lost, the correct key set by the key module can be input through the control module of the Bluetooth transmitter to extract the backup data in the storage module and send it again; S6. Data overwrite: When the storage module runs out of memory, new data can be automatically overwritten with the bottommost data inside the storage module through the overwrite module.
6. A Bluetooth transmission rate control method according to claim 5, characterized in that: In steps S1 and S2, the first transmission rate area, the second transmission rate area, and the third transmission rate area can be individually turned on, or two of them can be turned on simultaneously, and the first transmission rate area, the second transmission rate area, and the third transmission rate area can all be turned on simultaneously.
7. A Bluetooth transmission rate control method according to claim 5, characterized in that: In step S3, for data with a memory of less than 0.5G, only the first transmission rate zone needs to be enabled to transmit the data. For data with a memory between 0.5G and 3G, the first transmission rate zone and the second transmission rate zone are simultaneously enabled to transmit the data. For data with a memory of more than 3G, the first transmission rate zone, the second transmission rate zone, and the third transmission rate zone are simultaneously enabled to transmit the data.
8. A Bluetooth transmission rate control method according to claim 5, characterized in that: In step S4, the data to be sent is first backed up and stored by the storage module and then sent through the Bluetooth transmitter.
9. A Bluetooth transmission rate control method according to claim 5, characterized in that: In step S5, the minimum memory upper limit of the storage module is 8G.
Citation Information
Patent Citations
Bluetooth rate test method and test host based on Android
CN108924867A
Transmission rate switching method, Bluetooth device and computer readable medium
CN110248341A