CN102968858B - Transaction data backup method in AFC system and transaction terminal - Google Patents

Transaction data backup method in AFC system and transaction terminal Download PDF

Info

Publication number
CN102968858B
CN102968858B CN201210457441.5A CN201210457441A CN102968858B CN 102968858 B CN102968858 B CN 102968858B CN 201210457441 A CN201210457441 A CN 201210457441A CN 102968858 B CN102968858 B CN 102968858B
Authority
CN
China
Prior art keywords
ticket
transaction record
information
time
card
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.)
Expired - Fee Related
Application number
CN201210457441.5A
Other languages
Chinese (zh)
Other versions
CN102968858A (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.)
GAOXIN MODERN INTELLIGENT SYSTEM CO Ltd
Original Assignee
GAOXIN MODERN INTELLIGENT SYSTEM 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 GAOXIN MODERN INTELLIGENT SYSTEM CO Ltd filed Critical GAOXIN MODERN INTELLIGENT SYSTEM CO Ltd
Priority to CN201210457441.5A priority Critical patent/CN102968858B/en
Publication of CN102968858A publication Critical patent/CN102968858A/en
Application granted granted Critical
Publication of CN102968858B publication Critical patent/CN102968858B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

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

Abstract

A transaction data backup method in AFC system, comprises the following steps: the transaction record that the exchange hour reading to store in ticket taking card is nearest; The transaction record that terminal the machine generates is write in described ticket card; The transaction record of the ticket card sequence number of described ticket card, described nearest transaction record and described generation is uploaded to central database.In addition, the transaction terminal in a kind of AFC system is also provided.Said method and transaction terminal are before transaction record terminal the machine generated writes in ticket card, the transaction record that the exchange hour reading to store in ticket taking card is nearest, the transaction record of nearest transaction record and generation is all sent to central database, even if last transaction record friendship the incident time period not by a transaction terminal upload to central database, last transaction record also can be uploaded to central database by current transaction terminal, serve the effect of double shield, the loss of transaction data in AFC system can be prevented.

Description

