WO2020224253A1 - 区块链信息推送方法、装置、计算机设备和存储介质 - Google Patents
区块链信息推送方法、装置、计算机设备和存储介质 Download PDFInfo
- Publication number
- WO2020224253A1 WO2020224253A1 PCT/CN2019/122488 CN2019122488W WO2020224253A1 WO 2020224253 A1 WO2020224253 A1 WO 2020224253A1 CN 2019122488 W CN2019122488 W CN 2019122488W WO 2020224253 A1 WO2020224253 A1 WO 2020224253A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- data
- information
- blockchain
- information table
- management system
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/23—Updating
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/951—Indexing; Web crawling techniques
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/04—Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/141—Setup of application sessions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/55—Push-based network services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1097—Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
Definitions
- This application relates to a blockchain information push method, device, computer equipment and storage medium.
- Blockchain is a new application mode of computer technology such as distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithm.
- the so-called consensus mechanism is a mathematical algorithm in the blockchain system to establish trust between different nodes and obtain rights and interests.
- Blockchain technology has the advantages of reliability, openness, and convenience. Blockchain technology is applied in more and more technologies and fields in the Internet.
- the blockchain management system In traditional blockchain technology, the blockchain management system is used for data management. Most management systems manage the underlying blockchain network nodes. The blockchain information that can be pushed to users (managers) is very Limited, unable to provide strong data support for users to understand the blockchain situation.
- a blockchain information push method is provided.
- a method for pushing blockchain information including:
- the data type includes blockchain information, block data, transaction data, node information, and Contract information;
- a block chain information push device including:
- connection module is used to send a database access request to the blockchain management system and establish a connection with the blockchain management system;
- the table reading module is used to read the preset block chain information table, block data table, transaction data table, node information table and contract information table;
- the update module is used to periodically generate a data capture instruction carrying the type of captured data, and update the captured data to the data table corresponding to the type.
- the data type includes block chain information, block data, transaction Data, node information and contract information;
- the push module is used to count the latest blockchain information table, block data table, transaction data table, node information table, and contract information table for multiple times according to different statistical periods, and push the statistical information.
- a computer device including a memory and one or more processors, the memory stores computer readable instructions, when the computer readable instructions are executed by the processor, the one or more processors execute The following steps:
- the data type includes blockchain information, block data, transaction data, node information, and Contract information;
- One or more non-volatile computer-readable storage media storing computer-readable instructions.
- the one or more processors execute the following steps:
- the data type includes blockchain information, block data, transaction data, node information, and Contract information;
- Fig. 1 is an application scenario diagram of a method for pushing blockchain information according to one or more embodiments.
- Fig. 2 is a schematic flowchart of a method for pushing blockchain information according to one or more embodiments.
- Fig. 3 is a schematic flowchart of a method for pushing blockchain information in another embodiment.
- Fig. 4 is a block diagram of a blockchain information pushing device according to one or more embodiments.
- Figure 5 is a block diagram of a computer device according to one or more embodiments.
- the blockchain information push method provided in this application can be applied to the application environment as shown in FIG. 1.
- the database server 102 communicates with the blockchain management server 104 and the terminal 106 through the network through the network.
- the database server 102 sends a database access request to the blockchain management server 104 to establish a connection with the blockchain management server 104.
- the database server 102 reads the preset blockchain information table, block data table, transaction data table, and node Information table and contract information table, periodically generate data capture instructions carrying the type of captured data, and update the captured data to the data table corresponding to the type. According to different statistical periods, count the latest blocks multiple times Information in the chain information table, block data table, transaction data table, node information table, and contract information table, and push the statistical information to the terminal 106.
- the terminal 106 can be, but is not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices.
- a method for pushing blockchain information is provided. Taking the method applied to the database server in FIG. 1 as an example, the method includes the following steps:
- S200 Send a database access request to the blockchain management system to establish a connection with the blockchain management system.
- the database server sends an access request to the blockchain management server, and waits for the access permission message fed back by the blockchain relationship system.
- the access request sent by the database server will carry its own identity, and the access permission message returned by the blockchain management system will carry the assigned access port.
- the database server sends an access request.
- the blockchain management system returns the data required for registration to the database server, and the database server responds to the required data Fill in and send it to the blockchain management system.
- the blockchain management system generates an access port based on the filled data, and sends the access port to the database server, which is connected to the blockchain management system through the access port.
- S400 Read the preset blockchain information table, block data table, transaction data table, node information table, and contract information table.
- Block chain information table, block data table, transaction data table, node information table, and contract information table are pre-built in the database server.
- Block data, transaction data, node information, and contract information and construct the corresponding data table so that the subsequent captured data is stored in the corresponding table to achieve accurate storage of various types of data and subsequent processing (such as statistics, push) operating.
- the block chain information table, block data table, transaction data table, node information table, and contract information table are stored in different areas. These storage areas are allocated with different storage spaces to update and store corresponding types of data. .
- S600 Periodically generate a data capture instruction carrying the type of captured data, and update the captured data to the data table corresponding to the type.
- the data type includes blockchain information, block data, transaction data, node information, and Contract information.
- the database server periodically creates data capture tasks.
- Each data capture task has a clear target type for the data to be captured. For example, create a data capture task to capture blockchain information, which specifies the block that needs to be captured currently Chain information, the captured data will be stored in the blockchain information table in the future.
- Another example is to create a data capture task that captures contract information. This task specifies the contract information that needs to be captured currently, and will capture The contract information data obtained is stored in the contract information table. It should be pointed out that for the captured data, no further analysis processing, decryption processing or format conversion processing is required.
- the captured data is ciphertext data
- the data in ciphertext form is directly written to the corresponding data. Table.
- S800 According to different statistical periods, count the latest block chain information table, block data table, transaction data table, node information table, and contract information table for multiple times, and push the statistical information.
- Different statistical periods include year, month, week, day, hour, minute, etc., which are stored in the database server for the blockchain information table, block data table, transaction data table, node information table, and contract information table.
- the data is counted by year, month, week, day, hour, and minute, and the statistical data is pushed to users.
- the changes in the blockchain, blocks, transactions, nodes and contracts at different time nodes are recorded according to time
- the sequential writing into the corresponding data table facilitates the subsequent push of data to the user in the time dimension, which brings convenience to the user.
- the above block chain information push method sends a database access request to the block chain management system to establish a connection with the block chain management system; reads the preset block chain information table, block data table, transaction data table, Node information table and contract information table; periodically generate data capture instructions that carry the type of captured data, and update the captured data to the data table corresponding to the type; according to different statistical periods, count the latest areas multiple times Information in the block chain information table, block data table, transaction data table, node information table, and contract information table, and push the statistical information.
- collect blockchain information including blockchain information, block data, transaction data, node information, and contract information, and use the corresponding table storage to ensure that the blockchain information is comprehensive and accurate collection and push to users Bring convenience.
- step S800 includes:
- S820 According to different statistical periods, count the latest block chain information table, block data table, transaction data table, node information table, and contract information table for multiple times.
- S860 Use real-time update method to push quantity information, and use visit feedback method to push detailed information.
- the statistical quantitative information refers to the statistical information related to the quantity, such as the number of blocks, the number of transaction entries, the number of active nodes, and the number of contract entries.
- the statistical information represents the current degree of activity and load of the blockchain, and its transmission This is the approximate operation of the entire blockchain. Generally speaking, its data volume is relatively small and it is convenient for users to receive and consult. Therefore, the real-time push method is adopted.
- the statistical detailed information refers to the statistical list information, such as the list of each transaction, the operation and connection status of each node, the detailed information of each contract, etc. The statistical detailed information characterizes the current blockchain operation details. Generally speaking, the amount of data is relatively large and needs to be pushed to users under appropriate or necessary conditions.
- the access feedback method means that the server pushes the detailed information to the user when the user actively accesses the server to request the detailed information.
- the server uses real-time display updates to push the statistical information to the user.
- the user browses the statistical information, he needs to learn more about the detailed information.
- the user sends an access request to the server.
- the access request carries some information.
- the server feeds back the detailed information corresponding to the information type carried in the access request.
- the access request carries the detailed information type as contract information, and the server will The detailed information of the contract is displayed to the user.
- the server collected A piece of transaction information within 1 minute, and the A piece of transaction information was updated and written to the transaction data table in the database.
- the server statistics transaction data information has A pieces, respectively
- the corresponding detailed information is a, b, c..., the server actively pushes the currently collected transaction information.
- the user browses this information, if he wants to know more about the transaction information, he can access the server.
- the detailed information corresponding to the A piece of transaction information is pushed to the user.
- periodically generating a data capture instruction carrying a type of captured data, and updating the captured data to a data table corresponding to the type includes: periodically generating a data capture carrying the type of captured data Fetch instructions; send data capture instructions to the blockchain management system; receive the captured data feedback from the blockchain management system; maintain the captured data format and encryption status, and update the captured data to the type The corresponding data sheet.
- the database server requests the blockchain management system to capture different types of data by generating and sending data capture instructions. After the blockchain management system responds to the data capture instructions, it will specify the types of data for the data capture instructions Grabbing is performed and the captured data is fed back to the database server.
- the database server sorts and stores the feedback data in the corresponding data table, and maintains the captured data format and encryption state during the storage process. For example, if the captured block data is ciphertext data, the data updated in the block table is also ciphertext data, and the data will not be decrypted.
- counting the information in the blockchain information table, block data table, transaction data table, node information table, and contract information table according to different time dimensions, and pushing the statistical information further includes:
- the visualization tool uses graphic display, block display or log display to display statistical information.
- visualization includes the use of graphic display, block display or log display.
- the content of the graphic display includes: display the connection or offline status of the blockchain status service; real-time display of the connection or offline status of each node in the blockchain; real-time display of the initiator and propagation process of the blockchain transaction; block display
- the content includes: the block stack displayed in a collapsible manner; the block content displayed in a tree form; the automatic layout of the network and off-network nodes; the content of the log display includes the number of automatically updated blocks, the number of transactions, etc.
- different visualization tools can be used for different visualization requirements.
- Visualization tools can be used to create dialog boxes or other interfaces to display variables or objects in a manner suitable for the data types of variables or objects.
- HTML HyperText Markup Language
- Hypertext Markup Language Hypertext Markup Language
- conventional visualization tools include text visualization tools, HTML visualization tools, and XML (Extensible Markup Language, Extensible Markup Language) visualization tool, WPF (Windows Presentation Foundation, Windows Presentation Foundation) tree visualization tool, and data set visualization tool.
- step S200 includes:
- S210 Send a database access request to the blockchain management system, where the database access request carries a database identity.
- S220 Fill in the data sheet required to receive the registration feedback from the blockchain management system.
- S230 Send the completed data sheet required for registration to the blockchain management system.
- S240 Receive the access port allocated by the blockchain management system.
- S250 Establish a connection with the blockchain management system according to the access port.
- the database server When the database requests access to the blockchain management system, it needs to be registered. When the registration is completed, it will access the blockchain management system according to the feedback access port of the blockchain management system. Specifically, the database server sends an access request to the blockchain management system, and the access request carries the identity tag of the database, and the blockchain management system queries whether the identity tag is in the whitelist according to the received identity tag When in, the blockchain management system recognizes that the database server is a legal and allowed access device, and sends the data form required for registration to the database server, and the database server fills in the relevant information of itself to the data form required for registration, and Send the completed data sheet for registration to the blockchain management system. The blockchain management system completes the registration of the database server, allocates access ports, and sends the access ports to the blockchain management system. The database server The access port establishes a connection with the blockchain management system.
- the table generation software before reading the preset block chain information table, block data table, transaction data table, node information table, and contract information table, it further includes: running the table generation software to generate the block chain information table , Block data table, transaction data table, node information table and contract information table; obtain the data volume ratio of block chain information, block data, transaction data, node information and contract information in the historical record per unit time; according to the data Allocate the storage space of the blockchain information table, block data table, transaction data table, node information table and contract information table; combine the blockchain information table, block data table, transaction data table, node information table and The contract information table is stored in a storage location that matches the storage space.
- the table generation software can be pre-loaded into the database server. When the table generation software is run, it generates 5 tables.
- the database server defines the 5 tables as blockchain information table, block data table, transaction data table, and node Information tables and contract information tables, and the database server allocates a reasonable storage space for the five tables according to the data size ratio of each type of information in the historical record, and then stores the five tables in a storage location matching the storage space.
- the table generation software is used to efficiently generate tables, and considering the difference in the amount of information between different types of information, the storage space corresponding to each type of information table is reasonably allocated, which is beneficial to the rational use of storage resources and brings convenience to users.
- the above-mentioned block chain information push method further includes: when a change in the state of the block chain is detected, creating temporary block chain information, block data, transaction data, node information, and contract information capture Task; store the temporarily captured data in the data table corresponding to the type.
- the database server analyzes the captured data, for example, compares with the last capture time point, and creates a temporary data capture task when the data fluctuates abnormally. Increase the frequency of data capture and track the operation of the blockchain more accurately.
- a block chain information push device the device includes:
- connection module 200 is used to send a database access request to the blockchain management system to establish a connection with the blockchain management system;
- the table reading module 400 is used to read the preset block chain information table, block data table, transaction data table, node information table and contract information table;
- the update module 600 is used to periodically generate a data capture instruction carrying the type of captured data, and update the captured data to the data table corresponding to the type.
- the data type includes blockchain information, block data, and transaction data. , Node information and contract information;
- the push module 800 is used to count the latest blockchain information table, block data table, transaction data table, node information table, and contract information table for multiple times according to different statistical periods, and push the statistical information.
- the connection module 200 sends a database access request to the block chain management system to establish a connection with the block chain management system;
- the table reading module 400 reads the preset block chain information table and zone Block data table, transaction data table, node information table, and contract information table;
- the update module 600 periodically generates a data capture instruction carrying the captured data type, and updates the captured data to the data table corresponding to the type;
- push The module 800 counts information in the latest block chain information table, block data table, transaction data table, node information table, and contract information table multiple times according to different statistical periods, and pushes the statistical information.
- collect blockchain information including blockchain information, block data, transaction data, node information, and contract information, and use the corresponding table storage to ensure that the blockchain information is comprehensive and accurate collection and push to users Bring convenience.
- the push module 800 is also used to count the latest blockchain information table, block data table, transaction data table, node information table, and contract information table for multiple times according to different statistical periods;
- the statistical information is divided into quantitative information and detailed information; the quantitative information is pushed in real-time update mode, and the detailed information is pushed in access feedback mode.
- the update module 600 is also used to periodically generate a data capture instruction carrying the type of captured data; send the data capture instruction to the blockchain management system; receive the capture feedback from the blockchain management system The captured data; keep the captured data format and encryption status, and update the captured data to the data table corresponding to the type.
- the above-mentioned block chain information pushing device also includes a visualization module, which is used to display the statistical information through a visualization tool in a graphic display, block display or log display mode.
- connection module 200 is also used to send a database access request to the blockchain management system, the database access request carries the database identity; to receive the feedback of the blockchain management system to fill in the data form required for registration; and send The completed registration needs to fill in the data sheet to the blockchain management system; receive the access port allocated by the blockchain management system; establish a connection with the blockchain management system according to the access port.
- the above-mentioned block chain information pushing device further includes a table generation module for running table generation software to generate a block chain information table, a block data table, a transaction data table, a node information table, and a contract information table ; Obtain the data volume ratio of block chain information, block data, transaction data, node information and contract information in the historical record per unit time; according to the data volume ratio, distribute the block chain information table, block data table, and transaction Data table, node information table, and contract information table storage space; store the blockchain information table, block data table, transaction data table, node information table, and contract information table to a storage location matching the storage space.
- a table generation module for running table generation software to generate a block chain information table, a block data table, a transaction data table, a node information table, and a contract information table ;
- the above-mentioned blockchain information pushing device further includes a detection module, which is used to create temporary blockchain information, block data, transaction data, and node information when the state of the blockchain is detected to change.
- a detection module which is used to create temporary blockchain information, block data, transaction data, and node information when the state of the blockchain is detected to change.
- contract information capture task the temporarily captured data is stored in the data table corresponding to the type.
- Each module in the above-mentioned blockchain information pushing device can be implemented in whole or in part by software, hardware, and a combination thereof.
- the foregoing modules may be embedded in the form of hardware or independent of the processor in the computer device, or may be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the foregoing modules.
- a computer device is provided.
- the computer device may be a server, and its internal structure diagram may be as shown in FIG. 5.
- the computer equipment includes a processor, a memory, a network interface and a database connected through a system bus. Among them, the processor of the computer device is used to provide calculation and control capabilities.
- the memory of the computer device includes a non-volatile storage medium and an internal memory.
- the non-volatile storage medium stores an operating system, a computer program, and a database.
- the internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium.
- the database of the computer equipment is used to store historical blockchain-related data.
- the network interface of the computer device is used to communicate with an external terminal through a network connection.
- the computer program is executed by the processor to realize a blockchain information push method.
- FIG. 5 is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied.
- the specific computer device may Including more or fewer parts than shown in the figure, or combining some parts, or having a different arrangement of parts.
- a computer device includes a memory and one or more processors.
- the memory stores computer-readable instructions.
- the one or more processors implement the methods provided in any of the embodiments of the present application.
- the steps of the blockchain information push.
- One or more non-volatile computer-readable storage media storing computer-readable instructions.
- the one or more processors implement any one of the embodiments of the present application. Provide the steps for pushing blockchain information.
- Non-volatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory.
- ROM read only memory
- PROM programmable ROM
- EPROM electrically programmable ROM
- EEPROM electrically erasable programmable ROM
- Volatile memory may include random access memory (RAM) or external cache memory.
- RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous chain Channel (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- General Physics & Mathematics (AREA)
- Business, Economics & Management (AREA)
- Physics & Mathematics (AREA)
- Finance (AREA)
- General Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Accounting & Taxation (AREA)
- Data Mining & Analysis (AREA)
- Development Economics (AREA)
- Economics (AREA)
- Marketing (AREA)
- Strategic Management (AREA)
- Technology Law (AREA)
- General Business, Economics & Management (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
Claims (20)
- 一种区块链信息推送方法,包括:发送数据库接入请求至区块链管理***,建立与区块链管理***的连接;读取预设的区块链信息表、区块数据表、交易数据表、节点信息表以及合约信息表;周期性生成携带有抓取数据类型的数据抓取指令,并将抓取到数据更新至类型对应的数据表中,所述数据类型包括区块链信息、区块数据、交易数据、节点信息以及合约信息;及根据不同的统计周期,多次统计最新的区块链信息表、区块数据表、交易数据表、节点信息表以及合约信息表中信息,并将统计后的信息推送。
- 根据权利要求1所述的方法,其特征在于,所述根据不同的统计周期,多次统计最新的区块链信息表、区块数据表、交易数据表、节点信息表以及合约信息表中信息,并将统计后的信息推送包括:根据不同的统计周期,多次统计最新的区块链信息表、区块数据表、交易数据表、节点信息表以及合约信息表中信息;将统计后的信息划分为数量信息和明细信息;及采用实时更新方式推送所述数量信息、并采用访问反馈方式推送所述明细信息。
- 根据权利要求1所述的方法,其特征在于,所述周期性生成携带有抓取数据类型的数据抓取指令,并将抓取到数据更新至类型对应的数据表中包括:周期性生成携带有抓取数据类型的数据抓取指令;将所述数据抓取指令发送至所述区块链管理***;接收所述区块链管理***反馈的抓取到的数据;及保持所述抓取到的数据格式以及加密状态,将所述抓取到的数据更新至类型对应的数据表中。
- 根据权利要求1所述的方法,其特征在于,将统计后的信息推送之后,还包括:通过可视化工具,采用图形显示、区块显示或日志显示方式显示统计后的信息。
- 根据权利要求1所述的方法,其特征在于,所述发送数据库接入请求至区块链管理***,建立与区块链管理***的连接包括:发送数据库接入请求至区块链管理***,所述数据库接入请求携带数据库身份标识;接收所述区块链管理***反馈的注册所需填写数据表;发送已填写的注册所需填写数据表至区块链管理***;接收区块链管理***分配的接入端口;及根据所述接入端口建立与区块链管理***的连接。
- 根据权利要求1所述的方法,其特征在于,所述读取预设的区块链信息表、区块数据表、交易数据表、节点信息表以及合约信息表之前,还包括:运行表格生成软件,生成区块链信息表、区块数据表、交易数据表、节点信息表以及 合约信息表;获取历史记录中单位时间内区块链信息、区块数据、交易数据、节点信息以及合约信息的数据量大小比例;根据所述数据量大小比例,分配区块链信息表、区块数据表、交易数据表、节点信息表以及合约信息表存储空间;及将所述区块链信息表、区块数据表、交易数据表、节点信息表以及合约信息表存储至与存储空间匹配的存储位置。
- 根据权利要求1所述的方法,其特征在于,还包括:当侦听到区块链状态发生变化时,创建临时区块链信息、区块数据、交易数据、节点信息以及合约信息抓取任务;及将临时抓取的数据分别存储至类型对应的数据表中。
- 根据权利要求1所述的方法,其特征在于,所述于读取预设的区块链信息表、区块数据表、交易数据表、节点信息表以及合约信息表之前,还包括:构建区块链信息表、区块数据表、交易数据表、节点信息表以及合约信息表;将所述区块链信息表、所述区块数据表、所述交易数据表、所述节点信息表以及所述合约信息表分别存储在不同存储区域。
- 根据权利要求1所述的方法,其特征在于,所述根据不同的统计周期,多次统计最新的区块链信息表、区块数据表、交易数据表、节点信息表以及合约信息表中信息,并将统计后的信息推送包括:根据年、月、周、日、时以及分的统计周期,分别统计最新的区块链信息表、区块数据表、交易数据表、节点信息表以及合约信息表中信息,得到不同时间维度下的区块链信息;推送所述同时间维度下的区块链信息。
- 一种区块链信息推送装置,包括:连接模块,用于发送数据库接入请求至区块链管理***,建立与区块链管理***的连接;表格读取模块,用于读取预设的区块链信息表、区块数据表、交易数据表、节点信息表以及合约信息表;更新模块,用于周期性生成携带有抓取数据类型的数据抓取指令,并将抓取到数据更新至类型对应的数据表中,所述数据类型包括区块链信息、区块数据、交易数据、节点信息以及合约信息;及推送模块,用于根据不同的统计周期,多次统计最新的区块链信息表、区块数据表、交易数据表、节点信息表以及合约信息表中信息,并将统计后的信息推送。
- 根据权利要求10所述的装置,其特征在于,所述推送模块还用于根据不同的统 计周期,多次统计最新的区块链信息表、区块数据表、交易数据表、节点信息表以及合约信息表中信息;将统计后的信息划分为数量信息和明细信息;及采用实时更新方式推送所述数量信息、并采用访问反馈方式推送所述明细信息。
- 根据权利要求10所述的装置,其特征在于,所述更新模块600还用于周期性生成携带有抓取数据类型的数据抓取指令;将所述数据抓取指令发送至所述区块链管理***;接收所述区块链管理***反馈的抓取到的数据;及保持所述抓取到的数据格式以及加密状态,将所述抓取到的数据更新至类型对应的数据表中。
- 根据权利要求10所述的装置,其特征在于,所述连接模块200还用于发送数据库接入请求至区块链管理***,所述数据库接入请求携带数据库身份标识;接收所述区块链管理***反馈的注册所需填写数据表;发送已填写的注册所需填写数据表至区块链管理***;接收区块链管理***分配的接入端口;及根据所述接入端口建立与区块链管理***的连接。
- 根据权利要求10所述的装置,其特征在于,还包括可视化模块,用于通过可视化工具,采用图形显示、区块显示或日志显示方式显示统计后的信息。
- 一种计算机设备,包括存储器及一个或多个处理器,所述存储器中储存有计算机可读指令,所述计算机可读指令被所述一个或多个处理器执行时,使得所述一个或多个处理器执行以下步骤:发送数据库接入请求至区块链管理***,建立与区块链管理***的连接;读取预设的区块链信息表、区块数据表、交易数据表、节点信息表以及合约信息表;周期性生成携带有抓取数据类型的数据抓取指令,并将抓取到数据更新至类型对应的数据表中,所述数据类型包括区块链信息、区块数据、交易数据、节点信息以及合约信息;及根据不同的统计周期,多次统计最新的区块链信息表、区块数据表、交易数据表、节点信息表以及合约信息表中信息,并将统计后的信息推送。
- 根据权利要求15所述的计算机设备,其特征在于,所述处理器执行所述计算机可读指令时还执行以下步骤:根据不同的统计周期,多次统计最新的区块链信息表、区块数据表、交易数据表、节点信息表以及合约信息表中信息;将统计后的信息划分为数量信息和明细信息;及采用实时更新方式推送所述数量信息、并采用访问反馈方式推送所述明细信息。
- 根据权利要求15所述的计算机设备,其特征在于,所述处理器执行所述计算机可读指令时还执行以下步骤:周期性生成携带有抓取数据类型的数据抓取指令;将所述数据抓取指令发送至所述区块链管理***;接收所述区块链管理***反馈的抓取到的数据;及保持所述抓取到的数据格式以及加密状态,将所述抓取到的数据更新至类型对应的数据表中。
- 一个或多个存储有计算机可读指令的非易失性计算机可读存储介质,所述计算机可读指令被一个或多个处理器执行时,使得所述一个或多个处理器执行以下步骤:发送数据库接入请求至区块链管理***,建立与区块链管理***的连接;读取预设的区块链信息表、区块数据表、交易数据表、节点信息表以及合约信息表;周期性生成携带有抓取数据类型的数据抓取指令,并将抓取到数据更新至类型对应的数据表中,所述数据类型包括区块链信息、区块数据、交易数据、节点信息以及合约信息;及根据不同的统计周期,多次统计最新的区块链信息表、区块数据表、交易数据表、节点信息表以及合约信息表中信息,并将统计后的信息推送。
- 根据权利要求18所述的存储介质,其特征在于,所述计算机可读指令被所述处理器执行时还执行以下步骤:根据不同的统计周期,多次统计最新的区块链信息表、区块数据表、交易数据表、节点信息表以及合约信息表中信息;将统计后的信息划分为数量信息和明细信息;及采用实时更新方式推送所述数量信息、并采用访问反馈方式推送所述明细信息。
- 根据权利要求18所述的存储介质,其特征在于,所述计算机可读指令被所述处理器执行时还执行以下步骤:周期性生成携带有抓取数据类型的数据抓取指令;将所述数据抓取指令发送至所述区块链管理***;接收所述区块链管理***反馈的抓取到的数据;及保持所述抓取到的数据格式以及加密状态,将所述抓取到的数据更新至类型对应的数据表中。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910374148.4 | 2019-05-07 | ||
CN201910374148.4A CN110266752B (zh) | 2019-05-07 | 2019-05-07 | 区块链信息推送方法、装置、计算机设备和存储介质 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2020224253A1 true WO2020224253A1 (zh) | 2020-11-12 |
Family
ID=67914245
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2019/122488 WO2020224253A1 (zh) | 2019-05-07 | 2019-12-02 | 区块链信息推送方法、装置、计算机设备和存储介质 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN110266752B (zh) |
WO (1) | WO2020224253A1 (zh) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112507028A (zh) * | 2020-12-18 | 2021-03-16 | 杭州趣链科技有限公司 | 数据存储方法、装置、设备和存储介质 |
CN113268546A (zh) * | 2021-06-15 | 2021-08-17 | 中国电子科技网络信息安全有限公司 | 一种区块链账本数据抓取解析方法 |
CN113961545A (zh) * | 2021-10-26 | 2022-01-21 | 北京市科学技术情报研究所 | 基于区块链的信息价值数据库构建方法 |
CN118211941A (zh) * | 2024-05-21 | 2024-06-18 | 江苏移动信息***集成有限公司 | 基于rpa的社区工单自动流转方法及*** |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110266752B (zh) * | 2019-05-07 | 2021-11-12 | 深圳壹账通智能科技有限公司 | 区块链信息推送方法、装置、计算机设备和存储介质 |
CN112395497B (zh) * | 2019-12-20 | 2024-05-14 | 浙江安厨大数据技术有限公司 | 一种基于区块链的相关信息推送*** |
CN111539005A (zh) * | 2020-04-23 | 2020-08-14 | 中国电子技术标准化研究院 | 一种面向数据安全策略的区块链数据识别方法和相关装置 |
CN111638963A (zh) * | 2020-06-08 | 2020-09-08 | 杭州复杂美科技有限公司 | 交易池动态控制方法、设备和存储介质 |
CN111932251A (zh) * | 2020-07-03 | 2020-11-13 | 杭州云象网络技术有限公司 | 一种基于区块链的数字货币交易可视化方法及*** |
CN112286984B (zh) * | 2020-09-29 | 2021-06-22 | 卓尔智联(武汉)研究院有限公司 | 区块数据处理方法、装置、计算机设备和存储介质 |
CN112487282A (zh) * | 2020-11-04 | 2021-03-12 | 山东中创软件商用中间件股份有限公司 | 一种业务处理情况监控方法、装置、电子设备及存储介质 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107358502A (zh) * | 2017-07-04 | 2017-11-17 | 深圳齐心集团股份有限公司 | 一种电子商务信息推送*** |
CN109145006A (zh) * | 2018-09-21 | 2019-01-04 | 深圳蜜獾智抄科技有限公司 | 一种集抄数据分析管理*** |
WO2019078622A1 (ko) * | 2017-10-17 | 2019-04-25 | 주식회사 코인플러그 | 블록체인 기반의 결제 방법 및 이를 이용한 지급 결제 서버 |
CN110266752A (zh) * | 2019-05-07 | 2019-09-20 | 深圳壹账通智能科技有限公司 | 区块链信息推送方法、装置、计算机设备和存储介质 |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11165589B2 (en) * | 2017-05-11 | 2021-11-02 | Shapeshift Ag | Trusted agent blockchain oracle |
CN109558411A (zh) * | 2017-09-26 | 2019-04-02 | 浙江华信区块链科技服务有限公司 | 一种基于区块链数据的下链同步方法及装置 |
CN108881362A (zh) * | 2018-01-03 | 2018-11-23 | 上海指旺信息科技有限公司 | 一种基于区块链的浏览器平台 |
CN108259594B (zh) * | 2018-01-11 | 2020-02-18 | 杭州秘猿科技有限公司 | 一种基于区块链的数据交互***以及中继服务器 |
CN108933819A (zh) * | 2018-06-26 | 2018-12-04 | 尹煦 | 一种基于区块链的信息推送方法 |
-
2019
- 2019-05-07 CN CN201910374148.4A patent/CN110266752B/zh active Active
- 2019-12-02 WO PCT/CN2019/122488 patent/WO2020224253A1/zh active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107358502A (zh) * | 2017-07-04 | 2017-11-17 | 深圳齐心集团股份有限公司 | 一种电子商务信息推送*** |
WO2019078622A1 (ko) * | 2017-10-17 | 2019-04-25 | 주식회사 코인플러그 | 블록체인 기반의 결제 방법 및 이를 이용한 지급 결제 서버 |
CN109145006A (zh) * | 2018-09-21 | 2019-01-04 | 深圳蜜獾智抄科技有限公司 | 一种集抄数据分析管理*** |
CN110266752A (zh) * | 2019-05-07 | 2019-09-20 | 深圳壹账通智能科技有限公司 | 区块链信息推送方法、装置、计算机设备和存储介质 |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112507028A (zh) * | 2020-12-18 | 2021-03-16 | 杭州趣链科技有限公司 | 数据存储方法、装置、设备和存储介质 |
CN113268546A (zh) * | 2021-06-15 | 2021-08-17 | 中国电子科技网络信息安全有限公司 | 一种区块链账本数据抓取解析方法 |
CN113961545A (zh) * | 2021-10-26 | 2022-01-21 | 北京市科学技术情报研究所 | 基于区块链的信息价值数据库构建方法 |
CN118211941A (zh) * | 2024-05-21 | 2024-06-18 | 江苏移动信息***集成有限公司 | 基于rpa的社区工单自动流转方法及*** |
Also Published As
Publication number | Publication date |
---|---|
CN110266752A (zh) | 2019-09-20 |
CN110266752B (zh) | 2021-11-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2020224253A1 (zh) | 区块链信息推送方法、装置、计算机设备和存储介质 | |
US8468352B2 (en) | Retrieving and using cloud based storage credentials | |
US10114682B2 (en) | Method and system for operating a data center by reducing an amount of data to be processed | |
WO2020232884A1 (zh) | 数据表迁移方法、装置、计算机设备和存储介质 | |
Mwilu et al. | Design science research contribution to business intelligence in the cloud—A systematic literature review | |
WO2021031688A1 (zh) | 业务参数采集方法、装置、计算机设备和存储介质 | |
US20110302212A1 (en) | Systems and methods for analyzing operations in a multi-tenant database system environment | |
CN109766253B (zh) | 一种性能数据发送方法、装置、计算机设备及存储介质 | |
WO2021073510A1 (zh) | 一种数据库的统计方法及装置 | |
WO2021036449A1 (zh) | 维度数据处理方法、装置、计算机设备和存储介质 | |
US20180150530A1 (en) | Method, Apparatus, Computing Device and Storage Medium for Analyzing and Processing Data | |
US20130347127A1 (en) | Database management by analyzing usage of database fields | |
US20230177527A1 (en) | Block chain system, and biological product monitoring method and device | |
CN111258565A (zh) | 小程序的生成方法、***、服务器及存储介质 | |
CN111400465B (zh) | 客服机器人的生成方法、装置、电子设备及介质 | |
US11620445B2 (en) | System and method for implementing an automatic data collection and presentation generator module | |
CN112199442A (zh) | 分布式批量下载文件方法、装置、计算机设备及存储介质 | |
CN112417016B (zh) | 一种数据交换方法、***、设备及存储介质 | |
WO2023155437A1 (zh) | 基于在线问诊的数据处理方法、装置和计算机设备 | |
CN115629940A (zh) | 一种微服务全链路追踪方法、装置、***及介质 | |
Rani et al. | Social data provenance framework based on zero-information loss graph database | |
CN113722007A (zh) | Vpn分支设备的配置方法、装置及*** | |
US20140143278A1 (en) | Application programming interface layers for analytical applications | |
US20190108139A1 (en) | Client-side persistent caching framework | |
CN114003414B (zh) | 业务回访处理方法、装置、计算机设备和存储介质 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 19928270 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 19928270 Country of ref document: EP Kind code of ref document: A1 |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 18/03/2022) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 19928270 Country of ref document: EP Kind code of ref document: A1 |