CN106445993A - Data fingerprint query method and device based on block chain - Google Patents
Data fingerprint query method and device based on block chain Download PDFInfo
- Publication number
- CN106445993A CN106445993A CN201610542854.1A CN201610542854A CN106445993A CN 106445993 A CN106445993 A CN 106445993A CN 201610542854 A CN201610542854 A CN 201610542854A CN 106445993 A CN106445993 A CN 106445993A
- Authority
- CN
- China
- Prior art keywords
- assets
- data
- transaction
- block chain
- data fingerprint
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
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/90—Details of database functions independent of the retrieved data types
- G06F16/903—Querying
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Computational Linguistics (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Storage Device Security (AREA)
Abstract
The invention relates to a data fingerprint query method and device based on a block chain. A block chain viewer writes transaction data on the block chain into a database; according to the transaction data, an asset index list is generated in the database, wherein the asset index list at least comprises an asset index and an asset type; the query website domain name of the data fingerprint of the asset is generated for query; the input data fingerprint is received, whether the data fingerprint is effective or not is judged, and if the data fingerprint is effective, a transaction record which only contains the data fingerprint is extracted from the database; and the transaction data of the input data fingerprint is obtained from the transaction record which only contains the data fingerprint, and the transaction data is returned to generate a webpage hyperlink, wherein the webpage hyperlink of the returned transaction data of the input data fingerprint comprises the asset type. By use of the embodiment of the invention, the query problem of various types of asset transaction records is solved.
Description
Technical field
The present invention relates to digital asset technology, more particularly, to a kind of data fingerprint inquiry based on block chain.
Background technology
Block chain is a kind of cutting edge technology, is described as being expected to overturn the next item down Internet technology of traditional financial industry most.
The assets of entity world and rights and interests are digitized by block chain technology, and realize providing by way of decentralization
The registration distribution of product, money transfer transactions etc..It by way of decentralization, is entered to mass data based on cryptological technique
Row storage, transmission and prove, have high reliability, open and clear, go trust etc. characteristic.Can be by block chain skill from finance perspective
The catenet book keeping operation that art regards a kind of distributed type open decentralization as is thin, and anyone can add oneself any time
Information, extend block chain, persistently to meet various demands.
Existing block chain 1.0 designs exclusively for ideal money, and block chain 1.0 is used for recording the transaction of ideal money,
It is single mark system, supports single assets mark, does not support the transaction of many attributes assets.Existing block chain reader, example
As existing Abe software, it is to provide the user the instrument checking digital cash transaction record details on block chain.User can
To obtain the transaction record of digital cash by input transaction id (transaction ID) in the input frame of existing Abe software, with
Accurately obtain the details of respective digital moneytary operations.
However as the fast development of block chain technology, block chain is no longer limited to the application of ideal money field, gradually
It is related to the every field such as equity registration, copyright registration, intelligent contract, notarization, gaming, such being more widely applied is claimed
Make " block chain 2.0 is applied ".On block chain 2.0, the content of registration is a kind of mapping of entity asset, can be described as mapping assets.
To sum up, existing block chain reader, for example existing Abe software, only can check that a kind of digital asset counts
The transaction record of word currency, but cannot inquire about the transaction record of polytype digital asset.And block chain 2.0 can apply to
Multiple fields, block chain 2.0 stores the transaction record of polytype digital asset, and existing block chain reader cannot
Check the transaction record of polytype digital asset, also cannot check the transaction record of indivisible digital asset.For example,
Prior art cannot inquire about the transaction record of the digital asset of financial derivative category.Therefore, can look in the urgent need to one kind at present
The method asking polytype digital asset transaction record, especially can inquire about indivisible digital asset transaction record
Method.
Content of the invention
The purpose of the application is, provides a kind of data fingerprint querying method based on block chain and device, existing to solve
There is technology cannot inquire about the problem of the transaction record details of polytype digital asset, be especially inseparable from digital asset
Inquiry.
For achieving the above object, this application provides a kind of querying method of the data fingerprint based on block chain.The method
First block chain reader is installed, starts this block chain reader.Then this block chain reader is by the transaction data on block chain
Write into Databasce, and assets flap-list is generated in this database according to this transaction data, this assets flap-list at least wraps
Include digital asset English symbol symbol, digital asset mark Asset Index, class of assets title Asset Type.Then
This block chain reader generates the referral web site domain name of the data fingerprint of this digital asset, for inquiry.There iing data fingerprint defeated
Fashionable, whether effectively to judge this data fingerprint, if it is valid, obtaining the transaction of the data fingerprint of this input from this database
Data, returns this transaction data, generates hyperlinks between Web pages.And comprise institute's input data in this Query Result return webpage to refer to
The class of assets title of line.
Additionally, for the new transaction record producing, this block chain reader is according to the word in the transaction data of this new generation
Duan Shengcheng digital asset mark Asset Index and class of assets title Asset Type.
The present invention solves the problems, such as that prior art cannot inquire about many attribute numeral transaction in assets record details, specifically exists,
For example it is impossible to inquire about the details of the digital asset transaction record on block chain 2.0.The data fingerprint querying method of the present invention,
User, after query frame input data fingerprint, can provide the user the transaction record details of digital asset.The inventive method
Provide the user many attributes digital asset, the transaction record details of especially indivisible digital asset, provide the user
Convenient.
Brief description
Fig. 1 is a kind of schematic diagram of network residing for digital finger-print inquiry based on block chain provided in an embodiment of the present invention;
Fig. 2 is a kind of digital finger-print querying method flow chart based on block chain provided in an embodiment of the present invention;
Fig. 3 is the schematic diagram that user provided in an embodiment of the present invention passes through webpage input data fingerprint queries transaction record;
The data fingerprint that Fig. 4 implements to provide for the present invention reads in the schematic diagram of query argument q;
Fig. 5 is the schematic diagram inquiring about data place returned data by data fingerprint provided in an embodiment of the present invention;
Fig. 6 is the schematic diagram of the details of transaction record provided in an embodiment of the present invention;
The data fingerprint inquiry unit schematic diagram based on block chain that Fig. 7 provides for one embodiment of the invention.
Specific embodiment
Purpose, technical scheme and advantage for making the embodiment of the present invention are clearer, below in conjunction with the embodiment of the present invention
In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described it is clear that described embodiment is
The a part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art
The every other embodiment being obtained under the premise of not making creative work, broadly falls into the scope of protection of the invention.Below
It is described in detail based on the data fingerprint querying method of block chain in conjunction with what accompanying drawing 1, accompanying drawing 2 provided to the present invention.
Step 201, checks installation block chain reader on server 120 in block chain, and runs this block chain reader
Software kit.
This block chain reader is used for checking the details of the digital asset transaction record on block chain.This block chain is looked into
See device such as Abe software, the main body program of Abe software is realized by Python, for controlling the reading of block chain data, process
Calculation block chain data, and control display transaction data.In Abe software, other programs are realized by Mysql language, are mainly used in
Preserve and more new block chain data.If this block chain reader is Abe software, the software kit running this block chain reader is
The program realized by Python and Mysql language.
By block chain, step 202, checks that server 120 changes the configuration file of this block chain reader, including setting
The operational factor of this block chain reader, arranges the parameter that this block chain reader is connected with database 130.Wherein, database
130 are used for the data on memory block chain, including the details of digital asset transaction record.
For example, the port port of setting block chain reader Abe is 80, and the IP ground of server 120 checked by setting block chain
Location, type dbtype of setting database 130 is mysql.
Step 203, by checking input order line on server 120 in block chain, starts block chain reader.For example,
By inputting following order line in block chain reader 120, start block chain reader:
python-m Abe.abe-main–configmyconf.conf--commit-bytes 100000
Step 204, the transaction data on block chain is written to database from block chain node 110 by block chain reader
Transaction data in 130, and database 130 is real-time update.For example, block chain reader every two minutes by block chain
The new transaction data producing is written to database 130 from block chain node 110.
Block chain node 110 comprises the detailed record of all digital assets transaction, and block chain reader is by this digital asset
The detailed record of transaction is written in database 130, by terminal 140 and by block chain, user can check that server 120 is looked into
See the details of transaction record in database 130.
In one example, the transaction data that block chain reader reads from block chain node 110 includes:Transaction id
(transaction ID), data fingerprint, the source address (from address) of digital asset, the destination address (to of digital asset
Address), exchange hour, digital asset mark (AssetIndex), digital asset English symbol (symbol), class of assets
The details of the digital asset transaction records such as title (Asset Type).
And block chain reader transaction data to database 130 according to write, generates assets in database 130
Flap-list (Asset Index list).In this Asset Index list, at least include digital asset English symbol
(symbol), digital asset mark (Asset Index), class of assets title (Asset Type), and the Asset of the application
Data in Index list is not limited to digital asset English symbol (symbol), digital asset mark (Asset Index), money
Produce item name (Asset Type), as shown in table 1 below:
Table 1
Wherein, the numerical value in table 1 is only an example, and the such as AssetID of oil is only to illustrate for 12345.
Additionally, whenever having new digital asset to issue, block chain checks that server 120 will update Asset Index
List is above-mentioned table 1, by new digital asset mark Asset Index, class of assets title Asset Type and numeral money
Produce English mark symbol to be updated in Asset Index list.For example, after having new digital asset to issue success, through with
After family confirms, updating this Asset Index list by database command is table 1.It should be noted that for the new friendship producing
Easily record, block chain reader is in addition to the details write into Databasce 130 by this transaction record in addition it is also necessary to pass through
Asset Index list obtains the digital asset item name Asset Type in this transaction record, below will be by step
205-207 is described in detail.
Step 205, for the new transaction record producing, block chain checks that server 120 generates digital asset mark Asset
Index and digital asset type Asset Type.
In the transaction record of a digital asset, including source address (from address) and destination address (to
address).Source address refers in a digital asset transaction, the source address of this digital asset, and destination address refers to this number
The whereabouts address of word assets.Block chain node 110 contains the transaction record of polytype digital asset, for example, comprise Huang
Gold, the transaction record of the digital asset of plurality of classes such as historical relic, a house.Newly produce on block chain node 110
Raw transaction record, block chain obtains digital asset mark when checking server 120 by transaction record write into Databasce
Asset Index class of assets title Asset Type corresponding with this digital asset identification Asset Index.
In one example, obtain Asset Index in the following manner:By the number of deals on block chain node 110
During according to being written to database 130, obtain the field in this transaction data, this transaction note is generated according to the field in this transaction data
The Asset Index of record.
Step 206, by the assets flap-list of the new Asset Index producing transaction record and storage in database 130
Each Asset Index in (Asset Index list) is mated, that is, judge this new Asset producing transaction record
Index whether in Asset Index list, this Asset Index list records Asset Index of plurality of classes and
Class of assets title Asset Type corresponding to each Asset Index, referring to upper table 1.
Step 207, if one of this new Asset Index producing transaction record and this Asset Index list
Asset Index mates, then this Asset Index matching obtaining in this Asset Index list corresponds to digital asset
Item name Asset Type, and the letter by this digital asset item name Asset Type and the transaction record of this new generation
Breath, including data fingerprint, in the write into Databasce such as source address, destination address, exchange hour, transaction id 130.
Step 208, if any in this new Asset Index and this Asset Index classification producing transaction record
Asset Index all mismatches, and this new Asset Index producing transaction record is described not in this Asset Index list,
This new digital asset item name producing transaction record is then marked to be unknown unknown, and by this digital asset item name
For the other information of the transaction record of unknown and this new generation, including data fingerprint, source address, destination address, exchange hour,
In the write into Databasces such as transaction id 130.
The application scenarios that one typical digital asset item name is unknown are:Certain digital asset new issue, and this is new
The user of distribution digital asset just concludes the business to this digital asset, therefore creates transaction record on block chain node 110,
And now, block chain checks that server 120 is not yet able to do in time to be updated to the Asset Type of the digital asset of this new issue
Asset Index list is in table 1, and in such cases, digital asset typonym is unknown unknow.
Step 209, block chain checks that server 120 generates the network address domain name of digital asset transaction record inquiry, that is, generate
The web page interlinkage of data fingerprint inquiry, for the transaction record of user's enquiring digital assets.
In one example, server 120 modification auto-building html files function checked by block chain, thus by class of assets title
Asset Type is added to data fingerprint Query Result and returns in webpage.
In one example, only after this digital asset typonym has been updated in Asset Index list, that is,
Only when this digital asset typonym is not unknown, block chain checks that server 120 just can generate corresponding data fingerprint and look into
The web page interlinkage ask.Step 210, user opens corresponding web page by the browser of any terminal 140 and links (by step 209
Obtain), that is, open the webpage for this user's enquiring digital transaction in assets record, user inputs number in the query frame of this webpage
According to fingerprint, Clicks Query button, as shown in Figure 3.
Specifically, block chain checks server 120 after generating the web page interlinkage of data fingerprint inquiry, that is, in step
After 209, user just can open this web page interlinkage and in the query frame of this webpage input data fingerprint, enquiring digital assets
The details of transaction record.The embodiment of the present invention has provided the user the transaction record of the polytype digital asset of inquiry, including
Inquire about the details of the transaction record of indivisible digital asset.
Digital asset includes alienable digital asset and indivisible digital asset, and alienable digital asset is in full
Word currency, including stock, gold, dollar etc., indivisible digital asset such as water tumbler, historical relic, house, banking contract etc..
For indivisible digital asset, what the remaining sum under its address referred to is in the account transfer data related to this address
The digital asset corresponding to data fingerprint quantity, and described remaining sum is integer, and measurement unit is number, number of packages, tricks
Deng, or measurement unit can be count least unit, for example, the non-zero minimum of a value of number system be 0.00000001, then
Can with 0.00000001 as measurement unit that is to say, that 0.00000001 represents a quantity (for example, one, one
Deng).
Further, indivisible digital asset include again indivisible and stackable (fungible, replaceable,
Interchangeable) digital asset and indivisible and not stackable (unfungible, not replaceable, non-interchangeable) number
Word assets.
Stackable can replace, interchangeable, corresponding English is fungible, and stackable digital asset is replaceable number
Word assets, interchangeable digital asset;Not stackable can not replace, non-interchangeable, corresponding English is unfungible, can not
Digital asset i.e. not replaceable digital asset, the non-interchangeable digital asset of superposition.
This indivisible and stackable digital asset is indivisible and replaceable digital asset, for example same manufacturer
The same a batch of water tumbler producing, this indivisible and stackable digital asset i.e. this indivisible and replaceable numeral money
The data fingerprint producing is identical.This indivisible and not stackable digital asset is indivisible and not replaceable numeral money
Produce, such as banking contract.Different transaction has different contracts, for example, different according to prestige, the financial product in treaty content
Price is different, and therefore, the data fingerprint corresponding to different banking contracts is different, and this indivisible and stackable digital asset is
The data fingerprint of this indivisible and replaceable digital asset is identical.
To sum up, the embodiment of the present application can inquire about the transaction record of polytype digital asset, including can inquire about not
The transaction record of alienable digital asset.
It should be noted that user can also input transaction id with enquiring digital transaction in assets in the query frame of this webpage
The details of record, are only illustrated as a example input data fingerprint in web page interrogation frame by user below.
Step 211, the data fingerprint of user input is read in query argument block chain reader, for example, be read into and look into
Ask in parameter " q ", as shown in Figure 4.
Specifically, after block chain reader starts, program can initialize the data variable of list (list) type, name
For page.This data variable is used for storing the content on webpage to be shown in.User is in inquiry inframe input data fingerprint and single
After hitting lookup, current web page is equivalent to an object, and web page contents store in this data variable page, and search inframe is submitted to
Data fingerprint obtains the data fingerprint of user input by this variable.
Step 212, block chain reader judges whether the query argument that this comprises data fingerprint comprises effective data and refer to
Line.
In one example, whether effective by following condition criterion data fingerprint:
(1) 64 character string;
(2) character string ending is digital 0-9, the combination of this three class of alphabetical a-f or A-F;
(3) query argument meet according to condition (1), (2) and generate python regular expression pattern (pattern).
Step 213, if the digital finger-print of user input is effectively, comprises in block chain reader inquiry database 130
The transaction data of this data fingerprint, returns transaction data, for example, returns transaction id, generates hyperlinks between Web pages, and show.
Referring to Fig. 5, in Fig. 5, transaction id is TxID 516983.
Step 214, the hyperlinks between Web pages being generated by step 213, display and user input on the browser of terminal 140
Data fingerprint relationship trading details, as shown in Figure 6.
Specifically, user obtains the transaction related to the data fingerprint of user input by clicking the transaction id on webpage
Details.
The inquiry of data fingerprint is described in detail below.
Data fingerprint is to carry out, to digital asset relevant information, the cryptographic Hash that Hash operation obtains, and data fingerprint is embedded into
In the transaction of one stroke numeral assets.The transaction of one stroke numeral assets includes transaction input (transantion in, abbreviation tx in)
With transaction output (transantion out, abbreviation tx out).This tx in includes source address, time, the amount of money or quantity etc..
This Tx out includes destination address, the amount of money or quantity etc..
In database, the Transaction Information of each stroke numeral assets is stored in multiple different forms, such as tx
Out table, tx in table, this tx out table includes txout_id (transaction output identification), tx_id (transaction ID), txout_pos
(transaction outgoing position), txout_scriptPubkey (transaction output script public key), pubkey_id (public key mark), this tx
In table includes txin_id (transaction input mark), tx_id (transaction ID), txin_pos (transaction input position), txout_id
(transaction output identification), txin_scriptSig (transaction input script signature), txin_sequence (transaction list entries).
Block chain reader is inquired about data fingerprint in the following manner and is obtained transaction record:
(1) judge whether the data fingerprint of user input is effective;
(2) pass through database query command such as database command select, extract from above-mentioned tx out table and contain only number
Transaction record according to fingerprint;As the friendship containing data fingerprint is determined according to the txout_scriptPubkey list item in tx out table
Easily record;
(3) pass through database bind command such as database command join, obtain the number corresponding with the data fingerprint of input
Word transaction in assets record details;
(4) return Query Result, and generate webpage.
Fig. 7 is the data fingerprint inquiry unit schematic diagram based on block chain that one embodiment of the invention provides.Device 700
Including transaction data writing module 704, assets flap-list generation module 705, data fingerprint referral web site generation module 707,
Transaction data acquisition module 708.
Further, this device also includes block chain reader installation module 701, configuration module 702, block chain reader
Starting module 703, class of assets name acquiring module 706.
Module 701 installed by block chain reader, for installing block chain reader.Specifically, block chain reader is installed
Module 701 is additionally operable to run the software kit of this block chain reader, the software kit of this block chain reader by Python and
Mysql language is realized, such as Abe software.
Configuration module 702 is used for changing the configuration file of this block chain reader, including this block chain reader of setting
Operational factor, and the parameter that this block chain reader is connected with this data block is set.
Block chain reader starting module 703, for starting described block chain reader.For example, by looking in block chain
See that device 120 inputs following order line, start block chain reader:
python-m Abe.abe-main–configmyconf.conf--commit-bytes 100000
Transaction data writing module 704, for by the transaction data write into Databasce on block chain.
Specifically, transaction data writing module 704 is used for being written to the transaction data on block chain from block chain node
In database.
In one example, the transaction data that block chain reader reads from block chain node includes:Transaction id (transaction
Mark), data fingerprint, the source address (from address) of digital asset, the destination address (to address) of digital asset,
The number such as exchange hour, digital asset mark (Asset Index), digital asset English symbol (symbol), class of assets title
The details of word transaction in assets record.
Assets flap-list generation module 705, for generating assets flap-list, this assets mark according to this transaction data
List at least includes digital asset mark, class of assets title.
Specifically, assets flap-list generation module 705 is used for the transaction data according to write to database, in this number
According to generation assets flap-list (Asset Index list) in storehouse.In this Asset Index list, at least include numeral money
Produce English symbol (symbol), digital asset mark (Asset Index), class of assets title (Asset Type), specifically may be used
Referring to upper table 1.
Additionally, whenever having new digital asset to issue, assets flap-list generation module 705 will update Asset
Index list, new Asset Index, class of assets title and digital asset English mark are updated to Asset Index
In list.For example, after having new digital asset to issue success, user is by filling in the side that Asset Index list is table 1
Formula, updates this Asset Index list.
Further, Asset Index and corresponding with this Asset Index is generated according to the new transaction record producing
Asset Type.
In one example, obtain Asset Index in the following manner:Transaction data on block chain node is being write
When entering to database, obtain the field in this transaction data, generated in this transaction record by the field in this transaction data
Asset Index.
Class of assets name acquiring module 706, the digital asset mark for the transaction record based on this new generation and should
Assets flap-list, obtains the class of assets title of the transaction record of this new generation.
In one example, class of assets name acquiring module 706 specifically for:Number by the transaction record of this new generation
Word assets mark is mated with each digital asset mark in this assets flap-list;If the transaction record of this new generation
Digital asset mark is matched with one of this assets flap-list digital asset mark, then obtain from this assets flap-list
Take corresponding class of assets title;If being somebody's turn to do in the digital asset mark of the transaction record of this new generation and this assets flap-list
Digital asset mark all mismatches, then mark the digital asset flag category of this newly-generated transaction record entitled unknown.
Further, when getting class of assets title, by this class of assets title and corresponding data fingerprint, source ground
Location, destination address, exchange hour, transaction ID are written in described database.When this digital asset flag category is entitled not
When knowing, by this unknown digital asset item name and corresponding data fingerprint, source address, destination address, exchange hour, transaction
Mark is written in this database.
Data fingerprint referral web site generation module 707 is used for generating the referral web site domain name of the data fingerprint of digital asset,
For inquiry.
In one example, data fingerprint referral web site generation module 707 is used for changing auto-building html files function, thus will provide
Produce item name to be added in Query Result return webpage.
Transaction data acquisition module 708 is used for the data fingerprint of receives input, whether effectively to judge this data fingerprint, if
Effectively, then extract the transaction record only including data fingerprint from database;Only include the transaction note of data fingerprint from this
Obtain the transaction data of this input data fingerprint in record, return this transaction data, generate hyperlinks between Web pages.Wherein, in this input
In the hyperlinks between Web pages of return transaction data of data fingerprint, comprise this class of assets title.
In one example, whether effective by following condition criterion data fingerprint:
(1) 64 character string;
(2) character string ending is digital 0-9, the combination of this three class of alphabetical a-f or A-F;
(3) query argument meet according to condition (1), (2) and generate python regular expression pattern (pattern).
Professional should further appreciate that, each example describing in conjunction with the embodiments described herein
Unit and algorithm steps, can be hard in order to clearly demonstrate with electronic hardware, computer software or the two be implemented in combination in
Part and the interchangeability of software, generally describe composition and the step of each example in the above description according to function.
These functions to be executed with hardware or software mode actually, the application-specific depending on technical scheme and design constraint.
Professional and technical personnel can use different methods to each specific application realize described function, but this realization
It is not considered that it is beyond the scope of this invention.
The step of the method in conjunction with the embodiments described herein description or algorithm can be with hardware, computing device
Software module, or the combination of the two is implementing.Software module can be placed in random access memory (RAM), internal memory, read-only storage
(ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technical field
In interior known any other form of storage medium.
Above-described specific embodiment, has been carried out to the purpose of the present invention, technical scheme and beneficial effect further
Describe in detail, be should be understood that the specific embodiment that the foregoing is only the present invention, be not intended to limit the present invention
Protection domain, all any modification, equivalent substitution and improvement within the spirit and principles in the present invention, done etc., all should comprise
Within protection scope of the present invention.
Claims (10)
1. a kind of data fingerprint querying method based on block chain is it is characterised in that include:
Block chain reader is by the transaction data write into Databasce on block chain;
Assets flap-list is generated in the database according to described transaction data, described assets flap-list at least includes counting
Word assets mark Asset Index, class of assets title Asset Type;
Generate the referral web site domain name of the data fingerprint of digital asset, for inquiry;
Whether effectively the data fingerprint of receives input, judge described data fingerprint, if it is valid, extracting from described database
Only include the transaction record of data fingerprint;
Obtain the transaction data of described input data fingerprint from the described transaction record only including data fingerprint, return described
Transaction data, generates hyperlinks between Web pages;
Wherein, in the hyperlinks between Web pages of the return transaction data of described input data fingerprint, comprise described class of assets title.
2. method according to claim 1 is it is characterised in that for the new transaction record producing, described block chain is checked
The digital asset mark of the transaction record of described new generation is entered by device with each digital asset mark in described assets flap-list
Row coupling;
If the digital asset mark of the transaction record of described new generation and one of described assets flap-list digital asset
Mark matches, then obtain corresponding class of assets title from described assets flap-list;
If all digital assets in the digital asset mark of the transaction record of described new generation and described assets flap-list
Mark all mismatches, then mark the digital asset flag category of described newly-generated transaction record entitled unknown.
3. method according to claim 2 it is characterised in that described get corresponding class of assets title after, bag
Include:Described class of assets title and corresponding data fingerprint, source address, destination address, exchange hour, transaction ID are written to institute
State in database.
4. method according to claim 1 is it is characterised in that methods described also includes:
Start described block chain reader;
Change the configuration file of described block chain reader, including the operational factor arranging described block chain reader, Yi Jishe
Put the parameter that described block chain reader is connected with described data block.
5. method according to claim 1 is it is characterised in that after the data fingerprint of receives input, including:Will be described
The data fingerprint of input is read in query argument;
Judge whether the query argument of the data fingerprint comprising described input comprises effective data fingerprint, to determine described data
Whether fingerprint is effective.
6. method according to claim 1 is it is characterised in that when there being new digital asset to issue, ordered by database
Order updates described assets flap-list, including the described class of assets title of renewal.
7. a kind of data fingerprint inquiry unit based on block chain is it is characterised in that include:
Transaction data writing module, for by the transaction data write into Databasce on block chain;
Assets flap-list generation module, for assets flap-list is generated in the database according to described transaction data,
Described assets flap-list at least includes digital asset mark, class of assets title;
Data fingerprint referral web site generation module, for generating the referral web site domain name of the data fingerprint of digital asset, for looking into
Ask;
Transaction data acquisition module, the data fingerprint of receives input, whether effectively to judge described data fingerprint, if it is valid,
The transaction record only including data fingerprint is extracted from described database;From the described transaction record only including data fingerprint
The middle transaction data obtaining described input data fingerprint, returns described transaction data, generates hyperlinks between Web pages;
Wherein, in the hyperlinks between Web pages of the return transaction data of described input data fingerprint, comprise described class of assets title.
8. device according to claim 7 is it is characterised in that also include:
Class of assets name acquiring module:For by the digital asset mark of the transaction record of described new generation and described assets mark
Each digital asset mark in will list is mated;
If the digital asset mark of the transaction record of described new generation and one of described assets flap-list digital asset
Mark matches, then obtain corresponding class of assets title from described assets flap-list;
If all digital assets in the digital asset mark of the transaction record of described new generation and described assets flap-list
Mark all mismatches, then mark the digital asset flag category of described newly-generated transaction record entitled unknown.
9. device according to claim 7 is it is characterised in that described device also includes:
Configuration module, for changing the configuration file of described block chain reader, including the fortune arranging described block chain reader
Line parameter, and the parameter that described block chain reader is connected with described data block is set.
10. device according to claim 7 is it is characterised in that described transaction data acquisition module is specifically for will be described
The data fingerprint of input is read in query argument, judges whether the query argument of the data fingerprint comprising described input includes
The data fingerprint of effect, to determine whether described data fingerprint is effective.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610542854.1A CN106445993A (en) | 2016-07-11 | 2016-07-11 | Data fingerprint query method and device based on block chain |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610542854.1A CN106445993A (en) | 2016-07-11 | 2016-07-11 | Data fingerprint query method and device based on block chain |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106445993A true CN106445993A (en) | 2017-02-22 |
Family
ID=58183394
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610542854.1A Pending CN106445993A (en) | 2016-07-11 | 2016-07-11 | Data fingerprint query method and device based on block chain |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106445993A (en) |
Cited By (22)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107169371A (en) * | 2017-04-27 | 2017-09-15 | 北京众享比特科技有限公司 | A kind of database operation method and system based on block chain |
CN107451179A (en) * | 2017-03-24 | 2017-12-08 | 北京瑞卓喜投科技发展有限公司 | For the querying method and system of the block chain integrally corrected errors in printing for increasing block |
CN107481140A (en) * | 2017-07-24 | 2017-12-15 | 湖南搜云网络科技股份有限公司 | Voucher identification code processing method and system, server and storage medium |
CN107562775A (en) * | 2017-07-14 | 2018-01-09 | 阿里巴巴集团控股有限公司 | A kind of data processing method and equipment based on block chain |
CN107590659A (en) * | 2017-09-07 | 2018-01-16 | 中链科技有限公司 | Allocation of landownership and land use right data processing method, system and computer-readable recording medium |
WO2018172839A1 (en) * | 2017-03-19 | 2018-09-27 | International Business Machines Corporation | Automatic generating analytics from blockchain data |
CN108777698A (en) * | 2018-04-13 | 2018-11-09 | 深圳市元征科技股份有限公司 | Webpage storage method, system and block chain node device |
CN108805380A (en) * | 2017-05-04 | 2018-11-13 | 上海诺亚投资管理有限公司 | A kind of financial product income evaluation method and system based on block chain |
CN109033403A (en) * | 2018-08-03 | 2018-12-18 | 上海点融信息科技有限责任公司 | For searching for the method, apparatus and storage medium of block chain data |
CN109063138A (en) * | 2018-08-03 | 2018-12-21 | 上海点融信息科技有限责任公司 | For in block chain, that is, service platform search data method, equipment and storage medium |
CN109086413A (en) * | 2018-08-03 | 2018-12-25 | 上海点融信息科技有限责任公司 | For searching for the method, equipment and readable storage medium storing program for executing of block chain data |
CN109086414A (en) * | 2018-08-03 | 2018-12-25 | 上海点融信息科技有限责任公司 | For searching for the method, apparatus and storage medium of block chain data |
CN109145209A (en) * | 2018-08-03 | 2019-01-04 | 上海点融信息科技有限责任公司 | For searching for the method, apparatus and storage medium of block chain data |
CN109325039A (en) * | 2018-06-07 | 2019-02-12 | 海南新软软件有限公司 | A kind of block chain browser and block chain information browsing method |
CN109885583A (en) * | 2019-01-17 | 2019-06-14 | 平安城市建设科技(深圳)有限公司 | Data query method, apparatus, equipment and storage medium based on block chain |
US10452998B2 (en) | 2017-03-19 | 2019-10-22 | International Business Machines Corporation | Cognitive blockchain automation and management |
CN110457946A (en) * | 2018-12-05 | 2019-11-15 | 腾讯科技(深圳)有限公司 | Digital asset generation method, device, electronic equipment and storage medium |
CN110874365A (en) * | 2019-11-20 | 2020-03-10 | 深圳市网心科技有限公司 | Information query method and related equipment thereof |
CN111030978A (en) * | 2019-06-19 | 2020-04-17 | 哈尔滨安天科技集团股份有限公司 | Malicious data acquisition method and device based on block chain and storage device |
TWI698813B (en) * | 2017-03-28 | 2020-07-11 | 香港商阿里巴巴集團服務有限公司 | Method and device for data storage and query based on blockchain |
US10984483B2 (en) | 2017-03-19 | 2021-04-20 | International Business Machines Corporation | Cognitive regulatory compliance automation of blockchain transactions |
CN116738495A (en) * | 2023-08-16 | 2023-09-12 | 北京遥感设备研究所 | Access control processing method based on purpose self-adaption |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101159054A (en) * | 2007-11-14 | 2008-04-09 | 范传东 | Method for realizing currency money payment through mobile communication appliance channel |
CN105427104A (en) * | 2015-12-08 | 2016-03-23 | 布比(北京)网络技术有限公司 | Method and method for handling digital assets by means of distributed general ledger |
-
2016
- 2016-07-11 CN CN201610542854.1A patent/CN106445993A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101159054A (en) * | 2007-11-14 | 2008-04-09 | 范传东 | Method for realizing currency money payment through mobile communication appliance channel |
CN105427104A (en) * | 2015-12-08 | 2016-03-23 | 布比(北京)网络技术有限公司 | Method and method for handling digital assets by means of distributed general ledger |
Cited By (43)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110447022A (en) * | 2017-03-19 | 2019-11-12 | 国际商业机器公司 | Block chain data automatically generate analysis |
US10984483B2 (en) | 2017-03-19 | 2021-04-20 | International Business Machines Corporation | Cognitive regulatory compliance automation of blockchain transactions |
US10997142B2 (en) | 2017-03-19 | 2021-05-04 | International Business Machines Corporation | Cognitive blockchain automation and management |
US10452998B2 (en) | 2017-03-19 | 2019-10-22 | International Business Machines Corporation | Cognitive blockchain automation and management |
US10515233B2 (en) | 2017-03-19 | 2019-12-24 | International Business Machines Corporation | Automatic generating analytics from blockchain data |
WO2018172839A1 (en) * | 2017-03-19 | 2018-09-27 | International Business Machines Corporation | Automatic generating analytics from blockchain data |
US11176277B2 (en) | 2017-03-19 | 2021-11-16 | International Business Machines Corporation | Automatic generating analytics from blockchain data |
CN107451179B (en) * | 2017-03-24 | 2020-09-15 | 北京瑞卓喜投科技发展有限公司 | Query method and system for block chain for increasing overall error of block |
CN107451179A (en) * | 2017-03-24 | 2017-12-08 | 北京瑞卓喜投科技发展有限公司 | For the querying method and system of the block chain integrally corrected errors in printing for increasing block |
US11204915B2 (en) | 2017-03-28 | 2021-12-21 | Advanced New Technologies Co., Ltd. | Blockchain-based data storage and query method and device |
TWI698813B (en) * | 2017-03-28 | 2020-07-11 | 香港商阿里巴巴集團服務有限公司 | Method and device for data storage and query based on blockchain |
US10942921B2 (en) | 2017-03-28 | 2021-03-09 | Advanced New Technologies Co., Ltd. | Blockchain-based data storage and query method and device |
US10713239B2 (en) | 2017-03-28 | 2020-07-14 | Alibaba Group Holding Limited | Blockchain-based data storage and query method and device |
CN107169371B (en) * | 2017-04-27 | 2019-11-22 | 北京众享比特科技有限公司 | A kind of database operation method and system based on block chain |
CN107169371A (en) * | 2017-04-27 | 2017-09-15 | 北京众享比特科技有限公司 | A kind of database operation method and system based on block chain |
CN108805380A (en) * | 2017-05-04 | 2018-11-13 | 上海诺亚投资管理有限公司 | A kind of financial product income evaluation method and system based on block chain |
US11093523B2 (en) | 2017-07-14 | 2021-08-17 | Advanced New Technologies Co., Ltd. | Blockchain based data processing method and device |
US10789270B2 (en) | 2017-07-14 | 2020-09-29 | Alibaba Group Holding Limited | Blockchain based data processing method and device |
CN107562775A (en) * | 2017-07-14 | 2018-01-09 | 阿里巴巴集团控股有限公司 | A kind of data processing method and equipment based on block chain |
CN107562775B (en) * | 2017-07-14 | 2020-04-24 | 创新先进技术有限公司 | Data processing method and device based on block chain |
CN107481140B (en) * | 2017-07-24 | 2021-02-09 | 湖南搜云网络科技股份有限公司 | Voucher identification code processing method and system, server and storage medium |
CN107481140A (en) * | 2017-07-24 | 2017-12-15 | 湖南搜云网络科技股份有限公司 | Voucher identification code processing method and system, server and storage medium |
CN107590659A (en) * | 2017-09-07 | 2018-01-16 | 中链科技有限公司 | Allocation of landownership and land use right data processing method, system and computer-readable recording medium |
CN108777698A (en) * | 2018-04-13 | 2018-11-09 | 深圳市元征科技股份有限公司 | Webpage storage method, system and block chain node device |
CN109325039A (en) * | 2018-06-07 | 2019-02-12 | 海南新软软件有限公司 | A kind of block chain browser and block chain information browsing method |
WO2020024904A1 (en) * | 2018-08-03 | 2020-02-06 | 上海点融信息科技有限责任公司 | Method and device for searching blockchain data, and readable storage medium |
CN109033403A (en) * | 2018-08-03 | 2018-12-18 | 上海点融信息科技有限责任公司 | For searching for the method, apparatus and storage medium of block chain data |
CN109033403B (en) * | 2018-08-03 | 2020-05-12 | 上海点融信息科技有限责任公司 | Method, apparatus and storage medium for searching blockchain data |
CN109063138A (en) * | 2018-08-03 | 2018-12-21 | 上海点融信息科技有限责任公司 | For in block chain, that is, service platform search data method, equipment and storage medium |
CN109145209B (en) * | 2018-08-03 | 2020-12-29 | 上海点融信息科技有限责任公司 | Method, apparatus and storage medium for searching blockchain data |
CN109086413A (en) * | 2018-08-03 | 2018-12-25 | 上海点融信息科技有限责任公司 | For searching for the method, equipment and readable storage medium storing program for executing of block chain data |
CN109063138B (en) * | 2018-08-03 | 2021-07-30 | 上海点融信息科技有限责任公司 | Method, apparatus, and storage medium for searching data in a blockchain as a service platform |
CN109086414A (en) * | 2018-08-03 | 2018-12-25 | 上海点融信息科技有限责任公司 | For searching for the method, apparatus and storage medium of block chain data |
CN109145209A (en) * | 2018-08-03 | 2019-01-04 | 上海点融信息科技有限责任公司 | For searching for the method, apparatus and storage medium of block chain data |
CN110457946A (en) * | 2018-12-05 | 2019-11-15 | 腾讯科技(深圳)有限公司 | Digital asset generation method, device, electronic equipment and storage medium |
CN110457946B (en) * | 2018-12-05 | 2021-01-26 | 腾讯科技(深圳)有限公司 | Digital asset generation method and device, electronic equipment and storage medium |
CN109885583A (en) * | 2019-01-17 | 2019-06-14 | 平安城市建设科技(深圳)有限公司 | Data query method, apparatus, equipment and storage medium based on block chain |
CN111030978A (en) * | 2019-06-19 | 2020-04-17 | 哈尔滨安天科技集团股份有限公司 | Malicious data acquisition method and device based on block chain and storage device |
CN111030978B (en) * | 2019-06-19 | 2022-11-25 | 安天科技集团股份有限公司 | Malicious data acquisition method and device based on block chain and storage device |
CN110874365A (en) * | 2019-11-20 | 2020-03-10 | 深圳市网心科技有限公司 | Information query method and related equipment thereof |
CN110874365B (en) * | 2019-11-20 | 2023-11-17 | 深圳市迅雷网络技术有限公司 | Information query method and related equipment thereof |
CN116738495A (en) * | 2023-08-16 | 2023-09-12 | 北京遥感设备研究所 | Access control processing method based on purpose self-adaption |
CN116738495B (en) * | 2023-08-16 | 2024-01-02 | 北京遥感设备研究所 | Access control processing method based on purpose self-adaption |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106445993A (en) | Data fingerprint query method and device based on block chain | |
Wu et al. | Application of Internet of Things and blockchain technologies to improve accounting information quality | |
US11244388B2 (en) | Methods and systems for assessing performance and risk in financing supply chain | |
US9646058B2 (en) | Methods, systems, and computer program products for generating data quality indicators for relationships in a database | |
JP2021534486A (en) | Upgradeable securities tokens | |
Lapavitsas et al. | Financialisation in developing countries: approaches, concepts, and metrics | |
JP2020507158A (en) | Computer-implemented systems and methods for generating and extracting user-related data stored on a blockchain | |
CN101132395B (en) | Method and system for implementing data synchronization between servers | |
JP2010529535A5 (en) | ||
Filatova | Smart contracts from the contract law perspective: outlining new regulative strategies | |
Acciaio et al. | Weak transport for non‐convex costs and model‐independence in a fixed‐income market | |
CN110942312A (en) | POS machine cash register identification method, system, equipment and storage medium | |
Lin et al. | The regulation change in consolidation rules and the incentives for earnings management activities via related party transactions | |
US20230049791A1 (en) | Federated data room server and method for use in blockchain environments | |
US20210158338A1 (en) | Method for indexing domain to digital asset | |
Guizani | Investment-cash flow sensitivity: a macroeconomic approach | |
Kirikos | Monetary policy effectiveness in the liquidity trap: a switching regimes approach | |
Hamzah et al. | Determinants of capital structure: a conceptual understanding of oil and gas firms in Malaysia | |
KR102080769B1 (en) | System and method for mining financial information based on private finanacial code | |
Brahem et al. | What drives trademarks registration among Tunisian clothing firms? An econometric investigation | |
CN101739648A (en) | Control method and control system for monitoring financial assets | |
CN110471932A (en) | Invoice management method and system based on block chain | |
Vu et al. | Research on comparing Z-Score, O-Score and X-Score models in analyzing factors affecting financial risk in medical companies listed on Vietnam stock market | |
Jeon et al. | Finite time-horizon optimal investment and consumption with time-varying subsistence consumption constraints | |
Binda | E-business challenges in the field of payment solutions-Bitcoin a sustainable currency or gambling |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170222 |