CN103325184A - Offline data validation method for intelligent gas meter - Google Patents

Offline data validation method for intelligent gas meter Download PDF

Info

Publication number
CN103325184A
CN103325184A CN2013101986530A CN201310198653A CN103325184A CN 103325184 A CN103325184 A CN 103325184A CN 2013101986530 A CN2013101986530 A CN 2013101986530A CN 201310198653 A CN201310198653 A CN 201310198653A CN 103325184 A CN103325184 A CN 103325184A
Authority
CN
China
Prior art keywords
money
tolerance
card
supplementing
prepaid
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2013101986530A
Other languages
Chinese (zh)
Other versions
CN103325184B (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.)
Chengdu Qinchuan IoT Technology Co Ltd
Original Assignee
Chengdu Qinchuan Technology Development Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chengdu Qinchuan Technology Development Co Ltd filed Critical Chengdu Qinchuan Technology Development Co Ltd
Priority to CN201310198653.0A priority Critical patent/CN103325184B/en
Publication of CN103325184A publication Critical patent/CN103325184A/en
Application granted granted Critical
Publication of CN103325184B publication Critical patent/CN103325184B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Control Of Vending Devices And Auxiliary Devices For Vending Devices (AREA)
  • Beverage Vending Machines With Cups, And Gas Or Electricity Vending Machines (AREA)

Abstract

The invention relates to an offline data validation method for an intelligent gas meter. The offline data validation method for the intelligent gas meter comprises the steps of leading a prepaid number of times in a prepaid system and a prepaid number of times of an IC (Integrated Circuit) card to be subjected to subtraction: if the difference of the prepaid numbers of times equals 0 or is greater than 3, performing no processing; if the difference of the prepaid numbers of times equals 1, comparing a prepaid gas quantity last time and a prepaid gas quantity the time before last time in the prepaid system with a prepaid offline gas quantity this time and a prepaid offline gas quantity last time stored in the IC card respectively, if the comparison result is the same, performing prepaying, and adding 1 to the prepaid number of times stored in the IC card; if the difference of the prepaid numbers of times equals 2, comparing the prepaid gas quantity the time before last time in the prepaid system with the prepaid offline gas quantity this time stored in the IC card, if the comparison result is the same, performing prepaying on the IC card two times through the prepaid system, and adding 2 to the prepaid number of times stored in the IC card in an accumulating mode; if the difference of the prepaid numbers of times equals 3, directly performing prepaying, and progressively adding 3 to the prepaid number of times stored in the IC card. The offline data validation method for the intelligent gas meter has the advantages of being capable of effectively preventing the conditions of prepaying omission and prepaying repetition, and protecting the rights and interests of prepaying companies and users.

Description

