CN111415235A - Method for generating distributed accounting right in block chain technology - Google Patents

Method for generating distributed accounting right in block chain technology Download PDF

Info

Publication number
CN111415235A
CN111415235A CN202010169490.3A CN202010169490A CN111415235A CN 111415235 A CN111415235 A CN 111415235A CN 202010169490 A CN202010169490 A CN 202010169490A CN 111415235 A CN111415235 A CN 111415235A
Authority
CN
China
Prior art keywords
data
node
accounting
block chain
module
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
Application number
CN202010169490.3A
Other languages
Chinese (zh)
Inventor
曾俊杰
杨志文
张志�
吴凯云
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xiamen Blockchain Cloud Technology Co ltd
Original Assignee
Xiamen Blockchain Cloud Technology Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Xiamen Blockchain Cloud Technology Co ltd filed Critical Xiamen Blockchain Cloud Technology Co ltd
Priority to CN202010169490.3A priority Critical patent/CN111415235A/en
Publication of CN111415235A publication Critical patent/CN111415235A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/12Accounting
    • G06Q40/125Finance or payroll
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2458Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
    • G06F16/2471Distributed queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor

Abstract

The invention discloses a method for generating distributed accounting rights in a block chain technology, which specifically comprises the following steps: s1, importing a data block chain, S2, configuring a node processing algorithm, S3, sending a retrieval request, S4, generating an accounting right node, and S5, and retrieving and processing accounting data, and relates to the technical field of block chain accounting. According to the method for generating the distributed accounting right in the block chain technology, the function of processing data of each node can be achieved by configuring the corresponding processing module in each accounting node, the purpose of shortening the data retrieval time by randomly promoting one node as a retrieval object to a plurality of nodes is well achieved, the data retrieval efficiency is greatly improved, the butt joint node is quickly locked by generating the accounting priority, the system is completed to process the data in the block chain, the key index of the block chain is realized, the fast-centering data is quickly searched, and the operation cost is saved.

Description

Method for generating distributed accounting right in block chain technology
Technical Field
The invention relates to the technical field of block chain accounting, in particular to a method for generating distributed accounting rights in a block chain technology.
Background
The words such as the ledger and the bookkeeping mentioned in the block chain are words unrelated to the bookkeeping. The account book which is traditionally understood by people is a two-position table, the expenses generated in a month in a year are recorded, if the accounts are more, the accounts can be disassembled, and the accounts of different classifications are put into a specific account book. In addition, a two-bit table can quickly find out an account through a time index or a classification index and the like, a block chain is formed by converting a row matrix and a column matrix of a traditional account book, each event is connected in an ending way and points to a previous block address to form a chain, the block chain cannot divide the account book through classification, all accounts are on one chain, and distributed accounting means that a data structure of the chain is stored on all block chain nodes to form a distributed cluster, although the block chain solves the distributed accounting, the distributed accounting has many disadvantages and specifically comprises the following defects:
1) the block chain cannot be indexed by keys, fast searching of fast data cannot be achieved, a centralized technology other than the block chain is required, such as a search engine and a database, for example, etherscan.
2) The block chain can only be searched in sequence, the centralized account book summary account only needs sum operation, and the block chain needs to be read backwards once from block number 0, so that the operation cost is high.
Disclosure of Invention
Technical problem to be solved
Aiming at the defects of the prior art, the invention provides a method for generating distributed accounting rights in a block chain technology, which solves the problems that the existing block chain cannot be indexed, cannot quickly search fast-centering data, needs a centralization technology except for the block chain, and can only be sequentially searched, and the operation cost is high.
(II) technical scheme
In order to achieve the purpose, the invention is realized by the following technical scheme: a method for generating distributed accounting rights in a block chain technology specifically comprises the following steps:
s1, data lead-in block chain: firstly, a user operates a remote user interaction terminal to interact with the whole block chain accounting system through a wireless communication module, a background processing module in the block chain accounting system stores accounting data in a storage unit of an external big database into each accounting data node of an accounting data block chain unit through the wireless communication module, and when the data is imported, the background processing module controls an accounting data queuing module to queue and sort the data first and then store the data into the nodes, so that a complete data block chain is formed;
s2, configuration of node processing algorithm: the accounting data block chain unit and the accounting data node processing unit are configured, and a data node processing module matched with the accounting data block chain unit is configured in each accounting data node, so that each node can finish independent data processing;
s3, sending search request: when data in the block chain needs to be retrieved, the background processing module controls a retrieval request sending module in the block chain data retrieval unit to send a retrieval request to the accounting right generating unit;
s4, generating accounting right nodes, namely after the accounting right generating unit receives the retrieval request instruction sent in the step S3, generating node identifications with the same number as the nodes by a block link point identification generating module in the accounting right generating unit, loading the generated node identifications on address names of corresponding nodes according to the node sequence, randomly promoting any node as a L reader node by a L reader node promotion algorithm processing module, modifying the promoted L reader node identification into a recognizable identification by a L reader node identification generating module, authenticating by an L reader node authority authentication module, and after the authentication is successful, completing the generation of the accounting right nodes;
and S5, performing retrieval processing of the accounting data, namely identifying the identifiable L eader node identifier generated in the step S4 by a L eader node identification module in the block chain data retrieval unit through an identification algorithm, performing matching processing, activating a processing algorithm in the L eader node after matching is successful, inputting the keyword data to be retrieved into the L eader node through a retrieval key data editing module, and exporting the retrieved corresponding data to the remote user interaction terminal through a retrieval data exporting module.
Preferably, in step S1, the remote user interaction terminal and the large database storage unit are both wirelessly and bidirectionally connected to the background processing module through the wireless communication module.
Preferably, the billing data block chain unit in step S2 is composed of N billing data nodes, and the billing data node processing unit is composed of N billing node processing modules, and one billing data node is configured in one-to-one correspondence with one billing node processing module.
Preferably, in step S3, the block chain data retrieving unit and the accounting right generating unit are both connected to the post-processing module in a bidirectional manner.
Preferably, the billing right generating unit in step S4 includes a block link point identifier generating module, a L reader node referral algorithm processing module, a L reader node identifier generating module, and a L reader node authority authentication module.
Preferably, the block chain data retrieving unit in step S5 includes a retrieving request sending module, a L reader node identifying module, a retrieving key data editing module, and a retrieving data exporting module.
(III) advantageous effects
S1, importing a block chain of data, wherein a user operates a remote user interaction terminal to interact with the whole block chain accounting system through a wireless communication module, a background processing module in the block chain accounting system stores accounting data in an external big data base storage unit into each accounting data node of an accounting data block chain unit through a wireless communication module, the background processing module controls an accounting data queuing module to queue and sort the data first and then store the data into a node when importing the data, thereby forming a complete data block chain, S2, configuration of a node processing algorithm, the data block chain unit and the accounting data node processing unit are configured, the data node processing module matched with the data block chain unit is configured in each identifiable data node, so that each node can finish independent data processing, S3, sending a retrieval request, when the data in the block chain needs to be generated, the accounting data is generated by a remote user interaction terminal through a wireless communication module, a retrieval key point identification is generated by a corresponding node in a corresponding node pushing module, a retrieval node editing module, a retrieval key point identification module generates a retrieval key point identification mark corresponding node mark of a node, a node mark corresponding node mark of a node in a retrieval node, a node pushing module, a node marking is generated by a node pushing module, a node marking a pointer, a pointer sending a pointer, a pointer indicating that a retrieval node marking is generated by a pointer indicating a node in a node pointer indicating a pointer indicating a pointer indicating a pointer indicating a pointer indicating a pointer indicating a pointer indicating a pointer, a.
Drawings
FIG. 1 is a flow chart of the present invention;
FIG. 2 is a schematic block diagram of the architecture of the system of the present invention;
FIG. 3 is a block diagram of a block chain data retrieval unit 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. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1-3, an embodiment of the present invention provides a technical solution: a method for generating distributed accounting rights in a block chain technology specifically comprises the following steps:
s1, data lead-in block chain: firstly, a user operates a remote user interaction terminal to interact with the whole block chain accounting system through a wireless communication module, a background processing module in the block chain accounting system stores accounting data in a storage unit of a peripheral big database into each accounting data node of the accounting data block chain unit through the wireless communication module, when data is imported, the background processing module controls an accounting data queuing module to queue and sort the data firstly and then store the data into the nodes to form a complete data block chain, and the remote user interaction terminal and the big database storage unit are in wireless bidirectional connection with the background processing module through the wireless communication module;
s2, configuration of node processing algorithm: the accounting data block chain unit and the accounting data node processing unit are configured, and a data node processing module matched with the accounting data block chain unit is configured in each accounting data node, so that each node can finish independent data processing;
s3, sending search request: when data in the block chain needs to be retrieved, the background processing module controls a retrieval request sending module in the block chain data retrieval unit to send a retrieval request to the accounting right generating unit, and the block chain data retrieval unit and the accounting right generating unit are in bidirectional connection with the post-processing module;
s4, generating accounting right nodes, namely after the accounting right generating unit receives the retrieval request instruction sent in the step S3, generating node identifications with the same number as the nodes by a block link point identification generating module in the accounting right generating unit, loading the generated node identifications on address names of corresponding nodes according to the node sequence, randomly promoting any node as a L reader node by a L reader node referral algorithm processing module, modifying the promoted L reader node identification into a recognizable identification by a L reader node identification generating module, authenticating by an L reader node authority authenticating module, and after the authentication is successful, generating the accounting right nodes, wherein the accounting right generating unit comprises a block link point identification generating module, a L reader node referral algorithm processing module, a L reader node identification generating module and an L reader node authority authenticating module;
and S5, performing retrieval processing of the accounting data, namely identifying the identifiable L eader node identifier generated in the step S4 by a L eader node identification module in a block chain data retrieval unit through an identification algorithm, performing matching processing, activating a processing algorithm in the L eader node after matching is successful, inputting the keyword data to be retrieved into the L eader node through a retrieval key data editing module, exporting the retrieved corresponding data to a remote user interaction terminal through a retrieval data exporting module, wherein the block chain data retrieval unit comprises a retrieval request sending module, an L eader node identification module, a retrieval key data editing module and a retrieval data exporting module.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus.
Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that changes, modifications, substitutions and alterations can be made in these embodiments without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.

Claims (6)

1. A method for generating distributed accounting right in block chain technology is characterized in that: the method specifically comprises the following steps:
s1, data lead-in block chain: firstly, a user operates a remote user interaction terminal to interact with the whole block chain accounting system through a wireless communication module, a background processing module in the block chain accounting system stores accounting data in a storage unit of an external big database into each accounting data node of an accounting data block chain unit through the wireless communication module, and when the data is imported, the background processing module controls an accounting data queuing module to queue and sort the data first and then store the data into the nodes, so that a complete data block chain is formed;
s2, configuration of node processing algorithm: the accounting data block chain unit and the accounting data node processing unit are configured, and a data node processing module matched with the accounting data block chain unit is configured in each accounting data node, so that each node can finish independent data processing;
s3, sending search request: when data in the block chain needs to be retrieved, the background processing module controls a retrieval request sending module in the block chain data retrieval unit to send a retrieval request to the accounting right generating unit;
s4, generating accounting right nodes, namely after the accounting right generating unit receives the retrieval request instruction sent in the step S3, generating node identifications with the same number as the nodes by a block link point identification generating module in the accounting right generating unit, loading the generated node identifications on address names of corresponding nodes according to the node sequence, randomly promoting any node as a L reader node by a L reader node promotion algorithm processing module, modifying the promoted L reader node identification into a recognizable identification by a L reader node identification generating module, authenticating by an L reader node authority authentication module, and after the authentication is successful, completing the generation of the accounting right nodes;
and S5, performing retrieval processing of the accounting data, namely identifying the identifiable L eader node identifier generated in the step S4 by a L eader node identification module in the block chain data retrieval unit through an identification algorithm, performing matching processing, activating a processing algorithm in the L eader node after matching is successful, inputting the keyword data to be retrieved into the L eader node through a retrieval key data editing module, and exporting the retrieved corresponding data to the remote user interaction terminal through a retrieval data exporting module.
2. The method of claim 1, wherein the step of generating distributed billing rights comprises: in the step S1, the remote user interaction terminal and the big database storage unit are both wirelessly and bidirectionally connected to the background processing module through the wireless communication module.
3. The method of claim 1, wherein the step of generating distributed billing rights comprises: the billing data block chain unit in step S2 is composed of N billing data nodes, and the billing data node processing unit is composed of N billing node processing modules, and one billing data node is configured in one-to-one correspondence with one billing node processing module.
4. The method of claim 1, wherein the step of generating distributed billing rights comprises: in step S3, both the block chain data retrieving unit and the accounting right generating unit are bidirectionally connected to the post-processing module.
5. The method of claim 1, wherein the billing right generation unit in step S4 comprises a block link point ID generation module, a L reader node referral algorithm processing module, a L reader node ID generation module and a L reader node authority authentication module.
6. The method for distributed billing right generation in blockchain technology as claimed in claim 1, wherein the blockchain data retrieving unit in step S5 comprises a retrieving request sending module, a L reader node identifying module, a retrieving key data editing module and a retrieving data deriving module.
CN202010169490.3A 2020-03-12 2020-03-12 Method for generating distributed accounting right in block chain technology Pending CN111415235A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010169490.3A CN111415235A (en) 2020-03-12 2020-03-12 Method for generating distributed accounting right in block chain technology

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010169490.3A CN111415235A (en) 2020-03-12 2020-03-12 Method for generating distributed accounting right in block chain technology

Publications (1)

Publication Number Publication Date
CN111415235A true CN111415235A (en) 2020-07-14

Family

ID=71494391

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010169490.3A Pending CN111415235A (en) 2020-03-12 2020-03-12 Method for generating distributed accounting right in block chain technology

Country Status (1)

Country Link
CN (1) CN111415235A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111737367A (en) * 2020-07-24 2020-10-02 国网区块链科技(北京)有限公司 Chain network fused distributed energy station information processing method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106850536A (en) * 2016-11-30 2017-06-13 北京瑞卓喜投科技发展有限公司 Block chain common recognition method and system
CN109255713A (en) * 2018-11-12 2019-01-22 裴若含 In a kind of block chain network in certain time period book keeping operation power acquisition methods
CN110022231A (en) * 2019-03-26 2019-07-16 广州供电局有限公司 Block chain common recognition election method
CN110348248A (en) * 2019-07-16 2019-10-18 山西智博睿星科技有限公司 Distributed book keeping operation power generation method in a kind of block chain technology
WO2019223681A1 (en) * 2018-05-22 2019-11-28 Digital Transaction Limited Blockchain-based transaction platform with enhanced scalability, testability and usability
GB2574828A (en) * 2018-06-19 2019-12-25 Setl Ltd Leader selection for permissioned blockchain

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106850536A (en) * 2016-11-30 2017-06-13 北京瑞卓喜投科技发展有限公司 Block chain common recognition method and system
WO2019223681A1 (en) * 2018-05-22 2019-11-28 Digital Transaction Limited Blockchain-based transaction platform with enhanced scalability, testability and usability
GB2574828A (en) * 2018-06-19 2019-12-25 Setl Ltd Leader selection for permissioned blockchain
CN109255713A (en) * 2018-11-12 2019-01-22 裴若含 In a kind of block chain network in certain time period book keeping operation power acquisition methods
CN110022231A (en) * 2019-03-26 2019-07-16 广州供电局有限公司 Block chain common recognition election method
CN110348248A (en) * 2019-07-16 2019-10-18 山西智博睿星科技有限公司 Distributed book keeping operation power generation method in a kind of block chain technology

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王日宏 等: "一种结合BLS签名的可拜占庭容错Raft算法" *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111737367A (en) * 2020-07-24 2020-10-02 国网区块链科技(北京)有限公司 Chain network fused distributed energy station information processing method and device

Similar Documents

Publication Publication Date Title
JP5753197B2 (en) System and method for aggregation and association of affiliation data and commercial data content
US9934233B2 (en) Searchable data archive
CN101330657B (en) Address list system and implementing method thereof
US20110167041A1 (en) Method and device for maintaining a changelog in data synchronization
JP2021536085A (en) Data processing methods, equipment, computer equipment, and computer programs
CN109634959B (en) Block indexing method and block indexing device
CN109086456B (en) Data indexing method and device
CN106649602B (en) Business object data processing method, device and server
CN109740129B (en) Report generation method, device and equipment based on blockchain and readable storage medium
CN102968430A (en) Method and apparatus for automatically generating and managing groups in address book
CN110659282A (en) Data route construction method and device, computer equipment and storage medium
CN106951935A (en) A kind of spare parts management method and system based on Quick Response Code
CN105989457A (en) Information query method and apparatus thereof
CN101963993B (en) Method for fast searching database sheet table record
CN111415235A (en) Method for generating distributed accounting right in block chain technology
CN108984626B (en) Data processing method and device and server
CN111339042B (en) Data operation processing method, system and scheduling server
CN112420172A (en) Medical image information management system
CN106570808A (en) Application information marking method of national identity card
CN110248354A (en) A kind of data processing method and its application based on dynamic configuration
CN113065323B (en) Method, device and equipment for importing contract template data and storage medium
US11074294B2 (en) System and method for Directed Acyclic Graph (DAG) encoding into hash linked blocks
CN110457332B (en) Information processing method and related equipment
CN114721582A (en) Information sharing method and device and related equipment
CN106658396A (en) Self-organizing method based on mobile terminal and device thereof

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
AD01 Patent right deemed abandoned
AD01 Patent right deemed abandoned

Effective date of abandoning: 20231103