CN108877059B - Internet of things gas meter settlement method, Internet of things gas meter and meter reading platform server - Google Patents

Internet of things gas meter settlement method, Internet of things gas meter and meter reading platform server Download PDF

Info

Publication number
CN108877059B
CN108877059B CN201810588145.6A CN201810588145A CN108877059B CN 108877059 B CN108877059 B CN 108877059B CN 201810588145 A CN201810588145 A CN 201810588145A CN 108877059 B CN108877059 B CN 108877059B
Authority
CN
China
Prior art keywords
meter
meter reading
settlement
gas
instruction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810588145.6A
Other languages
Chinese (zh)
Other versions
CN108877059A (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.)
Langfang Xinao Intelligent Technology Co Ltd
Original Assignee
Langfang Xinao 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 Langfang Xinao Intelligent Technology Co Ltd filed Critical Langfang Xinao Intelligent Technology Co Ltd
Priority to CN201810588145.6A priority Critical patent/CN108877059B/en
Publication of CN108877059A publication Critical patent/CN108877059A/en
Application granted granted Critical
Publication of CN108877059B publication Critical patent/CN108877059B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F15/00Coin-freed apparatus with meter-controlled dispensing of liquid, gas or electricity
    • G07F15/001Coin-freed apparatus with meter-controlled dispensing of liquid, gas or electricity for gas
    • 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
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2209/00Arrangements in telecontrol or telemetry systems
    • H04Q2209/70Arrangements in the main station, i.e. central controller
    • H04Q2209/75Arrangements in the main station, i.e. central controller by polling or interrogating the sub-stations
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2209/00Arrangements in telecontrol or telemetry systems
    • H04Q2209/80Arrangements in the sub-station, i.e. sensing device
    • H04Q2209/84Measuring functions

Landscapes

  • 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)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Arrangements For Transmission Of Measured Signals (AREA)
  • Measuring Volume Flow (AREA)

Abstract

The invention discloses a settlement method for a gas meter of the Internet of things, which is characterized in that settlement is carried out by a meter reading platform server, the gas meter freezes the accumulated gas consumption of the previous day at 0 point every day and stores the accumulated gas consumption, and the frozen accumulated gas consumption of a specified date is called to upload, so that settlement is carried out by taking the day as a unit when the meter reading platform carries out background settlement, and the meter reading data of the specified settlement date can be judged and sent by the gas meter according to instructions when the accumulated gas consumption is not uploaded for multiple days, so that the settlement is accurate when step gas price and price adjustment are carried out. Meanwhile, the invention also provides an Internet of things gas meter and meter reading platform server for implementing the settlement method.

Description

