CN103325184B - Offline data validation method for intelligent gas meter - Google Patents
Offline data validation method for intelligent gas meter Download PDFInfo
- Publication number
- CN103325184B CN103325184B CN201310198653.0A CN201310198653A CN103325184B CN 103325184 B CN103325184 B CN 103325184B CN 201310198653 A CN201310198653 A CN 201310198653A CN 103325184 B CN103325184 B CN 103325184B
- Authority
- CN
- China
- Prior art keywords
- money
- tolerance
- card
- prepaid
- supplementing
- 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
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
Technical field
The present invention relates to intelligent gas meter offline data validation method.
Background technology
At present, on market, intelligent gas meter kind is more, mainly be divided into IC-card intelligent gas meter, remote-control intelligent gas meter, Intelligent gas meter based on internet of things, these intelligent gas meters in use, need to coordinate and complicated sell gas management system and just can fully demonstrate its superiority, wherein conveniently user purchases the toll administration of combustion gas and gas company, the use of IC-card is provided with in all intelligent gas meters, user uses IC-card to supplement with money, gas company is charged by IC-card, therefore there is repeatedly the transmittance process repeatedly of tolerance, in the transmittance process of tolerance, if there is no the data verification means of validity, the use of gas company and gas meter, flow meter user will be badly influenced.
Under effectively not verifying means situation, when user uses IC-card to supplement with money, may there is same tolerance twice or repeatedly supplement with money IC-card in the tolerance stored in charging system, and in this case, gas company will suffer economic loss.
Under effectively not verifying means situation, when to store repeatedly in charging system not recharged effectively supplement tolerance with money time, erroneous judgement may be there is in charging system, be about to the non-load value data of part be judged as supplementing with money, cause charging system IC-card to be decreased to the tolerance that should supplement with money, use user to cause economic loss to gas meter, flow meter.
On the other hand, because the gas meter, flow meter selling the management of gas management system is numerous, sell gas management system and be divided into again multistage subsystem and total system, multistage subsystem has equally sells airway dysfunction, if therefore do not make gas consumption verify means or the improper use of checking means, IC-card, supplement supplementing number of times with money and supplementing tolerance with money in subsystem, total system three with money and will there will be mistake, cause and supplement tolerance repetition with money, the problems such as omission, when this situation is serious, gas meter, flow meter may be caused to use the economic dispute of user and gas company, and causing selling gas management system cannot normally use.
Chinese Patent Application No.: 201010519362.8 recharge method and the systems disclosing a kind of rechargeable card, described recharge method comprises the steps: to send to server to supplement 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; Accumulation corresponding after upgrading rechargeable card supplements total amount M2 with money, M2=M1+N; Wherein N is the newly-increased amount of supplementing with money; Identify on rechargeable card to charging terminal.Before supplementing with money, charging terminal is by unique identification information, and the accumulation obtained before supplementing with money is supplemented total amount with money, but repeatedly effectively do not verified means, easy appearance erroneous judgement: the data of not supplementing with money are judged as that the data of supplementing with money or having supplemented with money are judged as not supplementing with money, cause repeating to supplement with money.No matter occur which kind of is judged by accident, all can cause damage, beyond the principle of utmost fair dealing.
Summary of the invention
The object of the invention is to the shortcoming overcoming prior art, providing a kind of can fill, repeats the situation of supplementing with money by effectively anti-leak-stopping, and the intelligent gas meter offline data validation method of the rights and interests of company and user is supplemented in protection with money.
Object of the present invention is achieved through the following technical solutions: intelligent gas meter offline data validation method, described off-line data comprise supplement number of times with money, this supplements tolerance with money, last time supplements tolerance with money and last time supplements tolerance with money, it comprises the following steps:
S1: number of times and IC-card store that to supplement number of times with money poor by supplementing with money of storing in charging system:
If I supplements number of times difference 0 with money, then the data being considered as supplementing with money are used, not reprocessing;
If II supplements number of times difference 1 with money, then carry out step S2;
If III supplements number of times difference 2 with money, then carry out step S3;
If IV supplements number of times difference 3 with money, then carry out step S4;
S2: this of being supplemented with money tolerance and IC-card store the last time in charging system is supplemented off-line tolerance with money and contrasted, and the upper last time in charging system is supplemented with money last time that tolerance and IC-card store supplement off-line tolerance with money and contrast, if comparing result is identical, to use in charging system this to supplement tolerance with money to supplement with money IC-card, the number of times of supplementing with money that IC-card stores adds 1.
S3: this off-line tolerance of supplementing with money that the tolerance of being supplemented with money the upper last time of charging system and IC-card store contrasts, if comparing result is identical, uses following sub-step to supplement with money:
S31: the tolerance using supplemented with money the last time in charging system is supplemented with money, and the number of times of supplementing with money that IC-card stores adds 1;
S32: use this tolerance of supplementing with money in charging system to supplement with money, the number of times of supplementing with money that IC-card stores adds 1 again;
S4: use the tolerance of supplementing with money for 3 times in charging system to supplement with money IC-card, the number of times of supplementing with money that IC-card stores increases progressively 3;
In described step S1, if supplement number of times with money to differ by more than 3, be then considered as invalid data, transfer to artificial nucleus to the validity of data.
When comparing result is different in described step S2, is then considered as tolerance invalid, does not process.
When comparing result is different in described step S3, is then considered as tolerance invalid, does not process.
The present invention has the following advantages:
1, by adopting this intelligent gas meter offline data validation method, preventing the tolerance of having supplemented with money in charging system from again supplementing with money IC-card, avoiding and cause economic loss to gas company.
2, by adopting the method for this intelligent gas meter offline data validation, preventing the leakage of the tolerance of not supplementing with money in charging system from filling, avoiding and using user to cause economic loss to gas meter, flow meter.
3, the multistage subsystem sold in gas system needs in real time and total system carries out supplementing with money the transmission of tolerance, and this off-line data calibration technology can ensure IC-card, supplements subsystem with money, supplementing number of times with money and supplementing the validity transmission of tolerance with money in total system, prevents and fills
Value tolerance repeats, the problems such as omission, protects the legitimate rights and interests of gas company, gas meter, flow meter use both users.
Embodiment
Below in conjunction with embodiment, the present invention will be further described, but protection scope of the present invention is not limited to the following stated.
[embodiment 1]:
Table one supplement with money number of times difference be 0 supplement Record Comparison with money
Intelligent gas meter offline data validation method, described off-line data comprise supplement number of times with money, this supplements tolerance with money, last time supplements tolerance with money and last time supplements tolerance with money, it comprises the following steps:
S1: number of times and IC-card store that to supplement number of times with money poor by supplementing with money of storing in charging system: as can be seen from the above table, the number of times of supplementing with money stored in charging system is 4, and it this supplements tolerance with money, last time supplements tolerance with money, upper time tolerance of supplementing with money is: 40,30,20; The number of times of supplementing with money that IC-card stores also is 4, and it this supplements tolerance with money, last time supplements tolerance with money, upper time tolerance of supplementing with money is also: 40,30,20, and by relatively finding out, both tolerance is identical, be then considered as load value data and used, no longer process.
[embodiment 2]:
Table two supplement with money number of times difference be 1 supplement Record Comparison with money
Intelligent gas meter offline data validation method, described off-line data comprise supplement number of times with money, this supplements tolerance with money, last time supplements tolerance with money and last time supplements tolerance with money, it comprises the following steps:
S1: number of times and IC-card store that to supplement number of times with money poor by supplementing with money of storing in charging system: as can be seen from the above table, the number of times of supplementing with money in charging system is 3, it this supplements tolerance with money, last time supplements tolerance with money, upper last time supplements tolerance with money and be respectively 30,20,10; And the number of times of supplementing with money that IC-card stores is 2, it this supplements tolerance with money, last time supplements tolerance with money, supplemented tolerance with money and be respectively 20,10,0 upper last time, and the number of times of supplementing with money in charging system differs 1 with the number of times of supplementing with money that IC-card stores, and carries out step S2;
S2: this of being supplemented with money tolerance and IC-card store the last time in charging system is supplemented off-line tolerance with money and contrasted, supplementing tolerance the last time in charging system with money is 20, IC-card this to supplement tolerance with money be also 20, and the upper last time in charging system is supplemented with money last time that tolerance and IC-card store supplement off-line tolerance with money and contrast, supplementing tolerance the upper last time in charging system with money is 10, it is also 10 that the last time of IC-card supplements tolerance with money, comparing result is identical, then to use in charging system this to supplement tolerance with money to supplement with money IC-card, the number of times of supplementing with money that IC-card stores adds 1.If when aforementioned twice contrast has the comparing result of wherein one group of data different, be then considered as supplementing with money tolerance invalid, do not process.
[embodiment 3]:
Table three supplement with money number of times difference be 2 supplement Record Comparison with money
Intelligent gas meter offline data validation method, described off-line data comprise supplement number of times with money, this supplements tolerance with money, last time supplements tolerance with money and last time supplements tolerance with money, it comprises the following steps:
S1: number of times and IC-card store that to supplement number of times with money poor by supplementing with money of storing in charging system: as can be seen from the above table, the number of times of supplementing with money in charging system is 3, and the number of times of supplementing with money that IC-card stores is 1, supplements number of times difference 2 with money, carries out step S3;
S3: this off-line tolerance of supplementing with money that the tolerance of being supplemented with money the upper last time of charging system and IC-card store contrasts, when in charging system to supplement number of times with money be 3 time, it this supplements tolerance with money, last time supplements tolerance with money, last time supplements tolerance with money and is respectively 30, 20, 10, and in IC-card to supplement number of times with money be 1 time, it this supplements tolerance with money, last time supplements tolerance with money, last time supplements tolerance with money and is respectively 10, 0, 0, this of being supplemented with money tolerance and IC-card store the upper last time of charging system is supplemented tolerance with money and is contrasted, comparing result is identical, following sub-step is used to supplement with money:
S31: the tolerance using supplemented with money the last time in charging system is supplemented with money, and the number of times of supplementing with money that IC-card stores adds 1;
S32: use this tolerance of supplementing with money in charging system to supplement with money, the number of times of supplementing with money that IC-card stores adds 1 again;
If supplemented with money the upper last time of charging system, tolerance and IC-card stored this to supplement tolerance with money different, be then considered as tolerance invalid, do not process.
[embodiment 4]:
Table four supplement with money number of times difference be 3 supplement Record Comparison with money
Intelligent gas meter offline data validation method, described off-line data comprise supplement number of times with money, this supplements tolerance with money, last time supplements tolerance with money and last time supplements tolerance with money, it comprises the following steps:
S1: number of times and IC-card store that to supplement number of times with money poor by supplementing with money of storing in charging system: as can be seen from the above table, number of times of supplementing with money in charging system is 4, it this supplements tolerance with money, last time supplements tolerance with money, upper last time supplements tolerance with money and be respectively 40,30,20, and the number of times of supplementing with money that IC-card stores is 1, it this supplements tolerance with money, last time supplements tolerance with money, upper last time, to supplement tolerance with money be 10,0,0, supplement number of times difference 3 with money, carry out step S4;
S4: use the tolerance of supplementing with money for 3 times in charging system directly to supplement with money IC-card, the number of times of supplementing with money that IC-card stores increases progressively 3, the number of times of supplementing with money of having supplemented rear IC-card with money becomes 4 times, this supplements tolerance with money, last time supplements tolerance with money, upper last time off-line tolerance become 40,30,20.
In addition, in described step S1, if supplement number of times with money to differ by more than 3, be then considered as invalid data, transfer to artificial nucleus to the validity of data.
Claims (4)
1. intelligent gas meter offline data validation method, described off-line data comprise supplement number of times with money, this supplements tolerance with money, last time supplements tolerance with money and last time supplements tolerance with money, it is characterized in that: it comprises the following steps:
S1: number of times and IC-card store that to supplement number of times with money poor by supplementing with money of storing in charging system:
If I supplements number of times difference 0 with money, then the data being considered as supplementing with money are used, not reprocessing;
If II supplements number of times difference 1 with money, then carry out step S2;
If III supplements number of times difference 2 with money, then carry out step S3;
If IV supplements number of times difference 3 with money, then carry out step S4;
S2: this of being supplemented with money tolerance and IC-card store the last time in charging system is supplemented off-line tolerance with money and contrasted, and the upper last time in charging system is supplemented with money last time that tolerance and IC-card store supplement off-line tolerance with money and contrast, if comparing result is identical, to use in charging system this to supplement tolerance with money to supplement with money IC-card, the number of times of supplementing with money that IC-card stores adds 1;
S3: this off-line tolerance of supplementing with money that the tolerance of being supplemented with money the upper last time of charging system and IC-card store contrasts, if comparing result is identical, uses following sub-step to supplement with money:
S31: the tolerance using supplemented with money the last time in charging system is supplemented with money, and the number of times of supplementing with money that IC-card stores adds 1;
S32: use this tolerance of supplementing with money in charging system to supplement with money, the number of times of supplementing with money that IC-card stores adds 1 again;
S4: use the tolerance of supplementing with money for 3 times in charging system to supplement with money IC-card, the number of times of supplementing with money that IC-card stores increases progressively 3.
2. intelligent gas meter offline data validation method according to claim 1, is characterized in that: in described step S1, if supplement number of times with money to differ by more than 3, is then considered as invalid data, transfers to artificial nucleus to the validity of data.
3. intelligent gas meter offline data validation method according to claim 1, is characterized in that: when comparing result is different in described step S2, is then considered as tolerance invalid, does not process.
4. intelligent gas meter offline data validation method according to claim 1, is characterized in that: when comparing result is different in described step S3, is then considered as tolerance invalid, does not process.
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 CN103325184A (en) | 2013-09-25 |
CN103325184B true 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) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
Citations (5)
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 |
-
2013
- 2013-05-24 CN CN201310198653.0A patent/CN103325184B/en active Active
Patent Citations (5)
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 |
Also Published As
Publication number | Publication date |
---|---|
CN103325184A (en) | 2013-09-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9058566B2 (en) | Control device, control method, and computer program product | |
CN107967640B (en) | Mobile power supply returning method and device, terminal and computer readable storage medium | |
WO2013034278A3 (en) | Method for paying with at least one electronic payment means key | |
CN107330740A (en) | A kind of charging pile fee calculation procedure and device, charging pile | |
CN104063296B (en) | Veneer condition detection method in place and device | |
WO2012112460A3 (en) | Offer insertion system | |
CN104504567B (en) | A kind of recharge method and device of small amount payment card | |
CN103325184B (en) | Offline data validation method for intelligent gas meter | |
CN103678028A (en) | RAM internal storage detection method and device | |
CN106096925A (en) | A kind of smart card, the recharge method of a kind of smart card and system | |
NZ630631A (en) | Systems and methods for providing, reloading, and redeeming stored value cards used in transit applications | |
CN110428304A (en) | A kind of order settlement system, method and device | |
CN104680041A (en) | Offline software authorization validity verification method | |
CN104063729B (en) | A kind of system and method controlling self-aided terminal card feed card feed | |
CN113978291A (en) | Charging system, charging method and integrated equipment | |
CN103312698A (en) | Off-line data validity verifying method | |
CN107229853A (en) | Law enforcement information method for uploading, terminal and computer-readable recording medium | |
CN103118367B (en) | System and method for safety certification of mobile phones | |
CN105471884A (en) | Authentication method and server | |
CN102982614B (en) | Update the method and device of rechargeable card internal information | |
CN109800565A (en) | Software upgrading method and terminal equipment | |
CN114465319A (en) | Electronic device, method for determining path impedance, chip, and storage medium | |
CN108446560A (en) | A kind of system detecting method, device, terminal device and readable storage medium storing program for executing | |
CN203759689U (en) | Auxiliary device for main electronic device | |
CN108171567B (en) | Order forwarding method and equipment and computer storage medium |
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. |