CN114118996A - Block chain-based electric bill payment method - Google Patents
Block chain-based electric bill payment method Download PDFInfo
- Publication number
- CN114118996A CN114118996A CN202111224556.5A CN202111224556A CN114118996A CN 114118996 A CN114118996 A CN 114118996A CN 202111224556 A CN202111224556 A CN 202111224556A CN 114118996 A CN114118996 A CN 114118996A
- Authority
- CN
- China
- Prior art keywords
- transaction
- user
- power company
- sends
- block chain
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 13
- 238000012790 confirmation Methods 0.000 claims abstract description 14
- 238000013478 data encryption standard Methods 0.000 claims description 10
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000002860 competitive effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000005242 forging Methods 0.000 description 1
- 230000008014 freezing Effects 0.000 description 1
- 238000007710 freezing Methods 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Payment architectures, schemes or protocols
- G06Q20/08—Payment architectures
- G06Q20/10—Payment architectures specially adapted for electronic funds transfer [EFT] systems; specially adapted for home banking systems
- G06Q20/102—Bill distribution or payments
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/382—Payment protocols; Details thereof insuring higher security of transaction
- G06Q20/3825—Use of electronic signatures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/382—Payment protocols; Details thereof insuring higher security of transaction
- G06Q20/3829—Payment protocols; Details thereof insuring higher security of transaction involving key management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/389—Keeping log of transactions for guaranteeing non-repudiation of a transaction
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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
- G06Q50/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/06—Energy or water supply
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/06—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols the encryption apparatus using shift registers or memories for block-wise or stream coding, e.g. DES systems or RC4; Hash functions; Pseudorandom sequence generators
- H04L9/0618—Block ciphers, i.e. encrypting groups of characters of a plain text message using fixed encryption transformation
- H04L9/0625—Block ciphers, i.e. encrypting groups of characters of a plain text message using fixed encryption transformation with splitting of the data block into left and right halves, e.g. Feistel based algorithms, DES, FEAL, IDEA or KASUMI
Landscapes
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Engineering & Computer Science (AREA)
- Finance (AREA)
- Strategic Management (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Economics (AREA)
- Computer Security & Cryptography (AREA)
- Health & Medical Sciences (AREA)
- Public Health (AREA)
- Water Supply & Treatment (AREA)
- General Health & Medical Sciences (AREA)
- Human Resources & Organizations (AREA)
- Marketing (AREA)
- Primary Health Care (AREA)
- Tourism & Hospitality (AREA)
- Development Economics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
The invention relates to a block chain-based electric bill payment method. The invention firstly carries out mutual authentication between the power company and the user, and after the authentication between the power company and the user is successful, the power company sends the intelligent contract address to the user. Secondly, after receiving the intelligent contract address, the user executes the intelligent contract, sets transaction information by the block chain, and sends the transaction address back to the user; at the same time, the user signs the transaction. And then the user encrypts the transaction by the DES cryptographic algorithm and sends the encrypted transaction to the power company, and the power company decrypts the encrypted transaction by using the DES cryptographic algorithm, confirms the transaction, signs and packages the transaction into a transaction confirmation message. And finally, the power company sends a transaction confirmation message to the user and records the transaction confirmation message on the blockchain. In the payment scheme provided by the invention, the successful completion of the transaction needs to be confirmed by the user and the power company together, and the confirmation information provided by the user and the power company enables an attacker not to deny the malicious behavior.
Description
Technical Field
The invention belongs to the technical field of information security, and relates to a block chain-based electric bill payment method.
Background
Power bill payment is a complex process, and although there have been some preliminary attempts, some key issues remain to be solved. The transaction trust problem is prominent, a malicious attacker eavesdrops the transaction between the user and the power company, and the privacy information of the user is leaked, so that the trust of the user is difficult to obtain.
More importantly, a large number of main bodies participate in each link of bill generation, management, analysis and transaction, and an attacker possibly distorts transaction information, so that the transaction is not real easily, and long-term transaction consensus is difficult to promote. Therefore, the current automatic payment process of the electric bill is accompanied by risks of data tampering, privacy disclosure of users and the like.
The present invention applies blockchain technology to the power bill payment process, blockchain being considered a competitive means of participating in and recording transactions. In blockchains, members can interact with each other without a trusted intermediary, with a public ledger maintained by all participants. In addition, the introduction of the password primitive and the consensus mechanism ensures the stability and the safety of the system.
Disclosure of Invention
Aiming at the defects of the prior art, the invention provides a block chain-based electric bill payment method.
The invention comprises the following steps:
step 1, the power company and the user carry out mutual authentication, and the user firstly verifies the legality of the power company. While the utility company ensures that the customer's account is legitimate.
And 2, after the two parties successfully authenticate, the power company sends the intelligent contract address to the user.
Step 3, after receiving the intelligent contract address, the user executes the intelligent contract, sets transaction information by the blockchain, and sends the transaction address back to the user; the user signs the transaction.
And 4, encrypting the transaction by the DES cryptographic algorithm and then sending the encrypted transaction to the power company by the user.
And 5, after receiving the encrypted transaction, the power company decrypts the transaction by using a DES (data encryption standard) cryptographic algorithm, then confirms the transaction, signs and packages the transaction into a transaction confirmation message.
And 6, the power company sends a transaction confirmation message to the user and records the transaction confirmation message on the blockchain.
The invention has the beneficial effects that: in the payment scheme provided by the invention, the successful completion of the transaction needs to be confirmed by the user and the power company together, and the confirmation information provided by the user and the power company enables an attacker not to deny the malicious behavior.
Drawings
FIG. 1 is a schematic diagram of the present invention.
Detailed Description
As shown in fig. 1, before the transaction begins, the power company creates an intelligent contract, which includes a block chain charging policy, i.e., the fee that the user needs to pay. The user is then notified of the smart contract address. The invention then implements the following steps:
step 1, the power company and the user carry out mutual authentication through elliptic curve signatures, and the user firstly verifies the legality of the power company. And meanwhile, the power company ensures that the account number of the user is legal and the balance of the account number on the user block chain meets the payment requirement. This can prevent a malicious attacker from forging the identity of a legitimate user, resulting in an unrealistic transaction record.
And 2, if the two parties are authenticated successfully, the power company sends the intelligent contract address to the user.
And 3, after receiving the intelligent contract address, the user executes the intelligent contract, the blockchain system sets transaction information including notification time, starting time, a user payment address and an electric power company address, and sends the transaction address back to the user. At the same time, the user signs the transaction.
And 4, encrypting the transaction by the DES cryptographic algorithm and transmitting the encrypted transaction to the power company by the user.
And 5, after receiving the encrypted transaction, the power company decrypts the transaction by using a DES (data encryption standard) cryptographic algorithm, then confirms the transaction, signs and packages the transaction into a transaction confirmation message.
And 6, the power company sends a transaction confirmation message to the user and records the transaction confirmation message on the blockchain. Once the third party law enforcement agency has published a record of the attacker's attack, its illegal action should not be denied. The encryption and signature keys of the user are all uniquely associated with the user. Since all transactions are bound to an account, the blockchain system can find the corresponding account according to the key of the user. Thus, if misbehavior occurs, it can be confirmed by freezing the account that an illegal entity cannot make a legitimate transaction.
Claims (4)
1. A method for blockchain based payment of an electric bill, the method comprising the steps of:
step 1, mutual authentication is carried out between an electric power company and a user, and the user verifies the legality of the electric power company; meanwhile, the power company ensures that the account number of the user is legal;
step 2, after the two parties successfully authenticate, the power company sends the intelligent contract address to the user;
step 3, after receiving the intelligent contract address, the user executes the intelligent contract, sets transaction information by the blockchain, and sends the transaction address back to the user; the user signs the transaction;
step 4, the user encrypts the transaction through a DES (data encryption Standard) cryptographic algorithm and then sends the encrypted transaction to the power company;
step 5, after receiving the encrypted transaction, the electric power company decrypts the transaction by using a DES (data encryption standard) cryptographic algorithm, then confirms the transaction, signs and packages the transaction into a transaction confirmation message;
and 6, the power company sends a transaction confirmation message to the user and records the transaction confirmation message on the blockchain.
2. The method of block chain based electric bill payment of claim 1 wherein: in the step 1, mutual authentication is carried out between the power company and the user through elliptic curve signatures.
3. The method of block chain based electric bill payment of claim 1 wherein: in step 1, the balance of the account number on the user block chain meets the payment requirement.
4. The method of block chain based electric bill payment of claim 1 wherein: the transaction information in step 3 includes a notification time, a start time, a user payment address and a power company address.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111224556.5A CN114118996A (en) | 2021-10-21 | 2021-10-21 | Block chain-based electric bill payment method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111224556.5A CN114118996A (en) | 2021-10-21 | 2021-10-21 | Block chain-based electric bill payment method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114118996A true CN114118996A (en) | 2022-03-01 |
Family
ID=80376092
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111224556.5A Pending CN114118996A (en) | 2021-10-21 | 2021-10-21 | Block chain-based electric bill payment method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114118996A (en) |
-
2021
- 2021-10-21 CN CN202111224556.5A patent/CN114118996A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP1277301B1 (en) | Method for transmitting payment information between a terminal and a third equipement | |
CN103020825B (en) | A kind of secure payment authentication method based on software client | |
WO2021008453A1 (en) | Method and system for offline blockchain transaction based on identifier authentication | |
CN109165934B (en) | Safe mobile payment method and system based on identification password | |
CN101662469B (en) | Method and system based on USBKey online banking trade information authentication | |
US20080235513A1 (en) | Three Party Authentication | |
CN109067539A (en) | Alliance's chain method of commerce, equipment and computer readable storage medium | |
CN103312691A (en) | Method and system for authenticating and accessing cloud platform | |
CN111539718B (en) | Block chain cross-chain identity authentication method based on side chain | |
WO2008031301A1 (en) | A method for the point to point online identity authenticaiton | |
CN111224784B (en) | Role separation distributed authentication and authorization method based on hardware trusted root | |
CN105554018A (en) | Network real name verification method | |
CN111339509A (en) | Block chain cross-chain identity authentication method based on side chain | |
CN112419021A (en) | Electronic invoice verification method, system, storage medium, computer equipment and terminal | |
EP4018403A1 (en) | Authenticator app for consent architecture | |
CN110289961A (en) | Tele-medicine authentication method | |
CN114119015A (en) | Online shopping payment method based on block chain and elliptic curve | |
WO2021208549A1 (en) | Method and device for charging authentication | |
CN114118996A (en) | Block chain-based electric bill payment method | |
CN111539032B (en) | Electronic signature application system resistant to quantum computing disruption and implementation method thereof | |
Nashwan et al. | Mutual chain authentication protocol for SPAN transactions in Saudi Arabian banking | |
CN113301026A (en) | Method for communication between servers | |
Subpratatsavee et al. | Internet banking transaction authentication using mobile one-time password and qr code | |
CN110855444A (en) | Pure software CAVA identity authentication method based on trusted third party | |
CN109658101A (en) | A kind of block chain hardware encryption safe mechanism |
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 |