CN111491011A - Gas meter data storage method, gas meter anti-death method and gas meter system - Google Patents

Gas meter data storage method, gas meter anti-death method and gas meter system Download PDF

Info

Publication number
CN111491011A
CN111491011A CN202010226682.3A CN202010226682A CN111491011A CN 111491011 A CN111491011 A CN 111491011A CN 202010226682 A CN202010226682 A CN 202010226682A CN 111491011 A CN111491011 A CN 111491011A
Authority
CN
China
Prior art keywords
gas meter
period
gas
meter
metering
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
CN202010226682.3A
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.)
Xiamen Cheerzing Technology Co ltd
Original Assignee
Xiamen Cheerzing 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 Xiamen Cheerzing Technology Co ltd filed Critical Xiamen Cheerzing Technology Co ltd
Priority to CN202010226682.3A priority Critical patent/CN111491011A/en
Publication of CN111491011A publication Critical patent/CN111491011A/en
Pending legal-status Critical Current

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/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
    • 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/02Compensating or correcting for variations in pressure, density or temperature
    • G01F15/04Compensating or correcting for variations in pressure, density or temperature of gases to be measured
    • 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

Landscapes

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

Abstract

A gas meter data storage method, a gas meter anti-death method and a gas meter system are provided. The gas meter data storage method comprises the following steps: measuring periods, wherein the duration of each measuring period is set duration; the single-period usage is the difference value between the total gas consumption of the gas meter at the end of one metering period and the beginning of the metering period; the single-period storage time is the end time of the metering period; and when each metering period is finished, associating the single-period usage and the single-period storage time as usage two-dimensional data for storage. The gas meter data storage method improves data storage efficiency and direct application convenience of stored data.

Description