Transaction data backup method in AFC system and transaction terminal
[technical field]
The present invention relates to field of computer technology, the transaction data backup method particularly in a kind of AFC system and transaction terminal.
[background technology]
AFC system (Auto Fare Collection, AFC) melts computer technology, information and treatment technology, machine-building in robotization ticketing integrally, ticket-checking system, has very strong intelligent functions.Convenient and the accuracy of AFC system is better than traditional paper ticket method of ticketing greatly, it can overcome manually sells the shortcomings such as slow, the financial leak of speed intrinsic in ticket checking pattern is many, error rate is high, labour intensity is large, being not only a trend of subway and traffic system development, is also an important embodiment of the development of urban informationization.
AFC system forms primarily of central AFC system, station AFC system, terminal device and ticket four part.Terminal device comprises automatic machine, semi-automatic ticket vending machine gate, Recharging Machine, ticket-validating machine, hand-held ticket-validating machine etc.Ticket comprises only expendable one-way ticket and stored value card that can use repeatedly etc., and ticket is also referred to as ticket card.
Terminal device is used for the relationship trading record write ticket card current for terminal device (this) generated, and this relationship trading record is uploaded to the central database of central AFC system.Such as, Recharging Machine by the recharge amount of current (this), Recharging Machine device number, supplement the charging information write such as time ticket card with money, and charging information is uploaded to central database.
But terminal device may lose transaction record due to certain fault, transaction record is not uploaded to central database, thus cause in AFC system, occurring financial leak and length money phenomenon etc.
[summary of the invention]
Based on this, be necessary to provide the transaction data backup method in a kind of AFC system preventing transaction data from losing.
A transaction data backup method in AFC system, comprises the following steps:
The transaction record that the exchange hour reading to store in ticket taking card is nearest;
The transaction record that terminal the machine generates is write in described ticket card;
The transaction record of the ticket card sequence number of described ticket card, described nearest transaction record and described generation is uploaded to central database.
Wherein in an embodiment, described transaction record is ticket card initialization information, sale information, charging information, the ticket checking information that enters the station or departures ticket checking information.
Wherein in an embodiment, described terminal is ticket card initialization equipment, equipment sold by ticket card, supplement equipment with money, enter the station ticket-check equipment or departures ticket-check equipment.
Wherein in an embodiment, described ticket card initialization information comprises: ticket card sequence number, ticket Card Type, issuing date, issuing equipment number and initialization time;
Sale information comprises: term of validity Start Date, term of validity Close Date, cash pledge number, available balance, sale device number, sell the time;
Charging information comprises: recharge amount, top-up station dot information, supplement device number with money and supplement the time with money;
The ticket checking information that enters the station comprises: the site information that enters the station, enter the station ticket-check equipment number and entering the station the time;
Departures ticket checking information comprises: the amount of money of deducting fees, departures site information, departures ticket-check equipment number and departures time.
In addition, there is a need to provide the transaction terminal in a kind of AFC system preventing transaction data from losing.
A transaction terminal in AFC system, comprising:
Data read module, the transaction record that the exchange hour for reading to store in ticket taking card is nearest;
Data write. module, writes in described ticket card for the transaction record described terminal the machine generated;
Data upload module, for uploading to central database by the transaction record of the ticket card sequence number of described ticket card, described nearest transaction record and described generation.
Wherein in an embodiment, described transaction record is ticket card initialization information, sale information, charging information, the ticket checking information that enters the station or departures ticket checking information.
Wherein in an embodiment, described terminal is ticket card initialization equipment, equipment sold by ticket card, supplement equipment with money, enter the station ticket-check equipment or departures ticket-check equipment.
Wherein in an embodiment, described ticket card initialization information comprises: ticket card sequence number, ticket Card Type, issuing date, issuing equipment number and initialization time;
Sale information comprises: term of validity Start Date, term of validity Close Date, cash pledge number, available balance, sale device number, sell the time;
Charging information comprises: recharge amount, top-up station dot information, supplement device number with money and supplement the time with money;
The ticket checking information that enters the station comprises: the site information that enters the station, enter the station ticket-check equipment number and entering the station the time;
Departures ticket checking information comprises: the amount of money of deducting fees, departures site information, departures ticket-check equipment number and departures time.
Transaction data backup method in above-mentioned AFC system and transaction terminal, before transaction record terminal the machine generated (i.e. this transaction record) writes in ticket card, the transaction record (i.e. last transaction record) that the exchange hour reading to store in ticket taking card is nearest, the transaction record of nearest transaction record and generation is all sent to central database, even if last transaction record friendship the incident time period not by a transaction terminal upload to central database, last transaction record also can be uploaded to central database by current transaction terminal, serve the effect of double shield, the loss of transaction data in AFC system can be prevented.
[accompanying drawing explanation]
Fig. 1 is the schematic flow sheet of the transaction data backup method in the AFC system in an embodiment;
Fig. 2 is the structural representation of the transaction terminal in the AFC system in an embodiment;
Fig. 3 is the structural representation of the transaction terminal in the AFC system in another embodiment.
[embodiment]
As shown in Figure 1, in one embodiment, the transaction data backup method in a kind of AFC system, comprises the following steps:
Step S102, the transaction record that the exchange hour reading to store in ticket taking card is nearest.
In one embodiment, carrying out ticket card initialization, go out ticketing card, in the process of exchange such as ticket card is supplemented with money, ticket checking out of the station, pawn ticket card can be activated by the radio-frequency information that terminal sends when terminal, and after being activated, the transaction record of storage can be converted into radiofrequency signal and send this radiofrequency signal by ticket card.Terminal can be resolved the information comprised in radiofrequency signal, and therefrom extract transaction record, the exchange hour of more each transaction record after being received the radiofrequency signal of ticket card transmission, obtains the recent transaction record of exchange hour.
Step S104, in transaction record write ticket card terminal the machine generated.
In one embodiment, the transaction data backup method in above-mentioned AFC system also comprises step: generate transaction record.Concrete, transaction record can be generated according to user's input and/or dependent authentication information.Such as, in the process of supplementing with money, charging information can be generated according to the authorization information about recharge amount etc.
In one embodiment, above-mentioned transaction record, comprises nearest transaction record and the transaction record of generation, is ticket card initialization information, sale information, charging information, the ticket checking information that enters the station or departures ticket checking information etc.Above-mentioned terminal is ticket card initialization equipment, equipment sold by ticket card, supplement equipment with money, enter the station ticket-check equipment or departures ticket-check equipment.
Such as, if this is concluded the business as ticket card is supplemented with money, terminal is the equipment of supplementing with money, then the transaction record generated is charging information, in the charging information write ticket card that the equipment of supplementing with money process of ticket card can being supplemented with money produces.
In one embodiment, ticket card initialization information comprises: ticket card sequence number, ticket Card Type, issuing date, issuing equipment number and initialization time; Sale information comprises: term of validity Start Date, term of validity Close Date, cash pledge number, available balance, sale device number and the time of sale; Charging information comprises: recharge amount, top-up station dot information, supplement device number with money and supplement the time with money; The ticket checking information that enters the station comprises: the site information that enters the station, enter the station ticket-check equipment number and entering the station the time; Departures ticket checking information comprises: the amount of money of deducting fees, departures site information, departures ticket-check equipment number and departures time.
Above-mentioned initialization time, sale time, the time of supplementing with money, enter the station time and departures time are all exchange hour.Concrete, initialization time in the ticket card initialization information that the readable ticket taking card of step S102 stores, the sale time in sale information, the time of supplementing with money in charging information, to enter the station the time of entering the station in ticket checking information and the departures time in departures ticket checking information, the sequencing of more each time, obtains transaction record corresponding to nearest time.
Step S106, uploads to central database by the transaction record of transaction record nearest to the ticket card sequence number of ticket card, exchange hour and generation.
Concrete, the ticket card sequence number stored in readable ticket taking card, the transaction record generated in terminal the machine is successfully written to after in ticket card, and the transaction record (this transaction record) of ticket card sequence number and above-mentioned nearest transaction record (last transaction record) and generation is uploaded to central database.In one embodiment, the transaction record of the ticket card stored in central database can be sorted according to exchange hour, and remove the transaction record repeated, obtain the complete transaction record of ticket card.
As shown in Figure 2, in one embodiment, the transaction terminal in a kind of AFC system, comprises data read module 20, Data write. module 40 and data upload module 60, wherein:
Data read module 20 is for the nearest transaction record of the exchange hour reading to store in ticket taking card.
In one embodiment, carrying out ticket card initialization, go out ticketing card, in the process of exchange such as ticket card is supplemented with money, ticket checking out of the station, pawn ticket card can be activated by the radio-frequency information that terminal sends when terminal, and after being activated, the transaction record of storage can be converted into radiofrequency signal and send this radiofrequency signal by ticket card.After terminal receives the radiofrequency signal of ticket card transmission, data read module 20 can resolve the information comprised in radiofrequency signal, and therefrom extracts transaction record, the exchange hour of more each transaction record, obtains the recent transaction record of exchange hour.
Data write. module 40 writes in ticket card for transaction record terminal the machine generated.
In one embodiment, above-mentioned transaction record, comprises nearest transaction record and the transaction record of generation, is ticket card initialization information, sale information, charging information, the ticket checking information that enters the station or departures ticket checking information etc.Above-mentioned terminal is ticket card initialization equipment, equipment sold by ticket card, supplement equipment with money, enter the station ticket-check equipment or departures ticket-check equipment.
Such as, if this is concluded the business as ticket card is supplemented with money, terminal is the equipment of supplementing with money, then the transaction record generated is charging information, in the charging information write ticket card that the equipment of supplementing with money process of ticket card can being supplemented with money produces.
In one embodiment, ticket card initialization information comprises: ticket card sequence number, ticket Card Type, issuing date, issuing equipment number and initialization time; Sale information comprises: term of validity Start Date, term of validity Close Date, cash pledge number, available balance, sale device number and the time of sale; Charging information comprises: recharge amount, top-up station dot information, supplement device number with money and supplement the time with money; The ticket checking information that enters the station comprises: the site information that enters the station, enter the station ticket-check equipment number and entering the station the time; Departures ticket checking information comprises: the amount of money of deducting fees, departures site information, departures ticket-check equipment number and departures time.
Above-mentioned initialization time, sale time, the time of supplementing with money, enter the station time and departures time are all exchange hour.Concrete, initialization time in the ticket card initialization information that the readable ticket taking card of data read module 20 stores, the sale time in sale information, the time of supplementing with money in charging information, to enter the station the time of entering the station in ticket checking information and the departures time in departures ticket checking information, the sequencing of more each time, obtains transaction record corresponding to nearest time.
Data upload module 60 is for uploading to central database by the transaction record of transaction record nearest to the ticket card sequence number of ticket card, exchange hour and generation.
Concrete, the ticket card sequence number stored in the readable ticket taking card of data read module 20, the transaction record that data upload module 60 can generate in Data write. module 40 terminal the machine is successfully written to after in ticket card, and the transaction record (this transaction record) of ticket card sequence number and above-mentioned nearest transaction record (last transaction record) and generation is uploaded to central database.In one embodiment, the transaction record of the ticket card stored in central database can sort according to exchange hour by central AFC system, and removes the transaction record repeated, and obtains the complete transaction record of ticket card.
As shown in Figure 3, in one embodiment, the transaction terminal in above-mentioned AFC system, comprises data read module 20, transaction record generation module 30, Data write. module 40 and data upload module 60, wherein:
Data read module 20 is for the nearest transaction record of the exchange hour reading to store in ticket taking card.
Transaction record generation module 30 is for generating transaction record.Concrete, transaction record generation module 30 can generate transaction record according to user's input and/or dependent authentication information.Such as, in the process of supplementing with money, charging information can be generated according to the authorization information about recharge amount etc.
In the transaction record write ticket card that transaction record generation module 30 generates by Data write. module 40.
Data read module 20 is also for reading the ticket card sequence number stored in ticket taking card.
The transaction record that data upload module 60 generates for the ticket card sequence number of ticket card that read by data read module 20 and the nearest transaction record of exchange hour and transaction record generation module 30 uploads to central database.
Transaction data backup method in above-mentioned AFC system and transaction terminal, before transaction record terminal the machine generated (i.e. this transaction record) writes in ticket card, the transaction record (i.e. last transaction record) that the exchange hour reading to store in ticket taking card is nearest, the transaction record of nearest transaction record and generation is all sent to central database, even if last transaction record friendship the incident time period not by a transaction terminal upload to central database, last transaction record also can be uploaded to central database by current transaction terminal, serve the effect of double shield, the loss of transaction data in AFC system can be prevented.
The above embodiment only have expressed several embodiment of the present invention, and it describes comparatively concrete and detailed, but therefore can not be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection domain of patent of the present invention should be as the criterion with claims.

Claims (4)

1. the transaction data backup method in AFC system, comprises the following steps:
The transaction record that the terminal exchange hour reading to store in ticket taking card is nearest, described terminal is ticket card initialization equipment, equipment sold by ticket card, supplement equipment with money, the step of the transaction record that ticket-check equipment or the departures ticket-check equipment terminal of the entering the station exchange hour reading to store in ticket taking card is nearest comprises: terminal reads the initialization time in the ticket card initialization information that ticket taking card stores, the sale time in sale information, the time is supplemented with money in charging information, the time of entering the station of entering the station in ticket checking information and the departures time of setting off in ticket checking information, the sequencing of more each time, obtain transaction record corresponding to nearest time,
Terminal generates transaction record;
The transaction record that terminal the machine generates writes in described ticket card by terminal;
The transaction record of the ticket card sequence number of described ticket card, described nearest transaction record and described generation is uploaded to central database by terminal;
Described transaction record is ticket card initialization information, sale information, charging information, the ticket checking information that enters the station or departures ticket checking information.
2. the transaction data backup method in AFC system according to claim 1, is characterized in that, described ticket card initialization information comprises: ticket card sequence number, ticket Card Type, issuing date, issuing equipment number and initialization time;
Sale information comprises: term of validity Start Date, term of validity Close Date, cash pledge number, available balance, sale device number, sell the time;
Charging information comprises: recharge amount, top-up station dot information, supplement device number with money and supplement the time with money;
The ticket checking information that enters the station comprises: the site information that enters the station, enter the station ticket-check equipment number and entering the station the time;
Departures ticket checking information comprises: the amount of money of deducting fees, departures site information, departures ticket-check equipment number and departures time.
3. the transaction terminal in AFC system, is characterized in that, described terminal is ticket card initialization equipment, equipment sold by ticket card, supplement equipment with money, enter the station ticket-check equipment or departures ticket-check equipment, comprising:
Data read module, for the transaction record that the exchange hour reading to store in ticket taking card is nearest: described data read module reads initialization time in the ticket card initialization information that ticket taking card stores, the sale time in sale information, the time of supplementing with money in charging information, departures time of entering the station in time of entering the station in ticket checking information and departures ticket checking information, the sequencing of more each time, obtains transaction record corresponding to nearest time;
Transaction record generation module, for generating transaction record;
Data write. module, writes in described ticket card for the transaction record generated by described transaction record generation module;
Data upload module, for uploading to central database by the transaction record of the ticket card sequence number of described ticket card, described nearest transaction record and described generation;
Described transaction record is ticket card initialization information, sale information, charging information, the ticket checking information that enters the station or departures ticket checking information.
4. the transaction terminal in AFC system according to claim 3, is characterized in that, described ticket card initialization information comprises: ticket card sequence number, ticket Card Type, issuing date, issuing equipment number and initialization time;
Sale information comprises: term of validity Start Date, term of validity Close Date, cash pledge number, available balance, sale device number, sell the time;
Charging information comprises: recharge amount, top-up station dot information, supplement device number with money and supplement the time with money;
The ticket checking information that enters the station comprises: the site information that enters the station, enter the station ticket-check equipment number and entering the station the time;
Departures ticket checking information comprises: the amount of money of deducting fees, departures site information, departures ticket-check equipment number and departures time.
CN201210457441.5A 2012-11-14 2012-11-14 Transaction data backup method in AFC system and transaction terminal Expired - Fee Related CN102968858B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210457441.5A CN102968858B (en) 2012-11-14 2012-11-14 Transaction data backup method in AFC system and transaction terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210457441.5A CN102968858B (en) 2012-11-14 2012-11-14 Transaction data backup method in AFC system and transaction terminal

