CN109738044B - Internet of things water meter online supervision system and control method thereof - Google Patents

Internet of things water meter online supervision system and control method thereof Download PDF

Info

Publication number
CN109738044B
CN109738044B CN201910020668.5A CN201910020668A CN109738044B CN 109738044 B CN109738044 B CN 109738044B CN 201910020668 A CN201910020668 A CN 201910020668A CN 109738044 B CN109738044 B CN 109738044B
Authority
CN
China
Prior art keywords
water
module
communication module
server
water consumption
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910020668.5A
Other languages
Chinese (zh)
Other versions
CN109738044A (en
Inventor
苏健
蒙金霞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangxi Shangshan Ruoshui Development Co ltd
Original Assignee
Guangxi Shangshan Ruoshui Development Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangxi Shangshan Ruoshui Development Co ltd filed Critical Guangxi Shangshan Ruoshui Development Co ltd
Priority to CN201910020668.5A priority Critical patent/CN109738044B/en
Publication of CN109738044A publication Critical patent/CN109738044A/en
Application granted granted Critical
Publication of CN109738044B publication Critical patent/CN109738044B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses an Internet of things water meter online supervision system and a control method thereof, wherein the method comprises the following steps: the meter head outputs a pulse signal after detecting that a certain amount of water passes through the meter head, and a water consumption module of a control module coupled with the meter head counts a time; the clock module triggers the communication module I to send the water consumption recorded by the water consumption module to a server at intervals of a preset uploading time interval; after identifying the user account bound to the first communication module, the server updates the water consumption to the water consumption under the user account; after the server sends a water cut-off instruction to the first communication module, the control module conducts a motor to rotate forwards after receiving the water cut-off instruction, an output shaft of the motor is in transmission connection with a rotating shaft of a valve of the meter head through a gear set, and the valve of the meter head is closed under the driving of the motor; the invention has the advantages of on-line monitoring of water consumption, remote control of closing of the valve and reasonable system resource allocation.

Description

Internet of things water meter online supervision system and control method thereof
Technical Field
The invention relates to the technical field of metering, in particular to an Internet of things water meter online supervision system and a control method thereof.
Background
The water meter is a meter for measuring water flow, mostly for measuring the accumulated flow of water, and generally divided into a positive displacement water meter and a speed water meter, which originate from the united kingdom, the development of the water meter has a history of nearly two hundred years, when selecting the specification of the water meter, the size and the flow range of the used flow under the normal condition should be estimated first, and then the water meter with the specification of which the common flow is closest to the value is selected as the first choice. On this basis, in recent years, the technology of the internet of things in recent years is developed rapidly, and under the combination of the internet of things and the water meter, the intelligent water meter for remote meter reading is generated, the intelligent water meter counts the water consumption through the chip, and sends the numerical value to the background through the network, so that the remote meter reading is realized, and the great meter reading efficiency is improved.
Chinese patent with publication number CN108961738A discloses a water meter detection device of internet of things, which comprises: the Internet of things communication module is used for acquiring Internet of things water meter data stored in the cloud server; the MCU control module is used for comparing the data of the water meter of the Internet of things with a preset value and obtaining a comparison result; and the display module is used for displaying the data of the water meter of the Internet of things and the comparison result. The detection equipment for the Internet of things water meter provided by the invention can be used for conveniently detecting the data of the Internet of things water meter in the production process of the Internet of things water meter and judging whether the data are normal or not. The online detection of the water meter state is solved in the technical scheme, but in the practical application, management personnel and users are limited to field management for opening and closing the water valve, and time and labor are consumed. The workload associated with managing numerous water meters for a multi-slice area is greater.
Disclosure of Invention
Aiming at the defects in the prior art, the invention aims to provide a control method of an online monitoring system of an Internet of things water meter, which can be used for carrying out efficient monitoring, opening and closing management control on a managed water meter.
In order to achieve the purpose, the invention provides the following technical scheme:
a control method of an Internet of things water meter online supervision system comprises the following steps:
the meter head outputs a pulse signal after detecting that a certain amount of water passes through the meter head, and a water quantity module coupled with the meter head counts a number of times;
after every preset uploading time interval is reached, a clock module triggers a first communication module coupled with the water consumption module, and the water consumption recorded by the water consumption module is sent to a server through the first communication module;
after identifying the user account bound to the first communication module, the server updates the water consumption to the water consumption under the user account;
after the server sends a water stopping instruction to the first communication module, the first communication module transmits the received water stopping instruction to a control module coupled with the first communication module;
and the control module switches on a motor to rotate forwards after receiving the water cut-off instruction, an output shaft of the motor is in transmission connection with a rotating shaft of the valve of the gauge head through a gear set, and the valve of the gauge head is closed under the driving of the motor.
By adopting the technical scheme, the Internet of things of the water meter is realized, the water consumption recorded by the water meter can be timely synchronized to a cloud server, and the water consumption can be monitored on line; when a user does not pay water and wastes time based on the monitoring of the water consumption, a manager issues a water cut-off instruction through the server, the control module starts and stops the motor, the driving gear set drives the valve to be closed and closed in place, the remote water cut-off is realized, namely, the remote water cut-off control function is realized, the water valve can be accurately started and closed one by one, and the situation that the manager arrives at the site or turns off a layer of water in order to cut off the water as in the prior art is avoided;
secondly, the technical scheme is characterized in that the water consumption measured by the meter head is synchronized to the water consumption module in real time and stored, and is uploaded to the server at the background after a preset uploading time interval, so that the bandwidth and the calculation pressure of the server can be greatly reduced, because the server needs to receive the data transmitted by the water meters in real time and carry out the work of analysis, processing, storage, production sending of response instructions and the like under the data monitoring application scene of hundreds of thousands of even more water meters in a large area, the pressure of all aspects is very large, the bandwidth and the calculation amount of the server can be greatly saved by uploading the data by the timing water meter under the condition that the water consumption does not need to be frequently monitored, the water meter is powered by a battery, and a part of the electricity can be saved by the timing trigger design of the clock module, the effect of prolonging the service time of the power supply is achieved, so that the whole system is subjected to coordination optimization.
Further, after the server updates the water consumption sent by the communication module to the water consumption under the user account, the method further comprises:
and detecting the payment state of the user account, and automatically sending the water stopping instruction to the first communication module after detecting that the user state is in an arrearage state.
Through adopting above-mentioned technical scheme, trigger a series of instruction through the information of the water consumption that receives communication module and send and detect, for example the payment state under this user account number of the internal storage of detection server above, if be in the arrearage state, can autonomy discern then send the instruction of cutting off the water supply, reach long-range automatic water management and control, it is more intelligent, make administrator's administrative work more convenient, reduce some repetitive work, improve work efficiency.
Further, after the server sends a water starting instruction to the first communication module, the first communication module transmits the received water starting instruction to the control module;
and after receiving the water starting instruction, the control module switches on the motor to rotate reversely, an output shaft of the motor is in transmission connection with a rotating shaft of the valve of the gauge head through a gear set, and the valve of the gauge head is opened under the driving of the motor.
By adopting the technical scheme, the opening of the remote water valve is realized, after the user defaults to be closed by the server to remove the valve, the administrator can remotely open the water valve after corresponding payment is finished, and no manual valve is left on the valve on site, so that the user can not open the water valve by himself, accurate authority management is realized, and the water valve is opened after payment.
Further, the method further comprises:
the frequency conversion module is coupled with the clock module, the communication module I and the water consumption module, and after the frequency conversion module receives a frequency modulation instruction sent by the server through the communication module I, the preset uploading time interval of the uploading water consumption of the communication module I triggered by the clock module at regular time is adjusted to an interval specified by the frequency modulation instruction;
when the frequency conversion module detects that the added value of the water consumption recorded by the water consumption module in unit time exceeds a preset upper limit threshold value, the preset uploading time interval of the uploading water consumption of the communication module I triggered by the clock module at regular time is rewritten from a first interval to a second interval with shorter time interval;
and when the frequency conversion module detects that the added value of the water consumption recorded by the water consumption module in unit time is lower than a preset lower limit threshold value, the clock module regularly triggers a preset uploading time interval of the water consumption uploaded by the communication module I to be rewritten from an interval two to an interval one with a longer time interval.
By adopting the technical scheme, in factory setting and subsequent maintenance, the server can remotely send a frequency modulation instruction to the frequency conversion module and change the frequency of the communication module for sending water consumption at a certain time, so that a good balance adjusting window is formed between water consumption detection and energy conservation, and when corresponding adjusting requirements exist, the sending frequency can be conveniently modified;
on the other hand, in order to save energy and measure the water consumption more accurately, daily water is not used all the time, and some time is vacant, for example, in the late night. When the water is not used, the water consumption change is small, the data of the water consumption are not uploaded at high frequency, the trigger frequency of the clock module is adjusted to the interval I with longer interval time by the frequency conversion module, so that the frequency of sending the water consumption to the server by the communication module is lower, the energy-saving effect is achieved, the bandwidth and the calculation pressure of the server are reduced in key, and the resources are saved; when a large amount of water is used, the change of the water consumption is quick in a short time, the data needs to be updated more timely, the water consumption mode of some pre-charging modes is important, more accurate charging is needed, through the arrangement, the frequency conversion module can be triggered to switch the clock module timely to be the preset uploading time interval with the interval of two to trigger the communication module to upload and update data more timely, meanwhile, the resources of the server are more effectively utilized, excessive waste is not caused, compared with the prior art, the method has great improvement and change, the hardware performance of the server is increased singly without defects along with the increase of users and water meters, and the defects are amplified for a large amount of user groups, and the optimization and extension in the aspect of the technical scheme are needed.
Further, the method further comprises:
the server stores the valve opening and closing states of the meter heads corresponding to the user accounts and the instruction sending records of the server;
after the server sends a water cut-off instruction to the first communication module, the opening and closing state of the valve is changed into a closing state;
after the server sends a water starting instruction to the communication module, the opening and closing state of the valve is changed into an opening state;
a user terminal logs in a server through a communication module II of the server by using a user account of the user terminal, and then reads the opening and closing state and the water consumption of a valve stored in the server in real time;
when the water consumption increment under the corresponding user account in unit time exceeds a preset early warning threshold value, the server sends excessive water consumption early warning information to the user terminal through the communication module;
when the user terminal sends a valve closing instruction to the communication module II of the server, the server sends a water stopping instruction to the communication module I;
when the user terminal sends a valve opening instruction to the communication module II of the server, the server retrieves the instruction sending record of the header corresponding to the user account,
when the latest instruction sending record is not the water stopping instruction sent by the server, the server sends a water starting instruction to the communication module,
when the latest instruction sending record is the water stopping instruction sent by the server, the server sends a water stopping notification to the user terminal.
By adopting the technical scheme, the server can know the user state of the water meter in real time by monitoring the water consumption data sent by the water meter in real time, an early warning threshold value can be preset, after the water consumption exceeds the early warning threshold value in unit time, the situation that a tap is probably forgotten to be turned off or a water pipe is broken occurs possibly, the user terminal can conveniently know the water using near condition and the valve opening and closing state of the water meter by logging in the server by sending the excessive water consumption early warning information to the user terminal, the user terminal can turn a water stopping instruction to the water meter by the server by sending a valve closing instruction to the server, and the water valve is turned off in time, so that the functions of reminding and remotely closing the valve to stop water in emergency are achieved; when the water valve needs to be opened again, a valve opening instruction is sent to the server through the user terminal, and a water starting instruction can be started in the relay of the server to realize remote opening; in the step of opening the valve, if the user terminal wants to open the valve, if it is detected that the latest instruction sending record is a valve closing instruction sent by the server independently, the corresponding instruction is the water cut-off operation of the management party, and the user cannot open the valve by himself, which is a limitation on the authority, and generally, after the user finishes paying the water fee, the management party opens the water valve again. In addition, the user can also carry out valve on-off control on the water meter through the user terminal in daily life, and great convenience is brought to water consumption management.
Aiming at the defects in the prior art, the invention aims to provide the online monitoring system for the water meters of the Internet of things, which can be used for carrying out efficient monitoring, opening and closing management control on the managed water meters.
In order to achieve the purpose, the invention provides the following technical scheme:
the utility model provides an online supervisory systems of thing networking water gauge, includes water gauge and server, the water gauge includes:
the meter head is provided with a water flow signal output end, and the water flow signal output end outputs a pulse signal after a certain amount of water passes through the meter head;
the water consumption module is coupled with the water flow signal output end and used for receiving the pulse signal output by the water consumption module, and the water consumption module counts one time when receiving the pulse signal;
the first communication module is coupled with the water consumption module and establishes bidirectional communication connection with the server;
the clock module is coupled with the first communication module, the first communication module coupled with the clock module is triggered after a preset uploading time interval is reached, the water consumption recorded by the water consumption module is sent to the server through the first communication module, and the server updates the water consumption to the water consumption under the user account after recognizing the user account bound by the first communication module;
the valve is arranged in the water flow channel of the gauge head;
the gear set is in transmission connection with a rotating shaft of a valve of the gauge head;
the motor is in transmission connection with the gear set and is used for driving the valve of the gauge head to rotate through the driving gear set;
and the control module is coupled with the first communication module, when the server sends a water stopping instruction to the first communication module, the first communication module transmits the received water stopping instruction to the control module, the control module switches on the motor to rotate positively after receiving the water stopping instruction, and the output shaft of the motor drives the gear set to drive the rotating shaft of the valve to rotate so as to close the valve of the meter head.
By adopting the technical scheme, the Internet of things of the water meter is realized, the water consumption recorded by the water meter can be timely synchronized to a cloud server, and the water consumption can be monitored on line; when a user does not pay water and wastes time based on the monitoring of the water consumption, a manager issues a water stopping instruction through the server, and the control module starts and stops the motor, so that the driving gear set drives the valve to be closed and closed in place, the remote water stopping, namely the remote closing control function is realized, and the on-off of a certain water valve can be accurately controlled in a one-to-one mode;
secondly, the water consumption measured by the meter head is synchronized in real time to the water consumption module to be stored, and is uploaded to a server at a background after a preset uploading time interval, so that the bandwidth and the calculation pressure of the server can be greatly reduced, the water meter is also powered by a battery, part of power consumption can be saved through the timing trigger design of the clock module, the service time of a power supply is prolonged, and the whole system is coordinately optimized.
Further, the server includes:
the storage module is used for storing user data corresponding to each user account and including water consumption and payment states;
the communication module II is in communication connection with the communication module I of the water meter;
the processing module is coupled with the storage module and the communication module II, after the communication module II receives the water consumption sent by the communication module I, the processing module updates the water consumption to the water consumption stored in the storage module under the user account after identifying the user account bound with the communication module I, then detects the payment state of the user account, and when the user state is detected to be in a defaulting state, the processing module automatically controls the communication module II to automatically send the water stopping instruction to the communication module I.
Through adopting above-mentioned technical scheme, trigger a series of instruction through the information of the water consumption that receives communication module and send and detect, for example the payment state under this user account number of the internal storage of detection server above, if be in the arrearage state, can autonomy discern then send the instruction of cutting off the water supply, reach long-range automatic water management and control, it is more intelligent, make administrator's administrative work more convenient, reduce some repetitive work, improve work efficiency.
Further, the server includes:
the storage module is used for storing user data corresponding to each user account and including water consumption and payment states;
the communication module II is in communication connection with the communication module I of the water meter;
a processing module coupled to the storage module and the communication module,
after a processing module of the server controls a communication module to send a water starting instruction to a communication module I, the communication module I transmits the received water starting instruction to the control module;
and after receiving the water starting instruction, the control module switches on the motor to rotate reversely, an output shaft of the motor is in transmission connection with a rotating shaft of the valve of the gauge head through a gear set, and the valve of the gauge head is opened under the driving of the motor.
By adopting the technical scheme, the opening of the remote water valve is realized, after the user defaults to be closed by the server to remove the valve, the administrator can remotely open the water valve after corresponding payment is finished, and no manual valve is left on the valve on site, so that the user can not open the water valve by himself, accurate authority management is realized, and the water valve is opened after payment.
Furthermore, the device also comprises a frequency conversion module coupled with the clock module;
the first communication module is coupled with the frequency conversion module, and after the frequency conversion module receives a frequency modulation instruction sent by the server through the first communication module, the preset uploading time interval of the uploading water consumption of the first communication module triggered by the clock module at regular time is adjusted to an interval specified by the frequency modulation instruction;
the communication module I is coupled with the water consumption module, and when the frequency conversion module detects that the added value of the water consumption recorded by the water consumption module in unit time exceeds a preset upper limit threshold value, the clock module regularly triggers a preset uploading time interval of the water consumption uploaded by the communication module I to be rewritten from a first interval to a second interval with shorter time interval;
and when the frequency conversion module detects that the added value of the water consumption recorded by the water consumption module in unit time is lower than a preset lower limit threshold value, the clock module regularly triggers a preset uploading time interval of the water consumption uploaded by the communication module I to be rewritten from an interval two to an interval one with a longer time interval.
By adopting the technical scheme, in factory setting and subsequent maintenance, the server can remotely send a frequency modulation instruction to the frequency conversion module and change the frequency of the communication module for sending water consumption at a certain time, so that a good balance adjusting window is formed between water consumption detection and energy conservation, and when corresponding adjusting requirements exist, the sending frequency can be conveniently modified;
on the other hand, the water consumption is measured for energy conservation and more accurate measurement. When the water is not used much, the frequency conversion module adjusts the trigger frequency of the clock module to the interval I with longer interval time, so that the frequency of sending the water consumption to the server by the communication module is lower, the energy-saving effect is achieved, the bandwidth and the calculation pressure of the server are reduced, and the resources are saved; when a large amount of water is used, the change of the water consumption is quick in a short time, the data needs to be updated more timely, the frequency conversion module is triggered to switch the clock module to be the preset uploading time interval of the interval two in time to trigger the communication module to upload and update the data more timely, and the hardware performance of the server is increased endlessly and singly along with the increase of users and water meters. The resource allocation is more reasonable.
Further, the system also comprises a user terminal in communication connection with the communication module two-phase of the server;
the storage module of the server stores the valve opening and closing state of the gauge outfit corresponding to each user account and the instruction sending record of the server;
after a processing module of the server controls the communication module to send a water stopping instruction to the first communication module, the processing module changes the opening and closing state of a valve stored in the storage module corresponding to the user account into a closing state;
after a processing module of the server controls the communication module to send a water starting instruction to the communication module, the processing module changes the opening and closing state of a valve stored in the storage module corresponding to the user account into an opening state;
after the user terminal logs in the server by using the user account, the opening and closing state and the water consumption of the valve stored in the storage module are read in real time through a communication module II in communication connection with the user terminal;
when the water consumption increment under the corresponding user account in unit time exceeds a preset early warning threshold value, the server sends excessive water consumption early warning information to the user terminal through the communication module;
when the user terminal sends a valve closing instruction to the communication module II of the server, the server sends a water stopping instruction to the communication module I;
when the user terminal sends a valve opening instruction to the communication module II of the server, the processing module searches an instruction sending record of a header corresponding to the user account in the storage module,
when the latest instruction sending record is not the water stopping instruction sent by the server, the server sends a water starting instruction to the communication module,
when the latest instruction sending record is the water stopping instruction sent by the server, the server sends a water stopping notification to the user terminal.
By adopting the technical scheme, after the water consumption exceeds the early warning threshold value in unit time, the situation that a tap is forgotten to be turned off or a water pipe is broken possibly occurs, the user terminal can conveniently know the water using near condition and the valve opening and closing state of the water meter by logging in the server by sending the excessive water warning information to the user terminal, the user terminal can turn a water stopping instruction to the water meter through the server by sending the valve closing instruction to the server, and the water valve is turned off in time, so that the reminding and remote valve closing and water stopping effects under the emergency situation are achieved; when the water valve needs to be opened again, a valve opening instruction is sent to the server through the user terminal, and a water starting instruction can be started in the relay of the server to realize remote opening; in the step of opening the valve, if the user terminal wants to open the valve, if it is detected that the latest instruction sending record is a valve closing instruction sent by the server independently, the corresponding instruction is the water cut-off operation of the management party, and the user cannot open the valve by himself, which is a limitation on the authority, and generally, after the user finishes paying the water fee, the management party opens the water valve again.
Compared with the prior art, the invention has the advantages that:
(1) the Internet of things of the water meter is realized, the water consumption recorded by the water meter can be synchronized to a cloud server in time, and the water consumption can be monitored on line;
(2) when a user does not pay water and wastes time based on the monitoring of the water consumption, a manager issues a water cut-off instruction through the server, the control module opens and closes the motor, the driving gear set drives the valve to be closed and closed in place, and the remote water cut-off function, namely the remote control function, is realized;
(3) the water consumption measured by the meter head is synchronized to the water consumption module in real time and stored, and is uploaded to the server at the background after a preset uploading time interval, so that the bandwidth and the calculation pressure of the server can be greatly reduced, the water meter is also powered by a battery, and a part of power consumption can be saved through the timing trigger design of the clock module, so that the service life of the power supply is prolonged.
Drawings
Fig. 1 is a schematic view of an internet of things water meter online supervision system according to a first embodiment;
fig. 2a is a schematic structural diagram of the water meter in the embodiment, which shows the structure in the circuit box body;
FIG. 2b is a schematic view of the water meter of FIG. 2a with the gear box, gear set and motor removed;
FIG. 3a is a schematic view of the connection structure of the motor, the gear box, the rotating shaft and the valve in the embodiment;
FIG. 3b is a schematic view of the gear box of FIG. 3a with the gear box removed;
fig. 4 is a schematic step diagram of a control method of the online monitoring system for the water meters of the internet of things in the second embodiment;
fig. 5 is a schematic step diagram of a control method of the internet of things water meter online monitoring system in the third embodiment.
Reference numerals: 1. a water meter; 2. a server; 3. a user terminal; 4. a gauge head; 5. a water usage module; 6. a first communication module; 7. a clock module; 8. a frequency conversion module; 9. a valve; 10. a gear set; 11. a motor; 12. a control module; 13. a circuit box body; 14. mounting holes; 15. a rotating shaft; 16. an initial gear; 17. an intermediate gear; 18. a transmission gear; 19. a rotating shaft; 20. a card interface; 21. clamping the convex block; 22. a storage module; 23. a second communication module; 24. a processing module; 25. a gear box.
Detailed Description
The invention is described in detail below with reference to the figures and examples.
It is to be understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or any combination thereof. For a hardware implementation, the processor may be implemented within: one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), processors, controllers, micro-controllers, microprocessors, other electronic units designed to perform the functions described herein, or a combination thereof.
When the embodiments are implemented in software, firmware, middleware or microcode, program code or code segments, they can be stored in a machine-readable medium, such as a storage component. A code segment may represent a procedure, a function, a subprogram, a program, a routine, a subroutine, a module, a software package, a class, or any combination of instructions, data structures, or program statements. A code segment may be coupled to another code segment or a hardware circuit by passing and/or receiving information, data, arguments, parameters, or memory contents. Information, arguments, parameters, data, etc. may be passed, forwarded, or transmitted using any suitable means including memory sharing, message passing, token passing, network transmission, etc.
For a software implementation, the techniques described herein may be implemented with modules (e.g., procedures, functions, and so on) that perform the functions described herein. The software codes may be stored in memory units and executed by processors. The memory unit may be implemented within the processor or external to the processor, in which case it can be communicatively coupled to the processor via various means as is known in the art.
In a first embodiment, as shown in fig. 1, an internet of things water meter online monitoring system includes a water meter 1, a server 2, and a user terminal 3. The water meter 1 and the user terminal 3 are not limited to one, and may be a plurality of user water meters 1 in an urban area, and the user terminal 3 is used by a corresponding user. The user terminal 3 may be a smart phone, a tablet computer or a PC terminal with networking function. The user terminal 3 is in communication connection with the server 2 and is used for terminal equipment used by a user to check the water consumption stored in the server 2 and the state of the water meter 1 in real time. A plurality of water meters 1 in the area to which the water meters belong are managed simultaneously through a server 2, and the server 2 responds to the request of a user terminal 3 in real time.
The water meter 1 includes:
the meter head 4 is provided with a water flow signal output end, and the water flow signal output end outputs a pulse signal after a certain amount of water is detected to pass through the meter head 4;
the water consumption module 5 is coupled with the water flow signal output end and used for receiving the pulse signal output by the water consumption module 5, and the number of times is recorded when the water consumption module 5 receives the pulse signal every time;
the first communication module 6 is coupled with the water consumption module 5 and establishes a bidirectional communication connection with the server 2;
the clock module 7 is coupled with the communication module I6, the communication module I6 coupled with the clock module I is triggered after a preset uploading time interval is reached, the water consumption recorded by the water consumption module 5 is sent to the server 2 through the communication module I6, and the server 2 updates the water consumption to the water consumption under the user account after identifying the user account bound to the communication module I6;
the frequency conversion module 8 is coupled with the clock module 7, the water consumption module 5 and the communication module I6 and is used for adjusting the preset uploading time interval of the clock module 7 in real time according to the water consumption recorded by the water consumption module 5 and the frequency modulation instruction sent by the server 2;
the valve 9 is arranged in the water flow channel of the gauge head 4;
the gear set 10 is in transmission connection with a rotating shaft 15 of the valve 9 of the gauge head 4;
the motor 11 is in transmission connection with the gear set 10 and is used for driving the valve 9 of the gauge outfit 4 to rotate through the driving gear set 10;
the control module 12 is coupled with the first communication module 6, when the server 2 sends a water stopping instruction to the first communication module 6, the first communication module 6 transmits the received water stopping instruction to the control module 12, the control module 12 switches on the motor 11 to rotate forward after receiving the water stopping instruction, and the output shaft of the motor 11 drives the gear set 10 to drive the rotating shaft 15 of the valve 9 to rotate, so that the valve 9 of the meter head 4 is closed.
The water consumption module 5, the frequency conversion module 8 and the control module 12 can be integrated on the same chip. The chips of the water consumption module 5, the frequency conversion module 8 and the control module 12 can adopt a sleep awakening mode, and the first communication module 6 adopts a card number built-in mode and is powered by a lithium battery.
The meter head 4 comprises a starting circuit and a trigger circuit, when the counter rotates to a preset position, magnetic lines of force of a magnet embedded on the mechanical meter body counter penetrate through a mechanical meter body shell, a magnetic switch is connected with the starting circuit and the trigger circuit, after the starting circuit checks the magnetic lines of force, a trigger level is generated, and the trigger circuit outputs a pulse signal to the water consumption module 5 to realize information transmission.
As shown in fig. 2a, 2b and 3a, a circuit case 13 is fixed to the head 4, and the gear set 10 and the motor 11 are installed in the circuit case 13. The bottom of the circuit box body 13 is provided with a mounting hole 14, and the upper end of a rotating shaft 15 of the valve 9 is transmitted into the circuit box body 13 from the mounting hole 14. The gear set 10 is composed of an initial gear 16, a plurality of intermediate gears 17 and a transmission gear 18 which are sequentially meshed, the initial gear 16 is fixed on an output shaft of a motor 11, the motor 11 is fixed on a gear box 25, the gear set 10 is installed in the gear box 25, and each intermediate gear 17 and the transmission gear 18 are rotatably fixed between the upper wall and the lower wall of the gear box 25 through a rotating shaft 19. The top of the rotating shaft 15 of the valve 9 is provided with a clamping interface 20, and the bottom surface of the transmission gear 18 is provided with a clamping convex block 21 which is in clamping transmission with the clamping interface 20.
As shown in fig. 3a and fig. 3b, when the motor 11 starts to rotate forward, the initial gear 16 on the output shaft of the motor 11 drives the intermediate gear 17 and the transmission gear 18, which are engaged in sequence, to rotate, and the transmission gear 18 also drives the rotating shaft 15 of the valve 9 to rotate at the same time, after the rotating shaft 15 of the valve 9 rotates 90 degrees, the motor 11 stops, and the valve 9 is closed. When the motor 11 starts to rotate reversely, the initial gear 16 on the output shaft of the motor 11 drives the intermediate gear 17 and the transmission gear 18 which are meshed in sequence to rotate, the transmission gear 18 simultaneously drives the rotating shaft 15 of the valve 9 to rotate back, and after the rotating shaft 15 of the valve 9 rotates 90 degrees and returns to the initial position, the motor 11 stops, and the valve 9 is opened.
As shown in fig. 1, the server 2 includes:
the storage module 22 is used for storing user data corresponding to each user account, including water consumption and payment states;
the second communication module 23 is in communication connection with the first communication modules 6 of the water meters 1;
and the processing module 24 is coupled with the storage module 22 and the second communication module 23.
After the communication module II 23 receives the water consumption sent by the communication module I6, the processing module 24 updates the water consumption to the water consumption stored in the storage module 22 under the user account after identifying the user account bound to the communication module I6, then detects the payment state of the user account, and when the user state is detected to be in the arrearage state, the processing module 24 automatically controls the communication module II 23 to automatically send the water stop instruction to the communication module I6.
After the processing module 24 of the server 2 controls the second communication module 23 to send a water starting instruction to the first communication module 6, the first communication module 6 transmits the received water starting instruction to the control module 12;
after receiving the water starting instruction, the control module 12 switches on the motor 11 to rotate reversely, an output shaft of the motor 11 is in transmission connection with a rotating shaft 15 of the valve 9 of the gauge outfit 4 through a gear set 10, and the valve 9 of the gauge outfit 4 is opened under the driving of the motor 11.
Through the information of the water consumption that receives communication module 6 and send triggering a series of instruction detection, for example the payment state under this user account number of storage in detection server 2 above, if be in the arrearage state, can independently discern then send the instruction of cutting off the water supply, close gauge outfit 4's valve 9, reach long-range automatic water management and control. After the user finishes the corresponding payment of the water fee, the manager issues a water starting instruction to the water meter 1 through the server 2, and then opens the valve 9 of the water meter 1 corresponding to the user account. The administrator can open the water valve remotely. The manual valve 9 is not left on the valve 9, so that a user cannot open the manual valve by himself, accurate authority management is realized, and the manual valve is opened after payment.
Based on the scheme, the Internet of things of the water meter 1 can be realized, the water consumption recorded by the water meter 1 can be timely synchronized to the cloud server 2, and the water consumption can be monitored on line; when a user does not pay water and wastes time based on the monitoring of the water consumption, a manager issues a water cut-off instruction through the server 2, and the control module 12 opens and closes the motor 11, so that the driving gear set 10 drives the valve 9 to be closed and closed in place, the remote water cut-off function is realized, namely, the remote switch control function is realized, and one-to-one accurate opening and closing of a certain water valve can be realized;
secondly, the water consumption measured by the meter head 4 is synchronized in real time to the water consumption module 5 to be stored, and is uploaded to the server 2 at the background after a preset uploading time interval, so that the bandwidth and the calculation pressure of the server 2 can be greatly reduced, the water meter 1 is also powered by a battery, part of the power consumption can be saved through the timing trigger design of the clock module 7, the service time of a power supply is prolonged, and the whole system is coordinately optimized.
When the water meter 1 is started for the first time, the preset uploading time interval for sending the water consumption by the first clock module 7 and the first communication module 6 needs to be set at regular time. And sending a frequency modulation instruction to a first communication module 6 of the water meter 1 through the server 2. After the frequency conversion module 8 receives the frequency modulation instruction sent by the server 2 through the first communication module 6, the preset uploading time interval of the uploading water consumption of the first communication module 6 is triggered by the clock module 7 at regular time and is adjusted to the interval specified by the frequency modulation instruction. Subsequently, when the water meter 1 runs, the water meter can be triggered once every preset uploading time interval, the communication module I6 reads the water consumption in the water consumption module 5, and the water consumption in the water consumption module 5 is transmitted to the server 2.
In addition, in subsequent operation and maintenance, a good balance adjusting window is arranged between the detection timeliness and the energy conservation of the water consumption, when adjustment is needed, the server 2 can remotely send a frequency modulation instruction to the frequency conversion module 8, the frequency of the communication module I6 for sending the water consumption at fixed time is changed, and when corresponding adjustment requirements exist, the sending frequency can be conveniently modified. And the interval I and the interval II below can also be transmitted through the server 2 to issue an instruction and the communication module I6 to finish the issuing of a modification instruction, so that the adjustment and the modification in the later period can be realized.
When the frequency conversion module 8 detects that the added value of the water consumption recorded by the water consumption module 5 in unit time exceeds a preset upper limit threshold value, the clock module 7 regularly triggers the preset uploading time interval of the water consumption of the communication module I6 to be rewritten from a first interval to a second interval with shorter time interval;
when the frequency conversion module 8 detects that the added value of the water consumption recorded by the water consumption module 5 in unit time is lower than a preset lower limit threshold value, the clock module 7 regularly triggers the preset uploading time interval of the water consumption uploaded by the communication module I6 to be rewritten from the interval two to the interval I with a longer time interval.
In order to save energy and measure water consumption more accurately. When the water is not used much, the frequency conversion module 8 adjusts the trigger frequency of the clock module 7 to the interval I with longer interval time, so that the frequency of sending the water consumption to the server 2 by the communication module I6 is lower, the energy-saving effect is achieved, the bandwidth and the calculation pressure of the server 2 are reduced, and the resources are saved; when a large amount of water is used, the change of the water consumption is quick in a short time, the data needs to be updated more timely, the frequency conversion module 8 is triggered to switch the clock module 7 to be the preset uploading time interval of the interval two in time to trigger the communication module I6 to upload and update the data more timely, and the hardware performance of the server 2 is increased endlessly and singly along with the increase of users and the water meters 1 in the past. The resource allocation is more reasonable.
The storage module 22 of the server 2 stores the opening and closing states of the valve 9 of the header 4 corresponding to each user account and the instruction sending record of the server 2;
after the processing module 24 of the server 2 controls the communication module II 23 to send a water stopping instruction to the communication module I6, the processing module 24 changes the opening and closing state of the valve 9 stored in the storage module 22 corresponding to the user account number into a closing state;
after the processing module 24 of the server 2 controls the communication module II 23 to send a water starting instruction to the communication module I6, the processing module 24 changes the opening and closing state of the valve 9 stored in the storage module 22 corresponding to the user account number into an opening state;
after the user terminal 3 logs in the server 2 by using the user account, the opening and closing state and the water consumption of the valve 9 stored in the storage module 22 are read in real time through the communication module II 23 in communication connection with the user terminal;
when the water consumption increment under the corresponding user account in unit time exceeds a preset early warning threshold value, the server 2 sends an excessive water consumption early warning message to the user terminal 3 through the second communication module 23;
when the user terminal 3 sends a valve closing instruction to the second communication module 23 of the server 2, the server 2 sends a water stopping instruction to the first communication module 6;
when the user terminal 3 sends a valve opening instruction to the second communication module 23 of the server 2, the processing module 24 searches the storage module 22 for an instruction sending record of the header 4 corresponding to the user account,
when the latest instruction sending record is not the water stopping instruction sent by the server 2, the server 2 sends a water starting instruction to the communication module I6,
when the latest instruction transmission record is the water-stopping instruction transmitted by the server 2 itself, the server 2 transmits a water-stopping notification to the user terminal 3.
The above-mentioned interactive scheme between the user terminal 3 and the server 2 is to deal with the anticipation of emergency situations and the modification and innovation of the user's daily convenient operation. After the water consumption exceeds the early warning threshold value in unit time, the situation that a tap is probably forgotten to be turned off or a water pipe is broken possibly occurs, the user terminal 3 can conveniently know the water using close condition and the valve opening and closing state of the water meter 1 by logging in the server 2 by sending the excessive water warning information to the user terminal 3, the user terminal 3 can transmit a valve closing instruction to the server 2 and then turn a water stopping instruction to the water meter 1 through the server 2, and the water valve is turned off in time, so that the functions of reminding and remotely closing the valve to stop water in the emergency situation are achieved; when the water valve needs to be opened again, a valve opening instruction is sent to the server 2 through the user terminal 3, and then the water instruction can be started in the direction of the server 2, so that remote opening is realized; in the step of opening the valve, if the user terminal 3 detects that the latest instruction sending record is a valve closing instruction sent by the server 2 independently, the water cut-off operation of the management party is corresponded, and the user cannot open the valve by himself, which is a limitation on the authority, and generally, after the user finishes paying the water fee, the management party opens the water valve again.
In a second embodiment, as shown in fig. 1 and 4, a control method of an internet of things water meter online monitoring system in the first embodiment includes a method for collecting water consumption of a water meter 1 in a management area, specifically:
step S1, when the water meter 1 is started for the first time and later-stage operation and maintenance are performed, initial setting is performed, a frequency modulation instruction is sent to a first communication module 6 of the water meter 1 through the server 2, the first communication module 6 sends the received frequency modulation instruction to a frequency conversion module 8, and the frequency conversion module 8 adjusts a preset uploading time interval to an interval specified by the frequency modulation instruction;
step S2, the meter head 4 outputs a pulse signal after detecting a certain amount of water passing through the meter head 4, and a water quantity module 5 coupled with the pulse signal records a number of times;
step S3, after the preset uploading time interval is reached, the clock module 7 triggers the communication module I6 to read the water consumption recorded by the water consumption module 5, and the water consumption recorded by the water consumption module 5 is sent to the server 2 through the communication module I6;
step S4, after identifying the user account bound to the first communication module 6, the server 2 updates the water consumption to the water consumption under the user account;
step S5, after the server 2 updates the water consumption sent by the first communication module 6 to the water consumption under a user account, the processing module 24 of the server 2 detects the payment state of the user account in the storage module 22, when the user state is detected to be in an arrearage state, the processing module 24 automatically sends a water stopping instruction to the first communication module 6 of the water meter 1 corresponding to the user account through the second communication module 23, and simultaneously, the processing module 24 changes the opening and closing state of the valve 9 under the user account in the storage module 22 into a closing state;
step S6, after the communication module i 6 of the water meter 1 corresponding to the user account receives the water cut-off instruction, transmitting the received water cut-off instruction to the control module 12 coupled to the communication module i;
step S7, after receiving a water cut-off instruction, the control module 12 switches on the motor 11 to rotate forward, the output shaft of the motor 11 is in transmission connection with the rotating shaft 15 of the valve 9 of the gauge outfit 4 through the gear set 10, and the valve 9 of the gauge outfit 4 is closed under the driving of the motor 11;
step S8, after the user pays a fee, the manager may send a water starting instruction to the water meter 1 corresponding to the user account through the server 2, the communication module i 6 of the user water meter 1 transmits the received water starting instruction to the control module 12, and the processing module 24 changes the open/close state of the valve 9 under the user account in the storage module 22 to the open state;
in step S9, after receiving the water starting instruction, the control module 12 turns on the motor 11 to rotate reversely, and the output shaft of the motor 11 is in transmission connection with the rotating shaft 15 of the valve 9 of the meter head 4 through the gear set 10, and the valve 9 of the meter head 4 is opened under the driving of the motor 11. Thereby restoring water to the user.
The remote water valve opening is realized, after the user defaults to be closed by the server 2 to remove the valve 9, and corresponding payment is completed, the administrator can remotely open the water valve, and no manual valve 9 is left on the valve 9 on site, so that the user can not open the water valve by himself, accurate authority management is realized, and the water valve is opened after payment.
In a third embodiment, as shown in fig. 1 and 5, a control method of an internet of things water meter online monitoring system according to the first embodiment includes a method for collecting water consumption of a water meter 1 in a management area, specifically:
step G1, when the water meter 1 is started for the first time and later-stage operation and maintenance are performed, initial setting is performed, a frequency modulation instruction is sent to a first communication module 6 of the water meter 1 through the server 2, the first communication module 6 sends the received frequency modulation instruction to a frequency conversion module 8, the frequency conversion module 8 adjusts a preset uploading time interval to an interval specified by the frequency modulation instruction, the interval is specifically configured to be a first interval and a second interval specified by the frequency modulation instruction, and the value of the preset uploading time interval is switched between the first interval and the second interval with shorter time interval;
g2, outputting a pulse signal after the meter head 4 detects that a certain amount of water passes through the meter head 4, and recording a number of times by a water quantity module 5 coupled with the pulse signal;
step G3a, when the frequency conversion module 8 detects that the added value of the water consumption recorded by the water consumption module 5 in unit time exceeds a preset upper limit threshold value, the clock module 7 regularly triggers the preset uploading time interval of the water consumption uploaded by the communication module I6 to be rewritten from a first interval to a second interval with shorter time interval;
step G3b, when the frequency conversion module 8 detects that the added value of the water consumption recorded by the water consumption module 5 in unit time is lower than a preset lower threshold, the clock module 7 regularly triggers the preset uploading time interval of the water consumption uploaded by the communication module I6 to be rewritten from the interval II to the interval I with longer time interval;
g4, after the preset uploading time interval is reached, the clock module 7 triggers the communication module I6 to read the water consumption recorded by the water consumption module 5, and the water consumption recorded by the water consumption module 5 is sent to the server 2 through the communication module I6;
and G5, after identifying the user account bound to the first communication module 6, the server 2 updates the water consumption to the water consumption under the user account.
The storage module 22 of the server 2 stores the opening and closing states of the valve 9 of the header 4 corresponding to each user account and the instruction sending record of the server 2.
The method also comprises a control method for starting and stopping the water valve of the user in the management area, which specifically comprises the following steps:
after the server 2 updates the water consumption sent by the first communication module 6 to the water consumption under a user account every time, the processing module 24 of the server 2 detects the payment state of the user account in the storage module 22, and when the user state is detected to be in an arrearage state, the processing module 24 automatically sends a water stopping instruction to the first communication module 6 of the water meter 1 corresponding to the user account through the second communication module 23, and simultaneously, the processing module 24 changes the opening and closing state of the valve 9 under the user account in the storage module 22 into a closing state;
after a communication module I6 of the water meter 1 corresponding to the user account receives a water cut-off instruction, transmitting the received water cut-off instruction to a control module 12 coupled with the communication module I;
after receiving a water cut-off instruction, the control module 12 switches on the motor 11 to rotate forward, an output shaft of the motor 11 is in transmission connection with a rotating shaft 15 of the valve 9 of the gauge outfit 4 through the gear set 10, and the valve 9 of the gauge outfit 4 is closed under the driving of the motor 11;
after the user pays a fee, a manager can send a water starting instruction to the water meter 1 corresponding to the user account through the server 2, a communication module I6 of the user water meter 1 transmits the received water starting instruction to the control module 12, and meanwhile, the processing module 24 changes the opening and closing state of the valve 9 under the user account in the storage module 22 into an opening state;
after receiving the water starting instruction, the control module 12 switches on the motor 11 to rotate reversely, an output shaft of the motor 11 is in transmission connection with a rotating shaft 15 of the valve 9 of the gauge outfit 4 through the gear set 10, and the valve 9 of the gauge outfit 4 is opened under the driving of the motor 11. Thereby restoring water to the user.
The method also comprises a remote control method for opening and closing the water valve of the water meter 1 under the user account number by the user through the user terminal 3, which specifically comprises the following steps:
after the user terminal 3 logs in the server 2 through the communication module II 23 of the server 2 by using the user account number of the user terminal, the opening and closing state and the water consumption of the valve 9 stored in the server 2 are read in real time;
when the water consumption increment under the corresponding user account in unit time exceeds a preset early warning threshold value, the server 2 sends an excessive water warning message to the user terminal 3 through the communication module II 23 to prompt excessive water;
when the user terminal 3 sends a valve closing instruction to the second communication module 23 of the server 2, the server 2 sends a water stopping instruction to the first communication module 6 of the water meter 1 corresponding to the user account;
the first communication module 6 transmits the water stopping instruction to the control module 12 after receiving the water stopping instruction, the control module 12 conducts the motor 11 to rotate forwardly after receiving the water stopping instruction, the output shaft of the motor 11 drives the gear set 10 to drive the rotating shaft 15 of the valve 9 to rotate, and the valve 9 of the meter head 4 is closed;
when the user terminal 3 sends a valve opening instruction to the second communication module 23 of the server 2, the server 2 retrieves an instruction sending record of the header 4 corresponding to the user account;
when a latest instruction sending record is a water stopping instruction which is not sent for the server 2 to initiate, the server 2 sends a water starting instruction to a first communication module 6 of the water meter 1 corresponding to the user account;
the first communication module 6 transmits the water stopping instruction to the control module 12 after receiving the water stopping instruction, the control module 12 conducts the motor 11 to rotate forwardly after receiving the water stopping instruction, the output shaft of the motor 11 drives the gear set 10 to drive the rotating shaft 15 of the valve 9 to rotate, and the valve 9 of the meter head 4 is closed;
when a latest instruction is sent and recorded as a water cut-off instruction sent by the server 2, the server 2 does not send a water start instruction to the water meter 1 corresponding to the user account though receiving a valve opening instruction sent by the user terminal 3, but the communication module two 23 of the server 2 sends a water cut-off notification to the user terminal 3 to inform that the valve 9 managed by the server 2 is opened only by the user contacting a manager of the server 2.
The server 2 monitors the water consumption data sent by the water meter 1 in real time, so that the user state of the water meter 1 can be known in real time, an early warning threshold value can be preset, after the water consumption exceeds the early warning threshold value in unit time, the situation that a tap is probably forgotten to be turned off or a water pipe is broken occurs possibly, the user terminal 3 can conveniently know the water use close condition and the valve opening and closing state of the water meter 1 by logging in the server 2 by sending the valve closing instruction to the server 2 through the user terminal 3, a water stopping instruction is transferred to the water meter 1 through the server 2, the water valve is timely turned off, and the effects of reminding and remotely closing the valve to stop water in emergency are achieved; when the water valve needs to be opened again, a valve opening instruction is sent to the server 2 through the user terminal 3, and then the water instruction can be started in the direction of the server 2, so that remote opening is realized; in the step of opening the valve, if the user terminal 3 detects that the latest instruction sending record is a valve closing instruction sent by the server 2 independently, the water cut-off operation of the management party is corresponded, and the user cannot open the valve by himself, which is a limitation on the authority, and generally, after the user finishes paying the water fee, the management party opens the water valve again. In addition, in daily life, the user can also control the opening and closing of the valve 9 on the water meter 1 through the user terminal 3, and great convenience is brought to water consumption management.
The user terminal 3 may be a smart phone, a tablet computer or a PC terminal. The user terminal 3 can be a PC end connected with the Internet, so that a large amount of information can be conveniently checked, the excessive water consumption early warning information, the water cut-off notification, the water consumption, the water valve state and the like can be seen on a screen, and the excessive water consumption early warning information can pop up from a pop-up window at the lower right corner of a computer to play a role in reminding. The intelligent mobile phone can be widely used at present, and the excessive water consumption early warning information can be reminded and checked in the APP of the intelligent mobile phone. The excessive water use early warning information can be popped up as notification information in a notification bar to remind a user to check in time. After the user terminal 3 is electrically operated and registered to the internet, SOCKET connection is established with the communication module II 23 of the server 2 through the internet, the server 2 serves as a SOCKET server, the user terminal 3 serves as a SOCKET client, and after the connection is established, the server 2 and the user terminal 3 can perform bidirectional data transmission through the internet. Similarly, the first communication module 6 of the water meter 1 serves as a client connected with the server 2, and registers to the internet after the first communication module 6 is electrically operated, and establishes SOCKET connection with the server 2, so that bidirectional data transmission is realized through the internet. And data transmission is carried out between the server 2 and the communication module I6 of the water meter 1 through a TCP/IP protocol. TCP/IP defines a standard for how electronic devices connect to the internet and how data is transferred between them. The protocol employs a 4-layer hierarchy, each layer calling the protocol provided by its next layer to fulfill its own requirements.
Those of skill would further appreciate that the various illustrative logical blocks, configurations, modules, circuits, and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both. To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, configurations, modules, circuits, and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the overall system. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The various illustrative logics, logical blocks, modules, and circuits described in connection with the embodiments disclosed herein may be implemented or performed with: a general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination thereof designed to perform the functions described herein. A general purpose processor may be a microprocessor, but in the alternative, the processor may be any conventional processor, controller, microcontroller, or state machine. A processor may also be implemented as a combination of computing devices, e.g., a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a DSP core, or any other such configuration. Additionally, at least one processor may comprise one or more modules operable to perform one or more of the steps and/or actions described above.
Additionally, the steps and/or actions of a method or algorithm described in connection with the aspects disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art. An exemplary storage medium may be coupled to the processor such the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor. In addition, in some aspects, the processor and the storage medium may reside in an ASIC. Additionally, the ASIC may reside in a user terminal. In the alternative, the processor and the storage medium may reside as discrete components in a user terminal. Additionally, in some aspects, the steps and/or actions of a method or algorithm may reside as one or any combination or set of codes and/or instructions on a machine readable medium and/or computer readable medium, which may be incorporated into a computer program product.
The above description is only a preferred embodiment of the present invention, and the protection scope of the present invention is not limited to the above embodiments, and all technical solutions belonging to the idea of the present invention belong to the protection scope of the present invention. It should be noted that modifications and embellishments within the scope of the invention may occur to those skilled in the art without departing from the principle of the invention, and are considered to be within the scope of the invention. Furthermore, to the extent that the term "includes" is used in either the detailed description or the claims, such term is intended to be inclusive in a manner similar to the term "comprising" as "comprising" is interpreted when employed as a transitional word in a claim. Furthermore, although elements of the described aspects and/or embodiments may be described or claimed in the singular, the plural is contemplated unless limitation to the singular is explicitly stated. Additionally, all or a portion of any aspect and/or embodiment may be utilized with all or a portion of any other aspect and/or embodiment, unless stated otherwise.

