CN112215596A - Bidirectional fault-tolerant control method for off-line electronic wallet transaction - Google Patents

Bidirectional fault-tolerant control method for off-line electronic wallet transaction Download PDF

Info

Publication number
CN112215596A
CN112215596A CN201910620085.6A CN201910620085A CN112215596A CN 112215596 A CN112215596 A CN 112215596A CN 201910620085 A CN201910620085 A CN 201910620085A CN 112215596 A CN112215596 A CN 112215596A
Authority
CN
China
Prior art keywords
fault
pos machine
user card
transaction
data
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
CN201910620085.6A
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.)
Nanjing Saikesi Information Technology Co ltd
Original Assignee
Nanjing Saikesi Information 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 Nanjing Saikesi Information Technology Co ltd filed Critical Nanjing Saikesi Information Technology Co ltd
Priority to CN201910620085.6A priority Critical patent/CN112215596A/en
Publication of CN112215596A publication Critical patent/CN112215596A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/36Payment architectures, schemes or protocols characterised by the use of specific devices or networks using electronic wallets or electronic money safes
    • G06Q20/367Payment architectures, schemes or protocols characterised by the use of specific devices or networks using electronic wallets or electronic money safes involving electronic purses or money safes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/18Payment architectures involving self-service terminals [SST], vending machines, kiosks or multimedia terminals
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/36Payment architectures, schemes or protocols characterised by the use of specific devices or networks using electronic wallets or electronic money safes
    • G06Q20/367Payment architectures, schemes or protocols characterised by the use of specific devices or networks using electronic wallets or electronic money safes involving electronic purses or money safes
    • G06Q20/3674Payment architectures, schemes or protocols characterised by the use of specific devices or networks using electronic wallets or electronic money safes involving electronic purses or money safes involving authentication

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Engineering & Computer Science (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Cash Registers Or Receiving Machines (AREA)

Abstract

The invention discloses a bidirectional fault-tolerant control method for off-line electronic wallet transaction, relates to the technical field of fault-tolerant control methods for electronic wallet transaction, and aims to solve the problem that the fault-tolerant control method for electronic wallet transaction on the market cannot be properly processed according to the fault condition only by arranging a plurality of backup components. Step 1: self-checking in the POS machine; step 2: carrying out fault tolerance on information transmission contents; and step 3: when the data reading module fails, starting the standby module; and 4, step 4: the user card sends card sender identification and application serial number to the POS machine; and 5: the POS machine checks the user card; step 6: the user card returns the validity of the PIN to the terminal; and 7: the POS machine sends a loading initialization message to the user card; and 8: the user card checks the key index; and step 9: the POS machine sends corresponding data to the bank host; step 10: returning to the POS machine inventory transaction message MAC 2; step 11: and the POS machine sends the host data to the user card.

Description

Bidirectional fault-tolerant control method for off-line electronic wallet transaction
Technical Field
The invention relates to the technical field of fault-tolerant control methods for electronic wallet transactions, in particular to a bidirectional fault-tolerant control method for off-line electronic wallet transactions.
Background
Electronic purses are a common payment instrument used in e-commerce shopping activities. Electronic money such as electronic cash, electronic change, electronic credit card, etc. is stored in the electronic wallet. Electronic purses have two concepts: the software is pure software mainly used for online consumption and account management, and the software is usually connected with a bank account or a bank card account. The other is an intelligent value-stored card with small payment, the cardholder stores a certain amount in the card in advance, and the transaction amount is directly deducted from the value-stored account during transaction. Fault tolerance is an error tolerance, which means that when one or more key parts of equipment have faults, the equipment can be automatically detected and diagnosed, corresponding measures are taken to ensure that the equipment maintains the specified functions of the equipment or the performance is sacrificed to ensure that the equipment continues to work within an acceptable range, and a fault tolerance control method for electronic wallet transaction is a method for fault tolerance of the problems which may occur during the electronic wallet transaction.
Most of the existing fault-tolerant control methods for electronic wallet transactions on the market are that a plurality of backup parts are arranged, so that when the parts fail, the backup parts are replaced for use, and more appropriate treatment cannot be performed according to the failure condition, and therefore, the market urgently needs to develop a bidirectional fault-tolerant control method for off-line electronic wallet transactions to help people to solve the existing problems.
Disclosure of Invention
The invention aims to provide a bidirectional fault-tolerant control method for off-line electronic wallet transaction, which solves the problem that most of the fault-tolerant control methods for off-line electronic wallet transaction in the prior art only set a plurality of backup components, so that the backup components are replaced for use when the components are in fault, and more appropriate treatment cannot be performed according to the fault condition.
In order to achieve the purpose, the invention provides the following technical scheme: a bidirectional fault-tolerant control method for off-line electronic wallet transaction comprises the following steps:
step 1: the detection equipment in the POS machine carries out self-detection before operation, and data detected by the detection instrument and data in the reference model are transmitted to the fault detection module;
step 2: the fault-tolerant work of information transmission contents is carried out, an FPGA chip is designed to be used as a core, an embedded Ethernet MAC controller hard core is utilized, development of transmission control units is completed by combining a physical layer PHY chip, a data processing module based on a double ping-pong switching mechanism is developed by utilizing a Verilog language, the running-line level forwarding of data frames among a plurality of transmission control units is facilitated, the isolation of fault nodes can be realized, the fault-tolerant working performance is realized, and the transmission system is efficient and reliable and is used for the development of a certain type towed array sonar system sample stage;
and step 3: when the failure is analyzed to be the failure of the data reading module in the POS machine, the replacement standby data reading module is used for selecting the file in the user card;
and 4, step 4: the user card sends card sender identification and application serial number to the POS machine;
and 5: the POS machine checks the validity of the user card; and sending a cardholder Password (PIN) to the user card;
step 6: the user card returns the validity of the PIN to the terminal, and when the validity of the PIN is unqualified, the transaction is terminated;
and 7: the POS machine sends a loading initialization message to the user card;
and 8: the user card checks whether the key index is correct, if the key index is correct, the random number, the process key and the MAC1 are returned, and if the key index is incorrect, the transaction is terminated;
and step 9: the POS machine sends corresponding data to the bank host, and the bank host verifies whether the MAC1 is correct; if MAC1 is correct, subtracting the input earmark amount from the personal account of the cardholder; generating MAC 2;
step 10: after the bank host successfully carries out the transaction, returning to the POS machine inventory transaction message MAC2 for transaction time;
step 11: the POS machine sends the data returned by the host to the user card; if the transmission is unsuccessful, the transmission is carried out again, and the validity of the MAC2 is verified after the user card receives the data returned by the host; if the MAC2 is correct, updating the internal balance of the electronic wallet, and adding 1 to the online transaction serial number;
step 12: the user card calculates a transaction verification code and returns the transaction verification code to the POS;
step 13: and after receiving the TAC of the user card, the POS machine sends the TAC to the host for verification.
Preferably, the self-checking performed by the detection device in the POS machine in step 1 before the operation specifically includes:
step 1-1, when the information types are consistent, the method can be normally used, and when the information types are inconsistent, a fault detection module identifies the fault by calling the fault type in the database;
step 1-2, selecting corresponding fault decisions according to different fault conditions;
and 1-3, the fault decision is divided into system reconstruction, system restart and standby equipment starting.
1. Compared with the prior art, the invention has the beneficial effects that: the invention carries out intelligent fault tolerance by detecting different faults, and utilizes an artificial intelligence theory and a method before one or more key components of equipment break down or break down soon in the operation process, and automatically compensates, inhibits, eliminates and repairs the faults by taking effective measures to ensure that the equipment continuously, safely, efficiently and reliably operates, or ensures that the equipment completes the preset function within the specified time at the cost of performance loss, thereby solving the problem that most of the fault tolerance control methods of the electronic wallet transaction in the market can replace backup components to use when the components break down and can not be processed more appropriately according to the fault conditions by only arranging a plurality of backup components.
2. The invention carries out the fault-tolerant work of the information transmission content, and is convenient for the pipeline-level forwarding of data frames among a plurality of transmission control units. The isolation of the fault node can be realized. The transmission system is efficient and reliable.
Drawings
FIG. 1 is a flow chart of the present invention;
fig. 2 is a flow chart of a self-checking method performed by the detection device in the POS machine of the present invention before operation.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments.
Referring to fig. 1-2, an embodiment of the present invention is shown: a bidirectional fault-tolerant control method for off-line electronic wallet transaction comprises the following steps:
step 1: the detection equipment in the POS machine carries out self-detection before operation, and data detected by the detection instrument and data in the reference model are transmitted to the fault detection module;
step 2: the fault-tolerant work of information transmission contents is carried out, an FPGA chip is designed to be used as a core, an embedded Ethernet MAC controller hard core is utilized, development of transmission control units is completed by combining a physical layer PHY chip, a data processing module based on a double ping-pong switching mechanism is developed by utilizing a Verilog language, the running-line level forwarding of data frames among a plurality of transmission control units is facilitated, the isolation of fault nodes can be realized, the fault-tolerant working performance is realized, and the transmission system is efficient and reliable and is used for the development of a certain type towed array sonar system sample stage;
and step 3: when the failure is analyzed to be the failure of the data reading module in the POS machine, the replacement standby data reading module is used for selecting the file in the user card;
and 4, step 4: the user card sends card sender identification and application serial number to the POS machine;
and 5: the POS machine checks the validity of the user card; and sending a cardholder Password (PIN) to the user card;
step 6: the user card returns the validity of the PIN to the terminal, and when the validity of the PIN is unqualified, the transaction is terminated;
and 7: the POS machine sends a loading initialization message to the user card;
and 8: the user card checks whether the key index is correct, if the key index is correct, the random number, the process key and the MAC1 are returned, and if the key index is incorrect, the transaction is terminated;
and step 9: the POS machine sends corresponding data to the bank host, and the bank host verifies whether the MAC1 is correct; if MAC1 is correct, subtracting the input earmark amount from the personal account of the cardholder; generating MAC 2;
step 10: after the bank host successfully carries out the transaction, returning to the POS machine inventory transaction message MAC2 for transaction time;
step 11: the POS machine sends the data returned by the host to the user card; if the transmission is unsuccessful, the transmission is carried out again, and the validity of the MAC2 is verified after the user card receives the data returned by the host; if the MAC2 is correct, updating the internal balance of the electronic wallet, and adding 1 to the online transaction serial number;
step 12: the user card calculates a transaction verification code and returns the transaction verification code to the POS;
step 13: and after receiving the TAC of the user card, the POS machine sends the TAC to the host for verification.
Further, the self-checking of the detection device in the POS machine in step 1 before operation is specifically:
step 1-1, when the information types are consistent, the method can be normally used, and when the information types are inconsistent, a fault detection module identifies the fault by calling the fault type in the database;
step 1-2, selecting corresponding fault decisions according to different fault conditions;
and 1-3, the fault decision is divided into system reconstruction, system restart and standby equipment starting.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned.

Claims (2)

1. A bidirectional fault-tolerant control method for off-line electronic wallet transaction is characterized in that: the method comprises the following steps:
step 1: the detection equipment in the POS machine carries out self-detection before operation, and data detected by the detection instrument and data in the reference model are transmitted to the fault detection module;
step 2: the fault-tolerant work of information transmission contents is carried out, an FPGA chip is designed to be used as a core, an embedded Ethernet MAC controller hard core is utilized, development of transmission control units is completed by combining a physical layer PHY chip, a data processing module based on a double ping-pong switching mechanism is developed by utilizing a Verilog language, the running-line level forwarding of data frames among a plurality of transmission control units is facilitated, the isolation of fault nodes can be realized, the fault-tolerant working performance is realized, and the transmission system is efficient and reliable and is used for the development of a certain type towed array sonar system sample stage;
and step 3: when the failure is analyzed to be the failure of the data reading module in the POS machine, the replacement standby data reading module is used for selecting the file in the user card;
and 4, step 4: the user card sends card sender identification and application serial number to the POS machine;
and 5: the POS machine checks the validity of the user card; and sending a cardholder Password (PIN) to the user card;
step 6: the user card returns the validity of the PIN to the terminal, and when the validity of the PIN is unqualified, the transaction is terminated;
and 7: the POS machine sends a loading initialization message to the user card;
and 8: the user card checks whether the key index is correct, if the key index is correct, the random number, the process key and the MAC1 are returned, and if the key index is incorrect, the transaction is terminated;
and step 9: the POS machine sends corresponding data to the bank host, and the bank host verifies whether the MAC1 is correct; if MAC1 is correct, subtracting the input earmark amount from the personal account of the cardholder; generating MAC 2;
step 10: after the bank host successfully carries out the transaction, returning to the POS machine inventory transaction message MAC2 for transaction time;
step 11: the POS machine sends the data returned by the host to the user card; if the transmission is unsuccessful, the transmission is carried out again, and the validity of the MAC2 is verified after the user card receives the data returned by the host; if the MAC2 is correct, updating the internal balance of the electronic wallet, and adding 1 to the online transaction serial number;
step 12: the user card calculates a transaction verification code and returns the transaction verification code to the POS;
step 13: and after receiving the TAC of the user card, the POS machine sends the TAC to the host for verification.
2. The bidirectional fault-tolerant control method for off-line e-wallet transaction as claimed in claim 1, wherein the self-check of the detection device in the POS machine in step 1 before operation is specifically:
step 1-1, when the information types are consistent, the method can be normally used, and when the information types are inconsistent, a fault detection module identifies the fault by calling the fault type in the database;
step 1-2, selecting corresponding fault decisions according to different fault conditions;
and 1-3, the fault decision is divided into system reconstruction, system restart and standby equipment starting.
CN201910620085.6A 2019-07-10 2019-07-10 Bidirectional fault-tolerant control method for off-line electronic wallet transaction Pending CN112215596A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910620085.6A CN112215596A (en) 2019-07-10 2019-07-10 Bidirectional fault-tolerant control method for off-line electronic wallet transaction

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910620085.6A CN112215596A (en) 2019-07-10 2019-07-10 Bidirectional fault-tolerant control method for off-line electronic wallet transaction

Publications (1)

Publication Number Publication Date
CN112215596A true CN112215596A (en) 2021-01-12

Family

ID=74048063

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910620085.6A Pending CN112215596A (en) 2019-07-10 2019-07-10 Bidirectional fault-tolerant control method for off-line electronic wallet transaction

Country Status (1)

Country Link
CN (1) CN112215596A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101799954A (en) * 2009-11-20 2010-08-11 北京飞天诚信科技有限公司 Method for loading double electronic purses
CN102110334A (en) * 2009-12-23 2011-06-29 中国移动通信集团公司 Device, system and method for processing information
CN102750776A (en) * 2012-06-21 2012-10-24 捷德(中国)信息科技有限公司 User IC (Integrated Circuit) card offline transaction method, apparatus and system
CN103839339A (en) * 2012-11-27 2014-06-04 中国银联股份有限公司 Offline transaction message loading method and offline transaction message uploading system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101799954A (en) * 2009-11-20 2010-08-11 北京飞天诚信科技有限公司 Method for loading double electronic purses
CN102110334A (en) * 2009-12-23 2011-06-29 中国移动通信集团公司 Device, system and method for processing information
CN102750776A (en) * 2012-06-21 2012-10-24 捷德(中国)信息科技有限公司 User IC (Integrated Circuit) card offline transaction method, apparatus and system
CN103839339A (en) * 2012-11-27 2014-06-04 中国银联股份有限公司 Offline transaction message loading method and offline transaction message uploading system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"电子钱包交易流程.doc-原创力文档", pages 1 - 2, Retrieved from the Internet <URL:https://max.book118.comhtml2017032997645266.shtm> *
王冬冬 等: "声纳数据分布式冗余传输系统设计", 《电子设计工程》, vol. 26, no. 5, 5 March 2018 (2018-03-05), pages 150 - 155 *

Similar Documents

Publication Publication Date Title
US5982293A (en) Transaction recovery in a value transfer system
US10133773B2 (en) Methods and systems for indirectly retrieving account data from data storage devices
US20070226135A1 (en) Monetary Terminal Processing Server, Monetary Terminal Processing Method, Monetary Terminal, Arithmetic Instruction Input and Amount Change Information Input Unit
AU2016219581A1 (en) Efficient stored-value card transactions
CN103714625B (en) A kind of charging intelligent card method and system
JP2019500680A (en) Data processing method and apparatus
WO2018067346A1 (en) Method and system for correlating mobile device location with electronic transaction data
US20170262853A1 (en) Method and system for biometric confirmation of suspect transactions
CN101329795B (en) System and method for implementing bank card agent authorization
US20230214844A1 (en) Machine learning based detection of fraudulent acquirer transactions
CN108369705A (en) Dynamic security encodes authority checking service
EA038252B1 (en) Method for automatically crediting deposited money funds in case of failures
CN107833053A (en) The Information Authentication method and device of core banking system
US10210512B2 (en) Transaction count synchronization in payment system
CN112215596A (en) Bidirectional fault-tolerant control method for off-line electronic wallet transaction
CN105354190A (en) Numerical information transfer method and apparatus
CN103327086A (en) Fuel gas sale transaction method and gas sale client
CN101950452A (en) Bank card core system and bank card stand-in authorization system data synchronous processing method
CN109064316B (en) Method and device for recovering offline consumption limit by credit card
TWM614057U (en) Credit card transaction processing system
CN106600406A (en) Transaction method and terminal thereof
CN103927562A (en) Method and device for modifying intelligent card data
US11869000B2 (en) System, method, and computer program product for updating and processing payment device transaction tokens
CA3167230A1 (en) Indicating failed card reading to identify defective transaction card and/or defective transaction terminal
US20220405761A1 (en) System and method for error detection and notification of a storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination