CN103678043A - Offline terminal transaction data backup method and system used in payment system - Google Patents

Offline terminal transaction data backup method and system used in payment system Download PDF

Info

Publication number
CN103678043A
CN103678043A CN201310730300.0A CN201310730300A CN103678043A CN 103678043 A CN103678043 A CN 103678043A CN 201310730300 A CN201310730300 A CN 201310730300A CN 103678043 A CN103678043 A CN 103678043A
Authority
CN
China
Prior art keywords
transaction
smart card
transaction record
terminating machine
backup
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201310730300.0A
Other languages
Chinese (zh)
Inventor
柳晓明
刘发标
林畅浩
钟北祥
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Eastcompeace Technology Co Ltd
Original Assignee
Eastcompeace 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 Eastcompeace Technology Co Ltd filed Critical Eastcompeace Technology Co Ltd
Priority to CN201310730300.0A priority Critical patent/CN103678043A/en
Publication of CN103678043A publication Critical patent/CN103678043A/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

The invention provides an offline terminal transaction data backup method used in a payment system. The method comprises the steps of receiving a transaction command of an intelligent card, sending a transaction record backup command to the intelligent card, judging whether transaction records which have not been backed up in a terminal yet and do not belong to transaction between the intelligent card and the terminal are contained in the intelligent card, receiving transaction records in the intelligent card and backing up the transaction records in the terminal if yes, controlling the terminal to enable transaction to be conducted between the terminal and the intelligent card, and backing up a transaction record generated by the transaction on the intelligent card and the terminal. According to the offline terminal transaction data backup method used in the payment system, the problem of losing of transaction records caused by damage or losing of the terminal is effectively solved, each terminal plays a role of a backup terminal, and available resources are fully utilized to provide extra security storage guarantee for transaction records.

Description

