A low-power bluetooth gateway and control method
By designing a low-power Bluetooth gateway, using Bluetooth processor and power management module to achieve fire warning and automatic power consumption management, the existing Bluetooth gateway has solved the problems of single functions, high power consumption and inconvenient control, improving security and stability and simplifying the control process.
Patent Information
- Application Number
- CN202210151568.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-02-18
- Publication Date
- 2025-04-11
- Estimated Expiration
- 2042-02-18
AI Technical Summary
The existing Bluetooth gateway has a single function, high power consumption and inconvenient control, resulting in poor security and stability.
Design a low-power Bluetooth gateway, including a computing unit, a temperature sensor, a monitor, a Bluetooth processor, a power management module and a power supply module. Connect the temperature sensor and monitor through the Bluetooth processor to achieve fire warning; connect it to the power supply module through the power management module, and automatically switch to the low-power mode when the power is disconnected.
The security and stability of the low-power Bluetooth gateway is achieved, which avoids working abnormalities caused by high power consumption, and simplifies the control and maintenance of the gateway.
Smart Images

Figure CN114554437B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of Bluetooth gateways, and in particular to a low-power Bluetooth gateway and a control method thereof. Background Art
[0002] There are two types of Bluetooth gateways on the market. One is a Bluetooth chip that works with 4G or WIFI. Its main work is to use Bluetooth to scan or actively connect to the terminal, and transmit the terminal data intact to the cloud server through 4G or wifi. Disadvantages: The function is relatively simple and it only serves as a bridge for data transmission.
[0003] The other is a computing processor equipped with a Bluetooth module, 4G and WIFI to work. The main work content is that the central processor controls the Bluetooth module, uses Bluetooth scanning or actively connects to the terminal, obtains data, and performs data computing, processing, analysis and storage by itself. The processed data is uploaded to the cloud server via wifi or 4G. Disadvantages: Although the edge computing function has been added to share the pressure on the server, the power consumption is very high, so it needs to be connected to the household electricity to work. In this case, the household power supply is suddenly cut off, and the power-on is easy to cause the gateway to work abnormally. In addition, there are only two ways to start the gateway, one is to start it up by default when it is powered on, and the other is to press the power button to start it up. Both of these have disadvantages. The default power-on will cause the gateway to be unable to control the shutdown after layout, and the gateway can only be manually dismantled to stop working. The second is that the power-on needs to press the power button to start it up. In this case, there will be a gateway that has been well laid out. Due to abnormal power outages, personnel must press the power button to start it up, which brings great inconvenience to maintenance. Summary of the invention
[0004] The purpose of the present invention is to provide a low-power Bluetooth gateway, which can solve the problems of single function, high power consumption and inconvenient control in the prior art and has good safety and stability.
[0005] Another object of the present invention is to provide a control method based on a low-power Bluetooth gateway, which can solve the problems of single function, high power consumption and inconvenient control in the prior art and has good safety and stability.
[0006] The embodiment of the present invention is achieved as follows:
[0007] In a first aspect, an embodiment of the present application provides a low-power Bluetooth gateway, which includes a computing unit, a temperature sensor, a display, a Bluetooth processor, a power management module and a power supply module. The input of the Bluetooth processor is connected to the temperature sensor, and the output of the Bluetooth processor is connected to the display, so as to issue a fire warning through the display when the temperature exceeds a preset temperature; the Bluetooth processor is connected to the power supply module through the power management module, and the power management module is used to switch the Bluetooth processor to a low-power mode when the power is disconnected; the output of the computing unit is connected to the Bluetooth processor.
[0008] In some embodiments of the present invention, the computing unit includes a gateway module and a computing processor, the gateway module is used for the computing processor to connect to a cloud server, and the input of the Bluetooth processor is connected to the computing processor.
[0009] In some embodiments of the present invention, the gateway module includes any one or both of a WIFI wireless module and an Ethernet module.
[0010] In some embodiments of the present invention, the low-power Bluetooth gateway further includes a mobile phone terminal, and an output of the mobile phone terminal is connected to the Bluetooth processor.
[0011] In some embodiments of the present invention, the above-mentioned low-power Bluetooth gateway also includes a 4G / 5G module, and the above-mentioned 4G / 5G module is used for the above-mentioned Bluetooth processor to connect to a cloud server.
[0012] In a second aspect, an embodiment of the present application provides a control method based on the above-mentioned low-power Bluetooth gateway, which includes a computing unit, a temperature sensor, a display, a Bluetooth processor, a power management module and a power supply module, wherein the input of the above-mentioned Bluetooth processor is connected to the above-mentioned temperature sensor, and the output of the above-mentioned Bluetooth processor is connected to the above-mentioned display, and is used to issue a fire warning through the above-mentioned display when the temperature exceeds a preset temperature; the above-mentioned Bluetooth processor is connected to the above-mentioned power supply module through the above-mentioned power management module, and the above-mentioned power management module is used to switch the above-mentioned Bluetooth processor to a low-power mode when the power is disconnected; the output of the above-mentioned computing unit is connected to the above-mentioned Bluetooth processor; the above-mentioned computing unit includes a gateway module and a computing processor, and the above-mentioned gateway module is used for the above-mentioned computing processor to connect to a cloud server, and the input of the above-mentioned Bluetooth processor is connected to the above-mentioned computing processor;
[0013] The specific steps include:
[0014] S1: The above Bluetooth processor sends broadcast data to set Bluetooth scanning to be on or off. If Bluetooth scanning is currently off, it is in low power consumption mode.
[0015] S2: Determine whether external power supply is provided. If it is determined to be yes, the computing processor switches the low power consumption mode to the high computing mode, i.e., starts Bluetooth scanning. Otherwise, the low power consumption mode is maintained.
[0016] S3: the computing processor obtains the broadcast data through the Bluetooth processor, and performs data analysis, computing and storage;
[0017] S4: the computing processor reports the processed broadcast data; determines whether there is data to be sent, and if it is determined that there is data, the computing processor classifies and analyzes the command, connects to the designated terminals one by one, and sends the data;
[0018] S5: Repeat step S3; switch to the power supply module to supply power, then turn off the computing processor and return to step S1.
[0019] In some embodiments of the present invention, the above S2 also includes the following step S2-1: when it is determined that the power supply is not external, shut down or start the operation server and the cloud server to interact with the data at intervals; when it is determined that the power supply is not external, upload the data to the above cloud server through the 4G / 5G module.
[0020] In some embodiments of the present invention, the above S2 also includes the following step S2-2: when it is determined that external power supply is provided, it is determined whether the above-mentioned computing processor is automatically turned on, and when it is determined to be yes, the above-mentioned low power consumption mode is turned on for Bluetooth scanning, that is, it is switched to high computing mode, otherwise the above-mentioned computing processor is turned on through the above-mentioned gateway module.
[0021] In some embodiments of the present invention, the above S2 further includes the following step S2-23: the above gateway module controls the above operation processor to start up through the above Bluetooth processor, and checks the working status of the above operation processor.
[0022] In some embodiments of the present invention, the above S3 also includes the following step S3-1: the above operation processor obtains the above broadcast data through the above Bluetooth processor, and performs data analysis, operation and storage.
[0023] Compared with the prior art, the embodiments of the present invention have at least the following advantages or beneficial effects:
[0024] In a first aspect, an embodiment of the present application provides a low-power Bluetooth gateway, including a computing unit, a temperature sensor, a display, a Bluetooth processor, a power management module and a power supply module, wherein the input of the Bluetooth processor is connected to the temperature sensor, and the output of the Bluetooth processor is connected to the display, so as to issue a fire warning through the display when the temperature exceeds a preset temperature; the Bluetooth processor is connected to the power supply module through the power management module, and the power management module is used to switch the Bluetooth processor to a low-power mode when the power is disconnected; the output of the computing unit is connected to the Bluetooth processor.
[0025] In a second aspect, an embodiment of the present application provides a control method based on the above-mentioned low-power Bluetooth gateway, which includes a computing unit, a temperature sensor, a display, a Bluetooth processor, a power management module and a power supply module, wherein the input of the above-mentioned Bluetooth processor is connected to the above-mentioned temperature sensor, and the output of the above-mentioned Bluetooth processor is connected to the above-mentioned display, and is used to issue a fire warning through the above-mentioned display when the temperature exceeds a preset temperature; the above-mentioned Bluetooth processor is connected to the above-mentioned power supply module through the above-mentioned power management module, and the above-mentioned power management module is used to switch the above-mentioned Bluetooth processor to a low-power mode when the power is disconnected; the output of the above-mentioned computing unit is connected to the above-mentioned Bluetooth processor; the above-mentioned computing unit includes a gateway module and a computing processor, and the above-mentioned gateway module is used for the above-mentioned computing processor to connect to a cloud server, and the input of the above-mentioned Bluetooth processor is connected to the above-mentioned computing processor;
[0026] The specific steps include:
[0027] S1: The above Bluetooth processor sends broadcast data to set Bluetooth scanning to be on or off. If Bluetooth scanning is currently off, it is in low power consumption mode.
[0028] S2: Determine whether external power supply is provided. If it is determined to be yes, the computing processor switches the low power consumption mode to the high computing mode, i.e., starts Bluetooth scanning. Otherwise, the low power consumption mode is maintained.
[0029] S3: the computing processor obtains the broadcast data through the Bluetooth processor, and performs data analysis, computing and storage;
[0030] S4: the computing processor reports the processed broadcast data; determines whether there is data to be sent, and if it is determined that there is data, the computing processor classifies and analyzes the command, connects to the designated terminals one by one, and sends the data;
[0031] S5: Repeat step S3; switch to the power supply module to supply power, then turn off the computing processor and return to step S1.
[0032] Regarding the first aspect to the second aspect: the embodiment of the present application connects the temperature sensor through the input of the Bluetooth processor, and connects the display through the output of the Bluetooth processor, so that when the temperature exceeds the preset temperature, a fire warning is issued through the display to prevent the stored products from being burned; the Bluetooth processor is connected to the power supply module through the power management module, so that when the power is disconnected, the Bluetooth processor is switched to a low power mode; the Bluetooth processor is connected through the output of the computing unit, so that the computing unit sets various parameters of the Bluetooth processor, which is convenient for automatic control and switching. The present application can solve the problems of single function, high power consumption and inconvenient control in the prior art, and has good safety and stability. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.
[0034] Figure 1 This is a schematic diagram of the principle of a low-power Bluetooth gateway according to Embodiment 1 of the present invention;
[0035] Figure 2 It is a flowchart of a control method based on a low-power Bluetooth gateway according to embodiments 1 and 2 of the present invention. DETAILED DESCRIPTION
[0036] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various different configurations.
[0037] Therefore, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the present application for which protection is sought, but merely represents selected embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.
[0038] In the description of this application, it is also necessary to explain that, unless otherwise clearly specified and limited, the terms "disposed" and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be an indirect connection through an intermediate medium, or it can be the internal communication of two elements. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.
[0039] In conjunction with the accompanying drawings, some embodiments of the present application are described in detail below. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.
[0040] Example 1
[0041] See also Figure 1 , Figure 1 The schematic diagram of the principle of the low-power Bluetooth gateway provided by the embodiment of the present application is shown. The low-power Bluetooth gateway includes a computing unit, a temperature sensor, a display, a Bluetooth processor, a power management module and a power supply module. The input of the Bluetooth processor is connected to the temperature sensor, and the output of the Bluetooth processor is connected to the display, which is used to issue a fire warning through the display when the temperature exceeds the preset temperature; the Bluetooth processor is connected to the power supply module through the power management module, and the power management module is used to switch the Bluetooth processor to a low-power mode when the power is disconnected; the output of the computing unit is connected to the Bluetooth processor.
[0042] The Bluetooth processor is the core control of the entire system. It can realize Bluetooth broadcast data collection and its own broadcast data transmission, and can connect to designated terminals or other devices for remote control. Among them, the temperature sensor component is used to collect the working environment temperature of the product, so as to use the display for data interaction, mainly display the working status of the product, and automatically issue an early warning to prevent the occurrence of fire. The operation unit is responsible for the control of the Bluetooth processor. The power management module is used to determine whether the current power supply is an external power supply, and it also effectively manages the power supply module for charging. The power supply module is a battery to prevent overcharging and over-discharging of the battery.
[0043] In some embodiments of the present invention, the computing unit includes a gateway module and a computing processor, the gateway module is used for the computing processor to connect to a cloud server, and the input of the Bluetooth processor is connected to the computing processor.
[0044] In detail, the gateway module is integrated into the computing processor to realize data interaction with the cloud service, and the input of the Bluetooth processor is connected to the computing processor. The computing processor is used to process, analyze, and store the data collected by the Bluetooth processor. Among them, when the server has instructions to send to the terminal, the computing processor can classify and analyze the instructions and send data one by one through the Bluetooth processor to reduce the pressure of the server to process and calculate data.
[0045] In some embodiments of the present invention, the gateway module includes any one or both of a WIFI wireless module and an Ethernet module.
[0046] Among them, the WIFI wireless module or Ethernet module is integrated into the computing processor, and its main function is to realize data interaction between Ethernet and cloud services.
[0047] In some embodiments of the present invention, the low-power Bluetooth gateway further includes a mobile phone terminal, and an output of the mobile phone terminal is connected to the Bluetooth processor.
[0048] Among them, the mobile phone terminal can be used to send instructions to the terminal and set the preset parameters of the Bluetooth processor.
[0049] In some embodiments of the present invention, the above-mentioned low-power Bluetooth gateway also includes a 4G / 5G module, and the above-mentioned 4G / 5G module is used for the above-mentioned Bluetooth processor to connect to a cloud server.
[0050] Among them, the 4G / 5G module is an optional module, which makes it easy to switch between different methods to achieve data interaction with cloud services.
[0051] Example 2
[0052] See also Figure 1-2 The embodiment of the present application provides a control method based on the above-mentioned low-power Bluetooth gateway, which includes a computing unit, a temperature sensor, a display, a Bluetooth processor, a power management module and a power supply module. The input of the Bluetooth processor is connected to the temperature sensor, and the output of the Bluetooth processor is connected to the display, so as to issue a fire warning through the display when the temperature exceeds a preset temperature; the Bluetooth processor is connected to the power supply module through the power management module, and the power management module is used to switch the Bluetooth processor to a low-power mode when the power is disconnected; the output of the computing unit is connected to the Bluetooth processor; the computing unit includes a gateway module and a computing processor, and the gateway module is used for the computing processor to connect to a cloud server, and the input of the Bluetooth processor is connected to the computing processor;
[0053] The specific steps include:
[0054] S1: The above Bluetooth processor sends broadcast data to set Bluetooth scanning to be on or off. If Bluetooth scanning is currently off, it is in low power consumption mode.
[0055] S2: Determine whether external power supply is provided. If it is determined to be yes, the computing processor switches the low power consumption mode to the high computing mode, i.e., starts Bluetooth scanning. Otherwise, the low power consumption mode is maintained.
[0056] S3: the computing processor obtains the broadcast data through the Bluetooth processor, and performs data analysis, computing and storage;
[0057] S4: the computing processor reports the processed broadcast data; determines whether there is data to be sent, and if it is determined that there is data, the computing processor classifies and analyzes the command, connects to the designated terminals one by one, and sends the data;
[0058] S5: Repeat step S3; switch to the power supply module to supply power, then turn off the computing processor and return to step S1.
[0059] In some embodiments of the present invention, the above S2 also includes the following step S2-1: when it is determined that the power supply is not external, shut down or start the operation server and the cloud server to interact with the data at intervals; when it is determined that the power supply is not external, upload the data to the above cloud server through the 4G / 5G module.
[0060] In some embodiments of the present invention, the above S2 also includes the following step S2-2: when it is determined that external power supply is provided, it is determined whether the above-mentioned computing processor is automatically turned on, and when it is determined to be yes, the above-mentioned low power consumption mode is turned on for Bluetooth scanning, that is, it is switched to high computing mode, otherwise the above-mentioned computing processor is turned on through the above-mentioned gateway module.
[0061] In some embodiments of the present invention, the above S2 further includes the following step S2-23: the above gateway module controls the above operation processor to start up through the above Bluetooth processor, and checks the working status of the above operation processor.
[0062] In some embodiments of the present invention, the above S3 also includes the following step S3-1: the above operation processor obtains the above broadcast data through the above Bluetooth processor, and performs data analysis, operation and storage.
[0063] In some embodiments of the present invention, the above S4 also includes the following step S4-1: the above-mentioned computing processor periodically reports the processed above-mentioned Bluetooth data according to the above-mentioned cloud server settings.
[0064] The power supply module includes an external power supply and a battery. The Bluetooth processor is powered by an external power supply and operates normally. The default is low power mode, Bluetooth broadcast is automatically turned on, and the configuration parameters are set whether to turn on Bluetooth scanning. The Bluetooth processor switches modes according to the power supply status. When the external power supply is used, the Bluetooth processor determines whether to start the computing processor according to the configuration parameters of the power supply status and switches to high computing mode. When the Bluetooth processor is not powered by an external power supply but powered by a battery, it remains in low power mode, and the configuration parameters are set to turn off or start the computing processor at intervals to interact with the cloud service, and the computing processor is specifically configured to be turned on at a high frequency or a low frequency to complete the work task. When the low power mode is configured with a 4G / 5G module, data can be reported directly through the 4G / 5G module. Regardless of the high computing mode or the low power mode, the working logic is the same. The computing processor obtains the terminal Bluetooth broadcast data from the Bluetooth processor in real time, and performs processing, analysis, computing, storage, and other tasks. The computing processor periodically reports the processed Bluetooth data according to the cloud server setting requirements, specifically by selecting the specific data you want, informing the gateway, and the gateway performs data screening and reports the acquired specific data to the server. And process the data in the way required by the server and report it. If the server has data to send, the operation processor will classify and parse the instructions and send them to the terminal one by one through the Bluetooth processor. The Bluetooth processor is compatible with different terminals. In high-computing mode, when the power supply is switched, it will automatically switch to low-power mode to save energy and keep working. Mobile phones or other gateways can view and control the operation of the operation processor at any time through the Bluetooth processor, complete abnormal cause analysis, etc. The gateway module can be a button, a mobile phone or other gateway.
[0065] In summary, the embodiments of the present application provide a low-power Bluetooth gateway and a control method:
[0066] 1. The remote terminal sends Bluetooth broadcast packets and response packets in real time. The Bluetooth processor collects and filters the data after data collection. The filtered data is sent to the operation module through SPI1. The operation module analyzes the data and exchanges data according to the requirements of the cloud server after processing.
[0067] 2. The Bluetooth processor sends Bluetooth broadcast packets and response packets in real time. After the mobile phone or gateway receives them, it can connect to Bluetooth. Through UART1, it can control the computing module, input Linux commands, debug, dynamically view logs, set parameters, etc. It can also connect to the terminal through the Bluetooth processor to view the terminal data.
[0068] 3. When the cloud server needs to send data to the remote terminal, it sends the command to the computing module through the Internet. The computing module sends the data to the Bluetooth processor through UART2. The Bluetooth processor sends the command to the remote terminal through the Bluetooth connection. This enables data interaction between the server and the remote terminal.
[0069] 4. When the computing module stops working, the 4G / 5G module can be used to interact with the cloud service.
[0070] Understandably, Figure 1 The structure shown is for illustration only. The low-power Bluetooth gateway may also include Figure 1 More or fewer components as shown, or with Figure 1 Different configurations are shown. Figure 1 Each component shown in the figure can be implemented by hardware, software or a combination thereof.
[0071] This application mainly adopts a dual-core system, which is divided into a low-power operation mode and a high-computation operation mode. When powered by an external power supply, it is in a high-computation operation mode, and the remote cloud server processes and analyzes data at full speed. When powered by a battery, it switches to a low-power mode, reduces the operating frequency of the computing processor, so as to maintain normal working conditions. The low-power mode runs for about 1 month under a 200mAH battery. If the computing processor is set to stop working, it can work for at least 4 months. The gateway realizes the interconnection function with mobile phones and gateways. This advantage can greatly facilitate the installation and layout of the gateway. The installer only needs to install all the gateways, and then set all the initial parameters of the gateways and connect to the cloud service through a mobile phone or a gateway. Any subsequent data changes can be modified through the mobile phone, gateway or cloud service. Through a mobile phone or other gateway, Bluetooth connects to an abnormal gateway, and then you can enter Linux commands, control the abnormal gateway, view the abnormal log, and analyze the problem. Quickly and easily implement abnormal repair. The gateway can be connected to other gateways or mobile phones via Bluetooth, set parameters on the mobile phone or cloud service, and debug and analyze the abnormal log of the gateway. There is no need to dismantle, remove the shell, wire, or even re-burn the gateway to analyze the problem like other gateways on the market.
[0072] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely schematic. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to the multiple embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of a code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or the flowchart, and the combination of boxes in the block diagram and / or the flowchart can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.
[0073] In addition, the functional modules in the various embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
[0074] If the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0075] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
[0076] It will be apparent to those skilled in the art that the present application is not limited to the details of the exemplary embodiments described above, and that the present application can be implemented in other specific forms without departing from the spirit or essential features of the present application. Therefore, the embodiments should be considered exemplary and non-limiting in all respects, and the scope of the present application is defined by the appended claims rather than the above description, and it is intended that all changes falling within the meaning and scope of the equivalent elements of the claims be included in the present application. Any reference numeral in a claim should not be considered as limiting the claim to which it relates.
Claims
1. A control method based on a low-power Bluetooth gateway, characterized in that: The low-power Bluetooth gateway includes a computing unit, a temperature sensor, a display, a Bluetooth processor, a power management module and a power supply module. The input of the Bluetooth processor is connected to the temperature sensor, and the output of the Bluetooth processor is connected to the display, so as to issue a fire warning through the display when the temperature exceeds a preset temperature. The Bluetooth processor is connected to the power supply module through the power management module, and the power management module is used to switch the Bluetooth processor to a low power consumption mode when the power is disconnected; the output of the operation unit is connected to the Bluetooth processor; the operation unit includes a gateway module and an operation processor, the gateway module is used for the operation processor to connect to the cloud server, and the input of the Bluetooth processor is connected to the operation processor; The method specifically comprises the following steps: S1: The Bluetooth processor sends broadcast data to set Bluetooth scanning to be on or off. If Bluetooth scanning is currently off, it is in low power consumption mode. S2: Determine whether external power supply is used. If it is, the computing processor switches the low power consumption mode to the high computing mode, i.e., starts Bluetooth scanning. Otherwise, the low power consumption mode is maintained. S2 also includes the following step S2-2: Determine whether the computing processor is automatically turned on when it is determined that external power supply is used. If it is, the computing processor is turned on. Otherwise, the computing processor is turned on by pressing a button / mobile phone / other gateway. S3: the computing processor obtains the terminal Bluetooth broadcast data through the Bluetooth processor, and performs data analysis, computing and storage; S4: the computing processor reports the processed broadcast data; determines whether there is data to be sent, and if it is determined that there is data, the computing processor classifies and analyzes the command, connects to the designated terminals one by one, and sends the data; S5: repeat step S3; After switching to the power supply module to supply power, the operation processor is turned off and the process returns to step S1.
2. The control method of the low-power Bluetooth gateway according to claim 1, characterized in that: S2 also includes the following step S2-1: when it is determined that there is no external power supply, shut down or start the computing server and the cloud server to interact with each other; when it is determined that there is a 4G / 5G module, upload data to the cloud server through the 4G / 5G module.
3. The control method of the low-power Bluetooth gateway according to claim 2, characterized in that: S2 also includes the following step S2-3: the mobile phone / other gateway controls and checks the working status of the computing processor through the Bluetooth processor.
Citation Information
Patent Citations
Device based on capacitive sensor control BLE bluetooth
CN205249221U
Wireless networking type fire-fighting gateway
CN209072518U