Gas meter data storage method, gas meter anti-death method and gas meter system
Technical Field
The invention relates to the field of measuring gas consumption of gas, in particular to a gas meter data storage method, a gas meter anti-death method and a gas meter system.
Background
With the development of society, the use demand of gas increases year by year. The gas consumption statistics of the gas is the basic function of the gas meter.
With the rapid development of intelligent gas meters, the traditional communication modes such as GPRS and the like cannot meet the needs of the times, and the development and popularization of narrowband internet of things (NB-IoT) in the field of intelligent meters are faster and faster. The narrow-band internet of things has the advantages of wide coverage, large connection quantity, low power consumption, low cost and the like, and is a preferred technology of a new generation of intelligent gas meters.
However, despite the advantages of the narrowband internet of things over the prior art, problems are encountered in some aspects and research and improvement is needed. For example, a gas meter accumulates periodically measured gas consumption data, and transmits the gas consumption data to a center according to the time managed by a timer or a trigger from a server center.
Disclosure of Invention
The invention aims to provide a gas meter data storage method, a gas meter dead-meter prevention method and a gas meter system, which improve the data storage efficiency and the direct application convenience of stored data, solve the problem of dead-meter faults of the gas meter and enable the gas meter system to have better functions.
In order to solve the above problems, the present invention provides a gas meter data storage method, including: measuring periods, wherein the duration of each measuring period is set duration; the single-period usage is the difference value between the total gas consumption of the gas meter at the end of one metering period and the beginning of the metering period; the single-period storage time is the end time of the metering period; and when each metering period is finished, associating the single-period usage and the single-period storage time as usage two-dimensional data for storage.
Optionally, the set time period is half a day, one day or two days.
Optionally, in one metering cycle, if the total gas consumption of the gas meter is corrected, the corrected total gas consumption of the gas meter is used as a correction value, and the time of correction is used as a correction time; updating the correction value to a storage unit and a display unit of the gas meter; reporting the correction value to a server through a communication unit of the gas meter; and associating the correction value and the correction time as correction two-dimensional data and storing the correction two-dimensional data.
In order to solve the above problems, the present invention further provides a dead meter prevention method for a gas meter, including: measuring periods, wherein the duration of each measuring period is set duration; the single-period usage is the difference value between the total gas consumption of the gas meter at the end of one metering period and the beginning of the metering period; the single-period storage time is the ending time of the metering period and is also the time for data storage; when each metering cycle is finished, associating the single-period usage and the single-period storage time as usage two-dimensional data, and storing the usage two-dimensional data; and for one metering period, if the single-period usage is zero, starting an anti-death table step.
Optionally, the anti-deadlock table step includes: within N continuous metering periods, if the total gas consumption data changes, ending the anti-death list step; on the contrary, in N continuous metering periods, if the total gas consumption data is not changed, the gas valve is closed, data is reported to the server, and the permission of the user for opening the gas valve is reserved; wherein N is an integer of 2 or more.
Optionally, the anti-deadlock table further includes: and after the gas valve is closed, when the gas valve is detected to be opened again by a user, starting an anti-death list grading step.
Optionally, the anti-death table ranking step includes: in M continuous metering periods, if the total gas consumption data changes, ending the anti-death list grading step; on the contrary, in the M continuous metering periods, if the total gas consumption data is not changed, the gas valve is closed, data is reported to the server, and the permission of the user for opening the gas valve is closed; wherein M is an integer of 2 or more.
Optionally, the set time period is half a day, one day or two days.
Optionally, in the metering period, if the total gas consumption of the gas meter is corrected, the corrected total gas consumption of the gas meter is used as a correction value, and the time of correction is used as a correction time; updating the correction value to a storage unit and a display unit of the gas meter; reporting the correction value to a server through a communication unit of the gas meter; and associating the correction value and the correction time as correction two-dimensional data and storing the correction two-dimensional data.
In order to solve the above problems, the present invention further provides a gas meter system, which is applied to the gas meter data storage method or the gas meter anti-dead-meter method, wherein the gas meter system includes a microcontroller, a NBIOT chip, a pulse metering module and a valve module, the pulse metering module is in communication connection with the microcontroller, the valve module is connected with the NBIOT chip, the NBIOT chip has a storage unit therein, and the NBIOT chip is connected with the microcontroller and a server.
In one aspect of the technical scheme, the invention provides a gas meter data storage method, which adopts a two-dimensional storage method of single-term storage time and single-term usage, and can greatly improve the storage data volume under the condition that the gas meter is usually limited in storage space; the flexible and effective data storage method improves the efficiency of data query, ensures that the required information can be efficiently, quickly and accurately queried through data query in the follow-up process, improves the direct application convenience of the stored data, and simultaneously ensures that the power consumption of the equipment is reduced to the optimum; in addition, the large data storage volume of the storage method also provides more reliable use data for inquiry.
Further, in another aspect of the technical scheme of the present invention, a dead-meter prevention method for a gas meter is provided, which can determine whether a dead-meter prevention fault occurs in the gas meter by using corresponding data in a data storage process, and the corresponding method facilitates processing and analysis of a dead-meter prevention unit (cell), so as to better prevent the dead-meter failure from occurring in the gas meter, and enable the gas meter to have a good dead-meter prevention function.
Drawings
Fig. 1 is a scene flow chart of a method for preventing a dead meter of a gas meter in an embodiment of the invention;
fig. 2 is a schematic structural diagram of a gas meter system in the embodiment of the present invention.
Detailed Description
For a more clear presentation, the invention is described in detail below with reference to the accompanying drawings.
The embodiment of the invention provides a gas meter data storage method, which comprises the following steps:
measuring periods, wherein the duration of each measuring period is set duration;
the single-period usage is the difference value between the total gas consumption of the gas meter at the end of one metering period and the beginning of the metering period;
the single-period storage time is the end time of the metering period;
and when each metering period is finished, associating the single-period usage and the single-period storage time as usage two-dimensional data for storage.
In this embodiment, the single-period usage is a difference between a total gas consumption of the gas meter at the end of one metering period and at the start of the metering period, that is, the single-period usage is a difference between a total gas consumption of the gas meter at the end of one metering period and a total gas consumption of the gas meter at the start of the metering period.
In this embodiment, the set time period may be half a day, one day, or two days. In other embodiments, other time periods may be set as the set time period.
As is clear from the above, the single-session storage time in the present embodiment is the end time of the measurement cycle, and is also the time when data storage is performed. In this embodiment, the single-term storage time is used as one content to be stored, and the time corresponding to the corresponding single-term usage data can be recorded to form two-dimensional data.
In one metering period, if the total gas consumption of the gas meter is corrected, the corrected total gas consumption of the gas meter is used as a correction value, and the corrected time is used as correction time;
updating the correction value to a storage unit and a display unit of the gas meter; in this embodiment, the storage unit may be a storage area in an NBIOT chip of the gas meter;
reporting the correction value to a server through a communication unit of the gas meter;
and associating the correction value and the correction time as correction two-dimensional data and storing the correction two-dimensional data.
In this embodiment, a specific method for correcting the total gas consumption of the gas meter may be to correct the total gas consumption of the gas meter in an infrared manner, that is, to update a correction value to a storage unit and a display unit of the gas meter in an infrared data transmission manner. The total gas consumption of the gas meter can be corrected by adopting a data issuing mode of the service platform, namely the data operation instruction of the platform, and the correction value is updated to the storage unit and the display unit of the gas meter.
In this embodiment, when the selected set duration is one day, a specific storage scenario of the gas meter data storage method may be as follows (a data structure of two-dimensional data storage is implemented):
the daily gas consumption data is additionally stored in a file system, and the storage data format is 'time + daily gas consumption':
Figure BDA0002427906120000041
Figure BDA0002427906120000051
in the storage scenario, the "time" corresponds to a single-period storage time, and the "daily gas consumption" corresponds to a single-period consumption. "daily gas usage" is the total gas usage at the end of the day-the total gas usage at the beginning of the day.
In the above scenario, the end time of the day may not be a normal natural day end time, for example, the end time of the day of the natural day is 23:59, however, the end time of the day in the scenario may be 23: 30. At this time, that is, in this scenario, the corresponding usage two-dimensional data storage is performed at 23:30 per day. Dat may be the file name stored.
And, under the above-mentioned scene, if before 23:30 on the day, send the data method through the aforesaid infrared method or platform, correct the data (total gas consumption) of the gas meter, keep the corresponding corrected value and report to the platform, revise the data of the current gas meter and keep the data (gas consumption on the day), if it is 23:30, no longer keep.
In the above scenario, when reading DATA, the corresponding GAS meter may receive DATA reading by a platform or an external handheld device (infrared device), for example, the information of GAS consumption amount of the previous N days (N may be any integer of 2 or more, for example, 5) is read, and at this time, only the last corresponding number of records need to be read from the file and converted into the FS _ DATA _ GAS _ S structure.
In the embodiment, a two-dimensional storage method of time and daily gas consumption is adopted, and the storage data volume can be greatly improved by the storage method under the condition that the gas meter is usually limited in storage space; the flexible and effective data storage method improves the efficiency of data query, ensures that the required information can be efficiently, quickly and accurately queried through data query in the follow-up process, improves the direct application convenience of the stored data, and simultaneously ensures that the power consumption of the equipment is reduced to the optimum; in addition, the large data storage volume of the storage method also provides more reliable use data for inquiry.
Another embodiment of the present invention provides a method for preventing a dead meter of a gas meter, including:
measuring periods, wherein the duration of each measuring period is set duration;
the single-period usage is the difference value between the total gas consumption of the gas meter at the end of one metering period and the beginning of the metering period;
the single-period storage time is the ending time of the metering period and is also the time for data storage;
when each metering cycle is finished, associating the single-period usage and the single-period storage time as usage two-dimensional data, and storing the usage two-dimensional data;
and for one metering period, if the single-period usage is zero, starting an anti-death table step.
The dead meter is a fault state of the gas meter, and the dead meter is simply understood to be gas leakage and not metering. For such a fault, the embodiment enables the gas meter to have detection and countermeasure for the fault by a corresponding method, thereby implementing a corresponding anti-death meter function.
The anti-dead watch comprises the following steps:
within N continuous metering periods, if the total gas consumption data changes, ending the anti-death list step;
on the contrary, in N continuous metering periods, if the total gas consumption data is not changed, the gas valve is closed, the data is reported to the server, and the permission of the user for opening the gas valve is reserved;
wherein N is an integer of 2 or more.
In this embodiment, when the valve is closed, the data is reported to the server at the same time, so as to synchronize the state of the gas valve to the server, so that the state stored by the server is consistent with the real state of the corresponding gas valve. And, if it can be confirmed that the original gas valve is closed and the corresponding reason can be confirmed (for example, the user closes the valve), the reason that the gas valve is closed can also be reported (for example, the gas valve is closed due to power failure or failure).
The anti-death watch further comprises the following steps:
and after the gas valve is closed, when the gas valve is detected to be opened again by a user, starting an anti-death list grading step.
It should be noted that the gas using valve is kept open, which is a default condition, that is, the gas using valve connected to the gas using valve is kept open in a normal use. However, in this embodiment, after the anti-lock meter step is performed, whether the gas valve is opened or not is determined. Because the reason that the single-use amount is zero is probably caused by the fact that the user closes the gas valve, this embodiment needs to eliminate the condition to prevent misjudgment, that is: the situation that a user actively closes the gas valve is prevented from being judged as a dead meter fault by mistake.
The anti-death table ranking step comprises the following steps:
in M continuous metering periods, if the total gas consumption data changes, ending the anti-death list grading step;
on the contrary, in the M continuous metering periods, if the total gas consumption data is not changed, the gas valve is closed, data is reported to the server, and the permission of the user for opening the gas valve is closed;
wherein M is an integer of 2 or more (an arbitrary integer).
The set time period is half a day, one day or two days.
In the metering period, if the total gas consumption of the gas meter is corrected, the corrected total gas consumption of the gas meter is used as a correction value, and the corrected time is used as correction time;
updating the correction value to a storage unit and a display unit of the gas meter;
reporting the correction value to a server through a communication unit of the gas meter;
and associating the correction value and the correction time as correction two-dimensional data and storing the correction two-dimensional data.
In this embodiment, a specific method for correcting the total gas consumption of the gas meter may be to correct the total gas consumption of the gas meter in an infrared manner, that is, to update a correction value to a storage unit and a display unit of the gas meter in an infrared data transmission manner. The total gas consumption of the gas meter can be corrected by adopting a data issuing mode of the service platform, namely the data operation instruction of the platform, and the correction value is updated to the storage unit and the display unit of the gas meter.
Referring to fig. 1, in this embodiment, when the selected set time duration is one day, a specific storage scenario of the dead-meter prevention method for a gas meter may be as follows:
step S0, when the single-period usage is zero, the anti-death list processing is started, namely, the step S1 is executed;
after the start, firstly, judging whether the gas valve is opened or not, namely step S2;
if the gas valve is not opened (i.e., the determination result is "no"), the anti-lock table processing is ended, and the anti-lock table processing ending step is reached, i.e., the step directly reaches step S7;
on the contrary, if it is determined that the gas valve is kept in the open state (i.e., the determination result is yes), it is further determined whether there is gas leakage on the same day, and the process proceeds to step S3;
whether gas leakage exists is judged, namely whether the total gas consumption data of the gas meter changes is judged;
when it is determined in step S3 that the gas still flows, that is, the total gas consumption data changes, the anti-death table processing is ended, and the anti-death table processing is ended, that is, the step S7 is directly reached;
when it is determined in step S3 that no gas is flowing, that is, the total gas consumption data is unchanged, the previously stored data is read, and step S4 is performed;
in step S4, a step procedure is performed, assuming that the anti-death table period is N days (e.g., 10 days), sequentially taking out the first 1 and 2 … (N-1) days; after the fact that the user does not breathe freely in the same day is determined, whether the user breathes or not in the previous day is traced back, if yes, the condition that the user breathes freely in the same day is stored, and anti-death list processing is finished; conversely, if the previous day does not get angry, the situation of the next previous day is further seen, and so on;
at this time, after step S4, the process proceeds to step S5 to determine whether a case where the moving air volume value for N consecutive days is 0 occurs, and when the case does not occur (that is, when it is determined that the number of consecutive moving air does not reach N days), the anti-death table processing is terminated, that is, the process proceeds to step S7;
on the contrary, when the number of days without gas leakage reaches N days, the method goes to step S6, closes the gas valve (and reports data to the server, but keeps the permission of the user to open the gas valve), and goes to the next stage of the anti-death table;
in fig. 1, it is shown that after step S6, the more specific contents of the next stage of the anti-death table are omitted, and it is directly shown that the process proceeds to step S7, i.e., the anti-death table processing ends, and then proceeds to step S8, the amount of the gas used for the current day is calculated and saved at the end of the file system, and step S9, the corresponding ending step.
However, it should be noted that in other scenarios of the present invention, the anti-deadlock table processing may further include detailed steps of the next stage of the anti-deadlock table not shown in fig. 1, for example, after going to step S6 "close the valve and enter the next stage of the anti-deadlock table", other scenarios may further include: after the user or other people reopen the air valve in a corresponding mode, continuously judging whether the user or other people is in a state of going away; if the total gas consumption data changes (namely gas leakage occurs) in M continuous metering periods (for example, within 5 days), ending the anti-death list grading step, namely ending the whole anti-death list processing step; on the contrary, in M consecutive metering periods (for example, one metering period is one day, M is equal to 5, that is, within 5 days), the total gas usage amount data does not change (that is, no gas leakage occurs), the gas usage valve is closed, data is reported to the server, and the permission of the user to open the gas usage valve is closed.
Another scenario of this embodiment may be as follows:
if no gas is used in the same day and the valve is in an open state, the single-period dosage can be stored as-1 (-1 is often used as 'abnormal' in software writing), so that the processing and analysis of the anti-death table step are facilitated;
the anti-death phase may have two phases, such as may be represented by T0 and T1, respectively, which may be in units of days, e.g., 6 days for T0 and 3 days for T1; on the basis, when the detection meter is in a continuous T0 time period and the corresponding gas meter is not in gas leakage (the single-period usage is zero in T0 time), the gas meter is automatically triggered to close the valve, and data are reported to the server; at the moment, a user can manually press a key to open the valve, and the second stage of the anti-death meter is started after the development; in the second phase, if it is detected that the meter is still not going out for a continuous period of time T1 (the single usage is zero for time T1), the valve is closed again and the state is synchronized to the server; when the valve is closed for the second time by the anti-death meter, the user presses a key to open the valve inefficiently, and a maintenance personnel goes to the door and issues a valve opening instruction through a handheld device or a platform;
in the above scenario, in the T0 stage and the T1 stage of the anti-death table processing, if there is a breath, the basis for the judgment is that the two-dimensional data of the usage amount is stored once in one metering period;
therefore, when the two-dimensional data of the consumption is stored every time, whether the situation of the weather is in the same day can be judged; if the air is not discharged, continuously reading the last group of data of the storage file, if the air quantity value is still-1, continuously recurrently and further reading forwards, and progressively accumulating the days with continuous air quantity of-1, if the number reaches the value of T0, triggering the first stage of the anti-death table to close the valve, and recording the state of the anti-death table;
when the gas meter is closed in the first stage of the anti-death meter, if the gas meter is opened by a key of a user, the second stage of the anti-death meter is activated, the basis for calculating whether gas is leaked in the second stage is similar to that in the first stage, whether gas is leaked in the same day is judged when two-dimensional data of the consumption is stored every time, if the two-dimensional data is not stored, the last data is read, whether the previous gas consumption in each day is-1 is judged, the number of days of continuous gas consumption is counted, and the number of days of continuous gas consumption is compared with T1; and if the value of T1 is reached, triggering the second stage of closing the valve of the anti-death table, closing the authority of opening the valve of the user, and recording the state of the anti-death table.
According to the dead meter prevention method for the gas meter, whether the gas meter has a dead meter prevention fault or not can be judged through corresponding data in the data storage process through corresponding step design, processing and analysis of a dead meter prevention unit are facilitated through the corresponding method, the gas meter is prevented from having the dead meter fault better, and the gas meter has a good dead meter prevention function.
The embodiment of the invention also provides a gas meter system, and the system can be applied to the gas meter data storage method provided by the embodiment, or can also be applied to the gas meter anti-death method provided by the embodiment.
Referring to fig. 2, the gas meter system 100 includes a microcontroller 110, an NBIOT chip 120, a pulse metering module 111, and a valve module 122, where the pulse metering module 111 is communicatively connected to the microcontroller 110, the valve module 122 is connected to the NBIOT chip 120, the NBIOT chip 120 has a storage unit therein, and the NBIOT chip 120 is connected to the microcontroller 110 and the server 200. The connection between microcontroller 110 and NBIOT chip 120 may be asynchronous transmit/receive communication (UART), while the communication between NBIOT chip 120 and server 200 may be narrowband internet of things communication (NBIOT).
In this embodiment, the pulse metering module 111 may be a REED pipe (REED), and the pulse metering module 111 is configured to count a gas flow rate of the gas meter.
In this embodiment, the gas meter system 100 further includes a battery module 112, and the battery module 112 is configured to supply power to the system. The battery module 112 is also connected to the microcontroller 110.
In this embodiment, the gas meter system 100 further includes an alarm module 113, and the alarm module 113 may specifically be an alarm device such as a Buzzer (Buzzer). The alarm module is also connected to the microcontroller 110.
In this embodiment, the gas meter system 100 further includes a key module 114, and the key module 114 may include at least two keys, for example, one key is used to control the opening and closing of the valve module 122, and the other key is used to open and close the whole gas meter. The key module 114 is connected to the microcontroller 110.
In the present embodiment, the valve module 122 corresponds to the gas valves in the previous embodiments. After the valve module 122 is closed, the gas consumption of the gas meter system 100 is zero, and if the gas consumption of the gas meter is still zero when the valve module is opened, a dead meter fault may occur.
In this embodiment, the gas meter system 100 further includes a display module 121, the display module 121 is connected to the NBIOT chip 120, the display module 121 may be a liquid crystal display (L CD) module, and the display module 121 is configured to display a corresponding gas meter gas value.
In this embodiment, the NBIOT chip 120 may also be connected to an external infrared device 300. The infrared device 300 is used for external intervention to modify and correct the data of the gas meter. Infrared device 300 is typically a work tool for a worker.
In the gas meter system 100, the corresponding microcontroller 110 may be an ultra-low power consumption microcontroller, and the microcontroller 110 and the NBIOT chip 120 are combined, so that functions of metering statistics, fault detection and handling, data storage, remote control and the like of the intelligent gas meter can be realized.
When the gas meter system 100 provided in this embodiment is applied to the gas meter data storage method provided in the foregoing embodiment, the gas consumption of the gas meter counted by the microcontroller 110 through pulse counting can be periodically synchronized to a storage unit (not shown separately) inside the NBIOT chip 120, and the gas meter system 100 can greatly increase the amount of stored data by using a two-dimensional storage method of time and gas consumption under the condition that the storage unit inside the gas meter system 100 is usually limited in storage space; the gas meter system 100 is applied to the flexible and effective data storage method, so that the data query efficiency is improved, the follow-up data query can be realized, the required information can be efficiently, quickly and accurately queried, the direct application convenience of the stored data is improved, and the optimal power consumption of equipment is guaranteed; in addition, the gas meter system 100 is applied to the storage of large data volume by the storage method, and more reliable use data can be provided for inquiry.
When the gas meter system 100 provided in this embodiment is applied to the method for preventing dead meter of a gas meter provided in the foregoing embodiment, not only can the various functions of the method for storing data of a gas meter be performed, but also processing and analysis of a dead meter (unit) can be facilitated, and a dead meter fault of the gas meter system 100 can be better prevented, so that the gas meter system 100 has a good function of preventing dead meter.
Although the present invention is disclosed above, the present invention is not limited thereto. Various changes and modifications may be effected therein by one skilled in the art without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. A gas meter data storage method is characterized by comprising the following steps:
measuring periods, wherein the duration of each measuring period is set duration;
the single-period usage is the difference value between the total gas consumption of the gas meter at the end of one metering period and the beginning of the metering period;
the single-period storage time is the end time of the metering period;
and when each metering period is finished, associating the single-period usage and the single-period storage time as usage two-dimensional data for storage.
2. The gas meter data storage method according to claim 1, wherein the set time period is half a day, one day, or two days.
3. The gas meter data storage method according to claim 1, wherein in one metering cycle, if the total gas consumption of the gas meter is corrected, the corrected total gas consumption of the gas meter is used as a correction value, and the time when the correction is performed is used as a correction time;
updating the correction value to a storage unit and a display unit of the gas meter;
reporting the correction value to a server through a communication unit of the gas meter;
and associating the correction value and the correction time as correction two-dimensional data and storing the correction two-dimensional data.
4. A method for preventing a gas meter from being dead is characterized by comprising the following steps:
measuring periods, wherein the duration of each measuring period is set duration;
the single-period usage is the difference value between the total gas consumption of the gas meter at the end of one metering period and the beginning of the metering period;
the single-period storage time is the ending time of the metering period and is also the time for data storage;
when each metering cycle is finished, associating the single-period usage and the single-period storage time as usage two-dimensional data, and storing the usage two-dimensional data;
and for one metering period, if the single-period usage is zero, starting an anti-death table step.
5. The gas meter anti-dead-meter method of claim 4, wherein the anti-dead-meter step comprises:
within N continuous metering periods, if the total gas consumption data changes, ending the anti-death list step;
on the contrary, in N continuous metering periods, if the total gas consumption data is not changed, the gas valve is closed, data is reported to the server, and the permission of the user for opening the gas valve is reserved;
wherein N is an integer of 2 or more.
6. The gas meter anti-dead-meter method of claim 5, wherein the anti-dead-meter step further comprises:
and after the gas valve is closed, when the gas valve is detected to be opened again by a user, starting an anti-death list grading step.
7. The gas meter anti-death method of claim 5, wherein the anti-death table ranking step comprises:
in M continuous metering periods, if the total gas consumption data changes, ending the anti-death list grading step;
on the contrary, in the M continuous metering periods, if the total gas consumption data is not changed, the gas valve is closed, data is reported to the server, and the permission of the user for opening the gas valve is closed;
wherein M is an integer of 2 or more.
8. The method for preventing a dead meter in a gas meter according to claim 4, 5 or 7, wherein the set time period is half a day, one day or two days.
9. The anti-dead-meter method for the gas meter according to claim 4, 5 or 7, characterized in that in the metering period, if the total gas consumption of the gas meter is corrected, the corrected total gas consumption of the gas meter is used as a correction value, and the corrected time is used as a correction time;
updating the correction value to a storage unit and a display unit of the gas meter;
reporting the correction value to a server through a communication unit of the gas meter;
and associating the correction value and the correction time as correction two-dimensional data and storing the correction two-dimensional data.
10. A gas meter system is applied to the gas meter data storage method of any one of claims 1 to 3 or the gas meter anti-death method of any one of claims 4 to 9, and comprises a microcontroller, an NBIOT chip, a pulse metering module and a valve module, wherein the pulse metering module is in communication connection with the microcontroller, the valve module is connected with the NBIOT chip, a storage unit is arranged in the NBIOT chip, and the NBIOT chip is connected with the microcontroller and a server.
CN202010226682.3A 2020-03-27 2020-03-27 Gas meter data storage method, gas meter anti-death method and gas meter system Pending CN111491011A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010226682.3A CN111491011A (en) 2020-03-27 2020-03-27 Gas meter data storage method, gas meter anti-death method and gas meter system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010226682.3A CN111491011A (en) 2020-03-27 2020-03-27 Gas meter data storage method, gas meter anti-death method and gas meter system

Publications (1)

Publication Number Publication Date
CN111491011A true CN111491011A (en) 2020-08-04

Family

ID=71812497

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010226682.3A Pending CN111491011A (en) 2020-03-27 2020-03-27 Gas meter data storage method, gas meter anti-death method and gas meter system

Country Status (1)

Country Link
CN (1) CN111491011A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112765618A (en) * 2020-12-23 2021-05-07 金卡智能集团股份有限公司 Control method of electronic gas meter

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2259618Y (en) * 1996-06-28 1997-08-13 陕西全通光电技术研究所 Intelligent metering and controlling device for gas meter
CN103164903A (en) * 2013-01-03 2013-06-19 大庆英辰创新科技有限公司 Gas meter with gas usage amount detail data generation and storage function
CN103413415A (en) * 2013-08-06 2013-11-27 孔祥吉 Management system of fuel gas use state within network-based management area
CN105115548A (en) * 2015-09-29 2015-12-02 成都秦川科技发展有限公司 Internet of things intelligent gas meter with tiered pricing function
WO2016142642A1 (en) * 2015-03-11 2016-09-15 The Technology Partnership Plc Gas pipe isolation device
CN207132931U (en) * 2017-08-21 2018-03-23 河北华通燃气设备有限公司 It is a kind of that there is the intelligent diaphragm gas meter for preventing dead table function
CN108877061A (en) * 2018-06-28 2018-11-23 成都千嘉科技有限公司 A kind of user independently uploads the gas meter, flow meter of data

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2259618Y (en) * 1996-06-28 1997-08-13 陕西全通光电技术研究所 Intelligent metering and controlling device for gas meter
CN103164903A (en) * 2013-01-03 2013-06-19 大庆英辰创新科技有限公司 Gas meter with gas usage amount detail data generation and storage function
CN103413415A (en) * 2013-08-06 2013-11-27 孔祥吉 Management system of fuel gas use state within network-based management area
WO2016142642A1 (en) * 2015-03-11 2016-09-15 The Technology Partnership Plc Gas pipe isolation device
CN105115548A (en) * 2015-09-29 2015-12-02 成都秦川科技发展有限公司 Internet of things intelligent gas meter with tiered pricing function
CN207132931U (en) * 2017-08-21 2018-03-23 河北华通燃气设备有限公司 It is a kind of that there is the intelligent diaphragm gas meter for preventing dead table function
CN108877061A (en) * 2018-06-28 2018-11-23 成都千嘉科技有限公司 A kind of user independently uploads the gas meter, flow meter of data

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张晓岗: "IC卡燃气表的调研及在成都市试用的可行性", 《金卡工程》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112765618A (en) * 2020-12-23 2021-05-07 金卡智能集团股份有限公司 Control method of electronic gas meter

Similar Documents

Publication Publication Date Title
CN106054108B (en) A kind of multiplexing electric abnormality inspection method and device
CA1164098A (en) Billing recorder with non-volatile solid state memory
US4120031A (en) Utility usage monitoring systems
CN201974474U (en) State grid three-phase intelligent electric energy meter
CA2583000A1 (en) Data analysis system, such as a theft scenario analysis system for automated utility metering
CN201796087U (en) State grid three-phase remote bill control intelligent electric energy meter
CN201886042U (en) Smart electricity meter for state grid single-phase carrier long-distance prepayment
CN112085938B (en) Single-line heating supply network monitoring and metering system of power plant
CN108281174A (en) A kind of data interconnection method and data docking system
CN109668607A (en) A kind of method of gas meter, flow meter monitoring minute leakage
CN111491011A (en) Gas meter data storage method, gas meter anti-death method and gas meter system
CN106327832A (en) Real-time meter reading method adopting wireless concentrator
CN202153235U (en) Bidirectional direct current electric energy meter
CN201974471U (en) Single-phase electronic carrier electric energy meter
CN101976479A (en) Remote control intelligent card (IC) gas meter
CN201607806U (en) Distributed comprehensive earthquake situation and secondary disaster situation collecting system on site of earthquake
EP0499860A1 (en) Flowmeter
CN110220563A (en) A kind of multifunctional internet of things gas meter, flow meter
CN206224784U (en) A kind of photo-electronic directly reading gas meter controller based on the GPRS communication technologys
CN102540931A (en) Intelligent burst-proof control system for pipeline
CN210638756U (en) Gas volume correction instrument
US20230400332A1 (en) System and Method for Validating Streaming Sensor Data in a Utility Monitoring System
US20230397554A1 (en) System and Method for Reviewing and Monitoring Precipitation Aware Irrigation
CN101937594B (en) Split direct-reading type IC (Integrated Circuit) card/CPU (Central Processing Unit) card flow meter
JP2927668B2 (en) Gas leak detection device

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200804