CN110266752A - Block chain information method for pushing, device, computer equipment and storage medium - Google Patents
Block chain information method for pushing, device, computer equipment and storage medium Download PDFInfo
- Publication number
- CN110266752A CN110266752A CN201910374148.4A CN201910374148A CN110266752A CN 110266752 A CN110266752 A CN 110266752A CN 201910374148 A CN201910374148 A CN 201910374148A CN 110266752 A CN110266752 A CN 110266752A
- Authority
- CN
- China
- Prior art keywords
- data
- block chain
- information
- block
- management system
- 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.)
- Granted
Links
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]
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
This application involves block chain technical field, it is applied to block chain management industry, provides a kind of block chain information method for pushing, device, computer equipment and storage medium, wherein method includes the connection established with block chain management system;Read preset block chain information table, block data table, transaction data table, informational table of nodes and contract information table;The data grabber instruction for carrying crawl data type is periodically generated, and data will be grabbed and be updated in the corresponding tables of data of type;According to information in the different newest block chain information tables of time dimension statistics, block data table, transaction data table, informational table of nodes and contract information table, and the information after statistics is pushed.In whole process, the block chain information including block chain information, block data, transaction data, nodal information and contract information is acquired, and store using corresponding table, it is ensured that block chain information acquires comprehensively and accurately and push, brings advantage to the user.
Description
Technical field
This application involves block chain technical fields, more particularly to a kind of block chain information method for pushing, device, computer
Equipment and storage medium.
Background technique
Block chain is the novel of the computer technologies such as Distributed Storage, point-to-point transmission, common recognition mechanism, Encryption Algorithm
Application model.So-called common recognition mechanism is that the mathematics calculation established between different nodes and trust, obtain equity is realized in block catenary system
Method.
More and more people pay close attention to block chain technology at present, and block chain technology has the advantages such as reliable, open, convenient,
More and more technologies and field all application block chain technologies in internet.
In traditional block chain technology, the management of data is carried out using block chain management system, most of management systems are all
Carry out bottom block chain network node management, can push be given to user (manager) block chain information it is very limited,
Block chain situation can not be understood for user, and strong data support is provided.
Summary of the invention
Based on this, it is necessary in view of the above technical problems, provide a kind of block chain information push comprehensive block chain information
Method for pushing, device, computer equipment and storage medium.
A kind of block chain information method for pushing, which comprises
Database access request is sent to block chain management system, establishes the connection with block chain management system;
Read preset block chain information table, block data table, transaction data table, informational table of nodes and contract information
Table;
The data grabber instruction for carrying crawl data type is periodically generated, and data will be grabbed and be updated to type pair
In the tables of data answered, the data type includes block chain information, block data, transaction data, nodal information and contract letter
Breath;
According to different measurement periods, repeatedly count newest block chain information table, block data table, transaction data table,
Information in informational table of nodes and contract information table, and the information after statistics is pushed.
It is described according to different measurement periods in one of the embodiments, repeatedly count newest block chain information table,
Information in block data table, transaction data table, informational table of nodes and contract information table, and the information after statistics is pushed into packet
It includes:
According to different measurement periods, repeatedly count newest block chain information table, block data table, transaction data table,
Information in informational table of nodes and contract information table;
Information after statistics is divided into quantity information and managing detailed catalogue;
The quantity information is pushed using real-time update mode and the managing detailed catalogue is pushed using access feedback system.
Described periodically generate carries the data grabber instruction for grabbing data type in one of the embodiments, and
Data will be grabbed and be updated in the corresponding tables of data of type and include:
Periodically generate the data grabber instruction for carrying crawl data type;
Data grabber instruction is sent to the block chain management system;
Receive the data of the block chain management system feedback grabbed;
It is corresponding to be updated to type by the data format and encrypted state grabbed described in holding for the data grabbed
Tables of data in.
It in one of the embodiments, will be after the information push after statistics, further includes:
By visualization tool, is shown using graphical display, block or journal displaying mode shows the information after counting.
In one embodiment, the transmission database access request is established and block chain to block chain management system
The connection of management system includes:
Database access request is sent to block chain management system, the database access request carries database identity mark
Know;
It receives and fills in tables of data needed for the registration of the block chain management system feedback;
It sends and fills in tables of data to block chain management system needed for the registration filled in;
Receive the access interface of block chain management system distribution;
The connection with block chain management system is established according to the access interface.
In one of the embodiments, it is described read preset block chain information table, block data table, transaction data table,
Before informational table of nodes and contract information table, further includes:
Run table generate software, generate block chain information table, block data table, transaction data table, informational table of nodes with
And contract information table;
Obtain unit time intra block chain information, block data, transaction data, nodal information and contract in historical record
The data volume size of information;
According to the data volume size, block chain information table, block data table, transaction data table, node letter are distributed
Cease table and contract information table memory space;
The block chain information table, block data table, transaction data table, informational table of nodes and contract information table are stored
To with the matched storage location of memory space.
Block chain information method for pushing in one of the embodiments, further include:
When listening to block chain state and changing, interim block chain information, block data, transaction data, section are created
Point information and contract information grab task;
The data temporarily grabbed are stored respectively into the corresponding tables of data of type.
A kind of block chain information driving means, described device include:
Link block is established and block chain management system for sending database access request to block chain management system
Connection;
Table read module, for reading preset block chain information table, block data table, transaction data table, node letter
Cease table and contract information table;
Update module for periodically generating the data grabber instruction for carrying crawl data type, and will grab number
According to being updated in the corresponding tables of data of type, the data type includes block chain information, block data, transaction data, node
Information and contract information;
Pushing module, for according to different measurement periods, repeatedly counting newest block chain information table, block data
Information in table, transaction data table, informational table of nodes and contract information table, and the information after statistics is pushed.
A kind of computer equipment, including memory and processor, the memory are stored with computer program, the processing
Device is realized when executing the computer program such as the step of the above method.
A kind of computer readable storage medium, is stored thereon with computer program, and the computer program is held by processor
It realizes when row such as the step of above-mentioned method.
Above-mentioned block chain information method for pushing, device, computer equipment and storage medium send database access request extremely
Block chain management system establishes the connection with block chain management system;Read preset block chain information table, block data table,
Transaction data table, informational table of nodes and contract information table;Periodically generate carry crawl data type data grabber refer to
It enables, and data will be grabbed and be updated in the corresponding tables of data of type;According to different measurement periods, newest area is repeatedly counted
Information in block chain information table, block data table, transaction data table, informational table of nodes and contract information table, and will be after statistics
Information push.In whole process, acquisition includes block chain information, block data, transaction data, nodal information and contract information
Block chain information, and stored using corresponding table, it is ensured that block chain information comprehensively and accurate acquisition and push, to user with
To facilitate.
Detailed description of the invention
Fig. 1 is the applied environment figure of block chain information method for pushing in one embodiment;
Fig. 2 is the flow diagram of block chain information method for pushing in one embodiment;
Fig. 3 is the flow diagram of block chain information method for pushing in another embodiment;
Fig. 4 is the structural block diagram of block chain information driving means in one embodiment;
Fig. 5 is the internal structure chart of computer equipment in one embodiment.
Specific embodiment
It is with reference to the accompanying drawings and embodiments, right in order to which the objects, technical solutions and advantages of the application are more clearly understood
The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, not
For limiting the application.
Block chain information method for pushing provided by the present application, can be applied in application environment as shown in Figure 1.Wherein,
Database server 102 is communicated with block chain management server 104 and terminal 106 by network by network.Data
Library server 102 sends database access request to block chain management server 104, establishes and block chain management server 104
Connection, database server 102 read preset block chain information table, block data table, transaction data table, informational table of nodes with
And contract information table, the data grabber instruction for carrying crawl data type is periodically generated, and data will be grabbed and be updated to
In the corresponding tables of data of type, according to different measurement periods, repeatedly count newest block chain information table, block data table,
Information in transaction data table, informational table of nodes and contract information table, and the information after statistics is pushed into terminal 106.Wherein,
Terminal 106, which can be, but not limited to, to be various personal computers, laptop, smart phone, tablet computer and portable wears
Wear equipment.
In one embodiment, as shown in Fig. 2, providing a kind of block chain information method for pushing, it is applied in this way
It is illustrated for database server in Fig. 1, comprising the following steps:
S200: database access request is sent to block chain management system, establishes the connection with block chain management system.
An independent database server is constructed in block chain management system side, which sends access and ask
It asks to block chain management server, wait block chain relation system feedback allows access message, disappears when receiving to allow to access
When breath, the connection with block chain management system is established.Own identification can be carried in the access request that database server is sent
Mark, what block chain management system returned allows to access the access interface etc. that can carry distribution in message.Specifically, data
It needs repeatedly to be interacted between library server and block chain management system, database server sends access request, block chain
It is filled out needed for management system passback registration and writes data to database server, database server fills in required data of filling in
It is sent to block chain management system, block chain management system generates access interface according to the data filled in, and sends access interface extremely
Database server, database server are connect by access interface with block chain management system.
S400: preset block chain information table, block data table, transaction data table, informational table of nodes and contract are read
Information table.
It is built with block chain information table, block data table, transaction data table, nodal information in advance in database server
Table and contract information table, also pay close attention to transaction data and contract information data herein, for block chain information,
Block data, transaction data, nodal information and contract information construct corresponding tables of data, so as to the subsequent data grabbed
It stores into corresponding table, realizes the accurate storage of all types of data and the operation of subsequent processing (such as statistics, push).
Non-essential, block chain information table, block data table, transaction data table, informational table of nodes and contract information table store respectively
In different zones, the delineating of these storage regions has different memory spaces, so that corresponding types data update and store.
S600: the data grabber instruction for carrying crawl data type is periodically generated, and data will be grabbed and be updated to
In the corresponding tables of data of type, data type includes block chain information, block data, transaction data, nodal information and contract
Information.
The database server period creates data grabber task, and each data grabber task needs to be grabbed defining for data
Target type, such as the data grabber task of one crawl block chain information of creation, the specified area for currently needing to grab of the task
Block chain information, the data grabbed store into block chain information table in rear extended meeting, for another example create a crawl contract information
Data grabber task, it is contract information that the task is specified current, which to be needed to grab, and the contract information data grabbed are stored
Into contract information table.It should be pointed out that further dissection process, decryption processing can not be done for the data grabbed
Or directly the data of ciphertext form are written to corresponding data when the data of crawl are ciphertext data for format conversion processing
In table.
S800: according to different measurement periods, newest block chain information table, block data table, number of deals are repeatedly counted
It is pushed according to information in table, informational table of nodes and contract information table, and by the information after statistics.
Different measurement periods include year, the moon, week, day, when, point etc., i.e., for being directed to block in database server needle
Chain information table, block data table, transaction data table, informational table of nodes and the stored data of contract information table, are adopted respectively
With year, the moon, week, day, when, a point mode counted, and by the data-pushing after statistics to user.Herein, using difference
Measurement period, multiple statistical data, the statistical data of available different time dimension, when being recorded in different in statistic processes
The situation of change of block chain, block, transaction, node and contract, is written sequentially in time into corresponding data table under intermediate node,
Be conducive to subsequent according to time dimension propelling data to user, bring advantage to the user.
Above-mentioned block chain information method for pushing sends database access request to block chain management system, foundation and block
The connection of chain management system;Read preset block chain information table, block data table, transaction data table, informational table of nodes and
Contract information table;The data grabber instruction for carrying crawl data type is periodically generated, and data will be grabbed and be updated to class
In the corresponding tables of data of type;According to different measurement periods, repeatedly counts newest block chain information table, block data table, hands over
Information in easy tables of data, informational table of nodes and contract information table, and the information after statistics is pushed.In whole process, acquisition
Block chain information including block chain information, block data, transaction data, nodal information and contract information, and using correspondence
Table storage, it is ensured that block chain information comprehensively and accurate acquisition and push, brings advantage to the user.
As shown in figure 3, step S800 includes: in one of the embodiments,
S820: according to different measurement periods, newest block chain information table, block data table, number of deals are repeatedly counted
According to information in table, informational table of nodes and contract information table.
S840: the information after statistics is divided into quantity information and managing detailed catalogue.
S860: quantity information is pushed using real-time update mode and using access feedback system push managing detailed catalogue.
The quantity information of statistics, which refers to, comes out information relevant to quantity, for example, number of blocks, transaction entries quantity,
Activate number of nodes, contract number of entries, statistics quantity information characterization be current block chain active degree and loading level,
What it was transmitted is the general operating condition of entire block chain, and in general, data volume is fewer to be also convenient for user's reception and look into
It reads, therefore, by the way of pushing in real time.The managing detailed catalogue of statistics refers to the inventory information come out, such as every transaction
The managing detailed catalogue characterization of inventory, the operating condition of each node and connection, the managing detailed catalogue of every contract etc., statistics is
Current block chain runs details, and in general, data volume is bigger, needs to push under the conditions of suitable or in need
User.When access feedback system refers to that user actively accesses server request push managing detailed catalogue, server is just by managing detailed catalogue
Push to user.In practical applications, the quantity information of statistics is pushed to use by the way of real-time display update by server
Family, user need to further appreciate that managing detailed catalogue in the quantity information for browsing to statistics, and user sends access request to service
Device carries the information type of required managing detailed catalogue in access request, carries information type in server feedback and access request
Corresponding managing detailed catalogue.Such as user needs to further appreciate that the bright of some contracts when browsing to current contract number of entries
Thin information, user click the number of contract number of entries, send access request to server, carry detail in the access request
Information type is contract information, and server, which shows the managing detailed catalogue of every contract, is given to user.
In the above-described embodiments, different modes is respectively adopted for different data to be pushed, it can be when limited
Between and spatial dimension to showing, user is more, more fully data.With the data instance recorded in transaction data table, server
A Transaction Information is collected in 1 minute, which updates transaction data table of the write-in into database, service
Device statistics transaction data has A item, and corresponding managing detailed catalogue is a, b, c ..., and server active push is currently adopted
Collecting has A Transaction Information, and user is when browsing to this information, right if wanting to further appreciate that the managing detailed catalogue of Transaction Information
Server accesses operation, and server responds the access operation of user, and the corresponding managing detailed catalogue of the A Transaction Information is pushed
To user.
The data grabber instruction for carrying crawl data type is periodically generated in one of the embodiments, and will be grabbed
Getting data and being updated in the corresponding tables of data of type includes: to periodically generate to carry the data grabber of crawl data type and refer to
It enables;Data grabber instruction is sent to block chain management system;Receive the data of block chain management system feedback grabbed;It protects
The data format grabbed and encrypted state are held, the data grabbed are updated in the corresponding tables of data of type.
Database server requests block chain management system to difference by way of generating and sending data grabber instruction
Categorical data is grabbed, and block chain management system can instruct specified class after response data fetching instruction for data grabber
The data of type are grabbed, and by the data feedback of crawl to database server, database server according to feedback number
According to classification storage into corresponding tables of data, the data format grabbed and encrypted state are kept in the process of storage.For example,
If the block data of crawl is ciphertext data, the data being updated in block table are also ciphertext data, can't be carried out to data
Decryption.
In one of the embodiments, according to different time dimension statistics block chain information tables, block data table, transaction
Information in tables of data, informational table of nodes and contract information table, and will be after the information push after statistics further include: by visual
Chemical industry tool, is shown using graphical display, block or journal displaying mode shows the information after counting.
Information after statistics efficiently can be pushed to user by the information after visualization display statistics.Specifically, visually
Including using, graphical display, block is shown or journal displaying mode for change.The content of graphical display includes: display block chain state clothes
The line or off-line state of business;The line or off-line state of each node in real-time display block chain;Real-time display block chain is handed over
Easy initiator and communication process;The content that block is shown includes: the block storehouse that foldable mode is shown;What tree form was shown
Block content;The autoplacement to network with off-network node;The content of journal displaying includes automatically updating number of blocks, number of transaction
Deng.Specifically, it can be used to create by different visualization tools, " visualization tool " for different visualization requirements
Build dialog box or other interfaces, by it is a kind of be suitable for variable or object data type in a manner of show variable or object.For example,
HTML (HyperText Markup Language, hypertext markup language) visualization tool explanation HTML character string, and according to
The appearance when character string appears in browser window shows result;Conventional visualization tool include text visualization tool,
HTML visualization tool, XML (Extensible Markup Language, extensible markup language) visualization tool, WPF
(basis is presented in Windows Presentation Foundation, Windows) tree visualization tool and data set visualization
Tool.
As shown in figure 3, step S200 includes: in one of the embodiments,
S210: database access request is sent to block chain management system, database access request carries database identity
Mark.
S220: it receives and fills in tables of data needed for the registration of block chain management system feedback.
S230: it sends and fills in tables of data to block chain management system needed for the registration filled in.
S240: the access interface of block chain management system distribution is received.
S250: the connection with block chain management system is established according to access interface.
Database is registered when request accesses block chain management system, when completion to be registered, according to block chain
Management system feeds back access interface, accesses block chain management system.Specifically, database server sends access request to area
Block chain management system, carry the identity label of database in the access request, and block chain management system is according to receiving
Identity label inquires the identity label whether in white list, when, block chain management system assert database server be
Legal, permission access device sends and fills in tables of data needed for registration to database server, and database server is related by itself
Information is corresponding to fill in filling in tables of data needed for registration, and sends and fill in tables of data to block chain management needed for the registration filled in
System, block chain management system are completed to register to database server, distribute access interface, and send access interface to block
Chain management system, database server establish the connection with block chain management system according to the access interface of distribution.
Preset block chain information table, block data table, transaction data table, node are read in one of the embodiments,
Before information table and contract information table, further includes: operation table generate software, generate block chain information table, block data table,
Transaction data table, informational table of nodes and contract information table;Obtain unit time intra block chain information, block counts in historical record
According to, the data volume size of transaction data, nodal information and contract information;According to data volume size, block is distributed
Chain information table, block data table, transaction data table, informational table of nodes and contract information table memory space;By block chain information
Table, block data table, transaction data table, informational table of nodes and contract information table store to the matched storage position of memory space
It sets.
Table generation software, which can be, to be loaded previously into database server, when operation table generates software, life
At 5 tables, which is block chain information table, block data table, transaction data table, section by database server
Point information table and contract information table, and database server is according to the data volume size ratio of information all types of in historical record
Example distributes reasonable memory spaces to 5 tables, then by 5 tables store to the matched storage location of memory space.?
In examples detailed above, software is generated using table and efficiently produces table, and considers that its information content exists between different types of information
Difference, the corresponding memory space of all types of information forms of reasonable distribution, is conducive to storage resource reasonable employment, brings just to user
Benefit.
Above-mentioned block chain information method for pushing in one of the embodiments, further include: sent out when listening to block chain state
When changing, interim block chain information, block data, transaction data, nodal information and contract information crawl task are created;It will
The data temporarily grabbed are stored respectively into the corresponding tables of data of type.
In addition to periodicity is other than the above-mentioned crawl data of block chain management system, also directed to block chain operating status variation feelings
Condition actively creates ephemeral data crawl task, grabs corresponding data when the variation of block chain state at the first time, realizes to block
Even if chain state pushes when monitoring sum number factually, bring advantage to the user.Database server according to preset in addition to grabbing
It takes the period to carry out except data grabber, is analyzed in the data for crawl, such as compared with a upper crawl time point, worked as number
When abnormal according to fluctuation, creation ephemeral data grabs task, improves data grabber frequency, more accurately tracks the operation feelings of block chain
Condition.
It should be understood that although each step in the flow chart of Fig. 2-3 is successively shown according to the instruction of arrow,
These steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly stating otherwise herein, these steps
Execution there is no stringent sequences to limit, these steps can execute in other order.Moreover, at least one in Fig. 2-3
Part steps may include that perhaps these sub-steps of multiple stages or stage are not necessarily in synchronization to multiple sub-steps
Completion is executed, but can be executed at different times, the execution sequence in these sub-steps or stage is also not necessarily successively
It carries out, but can be at least part of the sub-step or stage of other steps or other steps in turn or alternately
It executes.
As shown in figure 4, a kind of block chain information driving means, device include:
Link block 200 is established and block chain management system for sending database access request to block chain management system
The connection of system;
Table read module 400, for reading preset block chain information table, block data table, transaction data table, node
Information table and contract information table;
Update module 600 for periodically generating the data grabber instruction for carrying crawl data type, and will grab
Data are updated in the corresponding tables of data of type, and data type includes block chain information, block data, transaction data, node letter
Breath and contract information;
Pushing module 800, for according to different measurement periods, repeatedly counting newest block chain information table, block counts
It is pushed according to information in table, transaction data table, informational table of nodes and contract information table, and by the information after statistics.
Above-mentioned block chain information driving means, the transmission database access request of link block 200 to block chain management system,
Establish the connection with block chain management system;Table read module 400 read preset block chain information table, block data table,
Transaction data table, informational table of nodes and contract information table;Update module 600, which periodically generates, carries crawl data type
Data grabber instruction, and data will be grabbed and be updated in the corresponding tables of data of type;Pushing module 800 is according to different statistics
Period repeatedly counts newest block chain information table, block data table, transaction data table, informational table of nodes and contract information
Information in table, and the information after statistics is pushed.In whole process, acquisition includes block chain information, block data, number of deals
Stored according to, nodal information and the block chain information of contract information, and using corresponding table, it is ensured that block chain information comprehensively and
Accurate acquisition and push, bring advantage to the user.
Pushing module 800 is also used to repeatedly be counted newest according to different measurement periods in one of the embodiments,
Information in block chain information table, block data table, transaction data table, informational table of nodes and contract information table;After statistics
Information is divided into quantity information and managing detailed catalogue;Quantity information is pushed using real-time update mode and using access feedback system
Push managing detailed catalogue.
Update module 600 is also used to periodically generate the number for carrying crawl data type in one of the embodiments,
According to fetching instruction;Data grabber instruction is sent to block chain management system;Receive grabbing for block chain management system feedback
Data;The data format grabbed and encrypted state are kept, the data grabbed are updated to the corresponding tables of data of type
In.
Above-mentioned block chain information driving means further includes visualization model, for being shown using figure by visualization tool
Show, block is shown or journal displaying mode shows the information after statistics.
Link block 200 is also used to send database access request to block chain management system in one of the embodiments,
System, database access request carry database identity;It receives and fills in data needed for the registration of block chain management system feedback
Table;It sends and fills in tables of data to block chain management system needed for the registration filled in;Receive connecing for block chain management system distribution
Inbound port;The connection with block chain management system is established according to access interface.
Above-mentioned block chain information driving means further includes table generation module in one of the embodiments, for running
Table generates software, generates block chain information table, block data table, transaction data table, informational table of nodes and contract information table;
Obtain the number of unit time intra block chain information in historical record, block data, transaction data, nodal information and contract information
According to amount size;According to data volume size, block chain information table, block data table, transaction data table, node letter are distributed
Cease table and contract information table memory space;By block chain information table, block data table, transaction data table, informational table of nodes with
And contract information table store to the matched storage location of memory space.
Above-mentioned block chain information driving means further includes detecting module in one of the embodiments, is listened to for working as
When block chain state changes, interim block chain information, block data, transaction data, nodal information and contract letter are created
Cease crawl task;The data temporarily grabbed are stored respectively into the corresponding tables of data of type.
Specific restriction about block chain information driving means may refer to above for block chain information method for pushing
Restriction, details are not described herein.Modules in above-mentioned block chain information driving means can be fully or partially through software, hard
Part and combinations thereof is realized.Above-mentioned each module can be embedded in the form of hardware or independently of in the processor in computer equipment,
It can also be stored in a software form in the memory in computer equipment, execute the above modules in order to which processor calls
Corresponding operation.
In one embodiment, a kind of computer equipment is provided, which can be server, internal junction
Composition can be as shown in Figure 5.The computer equipment include by system bus connect processor, memory, network interface and
Database.Wherein, the processor of the computer equipment is for providing calculating and control ability.The memory packet of the computer equipment
Include non-volatile memory medium, built-in storage.The non-volatile memory medium is stored with operating system, computer program and data
Library.The built-in storage provides environment for the operation of operating system and computer program in non-volatile memory medium.The calculating
The database of machine equipment is for storing the relevant data of history block chain.The network interface of the computer equipment is used for and outside
Terminal passes through network connection communication.To realize a kind of block chain information method for pushing when the computer program is executed by processor.
It will be understood by those skilled in the art that structure shown in Fig. 5, only part relevant to application scheme is tied
The block diagram of structure does not constitute the restriction for the computer equipment being applied thereon to application scheme, specific computer equipment
It may include perhaps combining certain components or with different component layouts than more or fewer components as shown in the figure.
In one embodiment, a kind of computer equipment is provided, including memory, processor and storage are on a memory
And the computer program that can be run on a processor, processor perform the steps of when executing computer program
Database access request is sent to block chain management system, establishes the connection with block chain management system;
Read preset block chain information table, block data table, transaction data table, informational table of nodes and contract information
Table;
The data grabber instruction for carrying crawl data type is periodically generated, and data will be grabbed and be updated to type pair
In the tables of data answered, data type includes block chain information, block data, transaction data, nodal information and contract information;
According to different measurement periods, repeatedly count newest block chain information table, block data table, transaction data table,
Information in informational table of nodes and contract information table, and the information after statistics is pushed.
In one embodiment, it is also performed the steps of when processor executes computer program
According to different measurement periods, repeatedly count newest block chain information table, block data table, transaction data table,
Information in informational table of nodes and contract information table;Information after statistics is divided into quantity information and managing detailed catalogue;Using reality
When update mode push quantity information and using access feedback system push managing detailed catalogue.
In one embodiment, it is also performed the steps of when processor executes computer program
Periodically generate the data grabber instruction for carrying crawl data type;Data grabber instruction is sent to block chain
Management system;Receive the data of block chain management system feedback grabbed;Keep the data format grabbed and encryption shape
The data grabbed are updated in the corresponding tables of data of type by state.
In one embodiment, it is also performed the steps of when processor executes computer program
By visualization tool, is shown using graphical display, block or journal displaying mode shows the information after counting.
In one embodiment, it is also performed the steps of when processor executes computer program
Database access request is sent to block chain management system, database access request carries database identity;
It receives and fills in tables of data needed for the registration of block chain management system feedback;It sends and fills in tables of data to area needed for the registration filled in
Block chain management system;Receive the access interface of block chain management system distribution;It is established and block chain management system according to access interface
The connection of system.
In one embodiment, it is also performed the steps of when processor executes computer program
Run table generate software, generate block chain information table, block data table, transaction data table, informational table of nodes with
And contract information table;Obtain historical record in unit time intra block chain information, block data, transaction data, nodal information with
And the data volume size of contract information;According to data volume size, distributes block chain information table, block data table, hands over
Easy tables of data, informational table of nodes and contract information table memory space;By block chain information table, block data table, transaction data
Table, informational table of nodes and contract information table store to the matched storage location of memory space.
In one embodiment, it is also performed the steps of when processor executes computer program
When listening to block chain state and changing, interim block chain information, block data, transaction data, section are created
Point information and contract information grab task;The data temporarily grabbed are stored respectively into the corresponding tables of data of type.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculated
Machine program performs the steps of when being executed by processor
Database access request is sent to block chain management system, establishes the connection with block chain management system;
Read preset block chain information table, block data table, transaction data table, informational table of nodes and contract information
Table;
The data grabber instruction for carrying crawl data type is periodically generated, and data will be grabbed and be updated to type pair
In the tables of data answered, data type includes block chain information, block data, transaction data, nodal information and contract information;
According to different measurement periods, repeatedly count newest block chain information table, block data table, transaction data table,
Information in informational table of nodes and contract information table, and the information after statistics is pushed.
In one embodiment, it is also performed the steps of when computer program is executed by processor
According to different measurement periods, repeatedly count newest block chain information table, block data table, transaction data table,
Information in informational table of nodes and contract information table;Information after statistics is divided into quantity information and managing detailed catalogue;Using reality
When update mode push quantity information and using access feedback system push managing detailed catalogue.
In one embodiment, it is also performed the steps of when computer program is executed by processor
Periodically generate the data grabber instruction for carrying crawl data type;Data grabber instruction is sent to block chain
Management system;Receive the data of block chain management system feedback grabbed;Keep the data format grabbed and encryption shape
The data grabbed are updated in the corresponding tables of data of type by state.
In one embodiment, it is also performed the steps of when computer program is executed by processor
By visualization tool, is shown using graphical display, block or journal displaying mode shows the information after counting.
In one embodiment, it is also performed the steps of when computer program is executed by processor
Database access request is sent to block chain management system, database access request carries database identity;
It receives and fills in tables of data needed for the registration of block chain management system feedback;It sends and fills in tables of data to area needed for the registration filled in
Block chain management system;Receive the access interface of block chain management system distribution;It is established and block chain management system according to access interface
The connection of system.
In one embodiment, it is also performed the steps of when computer program is executed by processor
Run table generate software, generate block chain information table, block data table, transaction data table, informational table of nodes with
And contract information table;Obtain historical record in unit time intra block chain information, block data, transaction data, nodal information with
And the data volume size of contract information;According to data volume size, distributes block chain information table, block data table, hands over
Easy tables of data, informational table of nodes and contract information table memory space;By block chain information table, block data table, transaction data
Table, informational table of nodes and contract information table store to the matched storage location of memory space.
In one embodiment, it is also performed the steps of when computer program is executed by processor
When listening to block chain state and changing, interim block chain information, block data, transaction data, section are created
Point information and contract information grab task;The data temporarily grabbed are stored respectively into the corresponding tables of data of type.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the computer program can be stored in a non-volatile computer
In read/write memory medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein,
To any reference of memory, storage, database or other media used in each embodiment provided herein,
Including non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM
(PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include
Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms,
Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhancing
Type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM
(RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
Each technical characteristic of above embodiments can be combined arbitrarily, for simplicity of description, not to above-described embodiment
In each technical characteristic it is all possible combination be all described, as long as however, the combination of these technical characteristics be not present lance
Shield all should be considered as described in this specification.
The several embodiments of the application above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously
It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art
It says, without departing from the concept of this application, various modifications and improvements can be made, these belong to the protection of the application
Range.Therefore, the scope of protection shall be subject to the appended claims for the application patent.
Claims (10)
1. a kind of block chain information method for pushing, which comprises
Database access request is sent to block chain management system, establishes the connection with block chain management system;
Read preset block chain information table, block data table, transaction data table, informational table of nodes and contract information table;
The data grabber instruction for carrying crawl data type is periodically generated, and data will be grabbed to be updated to type corresponding
In tables of data, the data type includes block chain information, block data, transaction data, nodal information and contract information;
According to different measurement periods, newest block chain information table, block data table, transaction data table, node are repeatedly counted
Information in information table and contract information table, and the information after statistics is pushed.
2. repeatedly counting newest the method according to claim 1, wherein described according to different measurement periods
Block chain information table, block data table, transaction data table, information in informational table of nodes and contract information table, and will statistics
Information afterwards pushes
According to different measurement periods, newest block chain information table, block data table, transaction data table, node are repeatedly counted
Information in information table and contract information table;
Information after statistics is divided into quantity information and managing detailed catalogue;
The quantity information is pushed using real-time update mode and the managing detailed catalogue is pushed using access feedback system.
3. the method according to claim 1, wherein described periodically generate the number for carrying crawl data type
According to fetching instruction, and data will be grabbed and be updated in the corresponding tables of data of type and include:
Periodically generate the data grabber instruction for carrying crawl data type;
Data grabber instruction is sent to the block chain management system;
Receive the data of the block chain management system feedback grabbed;
The data grabbed are updated to the corresponding number of type by the data format and encrypted state grabbed described in holding
According in table.
4. the method according to claim 1, wherein by after the information push after statistics, further includes:
By visualization tool, is shown using graphical display, block or journal displaying mode shows the information after counting.
5. the method according to claim 1, wherein the transmission database access request is to block chain management system
System, establishing the connection with block chain management system includes:
Database access request is sent to block chain management system, the database access request carries database identity;
It receives and fills in tables of data needed for the registration of the block chain management system feedback;
It sends and fills in tables of data to block chain management system needed for the registration filled in;
Receive the access interface of block chain management system distribution;
The connection with block chain management system is established according to the access interface.
6. the method according to claim 1, wherein described read preset block chain information table, block data
Before table, transaction data table, informational table of nodes and contract information table, further includes:
It runs table and generates software, generate block chain information table, block data table, transaction data table, informational table of nodes and conjunction
About information table;
Obtain unit time intra block chain information, block data, transaction data, nodal information and contract information in historical record
Data volume size;
According to the data volume size, block chain information table, block data table, transaction data table, informational table of nodes are distributed
And contract information table memory space;
By the block chain information table, block data table, transaction data table, informational table of nodes and contract information table store to
The matched storage location of memory space.
7. the method according to claim 1, wherein further include:
When listening to block chain state and changing, interim block chain information, block data, transaction data, node letter are created
Breath and contract information grab task;
The data temporarily grabbed are stored respectively into the corresponding tables of data of type.
8. a kind of block chain information driving means, which is characterized in that described device includes:
Link block establishes the company with block chain management system for sending database access request to block chain management system
It connects;
Table read module, for reading preset block chain information table, block data table, transaction data table, informational table of nodes
And contract information table;
Update module for periodically generating the data grabber instruction for carrying crawl data type, and will grab data more
Newly into the corresponding tables of data of type, the data type includes block chain information, block data, transaction data, nodal information
And contract information;
Pushing module, for according to different measurement periods, repeatedly counting newest block chain information table, block data table, handing over
Information in easy tables of data, informational table of nodes and contract information table, and the information after statistics is pushed.
9. a kind of computer equipment, including memory and processor, the memory are stored with computer program, feature exists
In the step of processor realizes any one of claims 1 to 7 the method when executing the computer program.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program
The step of method described in any one of claims 1 to 7 is realized when being executed by processor.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910374148.4A CN110266752B (en) | 2019-05-07 | 2019-05-07 | Block chain information pushing method and device, computer equipment and storage medium |
PCT/CN2019/122488 WO2020224253A1 (en) | 2019-05-07 | 2019-12-02 | Blockchain information pushing method and apparatus, computer device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910374148.4A CN110266752B (en) | 2019-05-07 | 2019-05-07 | Block chain information pushing method and device, computer equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110266752A true CN110266752A (en) | 2019-09-20 |
CN110266752B CN110266752B (en) | 2021-11-12 |
Family
ID=67914245
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910374148.4A Active CN110266752B (en) | 2019-05-07 | 2019-05-07 | Block chain information pushing method and device, computer equipment and storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN110266752B (en) |
WO (1) | WO2020224253A1 (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111182042A (en) * | 2019-12-20 | 2020-05-19 | 周梦洁 | Related information pushing system and method based on block chain |
CN111539005A (en) * | 2020-04-23 | 2020-08-14 | 中国电子技术标准化研究院 | Block chain data identification method and related device oriented to data security policy |
CN111638963A (en) * | 2020-06-08 | 2020-09-08 | 杭州复杂美科技有限公司 | Transaction pool dynamic control method, device and storage medium |
WO2020224253A1 (en) * | 2019-05-07 | 2020-11-12 | 深圳壹账通智能科技有限公司 | Blockchain information pushing method and apparatus, computer device and storage medium |
CN111932251A (en) * | 2020-07-03 | 2020-11-13 | 杭州云象网络技术有限公司 | Block chain-based digital currency transaction visualization method and system |
CN112286984A (en) * | 2020-09-29 | 2021-01-29 | 卓尔智联(武汉)研究院有限公司 | Block data processing method and device, computer equipment and storage medium |
CN112487282A (en) * | 2020-11-04 | 2021-03-12 | 山东中创软件商用中间件股份有限公司 | Business processing condition monitoring method and device, electronic equipment and storage medium |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112507028B (en) * | 2020-12-18 | 2023-02-21 | 杭州趣链科技有限公司 | Data storage method, device, equipment and storage medium |
CN113268546B (en) * | 2021-06-15 | 2022-04-01 | 中国电子科技网络信息安全有限公司 | Block chain account book data capture analysis method |
CN113961545B (en) * | 2021-10-26 | 2022-04-26 | 北京市科学技术情报研究所 | Block chain-based information value database construction method |
CN118211941A (en) * | 2024-05-21 | 2024-06-18 | 江苏移动信息系统集成有限公司 | Automatic community work order circulation method and system based on RPA |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107358502A (en) * | 2017-07-04 | 2017-11-17 | 深圳齐心集团股份有限公司 | A kind of electronic commerce information supplying system |
CN108259594A (en) * | 2018-01-11 | 2018-07-06 | 杭州秘猿科技有限公司 | A kind of data interaction system and Relay Server based on block chain |
US20180331835A1 (en) * | 2017-05-11 | 2018-11-15 | Shapeshift Ag | Trusted agent blockchain oracle |
CN108881362A (en) * | 2018-01-03 | 2018-11-23 | 上海指旺信息科技有限公司 | A kind of browser platform based on block chain |
CN108933819A (en) * | 2018-06-26 | 2018-12-04 | 尹煦 | A kind of information-pushing method based on block chain |
CN109558411A (en) * | 2017-09-26 | 2019-04-02 | 浙江华信区块链科技服务有限公司 | A kind of lower chain synchronous method and device based on block chain data |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019078622A1 (en) * | 2017-10-17 | 2019-04-25 | 주식회사 코인플러그 | Blockchain-based payment method, and payment server using same |
CN109145006A (en) * | 2018-09-21 | 2019-01-04 | 深圳蜜獾智抄科技有限公司 | A kind of collection copies data analysis management system |
CN110266752B (en) * | 2019-05-07 | 2021-11-12 | 深圳壹账通智能科技有限公司 | Block chain information pushing method and device, computer equipment and storage medium |
-
2019
- 2019-05-07 CN CN201910374148.4A patent/CN110266752B/en active Active
- 2019-12-02 WO PCT/CN2019/122488 patent/WO2020224253A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20180331835A1 (en) * | 2017-05-11 | 2018-11-15 | Shapeshift Ag | Trusted agent blockchain oracle |
CN107358502A (en) * | 2017-07-04 | 2017-11-17 | 深圳齐心集团股份有限公司 | A kind of electronic commerce information supplying system |
CN109558411A (en) * | 2017-09-26 | 2019-04-02 | 浙江华信区块链科技服务有限公司 | A kind of lower chain synchronous method and device based on block chain data |
CN108881362A (en) * | 2018-01-03 | 2018-11-23 | 上海指旺信息科技有限公司 | A kind of browser platform based on block chain |
CN108259594A (en) * | 2018-01-11 | 2018-07-06 | 杭州秘猿科技有限公司 | A kind of data interaction system and Relay Server based on block chain |
CN108933819A (en) * | 2018-06-26 | 2018-12-04 | 尹煦 | A kind of information-pushing method based on block chain |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020224253A1 (en) * | 2019-05-07 | 2020-11-12 | 深圳壹账通智能科技有限公司 | Blockchain information pushing method and apparatus, computer device and storage medium |
CN111182042A (en) * | 2019-12-20 | 2020-05-19 | 周梦洁 | Related information pushing system and method based on block chain |
CN111182042B (en) * | 2019-12-20 | 2020-12-08 | 温州南冠机械有限公司 | Related information pushing system and method based on block chain |
CN111539005A (en) * | 2020-04-23 | 2020-08-14 | 中国电子技术标准化研究院 | Block chain data identification method and related device oriented to data security policy |
CN111638963A (en) * | 2020-06-08 | 2020-09-08 | 杭州复杂美科技有限公司 | Transaction pool dynamic control method, device and storage medium |
CN111932251A (en) * | 2020-07-03 | 2020-11-13 | 杭州云象网络技术有限公司 | Block chain-based digital currency transaction visualization method and system |
CN112286984A (en) * | 2020-09-29 | 2021-01-29 | 卓尔智联(武汉)研究院有限公司 | Block data processing method and device, computer equipment and storage medium |
CN112286984B (en) * | 2020-09-29 | 2021-06-22 | 卓尔智联(武汉)研究院有限公司 | Block data processing method and device, computer equipment and storage medium |
CN112487282A (en) * | 2020-11-04 | 2021-03-12 | 山东中创软件商用中间件股份有限公司 | Business processing condition monitoring method and device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN110266752B (en) | 2021-11-12 |
WO2020224253A1 (en) | 2020-11-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110266752A (en) | Block chain information method for pushing, device, computer equipment and storage medium | |
US10839454B2 (en) | System and platform for execution of consolidated resource-based action | |
US20150026075A1 (en) | Control of crm data based on spreadsheet actions | |
EP3814903B1 (en) | Systems and methods for initiating processing actions utilizing automatically generated data of a group-based communication system | |
US20070162500A1 (en) | Incremental, real-time computation of aggregate expressions | |
US10296859B1 (en) | Workflow discovery through user action monitoring | |
Verkooij et al. | Mobile business intelligence: Key considerations for implementations projects | |
US20070073421A1 (en) | System and method for dynamically simulating value stream and network maps | |
US20160217419A1 (en) | Data analysis system and method to enable integrated view of customer information | |
US20170316358A1 (en) | Collaborative Network-Based Graphical Progress Management Platform for Creating Private and Public Template Flows | |
CN114218309A (en) | Data processing method, system and computer equipment | |
CN109816218A (en) | Management of enterprise operation method, apparatus, computer equipment and storage medium | |
US20230161766A1 (en) | Data investigation and visualization system | |
EP3577612A1 (en) | Attendee specific meeting attributes | |
CN109034880A (en) | revenue prediction method and device | |
US20160132472A1 (en) | Process intelligence system | |
US20180144407A1 (en) | Supplemental electronic note data message distribution in near real-time | |
CN114238585A (en) | Query method and device based on 5G message, computer equipment and storage medium | |
US11507576B2 (en) | Method and system to efficiently analyze and improve database queries | |
US8326717B2 (en) | Rate exception management tool | |
JP4327686B2 (en) | Method and system for supporting construction of individual system based on EA | |
US10318282B2 (en) | Method and system for monitoring quality control activities during development of a software application | |
JP2006350673A (en) | Optimization calculation system | |
Huang et al. | Order confirmation mechanism for collaborative production networks | |
US20240176667A1 (en) | Multi-feature resource recommender system for process optimization and user preference inference |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |