Patent ID: 9378498
Filing Date: 2016-06-28
CPC Classification: G06K,G06Q,G07F

Claim Text:
1. A computer-implemented method for loading double e-wallets at a CPU terminal, the method comprising: in response to entering a contactless inductive area of the CPU terminal, a CPU card establishing a connection with the CPU terminal, wherein the CPU card has memory and one or more processors and comprises a first e-wallet and a second e-wallet, wherein the first e-wallet is a banking application and the second e-wallet is a CPU e-wallet, wherein a section number and a block number of a storage area in the logical cipher card part of the CPU card are predetermined, wherein the storage area is used to store a balance of the first e-wallet wherein the first e-wallet is a M1™ e-wallet and the second e-wallet is a CPU e-wallet, the M1™ e-wallet and the second e-wallet are in the CPU card; in response to power-on and initialization, the CPU card synchronizing the first e-wallet and the second e-wallet, and waiting to receive an instruction from the terminal, wherein synchronizing the first e-wallet and the second e-wallet by the CPU card comprises: obtaining a balance of the first e-wallet by the CPU card; obtaining a balance of the second e-wallet by the CPU card; comparing the balance of the first e-wallet with the balance of the second e-wallet by the CPU card; if the balance of the first e-wallet is smaller than the balance of the second e-wallet, setting the balance of the second e-wallet to be the balance of the first e-wallet, and then-continuing to seek a card by the CPU card; if the balance of the second e-wallet is smaller than the balance of the first e-wallet, setting the balance of the first e-wallet to be the balance of the second e-wallet, and then continuing to seek a card by the CPU card; and if the balance of the second e-wallet equals to the balance of the first e-wallet, continuing to seek a card by the CPU card; the terminal sending an INITIALIZE FOR LOAD instruction to the CPU card; in response to receiving the INITIALIZE FOR LOAD instruction, the CPU card executing a load initialization operation and returning a response message to the terminal; in response to receiving the response message of the INITIALIZE FOR LOAD instruction from the CPU card, the terminal sending data in the response message of the INITIALIZE FOR LOAD instruction to a host; in response to receiving and storing the data, the host sending a LOAD purchase allowing message to the terminal; in response to receiving the LOAD purchase allowing message, the terminal sending a LOAD instruction to the CPU card; in response to receiving the LOAD instruction, the CPU card performing a loading operation on the first e-wallet and the second e-wallet at the terminal, refreshing the balance of the first e-wallet stored in the storage area, and returning a response message for the LOAD instruction to the terminal; and in response to receiving the response message for the LOAD instruction, the terminal ending loading double e-wallets.