Internet of things gas meter settlement method, Internet of things gas meter and meter reading platform server
Technical Field
The invention relates to the technical field of settlement of gas meters, in particular to a settlement method of an internet of things gas meter, the internet of things gas meter for implementing the method and a meter reading platform server.
Background
At present, a remote gas meter (an internet of things gas meter) mainly comprises a GPRS gas meter and an NB-loT gas meter. The Internet of things gas meter and the meter reading platform are interacted and settled, and a background settlement fee deduction mode is mostly adopted; background settlement is mainly provided for a gas meter which is used online at present by a gas company and does not have a step gas price function, the gas meter of the internet of things uploads meter reading data to a meter reading platform, the meter reading platform settles and issues a control instruction to the gas meter of the internet of things, and the gas meter of the internet of things is only responsible for displaying information such as residual amount, current unit price and the like. In the settlement charging process, the meter reading platform management system needs to select a monthly step or annual step charging mode on software according to the setting of price and usage, and count the usage corresponding to the settlement gas meter to deduct the fee.
In order to ensure normal settlement of a background, the meter reading data reported by the Internet of things gas meter is reported in a timing mode and reported by a manual key, the timing reporting mode is set to be reported in a timing mode every day, but the reporting failure of the timing reporting mode can be caused by poor network signals and the like, and the condition that settlement is not reported for a plurality of continuous days exists.
And (4) aiming at multi-day non-uploading, the settlement of the stepped gas price or the price adjustment is carried out, and the settlement is carried out in a mode of taking days as units and averaging the gas consumption for multiple days. However, the average gas consumption is not uploaded for many days, and the settlement is inaccurate or impossible when the settlement is carried out during the stage-by-stage or non-uploading period of the stepped gas price.
Therefore, the real-time and accurate settlement of the internet of things table, especially the accuracy of deduction after the implementation of the stepped gas price or price adjustment, becomes a great difficulty in the settlement problem of the internet of things table.
In view of the above, the present invention is particularly proposed.
Disclosure of Invention
The invention aims to provide a settlement method for an Internet of things gas meter, which is beneficial to realizing the real-time performance and the accuracy of settlement and deduction of an Internet of things table.
In order to achieve the purpose, the Internet of things gas meter settlement method provided by the invention comprises the following steps that on the gas meter side
Freezing the accumulated gas consumption of the previous day at zero point every day, and storing;
the gas meter requests communication connection to a meter reading platform server;
after the meter reading platform server is connected, the gas meter uploads meter reading data information; the meter reading data comprises current accumulated gas consumption and/or the accumulated gas consumption of the previous day and/or the accumulated gas consumption of a specified date and/or the state of a gas meter;
the method comprises the steps that a gas meter defaults that meter reading data sent to a meter reading platform server comprise current accumulated gas consumption and gas meter state information;
and receiving a control instruction sent by the meter reading platform server and returning an instruction response.
Further, in the internet of things gas meter settlement method, the following steps are performed: before receiving an ending instruction sent by a meter reading platform server, if a meter reading instruction of the accumulated gas consumption on a specified date sent by the server is received, sending the accumulated gas consumption on the specified date according to the meter reading instruction, so that the meter reading platform server uses the accumulated gas consumption on the specified date to carry out settlement.
Further, in the internet of things gas meter settlement method, the following steps are performed: the control instruction comprises a meter reading instruction, a pushing instruction and a valve control instruction, the meter reading instruction is used for enabling the gas meter to return accumulated gas consumption data of a date contained in the instruction, the pushing instruction is used for pushing information so as to enable the gas meter to update the data according to the information, and the valve control instruction is used for normal valve control execution of the gas meter; and the instruction response is the accumulated gas consumption corresponding to the date in the meter reading instruction.
The invention provides a settlement method for a gas meter of the Internet of things, which comprises the following steps of:
D1. receiving a communication connection request sent by the gas meter, and establishing communication connection with the gas meter;
D2. receiving meter reading data information sent by the gas meter, wherein the meter reading data information comprises current accumulated gas consumption and gas meter state information;
D3. judging whether meter reading data which is not uploaded exists between the last settlement date and the meter reading date corresponding to the meter reading data information;
if meter reading data which are not uploaded exist, sending a meter reading instruction to the Internet of things gas meter so that the gas meter sends the accumulated gas consumption of the specified date which is not uploaded;
and after settlement is finished, sending a control instruction to the gas meter and receiving an instruction response.
Further, in the internet of things gas meter settlement method, the following steps are performed: judging whether the difference between the meter reading date and the last settlement date is greater than 1 settlement period; if it is greater than 1 settlement period, go to step D4., if it is equal to one settlement period, go to step D5.;
D4. sending a meter reading instruction with a specified date to the gas meter so that the gas meter sends the accumulated gas consumption with the specified date;
D5. and (4) carrying out settlement by using the meter reading date and/or the accumulated gas consumption of the specified date.
Further, in the internet of things gas meter settlement method, the following steps are performed: after settlement is completed, a control instruction is sent to the gas meter and an instruction receiving response is received, and the method specifically comprises the following steps:
D6. judging whether the meter reading date or the appointed date minus the last settlement date is more than 1 settlement period; if the settlement period is more than 1, go to step D4., if it is equal to 1 settlement period, go to step D7.;
D7. generating a control instruction; the control instruction comprises a meter reading instruction, a pushing instruction and a valve control instruction, wherein the meter reading instruction is used for enabling the gas meter to return accumulated gas consumption data of a date contained in the instruction, the pushing instruction is used for pushing information so as to enable the gas meter to update the data according to the information, and the valve control instruction is used for normal valve control execution of the gas meter;
and after the control instruction is sent and the instruction response of the gas meter is received, sending an ending instruction to the gas meter so as to actively disconnect the communication connection of the gas meter.
The invention also provides an Internet of things gas meter, wherein the gas meter body comprises a controller and a storage medium, the storage medium is stored with a program, and the program executes the following actions when being operated by the controller;
freezing the accumulated gas consumption of the previous day at zero point every day, and storing;
the gas meter requests communication connection to a meter reading platform server;
after the meter reading platform server is connected, the gas meter uploads meter reading data information; the meter reading data comprises current accumulated gas consumption and/or the accumulated gas consumption of the previous day and/or the accumulated gas consumption of a specified date and/or the state of a gas meter;
the method comprises the steps that a gas meter defaults that meter reading data sent to a meter reading platform server comprise current accumulated gas consumption and gas meter state information;
and receiving a control instruction sent by the meter reading platform server and returning an instruction response.
Further, in the internet of things gas meter: the program when executed further performs:
before receiving an ending instruction sent by a meter reading platform server, if a meter reading instruction of the accumulated gas consumption on a specified date sent by the server is received, sending the accumulated gas consumption on the specified date according to the meter reading instruction so that the meter reading platform server can use the accumulated gas consumption on the specified date for settlement;
the control instruction comprises a meter reading instruction, a pushing instruction and a valve control instruction, the meter reading instruction is used for enabling the gas meter to return accumulated gas consumption data of a date contained in the instruction, the pushing instruction is used for pushing information so as to enable the gas meter to update the data according to the information, and the valve control instruction is used for normal valve control execution of the gas meter; and the instruction response is the accumulated gas consumption corresponding to the date in the meter reading instruction.
The invention also provides a meter reading platform server, which comprises a processor and a storage medium, wherein the storage medium stores a program, and when the program is run by the processor, the program executes the following steps:
d1. receiving a communication connection request sent by the gas meter, and establishing communication connection with the gas meter;
d2. receiving meter reading data information sent by the gas meter, wherein the meter reading data information comprises current accumulated gas consumption and gas meter state information;
d3. judging whether meter reading data which is not uploaded exists between the last settlement date and the meter reading date corresponding to the meter reading data information;
if meter reading data which are not uploaded exist, sending a meter reading instruction to the Internet of things gas meter so that the gas meter sends the accumulated gas consumption of the specified date which is not uploaded;
and after settlement is finished, sending a control instruction to the gas meter and receiving an instruction response.
Further, in the meter reading platform server: when the program is executed and step d3. is executed, the method specifically includes: judging whether the difference between the meter reading date and the last settlement date is greater than 1 settlement period; if it is greater than 1 settlement period, go to step d4., if it is equal to one settlement period, go to step d5.;
d4. sending a meter reading instruction with a specified date to the gas meter so that the gas meter sends the accumulated gas consumption with the specified date;
d5. the accumulated gas consumption on the meter reading date and/or the appointed date is used for settlement;
d6. judging whether the meter reading date or the appointed date minus the last settlement date is more than 1 settlement period; if the settlement period is more than 1, go to step D4., if it is equal to 1 settlement period, go to step d7.;
d7. generating a control instruction; the control instruction comprises a meter reading instruction, a pushing instruction and a valve control instruction, wherein the meter reading instruction is used for enabling the gas meter to return accumulated gas consumption data of a date contained in the instruction, the pushing instruction is used for pushing information so as to enable the gas meter to update the data according to the information, and the valve control instruction is used for normal valve control execution of the gas meter;
and after the control instruction is sent and the instruction response of the gas meter is received, sending an ending instruction to the gas meter so as to actively disconnect the communication connection of the gas meter.
Compared with the prior art, the invention has the following beneficial effects:
in the settlement method, the settlement is carried out by the meter reading platform server, the gas meter only needs to display the residual amount and the current unit price, but the gas meter freezes the accumulated gas consumption of the previous day at 0 point every day and stores the accumulated gas consumption, and calls the frozen accumulated gas consumption of the appointed date to upload, so that the settlement is carried out by taking the day as a unit when the background settlement is carried out by the meter reading platform, and the meter reading data of the appointed settlement date can be judged and sent by the gas meter according to instructions when the accumulated gas consumption is not uploaded for multiple days, so that the settlement is accurate when the step gas price and the price adjustment are carried out, and meanwhile, the real-time requirement of the charging period is satisfied. When the uploaded meter reading data is not received for multiple days, the gas meter can be once enabled to read the accumulated gas amount frozen by all the non-uploaded dates for settlement. Meanwhile, the invention also provides an Internet of things gas meter and meter reading platform server for implementing the settlement method.
Drawings
Fig. 1 is an interaction schematic diagram of a gas meter and a meter reading platform server in the internet of things gas meter settlement method provided by the invention;
fig. 2 is a flow chart of interaction between a gas meter and a meter reading platform server in the internet of things gas meter settlement method provided by the invention;
fig. 3 is a structural block diagram of an internet of things gas meter provided by the invention;
fig. 4 is a structural block diagram of a meter reading platform server provided by the present invention.
Detailed Description
The following detailed description of the present invention is provided to facilitate the understanding of the present invention by those skilled in the art, and is not to be taken in a limiting sense.
As shown in fig. 1-2, a settlement method for gas meters of internet of things includes that at the gas meter side, the settlement method comprises
S1, freezing the accumulated gas consumption of the previous day at zero point every day, and storing; storing the date of the day corresponding to the accumulated gas consumption in the accumulated gas consumption data during storage;
s2, the gas meter requests communication connection to a meter reading platform server through manual key or a timing automatic initiation mode; wherein, a TCP or UDP communication one-question-one-answer mode is adopted during communication;
s3, after the meter reading platform server is connected, the gas meter encrypts meter reading data and uploads the encrypted meter reading data information; the meter reading data comprises current accumulated gas consumption and/or frozen accumulated gas consumption of the previous day and/or accumulated gas consumption of a specified date and/or gas meter state (namely, whether the gas meter works normally or not) information; the meter reading data is encrypted by adopting an AES symmetric encryption algorithm, so that the security of sensitive data in the communication process with the meter reading platform server is ensured.
S31, the meter reading data sent to a meter reading platform server by default by the gas meter comprises the current accumulated gas consumption and the state information of the gas meter; receiving an uploading response returned by the meter reading platform server;
and S32, before receiving an ending instruction sent by the meter reading platform server, if an accumulated gas consumption meter reading instruction of a specified date sent by the server is received, sending the accumulated gas consumption of the specified date according to the meter reading instruction, so that the meter reading platform server uses the accumulated gas consumption of the specified date to carry out settlement.
In this step, if the date corresponding to the accumulated gas consumption sent by the gas meter in step s31 is less than the last settlement date recorded in the meter reading platform server, and is greater than 1 (i.e., greater than one settlement period, which may be a day period or a month period), indicating that there is meter reading data that has not been uploaded, the meter reading platform server issues a meter reading instruction of the specified date, and the gas meter is made to send the accumulated gas consumption of the specified date for settlement. And S31, if the date corresponding to the accumulated gas consumption sent in the step is equal to 1 after subtracting the last settlement date recorded in the meter reading platform server, the background finishes settlement and sends a control instruction to the gas meter.
S4, receiving a control instruction sent by the meter reading platform server, and returning an instruction response; the control instruction comprises a meter reading instruction, a push instruction, a valve control instruction and the like, wherein the meter reading instruction is used for enabling the gas meter to return accumulated gas consumption data of a date contained in the instruction, the push instruction is used for pushing information so as to enable the gas meter to update data (such as information of residual amount and current unit price) according to the information, and the valve control instruction is used for normal valve control execution of the gas meter; and the instruction response is the accumulated gas consumption corresponding to the date in the meter reading instruction.
And S5, receiving an ending instruction sent by the meter reading platform server, and actively disconnecting the communication connection with the server. After the control command interaction is finished, one settlement work is equivalently finished, an ending command is received, and the connection is disconnected.
As shown in fig. 1-2, correspondingly, the internet of things gas meter settlement method of the present invention includes, at a meter reading platform server side:
D1. receiving a communication connection request sent by the gas meter, and establishing communication connection with the gas meter;
D2. receiving meter reading data information sent by the gas meter, wherein the meter reading data information is encrypted through an AES symmetric encryption algorithm, and decrypting the data information; the meter reading data information comprises current accumulated gas consumption and gas meter state information;
D3. judging whether meter reading data which is not uploaded exists between the last settlement date and the meter reading date corresponding to the meter reading data information; the method specifically comprises the following steps:
judging whether the difference between the meter reading date and the last settlement date is more than 1 (namely, the difference is more than one settlement period, and generally the period is day); if greater than 1, proceed to step D4., if equal to 1, proceed to step D5.; the meter reading platform server stores conventional settlement records including settlement date (date of completing settlement once), accumulated gas consumption, deduction amount and the like. If the meter reading data which are not uploaded exist, a meter reading instruction is sent to the Internet of things gas meter, so that the gas meter sends the accumulated gas consumption of the specified date which is not uploaded.
D4. Sending a meter reading instruction with a specified date to the gas meter so that the gas meter sends the accumulated gas consumption with the specified date; the appointed date is generally the result of adding one settlement period to the last settlement date in the settlement record, namely, meter reading data of one settlement period is not uploaded; if the meter reading data of a plurality of days is not uploaded after the step D3, the gas meter can be enabled to send the accumulated gas consumption of all the appointed dates which are not uploaded at one time; then the meter reading platform server receives meter reading data information which is uploaded by the gas meter and contains the accumulated gas consumption on the appointed date;
D5. settling accounts by using the meter reading date and/or the accumulated gas consumption corresponding to the specified date; and after receiving all the required accumulated gas consumption, carrying out settlement charging according to a settlement mode in the server, and settling the charging according to the accumulated gas consumption is a mature technology in the field and is not described herein again. Aiming at the settlement condition that price adjustment is carried out during the period that the ladder gas price spans the ladder or is not uploaded, the accumulated gas consumption on any specified date can be obtained, and the settlement result obtained by the method is more accurate compared with the settlement by adopting the average gas consumption. After the background settlement is finished, the following steps are executed:
D6. judging whether the meter reading date or the appointed date minus the last settlement date is more than 1 settlement period; if so, go to step D4., if equal to 1 settlement period, go to step D7.; after the settlement of the server is finished, the received meter reading data, meter reading date and the like are calculated and judged, all information is determined to be correct, and a control instruction is generated.
D7. Generating a control instruction and putting the control instruction into a command queue; the control instruction comprises a meter reading instruction, a push instruction, a valve control instruction and the like, wherein the meter reading instruction is used for enabling the gas meter to return accumulated gas consumption data of a date contained in the instruction, the push instruction is used for pushing information so as to enable the gas meter to update data (such as information of residual amount and current unit price) according to the information, and the valve control instruction is used for normal valve control execution of the gas meter;
D8. circularly taking the instructions in the command queue through the loop system, sending the instructions to the gas meter, and receiving instruction responses; and the instruction response comprises the accumulated gas consumption corresponding to the date in the meter reading instruction, and the accumulated gas consumption is stored after being received.
D9. And after the command in the command queue is sent, sending an ending command to the gas meter so as to actively disconnect the communication connection of the gas meter. Thus, one settlement is completed.
In the settlement method, the settlement is carried out by the meter reading platform server, the gas meter only needs to display the residual amount and the current unit price, but the gas meter freezes the accumulated gas consumption of the previous day at 0 point every day and stores the accumulated gas consumption, and calls the frozen accumulated gas consumption of the appointed date to upload, so that the settlement is carried out by taking the day as a unit when the background settlement is carried out by the meter reading platform, and the meter reading data of the appointed settlement date can be judged and sent by the gas meter according to instructions when the accumulated gas consumption is not uploaded for multiple days, so that the settlement is accurate when the step gas price and the price adjustment are carried out, and meanwhile, the real-time requirement of the charging period is satisfied. When the uploaded meter reading data is not received for multiple days, the gas meter can be once enabled to read the accumulated gas amount frozen by all the non-uploaded dates for settlement, so that the settlement is facilitated.
The invention also provides an internet of things gas meter, as shown in fig. 3, a gas meter body 100 comprises a controller 101 and a storage medium 102, wherein a program is stored in the storage medium 102, and when the program is run by the controller 101, the following actions are executed;
s1. freezing the accumulated gas consumption of the previous day at zero point every day, and storing; storing the date of the day corresponding to the accumulated gas consumption in the accumulated gas consumption data during storage;
s2, the gas meter requests communication connection to a meter reading platform server through manual key pressing or a timing automatic initiation mode; wherein, a TCP or UDP communication one-question-one-answer mode is adopted during communication;
s3., after being connected with the meter reading platform server, the gas meter encrypts meter reading data and uploads the encrypted meter reading data information; the meter reading data comprises current accumulated gas consumption and/or frozen accumulated gas consumption of the previous day and/or accumulated gas consumption of a specified date and/or gas meter state (namely, whether the gas meter works normally or not) information; encrypting the meter reading data by adopting an AES symmetric encryption algorithm;
s31, the meter reading data sent to the meter reading platform server by the gas meter default comprises the current accumulated gas consumption and the gas meter state information; receiving an uploading response returned by the meter reading platform server;
and S32, before receiving an ending instruction sent by the meter reading platform server, if an accumulated gas consumption meter reading instruction of a specified date sent by the server is received, sending the accumulated gas consumption of the specified date according to the meter reading instruction, so that the meter reading platform server uses the accumulated gas consumption of the specified date to carry out settlement.
s4., receiving a control instruction sent by the meter reading platform server, and returning an instruction response; the control instruction comprises a meter reading instruction, a push instruction, a valve control instruction and the like, wherein the meter reading instruction is used for enabling the gas meter to return accumulated gas consumption data of a date contained in the instruction, the push instruction is used for pushing information so as to enable the gas meter to update data (such as information of residual amount and current unit price) according to the information, and the valve control instruction is used for normal valve control execution of the gas meter; and the instruction response is the accumulated gas consumption corresponding to the date in the meter reading instruction.
And S5, receiving an ending instruction sent by the meter reading platform server, and actively disconnecting the communication connection with the server.
The invention provides the actions executed when the program in the internet of things gas meter runs, and the actions are used for implementing the steps on the gas meter side in the internet of things gas meter settlement method, and specific principles can refer to the description on the gas meter side of the settlement method.
The present invention further provides a meter reading platform server 200, as shown in fig. 4, including a processor 201 and a storage medium 202, where the storage medium 202 stores a program, and when the program is executed by the processor 201, the following actions are performed:
d1. receiving a communication connection request sent by the gas meter, and establishing communication connection with the gas meter;
d2. receiving meter reading data information sent by the gas meter, wherein the meter reading data information is encrypted through an AES symmetric encryption algorithm, and decrypting the data information; the meter reading data information comprises current accumulated gas consumption and gas meter state information;
d3. judging whether the difference between the meter reading date and the last settlement date is more than 1 (namely, the difference is more than one settlement period, and generally the period is day); if greater than 1, proceed to step D4., if equal to 1, proceed to step D5.; the meter reading platform server stores conventional settlement records including settlement date (date of completing settlement once), accumulated gas consumption, deduction amount and the like.
d4. Sending a meter reading instruction with a specified date to the gas meter so that the gas meter sends the accumulated gas consumption with the specified date; the appointed date is generally the result of adding one settlement period to the last settlement date in the settlement record, namely, meter reading data of one settlement period is not uploaded; if the meter reading data of a plurality of days is not uploaded after the step D3, the gas meter can be enabled to send the accumulated gas consumption of all the appointed dates which are not uploaded at one time; then the meter reading platform server receives meter reading data information which is uploaded by the gas meter and contains the accumulated gas consumption on the appointed date;
d5. settling accounts by using the meter reading date and/or the accumulated gas consumption corresponding to the specified date; after receiving all the required accumulated gas consumption, carrying out settlement charging according to a settlement mode in the server;
d6. judging whether the meter reading date or the appointed date minus the last settlement date is more than 1 settlement period; if so, go to step D4., if equal to 1 settlement period, go to step D7.;
d7. generating a control instruction and putting the control instruction into a command queue; the control instruction comprises a meter reading instruction, a push instruction, a valve control instruction and the like, wherein the meter reading instruction is used for enabling the gas meter to return accumulated gas consumption data of a date contained in the instruction, the push instruction is used for pushing information so as to enable the gas meter to update data (such as information of residual amount and current unit price) according to the information, and the valve control instruction is used for normal valve control execution of the gas meter;
d8. circularly taking the instructions in the command queue through the loop system, sending the instructions to the gas meter, and receiving instruction responses; the instruction response comprises the accumulated gas consumption corresponding to the date in the meter reading instruction, and the accumulated gas consumption is stored after being received;
d9. and after the command in the command queue is sent, sending an ending command to the gas meter so as to actively disconnect the communication connection of the gas meter.
The invention provides the actions executed when the program in the thing meter reading platform server runs, and the actions are used for implementing the steps on the meter reading platform server side in the settlement method for the gas meter of the thing network.
The storage media referred to in the present invention include all forms of non-volatile memory, media and memory devices, including for example: semiconductor memory devices such as EPROM, EEPROM, and flash memory devices; magnetic disks, such as internal hard disks or removable disks; magneto-optical disks; and CD ROM and DVD-ROM disks; the storage medium referred to in the different embodiments of the invention may be any suitable kind of storage medium according to common general knowledge in the art.
Also, programs (also known as programs, software applications, scripts or code) referred to herein may be written in any form of programming language, including compiled or interpreted languages, and may be deployed in any form, including as a stand-alone program or as a module, component, subroutine, or other unit suitable for use in a computing environment. The programs described above do not necessarily correspond to files in a file system. A program can be stored in a portion of a file that holds other programs or data (e.g., one or more scripts stored in a markup language document), in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files that store one or more modules, sub programs, or portions of code).
The steps or logic flows described in this disclosure may be performed by one or more programmable processors executing one or more computer programs to perform functions by operating on input data and generating output. The steps or logic flows described above can also be performed by, special purpose logic circuitry, e.g., an FPGA (field programmable gate array) or an ASIC (application-specific integrated circuit).
The inventive concept is explained in detail herein using specific examples, which are given only to aid in understanding the core concepts of the invention. It should be understood that any obvious modifications, equivalents and other improvements made by those skilled in the art without departing from the spirit of the present invention are included in the scope of the present invention.

