CN114257883A - NB-IoT water meter daily freezing data reporting method and NB-IoT water meter - Google Patents

NB-IoT water meter daily freezing data reporting method and NB-IoT water meter Download PDF

Info

Publication number
CN114257883A
CN114257883A CN202111310468.7A CN202111310468A CN114257883A CN 114257883 A CN114257883 A CN 114257883A CN 202111310468 A CN202111310468 A CN 202111310468A CN 114257883 A CN114257883 A CN 114257883A
Authority
CN
China
Prior art keywords
data
daily
water meter
iot
days
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.)
Pending
Application number
CN202111310468.7A
Other languages
Chinese (zh)
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 Mintai Intelligent Technology Co ltd
Original Assignee
Shenzhen Mintai Intelligent 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 Mintai Intelligent Technology Co ltd filed Critical Shenzhen Mintai Intelligent Technology Co ltd
Priority to CN202111310468.7A priority Critical patent/CN114257883A/en
Publication of CN114257883A publication Critical patent/CN114257883A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q9/00Arrangements in telecontrol or telemetry systems for selectively calling a substation from a main station, in which substation desired apparatus is selected for applying a control signal thereto or for obtaining measured values therefrom
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2209/00Arrangements in telecontrol or telemetry systems
    • H04Q2209/60Arrangements in telecontrol or telemetry systems for transmitting utility meters data, i.e. transmission of data from the reader of the utility meter
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2209/00Arrangements in telecontrol or telemetry systems
    • H04Q2209/80Arrangements in the sub-station, i.e. sensing device
    • H04Q2209/82Arrangements in the sub-station, i.e. sensing device where the sensing device takes the initiative of sending data
    • H04Q2209/826Arrangements in the sub-station, i.e. sensing device where the sensing device takes the initiative of sending data where the data is sent periodically

Abstract

The invention relates to an NB-IoT water meter daily freezing data reporting method and an NB-IoT water meter. The method comprises the following steps: acquiring and storing daily freezing data of each day, and recording the number of days of the freezing data; and if the number of days for freezing the data reaches a preset number of days, uploading the freezing data of all days to a server, wherein the preset number of days is at least two days. According to the invention, the daily freezing data is temporarily stored on the water meter, and is sent to the server after the preset number of days is reached, so that the use times of the NB-IoT communication module are reduced, the battery power consumption is reduced, and the management and maintenance cost is reduced.

Description

NB-IoT water meter daily freezing data reporting method and NB-IoT water meter
Technical Field
The invention relates to the field of NB-IoT water meters, in particular to an NB-IoT water meter daily freezing data reporting method and an NB-IoT water meter.
Background
The existing NB-IoT intelligent water meter adopts a daily data reporting mode, namely daily frozen data are acquired every day and are immediately uploaded to a server, daily data reporting storage is not carried out, and battery power is consumed for data uploading every time because an NB-IoT communication module is used for data reporting every time. However, the inventor finds that in the actual use process, most application scenarios do not need to report daily frozen data every day, statistics may be performed once a week or a month, and the current data reporting mode every day causes the battery power consumption to be too fast, the battery needs to be replaced frequently, and the management and maintenance cost is increased.
Disclosure of Invention
The technical problem to be solved by the present invention is to provide an NB-IoT water meter daily frozen data reporting method and an NB-IoT water meter, aiming at the above-mentioned defects in the prior art.
The technical scheme adopted by the invention for solving the technical problems is as follows: a method for reporting daily freezing data of an NB-IoT water meter is constructed, and comprises the following steps:
acquiring and storing daily freezing data of each day, and recording the number of days of the freezing data;
and if the number of days for freezing the data reaches a preset number of days, uploading all the day freezing data to a server, wherein the preset number of days is at least two days.
Further, in the method for reporting daily frozen data of an NB-IoT water meter according to the present invention, the uploading all the daily frozen data to a server includes:
and starting an NB-IoT communication module of the NB-IoT water meter, uploading all the daily freezing data to a server, and closing the NB-IoT communication module after transmission is finished.
Further, in the method for reporting daily frozen data of an NB-IoT water meter according to the present invention, the uploading all the daily frozen data to a server includes: and packaging all the daily frozen data and uploading the daily frozen data to a server.
Further, in the method for reporting daily frozen data of an NB-IoT water meter according to the present invention, the uploading all the daily frozen data to a server includes: and uploading all the daily freezing data and the storage time corresponding to each piece of daily freezing data to a server.
Further, in the method for reporting daily frozen data of an NB-IoT water meter according to the present invention, the uploading all the daily frozen data to a server includes: and uploading all the daily freezing data and the water meter addresses to a server.
Further, in the method for reporting daily frozen data of an NB-IoT water meter according to the present invention, the uploading all the daily frozen data to a server includes:
and uploading all the daily freezing data, the water meter address and the storage time corresponding to each piece of daily freezing data to a server.
Further, in the method for reporting daily frozen data of an NB-IoT water meter according to the present invention, after uploading all the daily frozen data to a server, the method further includes:
clearing all the daily freezing data stored in the NB-IoT water meter.
Further, in the method for reporting daily frozen data of an NB-IoT water meter according to the present invention, after uploading all the daily frozen data to a server, the method further includes:
the frozen data days are zeroed.
Further, the method for reporting the daily frozen data of the NB-IoT water meter further comprises the following steps:
and receiving a parameter setting instruction, and setting the preset days according to the parameter setting instruction.
In addition, the invention also provides an NB-IoT water meter, which comprises a memory and a processor;
the memory has stored therein a computer program;
the processor executes the steps of the NB-IoT water meter daily frozen data reporting method by calling the computer program stored in the memory.
The implementation of the NB-IoT water meter daily freezing data reporting method and the NB-IoT water meter has the following beneficial effects: according to the invention, the daily freezing data is temporarily stored on the water meter, and is sent to the server after the preset number of days is reached, so that the use times of the NB-IoT communication module are reduced, the battery power consumption is reduced, and the management and maintenance cost is reduced.
Drawings
The invention will be further described with reference to the accompanying drawings and examples, in which:
fig. 1 is a flowchart of a method for reporting daily frozen data of an NB-IoT water meter according to an embodiment of the present invention;
fig. 2 is a flowchart of a method for reporting daily frozen data of an NB-IoT water meter according to an embodiment of the present invention;
fig. 3 is a flowchart of a method for reporting daily frozen data of an NB-IoT water meter according to an embodiment of the present invention.
Detailed Description
For a more clear understanding of the technical features, objects and effects of the present invention, embodiments of the present invention will now be described in detail with reference to the accompanying drawings.
In a preferred embodiment, referring to fig. 1, the NB-IoT water meter daily frozen data reporting method of the present embodiment is applied to an NB-IoT water meter, where the NB-IoT water meter refers to an intelligent water meter using NB-IoT (Narrow Band Internet of Things, NB-IoT) communication technology, and the NB-IoT communication technology may refer to the prior art and is not described herein again. Specifically, the NB-IoT water meter daily freezing data reporting method comprises the following steps:
and S1, acquiring and storing daily frozen data, and recording the number of days of the frozen data. Specifically, the NB-IoT water meter acquires data to be counted every day, and stores the data to be counted as daily freezing data into a storage unit of the NB-IoT water meter. Optionally, the NB-IoT water meter acquires data to be counted at a preset time point every day, and stores the data to be counted as daily freezing data into a storage unit of the NB-IoT water meter. And the NB-IoT water meter records the number of days of frozen data after the day frozen data is stored, and the number of days of frozen data is increased by one day when the day frozen data is stored once.
And S2, if the number of days for freezing the data reaches a preset number of days, uploading all day freezing data to a server, wherein the preset number of days is at least two days. Specifically, the NB-IoT water meter judges whether the number of days of frozen data reaches a preset number of days after the number of days of frozen data is updated every time, if the number of days of frozen data does not reach the preset number of days, daily frozen data of each day is continuously acquired and stored, and meanwhile, the number of days of updating frozen data is recorded; and if the number of days for freezing the data reaches the preset number of days, reading all the day freezing data which are stored in the storage unit and are not uploaded, and uploading all the day freezing data to the server. The preset number of days is set by the user, and the preset number of days is at least two days, for example, 7 days, 10 days, 30 days, etc. can be selected. It can be understood that the data volume of the daily frozen data is small, and even if the daily frozen data is accumulated for multiple days, the daily frozen data does not occupy more storage space, and the uploading time at one time is not obviously prolonged. That is to say, the daily frozen data accumulated for multiple days does not consume excessive power when being uploaded once, and the number of times of starting the NB-IoT communication module can be reduced by times when the data is uploaded once every multiple days, so that the power consumption of the NB-IoT communication module is reduced by times. Considering that the NB-IoT communication module is an important power consumption module of the NB-IoT water meter, the service life of the battery can be prolonged by times after the electric quantity of the NB-IoT communication module is reduced by times, so that the battery replacement times are reduced, and the management and maintenance cost is reduced.
Alternatively, before step S1, the method further includes the steps of: and the NB-IoT water meter receives the parameter setting instruction, sets preset days according to the parameter setting instruction, and completes the initial setting of the NB-IoT water meter. In the subsequent use process, the user can also adjust the preset days according to the needs, the NB-IoT water meter receives the parameter setting instruction when the preset days are adjusted, the preset days are set according to the parameter setting instruction, the adjustment of the preset days of the NB-IoT water meter is completed, and different user requirements are met.
According to the embodiment, the day freezing data is temporarily stored on the water meter, and the day freezing data is sent to the server after the preset number of days is reached, so that the use times of the NB-IoT communication module are reduced, the power consumption of the battery is reduced, and the management and maintenance cost is reduced.
In the NB-IoT water meter daily frozen data reporting method according to some embodiments, the NB-IoT water meter is connected to the server through the NB-IoT communication module, and in order to reduce power consumption, the NB-IoT communication module is in an off state when data transmission is not required, and is turned on when daily frozen data is required to be uploaded. The working state of the NB-IoT communication module is controlled by judging whether the number of days for freezing data reaches the preset number of days. If the number of days for freezing the data does not reach the preset number of days, the NB-IoT communication module is in a closed state; and if the number of days for freezing the data reaches the preset number of days, automatically starting the NB-IoT communication module of the NB-IoT water meter, uploading all day freezing data to the server, and automatically closing the NB-IoT communication module after transmission is finished. According to the embodiment, the NB-IoT communication module is started when the day frozen data needs to be uploaded, and the NB-IoT communication module is automatically closed after the transmission is completed, so that the power consumption of the NB-IoT communication module can be reduced to the greatest extent.
In the NB-IoT water meter daily frozen data reporting method according to some embodiments, two uploading methods may be used when uploading all the daily frozen data: one uploading method is to upload after reading the frozen data of one day, and then read and upload the frozen data of the next day after uploading until all the frozen data of the day are uploaded to the server. And the other uploading mode is that all the daily frozen data are read at one time, and the daily frozen data are packaged and uploaded to the server, namely all the non-uploaded daily frozen data are packaged into a data packet, and the data packet is uploaded to the server.
In some embodiments of the NB-IoT water meter daily frozen data reporting method, when daily frozen data is acquired and stored in step S1, the storage time corresponding to each piece of daily frozen data is acquired and stored at the same time, and when stored, each piece of daily frozen data and the storage time corresponding to each piece of daily frozen data are stored as the same piece of data. When all the day frozen data are uploaded to the server, the storage time corresponding to all the day frozen data and each piece of day frozen data in the storage unit is read, and the storage time corresponding to all the day frozen data and each piece of day frozen data are uploaded to the server.
In some embodiments of the NB-IoT water meter daily frozen data reporting method, when daily frozen data is acquired and stored in step S1, a water meter address corresponding to each piece of daily frozen data is acquired and stored at the same time, and when stored, each piece of daily frozen data and its corresponding water meter address are stored as the same data. When all the day freezing data are uploaded to the server, all the day freezing data in the storage unit and the water meter address corresponding to each day freezing data are read, and all the day freezing data and the water meter address corresponding to each day freezing data are uploaded to the server. Considering that the water meter address of each water meter is fixed, in order to reduce the data storage amount, it is optional not to store the water meter address when the daily frozen data is stored, but to acquire the water meter address only when all the daily frozen data is uploaded to the server.
In some embodiments of the NB-IoT water meter daily frozen data reporting method, when daily frozen data is acquired and stored in step S1, a water meter address and a storage time corresponding to each piece of daily frozen data are acquired and stored at the same time, and when the daily frozen data is stored, each piece of daily frozen data and its corresponding water meter address and storage time are stored as the same data. When all the day freezing data are uploaded to the server, the water meter addresses and the storage time corresponding to all the day freezing data and each piece of day freezing data in the storage unit are read, and all the day freezing data, the water meter addresses and the storage time corresponding to each piece of day freezing data are uploaded to the server. Considering that the water meter address of each water meter is fixed, in order to reduce the data storage amount, it is optional not to store the water meter address when the daily frozen data is stored, but to acquire the water meter address only when all the daily frozen data is uploaded to the server.
In the NB-IoT water meter daily frozen data reporting method according to some embodiments, with reference to fig. 2, after uploading all daily frozen data to the server, the method further includes the steps of: and S3, clearing all the day freezing data stored in the NB-IoT water meter. Specifically, the preset number of days is a data uploading period, the daily frozen data is acquired and stored every day in the whole data uploading period, and all the daily frozen data are uploaded to the server when the data uploading period is finished. In order to avoid occupying the storage space of the NB-IoT water meter storage unit, all the daily frozen data stored in the NB-IoT water meter are cleared after all the daily frozen data are uploaded to the server, and then the next new data uploading period is carried out.
In the NB-IoT water meter daily frozen data reporting method according to some embodiments, referring to fig. 3, after uploading all daily frozen data to the server, the method further includes the steps of: and S4, zeroing the days of the frozen data. Specifically, the preset number of days is a data uploading period, the NB-IoT water meter records the number of days of frozen data after the frozen data of the day is stored in the whole data uploading period, and the number of days of frozen data is correspondingly increased by one day when the frozen data of the day is stored every time. And uploading all the frozen data to the server at the end of the data uploading period, and after uploading all the frozen data to the server, resetting the number of the frozen data days to zero, namely recording the number of the frozen data days from zero again, and further carrying out the next new data uploading period.
In a preferred embodiment, the NB-IoT water meter of the present embodiment includes a memory having a computer program stored therein and a processor. The processor executes the steps of the NB-IoT water meter daily frozen data reporting method according to the above embodiment by calling the computer program stored in the memory. The NB-IoT water meter of the embodiment temporarily stores the daily freezing data on the water meter, and the daily freezing data are sent to the server after the preset number of days is reached, so that the use times of the NB-IoT communication module are reduced, and the battery power consumption is reduced.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. 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 steps of a method or algorithm described in connection with the embodiments 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 Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The above embodiments are merely illustrative of the technical ideas and features of the present invention, and are intended to enable those skilled in the art to understand the contents of the present invention and implement the present invention, and not to limit the scope of the present invention. All equivalent changes and modifications made within the scope of the claims of the present invention should be covered by the claims of the present invention.

Claims (10)

1. A method for reporting daily frozen data of an NB-IoT water meter is characterized by comprising the following steps:
acquiring and storing daily freezing data of each day, and recording the number of days of the freezing data;
and if the number of days for freezing the data reaches a preset number of days, uploading all the day freezing data to a server, wherein the preset number of days is at least two days.
2. The NB-IoT water meter daily frozen data reporting method according to claim 1, wherein the uploading all the daily frozen data to a server comprises:
and starting an NB-IoT communication module of the NB-IoT water meter, uploading all the daily freezing data to a server, and closing the NB-IoT communication module after transmission is finished.
3. The NB-IoT water meter daily frozen data reporting method according to claim 1, wherein the uploading all the daily frozen data to a server comprises: and packaging all the daily frozen data and uploading the daily frozen data to a server.
4. The NB-IoT water meter daily frozen data reporting method according to claim 1, wherein the uploading all the daily frozen data to a server comprises: and uploading all the daily freezing data and the storage time corresponding to each piece of daily freezing data to a server.
5. The NB-IoT water meter daily frozen data reporting method according to claim 1, wherein the uploading all the daily frozen data to a server comprises: and uploading all the daily freezing data and the water meter addresses to a server.
6. The NB-IoT water meter daily frozen data reporting method according to claim 1, wherein the uploading all the daily frozen data to a server comprises:
and uploading all the daily freezing data, the water meter address and the storage time corresponding to each piece of daily freezing data to a server.
7. The NB-IoT water meter daily frozen data reporting method according to claim 1, further comprising, after uploading all the daily frozen data to a server, the steps of:
clearing all the daily freezing data stored in the NB-IoT water meter.
8. The NB-IoT water meter daily frozen data reporting method according to claim 1, further comprising, after uploading all the daily frozen data to a server, the steps of:
the frozen data days are zeroed.
9. The NB-IoT water meter daily freeze data reporting method according to claim 1, further comprising the steps of:
and receiving a parameter setting instruction, and setting the preset days according to the parameter setting instruction.
10. An NB-IoT water meter comprising a memory and a processor;
the memory has stored therein a computer program;
the processor executes the steps of the NB-IoT water meter daily freeze data reporting method according to any of claims 1 to 9 by calling the computer program stored in the memory.
CN202111310468.7A 2021-11-05 2021-11-05 NB-IoT water meter daily freezing data reporting method and NB-IoT water meter Pending CN114257883A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111310468.7A CN114257883A (en) 2021-11-05 2021-11-05 NB-IoT water meter daily freezing data reporting method and NB-IoT water meter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111310468.7A CN114257883A (en) 2021-11-05 2021-11-05 NB-IoT water meter daily freezing data reporting method and NB-IoT water meter

Publications (1)

Publication Number Publication Date
CN114257883A true CN114257883A (en) 2022-03-29

Family

ID=80790603

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111310468.7A Pending CN114257883A (en) 2021-11-05 2021-11-05 NB-IoT water meter daily freezing data reporting method and NB-IoT water meter

Country Status (1)

Country Link
CN (1) CN114257883A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107492246A (en) * 2017-08-21 2017-12-19 宁波德晶元科技有限公司 A kind of Internet of Things single-site data acquisition method and device
CN107613525A (en) * 2017-09-21 2018-01-19 新智数字科技有限公司 Report method of avoiding the peak hour, device and electronic equipment based on gauge table
CN108667870A (en) * 2017-03-30 2018-10-16 华为技术有限公司 A kind of methods, devices and systems that IoT data report
CN109088867A (en) * 2018-08-08 2018-12-25 浙江天地人科技有限公司 A method of reducing data and uploads the connection frequency
CN110260943A (en) * 2019-07-26 2019-09-20 山东汘沄智能科技有限公司 A kind of low power-consumption intelligent wireless remote transmission working method
CN112150783A (en) * 2020-08-10 2020-12-29 上海有间建筑科技有限公司 Smart factory cloud meter reading system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108667870A (en) * 2017-03-30 2018-10-16 华为技术有限公司 A kind of methods, devices and systems that IoT data report
CN107492246A (en) * 2017-08-21 2017-12-19 宁波德晶元科技有限公司 A kind of Internet of Things single-site data acquisition method and device
CN107613525A (en) * 2017-09-21 2018-01-19 新智数字科技有限公司 Report method of avoiding the peak hour, device and electronic equipment based on gauge table
CN109088867A (en) * 2018-08-08 2018-12-25 浙江天地人科技有限公司 A method of reducing data and uploads the connection frequency
CN110260943A (en) * 2019-07-26 2019-09-20 山东汘沄智能科技有限公司 A kind of low power-consumption intelligent wireless remote transmission working method
CN112150783A (en) * 2020-08-10 2020-12-29 上海有间建筑科技有限公司 Smart factory cloud meter reading system

