CN103312698B - Offline data validation method - Google Patents

Offline data validation method Download PDF

Info

Publication number
CN103312698B
CN103312698B CN201310198627.8A CN201310198627A CN103312698B CN 103312698 B CN103312698 B CN 103312698B CN 201310198627 A CN201310198627 A CN 201310198627A CN 103312698 B CN103312698 B CN 103312698B
Authority
CN
China
Prior art keywords
money
line data
supplementing
supplemented
supplement
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
CN201310198627.8A
Other languages
Chinese (zh)
Other versions
CN103312698A (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 CN201310198627.8A priority Critical patent/CN103312698B/en
Publication of CN103312698A publication Critical patent/CN103312698A/en
Application granted granted Critical
Publication of CN103312698B publication Critical patent/CN103312698B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The present invention relates to offline data validation method, it comprises the following steps: S1, by supplementing with money of storing in the off-line data bag of supplementing with money, number of times and terminal equipment store that to supplement number of times with money poor: if supplement number of times with money to differ 0, then do not process; If supplement number of times difference 1 with money, then carry out step S2; If supplement number of times difference 2 with money, then carry out step S3; If supplement number of times difference 3 with money, then carry out step S4; S2, supplement the last time in the off-line data bag of supplementing with money with money off-line data and supplemented that off-line data stores with terminal equipment respectively last time with money this supplement off-line data with money and supplemented off-line data last time with money and contrast; This off-line data of supplementing with money of S3, the off-line data of being supplemented with money the upper last time of supplementing with money in off-line data bag and terminal storage contrasts; The off-line data of supplementing with money for 3 times in the off-line data bag that S4, use are supplemented with money is supplemented with money terminal equipment.Have can carry out validation verification, uniqueness verification, anti-leak-stopping fills, prevents advantages such as repeatedly supplementing with money.

Description

Offline data validation method
Technical field
The present invention relates to offline data validation method.
Background technology
At present, domestic each off-line payment system is numerous, the method of calibration of each company to the off-line data of supplementing with money is different, there is load value data to some extent and does not conform to real data, leaks problems such as filling, repeatedly fill, gives and uses the company of this charging system or user to cause unnecessary loss.When there is no validation verification means, when storing repeatedly not recharged off-line data in charging system, judging by accident may appear in charging system: if be judged as supplementing with money by the off-line data that part is not supplemented with money, cause charging system IC-card to be decreased to the data that should supplement with money, cause economic loss to user; If user is when supplementing with money, may there is same data twice or repeatedly supplement with money in the off-line data stored in charging system, and in this case, the company of supplementing with money will suffer economic loss.
Chinese Patent Application No.: 200910082111.0 methods, devices and systems disclosing a kind of transmitting offline data, its method accepting off-line data comprises: pull off-line data to group's server request: the unique identification returned according to group's server and unique verification code, to group members request off-line data; The off-line data that it returns is received after this group members is proved to be successful.Send the method for off-line data to comprise: the request receiving the acquisition off-line data that group members is sent, verify the unique identification wherein carried and unique verification code, successful then transmission off-line data is to group members, failed then terminate.Adopt the validity of an off-line data calibration technology verification off-line data, its system may produce erroneous judgement.
Summary of the invention
The object of the invention is to the shortcoming overcoming prior art, provide a kind of and possess validation verification, uniqueness verification, anti-leak-stopping fill and prevent the offline data validation method of repeatedly supplementing with money.
Object of the present invention is achieved through the following technical solutions: offline data validation method, and it comprises the following steps:
S1, by supplementing with money of storing in the off-line data bag of supplementing with money, number of times and terminal equipment store that to supplement number of times with money poor: if supplement number of times with money to differ 0, then do not process; If supplement number of times difference 1 with money, then carry out step S2; If supplement number of times difference 2 with money, then carry out step S3; If supplement number of times difference 3 with money, then carry out step S4;
S2, the last time in the off-line data bag of supplementing with money supplemented with money off-line data with supplemented that off-line data stores with terminal equipment respectively last time with money this supplement off-line data with money and supplemented off-line data last time with money and contrast: if comparing result is identical, then use supplement with money in off-line data bag this supplement off-line data with money terminal equipment supplemented with money, the number of times of supplementing with money that terminal equipment stores adds 1; If comparing result is different, then shows that off-line data is invalid, do not process;
S3, the off-line data of being supplemented with money the upper last time of supplementing with money in off-line data bag contrast from this off-line data of supplementing with money of terminal storage: if comparing result is different, then show that off-line data is invalid, does not process; If comparing result is identical, the off-line data using following sub-step to realize supplementing with money for twice is all supplemented with money:
The off-line data that last time in the off-line data bag that S31, use are supplemented with money supplements with money is supplemented with money, and the number of times of supplementing with money that terminal equipment stores adds 1;
This off-line data of supplementing with money in the off-line data bag that S32, use are supplemented with money is supplemented with money, and the number of times of supplementing with money that terminal equipment stores adds 1 again;
The off-line data of supplementing with money for 3 times in the off-line data bag that S4, use are supplemented with money is supplemented with money terminal equipment, and the number of times of supplementing with money that terminal equipment stores increases progressively 3 times.
Supplementing number of times with money in described step S1 and differ by more than 3, is then illegal off-line data, by artificial nucleus to off-line data.
The present invention has the following advantages:
1, three off-line data calibration technologies can verify the validity of off-line data, prevent the off-line data of illegally supplementing with money from making the mistake and supplement with money, prevent repeatedly supplementing with money of identical off-line data of supplementing with money.
2, three off-line data calibration technologies can process the recharging service within difference 3 times, are supplemented with money by untapped off-line data of effectively supplementing with money.
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
As shown in Table 1, offline data validation method, it comprises the following steps:
By supplementing with money of storing in the off-line data bag of supplementing with money, number of times and terminal equipment store that to supplement number of times with money poor, the number of times of supplementing with money of supplementing record with money of terminal equipment storage differs 0, this off-line data of supplementing with money of acquiescence, the off-line data that the off-line data of supplementing with money last time and last time supplement with money is 0, when in the off-line data bag of supplementing with money to supplement number of times with money be 1 time, it this, last time, last time, off-line data was 10, 0, 0, in terminal equipment supplement with money number of times be 1 this, last time, last time, off-line data was 10, 0, 0, can find out that both off-line datas are identical, then do not process.
[embodiment 2]:
Table two supplement with money number of times difference be 1 supplement Record Comparison with money
As shown in Table 2, offline data validation method, it comprises the following steps:
S1, by supplementing with money of storing in the off-line data bag of supplementing with money, number of times and terminal equipment store that to supplement number of times with money poor, supplements number of times difference 1 with money, then carry out step S2;
S2, this of supplementing the last time in the off-line data bag of supplementing with money with money off-line data and supplementing that off-line data stores with terminal equipment respectively last time with money is supplemented off-line data with money and was supplemented off-line data last time with money and contrast: when supplement with money in off-line data bag to supplement number of times with money be 3 time, it this, last time, last time, off-line data was: 30, 20, 10, and in terminal equipment to supplement number of times with money be 2 time, it this, last time, last time, off-line data was 20, 10, 0, can find out terminal storage this to supplement off-line data with money identical with the off-line data that the last time in the off-line data bag of supplementing with money supplements with money, the off-line data that the last time of terminal storage supplements with money is identical with the off-line data that the upper last time in the off-line data bag of supplementing with money supplements with money, off-line data is effective, this off-line data of supplementing with money in the off-line data bag of supplementing with money is used to supplement with money, the number of times of supplementing with money that terminal equipment stores adds 1, if once different in twice contrast, then show that off-line data is invalid, does not process.
[embodiment 3]:
Table three supplement with money number of times difference be 2 supplement Record Comparison with money
Offline data validation method, it comprises the following steps:
S1, by supplementing with money of storing in the off-line data bag of supplementing with money, number of times and terminal equipment store that to supplement number of times with money poor: supplement number of times with money and differ 2, carry out step S3;
S3, the off-line data of supplemented with money the upper last time of supplementing with money in off-line data bag and this off-line data of supplementing with money of terminal storage contrast: when in the off-line data bag of supplementing with money to supplement number of times with money be 3 time, it this, last time, last time, off-line data was: 30, 20, 10, and in terminal equipment to supplement number of times with money be 1 time, it this, last time, last time, off-line data was 10, 0, 0, this off-line data of supplementing with money can finding out terminal storage is identical with the off-line data that the upper last time in the off-line data bag of supplementing with money supplements with money, off-line data is effective, the off-line data using supplemented with money the last time in the off-line data bag of supplementing with money is supplemented with money, the number of times of supplementing with money that terminal equipment stores simultaneously adds 1, this off-line data of supplementing with money re-used in the off-line data bag of supplementing with money is supplemented with money, the number of times of supplementing with money that terminal equipment stores adds 1 again, the off-line data of effectively supplementing with money twice is all supplemented with money.If comparing result is different, then shows that off-line data is invalid, do not process.
[embodiment 4]:
Table four supplement with money number of times difference be 3 supplement Record Comparison with money
Offline data validation method, it comprises the following steps:
S1, by supplementing with money of storing in the off-line data bag of supplementing with money, number of times and terminal equipment store that to supplement number of times with money poor: supplement number of times with money and differ 3, carry out step S4;
S4, when in the off-line data of supplementing with money to supplement number of times with money be 4 time, it this, last time, last time, off-line data was 40, 30, 20, and in terminal equipment to supplement number of times with money be 1 time, it this, last time, last time, off-line data was 10, 0, 0, can find out both supplement with money number of times difference be 3, then direct the off-line data that in off-line data bag, 3 times are supplemented with money to be supplemented with money terminal equipment, the number of times of supplementing with money of end device storage becomes 4, be about in the off-line data of supplementing with money this, last time, last time off-line data 40, 30, 20 supplement with money, the number of times of supplementing with money of having supplemented rear terminal equipment with money becomes 4 times, this, last time, last time, off-line data became 40, 30, 20.
Whether supplementing number of times in step S1 with money and differ by more than 3, is then illegal off-line data, transfer to artificial nucleus effective to off-line data, then determine whether supplement with money.

Claims (2)

1. offline data validation method, is characterized in that: it comprises the following steps:
S1, by supplementing with money of storing in the off-line data bag of supplementing with money, number of times and terminal equipment store that to supplement number of times with money poor: if supplement number of times with money to differ 0, then do not process; If supplement number of times difference 1 with money, then carry out step S2; If supplement number of times difference 2 with money, then carry out step S3; If supplement number of times difference 3 with money, then carry out step S4;
S2, the last time in the off-line data bag of supplementing with money supplemented with money off-line data with supplemented that off-line data stores with terminal equipment respectively last time with money this supplement off-line data with money and supplemented off-line data last time with money and contrast: if comparing result is identical, then use supplement with money in off-line data bag this supplement off-line data with money terminal equipment supplemented with money, the number of times of supplementing with money that terminal equipment stores adds 1; If comparing result is different, then shows that off-line data is invalid, do not process;
S3, the off-line data of being supplemented with money the upper last time of supplementing with money in off-line data bag contrast from this off-line data of supplementing with money of terminal storage: if comparing result is different, then show that off-line data is invalid, does not process; If comparing result is identical, the off-line data using following sub-step to realize supplementing with money for twice is all supplemented with money:
The off-line data that last time in the off-line data bag that S31, use are supplemented with money supplements with money is supplemented with money, and the number of times of supplementing with money that terminal equipment stores adds 1;
This off-line data of supplementing with money in the off-line data bag that S32, use are supplemented with money is supplemented with money, and the number of times of supplementing with money that terminal equipment stores adds 1 again;
The off-line data of supplementing with money for 3 times in the off-line data bag that S4, use are supplemented with money is supplemented with money terminal equipment, and the number of times of supplementing with money that terminal equipment stores increases progressively 3 times.
2. offline data validation method according to claim 1, is characterized in that: supplement number of times with money in described step S1 and differ by more than 3, be then illegal off-line data, by artificial nucleus to off-line data.
CN201310198627.8A 2013-05-24 2013-05-24 Offline data validation method Active CN103312698B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310198627.8A CN103312698B (en) 2013-05-24 2013-05-24 Offline data validation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310198627.8A CN103312698B (en) 2013-05-24 2013-05-24 Offline data validation method

Publications (2)

Publication Number Publication Date
CN103312698A CN103312698A (en) 2013-09-18
CN103312698B true CN103312698B (en) 2016-02-24

Family

ID=49137483

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310198627.8A Active CN103312698B (en) 2013-05-24 2013-05-24 Offline data validation method

Country Status (1)

Country Link
CN (1) CN103312698B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104462187B (en) * 2014-10-22 2017-09-08 上海交通大学 Gunz Validation of Data method based on maximum likelihood ratio
CN104865346B (en) * 2015-04-22 2017-02-01 北京交通大学 Method and apparatus for verification of data acquired by vehicle tail gas detection system
CN110598466B (en) * 2019-07-30 2021-06-15 百度时代网络技术(北京)有限公司 Offline field checking method, device and equipment and computer readable storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102346889A (en) * 2010-08-04 2012-02-08 中国移动通信有限公司 POS (Point of Sale) terminal-based off-line transaction method, POS terminal-based off-line transaction system and related devices
CN102467770A (en) * 2010-11-08 2012-05-23 中国移动通信集团安徽有限公司 Method, device and system for recharging by using voucher card

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102346889A (en) * 2010-08-04 2012-02-08 中国移动通信有限公司 POS (Point of Sale) terminal-based off-line transaction method, POS terminal-based off-line transaction system and related devices
CN102467770A (en) * 2010-11-08 2012-05-23 中国移动通信集团安徽有限公司 Method, device and system for recharging by using voucher card

Also Published As

Publication number Publication date
CN103312698A (en) 2013-09-18

Similar Documents

Publication Publication Date Title
CN105882437A (en) Vehicle charging method and system, and charging pile
CN106161372B (en) A kind of Risk Identification Method and device based on address matching
CN103312698B (en) Offline data validation method
CN103066638B (en) To electric power storing device for the system of induced current, charging device and method
CN107330740A (en) A kind of charging pile fee calculation procedure and device, charging pile
WO2014149498A3 (en) Remote secure transactions
WO2012112460A3 (en) Offer insertion system
CN103905202A (en) RFID lightweight class bidirectional authentication method based on PUF
CN109699004A (en) Bluetooth key localization method, device, bluetooth equipment and storage medium
US11420863B1 (en) System and method for operating a fuel dispensing apparatus
CN104580104A (en) Method, device and system for identity verification
CN105354464A (en) Method and device for identifying user identity on the basis of fingerprint information
CN106096925A (en) A kind of smart card, the recharge method of a kind of smart card and system
CN102255923A (en) System and method for user identity authentication
EP2860710B1 (en) Method and system for off-line credit for load
CN102075515A (en) Transfer method of user account number information
CN103577760A (en) Computer, communication unit, and method for enhancing reliability of data in computer
CN102999862B (en) A kind of order processing method, Apparatus and system, payment mechanism
CN103325184B (en) Offline data validation method for intelligent gas meter
CN109167751A (en) A kind of addressing method of mobile terminal, server and mobile terminal
CN106303124B (en) A kind of method of recharging for mobile phone, apparatus and system
CN104240371B (en) Withdrawal system based on static two dimensional code
CN105577607A (en) User identity authentication method and user identity authentication device
CN107437173A (en) Accepting terminal position computing system and its computational methods and position computation module
CN102982614B (en) Update the method and device of rechargeable card internal information

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.

CP01 Change in the name or title of a patent holder