Claims (3)

1. An Internet of things gas meter settlement method is characterized in that: on the meter reading platform server side, include:
D1. receiving a communication connection request sent by the gas meter, and establishing communication connection with the gas meter;
D2. receiving meter reading data information sent by the gas meter, wherein the meter reading data information comprises current accumulated gas consumption and gas meter state information;
D3. judging whether meter reading data which is not uploaded exists between the last settlement date and the meter reading date corresponding to the meter reading data information;
if meter reading data which are not uploaded exist, sending a meter reading instruction to the Internet of things gas meter so that the gas meter sends the accumulated gas consumption of the specified date which is not uploaded;
after settlement is finished, sending a control instruction to the gas meter and receiving an instruction response;
the step D3 specifically includes: judging whether the difference between the meter reading date and the last settlement date is greater than 1 settlement period; if it is more than 1 settlement period, go to step D4, if it is equal to one settlement period, go to step D5;
D4. sending a meter reading instruction with a specified date to the gas meter so that the gas meter sends the accumulated gas consumption with the specified date;
D5. and (4) carrying out settlement by using the meter reading date and/or the accumulated gas consumption of the specified date.
2. The settlement method for the gas meter of the internet of things according to claim 1, characterized in that:
after settlement is completed, a control instruction is sent to the gas meter and an instruction receiving response is received, and the method specifically comprises the following steps:
D6. judging whether the meter reading date or the appointed date minus the last settlement date is more than 1 settlement period; if the settlement period is more than 1, entering the step D4, and if the settlement period is equal to 1, entering the step D7;
D7. generating a control instruction; the control instruction comprises a meter reading instruction, a push instruction and a valve control instruction, wherein the meter reading instruction is used for enabling the gas meter to return accumulated gas consumption data of a date contained in the meter reading instruction, the push instruction is used for pushing information so as to enable the gas meter to update the data according to the information, and the valve control instruction is used for normal valve control execution of the gas meter;
and after the control instruction is sent and the instruction response of the gas meter is received, sending an ending instruction to the gas meter so as to actively disconnect the communication connection of the gas meter.
3. A meter reading platform server comprises a processor and a storage medium, wherein the storage medium stores a program, and the meter reading platform server is characterized in that: when the program is executed by the processor, the program executes:
d1. receiving a communication connection request sent by the gas meter, and establishing communication connection with the gas meter;
d2. receiving meter reading data information sent by the gas meter, wherein the meter reading data information comprises current accumulated gas consumption and gas meter state information;
d3. judging whether meter reading data which is not uploaded exists between the last settlement date and the meter reading date corresponding to the meter reading data information;
if meter reading data which are not uploaded exist, sending a meter reading instruction to the Internet of things gas meter so that the gas meter sends the accumulated gas consumption of the specified date which is not uploaded;
after settlement is finished, sending a control instruction to the gas meter and receiving an instruction response;
when the program is executed and step d3 is executed, the method specifically includes: judging whether the difference between the meter reading date and the last settlement date is greater than 1 settlement period; if the settlement period is more than 1, entering the step d4, and if the settlement period is equal to one, entering the step d 5;
d4. sending a meter reading instruction with a specified date to the gas meter so that the gas meter sends the accumulated gas consumption with the specified date;
d5. the accumulated gas consumption on the meter reading date and/or the appointed date is used for settlement;
d6. judging whether the meter reading date or the appointed date minus the last settlement date is more than 1 settlement period; if the settlement period is more than 1, entering step D4, if equal to 1 settlement period, entering step D7;
d7. generating a control instruction; the control instruction comprises a meter reading instruction, a push instruction and a valve control instruction, wherein the meter reading instruction is used for enabling the gas meter to return accumulated gas consumption data of a date contained in the meter reading instruction, the push instruction is used for pushing information so as to enable the gas meter to update the data according to the information, and the valve control instruction is used for normal valve control execution of the gas meter;
and after the control instruction is sent and the instruction response of the gas meter is received, sending an ending instruction to the gas meter so as to actively disconnect the communication connection of the gas meter.
CN201810588145.6A 2018-06-08 2018-06-08 Internet of things gas meter settlement method, Internet of things gas meter and meter reading platform server Active CN108877059B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810588145.6A CN108877059B (en) 2018-06-08 2018-06-08 Internet of things gas meter settlement method, Internet of things gas meter and meter reading platform server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810588145.6A CN108877059B (en) 2018-06-08 2018-06-08 Internet of things gas meter settlement method, Internet of things gas meter and meter reading platform server