Claims (8)

1. A control method of an Internet of things water meter online supervision system is characterized by comprising the following steps:
the meter head (4) outputs a pulse signal after detecting that a certain amount of water passes through the meter head (4), and a water quantity module (5) coupled with the meter head records a time;
every other preset uploading time interval, a clock module (7) triggers a first communication module (6) coupled with the water consumption module (5), and the water consumption recorded by the water consumption module (5) is sent to a server (2) through the first communication module (6);
after the server (2) identifies the user account number bound to the communication module I (6), the water consumption is updated to the water consumption under the user account number;
after the server (2) sends a water cut-off instruction to the communication module I (6), the communication module I (6) transmits the received water cut-off instruction to a control module (12) coupled with the communication module I;
after receiving the water cut-off instruction, the control module (12) conducts a motor (11) to rotate forwardly, an output shaft of the motor (11) is in transmission connection with a rotating shaft (15) of a valve (9) of the gauge head (4) through a gear set (10), and the valve (9) of the gauge head (4) is closed under the driving of the motor (11);
the method further comprises the following steps: a frequency conversion module (8) is coupled with the clock module (7), the communication module I (6) and the water consumption module (5), and when the frequency conversion module (8) receives the frequency modulation instruction sent by the server (2) through the communication module I (6), the preset uploading time interval of the uploading water consumption of the communication module I (6) triggered by the clock module (7) at regular time is adjusted to the interval specified by the frequency modulation instruction;
when the frequency conversion module (8) detects that the added value of the water consumption recorded by the water consumption module (5) in unit time exceeds a preset upper limit threshold value, the clock module (7) triggers the communication module I (6) to upload the preset uploading time interval of the water consumption at regular time, and the preset uploading time interval is rewritten from a first interval to a second interval with shorter time interval;
and when the frequency conversion module (8) detects that the added value of the water consumption recorded by the water consumption module (5) in unit time is lower than a preset lower limit threshold value, the clock module (7) regularly triggers the preset uploading time interval of the uploading water consumption of the communication module I (6) to be rewritten from the interval II to the interval I with longer time interval.
2. The control method of the internet of things water meter online supervision system according to claim 1, wherein after the server (2) updates the water consumption sent by the communication module one (6) to the water consumption under the user account, the method further comprises:
and detecting the payment state of the user account, and automatically sending the water stopping instruction to the communication module I (6) when the user state is detected to be in an arrearage state.
3. The control method of the online supervision system for the water meter of the internet of things according to claim 1, characterized in that after the server (2) sends a water starting instruction to the communication module I (6), the communication module I (6) transmits the received water starting instruction to the control module (12);
after receiving the water starting instruction, the control module (12) switches on the motor (11) to rotate reversely, an output shaft of the motor (11) is in transmission connection with a rotating shaft (15) of a valve (9) of the gauge outfit (4) through a gear set (10), and the valve (9) of the gauge outfit (4) is opened under the driving of the motor (11).
4. The control method of the internet of things water meter online supervision system according to claim 1, wherein the method further comprises the following steps:
the server (2) stores the opening and closing states of the valve (9) of the header (4) corresponding to each user account and the instruction sending record of the server (2);
after the server (2) sends a water cut-off instruction to the communication module I (6), the opening and closing state of the valve (9) is changed into a closing state;
after the server (2) sends a water starting instruction to the communication module I (6), the opening and closing state of the valve (9) is changed into an opening state;
a user terminal (3) logs in the server (2) through a communication module II (23) of the server (2) by using a user account number of the user terminal, and then reads the opening and closing state and water consumption of a valve (9) stored in the server (2) in real time;
when the water consumption increment under the corresponding user account in unit time exceeds a preset early warning threshold value, the server (2) sends an excessive water consumption early warning message to the user terminal (3) through a communication module II (23);
when the user terminal (3) sends a valve closing instruction to the communication module II (23) of the server (2), the server (2) sends a water stopping instruction to the communication module I (6);
when the user terminal (3) sends a valve opening instruction to the second communication module (23) of the server (2), the server (2) searches an instruction sending record of the header (4) corresponding to the user account,
when the latest instruction sending record is not the water stopping instruction sent by the server (2) for self initiation, the server (2) sends a water starting instruction to the communication module I (6),
when the latest instruction sending record is the water stopping instruction sent by the server (2) itself, the server (2) sends a water stopping notification to the user terminal (3).
5. The utility model provides an online supervisory systems of thing networking water gauge which characterized in that, includes water gauge (1) and server (2), water gauge (1) includes:
the meter head (4) is provided with a water flow signal output end, and the water flow signal output end outputs a pulse signal after a certain amount of water is detected to pass through the meter head (4);
the water consumption module (5) is coupled with the water flow signal output end and used for receiving the pulse signal output by the water consumption module, and the water consumption module (5) counts one time when receiving the pulse signal;
the first communication module (6) is coupled with the water consumption module (5) and establishes a bidirectional communication connection with the server (2);
the clock module (7) is coupled with the first communication module (6), the first communication module (6) coupled with the clock module is triggered at a preset uploading time interval, the water consumption recorded by the water consumption module (5) is sent to the server (2) through the first communication module (6), and the server (2) updates the water consumption to the water consumption under the user account after identifying the user account bound by the first communication module (6);
the valve (9) is arranged in a water flow channel of the gauge head (4);
the gear set (10) is in transmission connection with a rotating shaft (15) of a valve (9) of the gauge head (4);
the motor (11) is in transmission connection with the gear set (10) and is used for driving the valve (9) of the gauge outfit (4) to rotate through the driving gear set (10);
the control module (12) is coupled with the first communication module (6), when the server (2) sends a water stopping instruction to the first communication module (6), the first communication module (6) transmits the received water stopping instruction to the control module (12), the control module (12) switches on the motor (11) to rotate positively after receiving the water stopping instruction, the output shaft of the motor (11) drives the gear set (10) to drive the rotating shaft (15) of the valve (9) to rotate, and the valve (9) of the meter head (4) is closed;
the frequency conversion module (8) is coupled with the clock module (7);
the communication module I (6) is coupled with the frequency conversion module (8), and when the frequency conversion module (8) receives a frequency modulation instruction sent by the server (2) through the communication module I (6), a clock module (7) triggers a preset uploading time interval of the uploading water consumption of the communication module I (6) at regular time to be adjusted to an interval specified by the frequency modulation instruction;
the communication module I (6) is coupled with the water consumption module (5), and when the frequency conversion module (8) detects that the added value of the water consumption recorded by the water consumption module (5) in unit time exceeds a preset upper limit threshold value, the clock module (7) triggers the preset uploading time interval of the uploading water consumption of the communication module I (6) at regular time to be rewritten from a first interval I to a second interval II with shorter time interval;
and when the frequency conversion module (8) detects that the added value of the water consumption recorded by the water consumption module (5) in unit time is lower than a preset lower limit threshold value, the clock module (7) regularly triggers the preset uploading time interval of the uploading water consumption of the communication module I (6) to be rewritten from the interval II to the interval I with longer time interval.
6. An online supervision system for a water meter of internet of things according to claim 5, characterized in that the server (2) comprises:
the storage module (22) is used for storing user data corresponding to each user account and including water consumption and payment states;
the communication module II (23) is in communication connection with the communication module I (6) of the water meter (1);
the processing module (24) is coupled with the storage module (22) and the communication module II (23), after the communication module II (23) receives the water consumption sent by the communication module I (6), the processing module (24) updates the water consumption to the water consumption stored in the storage module (22) under the user account after identifying the user account bound with the communication module I (6), then detects the payment state of the user account, and when the user state is detected to be in the arrearage state, the processing module (24) automatically controls the communication module II (23) to automatically send the water stopping instruction to the communication module I (6).
7. An online supervision system for a water meter of internet of things according to claim 5, characterized in that the server (2) comprises:
the storage module (22) is used for storing user data corresponding to each user account and including water consumption and payment states;
the communication module II (23) is in communication connection with the communication module I (6) of the water meter (1);
a processing module (24) coupled with the storage module (22) and the communication module II (23),
after a processing module (24) of the server (2) controls a communication module II (23) to send a water starting instruction to a communication module I (6), the communication module I (6) transmits the received water starting instruction to a control module (12);
after receiving the water starting instruction, the control module (12) switches on the motor (11) to rotate reversely, an output shaft of the motor (11) is in transmission connection with a rotating shaft (15) of a valve (9) of the gauge outfit (4) through a gear set (10), and the valve (9) of the gauge outfit (4) is opened under the driving of the motor (11).
8. The internet of things water meter online supervision system according to claim 7, characterized by further comprising a user terminal (3) in communication connection with the second communication module (23) of the server (2);
a storage module (22) of the server (2) stores the opening and closing states of the valve (9) of the header (4) corresponding to each user account and instruction sending records of the server (2);
after a processing module (24) of the server (2) controls a communication module II (23) to send a water stopping instruction to a communication module I (6), the processing module (24) changes the opening and closing state of a valve (9) stored in a storage module (22) corresponding to a user account into a closing state;
after a processing module (24) of the server (2) controls a communication module II (23) to send a water starting instruction to a communication module I (6), the processing module (24) changes the opening and closing state of a valve (9) stored in a storage module (22) corresponding to a user account number into an opening state;
after the user terminal (3) logs in the server (2) by using the user account, the opening and closing state and the water consumption of the valve (9) stored in the storage module (22) are read in real time through a communication module II (23) in communication connection with the user terminal;
when the water consumption increment under the corresponding user account in unit time exceeds a preset early warning threshold value, the server (2) sends an excessive water consumption early warning message to the user terminal (3) through a communication module II (23);
when the user terminal (3) sends a valve closing instruction to the communication module II (23) of the server (2), the server (2) sends a water stopping instruction to the communication module I (6);
when the user terminal (3) sends a valve opening instruction to the communication module II (23) of the server (2), the processing module (24) searches the instruction sending record of the header (4) corresponding to the user account in the storage module (22),
when the latest instruction sending record is not the water stopping instruction sent by the server (2) for self initiation, the server (2) sends a water starting instruction to the communication module I (6),
when the latest instruction sending record is the water stopping instruction sent by the server (2) itself, the server (2) sends a water stopping notification to the user terminal (3).
CN201910020668.5A 2019-01-09 2019-01-09 Internet of things water meter online supervision system and control method thereof Active CN109738044B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910020668.5A CN109738044B (en) 2019-01-09 2019-01-09 Internet of things water meter online supervision system and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910020668.5A CN109738044B (en) 2019-01-09 2019-01-09 Internet of things water meter online supervision system and control method thereof