Intelligent gas meter off-line data validation verification method
Technical field
The present invention relates to intelligent gas meter off-line data validation verification method.
Background technology
At present, the intelligent gas meter kind is more on the market, mainly be divided into the IC-card intelligent gas meter, remote-control intelligent gas meter, the Internet of Things intelligent gas meter, these intelligent gas meters in use, need to cooperate and complicated sell the gas management system and just can demonstrate fully its superiority, wherein purchase the toll administration of combustion gas and gas company for convenience of the user, in all intelligent gas meters, all be equipped with the use of IC-card, the user uses IC-card to supplement with money, gas company is charged by IC-card, therefore has repeatedly the transmittance process repeatedly of tolerance, in the transmittance process of tolerance, if do not have the data verification means of validity, will badly influence gas company and gas meter, flow meter user's use.
Do not having under the effective checking means situation, when the user used IC-card to supplement with money, may there be twice of same tolerance in the tolerance of storing in the charging system or repeatedly IC-card be supplemented with money, and in this case, gas company will be suffered economic loss.
Do not having under the effective checking means situation, when store in the charging system repeatedly do not supplemented with money effectively supplement tolerance with money the time, erroneous judgement may appear in charging system, be about to part not load value data be judged as and supplement with money, cause charging system that IC-card has been reduced the tolerance that should supplement with money, use the user to cause economic loss to gas meter, flow meter.
On the other hand, because it is numerous to sell the gas meter, flow meter of gas management system management, sell the gas management system and be divided into multistage subsystem and total system again, multistage subsystem has the airway dysfunction of selling equally, if therefore do not make gas consumption checking means or the improper use of checking means, IC-card, supplement supplementing number of times with money and supplementing tolerance with money among subsystem, the total system three with money and mistake will occur, cause and supplement the tolerance repetition with money, problems such as omission, when this situation is serious, may cause that gas meter, flow meter uses the economic dispute of user and gas company, causing selling the gas management system can't normally use.
Chinese patent application number: 201010519362.8 disclose a kind of recharge method and system of rechargeable card, and described recharge method comprises the steps: to send to server supplements order with money; According to the unique identification information of rechargeable card, obtain before this rechargeable card for accumulation supplement total amount M1 with money; Total amount M2, M2=M1+N are supplemented in corresponding accumulation with money after upgrading rechargeable card; Wherein N is the newly-increased amount of supplementing with money; Rechargeable card is identified to supplementing with money on the terminal.Before supplementing with money, supplement terminal with money by unique identification information, total amount is supplemented in the accumulation of obtaining before supplementing with money with money, but does not repeatedly effectively verify means, erroneous judgement occurs easily: the data of not supplementing with money are judged as the data of supplementing with money or having supplemented with money and are not judged as and supplement with money, cause repeating to supplement with money.Which kind of erroneous judgement no matter occurs, all can cause damage, exceeded the principle of utmost fair dealing.
Summary of the invention
The objective of the invention is to overcome the shortcoming of prior art, provide a kind of and can effectively prevent the situation that leak-stopping fills, repeats to supplement with money, the intelligent gas meter off-line data validation verification method of company and user's rights and interests is supplemented in protection with money.
Purpose of the present invention is achieved through the following technical solutions: intelligent gas meter off-line data validation verification method, described off-line data comprise supplement number of times with money, this is supplemented tolerance with money, supplemented tolerance with money and supplemented tolerance last time with money last time, it may further comprise the steps:
S1: with store in the charging system supplement with money the storage of number of times and IC-card to supplement number of times with money poor:
ⅰ, if supplement number of times with money and differ 0, the data that then are considered as supplementing with money are used, and no longer handle;
ⅱ, if supplement number of times with money and differ 1, then carry out step S2;
ⅲ, if supplement number of times with money and differ 2, then carry out step S3;
ⅳ, if supplement number of times with money and differ 3, then carry out step S4;
S2: this of supplementing the storage of tolerance and IC-card the last time in the charging system with money supplemented with money off-line tolerance and compared, and supplemented with money off-line tolerance compare the last time of supplementing the storage of tolerance and IC-card the last last time in the charging system with money, if comparing result is identical, use in the charging system this to supplement tolerance with money IC-card is supplemented with money, the number of times of supplementing with money of IC-card storage adds 1.
S3: this off-line tolerance of supplementing with money of the tolerance of supplementing with money the last last time of charging system and IC-card storage is compared, if comparing result is identical, use following substep to supplement with money:
S31: the tolerance of using supplemented with money the last time in the charging system is supplemented with money, and the number of times of supplementing with money of IC-card storage adds 1;
S32: use this tolerance of supplementing with money in the charging system to supplement with money, the number of times of supplementing with money of IC-card storage adds 1 again;
S4: use the tolerance that 3 times are supplemented with money in the charging system that IC-card is supplemented with money, the number of times of supplementing with money of IC-card storage increases progressively 3;
Among the described step S1, if supplementing number of times with money differs by more than 3, then be considered as invalid data, transfer to the artificial nucleus to the validity of data.
Among the described step S2 comparing result not simultaneously, it is invalid then to be considered as tolerance, does not handle.
Among the described step S3 comparing result not simultaneously, it is invalid then to be considered as tolerance, does not handle.
The present invention has the following advantages:
1, by adopting this intelligent gas meter off-line data validation verification method, prevent that the tolerance of having supplemented with money in the charging system from supplementing with money IC-card again, avoided causing economic loss to gas company.
2, by adopting the method for this intelligent gas meter off-line data validation verification, prevent that the leakage of the tolerance of not supplementing with money in the charging system from filling, avoided using the user to cause economic loss to gas meter, flow meter.
3, sell that multistage subsystem in the gas system needs in real time and total system is supplemented the transmission of tolerance with money, this off-line data calibration technology can guarantee IC-card, supplements subsystem with money, supplementing number of times with money and supplementing the validity transmission of tolerance with money in the total system, prevents and fills
Value tolerance repeats, and problems such as omission have protected gas company, gas meter, flow meter to use both legitimate rights and interests of user.
Embodiment
The present invention will be further described below in conjunction with embodiment, but protection scope of the present invention is not limited to the following stated.
[embodiment 1]:
It is 0 the record contrast of supplementing with money that table one supplements that number of times differs with money
Figure BDA00003244846100031
Intelligent gas meter off-line data validation verification method, described off-line data comprise supplement number of times with money, this is supplemented tolerance with money, supplemented tolerance with money and supplemented tolerance last time with money last time, it may further comprise the steps:
S1: with store in the charging system supplement with money the storage of number of times and IC-card to supplement number of times with money poor: as can be seen from the above table, the number of times of storing in the charging system of supplementing with money is 4, it this supplement with money tolerance, last time supplement with money tolerance, on supplement time tolerance with money and be: 40,30,20; The number of times of supplementing with money of IC-card storage also is 4, it this supplement with money tolerance, last time supplement with money tolerance, on supplement time tolerance with money and also be: 40,30,20, by more as can be seen, both tolerance is identical, then is considered as load value data and is used, and no longer processes.
[embodiment 2]:
It is 1 the record contrast of supplementing with money that table two supplements that number of times differs with money
Intelligent gas meter off-line data validation verification method, described off-line data comprise supplement number of times with money, this is supplemented tolerance with money, supplemented tolerance with money and supplemented tolerance last time with money last time, it may further comprise the steps:
S1: with store in the charging system supplement with money the storage of number of times and IC-card to supplement number of times with money poor: as can be seen from the above table, the number of times of supplementing with money in the charging system is 3, and it this supplemented tolerance, last time with money and supplemented tolerance, last last time with money and supplement tolerance with money and be respectively 30,20,10; And the number of times of supplementing with money of IC-card storage is 2, and it this supplemented tolerance, last time with money and supplemented tolerance, the last time of lasting with money and supplement tolerance with money and be respectively 20,10,0, and the number of times of supplementing with money that number of times and IC-card store of supplementing with money in the charging system differs 1, carries out step S2;
S2: this of supplementing the storage of tolerance and IC-card the last time in the charging system with money supplemented with money off-line tolerance and compared, supplementing tolerance the last time in the charging system with money is 20, IC-card this to supplement tolerance with money also be 20, and supplemented with money off-line tolerance compare the last time of supplementing the storage of tolerance and IC-card the last last time in the charging system with money, supplementing tolerance the last last time in the charging system with money is 10, supplementing tolerance the last time of IC-card with money also is 10, comparing result is identical, then use in the charging system this to supplement tolerance with money IC-card is supplemented with money, the number of times of supplementing with money of IC-card storage adds 1.If the wherein comparing result difference of one group of data is arranged, it is invalid then to be considered as supplementing with money tolerance, does not handle when aforementioned twice contrast.
[embodiment 3]:
It is 2 the record contrast of supplementing with money that table three supplements that number of times differs with money
Figure BDA00003244846100041
Intelligent gas meter off-line data validation verification method, described off-line data comprise supplement number of times with money, this is supplemented tolerance with money, supplemented tolerance with money and supplemented tolerance last time with money last time, it may further comprise the steps:
S1: with store in the charging system supplement with money the storage of number of times and IC-card to supplement number of times with money poor: as can be seen from the above table, the number of times of supplementing with money in the charging system is 3, and the number of times of supplementing with money that IC-card is stored is 1, supplements number of times with money and differs 2, carries out step S3;
S3: this off-line tolerance of supplementing with money of the tolerance of supplementing with money the last last time of charging system and IC-card storage is compared, when supplementing number of times with money when being 3 in the charging system, it this supplemented tolerance, last time with money and supplemented tolerance, last last time with money and supplement tolerance with money and be respectively 30,20,10, and the number of times of supplementing with money in the IC-card is 1 o'clock, it this supplemented tolerance, last time with money and supplemented tolerance, last last time with money and supplement tolerance with money and be respectively 10,0,0, this of supplementing the storage of tolerance and IC-card the last last time of charging system with money supplemented with money tolerance and compared, comparing result is identical, uses following substep to supplement with money:
S31: the tolerance of using supplemented with money the last time in the charging system is supplemented with money, and the number of times of supplementing with money of IC-card storage adds 1;
S32: use this tolerance of supplementing with money in the charging system to supplement with money, the number of times of supplementing with money of IC-card storage adds 1 again;
If it is different that this of supplementing last time of lasting of charging system that tolerance and IC-card store with money supplemented tolerance with money, it is invalid then to be considered as tolerance, does not handle.
[embodiment 4]:
It is 3 the record contrast of supplementing with money that table four supplements that number of times differs with money
Figure BDA00003244846100051
Intelligent gas meter off-line data validation verification method, described off-line data comprise supplement number of times with money, this is supplemented tolerance with money, supplemented tolerance with money and supplemented tolerance last time with money last time, it may further comprise the steps:
S1: with store in the charging system supplement with money the storage of number of times and IC-card to supplement number of times with money poor: as can be seen from the above table, the number of times of supplementing with money in the charging system is 4, it this supplemented tolerance, last time with money and supplemented tolerance, last last time with money and supplement tolerance with money and be respectively 40,30,20, and the number of times of supplementing with money of IC-card storage is 1, it this supplemented tolerance, last time with money and supplemented tolerance, last last time with money to supplement tolerance with money be 10,0,0, supplement number of times with money and differ 3, carry out step S4;
S4: use the tolerance that 3 times are supplemented with money in the charging system directly IC-card to be supplemented with money, the number of times of supplementing with money of IC-card storage increases progressively 3, supplement that the number of times of supplementing with money of IC-card becomes 4 times after finishing with money, this is supplemented tolerance, last time with money and supplements tolerance, last last time off-line tolerance with money and become 40,30,20.
In addition, among the described step S1, if supplementing number of times with money differs by more than 3, then be considered as invalid data, transfer to the artificial nucleus to the validity of data.

Claims (5)

1. intelligent gas meter off-line data validation verification method, described off-line data comprise supplement number of times with money, this is supplemented tolerance with money, supplemented tolerance with money and supplemented tolerance last time with money last time, it is characterized in that: it may further comprise the steps:
S1: with store in the charging system supplement with money the storage of number of times and IC-card to supplement number of times with money poor:
ⅰ, if supplement number of times with money and differ 0, the data that then are considered as supplementing with money are used, and no longer handle;
ⅱ, if supplement number of times with money and differ 1, then carry out step S2;
ⅲ, if supplement number of times with money and differ 2, then carry out step S3;
ⅳ, if supplement number of times with money and differ 3, then carry out step S4;
S2: this of supplementing the storage of tolerance and IC-card the last time in the charging system with money supplemented with money off-line tolerance and compared, and supplemented with money off-line tolerance compare the last time of supplementing the storage of tolerance and IC-card the last last time in the charging system with money, if comparing result is identical, use in the charging system this to supplement tolerance with money IC-card is supplemented with money, the number of times of supplementing with money of IC-card storage adds 1.
2.S3: this off-line tolerance of supplementing with money of the tolerance of supplementing with money the last last time of charging system and IC-card storage is compared, if comparing result is identical, use following substep to supplement with money:
S31: the tolerance of using supplemented with money the last time in the charging system is supplemented with money, and the number of times of supplementing with money of IC-card storage adds 1;
S32: use this tolerance of supplementing with money in the charging system to supplement with money, the number of times of supplementing with money of IC-card storage adds 1 again;
S4: use the tolerance that 3 times are supplemented with money in the charging system that IC-card is supplemented with money, the number of times of supplementing with money of IC-card storage increases progressively 3.
3. intelligent gas meter off-line data validation verification method according to claim 1 is characterized in that: among the described step S1, if supplementing number of times with money differs by more than 3, then be considered as invalid data, transfer to the artificial nucleus to the validity of data.
4. intelligent gas meter off-line data validation verification method according to claim 1 is characterized in that: among the described step S2 comparing result not simultaneously, it is invalid then to be considered as tolerance, does not handle.
5. intelligent gas meter off-line data validation verification method according to claim 1 is characterized in that: among the described step S3 comparing result not simultaneously, it is invalid then to be considered as tolerance, does not handle.
CN201310198653.0A 2013-05-24 2013-05-24 Offline data validation method for intelligent gas meter Active CN103325184B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310198653.0A CN103325184B (en) 2013-05-24 2013-05-24 Offline data validation method for intelligent gas meter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310198653.0A CN103325184B (en) 2013-05-24 2013-05-24 Offline data validation method for intelligent gas meter

