CN111652613A - Intelligent block chain account distribution system - Google Patents
Intelligent block chain account distribution system Download PDFInfo
- Publication number
- CN111652613A CN111652613A CN202010296597.4A CN202010296597A CN111652613A CN 111652613 A CN111652613 A CN 111652613A CN 202010296597 A CN202010296597 A CN 202010296597A CN 111652613 A CN111652613 A CN 111652613A
- Authority
- CN
- China
- Prior art keywords
- module
- unit
- payment
- account book
- business
- 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 claims abstract description 8
- 230000008569 process Effects 0.000 claims abstract description 7
- 238000013500 data storage Methods 0.000 claims abstract description 5
- 238000012795 verification Methods 0.000 claims description 6
- 230000005540 biological transmission Effects 0.000 abstract description 2
- 230000008901 benefit Effects 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000013589 supplement Substances 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/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/08—Payment architectures
- G06Q20/18—Payment architectures involving self-service terminals [SST], vending machines, kiosks or multimedia terminals
-
- 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/40—Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
- G06Q20/401—Transaction verification
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)
- Computer Security & Cryptography (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
The invention discloses a block chain intelligent accounting system, which comprises a business data module, a distributed shared account book module, a payment module and a business participation module; the service data module, the distributed shared account book module, the payment module and the service participation module are in data transmission with each other; the service data module comprises a service operation data unit and a service order unit; the distributed account book sharing module comprises an instruction payment unit, an account book storage unit and an automatic account book dividing unit; the business participation module comprises a data query unit and a cash withdrawal unit; the business order unit updates payment information from the payment module and transmits the payment information to the account book storage unit in real time for data storage; and the automatic billing unit completes automatic billing according to the payment information of the business order unit and the billing protocol model of the order. The invention solves the trust problem in the asset transaction process by utilizing the characteristic that the block chain can not be tampered, reduces the transaction risk and greatly improves the transaction efficiency.
Description
Technical Field
The invention relates to the technical field of unmanned vending machines, in particular to a block chain intelligent accounting system.
Background
With the change of consumption mode, the unmanned vending machine is more and more appeared in the life of people. The vending machine can fully supplement the shortage of human resources and adapt to the change of consumption environment and consumption mode. The vending machine can be operated for 24 hours all weather, the investment capital is small, the area is small, the novel shopping mode is adopted, and the convenient and quick shopping mode attracts a great number of young people with curiosity and desire to buy goods.
For the existing unmanned vending machine, a plurality of participants facing commodity transaction carry out the account division on the income generated by the commodity transaction, and in the existing account division method, the basis of the account division is generally the bill recorded in the commodity transaction process. One or several of the participants are typically pre-selected to be responsible for recording and storing the bill, i.e. for billing, which requires that the participant who is performing the billing has a high degree of integrity and that the other participants can give sufficient trust to the participant who is performing the billing.
However, the basis of the above-mentioned billing is only that one or a few participants take charge of recording and storing, and if the participants who do recording and storing agree, the bill is tampered with implicitly, so that it is difficult to ensure that the benefit of the participants who do not perform billing is not damaged during billing.
Disclosure of Invention
In view of the above, in order to solve the above problems in the prior art, the present invention provides a block chain intelligent accounting system.
The invention solves the problems through the following technical means:
a block chain intelligent accounting system comprises a business data module, a distributed shared account book module, a payment module and a business participation module;
the business data module, the distributed shared account book module, the payment module and the business participation module mutually transmit data;
the service data module comprises a service operation data unit and a service order unit;
the distributed account book sharing module comprises an instruction payment unit, an account book storage unit and an automatic account book dividing unit;
the business participation module comprises a data query unit and a cash withdrawal unit;
the business operation data unit is used for updating business operation progress information in real time and transmitting the business operation progress information to an account book storage unit in the distributed shared account book module in real time to store data; meanwhile, the information of the service operation progress is transmitted to a service participation module;
the business order unit is used for updating payment information from the payment module and transmitting the payment information to an account book storage unit in the distributed shared account book module in real time for data storage; meanwhile, the payment information is transmitted to the service participation module;
the payment module is used for receiving a payment instruction sent by an instruction payment unit in the distributed shared account book module and carrying out payment operation; meanwhile, the payment information is transmitted to a business order unit; triggering an automatic account distribution unit of the distributed shared account book module after payment is completed;
the instruction payment unit is used for sending a payment instruction to the payment module to carry out payment operation;
the account book storage unit is used for storing business operation progress information and payment information;
the automatic billing unit is used for completing automatic billing according to the payment information of the business order unit and the billing protocol model of the order and sending the billing information to the business participation module;
the data query unit is used for receiving the ledger information from the distributed shared ledger module, querying service information and querying the balance of the ledger;
and the cash withdrawal unit is used for withdrawing the balance of the account book to the bank card according to the provided bank card information.
Further, the accounting protocol model uses an encryption algorithm based on an elliptic curve by an encryption technology, and the principle is as follows:
setting a private key and a public key as K and K respectively, namely K equals kG, wherein G is a G point;
public key encryption: selecting a random number r, and generating a ciphertext C from the message M, wherein the ciphertext is a point pair, namely: c ═ { rG, M + rK }, where K is the public key;
and (3) decryption of a private key: m + rK-K (rg) -M + r (kg) -K (rg) -M, where K and K are private and public keys, respectively;
based on the above principle, the encryption process is as follows:
setting a private key and a public key as K and K respectively, namely K equals kG, wherein G is a G point;
signature by a private key:
selecting a random number r, and calculating a point rG (x, y), wherein x and y are the x coordinate and the y coordinate of a point satisfying an elliptic curve;
calculating a digital signature s ═ h + kx)/r according to the random number r, the hash h of the message M and the private key k;
sending the message M and the signature { rG, s } to a receiver;
public key verification signature:
the receiver receives the message M, and the signature { rG ═ (x, y), s };
solving Hash h according to the message;
using the sender public key K to compute: hG/s + xK/s, and comparing with rG, if equal, the signature verification is successful; the principle is as follows: hG/s + xK/s ═ hG/s + x (kg)/s ═ (h + xK) G/s ═ r (h + xK) G/(h + kx) ═ rG.
Compared with the prior art, the invention has the beneficial effects that at least:
the invention adopts the intelligent accounting protocol, improves the multi-party benefit and participates in the benefit sharing; meanwhile, by utilizing the characteristic that the block chain can not be tampered, the trust problem in the asset transaction process is solved, the transaction risk is reduced, and the transaction efficiency is greatly improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a blockchain intelligent accounting system according to the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in detail below. It should be noted that the described embodiments are only a part of the embodiments of the present invention, and not all embodiments, and all other embodiments obtained by those skilled in the art without any inventive work based on the embodiments of the present invention belong to the protection scope of the present invention.
Example 1
The block chain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, a consensus mechanism and an encryption algorithm, the consensus mechanism is a mathematical algorithm for establishing trust and obtaining rights and interests among different nodes in a block chain system, authenticity of bills is guaranteed through the block chain, and benefits of all participants in billing are further guaranteed not to be damaged.
As shown in fig. 1, the present invention provides a block chain intelligent accounting system, which includes a business data module, a distributed shared accounting book module, a payment module, and a business participation module;
the business data module, the distributed shared account book module, the payment module and the business participation module mutually transmit data;
the service data module comprises a service operation data unit and a service order unit;
the distributed account book sharing module comprises an instruction payment unit, an account book storage unit and an automatic account book dividing unit;
the business participation module comprises a data query unit and a cash withdrawal unit;
the business operation data unit is used for updating business operation progress information in real time and transmitting the business operation progress information to an account book storage unit in the distributed shared account book module in real time to store data; meanwhile, the information of the service operation progress is transmitted to a service participation module;
the business order unit is used for updating payment information from the payment module and transmitting the payment information to an account book storage unit in the distributed shared account book module in real time for data storage; meanwhile, the payment information is transmitted to the service participation module;
the payment module is used for receiving a payment instruction sent by an instruction payment unit in the distributed shared account book module and carrying out payment operation; meanwhile, the payment information is transmitted to a business order unit; triggering an automatic account distribution unit of the distributed shared account book module after payment is completed;
the instruction payment unit is used for sending a payment instruction to the payment module to carry out payment operation;
the account book storage unit is used for storing business operation progress information and payment information;
the automatic billing unit is used for completing automatic billing according to the payment information of the business order unit and the billing protocol model of the order and sending the billing information to the business participation module;
the data query unit is used for receiving the ledger information from the distributed shared ledger module, querying service information and querying the balance of the ledger;
and the cash withdrawal unit is used for withdrawing the balance of the account book to the bank card according to the provided bank card information.
Example 2
In this embodiment, on the basis of embodiment 1, the accounting protocol model uses an encryption algorithm based on an elliptic curve by using an encryption technology, and the principle is as follows:
setting a private key and a public key as K and K respectively, namely K equals kG, wherein G is a G point;
public key encryption: selecting a random number r, and generating a ciphertext C from the message M, wherein the ciphertext is a point pair, namely: c ═ { rG, M + rK }, where K is the public key;
and (3) decryption of a private key: m + rK-K (rg) -M + r (kg) -K (rg) -M, where K and K are private and public keys, respectively;
based on the above principle, the encryption process is as follows:
setting a private key and a public key as K and K respectively, namely K equals kG, wherein G is a G point;
signature by a private key:
1. selecting a random number r, and calculating a point rG (x, y), wherein x and y are the x coordinate and the y coordinate of a point satisfying an elliptic curve;
2. calculating a digital signature s ═ h + kx)/r according to the random number r, the hash h of the message M and the private key k;
3. sending the message M and the signature { rG, s } to a receiver;
public key verification signature:
1. the receiver receives the message M, and the signature { rG ═ (x, y), s };
2. solving Hash h according to the message;
3. using the sender public key K to compute: hG/s + xK/s, and comparing with rG, if equal, the signature verification is successful;
the principle is as follows: hG/s + xK/s ═ hG/s + x (kg)/s ═ (h + xK) G/s ═ r (h + xK) G/(h + kx) ═ rG.
The CITA is used for realizing the bottom-layer chain of the block chain, and the BEF company + EVM virtual machine and the micro-service are used by default for realizing the contract function, so that the block chain has the properties of horizontal expansibility, component pluggable property, high performance and the like.
The invention adopts the intelligent accounting protocol, improves the multi-party benefit and participates in the benefit sharing; meanwhile, by utilizing the characteristic that the block chain can not be tampered, the trust problem in the asset transaction process is solved, the transaction risk is reduced, and the transaction efficiency is greatly improved.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.
Claims (2)
1. A block chain intelligent accounting system is characterized by comprising a business data module, a distributed shared account book module, a payment module and a business participation module;
the business data module, the distributed shared account book module, the payment module and the business participation module mutually transmit data;
the service data module comprises a service operation data unit and a service order unit;
the distributed account book sharing module comprises an instruction payment unit, an account book storage unit and an automatic account book dividing unit;
the business participation module comprises a data query unit and a cash withdrawal unit;
the business operation data unit is used for updating business operation progress information in real time and transmitting the business operation progress information to an account book storage unit in the distributed shared account book module in real time to store data; meanwhile, the information of the service operation progress is transmitted to a service participation module;
the business order unit is used for updating payment information from the payment module and transmitting the payment information to an account book storage unit in the distributed shared account book module in real time for data storage; meanwhile, the payment information is transmitted to the service participation module;
the payment module is used for receiving a payment instruction sent by an instruction payment unit in the distributed shared account book module and carrying out payment operation; meanwhile, the payment information is transmitted to a business order unit; triggering an automatic account distribution unit of the distributed shared account book module after payment is completed;
the instruction payment unit is used for sending a payment instruction to the payment module to carry out payment operation;
the account book storage unit is used for storing business operation progress information and payment information;
the automatic billing unit is used for completing automatic billing according to the payment information of the business order unit and the billing protocol model of the order and sending the billing information to the business participation module;
the data query unit is used for receiving the ledger information from the distributed shared ledger module, querying service information and querying the balance of the ledger;
and the cash withdrawal unit is used for withdrawing the balance of the account book to the bank card according to the provided bank card information.
2. The blockchain intelligent accounting system of claim 1, wherein the accounting protocol model uses an encryption algorithm based on elliptic curves, and the principle is as follows:
setting a private key and a public key as K and K respectively, namely K equals kG, wherein G is a G point;
public key encryption: selecting a random number r, and generating a ciphertext C from the message M, wherein the ciphertext is a point pair, namely: c ═ { rG, M + rK }, where K is the public key;
and (3) decryption of a private key: m + rK-K (rg) -M + r (kg) -K (rg) -M, where K and K are private and public keys, respectively;
based on the above principle, the encryption process is as follows:
setting a private key and a public key as K and K respectively, namely K equals kG, wherein G is a G point;
signature by a private key:
selecting a random number r, and calculating a point rG (x, y), wherein x and y are the x coordinate and the y coordinate of a point satisfying an elliptic curve;
calculating a digital signature s ═ h + kx)/r according to the random number r, the hash h of the message M and the private key k;
sending the message M and the signature { rG, s } to a receiver;
public key verification signature:
the receiver receives the message M, and the signature { rG ═ (x, y), s };
solving Hash h according to the message;
using the sender public key K to compute: hG/s + xK/s, and comparing with rG, if equal, the signature verification is successful; the principle is as follows: hG/s + xK/s ═ hG/s + x (kg)/s ═ (h + xK) G/s ═ r (h + xK) G/(h + kx) ═ rG.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010296597.4A CN111652613A (en) | 2020-04-15 | 2020-04-15 | Intelligent block chain account distribution system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010296597.4A CN111652613A (en) | 2020-04-15 | 2020-04-15 | Intelligent block chain account distribution system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111652613A true CN111652613A (en) | 2020-09-11 |
Family
ID=72346275
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010296597.4A Pending CN111652613A (en) | 2020-04-15 | 2020-04-15 | Intelligent block chain account distribution system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111652613A (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110046828A (en) * | 2019-04-23 | 2019-07-23 | 上海能链众合科技有限公司 | A kind of intelligence based on block chain divides account protocol system |
CN110457389A (en) * | 2019-07-12 | 2019-11-15 | 南京邮电大学 | A kind of underlay approach that block chain multichain data information is synchronous |
-
2020
- 2020-04-15 CN CN202010296597.4A patent/CN111652613A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110046828A (en) * | 2019-04-23 | 2019-07-23 | 上海能链众合科技有限公司 | A kind of intelligence based on block chain divides account protocol system |
CN110457389A (en) * | 2019-07-12 | 2019-11-15 | 南京邮电大学 | A kind of underlay approach that block chain multichain data information is synchronous |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Gamage et al. | A survey on blockchain technology concepts, applications, and issues | |
CN107464112B (en) | Transaction management method and system based on block chain | |
JP2022166214A (en) | System and method for controlling asset-related actions via blockchain | |
CN109903026A (en) | Event-handling method and device, electronic equipment based on block chain | |
KR20180115768A (en) | Encryption method and system for secure extraction of data from a block chain | |
CN110033363B (en) | Event processing method and device based on block chain and electronic equipment | |
CN109840767B (en) | Multi-party fair contract evidence storing method and system based on block chain technology | |
CN109903027A (en) | Event-handling method and device, electronic equipment based on block chain | |
US20200027169A1 (en) | Blockchain-enabled double entry recordkeeping system and method of implementing the same | |
CN108197214B (en) | Method and system for inquiring digital currency transaction information | |
TWI705691B (en) | Block chain-based event processing method and device, and electronic equipment | |
KR102409982B1 (en) | Operation method of blockchain currency remittance service system and electronic wallet for currency remittance | |
WO2021220062A1 (en) | Blockchain transaction | |
CN111507839A (en) | Data processing method and device based on block chain, storage medium and equipment | |
CN106296196A (en) | Digital cash transaction signature method and system and digital cash transaction system thereof | |
CN114900290A (en) | Data transaction model and privacy protection method based on block chain | |
WO2020199703A1 (en) | Method, device and system for blockchain transaction | |
CN109447807A (en) | The weak center's trust data management system and method for the total score double-strand of digital bank | |
Kamvar et al. | Celo: A multi-asset cryptographic protocol for decentralized social payments | |
CN113448694B (en) | Block chain consensus method for improving transaction processing capability | |
Bilal et al. | Blockchain technology: Opportunities & challenges | |
WO2018141141A1 (en) | Circulation method for binary system digital currency | |
WO2018141142A1 (en) | Operation system for binary system digital currency | |
CN112995167A (en) | Kafka mechanism-based power utilization information acquisition method, block chain network and user side | |
CN111652613A (en) | Intelligent block chain account distribution system |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200911 |
|
RJ01 | Rejection of invention patent application after publication |