CN111107164A - Water supply method and device for intelligent water meter, intelligent water meter and storage medium - Google Patents

Water supply method and device for intelligent water meter, intelligent water meter and storage medium Download PDF

Info

Publication number
CN111107164A
CN111107164A CN201911423323.0A CN201911423323A CN111107164A CN 111107164 A CN111107164 A CN 111107164A CN 201911423323 A CN201911423323 A CN 201911423323A CN 111107164 A CN111107164 A CN 111107164A
Authority
CN
China
Prior art keywords
water
water meter
intelligent
intelligent water
user
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.)
Granted
Application number
CN201911423323.0A
Other languages
Chinese (zh)
Other versions
CN111107164B (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.)
Shenzhen Haoshidai Energy Technology Co ltd
Original Assignee
Shenzhen Haoshidai Energy Technology 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 Shenzhen Haoshidai Energy Technology Co ltd filed Critical Shenzhen Haoshidai Energy Technology Co ltd
Priority to CN201911423323.0A priority Critical patent/CN111107164B/en
Publication of CN111107164A publication Critical patent/CN111107164A/en
Application granted granted Critical
Publication of CN111107164B publication Critical patent/CN111107164B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01FMEASURING VOLUME, VOLUME FLOW, MASS FLOW OR LIQUID LEVEL; METERING BY VOLUME
    • G01F15/00Details of, or accessories for, apparatus of groups G01F1/00 - G01F13/00 insofar as such details or appliances are not adapted to particular types of such apparatus
    • G01F15/06Indicating or recording devices
    • G01F15/061Indicating or recording devices for remote indication
    • G01F15/063Indicating or recording devices for remote indication using electrical means
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Fluid Mechanics (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Measuring Volume Flow (AREA)
  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

The embodiment provides a water supply method and device for an intelligent water meter, the intelligent water meter and a storage medium, belongs to the technical field of water meters, and is used for improving the response time of the intelligent water meter. The water supply method of the intelligent water meter comprises the following steps: when receiving user information carrying a user identification, judging whether the user identification is bound with the intelligent water meter of the home terminal; if so, acquiring the residual water amount corresponding to the user information; receiving a water taking instruction, supplying water by opening a valve when the residual water amount is greater than zero, and updating the residual water amount corresponding to the user identifier; closing the valve to stop water supply when receiving an instruction of stopping water taking or updating the residual water amount to be less than a preset residual water threshold value, and storing the residual water amount; if the current time is the preset communication time, reporting the user identifier for updating the surplus water in the period and the surplus water corresponding to the user identifier stored when the water valve is closed to the server, and acquiring all the user identifiers bound with the intelligent water meter at the local end and the surplus water corresponding to each user identifier from the server.

Description

Water supply method and device for intelligent water meter, intelligent water meter and storage medium
Technical Field
The invention relates to the technical field of water meters, in particular to a water supply method and device of an intelligent water meter, the intelligent water meter and a storage medium.
Background
The Narrow-Band Internet of Things (NB-ioT) becomes an important branch of the Internet of everything, NB-ioT is constructed in a cellular network of mobile communication, only consumes about 180kHz bandwidth, and can be directly deployed in a GSM network, a UMTS network or an LTE network, so that the deployment cost is reduced, and smooth upgrade is realized. In order to solve the problem of multipath transmission, two to three cell redundancy coverage strategies are generally adopted, each base station cell can accommodate 12 devices for simultaneous communication, the base station has limitation on the uploading frequency of the terminal in the view of actual measurement effect, and the transmission interval is usually more than 10 seconds. The NB-iot network does not have the concurrent processing capability to accommodate simultaneous access to a large number of devices, nor does it accommodate frequent communication of large amounts of data by a single device.
In the prior art, the narrowband internet of things NB-iot technology is applied to networking applications such as meter reading and weather information which have low requirements on communication real-time degree, and a water meter adopting the NB-iot communication technology (hereinafter referred to as an NB water meter) has the advantages of easy installation and simple maintenance, and is widely accepted by tap water companies in various regions.
When the NB water meter is applied to a specific scene, for example, when the NB water meter is applied to water consumption in a student dormitory, because the water consumption in the student dormitory has the characteristics of centralized water consumption time and concurrency, the peak time of the water consumption for washing is centralized in the period from morning to night, tens of thousands of students are gathered in a small range of the dormitory, the current NB water meter water supply method requires real-time data reporting, the communication sessions which can be simultaneously accommodated by the NB-iot base station are limited, frequent data exchange cannot be accepted, the communication capacity obviously cannot meet the application requirements, the response time of the NB water meter is slow in the peak time of the water consumption, and the waiting time of a user is too long.
Disclosure of Invention
The embodiment of the invention provides a water supply method and device for an intelligent water meter, the intelligent water meter and a storage medium, which can improve the response time of the intelligent water meter, thereby shortening the time for a user to wait for water.
According to one aspect of the invention, a water supply method for an intelligent water meter is provided, which is applied to the intelligent water meter, and comprises the following steps:
when receiving user information carrying a user identification, judging whether the user identification is bound with the intelligent water meter of the home terminal;
when the user identification is bound with the intelligent water meter of the home terminal, acquiring the residual water amount corresponding to the user information, wherein the residual water amount is stored in a memory in the intelligent water meter of the home terminal;
when a water taking instruction is received and the residual water amount is larger than zero, a water valve of the intelligent water meter is controlled to be opened, and the residual water amount corresponding to the user identification is updated in real time;
when an instruction of stopping water taking is received or the real-time updated residual water amount is smaller than a preset residual water threshold value, controlling a water valve of the intelligent water meter to be closed, and storing the real-time updated residual water amount corresponding to the user identifier when the water valve is closed;
if the current time is the preset communication time, reporting the user identifier for updating the surplus water in the period and the surplus water corresponding to the user identifier stored when the water valve is closed to a server, and acquiring all the user identifiers bound with the intelligent water meter at the local end and the surplus water corresponding to the user identifiers from the server.
According to another aspect of the present invention, there is provided a water supply apparatus for an intelligent water meter, the apparatus including:
the judging module is used for judging whether the user identification is bound with the intelligent water meter of the local terminal or not when receiving the user information carrying the user identification;
the residual water quantity obtaining module is used for obtaining the residual water quantity corresponding to the user information when the user identification is bound with the intelligent water meter of the home terminal, and the residual water quantity is stored in a memory in the intelligent water meter of the home terminal;
the opening valve control module is used for controlling a water valve of the intelligent water meter to be opened and updating the residual water amount corresponding to the user identification in real time when the water taking instruction is received and the residual water amount is greater than zero;
the closing valve control module is used for controlling a water valve of the intelligent water meter to be closed when receiving an instruction of stopping water taking or the real-time updated residual water amount is smaller than a preset residual water threshold value, and storing the real-time updated residual water amount corresponding to the user identifier when the water valve is closed;
and the communication module is used for reporting the user identifier for updating the surplus water in the period and the surplus water corresponding to the user identifier saved when the water valve is closed to a server if the current time is the preset communication time, and acquiring all the user identifiers bound with the intelligent water meter at the local end and the surplus water corresponding to each user identifier from the server.
According to another aspect of the present invention, an intelligent water meter is provided, which includes a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the water supply method of the intelligent water meter when executing the program.
According to still another aspect of the present invention, there is provided a computer readable storage medium, having a computer program stored thereon, which when executed by a processor, performs the steps of the above-mentioned water supply method for an intelligent water meter.
According to the water supply method and device of the intelligent water meter, the intelligent water meter and the storage medium, the identity of the user is bound with the intelligent water meter, so that the user can select the intelligent water meter closest to the user to bind, the use by the user is facilitated, the intelligent water meter only needs to store the residual water volume and the user information of the user bound to the intelligent water meter, the intelligent water meter can inquire the residual water volume of the bound user and supply water to the bound user without real-time communication with a remote server when the bound user uses water, the communication condition of the intelligent water meter and the remote server is reduced, and the time for the intelligent water meter to respond to water supply is prolonged. Meanwhile, the invention sets the communication time of each intelligent water meter and the server by setting that the intelligent water meter at the local end communicates with the server only when the preset communication time arrives, so that a user can set the communication time of each intelligent water meter and the server through the preset communication time of different intelligent water meters, the maximum number of the intelligent water meters communicating with the server at the same time is controllable, the communication pressure of the intelligent water meters and the server at the same time is relieved, the response speed of the intelligent water meters is improved on the premise of ensuring the correct water consumption of the user, and the water waiting time of the user is shortened.
Drawings
Fig. 1 is a schematic view of a usage scenario of a water supply method of an intelligent water meter according to an embodiment of the present invention;
fig. 2 is a flowchart of a water supply method of an intelligent water meter according to an embodiment of the present invention;
fig. 3 is a flowchart of a water supply method of an intelligent water meter according to another embodiment of the present invention;
fig. 4 is a block diagram illustrating an exemplary structure of a water supply apparatus of an intelligent water meter according to an embodiment of the present invention;
fig. 5 is a schematic view of the internal structure of an intelligent water meter according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The water supply method of the intelligent water meter can be applied to the application environment shown in figure 1, wherein the intelligent water meter is communicated with the server through a network. Wherein, this intelligent water gauge is equipped with wireless communication device, for example bluetooth module, data transceiver etc. and this intelligent water gauge still is equipped with the display screen for information such as show user identification, user's surplus water and this water consumption. The server may be implemented by an independent server or a server cluster composed of a plurality of servers.
Fig. 2 is a flowchart illustrating a water supply method of an intelligent water meter according to an embodiment of the present invention, and the water supply method of an intelligent water meter according to an embodiment of the present invention is described in detail below with reference to fig. 2, and as shown in fig. 2, the method includes the following steps S101 to S105.
S101, when user information carrying a user identification is received, whether the user identification is bound with the intelligent water meter of the home terminal or not is judged.
In one embodiment, the user information includes, but is not limited to, the last digits of the user's identification number, the user's school number, the user password, etc., and when the user is a student, the user identification may be the user's school number.
In this embodiment, the step of determining whether the user identifier is bound to the local intelligent water meter includes:
acquiring a user identification list which is stored correspondingly to the unique identifier of the home-end intelligent water meter;
and judging whether the received user identification of the user information exists in the identification list, if so, judging that the user identification is bound with the intelligent water meter of the local terminal, and otherwise, judging that the user identification is not bound with the intelligent water meter of the local terminal.
Optionally, the intelligent water meter is provided with a touch screen, the touch screen is provided with a touch keyboard, and the step further includes: and receiving the user information carrying the user identification through the touch keyboard.
In other embodiments, the intelligent water meter may communicate with the mobile terminal via bluetooth, and the steps further include: and receiving the user information carrying the user identification sent by the mobile terminal through Bluetooth. The mobile terminal includes but is not limited to a mobile phone, a tablet computer, a notebook computer, an intelligent wearable device and the like.
In the embodiment, the method further comprises the step of verifying the identity of the user, and further, the verification can be performed by combining the user identification with the user password, and the verification can be performed by combining the user identification with the short message verification code.
S102, when the user identification is bound with the intelligent water meter of the home terminal, acquiring the residual water amount corresponding to the user information, wherein the residual water amount is stored in a storage device in the intelligent water meter of the home terminal.
In this embodiment, the storage in the intelligent water meter stores the residual water amount of all users bound to the local intelligent water meter.
S103, when a water taking instruction is received and the residual water amount is larger than zero, a water valve of the intelligent water meter is controlled to be opened, and the residual water amount corresponding to the user identification is updated in real time.
Optionally, the intelligent water meter is provided with a touch screen, the touch screen is provided with a touch keyboard, and the step further includes: and receiving the water getting instruction through the touch keyboard.
Further, the method further comprises:
for long-term bound users: if the residual water amount is larger than zero liter, the water meter opens the electric ball valve to allow water to be used.
In other embodiments, the intelligent water meter may communicate with the mobile terminal via bluetooth, and the steps further include: and receiving the water getting instruction sent by the mobile terminal through Bluetooth.
And S104, when receiving an instruction of stopping water taking or when the real-time updated residual water amount is smaller than a preset residual water threshold value, controlling a water valve of the intelligent water meter to be closed, and storing the real-time updated residual water amount corresponding to the user identifier when the water valve is closed.
Optionally, the step further comprises: and receiving the instruction of stopping fetching water through the touch keyboard.
In other embodiments, the step further comprises: and receiving the instruction of stopping water taking sent by the mobile terminal through Bluetooth.
In this embodiment, the method further comprises:
the controller of the intelligent water meter controls a display screen of the intelligent water meter to display the name, the amount, the duration and the allowance of the user in real time;
in the water supply process of the intelligent water meter, the allowance is reduced when the intelligent water meter is full of one liter, and the amount of the residual water is displayed in real time;
when the allowance is smaller than zero, a screen flashing and buzzing prompt is sent to prompt the user to finish the water using as soon as possible, and the prompt frequency is gradually increased along with the decreasing of the allowance.
In this embodiment, the user may end the water usage by pressing a "stop" water button in the display.
And S105, if the current time is the preset communication time, reporting the user identifier for updating the surplus water in the period and the surplus water corresponding to the user identifier stored when the water valve is closed to a server, and acquiring all the user identifiers bound with the intelligent water meter at the local end and the surplus water corresponding to each user identifier from the server.
In this embodiment, the preset communication time is a cycle time, the intelligent water meter periodically communicates with the server, and synchronizes with the user identifier stored in the server, the intelligent water meter bound to the user identifier, and information such as the residual water amount corresponding to the user identifier.
Specifically, the intelligent water meter periodically (for example, 24 hours) acquires the residual water volume, the reported water usage information and the water meter state of the User from the server in a UDP (User Datagram Protocol) mode through an NB-iot link, and reports the water usage record and the water meter state. The user can enable the intelligent water meter to acquire user information and residual water amount from the server in a UDP mode through an NB-iot link and report water consumption information by sending a refresh command.
The preset communication time is, for example, one hour in the morning every day, and the current period in this step may be understood as an interval time period between the current communication time and the last communication time. Taking the preset communication time as one hour in the morning every day as an example, when the communication function of the intelligent water meter is normal, the period in the step can be understood as one hour in the morning from the previous day to one hour in the morning from the current date, and when the communication function of the intelligent water meter is failed, the period in the step can be understood as the interval time between the current communication time and the last communication time.
In this embodiment, the user can set the communication time between different intelligent water meters and the server to realize communication distribution.
In one embodiment, the intelligent water meter at the local end and the server establish communication connection through the narrow-band internet of things NB-iot.
The water supply method of the intelligent water meter provided by the embodiment, through binding the user's identification with the intelligent water meter, on the one hand, the user can select to bind the nearest intelligent water meter, the convenience is provided for the user, on the other hand, the intelligent water meter only needs to store the residual water volume and the user information bound to the user of the intelligent water meter, so that the bound user can inquire and supply water to the bound user without real-time communication with a remote server when using water, the communication condition of the intelligent water meter and the remote server is reduced, and the water supply response time of the intelligent water meter is prolonged. Meanwhile, the invention sets the communication time of each intelligent water meter and the server by setting that the intelligent water meter at the local end communicates with the server only when the preset communication time arrives, so that a user can set the communication time of each intelligent water meter and the server through the preset communication time of different intelligent water meters, the maximum number of the intelligent water meters communicating with the server at the same time is controllable, the communication pressure of the intelligent water meters and the server at the same time is relieved, the response speed of the intelligent water meters is improved on the premise of ensuring the correct water consumption of the user, and the water waiting time of the user is shortened.
Optionally, the intelligent water meter is provided with a touch keyboard, and the method includes:
receiving the user information carrying the user identification through the touch keyboard;
receiving the water getting instruction through the touch keyboard;
and receiving the instruction of stopping fetching water through the touch keyboard.
Further optionally, the intelligent water meter is provided with a display screen, and the touch keyboard is arranged on the display screen.
Further, the method further comprises:
when the current moment is a preset communication moment, downloading prestored advertisement information from the server;
and when the intelligent water meter is not awakened, the advertisement information is displayed on the display screen of the intelligent water meter.
In one embodiment, the advertisement information includes, but is not limited to, video advertisements, text advertisements, picture-type advertisements.
Fig. 3 is a flowchart of a water supply method of an intelligent water meter according to another embodiment of the present invention, and according to another embodiment of the present invention as shown in fig. 3, the water supply method of an intelligent water meter includes the above steps S101, S103 to S105, and the step S102 further includes:
s301, judging whether the user identification is bound with the intelligent water meter of the home terminal, if so, skipping to the step S302, otherwise, skipping to the step S303;
s302, acquiring the residual water amount corresponding to the user information, storing the residual water amount in a memory in the intelligent water meter at the local end, and jumping to the step S103;
s303, the server sends request data for acquiring the residual water amount corresponding to the user identification, and the step S304 is skipped to;
s304, receiving response data which are fed back by the server and carry the residual water amount corresponding to the user identification, and jumping to the step S305;
s305, receiving a water taking instruction, controlling a water valve of the intelligent water meter to be opened when the residual water amount carried in the response data is larger than zero, updating the residual water amount corresponding to the user identification in real time, and jumping to the step S104.
In one embodiment, the water supply method of the intelligent water meter further comprises the following steps:
when the distance between the mobile terminal and the intelligent water meter is smaller than a preset value and the mobile terminal and the intelligent water meter are successfully paired, the intelligent water meter establishes wireless communication with the mobile terminal through Bluetooth;
receiving the user information carrying the user identification sent by the mobile terminal through Bluetooth;
receiving the water getting instruction sent by the mobile terminal through Bluetooth;
and receiving the instruction of stopping water taking sent by the mobile terminal through Bluetooth.
In one embodiment, the water supply method of the intelligent water meter further comprises the following steps:
and when the time interval between the current moment and the last moment of establishing communication connection with the server is greater than a preset time threshold value, judging the communication fault of the intelligent water meter at the local end.
Further optionally, the water supply method of the intelligent water meter further includes:
detecting the working attribute of the intelligent water meter at the home terminal;
when the detected working attribute does not meet the expectation, judging the fault of the intelligent water meter at the local end;
when the intelligent water meter is in fault, acquiring the unique identifier of the intelligent water meter at the home terminal;
the unique identifier and the unexpected operational attribute are sent to the server.
In one embodiment, the operational attributes of the intelligent water meter include, but are not limited to, leakage on/off, no water on/off, valve failure, low temperature risk, voltage anomaly, magnetic interference, reverse flow, etc., wherein:
and (3) leakage closing: after closing the valve, finding water flow and judging the working fault of the valve;
and (3) boiling without water: no water flow is found after the valve is opened, and the fault is regarded as a fault of the base meter;
failure of the valve: the valve driving current is abnormal and is regarded as a valve fault;
low temperature risk: an excessively low ambient temperature is considered as a freezing risk;
voltage abnormity: the power adapter is considered to be in failure if the power voltage is too high or too low;
magnetic interference: the sampling device is interfered by a magnetic field, and is regarded as an interference source;
countercurrent flow: and when the water flows backwards, the water meter is judged to be installed wrongly or have faults.
And when at least one of the working attributes is not in accordance with expectation (namely, a fault or a freezing risk occurs), judging the fault of the intelligent water meter at the local end, and sending the unique identifier of the intelligent water meter at the local end and the working attribute which is not in accordance with the expectation to the server for the server to send out a corresponding overhaul notice.
According to an example of this embodiment, the reference numerals of the steps S101 to S305 are not used to limit the sequence of the steps in this embodiment, and the number of each step is only used to make the reference numeral that refers to the step in common when describing each step conveniently, for example, the step S105 may be after the step S104 or before the step S104, as long as the order of execution of each step does not affect the logical relationship in this embodiment.
Fig. 4 is a block diagram illustrating an exemplary structure of a water supply apparatus of an intelligent water meter according to an embodiment of the present invention, and the following describes in detail the water supply apparatus of an intelligent water meter according to an embodiment of the present invention with reference to fig. 4, the water supply apparatus of the intelligent water meter corresponds to the water supply method of the intelligent water meter according to the above embodiment one by one, as shown in fig. 4, the water supply apparatus 100 of the intelligent water meter includes a determination module 11, an excess water amount obtaining module 12, an open valve control module 13, a close valve control module 14 and a communication module 15.
The judging module 11 is configured to, when receiving user information carrying a user identifier, judge whether the user identifier is bound to the local intelligent water meter;
a residual water amount obtaining module 12, configured to obtain a residual water amount corresponding to the user information when the user identifier is bound to the local intelligent water meter, where the residual water amount is stored in a memory in the local intelligent water meter;
the opening valve control module 13 is used for receiving a water taking instruction and controlling a water valve of the intelligent water meter to be opened when the residual water amount is greater than zero, and updating the residual water amount corresponding to the user identifier in real time;
the valve closing control module 14 is configured to control a water valve of the intelligent water meter to be closed when receiving an instruction to stop water taking or when the real-time updated remaining water amount is smaller than a preset remaining water threshold value, and store the real-time updated remaining water amount corresponding to the user identifier when the water valve is closed;
and the communication module 15 is configured to, if the current time is a preset communication time, report the user identifier for updating the surplus water in the period and the surplus water corresponding to the user identifier, which is stored when the water valve is closed, to the server, and obtain, from the server, all the user identifiers bound to the local intelligent water meter and the surplus water corresponding to each user identifier.
In one embodiment, the intelligent water meter at the local end and the server establish communication connection through the narrow-band internet of things NB-iot.
In one embodiment, the remaining water amount obtaining module 12 further includes:
the judging unit is used for judging whether the user identification is bound with the intelligent water meter of the home terminal;
the residual water amount obtaining module 12 is specifically configured to obtain a residual water amount corresponding to the user information, where the residual water amount is stored in a memory in the local intelligent water meter.
Further, the remaining water amount obtaining module 12 further includes:
a data sending unit, configured to send, to the server, request data for obtaining an amount of remaining water corresponding to the user identifier;
the data receiving unit is used for receiving response data which are fed back by the server and carry the residual water amount corresponding to the user identification;
the residual water amount obtaining module 12 is specifically configured to control a water valve of the intelligent water meter to be opened when the water getting instruction is received and the residual water amount carried in the response data is greater than zero, and update the residual water amount corresponding to the user identifier in real time.
In one embodiment, the water supply device 100 of the intelligent water meter further includes:
the Bluetooth module is used for sending request data for acquiring the residual water amount corresponding to the user identifier to the server when the user identifier is not bound with the intelligent water meter of the home terminal;
the first user information receiving unit is used for receiving the user information which is sent by the mobile terminal through Bluetooth and carries the user identification;
the first water getting instruction receiving unit is used for receiving the water getting instruction sent by the mobile terminal through Bluetooth;
and the first stop instruction receiving unit is used for receiving the instruction of stopping water taking sent by the mobile terminal through Bluetooth.
Optionally, the intelligent water meter is provided with a touch keyboard, and the water supply device 100 of the intelligent water meter further includes:
the second user information receiving unit is used for receiving the user information carrying the user identification through the touch keyboard;
the second water getting instruction receiving unit is used for receiving the water getting instruction through the touch keyboard;
and the second stop instruction receiving unit is used for receiving the instruction of stopping water taking through the touch keyboard.
In one embodiment, the water supply device 100 of the intelligent water meter further includes:
and the first fault judgment module is used for judging the communication fault of the intelligent water meter at the local end when the time interval between the current moment and the last moment for establishing the communication connection with the server is greater than a preset time threshold.
Further, the water supply device 100 of the intelligent water meter further includes:
the detection module is used for detecting the working attribute of the intelligent water meter at the home terminal;
the second fault judgment module is used for judging the fault of the intelligent water meter at the local end when the detected working attribute does not meet the expectation;
the identification acquisition module is used for acquiring the unique identifier of the intelligent water meter at the local end when the intelligent water meter is in fault;
and the sending module is used for sending the unique identifier and the unexpected working attribute to the server.
Wherein the meaning of "first" and "second" in the above modules/units is merely to distinguish two different modules/units, and is not used to define which pre-selected region is higher in priority or other defining meaning of the determining module. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or modules is not necessarily limited to those steps or modules explicitly listed, but may include other steps or modules not explicitly listed or inherent to such process, method, article, or apparatus, and such that a division of modules presented in this application is merely a logical division and may be implemented in a practical application in a further manner.
For specific limitations of the water supply device of the intelligent water meter, reference may be made to the above limitations of the water supply method of the intelligent water meter, and details thereof are not repeated here. All modules in the water supply device of the intelligent water meter can be completely or partially realized through software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent of a processor in the intelligent water meter, and can also be stored in a memory in the intelligent water meter in a software form, so that the processor can call and execute the corresponding operation of the modules.
Wherein, each module included in the water supply device of the intelligent water meter can be wholly or partially realized by software, hardware or the combination thereof. Further, each module in the water supply device of the intelligent water meter can be a program segment for realizing a corresponding function.
The water supply device of the intelligent water meter can be implemented in the form of a computer program, and the computer program can be run on the intelligent water meter as shown in fig. 5.
In one embodiment, an intelligent water meter is provided, which may be a terminal, and the internal structure thereof may be as shown in fig. 5. The intelligent water meter comprises a processor, a memory, a network interface, a display screen and an input device which are connected through a system bus. Wherein, the processor of this intelligent water gauge is used for providing calculation and control ability. The memory of the intelligent water meter comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the intelligent water meter is used for being connected and communicated with an external server through a network. The computer program is executed by the processor to realize a water supply method of the intelligent water meter.
In one embodiment, an intelligent water meter is provided, which comprises a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the water supply method of the intelligent water meter in the above-mentioned embodiments, such as the steps 101 to 105 shown in fig. 2 and other extensions of the method and related steps. Or, the processor executes the computer program to implement the functions of the modules/units of the water supply device of the intelligent water meter in the above embodiments, such as the functions of the modules 11 to 15 shown in fig. 4. To avoid repetition, further description is omitted here.
In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and the computer program is executed by a processor to implement the steps of the water supply method of the intelligent water meter in the above-mentioned embodiment, such as the steps 101 to 105 shown in fig. 2 and other extensions of the method and related steps. Alternatively, the computer program, when executed by the processor, implements the functions of the modules/units of the water supply device of the intelligent water meter in the above embodiments, such as the functions of the modules 11 to 15 shown in fig. 4. To avoid repetition, further description is omitted here.
The Processor may be a Central Processing Unit (CPU), other 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 device, discrete hardware component, etc. The general purpose processor may be a microprocessor or the processor may be any conventional processor or the like, the processor being the control center of the computer device and connected to the various parts of the overall intelligent water meter using various interfaces and lines.
The memory may be used to store the computer programs and/or modules, and the processor may implement various functions of the computer device by running or executing the computer programs and/or modules stored in the memory and invoking data stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, video data, etc.) created according to the use of the cellular phone, etc. In addition, the memory may include high speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other volatile solid state storage device.
The memory may be integrated in the processor or may be provided separately from the processor.
The intelligent water meter water supply method, the intelligent water meter and the storage medium provided by the embodiment bind the user identification with the intelligent water meter, on one hand, the user can select the intelligent water meter closest to the user to bind, the intelligent water meter is convenient for the user to use, on the other hand, the intelligent water meter only needs to store the residual water volume and the user information bound to the user of the intelligent water meter, so that the bound user can inquire and supply water to the bound user without real-time communication with a remote server, the communication condition of the intelligent water meter and the remote server is reduced, and the water supply response time of the intelligent water meter is prolonged. Meanwhile, in the embodiment, the intelligent water meter at the local end communicates with the server only when the preset communication time arrives, and the user can set the communication time of each intelligent water meter and the server through the preset communication time of different intelligent water meters, so that the maximum number of the intelligent water meters communicating with the server at the same time is controllable, the communication pressure between the intelligent water meters and the server at the same time is relieved, the response speed of the intelligent water meters is increased on the premise of ensuring the correct water consumption of the user, and the water waiting time of the user is shortened.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM), and includes instructions for causing an intelligent water meter to execute the method according to the embodiments of the present application.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A water supply method of an intelligent water meter is applied to the intelligent water meter and is characterized by comprising the following steps:
when receiving user information carrying a user identification, judging whether the user identification is bound with an intelligent water meter of a home terminal;
when the user identification is bound with the intelligent water meter of the home terminal, acquiring the residual water amount corresponding to the user information, wherein the residual water amount is stored in a memory in the intelligent water meter of the home terminal;
when a water taking instruction is received and the residual water amount is larger than zero, a water valve of the intelligent water meter is controlled to be opened, and the residual water amount corresponding to the user identification is updated in real time;
when an instruction of stopping water taking is received or the real-time updated residual water amount is smaller than a preset residual water threshold value, controlling a water valve of the intelligent water meter to be closed, and storing the real-time updated residual water amount corresponding to the user identifier when the water valve is closed;
if the current time is a preset communication time, reporting a user identifier for updating the surplus water in the period and the surplus water corresponding to the user identifier stored when the water valve is closed to a server, and acquiring all the user identifiers bound with the intelligent water meter of the local terminal and the surplus water corresponding to the user identifiers from the server.
2. The method of claim 1, further comprising:
when the user identification is not bound with the intelligent water meter at the home terminal, request data for acquiring the residual water amount corresponding to the user identification is sent to the server;
receiving response data which are fed back by the server and carry the residual water amount corresponding to the user identification;
and receiving a water taking instruction, controlling a water valve of the intelligent water meter to be opened when the residual water amount carried in the response data is larger than zero, and updating the residual water amount corresponding to the user identification in real time.
3. The method of claim 1, further comprising:
when the distance between a mobile terminal and the intelligent water meter is smaller than a preset value and the mobile terminal and the intelligent water meter are successfully paired, the intelligent water meter establishes wireless communication with the mobile terminal through Bluetooth;
receiving the user information carrying the user identification sent by the mobile terminal through Bluetooth;
receiving the water getting instruction sent by the mobile terminal through Bluetooth;
and receiving the instruction of stopping water taking sent by the mobile terminal through Bluetooth.
4. The method of claim 1, wherein the intelligent water meter is provided with a touch keypad, the method comprising:
receiving the user information carrying the user identification through the touch keyboard;
receiving the water getting instruction through the touch keyboard;
and receiving the instruction of stopping water taking through the touch keyboard.
5. The method according to any one of claims 1 to 4, further comprising:
the intelligent water meter at the home terminal is in communication connection with the server through the narrow-band Internet of things NB-iot.
6. The method of claim 5, further comprising:
and when the time between the current moment and the last moment when the communication connection is established with the server is longer than a preset time threshold, judging the communication fault of the intelligent water meter at the local end.
7. The method according to any one of claims 1 to 4, further comprising:
detecting the working attribute of the intelligent water meter at the home terminal;
when the detected working attribute does not meet the expectation, judging that the intelligent water meter at the home terminal has a fault;
when the intelligent water meter is in fault, acquiring a unique identifier of the intelligent water meter at the home terminal;
sending the unique identifier and the unexpected operational attribute to the server.
8. A water supply installation of intelligence water gauge, its characterized in that, the device includes:
the judging module is used for judging whether the user identification is bound with the intelligent water meter of the local terminal or not when receiving the user information carrying the user identification;
the residual water amount obtaining module is used for obtaining the residual water amount corresponding to the user information when the user identification is bound with the intelligent water meter of the home terminal, and the residual water amount is stored in a memory in the intelligent water meter of the home terminal;
the opening valve control module is used for controlling a water valve of the intelligent water meter to be opened and updating the residual water amount corresponding to the user identification in real time when a water taking instruction is received and the residual water amount is larger than zero;
the closing valve control module is used for controlling a water valve of the intelligent water meter to be closed when receiving an instruction of stopping water taking or the real-time updated residual water amount is smaller than a preset residual water threshold value, and storing the real-time updated residual water amount corresponding to the user identifier when the water valve is closed;
and the communication module is used for reporting the user identifier for updating the surplus water in the period and the surplus water corresponding to the user identifier saved when the water valve is closed to a server if the current time is a preset communication time, and acquiring all the user identifiers bound with the intelligent water meter at the local end and the surplus water corresponding to each user identifier from the server.
9. An intelligent water meter comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor when executing said program implements the method of supplying water to an intelligent water meter as claimed in any one of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored, wherein the program, when executed by a processor, implements the steps in the method of supplying water to an intelligent water meter according to any one of claims 1 to 7.
CN201911423323.0A 2019-12-31 2019-12-31 Water supply method and device for intelligent water meter, intelligent water meter and storage medium Active CN111107164B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911423323.0A CN111107164B (en) 2019-12-31 2019-12-31 Water supply method and device for intelligent water meter, intelligent water meter and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911423323.0A CN111107164B (en) 2019-12-31 2019-12-31 Water supply method and device for intelligent water meter, intelligent water meter and storage medium