Publications (2)

Publication Number Publication Date
CN103325184A true CN103325184A (en) 2013-09-25
CN103325184B CN103325184B (en) 2015-05-20

Family

ID=49193905

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310198653.0A Active CN103325184B (en) 2013-05-24 2013-05-24 Offline data validation method for intelligent gas meter

Country Status (1)

Country Link
CN (1) CN103325184B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103700188A (en) * 2013-12-30 2014-04-02 成都市卓睿科技有限公司 Method for implementing self-service payment on water, electricity and gas and storing purchasing fee-based information in self-service manner
CN105336047A (en) * 2014-08-07 2016-02-17 上海安居利智能科技发展有限公司 Prepayment meter charging method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1196457A (en) * 1997-09-17 1999-04-09 Yazaki Corp Prepaid type supply controller
JP2008117247A (en) * 2006-11-07 2008-05-22 Toyo Keiki Co Ltd Prepaid type lp gas rate collection method and system
CN101339682A (en) * 2008-07-29 2009-01-07 深圳市思达仪表有限公司 CPU card three phase electronic type pre-payment step electricity price electrical energy meter
CN101738519A (en) * 2008-11-07 2010-06-16 深圳市宝利达实业有限公司 Electricity consumption payment settlement system and implementation method thereof
CN202145331U (en) * 2011-07-08 2012-02-15 河南新天科技股份有限公司 Low power consumption wireless copying control intelligent water meter

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1196457A (en) * 1997-09-17 1999-04-09 Yazaki Corp Prepaid type supply controller
JP2008117247A (en) * 2006-11-07 2008-05-22 Toyo Keiki Co Ltd Prepaid type lp gas rate collection method and system
CN101339682A (en) * 2008-07-29 2009-01-07 深圳市思达仪表有限公司 CPU card three phase electronic type pre-payment step electricity price electrical energy meter
CN101738519A (en) * 2008-11-07 2010-06-16 深圳市宝利达实业有限公司 Electricity consumption payment settlement system and implementation method thereof
CN202145331U (en) * 2011-07-08 2012-02-15 河南新天科技股份有限公司 Low power consumption wireless copying control intelligent water meter

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103700188A (en) * 2013-12-30 2014-04-02 成都市卓睿科技有限公司 Method for implementing self-service payment on water, electricity and gas and storing purchasing fee-based information in self-service manner
CN103700188B (en) * 2013-12-30 2016-03-23 成都市卓睿科技有限公司 The method of pay imformation is bought in the omnidistance self-help charging of water, electricity, gas self-service unloading
CN105336047A (en) * 2014-08-07 2016-02-17 上海安居利智能科技发展有限公司 Prepayment meter charging method and system

Also Published As

Publication number Publication date
CN103325184B (en) 2015-05-20

Similar Documents

Publication Publication Date Title
CN107967640B (en) Mobile power supply returning method and device, terminal and computer readable storage medium
US20090125558A1 (en) Card authorization terminal system and card management method using the same
CN106327317A (en) Data verification method and device used for computer system
CN102081821A (en) IC (integrated circuit) card paying system and method as well as multi-application IC card and payment terminal
CN105205508A (en) Self-service card issuing machine for intelligent card
CN110163634B (en) Refund method and device based on blockchain and electronic equipment
CN103413378B (en) A kind of method of carrying out data communication between fuel charger and motor vehicle
RU2012133283A (en) RELIABLE PAYMENT SYSTEM FOR STORED VALUES CONTAINING UNRELIABLE SALES TERMINALS
CN103325184A (en) Offline data validation method for intelligent gas meter
CN106096925A (en) A kind of smart card, the recharge method of a kind of smart card and system
SE525418C2 (en) payment
MY191689A (en) Systems and methods for providing, reloading, and redeeming stored value cards used in transit applications
CN106650464A (en) Security detection method and terminal
CN109523245A (en) It transfers accounts path recommended method and terminal device
CN103312698A (en) Off-line data validity verifying method
CN103377567A (en) Method and device for reading digital electronic book
CN103646467B (en) A kind of logic encryption card offline transaction data processing method and device
JP2022183306A (en) Method and device for identifying battery type of electric car
CN102129745A (en) Charging method and system for rechargeable card and application method and management system for rechargeable card
CN108985933A (en) A kind of bookkeeping methods and device
CN108648781A (en) A kind of storage device detection device
CN103118367A (en) System and method for safety certification of mobile phones
CN102982614B (en) Update the method and device of rechargeable card internal information
CN101673384A (en) Method for processing electronic service and device
CN106570734B (en) Game transaction request processing method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: 610199 Longquanyi, Sichuan Province Industrial Park licensing

Patentee after: Chengdu Qinchuan networking Polytron Technologies Inc

Address before: 610199 Longquanyi, Sichuan Province Industrial Park licensing

Patentee before: Chengdu Taichuan Technology Development Co., Ltd.