Publications (2)

Publication Number Publication Date
CN102968858A CN102968858A (en) 2013-03-13
CN102968858B true CN102968858B (en) 2015-09-09

Family

ID=47798981

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210457441.5A Expired - Fee Related CN102968858B (en) 2012-11-14 2012-11-14 Transaction data backup method in AFC system and transaction terminal

Country Status (1)

Country Link
CN (1) CN102968858B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107665536A (en) * 2017-11-30 2018-02-06 成都长宇老司机网络科技有限公司 A kind of quick ticket-checking system based on recognition of face
CN109241778A (en) * 2018-08-13 2019-01-18 阿里巴巴集团控股有限公司 A kind of public transport data processing method and device based on block chain
CN109685498B (en) * 2018-12-28 2023-08-29 广东铭鸿数据有限公司 Transaction file generation method and related device
CN111932229A (en) * 2020-03-13 2020-11-13 武汉小码联城科技有限公司 Subway bus code payment data processing method, device and system and electronic equipment
CN115171266B (en) * 2022-09-07 2022-12-16 艾斯特国际安全技术(深圳)有限公司 Certificate output management method, device, system and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101571957A (en) * 2009-04-15 2009-11-04 新太科技股份有限公司 Track traffic non-contact reader-writer and equipment provided therewith
CN102176251A (en) * 2011-04-08 2011-09-07 南京工程学院 Self-service ticket error correcting device in AFC (automatic fare collection) system for subway and use method thereof
CN102419721A (en) * 2011-09-28 2012-04-18 山东神思电子技术股份有限公司 Method for scatter storing, centralized backing up and restoring metro card consumption data

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07320163A (en) * 1994-05-30 1995-12-08 Tec Corp Commodity sales registering data processing device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101571957A (en) * 2009-04-15 2009-11-04 新太科技股份有限公司 Track traffic non-contact reader-writer and equipment provided therewith
CN102176251A (en) * 2011-04-08 2011-09-07 南京工程学院 Self-service ticket error correcting device in AFC (automatic fare collection) system for subway and use method thereof
CN102419721A (en) * 2011-09-28 2012-04-18 山东神思电子技术股份有限公司 Method for scatter storing, centralized backing up and restoring metro card consumption data