Publications (2)

Publication Number Publication Date
CN111107164A true CN111107164A (en) 2020-05-05
CN111107164B CN111107164B (en) 2021-09-07

Family

ID=70426659

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911423323.0A Active CN111107164B (en) 2019-12-31 2019-12-31 Water supply method and device for intelligent water meter, intelligent water meter and storage medium

Country Status (1)

Country Link
CN (1) CN111107164B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113709593A (en) * 2021-07-21 2021-11-26 深圳市敏泰智能科技有限公司 Method and system for uploading data by staggering peaks of NB-Iot intelligent water meter and NB-Iot intelligent water meter
CN114333158A (en) * 2021-12-28 2022-04-12 三川智慧科技股份有限公司 Method and device for controlling water consumption by intelligent water meter
CN117146941A (en) * 2023-10-27 2023-12-01 成都秦川物联网科技股份有限公司 Ultrasonic metering instrument fault monitoring method, device and equipment based on Internet of things

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150130630A1 (en) * 2010-03-02 2015-05-14 Christopher Scott Outwater Method and apparatus for finding and accessing a vehicle fueling station and for reporting data from remote sensors
CN104916104A (en) * 2015-05-20 2015-09-16 成都秦川科技发展有限公司 Intelligent water meter wireless communication and control method
CN105222845A (en) * 2015-09-16 2016-01-06 成都易信达科技股份有限公司 Intellectual water meter
CN105719457A (en) * 2016-02-01 2016-06-29 深圳市智水小荷技术有限公司 Intelligent water meter communication method based on Internet of Things
CN106504499A (en) * 2016-11-23 2017-03-15 湖南威铭能源科技有限公司 Civilian wireless watermeter meter register method
CN107170128A (en) * 2017-05-31 2017-09-15 新智数字科技有限公司 A kind of gauge table control method, apparatus and system
CN107290019A (en) * 2017-06-22 2017-10-24 武汉宽泛能源科技有限公司 A kind of wireless watermeter system based on GSM
CN108717760A (en) * 2018-08-14 2018-10-30 广东校园卫士网络科技有限责任公司 A kind of Intelligent campus payment management system and method
CN109443472A (en) * 2018-12-27 2019-03-08 山东汘沄智能科技有限公司 A kind of intelligent water meter system
CN109738044A (en) * 2019-01-09 2019-05-10 广西上善若水发展有限公司 A kind of Internet of Things water meter online monitoring and management system and its control method
CN209248590U (en) * 2018-12-25 2019-08-13 周学东 A kind of intelligent water-controlled barcode scanning charging system

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150130630A1 (en) * 2010-03-02 2015-05-14 Christopher Scott Outwater Method and apparatus for finding and accessing a vehicle fueling station and for reporting data from remote sensors
CN104916104A (en) * 2015-05-20 2015-09-16 成都秦川科技发展有限公司 Intelligent water meter wireless communication and control method
CN105222845A (en) * 2015-09-16 2016-01-06 成都易信达科技股份有限公司 Intellectual water meter
CN105719457A (en) * 2016-02-01 2016-06-29 深圳市智水小荷技术有限公司 Intelligent water meter communication method based on Internet of Things
CN106504499A (en) * 2016-11-23 2017-03-15 湖南威铭能源科技有限公司 Civilian wireless watermeter meter register method
CN107170128A (en) * 2017-05-31 2017-09-15 新智数字科技有限公司 A kind of gauge table control method, apparatus and system
CN107290019A (en) * 2017-06-22 2017-10-24 武汉宽泛能源科技有限公司 A kind of wireless watermeter system based on GSM
CN108717760A (en) * 2018-08-14 2018-10-30 广东校园卫士网络科技有限责任公司 A kind of Intelligent campus payment management system and method
CN209248590U (en) * 2018-12-25 2019-08-13 周学东 A kind of intelligent water-controlled barcode scanning charging system
CN109443472A (en) * 2018-12-27 2019-03-08 山东汘沄智能科技有限公司 A kind of intelligent water meter system
CN109738044A (en) * 2019-01-09 2019-05-10 广西上善若水发展有限公司 A kind of Internet of Things water meter online monitoring and management system and its control method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
丁立兵等: "基于ZigBee智能水表", 《科学技术创新》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113709593A (en) * 2021-07-21 2021-11-26 深圳市敏泰智能科技有限公司 Method and system for uploading data by staggering peaks of NB-Iot intelligent water meter and NB-Iot intelligent water meter
CN113709593B (en) * 2021-07-21 2024-05-10 深圳市敏泰智能科技有限公司 Method and system for uploading data by shifting peaks of NB-Iot intelligent water meter and NB-Iot intelligent water meter
CN114333158A (en) * 2021-12-28 2022-04-12 三川智慧科技股份有限公司 Method and device for controlling water consumption by intelligent water meter
CN117146941A (en) * 2023-10-27 2023-12-01 成都秦川物联网科技股份有限公司 Ultrasonic metering instrument fault monitoring method, device and equipment based on Internet of things