Publications (2)

Publication Number Publication Date
CN108877059A CN108877059A (en) 2018-11-23
CN108877059B true CN108877059B (en) 2021-04-27

Family

ID=64338679

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810588145.6A Active CN108877059B (en) 2018-06-08 2018-06-08 Internet of things gas meter settlement method, Internet of things gas meter and meter reading platform server

Country Status (1)

Country Link
CN (1) CN108877059B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109682436B (en) * 2018-12-21 2020-06-16 金卡智能集团股份有限公司 Method for additionally reading meter reading data of gas meter of Internet of things
CN109886530A (en) * 2019-01-02 2019-06-14 杭州海兴泽科信息技术有限公司 The front end processor of task based access control slot leaks compensating method and system in real time
CN110349346A (en) * 2019-05-25 2019-10-18 深圳市中燃科技有限公司 It is a kind of to be compatible with the Internet of Things gas meter, flow meter charging method and system with off-line state online
CN112383597B (en) * 2020-11-02 2023-04-28 浙江苍南仪表集团股份有限公司 Internet of things platform and Internet of things gas meter expense settlement synchronous processing method and system
CN112863054A (en) * 2021-01-27 2021-05-28 成都中科慧源科技有限公司 Method for implementing prepayment by using central charging as main meter end auxiliary charging
CN113781709B (en) * 2021-08-12 2023-04-11 云南电网有限责任公司信息中心 Daily calculation fee control device integrated with monthly electric fee settlement system
CN114613120A (en) * 2022-03-29 2022-06-10 新奥(中国)燃气投资有限公司 Remote meter reading abnormity identification method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101738519A (en) * 2008-11-07 2010-06-16 深圳市宝利达实业有限公司 Electricity consumption payment settlement system and implementation method thereof
CN104217500A (en) * 2013-06-04 2014-12-17 大庆英辰创新科技有限公司 Gas metering method and system and intelligent gas meter
CN105303707A (en) * 2015-09-29 2016-02-03 成都秦川科技发展有限公司 Method for realizing stepped pricing of intelligent gas meter
JP6013226B2 (en) * 2013-02-21 2016-10-25 東京瓦斯株式会社 Charge settlement meter, communication terminal, control program therefor, control method therefor, and charge settlement meter system
CN107390569A (en) * 2017-06-13 2017-11-24 金卡智能集团股份有限公司 A kind of Internet of Things gas meter, flow meter communication system and method based on the NB IoT communication technologys

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105743865A (en) * 2014-12-12 2016-07-06 上海大潮电子技术有限公司 Multimedia file data transmission system and transmission method
KR20160123562A (en) * 2015-04-16 2016-10-26 주식회사래피드정보통신 Receiver for processing data packet and data packet processing method of receiver
JP6471624B2 (en) * 2015-06-23 2019-02-20 株式会社デンソー Wireless communication device
CN107393265A (en) * 2016-05-16 2017-11-24 江苏赛达电子科技有限公司 A kind of long-distance meter-reading system based on GPRS technologies

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101738519A (en) * 2008-11-07 2010-06-16 深圳市宝利达实业有限公司 Electricity consumption payment settlement system and implementation method thereof
JP6013226B2 (en) * 2013-02-21 2016-10-25 東京瓦斯株式会社 Charge settlement meter, communication terminal, control program therefor, control method therefor, and charge settlement meter system
CN104217500A (en) * 2013-06-04 2014-12-17 大庆英辰创新科技有限公司 Gas metering method and system and intelligent gas meter
CN105303707A (en) * 2015-09-29 2016-02-03 成都秦川科技发展有限公司 Method for realizing stepped pricing of intelligent gas meter
CN107390569A (en) * 2017-06-13 2017-11-24 金卡智能集团股份有限公司 A kind of Internet of Things gas meter, flow meter communication system and method based on the NB IoT communication technologys