Also Published As

Publication number Publication date
CN102968858A (en) 2013-03-13

Similar Documents

Publication Publication Date Title
CN105374071B (en) A kind of underground ticket checking system and method based on mobile intelligent terminal
CN102968858B (en) Transaction data backup method in AFC system and transaction terminal
CN205680202U (en) A kind of gas station automatic payment apparatus
CN102968825A (en) Multivocal route charging method, vehicle-mounted unit and system
CN206601733U (en) Ticket checking consumption system is sold in track traffic based on Quick Response Code off line certification
CN104574699A (en) Street self-help library using method and system based on NFC
CN104715401A (en) Electronic invoice issuing system and method
CN109308608A (en) Ticket checking consumption system and method are sold in rail traffic based on the certification of two dimensional code off line
CN103617541A (en) A method for collecting intelligent card transaction terminal information with crowdsourcing
CN201993816U (en) Automatic railway ticket selling and checking system based on two-dimensional bar code multimedia message
CN106934608A (en) Polymorphic Quick Response Code synthesizes to exempt to sign with user exempts from close method of commerce
CN106503990A (en) Transaction processing method and mobile device
CN202003442U (en) Self-service payment terminal supporting contactless IC cards
CN105160713A (en) Receipt-based parking fee waiving method in unmanned parking lot
CN105303703A (en) Fingerprint payment method based on application of charging pile
CN204463315U (en) Based on the system of the street corner Self-service Library of NFC
CN101957933A (en) Bank card with input and output functions
CN101101676B (en) Mobile ticket-selling device and method for public transport
CN116012007A (en) Campus consumption information management system and application thereof
CN101989362B (en) Toll management and management system and method
CN103116951A (en) Invoice self-service selling method based on image identification
CN109685498A (en) A kind of generation method and relevant apparatus of transaction file
CN205003796U (en) POS (point of sale) machine
WO2018072206A1 (en) Method and device for transport payment
CN105894356A (en) Electronic ticket purchasing and checking method based on card and number separation

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20150909

CF01 Termination of patent right due to non-payment of annual fee