Publications (2)

Publication Number Publication Date
CN109738044A CN109738044A (en) 2019-05-10
CN109738044B true CN109738044B (en) 2021-01-05

Family

ID=66364243

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910020668.5A Active CN109738044B (en) 2019-01-09 2019-01-09 Internet of things water meter online supervision system and control method thereof

Country Status (1)

Country Link
CN (1) CN109738044B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110514253A (en) * 2019-08-28 2019-11-29 宁波兴远仪表科技有限公司 A kind of intelligent water meter system
CN110995615B (en) * 2019-12-02 2023-05-05 德阳瑞能电力科技有限公司 Communication method for multilateral master-slave switching
CN111107164B (en) * 2019-12-31 2021-09-07 深圳好时代能源科技有限公司 Water supply method and device for intelligent water meter, intelligent water meter and storage medium
CN111220228A (en) * 2020-01-02 2020-06-02 山东锋士信息技术有限公司 Water quantity measuring method and system
CN112927488A (en) * 2021-02-09 2021-06-08 杭州极能科技有限公司 Intelligent water affair management system
CN114333157B (en) * 2021-12-06 2023-02-10 杭州竞达电子有限公司 Water meter and control method

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103679956A (en) * 2013-12-25 2014-03-26 北京华电滢欣科技有限公司 Remote water quantity collecting device and method

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8866634B2 (en) * 2006-05-04 2014-10-21 Capstone Metering Llc System and method for remotely monitoring and controlling a water meter
CN102063764B (en) * 2011-01-25 2012-09-26 邵泽华 Intelligent gas meter of Internet of things and control system thereof
CN205719087U (en) * 2016-04-29 2016-11-23 深圳市博来美电子有限公司 A kind of high-temperature steam cleaner data collecting system based on Internet of Things
CN206363383U (en) * 2016-08-09 2017-07-28 西安微立方测控技术有限公司 A kind of pipeline intelligent watermeter amount controller of remote payment
CN107782390A (en) * 2016-08-29 2018-03-09 天津市承刚科技发展有限公司 A kind of Intelligent water meter of Internet of things
CN206248159U (en) * 2016-12-19 2017-06-13 湖北正源智能科技有限公司 A kind of speed limit speed governing intellectual water meter based on Internet of Things control
US11066813B2 (en) * 2017-02-15 2021-07-20 Saya Life, Inc. Water management, metering, leak detection, water analytics and remote shutoff system
CN107014457A (en) * 2017-05-25 2017-08-04 成都秦川物联网科技股份有限公司 A kind of water meter management system, method and water meter based on Internet of Things

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103679956A (en) * 2013-12-25 2014-03-26 北京华电滢欣科技有限公司 Remote water quantity collecting device and method

Also Published As

Publication number Publication date
CN109738044A (en) 2019-05-10

Similar Documents

Publication Publication Date Title
CN109738044B (en) Internet of things water meter online supervision system and control method thereof
CN102771433B (en) Feeding system and feeding device
CN205892393U (en) Closed monitored control system of construction elevator guard gate
CN201236680Y (en) Automatic intermittent oil pumping control device
CN104633227A (en) Control method for wiring-free intelligent control electronic metering water valve capable of achieving electricity self-generation
CN105931454A (en) Low-power-consumption wireless communication detection device and detection method
JP2011094368A (en) Water-receiving-tank monitoring system
CN201615566U (en) Power-saving remote monitoring terminal for public air conditioners
WO2019085002A1 (en) Intelligent water pump controller based on internet of things
CN111559590A (en) Garbage bin intelligent control ware and garbage bin supervisory systems
CN106012986A (en) Solar-powered intelligent gate remote measurement and control system
CN207333896U (en) A kind of Remote control valve based on the NB-IoT communication technologys
CN114942611B (en) Agricultural irrigation remote water meter and water meter control method
CN104633228A (en) Wiring-free intelligent control electronic metering water valve capable of achieving electricity self-generation
CN204832883U (en) Intelligent control terminal towards long -range fortune dimension guarantee service
CN204875926U (en) Intelligent information acquisition terminal among no negative pressure water supply system
CN214096182U (en) Comprehensive monitoring system for groundwater replenishment capacity and water quality health
CN211149651U (en) Wireless ultra-low power consumption real-time response valve control system
CN213812432U (en) Matrix type NB-IOT (network b-internet of things) intelligent water meter with valve
CN213365303U (en) Intelligent inclination angle detection control circuit based on NB-IoT
CN210488263U (en) Intelligent management system for water and electricity in constructional engineering
CN112880746A (en) Water supply system monitoring system and method for transformer substation and office place
CN211042365U (en) Intelligent water meter
CN104074732B (en) A kind of intelligence submersible pump log and safeguard early warning system
CN216412270U (en) Internet of things intelligent gas meter based on NB-IoT

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant