CN114205358A - Distributed accounting system and method based on block chain technology - Google Patents
Distributed accounting system and method based on block chain technology Download PDFInfo
- Publication number
- CN114205358A CN114205358A CN202111562035.0A CN202111562035A CN114205358A CN 114205358 A CN114205358 A CN 114205358A CN 202111562035 A CN202111562035 A CN 202111562035A CN 114205358 A CN114205358 A CN 114205358A
- Authority
- CN
- China
- Prior art keywords
- accounting
- application
- node
- module
- 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 35
- 230000002159 abnormal effect Effects 0.000 claims description 14
- 238000012986 modification Methods 0.000 claims description 3
- 230000004048 modification Effects 0.000 claims description 3
- 238000012550 audit Methods 0.000 claims 1
- 238000007726 management method Methods 0.000 claims 1
- 230000000694 effects Effects 0.000 abstract description 4
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/245—Query processing
- G06F16/2458—Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
- G06F16/2471—Distributed queries
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/083—Network architectures or network communication protocols for network security for authentication of entities using passwords
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1097—Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Fuzzy Systems (AREA)
- Computing Systems (AREA)
- Computer Security & Cryptography (AREA)
- Mathematical Physics (AREA)
- Probability & Statistics with Applications (AREA)
- Software Systems (AREA)
- Computational Linguistics (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses a distributed accounting system and a distributed accounting method based on a block chain technology, which comprise the steps that all accounting nodes and a management server are constructed into a block chain network, the accounting nodes comprise a first accounting node and a second accounting node, the first accounting node comprises an application store server, the second accounting node comprises a safety supervision server, account numbers and passwords are respectively configured for the first accounting node and the second accounting node, when accounting is carried out, the first accounting node firstly sends out an accounting request, then the accounting request is transmitted to a terminal through the block chain network, and after the terminal agrees to the accounting request, the authority of the first accounting node server is opened through the first accounting node. According to the distributed accounting system and method based on the block chain technology, the first accounting node and the second accounting node are arranged, so that the safety and the accuracy of accounting are improved, and the using effect of the distributed accounting system and method based on the block chain technology is further improved.
Description
Technical Field
The invention relates to the technical field of block chains, in particular to a distributed accounting system and method based on a block chain technology.
Background
Blockchains are a term of art in information technology. In essence, the system is a shared database, and the data or information stored in the shared database has the characteristics of 'unforgeability', 'whole-course trace', 'traceability', 'public transparency', 'collective maintenance', and the like.
The existing distributed accounting system and method based on the block chain technology directly record when accounting is performed, and do not have the function of distributed accounting, so that the using effect of the distributed accounting system and method based on the block chain technology is reduced, and therefore, a need for redesigning the distributed accounting system and method based on the block chain technology is urgent.
Disclosure of Invention
Based on the technical problems in the background art, the invention provides a distributed accounting system and method based on a block chain technology.
The invention provides a distributed accounting method based on a block chain technology, which comprises the following steps:
s1: constructing all accounting nodes and a management server into a blockchain network, wherein the accounting nodes comprise a first accounting node and a second accounting node, the first accounting node comprises an application store server, and the second accounting node comprises a safety supervision server;
s2: when the bookkeeping is carried out, firstly, the first bookkeeping node sends a bookkeeping request, then, the bookkeeping request is transmitted to the terminal through the block chain network, after the terminal agrees with the bookkeeping request, the right of the first bookkeeping node server is opened through the first bookkeeping node, and then, the first bookkeeping node logs in the first bookkeeping node server through the account and the password for bookkeeping;
s3: after each first accounting node is started, all the first accounting nodes except the first accounting node are automatically connected, and a shared accounting request sent by the first accounting node is sent to all the first accounting nodes except the first accounting node, and meanwhile, the first accounting node also processes the shared accounting requests sent by the other first accounting nodes and processes the shared accounting requests sent by the other first accounting nodes;
s4: the transaction information acquired by the first accounting node comprises: the method comprises the steps that the application name, the application version, the application abstract, the developer name, the release time, the application store name, the application release page link and the application download link information corresponding to the application released by a first accounting node are obtained; the transaction information acquired by the second accounting node comprises: the application name, violation reason, application abstract, release time, application store name, application release page link, application download link and modification result information corresponding to the violation application found by the second accounting node;
s5: when accounting information needs to be looked up, firstly, the ID of a first accounting node is determined, after the ID of the first accounting node is determined, the first accounting node needing to be checked is logged in through an account number and a password, accounting records are inquired, if the inquiry is abnormal, the first accounting node can be directly logged out, and if the inquiry is abnormal, an abnormal signal needs to be sent to a terminal for processing;
s6: and after the account checking is finished, all the data on the plurality of first accounting nodes are transmitted to the terminal and stored.
As a further technical solution of the present invention, the account and the password respectively provided by the first accounting node and the second accounting node in S2 are all added to the blockchain network.
As a further technical solution of the present invention, the account authentication is also sent while the shared accounting request is sent in S3, and the accounting data is shared with other first accounting nodes only after the authentication is successful, and the accounting data is not shared with other first accounting nodes if the authentication is unsuccessful.
As a further technical solution of the present invention, the first accounting node is further configured to construct an application distribution data structure in the blockchain ledger, where the application distribution data structure includes an application name, an application version, an application summary, a developer name, a release time, an application store name, an application release page link, application download link information, and transaction id information; the second accounting node is further configured to construct an application supervision data structure in the blockchain account book, where the application supervision data structure includes an application name, a violation reason, an application summary, a release time, an application store name, an application release page link, an application download link, and rectification result information.
The utility model provides a distributed accounting system based on block chain technique, includes block chain module and processing module, block chain module one end is connected with the account keeping module, the one end that the account keeping module keeps away from block chain module is connected with the checking account module, the one end that the account keeping module was kept away from to the checking account module is connected with processing module and storage module, the one end of keeping away from the checking account module at the processing end is connected in storage module, the one end that the account checking module was kept away from to storage module is connected with terminal module.
As a further technical solution of the present invention, the accounting module is configured to record data, the checking module is configured to check the data, the processing module is configured to process abnormal data, and the storage module is configured to store the data.
The beneficial effects of the invention are as follows:
1. the distributed accounting system and method based on the block chain technology can perform distributed accounting, improve the safety and accuracy of accounting through the arrangement of the first accounting node and the second accounting node, further improve the using effect of the distributed accounting system and method based on the block chain technology, process abnormal data after accounting checking, and store the accounted data through the storage module after processing.
Drawings
Fig. 1 is a system diagram of a distributed accounting system based on block chain technology according to the present invention;
fig. 2 is a flowchart of a distributed accounting method based on the block chain technology according to the present invention.
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, a distributed accounting method based on a block chain technology includes the following steps:
s1: constructing all accounting nodes and a management server into a blockchain network, wherein the accounting nodes comprise a first accounting node and a second accounting node, the first accounting node comprises an application store server, and the second accounting node comprises a safety supervision server;
s2: when the bookkeeping is carried out, firstly, the first bookkeeping node sends a bookkeeping request, then, the bookkeeping request is transmitted to the terminal through the block chain network, after the terminal agrees with the bookkeeping request, the right of the first bookkeeping node server is opened through the first bookkeeping node, and then, the first bookkeeping node logs in the first bookkeeping node server through the account and the password for bookkeeping;
s3: after each first accounting node is started, all the first accounting nodes except the first accounting node are automatically connected, and a shared accounting request sent by the first accounting node is sent to all the first accounting nodes except the first accounting node, and meanwhile, the first accounting node also processes the shared accounting requests sent by the other first accounting nodes and processes the shared accounting requests sent by the other first accounting nodes;
s4: the transaction information acquired by the first accounting node comprises: the method comprises the steps that the application name, the application version, the application abstract, the developer name, the release time, the application store name, the application release page link and the application download link information corresponding to the application released by a first accounting node are obtained; the transaction information acquired by the second accounting node comprises: the application name, violation reason, application abstract, release time, application store name, application release page link, application download link and modification result information corresponding to the violation application found by the second accounting node;
s5: when accounting information needs to be looked up, firstly, the ID of a first accounting node is determined, after the ID of the first accounting node is determined, the first accounting node needing to be checked is logged in through an account number and a password, accounting records are inquired, if the inquiry is abnormal, the first accounting node can be directly logged out, and if the inquiry is abnormal, an abnormal signal needs to be sent to a terminal for processing;
s6: and after the account checking is finished, all the data on the plurality of first accounting nodes are transmitted to the terminal and stored.
In the invention, the account and the password respectively configured by the first accounting node and the second accounting node in the step S2 are added into the block chain network.
In the invention, the account authentication is also sent while the shared accounting request is sent in S3, the accounting data is shared with other first accounting nodes after the authentication is successful, and the accounting data is not shared with other first accounting nodes if the authentication is unsuccessful.
In the invention, the first accounting node is also used for constructing an application distribution data structure in the block chain account book, wherein the application distribution data structure comprises an application name, an application version, an application abstract, a developer name, release time, an application store name, an application release page link, application download link information and transaction id information; the second accounting node is further used for constructing an application supervision data structure in the blockchain account book, wherein the application supervision data structure comprises an application name, violation reasons, an application abstract, release time, an application store name, an application release page link, an application download link and rectification result information.
The invention discloses a distributed accounting system based on a block chain technology, which comprises a block chain module and a processing module, wherein one end of the block chain module is connected with an accounting module, one end of the accounting module, which is far away from the block chain module, is connected with an accounting module, one end of the accounting module, which is far away from the accounting module, is connected with the processing module and a storage module, one end of a processing tail end, which is far away from the accounting module, is connected with the storage module, and one end of the storage module, which is far away from the accounting module, is connected with a terminal module.
According to the invention, the accounting module is used for recording data, the checking module is used for checking the data, the processing module is used for processing abnormal data, and the storage module is used for storing the data.
In the distributed accounting system and method based on the block chain technology, distributed accounting can be performed, the safety and the accuracy of accounting are improved through the arrangement of the first accounting node and the second accounting node, the using effect of the distributed accounting system and method based on the block chain technology is further improved, in addition, after the accounting is checked, abnormal data can be processed, and after the processing, the accounting data can be stored through the storage module.
The above description is only for the preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art should be considered to be within the technical scope of the present invention, and the technical solutions and the inventive concepts thereof according to the present invention should be equivalent or changed within the scope of the present invention.
Claims (6)
1. A distributed accounting method based on a block chain technology is characterized by comprising the following steps:
s1: constructing all accounting nodes and a management server into a blockchain network, wherein the accounting nodes comprise a first accounting node and a second accounting node, the first accounting node comprises an application store server, and the second accounting node comprises a safety supervision server;
s2: when the bookkeeping is carried out, firstly, the first bookkeeping node sends a bookkeeping request, then, the bookkeeping request is transmitted to the terminal through the block chain network, after the terminal agrees with the bookkeeping request, the right of the first bookkeeping node server is opened through the first bookkeeping node, and then, the first bookkeeping node logs in the first bookkeeping node server through the account and the password for bookkeeping;
s3: after each first accounting node is started, all the first accounting nodes except the first accounting node are automatically connected, and a shared accounting request sent by the first accounting node is sent to all the first accounting nodes except the first accounting node, and meanwhile, the first accounting node also processes the shared accounting requests sent by the other first accounting nodes and processes the shared accounting requests sent by the other first accounting nodes;
s4: the transaction information acquired by the first accounting node comprises: the method comprises the steps that the application name, the application version, the application abstract, the developer name, the release time, the application store name, the application release page link and the application download link information corresponding to the application released by a first accounting node are obtained; the transaction information acquired by the second accounting node comprises: the application name, violation reason, application abstract, release time, application store name, application release page link, application download link and modification result information corresponding to the violation application found by the second accounting node;
s5: when accounting information needs to be looked up, firstly, the ID of a first accounting node is determined, after the ID of the first accounting node is determined, the first accounting node needing to be checked is logged in through an account number and a password, accounting records are inquired, if the inquiry is abnormal, the first accounting node can be directly logged out, and if the inquiry is abnormal, an abnormal signal needs to be sent to a terminal for processing;
s6: and after the account checking is finished, all the data on the plurality of first accounting nodes are transmitted to the terminal and stored.
2. The distributed billing method based on blockchain technology of claim 1, wherein the account and the password respectively provided by the first billing node and the second billing node in S2 are both added to the blockchain network.
3. The distributed accounting method based on the block chain technology as claimed in claim 1, wherein the shared accounting request is sent in S3, and account authentication is also sent, and after authentication is successful, the accounting data is shared with other first accounting nodes, and if authentication is unsuccessful, the accounting data is not shared with other first accounting nodes.
4. The distributed accounting method based on the blockchain technology as claimed in claim 1, wherein the first accounting node is further configured to construct an application distribution data structure in the blockchain account book, wherein the application distribution data structure comprises an application name, an application version, an application summary, a developer name, a release time, an application store name, an application release page link, application download link information, and transaction id information; the second accounting node is further configured to construct an application supervision data structure in the blockchain account book, where the application supervision data structure includes an application name, a violation reason, an application summary, a release time, an application store name, an application release page link, an application download link, and rectification result information.
5. The utility model provides a distributed accounting system based on block chain technique, includes block chain module and processing module, its characterized in that, block chain module one end is connected with the account keeping module, the one end that the account keeping module kept away from the block chain module is connected with the checking module, the one end that the account keeping module was kept away from to the checking module is connected with processing module and storage module, the one end of keeping away from the checking module at the processing end is connected in storage module, the one end that the account checking module was kept away from to the storage module is connected with terminal module.
6. The distributed billing system based on blockchain technology of claim 5, wherein the billing module is configured to record data, the audit module is configured to check data, the processing module is configured to process abnormal data, and the storage module is configured to store data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111562035.0A CN114205358A (en) | 2021-12-20 | 2021-12-20 | Distributed accounting system and method based on block chain technology |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111562035.0A CN114205358A (en) | 2021-12-20 | 2021-12-20 | Distributed accounting system and method based on block chain technology |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114205358A true CN114205358A (en) | 2022-03-18 |
Family
ID=80655419
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111562035.0A Pending CN114205358A (en) | 2021-12-20 | 2021-12-20 | Distributed accounting system and method based on block chain technology |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114205358A (en) |
-
2021
- 2021-12-20 CN CN202111562035.0A patent/CN114205358A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108154047A (en) | A kind of data desensitization method and device | |
CN104504014B (en) | Data processing method and device based on big data platform | |
CN111240862A (en) | Universal interface platform and data conversion method | |
WO2022206439A1 (en) | Method and apparatus for providing cross-chain message | |
CN105096034A (en) | Realizing method for electronic government and electronic government system | |
CN110191097B (en) | Method, system, equipment and storage medium for detecting security of login page | |
CN111367982A (en) | Method and device for importing TRIRIGA basic data, computer equipment and storage medium | |
CN108038667B (en) | Policy generation method, device and equipment | |
CN112308542B (en) | Method and system for realizing intelligent and non-inductive data input | |
CN114205358A (en) | Distributed accounting system and method based on block chain technology | |
CN111737342A (en) | Government integrity archive management system based on block chain | |
CN111797142A (en) | Method and system for auditing data on link | |
CN112184531B (en) | Method and system for realizing intelligent and non-inductive pushing of office work | |
CN111010676B (en) | Short message caching method, device and system | |
CN113918405A (en) | Log monitoring method and device, electronic equipment and storage medium | |
CN110807037B (en) | Data modification method and device, electronic equipment and storage medium | |
CN109120411B (en) | Asset securitization basic asset data collection method and device | |
CN113221151A (en) | Data processing method and device based on block chain and storage medium | |
CN112862495A (en) | Transaction data risk control method and device, computer equipment and storage medium | |
CN112346888A (en) | Data communication method and device based on software application and server equipment | |
CN112950138B (en) | Collaborative development state management method, device and server | |
CN113205322A (en) | Audit result data sharing method and system based on block chain | |
CN116823495A (en) | Nuclear protection rule issuing method, issuing device and electronic equipment | |
CN114239024A (en) | Anti-counterfeiting verification method, device and equipment for digital currency and readable storage medium | |
CN117195199A (en) | User information integration method and related device |
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 | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20220318 |