Similar Documents

Publication Publication Date Title
US10949112B2 (en) Data push method and device, storage medium, and electronic device
ES2766267T3 (en) Fractional pre-delivery of content to user devices
US8126517B2 (en) Mobile telecommunications device
CN105302478B (en) A kind of date storage method and electronic equipment
CN110351431B (en) Sleep mode setting method, user terminal and computer readable storage medium
CN106502768A (en) A kind of applied program processing method, device, terminal and server
US20200074003A1 (en) System and method for updating upload-period of apparatus data
WO2011042903A1 (en) Computer network service providing system including self adjusting volume enforcement functionality
CN102340789A (en) Dialing test terminal and dialing test method
CN108073349A (en) The transmission method and device of data
CN109614447A (en) A kind of intelligent electric meter divides the storage method, querying method and device of freezing data
CN114257883A (en) NB-IoT water meter daily freezing data reporting method and NB-IoT water meter
WO2015148406A1 (en) Controlling the pre-delivery of content to a mobile device
CN103828378A (en) Content delivering system, cache server, and content delivering method
US11063448B2 (en) Methods and system for dynamically modifying charging settings for a battery assembly
CN111143239A (en) Frozen electric quantity data compression storage method and decompression method for intelligent electric meter
CN107895588A (en) Estimate the method, apparatus and equipment of the residual life time of SSD disks
Shoukry et al. Proactive scheduling for content pre-fetching in mobile networks
CN102387260A (en) Method and system for determining dropped call rate
CN112100143B (en) File compression storage method, device, equipment and storage medium
CN116126859A (en) Data management method and device, electronic equipment and storage medium
CN112419698B (en) Electric energy meter data transmission method, system and device based on distribution line message specification
CN115686362A (en) Data freezing method of intelligent electric meter
CN111654886B (en) Method and device for limiting user bandwidth
CN110138037B (en) Method and device for reminding user of charging, wearable device and storage medium

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