Intelligent wireless connection switching system and method based on data volume and transmission demand
Through the intelligent wireless connection switching system, switching between Bluetooth and Wi-Fi according to the data size, solving the problem of fixed transmission mode and high power consumption in the existing technology, achieving optimization of transmission efficiency and power consumption, and is suitable for a variety of application scenarios.
Patent Information
- Application Number
- CN202411705173.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-26
- Publication Date
- 2025-03-14
AI Technical Summary
The prior art is difficult to achieve efficient switching between different transmission requirements and power consumption limitations, resulting in the inability of equipment to optimize power consumption and transmission efficiency simultaneously in different usage scenarios.
An intelligent wireless connection switching system is designed to monitor the amount of data to be transmitted in real time through the data quantity detection module, and intelligently switch between Bluetooth and Wi-Fi according to the amount of data quantity. The system includes a data volume detection module, a switching controller, a Wi-Fi hotspot management module, a Bluetooth transmission management module and a power consumption optimization module to ensure optimal transmission efficiency and power consumption management in different transmission scenarios.
It realizes the maximization of energy consumption management while ensuring data transmission efficiency, and provides a more flexible, efficient and energy-saving wireless data transmission solution, suitable for different application scenarios.
Smart Images

Figure CN119629652A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technology, and in particular to an intelligent wireless connection switching system and method based on data volume and transmission requirements. Background Art
[0002] With the rapid development of embedded systems and wireless communication technologies, more and more devices have begun to rely on wireless technology to transmit data to mobile devices. Wireless transmission technologies, such as Wi-Fi and Bluetooth, each have their own unique advantages and limitations. Wi-Fi technology is suitable for the transmission of large amounts of data with its high-speed data transmission capability, but its high energy consumption limits its use in power-sensitive applications. In contrast, Bluetooth technology is suitable for the transmission of small amounts of data with its low energy consumption characteristics, but its transmission rate is relatively low and is not suitable for high-speed data transmission requirements.
[0003] Existing technical solutions often have difficulty in achieving efficient switching between different transmission requirements and power consumption constraints, resulting in the inability of devices to simultaneously optimize power consumption and transmission efficiency in different usage scenarios. Therefore, developing an intelligent system that can dynamically switch transmission modes based on data volume and power consumption requirements has become an urgently needed technological breakthrough in the industry. Summary of the invention
[0004] The purpose of the present invention is to provide an intelligent wireless connection switching system and method based on data volume and transmission requirements in order to solve the above problems. The system of the present invention can intelligently switch between Wi-Fi and Bluetooth, thereby solving the problems of fixed transmission mode and high power consumption in the prior art. Through data volume detection and intelligent switching control, the device can achieve optimal transmission efficiency and power consumption management in different transmission scenarios, and can intelligently select the most suitable wireless transmission technology according to real-time data transmission requirements and energy consumption constraints, so as to minimize energy consumption while ensuring data transmission efficiency. This intelligent switching mechanism will provide users with a more flexible, efficient and energy-saving wireless data transmission solution to meet the specific needs of different application scenarios.
[0005] The present invention achieves the above-mentioned purpose through the following technical solutions:
[0006] An intelligent wireless connection switching system based on data volume and transmission requirements includes an embedded device and a mobile device, wherein:
[0007] The embedded device comprises:
[0008] The data volume detection module is used to monitor the amount of data to be transmitted in real time and determine the transmission mode according to the amount of data;
[0009] A switching controller, connected to the data volume detection module, used to switch between the Bluetooth transmission mode and the Wi-Fi transmission mode according to the judgment result of the data volume detection module;
[0010] A Wi-Fi hotspot management module, which is used to create and manage Wi-Fi hotspots when switching to Wi-Fi transmission mode, including generating a unique SSID and password, and shutting down the Wi-Fi hotspot after the large data transmission is completed;
[0011] A Bluetooth transmission management module, used to transmit small data to a mobile device via Bluetooth when switching to Bluetooth transmission mode, or to transmit Wi-Fi hotspot information to a mobile device via Bluetooth in Wi-Fi transmission mode;
[0012] A power optimization module, which is used to automatically switch the embedded device to a low-power mode after data transmission is completed;
[0013] The mobile device comprises:
[0014] A Bluetooth module, used to receive Bluetooth data from the embedded device, or receive encrypted information from a Wi-Fi hotspot;
[0015] The Wi-Fi module is used to automatically connect to the Wi-Fi hotspot created by the embedded device after receiving the Wi-Fi hotspot information, and transmit big data.
[0016] A further solution is that the data volume detection module determines the data volume size according to a preset data threshold, triggers the Bluetooth transmission mode when the data volume is less than the threshold, and triggers the Wi-Fi transmission mode when the data volume is greater than the threshold.
[0017] A further solution is that when the Wi-Fi hotspot management module generates a Wi-Fi hotspot, it transmits the SSID and password of the Wi-Fi hotspot to the mobile device through an encrypted Bluetooth channel.
[0018] A further solution is that the Bluetooth transmission management module automatically enters a low power consumption mode after the Bluetooth transmission is completed, and optimizes energy consumption during Bluetooth and Wi-Fi transmission.
[0019] A further solution is that the power consumption optimization module automatically switches the embedded device to a low power consumption mode after the data transmission is completed, and maintains the mode when there is no data transmission task, so as to extend the battery life of the device.
[0020] A further solution is that the Wi-Fi hotspot management module of the embedded device turns off the Wi-Fi hotspot and returns to the Bluetooth mode after the data transmission is completed.
[0021] The working principle of the data volume detection module is to judge the size and nature of the current data based on the data cache in the device, the length of the transmission queue and the real-time transmission rate. The module can distinguish between small data and big data, and output a quantitative indicator to reflect the current data transmission requirements; 1). When the data volume is less than a preset threshold, it is considered suitable to use Bluetooth for transmission. Usually, such data is a small data packet with low speed and low bandwidth requirements (such as control instructions, status information, sensor data, etc.); 2). When the data volume is greater than the threshold, the module considers it suitable to use Wi-Fi for transmission, especially when transmitting large data files and continuous data streams, such as historical data packets on the device side. The high bandwidth of Wi-Fi can complete the transmission task more efficiently;
[0022] The main functions of the switching controller are: 1). Bluetooth priority during small data transmission: When small data is detected, the system remains in Bluetooth mode and transmits data through low-power Bluetooth protocols (such as Bluetooth Low Energy, BLE). At this time, the Wi-Fi module remains turned off to reduce device power consumption; 2). Wi-Fi switching during large data transmission: When large data is detected, the switching controller instructs the device to start the Wi-Fi hotspot mode and send the connection information of the Wi-Fi hotspot (such as SSID and password) to the mobile device via Bluetooth to achieve seamless connection; 3). Automatic fallback mechanism: When the large data transmission is completed, the switching controller will instruct to turn off the Wi-Fi hotspot and return to Bluetooth transmission mode to ensure that the device maintains low power operation;
[0023] The Wi-Fi hotspot management module automatically starts the device's Wi-Fi hotspot function when large data transmission is required, and creates an independent Wi-Fi network for mobile devices to connect to. The Wi-Fi hotspot management module achieves intelligent connection through the following steps: 1). Hotspot startup: When the switching controller indicates that Wi-Fi transmission is required, the module automatically turns on the device's Wi-Fi module and creates a Wi-Fi hotspot; 2). Hotspot password transmission: In order to ensure the smoothness of the user experience, the Wi-Fi hotspot management module transmits the Wi-Fi SSID and dynamically generated password to the mobile device via Bluetooth. In this way, the user does not need to manually enter the password, and the mobile device can automatically connect to the device's Wi-Fi network; 3). Security management: In order to improve security, the password of the Wi-Fi hotspot can be dynamically generated and transmitted through an encrypted Bluetooth communication channel. The password can be updated every time large data is transmitted to avoid unauthorized connections; the Bluetooth transmission management module is responsible for managing small data transmission between the device and the mobile device. This module uses the low-power Bluetooth protocol to transmit small-scale data, which is particularly suitable for the following scenarios: a. Real-time transmission of small data packets (such as control instructions, sensor status updates, etc.); b. When the device is not transmitting large data, it maintains low power operation and maintains basic connection through Bluetooth; c. The Bluetooth transmission management module can not only maintain low power consumption in regular transmission, but also dynamically adjust the rate and transmission mode of the Bluetooth connection according to different transmission requirements. For example, when the amount of data is very small or the transmission frequency is low, Bluetooth can enter a dormant state to further reduce power consumption.
[0024] Another aspect of the present invention further provides an intelligent wireless connection switching method based on data volume and transmission requirements, comprising the following steps:
[0025] Start Bluetooth connection: After the device is started, the Bluetooth mode is enabled by default to maintain a low-power Bluetooth connection with the mobile device;
[0026] Data detection: The data volume detection module monitors the data volume in real time; when transmitting small data (such as control instructions, sensor status), Bluetooth transmission is maintained; when large data (such as brain wave data, complete sensor records, etc.) is detected, the system automatically starts the switching process;
[0027] Switch to Wi-Fi transmission: The switching controller instructs the Wi-Fi hotspot management module to start the Wi-Fi hotspot and transmit the hotspot connection information to the mobile device via Bluetooth; after the mobile device automatically connects to the Wi-Fi hotspot, large data transmission is performed;
[0028] Return to Bluetooth mode: After the large data transmission is completed, the Wi-Fi module is automatically turned off, and the system returns to Bluetooth mode to continue small data transmission or wait for new transmission tasks;
[0029] Power consumption management: The power consumption optimization module dynamically adjusts the device power consumption in different transmission modes to ensure that the system can minimize unnecessary energy consumption under any circumstances.
[0030] The specific steps can be implemented as follows:
[0031] The embedded device monitors the amount of data to be transmitted through the data volume detection module, and determines whether to use Bluetooth transmission or Wi-Fi transmission according to the amount of data;
[0032] When the amount of data is small, the switching controller selects the Bluetooth transmission mode and transmits the small data to the mobile device through the Bluetooth transmission management module;
[0033] When the amount of data is large, the switching controller starts the Wi-Fi hotspot management module to create a Wi-Fi hotspot in the embedded device;
[0034] The embedded device transmits the SSID and password of the Wi-Fi hotspot to the mobile device in an encrypted manner through the Bluetooth transmission management module;
[0035] After receiving the Wi-Fi hotspot information, the mobile device connects to the Wi-Fi hotspot created by the embedded device through the Wi-Fi module and completes the large data transmission;
[0036] After the large data transmission is completed, the Wi-Fi hotspot management module turns off the Wi-Fi hotspot, and the embedded device returns to Bluetooth mode and enters low power consumption mode.
[0037] A further solution is that after the data transmission is completed, the embedded device automatically enters a low power consumption mode through the power consumption optimization module to save device energy consumption.
[0038] A further solution is that the creation and closing of the Wi-Fi hotspot is a dynamic process based on the demand for large data transmission. The hotspot is only created in the large data transmission scenario and is automatically closed after the transmission is completed.
[0039] A further solution is that the Bluetooth and Wi-Fi transmission processes between the embedded device and the mobile device are encrypted to ensure the security of data transmission.
[0040] The beneficial effects of the present invention are:
[0041] Intelligent transmission mode switching mechanism: The invention proposed by the present invention can dynamically switch between Wi-Fi and Bluetooth according to real-time data traffic and transmission requirements. For small-scale data transmission, the system gives priority to Bluetooth to reduce energy consumption; for large-scale data, it is transmitted through Wi-Fi hotspots to increase the transmission rate. This automatic switching optimizes the resource allocation of devices in different transmission scenarios.
[0042] Power consumption reduction strategy: The system uses an integrated power consumption optimization module to turn off the Wi-Fi module during Bluetooth transmission and put the Bluetooth module into low-power mode during Wi-Fi transmission, thereby reducing unnecessary energy consumption and extending the use time of the device. This is especially important for embedded devices that rely on battery power.
[0043] Seamless connection and user experience: The system automatically manages the establishment and connection process of Wi-Fi hotspots, and securely transmits the password of Wi-Fi hotspots via Bluetooth, avoiding the need for users to enter it manually, ensuring the continuity of data transmission and optimizing user experience.
[0044] Enhanced security: By encrypting the transmission of Wi-Fi hotspot passwords via Bluetooth, this system improves the security of the connection and effectively avoids security threats that may be encountered during Wi-Fi transmission.
[0045] Multi-scenario adaptability: The system is suitable for a variety of scenarios with large fluctuations in data traffic, such as brain wave monitoring, health monitoring, and IoT terminals, ensuring a balance between transmission efficiency and power consumption under different data volume requirements. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0047] Figure 1 It is a flow chart of the present invention.
[0048] Figure 2 This is a system structure diagram of the present invention. DETAILED DESCRIPTION
[0049] To make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be described in detail below. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other implementation methods obtained by ordinary technicians in this field without creative work belong to the scope of protection of the present invention.
[0050] In any embodiment, if Figure 1-2 As shown, an intelligent wireless connection switching system based on data volume and transmission requirements of the present invention includes an embedded device and a mobile device, wherein:
[0051] Embedded device: used for data collection and automatically selects Bluetooth or Wi-Fi for transmission according to the amount of data. Contains the following modules:
[0052] Data volume detection module: responsible for real-time detection of the amount of data to be transmitted, judging based on the size and providing the judgment result to the switching controller.
[0053] Switching controller: Determine the transmission mode based on the feedback from the data volume detection module. When the data volume is small, select Bluetooth; when the data volume is large, select Wi-Fi.
[0054] Wi-Fi hotspot management module: responsible for the creation and management of Wi-Fi hotspots. In large data transmission scenarios, it automatically creates Wi-Fi hotspots and provides hotspot information.
[0055] Bluetooth transmission management module: used for Bluetooth transmission of small data and Wi-Fi passwords.
[0056] Power consumption optimization module: After the transmission is completed, it automatically enters low power consumption mode to reduce device energy consumption.
[0057] Mobile device: cooperates with embedded devices to receive data via Bluetooth or Wi-Fi. It contains Bluetooth and Wi-Fi modules to receive small data transmitted by Bluetooth and large data from Wi-Fi hotspots.
[0058] The module structure layout is as follows:
[0059] The main functional modules are placed on the left: the core modules of the embedded device, including data volume detection module, switching controller, Wi-Fi management module, Bluetooth transmission management module, and data transmission module;
[0060] On the right side are the mobile device modules, mainly the Bluetooth module and the Wi-Fi module;
[0061] Process steps and arrow directions:
[0062] Arrows are used to clearly indicate data flow and process, which are divided into small data paths (Bluetooth) and large data paths (Wi-Fi).
[0063] The arrows connecting the functional modules indicate the steps and sequence.
[0064] Key process display:
[0065] After the data volume detection module determines the data size, the process is split into two paths: Bluetooth and Wi-Fi:
[0066] Small data path: Bluetooth transmission → data transmission to mobile device
[0067] Big data path: Wi-Fi hotspot management module starts the hotspot → sends hotspot information via Bluetooth encryption → mobile device connects to Wi-Fi → data transmission;
[0068] The workflow is as follows:
[0069] Intelligent transmission mode selection;
[0070] The embedded device determines the data volume based on the data volume detection module:
[0071] Small data scenario: When the data is less than the preset threshold, Bluetooth transmission is used.
[0072] Big data scenario: When the data is greater than the threshold, switch to Wi-Fi mode.
[0073] Small data transmission process;
[0074] Bluetooth transmission mode start: switch the controller to start the Bluetooth transmission management module.
[0075] Data transmission: Embedded devices transmit small data via Bluetooth.
[0076] Enter low power mode: Enter low power mode after the transfer is completed.
[0077] Big data transmission process;
[0078] Wi-Fi hotspot creation: The switch controller starts the Wi-Fi hotspot management module, and the embedded device creates a Wi-Fi hotspot.
[0079] Password encrypted transmission: Transmit hotspot information via Bluetooth to ensure security.
[0080] Connection and data transfer: The mobile device automatically connects to the hotspot to complete the data transfer.
[0081] Hotspot shutdown and mode recovery: After the transfer is completed, the Wi-Fi hotspot is turned off and the Bluetooth mode is restored.
[0082] Power consumption optimization;
[0083] When there is no data transmission, the embedded device remains in low power mode and automatically activates when new data is generated.
[0084] Dynamic Wi-Fi hotspot management: Create and close Wi-Fi hotspots based on demand, effectively reducing energy consumption.
[0085] Low power management: Through the power optimization module, it is ensured that the device enters a low power state after Bluetooth or Wi-Fi transmission is completed to extend battery life.
[0086] Security design: Encryption technology is used to ensure the security of Wi-Fi passwords and transmitted data.
[0087] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of changes or replacements within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims. It should also be noted that the various specific technical features described in the above specific embodiments can be combined in any suitable manner without contradiction. In order to avoid unnecessary repetition, the present invention will not further explain various possible combinations. In addition, the various different embodiments of the present invention can also be combined arbitrarily, as long as they do not violate the concept of the present invention, they should also be regarded as the contents disclosed by the present invention.
Claims
1. An intelligent wireless connection switching system based on data volume and transmission requirements, characterized in that: Includes embedded devices and mobile devices, where: The embedded device comprises: The data volume detection module is used to monitor the amount of data to be transmitted in real time and determine the transmission mode according to the amount of data; A switching controller, connected to the data volume detection module, used to switch between the Bluetooth transmission mode and the Wi-Fi transmission mode according to the judgment result of the data volume detection module; A Wi-Fi hotspot management module, which is used to create and manage Wi-Fi hotspots when switching to Wi-Fi transmission mode, including generating a unique SSID and password, and shutting down the Wi-Fi hotspot after the large data transmission is completed; A Bluetooth transmission management module, used to transmit small data to a mobile device via Bluetooth when switching to Bluetooth transmission mode, or to transmit Wi-Fi hotspot information to a mobile device via Bluetooth in Wi-Fi transmission mode; A power optimization module, which is used to automatically switch the embedded device to a low-power mode after data transmission is completed; The mobile device comprises: A Bluetooth module, used to receive Bluetooth data from the embedded device, or receive encrypted information from a Wi-Fi hotspot; The Wi-Fi module is used to automatically connect to the Wi-Fi hotspot created by the embedded device after receiving the Wi-Fi hotspot information, and transmit big data.
2. The intelligent wireless connection switching system based on data volume and transmission requirements as claimed in claim 1, characterized in that: The data volume detection module determines the data volume size according to a preset data threshold, triggers the Bluetooth transmission mode when the data volume is less than the threshold, and triggers the Wi-Fi transmission mode when the data volume is greater than the threshold.
3. The intelligent wireless connection switching system based on data volume and transmission requirements as claimed in claim 1, characterized in that: When generating a Wi-Fi hotspot, the Wi-Fi hotspot management module transmits the SSID and password of the Wi-Fi hotspot to the mobile device through an encrypted Bluetooth channel.
4. The intelligent wireless connection switching system based on data volume and transmission requirements as claimed in claim 1, characterized in that: The Bluetooth transmission management module automatically enters a low power consumption mode after the Bluetooth transmission is completed, and optimizes energy consumption during Bluetooth and Wi-Fi transmission.
5. The intelligent wireless connection switching system based on data volume and transmission requirements as claimed in claim 1, characterized in that: The power consumption optimization module automatically switches the embedded device to a low power consumption mode after the data transmission is completed, and maintains the mode when there is no data transmission task, so as to extend the battery life of the device.
6. The intelligent wireless connection switching system based on data volume and transmission requirements as claimed in claim 1, characterized in that: The Wi-Fi hotspot management module of the embedded device turns off the Wi-Fi hotspot and returns to the Bluetooth mode after the data transmission is completed.
7. An intelligent wireless connection switching method based on data volume and transmission requirements, characterized in that: The following steps are involved: The embedded device monitors the amount of data to be transmitted through the data volume detection module, and determines whether to use Bluetooth transmission or Wi-Fi transmission according to the amount of data; When the amount of data is small, the switching controller selects the Bluetooth transmission mode and transmits the small data to the mobile device through the Bluetooth transmission management module; When the amount of data is large, the switching controller starts the Wi-Fi hotspot management module to create a Wi-Fi hotspot in the embedded device; The embedded device transmits the SSID and password of the Wi-Fi hotspot to the mobile device in an encrypted manner through the Bluetooth transmission management module; After receiving the Wi-Fi hotspot information, the mobile device connects to the Wi-Fi hotspot created by the embedded device through the Wi-Fi module and completes the large data transmission; After the large data transmission is completed, the Wi-Fi hotspot management module turns off the Wi-Fi hotspot, and the embedded device returns to Bluetooth mode and enters low power consumption mode.
8. The intelligent wireless connection switching method according to claim 7, characterized in that: After the data transmission is completed, the embedded device automatically enters the low power mode through the power optimization module to save device energy consumption.
9. The intelligent wireless connection switching method according to claim 7, characterized in that: The creation and closing of the Wi-Fi hotspot is a dynamic process based on the demand for large data transmission. The hotspot is created only in the large data transmission scenario and is automatically closed after the transmission is completed.
10. The intelligent wireless connection switching method according to claim 7, characterized in that: The Bluetooth and Wi-Fi transmission processes between the embedded device and the mobile device are encrypted to ensure the security of data transmission.