Water controller off-line consumption system based on Bluetooth communication
By designing a water controller offline consumption system based on Bluetooth communication, using multi-level communication mechanism and encryption mechanism, the problem of existing systems being unable to consume normally under abnormal conditions is solved, and the invisible use effect of high security and integrity is achieved.
Patent Information
- Application Number
- CN202411755566.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-03
- Publication Date
- 2025-03-04
AI Technical Summary
The existing Bluetooth communication water controller consumption system cannot consume normally under system abnormality, network abnormality, etc., and lacks an effective encryption mechanism, resulting in insufficient security and integrity.
A water controller offline consumption system based on Bluetooth communication is designed. Through a multi-level communication mechanism of business platform, IOT platform, user terminal and water controller terminal, normal consumption under offline conditions is achieved, and dynamic encryption information and offline authentication valid time mechanism are adopted to improve the security and integrity of the system.
It realizes the normal use of the water controller terminal in the case of system abnormalities and user terminal network abnormalities, provides a complete encryption mechanism to prevent illegal use, improves the security and integrity of the system, and ensures the user's insensitive use.
Smart Images

Figure CN119562240A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of water controllers, in particular to an off-line consumption system of water controllers based on Bluetooth communication. Background Art
[0002] In the water controller consumption system with Bluetooth communication, system anomalies, system maintenance, network anomalies, etc. are inevitable. For the water controller terminal with real-time communication, normal consumption cannot be achieved when the system is abnormal; in addition, normal consumption cannot be achieved when the 4G / 5G signal is abnormal, the user terminal traffic exceeds the limit and the network is disconnected. Summary of the invention
[0003] In order to overcome the above problems existing in the prior art, the present invention provides a water controller offline consumption system based on Bluetooth communication, which adopts the following technical solutions:
[0004] A water controller offline consumption system based on Bluetooth communication includes: a business platform, an IOT platform, a user terminal, and a water controller terminal; wherein the business platform and the IOT platform communicate via Ethernet to achieve data interaction and instruction transmission; the IOT platform and the user terminal are connected via a wireless communication network to establish a remote communication channel; the user terminal and the water controller terminal communicate via Bluetooth to achieve close-range data interaction.
[0005] Furthermore, in the case of online consumption, the business platform sends the password book to the water controller terminal through the IOT platform, and regularly updates the password book of the water controller terminal.
[0006] Furthermore, in the case of online consumption, the workflow of the business platform, IOT platform, user terminal, and water controller terminal is as follows:
[0007] The user terminal initiates a valve opening request to the IOT platform through the wireless communication network, and the IOT platform forwards the valve opening request to the business platform;
[0008] The business platform verifies the legitimacy of the user terminal account information. When the account information is determined to be legitimate, the business platform issues a valve opening instruction carrying dynamic encryption information;
[0009] The valve opening command is sent to the water controller terminal via the IOT platform and user terminal;
[0010] The water controller terminal receives the valve opening instruction, uses the local code book of the water controller terminal to decode the valve opening instruction, and then opens the valve for consumption.
[0011] Furthermore, in the case of online consumption, the business platform sends the password book to the user terminal through the IOT platform, and the user terminal stores the password book.
[0012] Furthermore, in the case of online consumption, the business platform sends the device authentication information of the water controller terminal that the user terminal has used to the user terminal through the IOT platform. The user terminal caches the device authentication information sent by the platform, wherein the device authentication information has an offline authentication validity period, and the offline authentication validity period is controlled by the business platform parameters.
[0013] Furthermore, in the case of offline consumption, after the offline authentication validity period exceeds the set offline usage time, the user terminal directly prompts that the offline time has exceeded the limit, and the user terminal cannot initiate a valve opening instruction.
[0014] Furthermore, in the case of offline consumption, the workflow of the business platform, IOT platform, user terminal, and water controller terminal is as follows:
[0015] The user terminal initiates a valve opening request to the IOT platform through the wireless communication network. When the IOT platform does not respond to the valve opening request of the user terminal, the user terminal enters the offline operation mode;
[0016] The user terminal establishes a Bluetooth communication connection with the water controller terminal;
[0017] Based on the device code of the water controller terminal, the user terminal generates dynamic encryption information through the cached device authentication information of the water controller terminal corresponding to the device code;
[0018] The user terminal simulates the business platform to send a valve opening instruction carrying dynamic encryption information to the water controller terminal;
[0019] The water controller terminal receives the valve opening instruction, and decodes the valve opening instruction according to the locally stored code book. After the water controller terminal successfully decodes the instruction, the valve is opened for consumption.
[0020] Furthermore, offline consumption situations include: abnormalities in the business platform and IOT platform, or upgrades and maintenance of the business platform and IOT platform, or abnormalities in the user terminal network.
[0021] Furthermore, in the case of offline consumption, the user terminal cannot pass the authentication for the water controller terminal that has not been used, that is, the user terminal cannot establish Bluetooth communication with the water controller terminal.
[0022] Furthermore, when the offline consumption system of the water controller based on Bluetooth communication resumes normal online consumption, the water controller terminal uploads the consumption record to the business platform for deduction during online consumption.
[0023] The present invention has the following beneficial effects:
[0024] The present application provides a water controller offline consumption system based on Bluetooth communication, including a business platform, an IOT platform, a user terminal, and a water controller terminal; wherein the business platform and the IOT platform communicate via Ethernet to achieve data interaction and instruction transmission; the IOT platform and the user terminal are connected via a wireless communication network to establish a remote communication channel; the user terminal and the water controller terminal communicate via Bluetooth to achieve close-range data interaction. The water controller offline consumption system based on Bluetooth communication provided by the present application achieves normal use of the water controller terminal in the event of system abnormalities and user terminal network abnormalities, and at the same time provides a complete encryption mechanism to prevent illegal users from using it, thereby improving the security and integrity of the system and achieving user-free use in the event of system abnormalities and user terminal network abnormalities. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Figure 1 This is a schematic diagram of the structure of a water controller offline consumption system based on Bluetooth communication of the present invention;
[0026] Figure 2 This is a flow chart of an online consumption case according to an embodiment of the present invention;
[0027] Figure 3 This is a flow chart of offline consumption in an embodiment of the present invention. DETAILED DESCRIPTION
[0028] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which the present invention belongs; the terms used in the specification of the invention herein are only for the purpose of describing specific embodiments and are not intended to limit the present invention; the terms "including" and "having" and any variations thereof in the specification and claims of the present invention and the above-mentioned drawings are intended to cover non-exclusive inclusions. The terms "first", "second", etc. in the specification and claims of the present invention or the above-mentioned drawings are used to distinguish different objects, not to describe a specific order.
[0029] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present invention. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0030] In this application, the IOT platform acts as an intermediary between the business platform and the user terminal, responsible for forwarding information and commands.
[0031] Please refer to Figure 1 , Figure 1This is a schematic diagram of the structure of a water controller offline consumption system based on Bluetooth communication of the present invention, and the specific contents include:
[0032] A water controller offline consumption system based on Bluetooth communication includes: a business platform, an IOT platform, a user terminal, and a water controller terminal; wherein the business platform and the IOT platform communicate via Ethernet to achieve data interaction and instruction transmission; the IOT platform and the user terminal are connected via a wireless communication network to establish a remote communication channel; the user terminal and the water controller terminal communicate via Bluetooth to achieve close-range data interaction.
[0033] The wireless communication network in this application includes 4G, 5G or WIFI and other network connection forms that can establish communication connections.
[0034] In a possible implementation, in order to ensure communication security and prevent Bluetooth communication data from being monitored and cracked, in the case of online consumption, the business platform sends a password book to the water controller terminal through the IOT platform and regularly updates the password book of the water controller terminal.
[0035] In a possible implementation, in the case of online consumption, the workflow of the business platform, IOT platform, user terminal, and water controller terminal, please refer to Figure 2 , the specific contents include:
[0036] Step 21, the user terminal initiates a valve opening request to the IOT platform through the wireless communication network, and the IOT platform forwards the valve opening request to the business platform;
[0037] Step 22: The business platform verifies the legitimacy of the user terminal account information. When the account information is determined to be legitimate, the business platform issues a valve opening instruction carrying dynamic encryption information.
[0038] Step 23, the valve opening instruction is sent to the water controller terminal via the IOT platform and the user terminal;
[0039] Step 24, the water controller terminal receives the valve opening instruction, uses the local code book of the water controller terminal to decode the valve opening instruction, and then opens the valve for consumption.
[0040] In a possible implementation, in the case of online consumption, the service platform sends the password book to the user terminal through the IOT platform, and the user terminal stores the password book.
[0041] In a possible implementation, in the case of online consumption, the business platform sends the device authentication information of the water controller terminal that the user terminal has used to the user terminal through the IOT platform, and the user terminal caches the device authentication information sent by the platform, wherein the device authentication information has an offline authentication validity period, and the offline authentication validity period is controlled by business platform parameters.
[0042] In a possible implementation, in the case of offline consumption, after the offline authentication validity period exceeds the set offline usage time, the user terminal directly prompts that the offline time has exceeded the limit, and the user terminal cannot initiate a valve opening instruction.
[0043] In a possible implementation, in the case of offline consumption, the workflow of the business platform, IOT platform, user terminal, and water controller terminal, please refer to Figure 3 , the specific contents include:
[0044] Step 31, the user terminal initiates a valve opening request to the IOT platform through the wireless communication network. When the IOT platform does not respond to the valve opening request of the user terminal, the user terminal enters an offline operation mode;
[0045] Step 32, the user terminal establishes a Bluetooth communication connection with the water controller terminal; when the user terminal has not used the water controller terminal, the user terminal cannot establish a Bluetooth communication connection with the water controller terminal;
[0046] Step 33, based on the device code of the water controller terminal, the user terminal generates dynamic encryption information through the cached device authentication information of the water controller terminal corresponding to the device code;
[0047] Step 34, the user terminal simulates the service platform to send a valve opening instruction carrying dynamic encryption information to the water controller terminal;
[0048] Step 35, the water controller terminal receives the valve opening instruction, and decodes the valve opening instruction according to the locally stored code book. After the water controller terminal successfully decodes the instruction, the valve is opened for consumption.
[0049] In a possible implementation, the offline consumption situation includes: abnormalities in the business platform and the IOT platform, or upgrade and maintenance of the business platform and the IOT platform, or abnormalities in the user terminal network.
[0050] In a possible implementation, in the case of offline consumption, the user terminal cannot pass the authentication for the water controller terminal that has not been used, that is, the user terminal cannot establish Bluetooth communication with the water controller terminal.
[0051] In a possible implementation, when the offline consumption system of the water controller based on Bluetooth communication resumes normal online consumption, the water controller terminal uploads the consumption record to the business platform for deduction during online consumption.
[0052] Obviously, the embodiments described above are only some embodiments of the present invention, rather than all embodiments. The preferred embodiments of the present invention are given in the accompanying drawings, but they do not limit the patent scope of the present invention. The present invention can be implemented in many different forms. On the contrary, the purpose of providing these embodiments is to make the understanding of the disclosure of the present invention more thorough and comprehensive. Although the present invention has been described in detail with reference to the aforementioned embodiments, for those skilled in the art, it is still possible to modify the technical solutions recorded in the aforementioned specific embodiments, or to perform equivalent replacements for some of the technical features therein. Any equivalent structure made using the contents of the specification and drawings of the present invention, directly or indirectly used in other related technical fields, is also within the scope of patent protection of the present invention.
Claims
1. A water controller offline consumption system based on Bluetooth communication, characterized in that: It includes business platform, IOT platform, user terminal and water controller terminal; the business platform and IOT platform communicate through Ethernet to realize data interaction and command transmission; the IOT platform and user terminal are connected through wireless communication network to establish a long-distance communication channel; the user terminal and water controller terminal communicate through Bluetooth to realize short-range data interaction.
2. The water controller offline consumption system based on Bluetooth communication according to claim 1 is characterized in that: In the case of online consumption, the business platform sends the password book to the water controller terminal through the IOT platform and regularly updates the password book of the water controller terminal.
3. The water controller offline consumption system based on Bluetooth communication according to claim 1 is characterized in that: In the case of online consumption, the workflow of the business platform, IOT platform, user terminal, and water controller terminal is as follows: The user terminal initiates a valve opening request to the IOT platform through the wireless communication network, and the IOT platform forwards the valve opening request to the business platform; The business platform verifies the legitimacy of the user terminal account information. When the account information is determined to be legitimate, the business platform issues a valve opening instruction carrying dynamic encryption information; The valve opening command is sent to the water controller terminal via the IOT platform and user terminal; The water controller terminal receives the valve opening instruction, uses the local code book of the water controller terminal to decode the valve opening instruction, and then opens the valve for consumption.
4. The water controller offline consumption system based on Bluetooth communication according to claim 1 is characterized in that: In the case of online consumption, the business platform sends the password book to the user terminal through the IOT platform, and the user terminal stores the password book.
5. The water controller offline consumption system based on Bluetooth communication according to claim 1 is characterized in that: In the case of online consumption, the business platform sends the device authentication information of the water controller terminal that the user terminal has used to the user terminal through the IOT platform. The user terminal caches the device authentication information sent by the platform, where the device authentication information has an offline authentication validity period, which is controlled by business platform parameters.
6. The water controller offline consumption system based on Bluetooth communication according to claim 5 is characterized in that: In the case of offline consumption, after the offline authentication validity period exceeds the set offline usage time, the user terminal directly prompts that the offline time has exceeded the limit, and the user terminal cannot initiate the valve opening command.
7. The water controller offline consumption system based on Bluetooth communication according to claim 1 is characterized in that: In the case of offline consumption, the workflow of the business platform, IOT platform, user terminal, and water controller terminal is as follows: The user terminal initiates a valve opening request to the IOT platform through the wireless communication network. When the IOT platform does not respond to the valve opening request of the user terminal, the user terminal enters the offline operation mode; The user terminal establishes a Bluetooth communication connection with the water controller terminal; Based on the device code of the water controller terminal, the user terminal generates dynamic encryption information through the cached device authentication information of the water controller terminal corresponding to the device code; The user terminal simulates the business platform to send a valve opening instruction carrying dynamic encryption information to the water controller terminal; The water controller terminal receives the valve opening instruction, and decodes the valve opening instruction according to the locally stored code book. After the water controller terminal successfully decodes the instruction, the valve is opened for consumption.
8. The water controller offline consumption system based on Bluetooth communication according to any one of claims 6 or 7, characterized in that: Offline consumption situations include: abnormalities in the business platform or IOT platform, or upgrades and maintenance of the business platform and IOT platform, or abnormalities in the user terminal network.
9. The water controller offline consumption system based on Bluetooth communication according to claim 7, characterized in that: In the case of offline consumption, the user terminal cannot pass the authentication for the water controller terminal that has not been used, that is, the user terminal cannot establish Bluetooth communication with the water controller terminal.
10. The water controller offline consumption system based on Bluetooth communication according to any one of claims 7 to 8, characterized in that: When the offline consumption system of the water controller based on Bluetooth communication resumes normal online consumption, the water controller terminal uploads the consumption record to the business platform for deduction during online consumption.