Off line terminal transaction data back up method and system in a kind of payment system
Technical field
The present invention relates to moving communicating field, especially mobile payment technical field, is specifically related to off line terminal transaction data back up method and system in a kind of payment system.
Background technology
According to the acquisition mode of terminal transaction data, terminal roughly can be divided into transmission terminal and passive offline data acquisition terminal in real time data initiatively.
In real time data initiatively, transmission terminal is to upload in real time Transaction Information by GPRS or other wireless communication technologys, and without long-term a large amount of store transaction logs, at this, we only discuss the safe storage of off line terminal transaction data.
Passive offline data acquisition terminal, the safe storage guarantee of its transaction record is confined to the storage characteristics of equipment itself mostly, as terminal data storer non-volatile, enough large storage space to be to guarantee the maintenance etc. of internal storage data after safe storage cycle and power down.In addition, also have part to utilize intermediate storage medium, the storage card that is exclusively used in storage data as installed additional in off line terminal is guaranteed the safe storage of transaction record.
The shortcoming of existing passive offline data acquisition terminal is: offline transaction terminal data collection period is unfixing, and terminal may need to store a large amount of transaction records.No matter existing memory technology is improved or carries out data backup by means of other storage mediums from off line terminal self-characteristic, and can be considered as is in fact the lifting to self storage capacity.This lifting is not sufficient to guarantee the completeness of transaction record under some extreme cases such as artificial damage, device losses.
Summary of the invention
In view of this, be necessary the problem mentioned for background technology to provide a kind of novel off line terminal transaction data back up method and system that strengthens transaction record completeness.
The object that the present invention is is achieved through the following technical solutions:
An off line terminal transaction data back up method in payment system, it comprises the following steps:
Receive the trading instruction of smart card;
Send transaction record backup instruction to described smart card;
Judge and in described smart card, whether comprise non-described smart card and described terminal transaction and not yet back up the transaction record in described terminating machine;
As judgment result is that, be that the described transaction record receiving in described smart card backs up in described terminating machine;
Control described terminating machine and described smart card is concluded the business;
The transaction record that described transaction is produced backs up on described smart card and described terminating machine.
Described transaction record in the described smart card of described reception backs up in described terminating machine, also comprises: after having backed up, the backup sign of the described transaction record in described smart card is revised as and is backed up.
Described transaction record comprises: exchange hour, dealing money, trading object, loco etc.
As described in judgment result is that smart card do not comprise non-as described in smart card and as described in terminating machine transaction consumption and not yet back up in as described in transaction record in terminating machine, directly conclude the business with described smart card.
For realizing a payment system off line terminal transaction data backup system for said method, it comprises:
Receiver module, it is for receiving the trading instruction of smart card;
Sending module, it is for sending transaction record backup instruction to described smart card;
Judge module, it is for judging whether described smart card comprises non-described smart card and described terminating machine transaction consumption and not yet back up the transaction record in described terminating machine;
Backup module, it is for when judgment result is that while being, the described transaction record receiving in described smart card backs up in described terminating machine;
Transaction control module, it is for controlling described terminating machine and described smart card is concluded the business;
This backup module of concluding the business, it backs up in described smart card and described terminating machine for the transaction record that described transaction is produced.
Described backup module also for: after having backed up, the backup sign of the described transaction record in described smart card is revised as and is backed up.
Described transaction record comprises: exchange hour, dealing money, trading object, loco etc.
Compared with prior art, the present invention possesses following advantage:
1, can effectively solve the problem that causes transaction record to lose because of reasons such as terminal damage, loss.Each terminal is served as the role of back-up terminals, makes full use of existing resource and provides extra safe storage guarantee for transaction record;
2, do not rely on termination property, do not need too much to transform terminal, the expansion on pure backup method;
3, do not increase card burden, only nearest several the transaction records of storage, circulate and cover;
4, with user operate irrelevant, without any behavior deliberately of user;
5, backup procedure is simple, does not affect transaction complexity, does not affect transaction response speed;
6, can not cause data redundancy, terminal transaction record and Backup Data are distinguished and are treated, and settlement system is only processed transaction record under normal circumstances, only when occurrence record is lost, just use Backup Data to recover transaction record.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of the embodiment of the present invention one;
Fig. 2 is the schematic diagram of knapsack back mechanism of the present invention.
Embodiment
embodiment mono-:
The present embodiment provides off line terminal transaction data back up method in a kind of payment system, and as shown in Figure 1, it comprises the following steps:
Smart card obtains the terminating machine numbering that need to conclude the business with it;
Terminating machine sends the instruction of backup transaction record to described smart card;
Travel through the transaction record in described smart card, judge in described smart card, whether to comprise the transaction record not yet backing up in this station terminal machine;
As judgment result is that, be to continue to judge the transaction record that whether comprises non-described smart card and described terminating machine transaction generation in described smart card;
As smart card does not comprise the transaction record not yet backing up in this station terminal machine as described in judgment result is that, generates instruction return data, generate and return " without the backup transaction record " instruction of described for replying " instruction of backup transaction record ";
As described in judgment result is that smart card comprise non-as described in the transaction record that produces of smart card and the transaction of this station terminal machine, generate instruction return data, generate and return the instruction of " need to back up transaction record " of described for replying " instruction of backup transaction record ";
Described smart card is sent to the non-described smart card of this part and described terminal transaction and the transaction record that not yet backs up in described terminating machine in described terminating machine, and described terminating machine backs up this part transaction record;
As described in judgment result is that, in smart card, do not comprise non-as described in the transaction record that produces of smart card and the transaction of this station terminal machine, generate instruction return data, generate and return " without the backup transaction record " instruction of described for replying " instruction of backup transaction record ";
After having backed up, the backup sign of the described transaction record in described smart card is revised as and is backed up;
Described smart card and described terminating machine are concluded the business;
Described smart card and described terminating machine back up respectively this transaction record.
The method of the present embodiment is applicable to the terminal of offline transaction in payment system, is for off line termination property the transaction record back mechanism that proposes in conjunction with the problem running in practical application.Lifting with respect to the terminal hardware storage capacity of current main flow, knapsack back mechanism is based upon in existing terminal-based, only by introducing novel backup method, reduce half loss of data probability, fill up the blank that causes the precautionary measures of a large amount of transaction records loss because of unpredictable equipment loss, and increased hardly the cost that safe storage ensures.
In practical application, before occurring, new transaction increased the backup of having communicated by letter transaction record of card with terminal.Transmission information amount is little, and flow process is simple, and this process is almost ND, does not also affect the serviceability of terminal in true environment.When deal with data gathers, normal transaction data and Backup Data are distinguished, also only when there is loss of data, just use Backup Data, can not cause data redundancy, therefore do not affect statistical efficiency.
The method of the present embodiment is a kind of knapsack back mechanism, its essence is by card and guide, on its Consumption Path in storage card a kind of multi-point backup mechanism of transaction record as shown in Figure 2, the principle of the knapsack back mechanism of the present embodiment is:
A is stuck on first machine and consumes, and transaction record is kept on A card and first machine simultaneously; When A card next time is when consuming on second machine, second prow first sends transaction record backup instruction to A card, the transaction record that non-the machine in A card is consumed and do not backed up in the machine backs up to the machine, and the backup sign of this part record in A card is revised as and is backed up, and starts afterwards new process of consumption.The rest may be inferred to the third machine, fourth machine etc.When having terminal generation loss of data, just can in the data of other-end, recover transaction record by backup.This mechanism is by the double shield at different terminals by transaction record backup, reduced to a great extent terminal device in use because the transaction record that physical damage or other reasons cause is lost the loss bringing.
embodiment bis-:
It is a kind of for realizing the payment system off line terminal transaction data backup system of said method that the present embodiment provides, and it comprises:
Receiver module, it is for receiving the trading instruction of smart card;
Sending module, it is for sending transaction record backup instruction to described smart card;
Judge module, it is for judging whether described smart card comprises non-described smart card and described terminating machine transaction consumption and not yet back up the transaction record in described terminating machine;
Backup module, it is for when judgment result is that while being, the described transaction record receiving in described smart card backs up in described terminating machine;
Transaction control module, it is for controlling described terminating machine and described smart card is concluded the business;
This backup module of concluding the business, it backs up in described smart card and described terminating machine for the transaction record that described transaction is produced.
Described backup module also for: after having backed up, the backup sign of the described transaction record in described smart card is revised as and is backed up.
Described transaction record comprises: exchange hour, dealing money, trading object, loco etc.

Claims (7)

1. an off line terminal transaction data back up method in payment system, is characterized in that: it comprises the following steps:
Receive the trading instruction of smart card;
Send transaction record backup instruction to described smart card;
Judge and in described smart card, whether comprise non-described smart card and described terminal transaction and not yet back up the transaction record in described terminating machine;
As judgment result is that, be that the described transaction record receiving in described smart card backs up in described terminating machine;
Control described terminating machine and described smart card is concluded the business;
The transaction record that described transaction is produced backs up on described smart card and described terminating machine.
2. off line terminal transaction data back up method in payment system according to claim 1, it is characterized in that: the described transaction record in the described smart card of described reception backs up in described terminating machine, also comprises: after having backed up, the backup sign of the described transaction record in described smart card is revised as and is backed up.
3. off line terminal transaction data back up method in payment system according to claim 1, is characterized in that: described transaction record comprises: exchange hour, dealing money, trading object, loco.
4. off line terminal transaction data back up method in payment system according to claim 1, it is characterized in that: as described in judgment result is that smart card do not comprise non-as described in smart card and as described in terminating machine transaction consumption and not yet back up in as described in transaction record in terminating machine, described terminating machine and described smart card are concluded the business.
5. for realizing a payment system off line terminal transaction data backup system for said method, it comprises:
Receiver module, it is for receiving the trading instruction of smart card;
Sending module, it is for sending transaction record backup instruction to described smart card;
Judge module, it is for judging whether described smart card comprises non-described smart card and described terminating machine transaction consumption and not yet back up the transaction record in described terminating machine;
Backup module, it is for when judgment result is that while being, the described transaction record receiving in described smart card backs up in described terminating machine;
Transaction control module, it is for controlling described terminating machine and described smart card is concluded the business;
This backup module of concluding the business, it backs up in described smart card and described terminating machine for the transaction record that described transaction is produced.
6. off line terminal transaction data backup system in payment system according to claim 5, is characterized in that: described backup module also for: after having backed up, the backup sign of the described transaction record in described smart card is revised as and is backed up.
7. off line terminal transaction data backup system in payment system according to claim 5, is characterized in that: described transaction record comprises: exchange hour, dealing money, trading object, loco etc.
CN201310730300.0A 2013-12-26 2013-12-26 Offline terminal transaction data backup method and system used in payment system Pending CN103678043A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310730300.0A CN103678043A (en) 2013-12-26 2013-12-26 Offline terminal transaction data backup method and system used in payment system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310730300.0A CN103678043A (en) 2013-12-26 2013-12-26 Offline terminal transaction data backup method and system used in payment system

Publications (1)

Publication Number Publication Date
CN103678043A true CN103678043A (en) 2014-03-26

Family

ID=50315688

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310730300.0A Pending CN103678043A (en) 2013-12-26 2013-12-26 Offline terminal transaction data backup method and system used in payment system

Country Status (1)

Country Link
CN (1) CN103678043A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104680367A (en) * 2015-03-25 2015-06-03 烟台威尔数据系统有限公司 Off-line payment realizing method based on electronic wallet synchronous on-line consumption system
CN107239357A (en) * 2017-05-27 2017-10-10 百富计算机技术(深圳)有限公司 Offline transaction record storing method, device, computer equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007031026A1 (en) * 2005-09-16 2007-03-22 Huawei Technologies Co., Ltd. A system for automatically detecting the device and the method thereof
CN101364321A (en) * 2007-08-06 2009-02-11 北京中电华大电子设计有限责任公司 Purse sharing method for logic ciphering card and CPU card in non-contact smart card
CN101807320A (en) * 2010-04-12 2010-08-18 中兴通讯股份有限公司 Terminal aiming at non-contact intelligent card and method thereof for processing abnormality
CN102243604A (en) * 2011-06-28 2011-11-16 深圳市联祥瑞实业有限公司 Petty offline transaction record backup method, terminal and backup card
CN102419721A (en) * 2011-09-28 2012-04-18 山东神思电子技术股份有限公司 Method for scatter storing, centralized backing up and restoring metro card consumption data

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007031026A1 (en) * 2005-09-16 2007-03-22 Huawei Technologies Co., Ltd. A system for automatically detecting the device and the method thereof
CN101364321A (en) * 2007-08-06 2009-02-11 北京中电华大电子设计有限责任公司 Purse sharing method for logic ciphering card and CPU card in non-contact smart card
CN101807320A (en) * 2010-04-12 2010-08-18 中兴通讯股份有限公司 Terminal aiming at non-contact intelligent card and method thereof for processing abnormality
CN102243604A (en) * 2011-06-28 2011-11-16 深圳市联祥瑞实业有限公司 Petty offline transaction record backup method, terminal and backup card
CN102419721A (en) * 2011-09-28 2012-04-18 山东神思电子技术股份有限公司 Method for scatter storing, centralized backing up and restoring metro card consumption data

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104680367A (en) * 2015-03-25 2015-06-03 烟台威尔数据系统有限公司 Off-line payment realizing method based on electronic wallet synchronous on-line consumption system
CN104680367B (en) * 2015-03-25 2018-06-22 山东威尔数据股份有限公司 A kind of offline electronic payment implementation method that online consumption system is synchronized based on stored value card
CN107239357A (en) * 2017-05-27 2017-10-10 百富计算机技术(深圳)有限公司 Offline transaction record storing method, device, computer equipment and storage medium
WO2018218814A1 (en) * 2017-05-27 2018-12-06 百富计算机技术(深圳)有限公司 Method for storing off-line transaction record, and computer device and storage medium
CN107239357B (en) * 2017-05-27 2019-11-29 百富计算机技术(深圳)有限公司 Offline transaction record storing method, device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
CN102521174B (en) In a kind of embedded system, data acquisition stores the method with transmission
CN104092717A (en) Message processing method and system, message destination end device and distributed message system
CN103516580A (en) Method of realizing message receiving and forwarding based on message queue and system thereof
CN103164721A (en) Car connected network side information data collection and processing method
CN103678043A (en) Offline terminal transaction data backup method and system used in payment system
CN105183626A (en) Log storage method and system of paper currency recognition module
CN103455391B (en) A kind of apparatus and method of data protection of dynamic conditioning
CN105183868A (en) Storage method and device for logs of file system
CN103679891A (en) Parking lot management system and method
CN103973530A (en) Catching technology based information interaction bus data reliable-transmission method
CN103325167B (en) Door lock control system and control method thereof
CN105095502A (en) Log collection method of cluster storage system
FR3020907A1 (en) METHOD FOR DETECTING MULTIPLE NFC-B DEVICES BY AN NFC-B READER AND CORRESPONDING NFC-B READER
CN205427832U (en) Data storage capacity calamity device
CN103823766A (en) High-efficiency storage method of flash memory
CN102750342A (en) Method for maintaining data consistency for cluster file system
CN203164957U (en) Enterprise-level data base backup system
CN103023526B (en) Frequency multiplexing capacity multiplica type ground transponder
CN114297610A (en) Intelligent network card identity recognition method, intelligent network card and server
CN104597814A (en) High-stability control system redundancy system and method
CN104915362A (en) Fast intelligent ERP system data migration scheme based on time slices, increment analysis and random disorganizing technology
CN103049351A (en) Log processing method and device of multivariate data server
CN102243604A (en) Petty offline transaction record backup method, terminal and backup card
CN203630800U (en) Near-field communication tag equipment
CN202475757U (en) Cell phone anti-theft system having remotely tracking function

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20140326

RJ01 Rejection of invention patent application after publication