Electronic currency offline payment method and payment collection method
AssigneeTendyron Corporation
InventorDongsheng LI
Life of this patent
Estimating the term…
Abstract
Offline electronic currency payment and collection methods are provided. The payment method includes: establishing, by a first device, a wireless connection with a peer device, acquiring wallet information, and transmitting the wallet information to a first peer device without deleting stored electronic currency; and receiving collection information, verifying that first peer offline account information is not included in an offline transaction blacklist, acquiring first transaction information, digitally signing the first transaction information, transmitting first transaction data including signature data to the first peer device, and storing a first transaction record.
Claims15
An offline electronic currency payment method, comprising:
- controlling, by a first security control module, a first communication module to establish a wireless connection with a first peer device;
- acquiring, by the first security control module, wallet information from a first file storage module, and controlling, by the first security control module, the first communication module to transmit the wallet information to the first peer device, wherein the wallet information comprises offline account information, an available balance and an electronic currency;
- the electronic currency comprises at least the following fields:
- a currency denomination, an owner identification, and an issuer signature;
- and the first security control module does not delete the electronic currency stored in the first file storage module after transmitting the wallet information to the first peer device;
- receiving, by the first security control module through the first communication module, collection information transmitted by the first peer device, wherein the collection information is generated and transmitted after passing a verification of the first peer device;
- passing the verification of the first peer device comprises:
- the first peer device verifying that the offline account information is not included in an offline transaction blacklist stored in the first peer device, verifying that the electronic currency is legal, and verifying that the available balance is smaller than or equal to a total denomination of the electronic currency, wherein the collection information at least comprises first peer offline account information;
- verifying, by the first security control module, whether the first peer offline account information is included in an offline transaction blacklist stored in the first file storage module;
- in response to verifying that the first peer offline account information is not included in the offline transaction blacklist stored in the first file storage module, acquiring, by the first security control module, first transaction information;
- digitally signing, by the first security control module, the first transaction information;
- and transmitting, by the first security control module, first transaction data to the first peer device through the first communication module, wherein the first transaction information at least comprises the offline account information, the first peer offline account information, first transaction time and a first transaction amount, and the first transaction data at least comprises the first transaction information and first signature information obtained by digitally signing the first transaction information;
- and
- controlling, by the first security control module, the first file storage module to store a first transaction record comprising the first transaction data, and controlling, by the first security control module, the first file storage module to modify a stored current available balance into a balance obtained by deducting the first transaction amount from the available balance.
An offline electronic currency collection method, comprising:
- controlling, by a second security control module, a second communication module to establish a wireless connection with a first device;
- receiving, by the second security control module, wallet information through the second communication module, wherein the wallet information comprises first device offline account information, a first device available balance and a first device electronic currency, wherein the first device electronic currency at least comprises the following fields:
- a currency denomination, an owner identification, and an issuer signature;
- performing a verification operation and passing of the verification by the second security control module, wherein the verification operation comprises:
- verifying whether the first device offline account information is included in an offline transaction blacklist stored in a second file storage module, verifying whether the first device electronic currency is legal, and verifying whether the first device available balance is smaller than or equal to a total denomination of the first device electronic currency;
- and the passing of the verification comprises:
- verifying that the first device offline account information is not included in the offline transaction blacklist stored in the second file storage module, verifying that the first device electronic currency is legal, and verifying that the first device available balance is smaller than or equal to the total denomination of the first device electronic currency;
- transmitting, by the second security control module after the passing of the verification, collection information to the first device, wherein the collection information at least comprises self offline account information acquired from the second file storage module;
- receiving, by the second security control module, first transaction data through the second communication module, wherein the first transaction data is generated after the first device verifies that the self offline account information is not included in an offline transaction blacklist stored in the first device;
- the first transaction data at least comprises first transaction information and first signature information obtained by digitally signing the first transaction information;
- and the first transaction information at least comprises the first device offline account information, the self offline account information, first transaction time and a first transaction amount;
- and
- verifying, by the second security control module, the first signature information in accordance with the first transaction information and a public key of the first device;
- controlling, by the second security control module in response to passing of the verifying, the second file storage module to set a current in-transit balance to a first balance, and controlling the storage module to store a first transaction record comprising the first transaction data, wherein the first balance is a balance obtained by adding the first transaction amount to an original in-transit balance.
Dependencies are inferred from the claim text.