CN111831750A - Block chain data analysis method and device, computer equipment and storage medium - Google Patents

Block chain data analysis method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN111831750A
CN111831750A CN202010655854.9A CN202010655854A CN111831750A CN 111831750 A CN111831750 A CN 111831750A CN 202010655854 A CN202010655854 A CN 202010655854A CN 111831750 A CN111831750 A CN 111831750A
Authority
CN
China
Prior art keywords
data
chain
target
blockchain
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
Application number
CN202010655854.9A
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.)
Eversec Beijing Technology Co Ltd
Original Assignee
Eversec Beijing 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 Eversec Beijing Technology Co Ltd filed Critical Eversec Beijing Technology Co Ltd
Priority to CN202010655854.9A priority Critical patent/CN111831750A/en
Publication of CN111831750A publication Critical patent/CN111831750A/en
Pending legal-status Critical Current

Links

Images

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/2462Approximate or statistical 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/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/24Querying
    • G06F16/248Presentation of query results
    • 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

Abstract

The embodiment of the invention discloses a block chain data analysis method, a block chain data analysis device, computer equipment and a storage medium, wherein the block chain data analysis method comprises the following steps: acquiring on-chain data of a target block chain; and integrating and outputting the data on the chain according to the data analysis requirement. The technical scheme of the embodiment of the invention can realize the analysis and the arrangement of the data on the block chain.

Description

Block chain data analysis method and device, computer equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of block chains, in particular to a block chain data analysis method and device, computer equipment and a storage medium.
Background
The blockchain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, a consensus mechanism and an encryption algorithm.
One typical application scenario of blockchain technology is trading, which mainly solves the trust and security problems of trading. In the node in the block chain system, a transaction request within a certain time or a certain number of transaction requests can be delivered to the node with the current accounting right, the accounting node processes the transaction request to form the ledger data, then the plurality of ledger data are packaged to form a block, and after the block passes the subsequent block verification, the uplink operation is performed on the block. Of course, the blockchain technique is not limited to processing transaction requests, and may also process other logical processing requests to form transaction data, which is packed into blocks.
The block chain has the advantages of decentralization, trust removal, non-tampering and the like, and the data security is high. However, in the prior art, there is no technical scheme for analyzing and sorting the on-chain data of the blockchain.
Disclosure of Invention
The embodiment of the invention provides a method and a device for analyzing block chain data, computer equipment and a storage medium, which are used for analyzing and sorting the data on a block chain.
In a first aspect, an embodiment of the present invention provides a method for analyzing block chain data, including:
acquiring on-chain data of a target block chain;
and integrating and outputting the data on the chain according to the data analysis requirement.
In a second aspect, an embodiment of the present invention further provides a device for analyzing block chain data, including:
the system comprises an on-chain data acquisition module, a link acquisition module and a link state acquisition module, wherein the on-chain data acquisition module is used for acquiring on-chain data of a target block link;
and the on-chain data output module is used for integrating and outputting the on-chain data according to the data analysis requirement.
In a third aspect, an embodiment of the present invention further provides a computer device, where the computer device includes:
one or more processors;
storage means for storing one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors implement the method for analyzing blockchain data according to any embodiment of the present invention.
In a fourth aspect, an embodiment of the present invention further provides a computer storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the block chain data analysis method provided in any embodiment of the present invention.
According to the embodiment of the invention, the on-chain data of the target block chain is acquired, and the acquired on-chain data is integrated and output according to the data analysis requirement, so that the on-chain data of the block chain is analyzed and sorted, and the data related contents such as the causal relationship, the internal relation, the business rule and the like of the on-chain data of the block chain are acquired, and the application value of the on-chain data of the block chain is improved.
Drawings
Fig. 1 is a flowchart of a method for analyzing block chain data according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a block chain data analysis system according to an embodiment of the present invention;
FIG. 3 is a logic flow diagram of an embodiment of the present invention for performing inline data processing;
fig. 4 is a schematic diagram of a block chain data analysis apparatus according to a second embodiment of the present invention;
fig. 5 is a schematic structural diagram of a computer device according to a third embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention.
It should be further noted that, for the convenience of description, only some but not all of the relevant aspects of the present invention are shown in the drawings. Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
Example one
Fig. 1 is a flowchart of a method for analyzing blockchain data according to an embodiment of the present invention, where the method is applicable to analyzing and sorting blockchain data, and the method can be executed by a device for analyzing blockchain data, where the device can be implemented by software and/or hardware, and can be generally integrated in a computer device. Accordingly, as shown in fig. 1, the method comprises the following operations:
and S110, acquiring the on-chain data of the target block chain.
The target blockchain may be any type of blockchain, among others. In an alternative embodiment of the invention, the target blockchain may include at least one of a public chain, a private chain, or a federation chain. The on-chain data may be data related to the target blockchain and may include, but is not limited to, node data, blockchain information data, and the like. The node data may include, but is not limited to, node information, project information, website information, APP (Application) information, DAPP (decentralized Application) information. The blockchain information data may include, but is not limited to, blockchain names, blockchain association information, and the like. The block related information may include, but is not limited to, a block height, a block hash value, block transaction data, and the like. In the embodiment of the present invention, optionally, the on-chain data may include, but is not limited to, at least one of a blockchain name, a blockheight, a blockhash value, and blocktransaction data. The data tags and keywords may be any type of data tags and keywords related in the block chain, for example, the data tags and keywords related in the block transaction information data, and the specific content of the data tags and keywords is not limited in the embodiments of the present invention.
In the embodiment of the present invention, before analyzing the block chain data of the target block chain, the on-chain data of the target block chain needs to be acquired first. In order to achieve substantial supervision and analysis of the blockchain data, at least one of the blockchain name, the height of the block, the hash value of the block, and the block transaction data may be optionally used as the data on the chain, rather than analyzing only the shallow data information on the node such as the node information or the project information.
In an optional embodiment of the present invention, the acquiring the on-chain data of the target block chain may include: acquiring the on-chain data sent by the target block chain node in the target block chain; wherein the target blockchain node is an original blockchain node or a deployed blockchain node of the target blockchain.
The original blockchain node may be a blockchain link point originally existing in the target blockchain, and the deployed blockchain node may be a node added to the target blockchain for the purpose of acquiring data on the target blockchain.
It will be appreciated that if the type of target blockchain is public, all data on the public chain is public transparent data, and a node can join the public chain as long as it can obtain authorization. Therefore, when the type of the target block chain is a public chain, the data on the chain can be acquired through an original block chain node in the public chain, or a deployment block chain node can be added into the public chain, so that the data on the chain can be acquired specially through the deployment block chain node. If the type of the target block chain is a private chain or a federation chain, all data on the private chain or the federation chain is private data. Therefore, if the data on the chain is acquired through the original blockchain node, it is necessary to ensure that the original blockchain node has the operation right, that is, the right to manage or participate in the private chain or the alliance chain. If the data on the chain is acquired through the deployment block chain node, the deployment block chain node must be ensured to be authorized by the private chain or the alliance chain, and can be added into the private chain or the alliance chain. It should be noted that, if the target blockchain node is a deployment blockchain node, the deployment blockchain node may not only obtain data on the chain, but also participate in a normal operation process of the blockchain, such as generating a block or verifying the block.
In an optional embodiment of the present invention, after the acquiring the on-chain data of the target block chain, the method may further include: performing data preprocessing on the data on the link to obtain preprocessed node data; the data preprocessing comprises data cleaning, data filtering and data conversion; storing the pre-processing node data in a target database.
The preprocessing node data may be data obtained by preprocessing data on the link. The target database may be any type of database.
In the embodiment of the present invention, in order to improve the analysis efficiency of the blockchain data and implement analysis of the blockchain data according to the service requirement, after the on-chain data is obtained, a data preprocessing operation may be performed on the on-chain data. For example, the data preprocessing may include, but is not limited to, preprocessing operations such as data cleansing, data filtering, and data transformation. Furthermore, the preprocessing node data can be stored in the target database so as to be uniformly integrated and output according to the data on the chain stored in the target database.
It should be noted that, if the number of target blockchains is multiple, a uniquely corresponding target database may be matched for each target blockchain. That is, different target databases may store the on-link data obtained after the data preprocessing of different target block chains in a unified manner.
And S120, integrating and outputting the data on the chain according to the data analysis requirement.
The data analysis requirements can be set according to specific business requirements. For example, the data analysis requirements may be: and screening key data in the data on the chain, wherein the key data can be data which is recognized by the business party to have key significance. Or, the data analysis requirement may also be: the method and the device for acquiring the service data and the like related to the specific service in the target block chain do not limit the specific content of the data analysis requirement.
Correspondingly, after the on-chain data of the target block chain is acquired, the on-chain data can be integrated and output according to the data analysis requirement.
Therefore, the data on the chain is integrated and output according to the required data analysis requirement, the data on the chain can be analyzed and processed according to the specific service requirement, the related contents of the causal relationship, the internal relation, the service rule and the like of the data on the chain of the block chain can be obtained, and the application value of the data on the chain of the block chain is improved.
In an optional embodiment of the present invention, the performing, according to a data analysis requirement, integrated output on the data on the chain may include: determining a data retrieval formula according to the data analysis requirement; retrieving the data on the chain according to the data retrieval formula to obtain the data on the retrieval chain; and displaying the data on the search chain according to the information display requirement.
The data retrieval formula can be used for retrieving data on the chain. The information display requirement is a display mode of data on the search chain set according to actual requirements.
Specifically, when integrating and outputting the data on the chain, the data retrieval formula can be determined according to the data analysis requirement. For example, if the data analysis requirement is to analyze business data in data on a chain, the data retrieval formula may be determined according to keywords or tags of the business data. After the data retrieval formula is determined, data retrieval can be carried out in a target database of the data on the storage chain according to the data retrieval formula, so that the data on the retrieval chain can be obtained. And after the data on the search chain is obtained, displaying the searched data on the search chain according to the information display requirement. For example, the data on the search chain may be presented in the form of "keyword + data on search chain".
In an optional embodiment of the present invention, the determining a data search formula according to the data analysis requirement may include: determining a tag repository; determining a target label and a target keyword according to the data analysis requirement and label data stored in the label storage library; and determining the data retrieval formula according to the target label and the target keyword.
The tag repository may be used to store tags for data, among other things. Optionally, the tag repository may be set according to the number of the target block chains, that is, one target block chain may be set to one tag repository correspondingly. Alternatively, only one tag repository may serve multiple target blockchains simultaneously. The target tags and target keywords may be used to screen for specific types of data in the data on the chain.
Specifically, when determining the data retrieval formula, the target tag and the target keyword required for retrieving data may be determined from the tag repository matched with the target block chain, so as to determine the data retrieval formula according to the target tag and the target keyword. The data searching type can search the data on the detailed chain corresponding to the character string.
In an optional embodiment of the present invention, the displaying data in the search chain according to an information display requirement may include: and displaying the data on the search chain and the matched label of the data on the search chain.
It should be noted that, in order to make the displayed data on the search chain more clear and intuitive, after the data on the search chain is obtained, when the data on the search chain is integrated and output, the data on the search chain and the label matched with the data on the search chain can be displayed at the same time, so that the user can inquire and check the data.
Fig. 2 is a schematic diagram of a block chain data analysis system according to an embodiment of the present invention. In a specific example, as shown in fig. 2, the blockchain data analysis system may include a data collection layer, a data preprocessing layer, a data storage layer, a data post-processing layer, and a business application layer. Taking the public chain as a target blockchain specification, the step of analyzing the blockchain data by the blockchain data analysis system may include the following operations:
step 1: and deploying the target block chain nodes, adding the target block chain nodes into the public chain, and acquiring the data on the public chain.
The process of acquiring the data on the link in the step 1 can also be completed in a mode that a data acquisition layer performs information detection on the public link global network node. The type of the public link may be ETH (ether house), BCH (bitcoin), LTH (link), XLM (sun coin), EOS (Enterprise Operation System, a block chain operating System designed for commercial distributed application), etc.
Step 2: and performing data preprocessing on the on-chain data through the data preprocessing layer to realize preprocessing on the acquired on-chain data before storage.
And step 3: and storing the preprocessed data on the chain in a data storage layer, and providing a target database corresponding to the target block chain. Different target databases may serve different types of target blockchains.
And 4, step 4: and searching the chained data according to a data searching mode through the chained data stored in the target database of the data post-processing layer, integrating the searched needed chained data, and outputting the integrated data to the service application layer.
And 5: after receiving the data on the chain output by the data post-processing layer, the service application layer can display the data on the chain with configured labels and keywords.
The on-chain data display module in the service application layer can support on-chain data display according to the label and the keyword. The tag management module can realize maintenance of tag data, support addition, modification, inquiry or deletion of tag data, and one tag can be configured with a plurality of keywords. The on-chain data statistical analysis module can realize statistics and analysis of on-chain data according to the labels and the keywords.
Fig. 3 is a logic flow diagram of an embodiment of a method for processing data. In a specific example, as shown in fig. 3, the data acquisition layer may specifically obtain the original on-chain data from the intelligent contract database of the target block chain. After the original on-chain data is acquired, initializing a tag storage library in the block chain data analysis system, and determining a target tag and a target keyword according to the tag storage library and data analysis requirements so as to determine a data retrieval formula according to the target tag and the target keyword. That is, different data retrieval modes can be customized according to specific service requirements, so as to realize quick and purposeful retrieval. And then, the target label can be analyzed, and the character string matching can be carried out on the target keyword, so that the retrieval process of the data on the chain is realized. And after the retrieval is finished, outputting and displaying the retrieved data on the chain.
According to the embodiment of the invention, the on-chain data of the target block chain is acquired, and the acquired on-chain data is integrated and output according to the data analysis requirement, so that the on-chain data of the block chain is analyzed and sorted, and the data related contents such as the causal relationship, the internal relation, the business rule and the like of the on-chain data of the block chain are acquired, and the application value of the on-chain data of the block chain is improved.
Example two
Fig. 4 is a schematic diagram of a block chain data analysis apparatus according to a second embodiment of the present invention, as shown in fig. 4, the apparatus includes: an on-chain data acquisition module 210 and an on-chain data output module 220, wherein:
an on-chain data obtaining module 210, configured to obtain on-chain data of a target block chain;
and the on-chain data output module 220 is configured to perform integrated output on the on-chain data according to a data analysis requirement.
According to the embodiment of the invention, the on-chain data of the target block chain is acquired, and the acquired on-chain data is integrated and output according to the data analysis requirement, so that the on-chain data of the block chain is analyzed and sorted, and the data related contents such as the causal relationship, the internal relation, the business rule and the like of the on-chain data of the block chain are acquired, and the application value of the on-chain data of the block chain is improved.
Optionally, the on-chain data obtaining module 210 is specifically configured to: acquiring the on-chain data sent by the target block chain node in the target block chain; wherein the target blockchain node is an original blockchain node or a deployed blockchain node of the target blockchain.
Optionally, the device for analyzing blockchain data further includes: the data preprocessing module is used for preprocessing the data on the link to obtain preprocessed node data; the data preprocessing comprises data cleaning, data filtering and data conversion; and the data storage module is used for storing the preprocessing node data in a target database.
Optionally, the on-chain data output module 220 is specifically configured to: determining a data retrieval formula according to the data analysis requirement; retrieving the data on the chain according to the data retrieval formula to obtain the data on the retrieval chain; and displaying the data on the search chain according to the information display requirement.
Optionally, the on-chain data output module 220 is specifically configured to: determining a tag repository; determining a target label and a target keyword according to the data analysis requirement and label data stored in the label storage library; and determining the data retrieval formula according to the target label and the target keyword.
Optionally, the on-chain data output module 220 is specifically configured to: and displaying the data on the search chain and the matched label of the data on the search chain.
Optionally, the target block chain includes at least one of a public chain, a private chain, or a federation chain; the on-chain data includes at least one of a blockchain name, a blockheight, a blockhash value, and blocktransaction data.
The block chain data analysis device can execute the block chain data analysis method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method. For the technical details that are not described in detail in this embodiment, reference may be made to the block chain data analysis method provided in any embodiment of the present invention.
Since the above-described blockchain data analysis device is a device capable of executing the blockchain data analysis method in the embodiment of the present invention, based on the blockchain data analysis method described in the embodiment of the present invention, a person skilled in the art can understand a specific implementation manner of the blockchain data analysis device in the embodiment of the present invention and various variations thereof, and therefore, a detailed description of how the blockchain data analysis device implements the blockchain data analysis method in the embodiment of the present invention is not given here. The device used by those skilled in the art to implement the method for analyzing blockchain data in the embodiments of the present invention is within the scope of the present application.
EXAMPLE III
Fig. 5 is a schematic structural diagram of a computer device according to a third embodiment of the present invention. FIG. 5 illustrates a block diagram of a computer device 312 suitable for use in implementing embodiments of the present invention. The computer device 312 shown in FIG. 5 is only an example and should not bring any limitations to the functionality or scope of use of embodiments of the present invention.
As shown in FIG. 5, computer device 312 is in the form of a general purpose computing device. The components of computer device 312 may include, but are not limited to: one or more processors 316, a storage device 328, and a bus 318 that couples the various system components including the storage device 328 and the processors 316.
Bus 318 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MCA) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Computer device 312 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by computer device 312 and includes both volatile and nonvolatile media, removable and non-removable media.
Storage 328 may include computer system readable media in the form of volatile Memory, such as Random Access Memory (RAM) 330 and/or cache Memory 332. The computer device 312 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 334 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 5, and commonly referred to as a "hard drive"). Although not shown in FIG. 5, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a Compact disk-Read Only Memory (CD-ROM), a Digital Video disk (DVD-ROM), or other optical media) may be provided. In these cases, each drive may be connected to bus 318 by one or more data media interfaces. Storage 328 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
Program 336 having a set (at least one) of program modules 326 may be stored, for example, in storage 328, such program modules 326 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which may comprise an implementation of a network environment, or some combination thereof. Program modules 326 generally carry out the functions and/or methodologies of embodiments of the invention as described herein.
The computer device 312 may also communicate with one or more external devices 314 (e.g., keyboard, pointing device, camera, display 324, etc.), with one or more devices that enable a user to interact with the computer device 312, and/or with any devices (e.g., network card, modem, etc.) that enable the computer device 312 to communicate with one or more other computing devices. Such communication may be through an Input/Output (I/O) interface 322. Also, computer device 312 may communicate with one or more networks (e.g., a Local Area Network (LAN), Wide Area Network (WAN), etc.) and/or a public Network, such as the internet, via Network adapter 320. As shown, network adapter 320 communicates with the other modules of computer device 312 via bus 318. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the computer device 312, including but not limited to: microcode, device drivers, Redundant processing units, external disk drive arrays, disk array (RAID) systems, tape drives, and data backup storage systems, to name a few.
The processor 316 executes programs stored in the storage device 328 to perform various functional applications and data processing, such as implementing the block chain data analysis method provided by the above-described embodiment of the present invention.
That is, the processing unit implements, when executing the program: acquiring on-chain data of a target block chain; and integrating and outputting the data on the chain according to the data analysis requirement.
Example four
An embodiment of the present invention further provides a computer storage medium storing a computer program, where the computer program is used to execute the method for analyzing blockchain data according to any of the above embodiments of the present invention when executed by a computer processor: acquiring on-chain data of a target block chain; and integrating and outputting the data on the chain according to the data analysis requirement.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a Read Only Memory (ROM), an Erasable Programmable Read Only Memory (EPROM) or flash Memory), an optical fiber, a portable compact disc Read Only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, Radio Frequency (RF), etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. A method for analyzing block chain data, comprising:
acquiring on-chain data of a target block chain;
and integrating and outputting the data on the chain according to the data analysis requirement.
2. The method of claim 1, wherein the obtaining on-chain data for a target block chain comprises:
acquiring the on-chain data sent by the target block chain node in the target block chain;
wherein the target blockchain node is an original blockchain node or a deployed blockchain node of the target blockchain.
3. The method of claim 1, further comprising, after the obtaining on-chain data for a target block chain:
performing data preprocessing on the data on the link to obtain preprocessed node data; the data preprocessing comprises data cleaning, data filtering and data conversion;
storing the pre-processing node data in a target database.
4. The method of claim 1, wherein the integrating and outputting the data on the chain according to the data analysis requirement comprises:
determining a data retrieval formula according to the data analysis requirement;
retrieving the data on the chain according to the data retrieval formula to obtain the data on the retrieval chain;
and displaying the data on the search chain according to the information display requirement.
5. The method of claim 4, wherein determining a data retrieval from the data analysis requirements comprises:
determining a tag repository;
determining a target label and a target keyword according to the data analysis requirement and label data stored in the label storage library;
and determining the data retrieval formula according to the target label and the target keyword.
6. The method of claim 4, wherein the displaying the data on the search chain according to the information display requirement comprises:
and displaying the data on the search chain and the matched label of the data on the search chain.
7. The method of claim 1, wherein the target blockchain comprises at least one of a public chain, a private chain, or a federation chain;
the on-chain data includes at least one of a blockchain name, a blockheight, a blockhash value, and blocktransaction data.
8. An apparatus for analyzing blockchain data, comprising:
the system comprises an on-chain data acquisition module, a link acquisition module and a link state acquisition module, wherein the on-chain data acquisition module is used for acquiring on-chain data of a target block link;
and the on-chain data output module is used for integrating and outputting the on-chain data according to the data analysis requirement.
9. A computer device, characterized in that the computer device comprises:
one or more processors;
storage means for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the blockchain data analysis method of any one of claims 1-7.
10. A computer storage medium having a computer program stored thereon, wherein the program, when executed by a processor, implements the method for blockchain data analysis according to any one of claims 1 to 7.
CN202010655854.9A 2020-07-09 2020-07-09 Block chain data analysis method and device, computer equipment and storage medium Pending CN111831750A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010655854.9A CN111831750A (en) 2020-07-09 2020-07-09 Block chain data analysis method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010655854.9A CN111831750A (en) 2020-07-09 2020-07-09 Block chain data analysis method and device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111831750A true CN111831750A (en) 2020-10-27

Family

ID=72900377

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010655854.9A Pending CN111831750A (en) 2020-07-09 2020-07-09 Block chain data analysis method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111831750A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112925847A (en) * 2021-02-22 2021-06-08 同济大学 Data processing and network analysis tool for block chain
CN113612766A (en) * 2021-07-30 2021-11-05 北京锐安科技有限公司 Data management device, method, computer equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106446235A (en) * 2016-10-10 2017-02-22 Tcl集团股份有限公司 Video searching method and device
CN108629697A (en) * 2018-03-30 2018-10-09 平安科技(深圳)有限公司 Insurance products configuration method, device, computer equipment and storage medium
CN109086325A (en) * 2018-06-29 2018-12-25 阿里巴巴集团控股有限公司 Data processing method and device based on block chain
CN110737824A (en) * 2018-07-03 2020-01-31 百度在线网络技术(北京)有限公司 Content query method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106446235A (en) * 2016-10-10 2017-02-22 Tcl集团股份有限公司 Video searching method and device
CN108629697A (en) * 2018-03-30 2018-10-09 平安科技(深圳)有限公司 Insurance products configuration method, device, computer equipment and storage medium
CN109086325A (en) * 2018-06-29 2018-12-25 阿里巴巴集团控股有限公司 Data processing method and device based on block chain
CN110737824A (en) * 2018-07-03 2020-01-31 百度在线网络技术(北京)有限公司 Content query method and device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112925847A (en) * 2021-02-22 2021-06-08 同济大学 Data processing and network analysis tool for block chain
CN113612766A (en) * 2021-07-30 2021-11-05 北京锐安科技有限公司 Data management device, method, computer equipment and storage medium
CN113612766B (en) * 2021-07-30 2023-04-28 北京锐安科技有限公司 Data management device, method, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
US20230126005A1 (en) Consistent filtering of machine learning data
US8151248B1 (en) Method and system for software defect management
US11100420B2 (en) Input processing for machine learning
CN111309760A (en) Data retrieval method, system, device and storage medium
CN110674360B (en) Tracing method and system for data
US10679230B2 (en) Associative memory-based project management system
US20080183518A1 (en) Method and system for analyzing patent flow
US20140215301A1 (en) Document template auto discovery
CA2793400C (en) Associative memory-based project management system
CN111831750A (en) Block chain data analysis method and device, computer equipment and storage medium
CN110688111A (en) Configuration method, device, server and storage medium of business process
US20140173422A1 (en) Document template auto discovery
CN111126422B (en) Method, device, equipment and medium for establishing industry model and determining industry
CN113434542B (en) Data relationship identification method and device, electronic equipment and storage medium
CN113962597A (en) Data analysis method and device, electronic equipment and storage medium
US8429182B2 (en) Populating a task directed community in a complex heterogeneous environment based on non-linear attributes of a paradigmatic cohort member
US9286349B2 (en) Dynamic search system
CN113127496B (en) Method and device for determining change data in database, medium and equipment
US20210165772A1 (en) Discovering and merging entity record fragments of a same entity across multiple entity stores for improved named entity disambiguation
CN112506490A (en) Interface generation method and device, electronic equipment and storage medium
CN112256566A (en) Test case preservation method and device
CN110750569A (en) Data extraction method, device, equipment and storage medium
CN114584616B (en) Message pushing method and device, electronic equipment and storage medium
US11500886B2 (en) Finding locations of tabular data across systems
CN116185393A (en) Method, device, equipment, medium and product for generating interface document

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