CN113064949A - Data synchronous browsing method of block chain - Google Patents

Data synchronous browsing method of block chain Download PDF

Info

Publication number
CN113064949A
CN113064949A CN202011591584.6A CN202011591584A CN113064949A CN 113064949 A CN113064949 A CN 113064949A CN 202011591584 A CN202011591584 A CN 202011591584A CN 113064949 A CN113064949 A CN 113064949A
Authority
CN
China
Prior art keywords
data
block
block chain
transaction
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
CN202011591584.6A
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.)
Neng Lian Tech Ltd
Original Assignee
Neng Lian Tech 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 Neng Lian Tech Ltd filed Critical Neng Lian Tech Ltd
Priority to CN202011591584.6A priority Critical patent/CN113064949A/en
Publication of CN113064949A publication Critical patent/CN113064949A/en
Pending legal-status Critical Current

Links

Classifications

    • 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
    • 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
    • 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/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Databases & Information Systems (AREA)
  • Finance (AREA)
  • Accounting & Taxation (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Computational Linguistics (AREA)
  • Probability & Statistics with Applications (AREA)
  • Mathematical Physics (AREA)
  • Fuzzy Systems (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • General Business, Economics & Management (AREA)
  • Computing Systems (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention relates to a data synchronous browsing method of a block chain, which is used for realizing high concurrent retrieval requirements. The block chain data synchronous browsing method has the main functions that: the complex retrieval capability which cannot be realized by the block chain can be realized; high concurrent retrieval requirements can be realized; and the data centralized market retrieval and browsing in the enterprise alliance can be realized.

Description

Data synchronous browsing method of block chain
Technical Field
The invention belongs to the field of block chains, and particularly relates to a method for synchronously browsing data based on a block chain.
Background
In the block chain of the alliance chain, accounts of the block chain nodes of all enterprises are the same, and the part of data on the block chain is public inside the alliance enterprise (such as description information of commodities on e-commerce websites), any organization in the alliance can view the data. If some service requirement exists, the data needs to be frequently searched, the search needs to be executed on the block chain every time, the efficiency is low, on the premise, the data in the alliance block chain can be synchronized to a centralized system, and the centralized system with higher searching capability is used for supporting the frequent searching requirement. A data synchronous browsing method of a blockchain is a solution to this problem.
Disclosure of Invention
In order to overcome the defects of the prior art and solve the existing problems, the invention provides a data synchronous browsing method of a block chain, and the invention adopts the following technical scheme for achieving the purpose: a data synchronous browsing method of a block chain comprises the following steps: the method comprises the following steps: judging whether the requirement is a specific service scene requirement, if so, firstly acquiring all new blocks behind a certain block height from the block chain by using the data synchronous browsing method of the block chain; step two: then, extracting the data in the transaction in the blocks of all the new blocks one by one according to the height of the blocks, and analyzing the data in the transaction according to a service data format; step three: the analyzed data is written into a data mart database according to a set format, and the data mart database is a centralized database; step four: the data synchronous dispatching center triggers the block data synchronous service at regular time; step five: the block data query module receives a block data synchronization service; and querying the blockchain for blocky data; step six: the block data extraction module is used for extracting transaction data from the block data after inquiring and acquiring the block data from the block chain through the block data inquiry module; step seven: turning to the step two, analyzing the transaction data by the transaction data analysis module, and turning to the step ten; step eight: a data browser initiates a first data retrieval request to a data retrieval module as required; step ten: turning to the third step, converting the data into structured data and storing the structured data in a data mart database; step nine: the data retrieval module queries data meeting the conditions from the data mart database according to the first data retrieval request; step ten: and the data retrieval module returns the result data of the first retrieval to the interface of the data viewer.
Detailed Description
The technical solution of the present invention will be further described with reference to the following embodiments. The technical scheme of the invention is based on the block chain code and data multi-party safety calculation method, which comprises the following steps: judging whether the requirement is a specific service scene requirement, and firstly, acquiring all new blocks after a certain block height from a block chain by using a data synchronous browsing method of the block chain; then, extracting the data in the transaction in the blocks of all the new blocks one by one according to the height of the blocks, and analyzing the data in the transaction according to a service data format; the analyzed data is written into a data mart database according to a set format, and the data mart database is a centralized database; the data synchronous dispatching center triggers the block data synchronous service at regular time; the block data extraction module receives a block data synchronization service; and querying and obtaining the block data from the block chain; the block data extraction module is used for inquiring and acquiring block data from the block chain and extracting transaction data from the block data; the transaction data analysis module analyzes the transaction data, converts the data into structured data and stores the structured data in a data mart database; a data browser initiates a data retrieval request to a data retrieval module according to needs; the data retrieval module queries data meeting the conditions from the data mart database according to the data retrieval request; and the data retrieval module returns the retrieved result data to the interface of the data viewer. The data synchronous browsing method of the block chain is to synchronize the public data on the block chain to a centralized system, and high-efficiency high-frequency retrieval and browsing are realized in the centralized system. The block chain data synchronization technology firstly obtains all new blocks from a block chain after a certain block height, then extracts transaction data in the blocks one by one according to the block height, analyzes the data in transaction according to a service data format, and finally realizes the high-efficiency retrieval and browsing requirements of the data by using a centralized system. The block chain data synchronization technology can support the synchronization of data from a block chain at regular time, and can also synchronize the block data from the block chain through a specified block height. On the premise of a certain degree, the block chain data synchronous browsing method can be used for realizing high concurrent retrieval requirements. The block chain data synchronous browsing method has the main functions that: the complex retrieval capability which cannot be realized by the block chain can be realized; high concurrent retrieval requirements can be realized; and the data centralized market retrieval and browsing in the enterprise alliance can be realized.
The above description is only a preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Has the advantages that: the instruction set extension in the invention aims to provide a trusted execution environment of a user space by taking hardware safety as mandatory guarantee and not depending on the safety states of firmware and software, realize isolated operation among different programs by a group of new instruction set extension and access control mechanisms, and guarantee that the confidentiality and the integrity of key codes and data of a user are not damaged by malicious software.

Claims (1)

1. A method for synchronously browsing data of a block chain is characterized in that: comprises the following steps: the method comprises the following steps: judging whether the requirement is a specific service scene requirement, if so, firstly acquiring all new blocks behind a certain block height from the block chain by using the data synchronous browsing method of the block chain; step two: then, extracting the data in the transaction in the blocks of all the new blocks one by one according to the height of the blocks, and analyzing the data in the transaction according to a service data format; step three: writing the analyzed data into a data mart database according to a set format, wherein the data mart database is a centralized database; step four: the data synchronous dispatching center triggers the block data synchronous service at regular time; step five: the block data query module receives the block data synchronization service; and querying the blockchain for blocky data; step six: the block data extraction module is used for extracting transaction data from the block data after inquiring and acquiring the block data from the block chain through the block data inquiry module; step seven: turning to the step two, analyzing the transaction data by the transaction data analysis module, and turning to the step ten; step eight: a data browser initiates a first data retrieval request to a data retrieval module as required; step ten: turning to the third step, converting the data into structured data and storing the structured data in the data mart database; step nine: the data retrieval module queries data meeting conditions from the data mart database according to a first data retrieval request; step ten: and the data retrieval module returns the first retrieved result data to the interface of the data browser.
CN202011591584.6A 2020-12-29 2020-12-29 Data synchronous browsing method of block chain Pending CN113064949A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011591584.6A CN113064949A (en) 2020-12-29 2020-12-29 Data synchronous browsing method of block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011591584.6A CN113064949A (en) 2020-12-29 2020-12-29 Data synchronous browsing method of block chain

Publications (1)

Publication Number Publication Date
CN113064949A true CN113064949A (en) 2021-07-02

Family

ID=76558876

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011591584.6A Pending CN113064949A (en) 2020-12-29 2020-12-29 Data synchronous browsing method of block chain

Country Status (1)

Country Link
CN (1) CN113064949A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107943951A (en) * 2017-11-24 2018-04-20 中钞***产业发展有限公司杭州区块链技术研究院 A kind of search method and system of block chain business information
CN109086325A (en) * 2018-06-29 2018-12-25 阿里巴巴集团控股有限公司 Data processing method and device based on block chain
CN111078700A (en) * 2019-12-13 2020-04-28 山东众阳健康科技集团有限公司 Data synchronization method and system based on block chain

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107943951A (en) * 2017-11-24 2018-04-20 中钞***产业发展有限公司杭州区块链技术研究院 A kind of search method and system of block chain business information
CN109086325A (en) * 2018-06-29 2018-12-25 阿里巴巴集团控股有限公司 Data processing method and device based on block chain
CN111078700A (en) * 2019-12-13 2020-04-28 山东众阳健康科技集团有限公司 Data synchronization method and system based on block chain

Similar Documents

Publication Publication Date Title
WO2021218021A1 (en) Data-based blood relationship analysis method, apparatus, and device and computer-readable storage medium
TWI662426B (en) Method and device for distributed stream data processing
CN108256063B (en) Knowledge base construction method for network security
CN102184222B (en) Quick searching method in large data volume storage
US11275759B2 (en) Data storage method and apparatus, server, and storage medium
CN109558452B (en) Synchronization method for query table building operation
CN110879813A (en) Binary log analysis-based MySQL database increment synchronization implementation method
CN106021594A (en) Database table and XML message mapping processing method and system
CN102110123B (en) Method for establishing inverted index
CN111651519B (en) Data synchronization method, data synchronization device, electronic equipment and storage medium
CN102750151B (en) A kind of method and system realizing muliple keyboards and input simultaneously
CN111177244A (en) Data association analysis method for multiple heterogeneous databases
CN106469219A (en) A kind of method that embedded device configuration file synchronously compares
CN105447168A (en) Method for restoring and recombining fragmented files in MP4 format
CN112835918A (en) MySQL database increment synchronization implementation method
CN111782703A (en) Method and system for automatically managing and displaying incidence relation between irrigation area object data
CN113064949A (en) Data synchronous browsing method of block chain
CN110222121A (en) A kind of SQL Server database increment synchronization realization method and system based on CDC mode
Zhou et al. An ETL strategy for real-time data warehouse
CN101072252A (en) Method and device for identifying mobile phone number territoriality for mobile communication terminal
CN103425673A (en) Method and device for synchronously searching indexes on basis of Lucene
CN105653532A (en) Method for synchronizing heterogeneous database
CN113127496B (en) Method and device for determining change data in database, medium and equipment
CN105404646A (en) Dynamic data multi-database processing query system and method
CN110263028B (en) Full-scale synchronization method applied to search service

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 200120 building C3, No. 101 Eshan Road, China (Shanghai) pilot Free Trade Zone, Pudong New Area, Shanghai

Applicant after: Shanghai Lingshuzhonghe Information Technology Co.,Ltd.

Address before: 18ef, China Resources Times Plaza, 500 Zhangyang Road, Pudong New Area, Shanghai, 200120

Applicant before: NENG LIAN TECH. LTD.