Also Published As

Publication number Publication date
CN111107164B (en) 2021-09-07

Similar Documents

Publication Publication Date Title
CN111107164B (en) Water supply method and device for intelligent water meter, intelligent water meter and storage medium
CN109992310A (en) Application program keepalive method, device, computer equipment and storage medium
US20170046884A1 (en) Personal vehicle diagnosis system and method based on mobile intelligent terminal
Moldovan et al. Energy-aware mobile learning: Opportunities and challenges
CN110888662A (en) Vehicle remote silent upgrading method and device, vehicle and storage medium
CN106790523B (en) A kind of information push method and server
CN108469792A (en) Intelligent home furnishing control method, device, computer equipment and readable storage medium storing program for executing
CN104584621A (en) Mixed off-site / on-site prediction computation for reducing wireless reconnection time of a computing device
CN108646146A (en) Distribution wire On-line Fault monitoring method and terminal device
US10382922B2 (en) Distributed testing of wireless networks
CN106445072A (en) Method and device for reducing power consumption of mobile terminal and mobile terminal
CN108021382A (en) A kind of embedded device remote update system, method and embedded device
CN104753996A (en) Remote hosting system, method and device for mobile terminal
CN104699502A (en) Application recommendation method and terminal
CN110474812A (en) Sample rate self-adapting regulation method and device
CN105578310A (en) Smart TV remote control method and device based on websocket protocol
CN102130995B (en) Data transmission method for intelligent mobile phone information in Android system
CN108173725A (en) Apparatus control method, device, terminal and computer readable storage medium
CN104410550A (en) Web service monitoring method and web service monitoring device
CN108848249A (en) Incoming display method, mobile terminal and storage medium based on double screen
CN109951308A (en) A kind of method for configuring routers, device and storage medium
CN105262890A (en) Information update control system and method for applications on portable electronic device
CN208188814U (en) A kind of embedded device and its remote update system
CN107566480A (en) The user activity information acquisition method and device, storage medium of mobile terminal application
CN104168145B (en) A kind of system and method that radio upgrade is carried out to wireless communication unit

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
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20200505

Assignee: Hangzhou Xingyang Information Technology Co.,Ltd.

Assignor: Shenzhen haoshidai Energy Technology Co.,Ltd.

Contract record no.: X2021440020010

Denomination of invention: Water supply method and device of intelligent water meter, intelligent water meter and storage medium

Granted publication date: 20210907

License type: Common License

Record date: 20211013

EE01 Entry into force of recordation of patent licensing contract