Also Published As

Publication number Publication date
CN108877059A (en) 2018-11-23

Similar Documents

Publication Publication Date Title
CN108877059B (en) Internet of things gas meter settlement method, Internet of things gas meter and meter reading platform server
KR102263985B1 (en) Method and system for providing validated, auditable, and immutable inputs to a smart contract
CN110462648B (en) Operation maintenance management method, recording medium, and operation maintenance management system
EP2924644A1 (en) Gas meter data validation
EP2653992A1 (en) Microcontroller configured for external memory decryption
CA3115585A1 (en) Blockchain-based hours-of-service system
AU2015334035B2 (en) Method, apparatus, and system for initializing a meter reading device
US8738546B2 (en) Self-organizing energy pricing
WO2019222147A1 (en) Trusted battery meter and battery monitoring system
CN109682436B (en) Method for additionally reading meter reading data of gas meter of Internet of things
US20130046493A1 (en) Systems and methods for data anomaly detection
CN111860929B (en) Method and system for estimating spelling rate of carpooling order
US20150242476A1 (en) Updating database statistics with dynamic profiles
CN112685224A (en) Method, apparatus and computer program product for task management
CN113033982A (en) Method for carrying out energy constraint inspection on planning task of satellite
CN103729796A (en) Sampling investigation method and system
CN104142959A (en) Automated test device and method based on expert knowledge database
CN108280134A (en) The data system for the distribution of commodities and method, storage medium, terminal based on the control of account amount
JP2005012912A (en) Operation planning method for power generation facility, and operation planning system for power generation facility
US20180107958A1 (en) Blockchain expense and resource utilization optimization
CN111626837A (en) Accounting module method for building settlement or borrowing
US11157974B2 (en) Prepaid utility metering with complex rates using advanced metering infrastructure (AMI) smart meters
CN113986658A (en) Charging method, device, equipment and medium based on computing management platform
CN103955854A (en) Account management device and method
CN114169985A (en) Asset value-reducing stage determination method and 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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 065001 hill 0387, 118 Huaxiang Road, Langfang Economic and Technological Development Zone, Hebei Province

Applicant after: Langfang Xinao Intelligent Technology Co., Ltd

Address before: 065001 Langfang City Development Zone of Hebei province Huaxiang No. 106 New Austrian Gas Equipment Co Ltd R & D department

Applicant before: LANGFANG ENN GAS EQUIPMENT Co.,Ltd.

GR01 Patent grant
GR01 Patent grant