CN109101607A - For searching for the method, apparatus and storage medium of block chain data - Google Patents

For searching for the method, apparatus and storage medium of block chain data Download PDF

Info

Publication number
CN109101607A
CN109101607A CN201810877497.3A CN201810877497A CN109101607A CN 109101607 A CN109101607 A CN 109101607A CN 201810877497 A CN201810877497 A CN 201810877497A CN 109101607 A CN109101607 A CN 109101607A
Authority
CN
China
Prior art keywords
block chain
data
chain data
uniform resource
resource location
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
Application number
CN201810877497.3A
Other languages
Chinese (zh)
Other versions
CN109101607B (en
Inventor
肖诗源
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Point Information Technology Co Ltd
Original Assignee
Shanghai Point Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Point Information Technology Co Ltd filed Critical Shanghai Point Information Technology Co Ltd
Priority to CN201810877497.3A priority Critical patent/CN109101607B/en
Publication of CN109101607A publication Critical patent/CN109101607A/en
Priority to PCT/CN2019/098169 priority patent/WO2020024898A1/en
Application granted granted Critical
Publication of CN109101607B publication Critical patent/CN109101607B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The present disclosure provides a kind of methods for searching for block chain data, which comprises the webpage read requests that A. is sent via hypertext transfer protocol interface by search engine, the webpage read requests include the first uniform resource location;B. information associated with block chain and the first block chain data at first uniform resource location are obtained;C. at least one second uniform resource location is judged whether there is, wherein the second block chain data at least one described second uniform resource location are associated with the first block chain data;D. in the case where there is at least one described second uniform resource location, webpage associated with the first uniform resource location is generated according to the first block chain data and at least one described second uniform resource location;And the webpage and information associated with the block chain are back to described search engine via the hypertext transfer protocol interface by E..

Description

For searching for the method, apparatus and storage medium of block chain data
Technical field
The content of present invention is related to block chaining search technology, relates more particularly to a kind of for searching for the side of block chain data Method, it is a kind of for execute it is above-mentioned for search for the method for block chain data for searching for the device and one kind of block chain data Corresponding computer readable storage medium.
Background technique
Search engine refers to that collect information from WWW automatically is supplied to user and inquires after centainly arranging System.During search engine collects information, using being referred to as, web crawler (Spider) is each to connect Hyperlink on a webpage.Web crawler is according to webpage chain to hyperlink therein, just as in daily life described " one Pass ten, ten and pass hundred ... " equally, since a few webpage, it is connected to web page interlinkage every other on network.Theoretically, If there is hyperlink appropriate on webpage, web crawler can traverse most webpages.
Block chain (Blockchain) is the intelligent peer-to-peer network with distributed data base identification, propagation and information-recording Network, also referred to as value internet.So-called value internet, refer to allow users to it is convenient, fast by network, at low cost Transmitting value.
Summary of the invention
The embodiment provides a kind of for searching for the method, apparatus and computer-readable storage of block chain data Medium allows search engine to collect information from block chain network and at the same time obtaining information associated with block chain, Such as the owner of the node of the number of nodes of block chain, the identity information of the owner of the node of block chain and/or block chain Quantity, thus realize for block chain network search service and according to information associated with block chain to search tie Fruit is ranked up.
For this purpose, a kind of method for searching for block chain data is provided in the first aspect of the embodiment of the present invention, The described method includes:
A. the webpage read requests sent via hypertext transfer protocol interface by search engine, the webpage are read Request includes the first uniform resource location;
B. information associated with block chain and the first block at first uniform resource location are obtained Chain data;
C. at least one second uniform resource location is judged whether there is, wherein at least one described second system The second block chain data at one resource locator address are associated with the first block chain data;
D. in the case where there is at least one described second uniform resource location, according to the first block chain number Net associated with first uniform resource location is generated according to at least one described second uniform resource location Page;And
E. the webpage and information associated with the block chain are returned via the hypertext transfer protocol interface To described search engine.
In addition, the second aspect of the embodiment of the present invention additionally provide it is a kind of for searching for the device of block chain data, institute Stating data set includes: processor;And memory makes the processing when described instruction executes for storing instruction Device executes following operation:
A. the webpage read requests sent via hypertext transfer protocol interface by search engine, the webpage are read Request includes the first uniform resource location;
B. information associated with block chain and the first block at first uniform resource location are obtained Chain data;
C. at least one second uniform resource location is judged whether there is, wherein at least one described second system The second block chain data at one resource locator address are associated with the first block chain data;
D. in the case where there is at least one described second uniform resource location, according to the first block chain number Net associated with first uniform resource location is generated according to at least one described second uniform resource location Page;And
E. the webpage and information associated with the block chain are returned via the hypertext transfer protocol interface To described search engine.
In addition, the third aspect of the embodiment of the present invention provides a kind of method for searching for block chain data, it is described Method includes:
M. the webpage generated according to its block chain data and information associated with block chain are received from block chain node;
N. searching request is received;
O. it is requested based on described search, search result associated with block chain is obtained from database, wherein the number According to library for storing by the index of the auto-building html files;And
P. described search result is ranked up based on information associated with the block chain.
The fourth aspect of the embodiment of the present invention provides a kind of for searching for the device of block chain data, described device packet It includes:
Processor;And
Memory makes the processor execute following operation when described instruction executes for storing instruction:
M. the webpage generated according to its block chain data and information associated with block chain are received from block chain node;
N. searching request is received;
O. it is requested based on described search, search result associated with block chain is obtained from database, wherein the number According to library for storing by the index of the auto-building html files;And
P. described search result is ranked up based on information associated with the block chain.
5th aspect of the embodiment of the present invention provides a kind of computer readable storage medium, has and is stored thereon Computer-readable program instructions, the computer-readable program instructions for execute according to a first aspect of the embodiments of the present invention The method for searching for block chain data.
6th aspect of the embodiment of the present invention provides a kind of computer readable storage medium, has and is stored thereon Computer-readable program instructions, the computer-readable program instructions for execute according to a third aspect of the embodiments of the present invention The method for searching for block chain data.
In an embodiment of the present invention, block chain node can also will associated with block chain information (such as block The number of nodes of chain, the identity information of the owner of the node of block chain and/or quantity of owner of node of block chain etc.) Search engine is returned to together, so that search engine can be based on information associated with the block chain to search result Be ranked up, Optimal scheduling as a result, enable the search engine user's fast accurate obtain search result.In addition, logical Crossing increase hypertext transfer protocol interface makes block chain node can handle the request sent by search engine;Furthermore pass through Block chain data are generated as webpage, so that search engine is available, handle and stores the block chain for being presented as form web page Data;In addition, enabling search engine to pass through traversal by the way that uniform resource location to be added in webpage generated The mode of webpage can traverse block chain data.Therefore, embodiment through the invention, allows search engine to retrieve area Block chain data are realized so that the user of search engine can search for information present in block chain by search engine For the search service of block chain network.In addition to the advantages described above, other advantages of the invention will be hereinafter into one Walk explanation.
Detailed description of the invention
It refers to the following detailed description in conjunction with the accompanying drawings, the feature, advantage and other aspects of various embodiments of the present invention will become Must be more obvious, show several embodiments of the invention by way of example rather than limitation herein, in the accompanying drawings:
Fig. 1 shows the flow chart of the method 100 for searching for block chain data of one embodiment according to the present invention;
Fig. 2 shows the schematic diagrames 200 of the block chain data for taking key assignments mode to store with attribute A1;
Fig. 3 shows point account book to store the schematic diagram 300 of public data and private data;
Fig. 4 shows the example of the block chain data 400 with attribute A2 stored in a manner of key assignments (Key/Value); And
Fig. 5 shows the process of the method 500 for searching for block chain data of another embodiment according to the present invention Figure;
Fig. 6 shows the schematic diagram of the device 600 for searching for block chain data of one embodiment according to the present invention; And
Fig. 7 shows the signal of the device 700 for searching for block chain data of another embodiment according to the present invention Figure.
Specific embodiment
Below with reference to each exemplary embodiment of attached drawing detailed description of the present invention.Although examples described below side Method, device include the software and/or firmware executed on hardware in other components, it should be noted that these examples are only It is merely illustrative, and is not to be taken as restrictive.For example, it is contemplated that within hardware exclusively, in software exclusively or Any or all hardware, software and fastener components can be implemented in any combination of hardware and software.Therefore, although below Illustrative method and apparatus are described, but those skilled in the art should be easily understood that, provided example is not used to Limit the mode for realizing these method and apparatus.
In addition, flowcharts and block diagrams in the drawings show method and system according to various embodiments of the present invention can The architecture, function and operation being able to achieve.It should be noted that function marked in the box can also be according to different from attached drawing The sequence marked occurs.For example, two boxes succeedingly indicated can actually be basically executed in parallel or they have When can also execute in a reverse order, this depend on related function.It should also be noted that flow chart and/or Function as defined in execution or behaviour can be used in the combination of each box in block diagram and the box in flowchart and or block diagram The dedicated hardware based system made is realized, or the combination of specialized hardware and computer instruction can be used to realize.
" reading " in term " webpage read requests " in the content of present invention include gone by search engine crawl webpage and Webpage is obtained by user equipment by user, wherein obtain webpage by user equipment and specifically refer to user and pass through user Equipment come inquire or browse by block chain data generate webpage.
Term " user equipment " in the content of present invention refer to including but not limited to smart phone, tablet computer, desktop computer, The intelligent terminal of laptop.
Term " uniform resource location " in the content of present invention refers to the address of the resource of standard on internet, also known as Uniform resource locator (URL:Uniform Resource Locator) or web page address.Correspondingly, in the content of present invention Term " the first uniform resource location " refers to that the method for searching for block chain data proposed according to the present invention executes When the same level uniform resource location, i.e. the same level URL;And the term " the second uniform resource location " in the content of present invention Refer to the uniform resource location of next stage when the method for searching for block chain data proposed according to the present invention executes, That is secondary URL.
Term " the first block chain data " in the content of present invention refers in block chain in the first uniform resource location The block chain data at place;Correspond ground, the term " the second block chain data " in the content of present invention refer in block chain Block chain data at second uniform resource location.
Term " public data " in the content of present invention, which refers to, does not need the i.e. addressable data of authentication, and " privacy Data ", which refer to, needs authentication just addressable data.
Term " attribute A1 " in the content of present invention refers to the data analysis method for indicating the block chain data Data format name or be used to indicate the block chain data data analysis method data format analytical function name, data format Analysis service address or data format parse intelligent contract address.And term " attribute A2 " is hidden for label pad chain data It is private or openly, wherein when the block chain data are public data, " attribute A2 " has the first value, and works as the block When chain data are private data, " attribute A2 " has the second value different from first value.
Term " first ", " second " in the content of present invention are only used for description reference, purpose or certain specific things, and cannot It is interpreted as indication or suggestion relative importance, or implicitly indicates the quantity of indicated technical characteristic.
Term " multiple " in the content of present invention refers to two or more.
Occur term " retrieval " and " search " in the content of present invention, wherein term " retrieval " refers to that search engine passes through Web crawler for the crawl of block chain data, processing, establish and index and the process of traversal, and term " search " refers to and searches Index holds up reception user and inputs looking into for the web page contents for establishing index before after keyword on the search engine page It looks for.
Statement " the second block chain number at least one described second uniform resource location in the content of present invention According to associated with the first block chain data " refer to hierarchy attributes included by the first block chain data and predefines Hierarchical relationship tree table it is bright with the presence or absence of in the second uniform resource location the second block chain data incidence relation.
Term " hierarchical relationship tree " in the content of present invention, which refers to, predetermined shows accessed block chain data institute The logical relation tree of the hierarchical structure of the webpage of generation.
Term " hierarchy attributes " in the content of present invention, which refers to, shows that unified resource associated with read webpage is fixed Bit address belongs to the information of which layer in above-mentioned hierarchical relationship tree.
Term " the first attribute " in the content of present invention is privacy or openly for label pad chain data, wherein art Language " the first value " indicates that the block chain data being associated are public data, and term " second value " indicates the block being associated Chain data are private data.
It is i.e. addressable that term " open account book " in the content of present invention refers to that wherein only storage does not need authentication The block chain account book of public data.
Term " privacy account book " in the content of present invention refers to that wherein only storage needs authentication just addressable hidden The block chain account book of private data.
Term " the open region of account book " in the content of present invention refers in account book for storing the region of public data.
Term " privacy area of account book " in the content of present invention refers in account book for storing the region of private data.
As described above, the user of search engine can not search for the number on block chain by current search engine According to.In order to realize the search service haveing excellent performance for being directed to block chain network, the embodiment of the present invention is primarily upon following problems: Search engine can not currently retrieve block chain data, so that the user of search engine can not search for block chain data, in addition, Since block chain data can not be searched for, also just let alone how the search result of block chain data is ranked up.
Other than above-mentioned technical problem underlying, the various technical solutions of the embodiment of the present invention can also solve as follows Problem, i.e., current block chain node can not handle the hypertext transfer protocol requests of search engine transmission;Secondly, current searches Index hold up be the web storage that will retrieve in the database, directly obtained from database after the searching request for receiving user Corresponding webpage information is taken to be supplied to user.However, information is stored with specific data format in block chain network, It is not web page text form.Furthermore current network search engines are web crawler come by way of grabbing webpage Carry out the information in traverses network, but current search engine can not traverse the block chain data in block chain network.
Furthermore since current search engine is in addition to the data that cannot search on block chain, current search engine Also it just let alone to the search result for being originated from block chain data is ranked up according to the associated information of block chain.
In addition, what current search engine searched for all should be public data, and block chain network may deposit simultaneously Public data and private data are stored up, these two types of data should be distinguished in search process.
To solve these problems, the search service for being directed to block chain network is realized, the embodiment of the present invention provides firstly A kind of hypertext transfer protocol interface, the hypertext transfer protocol interface is for example in block chain node, so that block chain link Point is capable of handling the hypertext transfer protocol requests sent by search engine.Search engine is being enabled to retrieve block chain data In the case where, block chain can also return to information associated with the block chain to search engine, these information include following In at least one of: the number of nodes of the i.e. described block chain, the owner of the node of the block chain identity information, described The quantity of the owner of the node of block chain, the creation time of the block chain, addition time of node of the block chain etc., So that search engine can be ranked up search result after having grasped these information, so that the most accurately search As the result is shown in front, so that the user of search engine can obtain most accurate information.
In addition, the embodiments of the present invention also provide by the data conversion of the specific data format such as XML or JSON For the method for webpage.Furthermore the embodiment of the present invention using the uniform resource location of other webpages as information by being added Into the webpage, enables search engine by the web page interlinkage to other webpages, realize the net for block chain network Page crawl function.In addition, the embodiment of the present invention also directed in block chain network public data and private data carried out area Divide processing.Furthermore the embodiment of the present invention is by extraly returning information associated with block chain, example when returning to webpage Such as the owner of the identity information of the owner of the number of nodes of block chain, the node of block chain and/or the node of block chain Quantity, so that search engine can optimize the sequence of search result according to information associated with block chain. More specifically implementation method and other advantages of the invention see below in elaboration.
Fig. 1 shows the flow chart of the method 100 for being used to search for block chain data, from figure 1 it appears that this method 100 include at least following five steps, i.e., first in method and step 110 via hypertext transfer protocol interface by searching for The webpage read requests that engine is sent, the webpage read requests include the first uniform resource location;Then it is walked in method Information associated with block chain and the first block chain number at first uniform resource location are obtained in rapid 120 According to;Next at least one second uniform resource location is judged whether there is in method and step 130, wherein described The second block chain data at least one second uniform resource location are associated with the first block chain data;It connects again Get off in method and step 140 in the case where there is at least one described second uniform resource location, according to described the One block chain data and at least one described second uniform resource location generate and first uniform resource location Associated webpage;Finally, by the webpage and information associated with the block chain via described in method and step 150 Hypertext transfer protocol interface is back to described search engine.
Internet access interface is provided by one side, on the other hand provides and is generated according to block chain data and block chain Webpage and information associated with block chain are then returned to search engine by the associated webpage of data in data together Mode, search engine just webpage associated with block chain data can be carried out traversal to obtain search result and according to Information associated with block chain optimizes the sequence of search result, to realize and optimize search engine for area The search of block chain data.
Specific to how to generate webpage associated with the data in block chain data, implementation can be a variety of more Sample.Such as block chain data pointed by the first uniform resource location i.e. the first URL can be generated in webpage, this Outside, there are i.e. the second uniform resource location URL of at least one second uniform resource location, this second Uniform resource location URL can be also presented on the webpage, so, which can either include the data of block chain, It can include uniform resource location URL.With multiple uniform resource location URL, these unified moneys Source positioning address URL can be sequentially arranged on the webpage.Also can by by block chain data according to its logical relation The mode of Boolean Search dendrogram associated with the data in block chain data is generated to realize.
In specifically crawl webpage information, search engine end can increase following functions, the i.e. accessible area of search engine Block chain entry address (such as: http://test.com.homepage), in order to which search engine is able to access that the block chain. It, first can be according to the included unified resource of webpage read requests positioningly after block chain flanks and receives webpage read requests Location URL obtains the first block chain data at uniform resource location URL and obtains letter associated with block chain Breath, such as the node of the number of nodes of block chain, the identity information of the owner of the node of block chain and/or block chain possess The information such as the quantity of person, next, other uniform resource locations URL will be judged whether there is, specific to how judging, Then can the hierarchy attributes according to included by the first block chain data and predetermined hierarchical relationship tree to determine whether depositing Judge in described at least one second uniform resource location.Exist at least if predetermined hierarchical relationship tree table is bright One the second uniform resource location, then second uniform resource location can be also placed in above-mentioned webpage generated it In.
Next, the webpage and information associated with block chain are returned into search engine.Search engine is connecing After the webpage for receiving the return, block chain data therein and its access address can either be directly extracted, it also can be further Further webpage read requests are initiated to block chain network side, to grab subsequent block chain data.
From the point of view of specific, when generating above-mentioned webpage, hierarchy attributes included by block chain data can also play non- Normal important role, it will sentenced according to hierarchy attributes included by the first block chain data and predetermined hierarchical relationship tree It is disconnected to whether there is at least one second uniform resource location URL.The hierarchy attributes of such as block chain data A are from the point of view of specific " finance ", and predetermined hierarchical relationship tree table is bright that there are the block chain numbers that hierarchy attributes are " finance/block chain finance " According to B, then block chain data B is then the next stage block chain data of block chain data A.If webpage read requests are to grab Taking hierarchy attributes is the block chain data A of " finance ", then will be directed toward the block chain number that hierarchy attributes are " finance/block chain finance " It is also generated on webpage according to the uniform resource location URL of B, i.e., is comprising being directed toward hierarchy attributes in webpage generated The uniform resource location URL of the block chain data B of " finance/block chain finance ".
For another example, if the hierarchy attributes of block chain data C are " China ", and predetermined hierarchical relationship tree table is bright It is " China/Shanghai " there are the hierarchy attributes of another block chain data D, then block chain data D is then under block chain data C Level-one block chain data.If webpage read requests will be referred to grab the block chain data C that hierarchy attributes are " China " It also generates on webpage, that is, exists to the uniform resource location URL for the block chain data D that hierarchy attributes are " China/Shanghai " Comprising being directed toward hierarchy attributes as the uniform resource location of the block chain data D of " China/Shanghai " in webpage generated URL。
There is also a kind of possibilities, that is, any other uniform resource location URL is not present, then just can be according only to Block chain data pointed by the included uniform resource location URL of webpage read requests generate above-mentioned webpage.
In addition, in order to realize the correct parsing by the chained address for block chain data associated there, this hair Inventors herein proposing as block chain data configuration attribute A1, attribute A1 for bright content is the solution for being used to specify the block chain data Analysis mode.Such as attribute A1 includes the data format name for indicating the data analysis method of the block chain data.Ability The technical staff in domain is it is to be appreciated that attribute A1 also can include the number for being used to indicate the public data and the private data With parsing intelligent contract according to the data format analytical function name of analytic method, data format analysis service address or data format Location.
At this point, attribute A1 shows the data in the K/V/A1 of each data when search engine accesses the entry address Specific data format (for example, XML, JSON etc.);When search engine accesses the entry address, can be searched on display block chain The data list of rope, when search engine searches for any K value, block chain calls corresponding parsing according to the value of corresponding attribute A1 Method generates corresponding webpage after parsing to data.
In addition, a HTTP server, such as domain name http may be implemented in each block chain node: // Test.com.homepage is directed toward the HTTP server.The page can show the content of part K/V, under normal conditions not It once can all show, because primary all show that the page can be excessively huge, while pass through lower one page even chains such as page 10 Mode (the http://test.com.homepage connect? page=10 search engine) is allowed to may search for other K/V data. Also pass through http://test.com.homepage simultaneously? the link form of key=apple shows the content of single K/V, as Specifically how to present, then can be defined by different Page Templates.Above-mentioned attribute A1 is in addition to using specific data format Name indicates data format, is also possible to the function name of a format parsing or the address of format analysis service.It can also It is more succinct in this way to be indicated with a content code such as 1,2,3, memory space can be saved.
Fig. 2 shows the schematic diagrames 200 of the block chain data for taking key assignments mode to store with attribute A1, from Fig. 2 As can be seen that the block chain data of such as K1, Kn include attribute A1, attribute A1 includes the block for indicating such as K1, Kn The data format name of the data analysis method of chain data.Alternatively, the block chain number of the block chain data of such as K1 and such as Kn According to also can include be used to indicate the block chain data data analysis method data format analytical function name, data format solution It analyses address of service or data format parses intelligent contract address.From figure 2 it can be seen that the block chain data of such as K1 have For the value of the attribute A1 of " XML ", this shows that the analysis mode of its value (Value) is XML analytic method, corresponds ground, all If the block chain data of Kn have the value of the attribute A1 for " JSON ", this shows the analysis mode of its value (Value) for JSON solution Analysis method.That is, calling corresponding analytical function or analytic method that can parse the block chain number of each K1, Kn etc. According to.
When stating chained address in realization, the Robots agreement abided by needed for following search engine is also needed.It is specific and Speech, Robots agreement are also referred to as crawler agreement, the robot protocol etc., and full name is " web crawlers exclusion criteria " (Robots Exclusion Protocol), website tells which page of search engine that can grab by Robots agreement, which page is not It can crawl.
Specific to the content of present invention, for every chained address in the portal site, it is also desirable to pass through Robots agreement Inform which chained address of search engine can traverse, which chained address cannot traverse.But Robots agreement is only accused Know that search engine should traverse which chained address should not traverse which link address to realize for block chain data Retrieval can not guarantee that search engine is bound to abide by the Robots agreement well, so the inventor of the content of present invention Innovatively expect the control that the search behavior for search engine is realized using the attribute of block chain data itself, such as according to It include public data and private data according to block chain data disclosed in the content of present invention, wherein public data is not need to test Card is addressable data and private data is needs verifying just addressable data, and wherein, public data and privacy Data, which are stored in the different location of block chain or the public data and the private data, has different labels.
The reason of attribute A2 is arranged is that in the block platform chain of current mainstream, publicly-owned chain is not completely to block chain Limitation is arranged in the access of data, and the alliances such as such as Fabric, Corda chain is then to whole data in all block chain data All do access privilege control.It can be seen that block platform chain is for there is the data of different requirements all to do the same access control Without the ability of different access controls.And in general, enterprise-level block chain usually using alliance's platform chain, to whole Data do access privilege control and result in the need for disclosed information and can not be retrieved by external search engine.For example, one The insurance sales system realized using block chain, the information such as insurance price, clause in block chain are desirable to be searched drawing Hold up retrieval and inquisition, without authorization;But the information such as other information, such as user information, Transaction Information, Claims Resolution record are desirable The permission that accesses control, otherwise both it is unfavorable for protecting customer privacy or is unfavorable for protecting the business secret of insurance company.
Specifically, public data and private data are stored in different location or the public data and the institute of block chain State private data with different labels implementation method can there are many kinds of.
For example, Fig. 3 shows point account book to store the schematic diagram 300 of public data and private data, can from figure Include multiple account books in the block chain network to find out, for example, account book 301,302 ..., nine account books such as 308,309, this field Technical staff it is to be appreciated that herein show nine account books to be only exemplary and not restrictive, the technology of this field Personnel can of course realize more or less account book, realize that the quantity of account book is not the pass of the content of present invention Key, key are to distinguish multiple account books, such as first account book, that is, account book 301 is labeled as open account book, i.e., its On only store above-mentioned public data, the information such as insurance price, clause in block chain as escribed above;And by other account books I.e. account book 302 ..., eight account books such as 308,309 be labeled as privacy account book, only store private data thereon, as described above The information such as user information, Transaction Information, Claims Resolution record.Those skilled in the art is it is to be appreciated that open account book and privacy account book Quantity can be according to the ratio dynamic configuration for needing disclosed data and private data on block chain.Thus, it is possible to realize for The differentiation of data in block chain network is treated, to provide safeguard for the subsequent search service for the data on block chain.
Alternatively, also first account book 301 for example can be divided into two different regions, is deposited on first region Public data is stored up, and stores private data on Two Areas, thus also can be realized for the data in block chain network Differentiation treat, to provide safeguard for the subsequent search service for the data on block chain.
In the above manner, i.e. by public data and private data being stored on different account books or will be disclosed Data and private data, which are stored on the different zones of identical account book, to be realized for public data and the private data Be marked, so as to the subsequent searches stage can be distinguished based on account book type or the type in the region of account book public data and Private data, to provide support for subsequent searches.
Additionally or alternatively, public data and private data be stored in block chain different location or the disclosure There is different labels can also realize by other means for data and the private data, such as pass through additional Attribute domain Mode realize, specifically, public data and private data may include attribute A2, wherein the public data has For example, 0 attribute A2, and the private data has for example, 1 attribute A2.
For example, such as every block chain data can include an attribute A2, and attribute A2 is to indicate when being, for example, 0 The block chain data are public data, and indicate that the block chain data are private data when the second value that attribute A2 is 1.Phase It takes the different zones of point different account books or identical account book compared with above-mentioned and stores the technology of public data and private data For scheme, disclosed dynamic is taken to adjust, allows to indicate that the block chain data are the additional of public data or private data The technical solution of attribute A2 allows administrator to be real-time dynamicly adjusted among block chain operational process, to improve number According to Dynamic Maintenance.
Fig. 4 shows the example of the data 400 stored in a manner of key assignments (Key/Value), figure 4, it is seen that the The value of one block chain data K1 is V1, and attribute A2 is 0, this then shows that first block chain data K1 is public data, outside Portion's search engine can not need any access control or verifying may have access to the disclosure data;And n-th of block chain data The value of Kn is Vn, and attribute A2 is 1, this then shows that block chain data Kn is private data, and external search engine can need Access control or verifying just may have access to the private data.That is, the disclosure data K1 and private data Kn take key assignments Mode is stored, and public data has the attribute A2 for 0, and private data has the attribute A2 for 1.The skill of this field Art personnel are only exemplary and not restrictive it is to be appreciated that setting 0 or 1 for the value of attribute A2 herein, other can Realize that the technical solution of the spirit without departing from the content of present invention of the content of present invention disclosed invention design is similarly wrapped It includes within the protection scope of the content of present invention appended claims.
Meet search engine such as not can guarantee in block chain network for the access of block chain data The technical issues of searching requirement of Robots agreement, the inventor of the content of present invention innovatively recognizes can be by being transformed area The attribute of data in block chain network is adapted to search engine, is searched in block chain network to realize based on search engine The purpose of data, in addition, block chain can also be met for needing to carry out secret protection partial data while realizing retrieval Secret protection.
The above-mentioned method for searching for block chain data can disclose shared data it is i.e. addressable without access control and The data of secret protection are needed to retain access control;On the other hand a kind of internal mechanism and interface for access retrieval is defined, It can not only allow external web page link that can directly link public data in block chain, can also allow open number in block chain According to interlinking, so that search engine can carry out traversal retrieval to all information in block chain.In addition, passing through this hair Interconnecting for block chain and internet information may be implemented in solution provided by bright content, further plays block chain Immense value.
In addition, needing to make to be correspondingly improved in search engine side.Specifically, Fig. 5 shows according to the present invention another The flow chart of the method 500 for searching for block chain data of one embodiment.It can be seen from the figure that this is used to search for block The method 500 of chain data includes at least following four step, i.e., receives basis from block chain node first in method and step 510 The webpage and information associated with block chain that its block chain data generates;Then searching request is received in method and step 520; It is requested in method and step 530 based on described search, search result associated with block chain is obtained from database, wherein The database is for storing by the index of the auto-building html files;Finally, being based on and the block chain phase in method and step 540 Associated information is ranked up described search result.
Block chain mentioned in the above method is block chain belonging to the block chain node.
In one embodiment according to the present invention, information associated with block chain includes at least one in the following terms : the number of nodes of the i.e. described block chain;The identity information of the owner of the node of the block chain;The node of the block chain Owner quantity;The creation time of the block chain;The addition time of the node of the block chain.
For concrete example, for example a block chain pin sells the example of air-conditioning products.One block chain has multiple members (electricity Device manufacturer Gree Electric Appliances, Pingan Insurance of insurance company, national type maintenance service quotient).User has purchased on block chain The air-conditioning of Gree can insure in safety automatically, can also register automatically in maintenance service quotient and obtain after-sale service.And another area Although it is also to sell air-conditioning to block chain, which only has 2 members (such as nameless electric appliance manufacturer, nameless Insurance company does not have maintenance service quotient).When that terminal user searches air-conditioning products on a search engine, it can simultaneously scan for above Two as a result, still search engine combines information associated with block chain (such as the number of nodes of the block chain;Institute State the identity information of the owner of the node of block chain;And/or the quantity of the owner of the node of the block chain) after, it shows It so should preferentially show the Gree on first block chain.
In addition, alternatively, the above method can be by computer program product, i.e. computer readable storage medium is real It is existing.Computer program product may include computer readable storage medium, containing for executing each of the content of present invention The computer-readable program instructions of aspect.Computer readable storage medium, which can be, can keep and store by instruction execution equipment The tangible device of the instruction used.Computer readable storage medium for example can be but not limited to storage device electric, magnetic storage is set Standby, light storage device, electric magnetic storage apparatus, semiconductor memory apparatus or above-mentioned any appropriate combination.It is computer-readable The more specific example (non exhaustive list) of storage medium includes: portable computer diskette, hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read only memory (EPROM or flash memory), static random access memory (SRAM), Portable compressed disk read-only memory (CD-ROM), digital versatile disc (DVD), memory stick, floppy disk, mechanical coding Equipment, the punch card for being for example stored thereon with instruction or groove internal projection structure and above-mentioned any appropriate combination.Here Used computer readable storage medium is not interpreted as instantaneous signal itself, such as radio wave or other Free propagations Electromagnetic wave, the electromagnetic wave (for example, the light pulse for passing through fiber optic cables) propagated by waveguide or other transmission mediums or pass through The electric signal of electric wire transmission.
The device for being used to search for block chain data that one embodiment that Fig. 6 shows content according to the present invention is proposed 600 block diagram.From fig. 6 it can be seen that for search for block chain data device 600 include processor 610 and with processing The memory 620 that device 610 couples.
Memory 620 is stored with instruction.Instruction makes processor 610 execute following movement when being executed by processor 610:
A. the webpage read requests sent via hypertext transfer protocol interface by search engine, the webpage are read Request includes the first uniform resource location;
B. information associated with block chain and the first block at first uniform resource location are obtained Chain data;
C. at least one second uniform resource location is judged whether there is, wherein at least one described second system The second block chain data at one resource locator address are associated with the first block chain data;
D. in the case where there is at least one described second uniform resource location, according to the first block chain number Net associated with first uniform resource location is generated according to at least one described second uniform resource location Page;And
E. the webpage and information associated with the block chain are returned via the hypertext transfer protocol interface To described search engine.
In one embodiment of content according to the present invention, when described instruction executes the processor 610 is also held The following operation of row:
E1. there is no at least one described second uniform resource location, according to first block Chain data generate the webpage.
In one embodiment of content according to the present invention, information associated with the block chain includes in the following terms At least one of: the number of nodes of the i.e. described block chain;The identity information of the owner of the node of the block chain;The block The quantity of the owner of the node of chain;The creation time of the block chain;The addition time of the node of the block chain.
In one embodiment of content according to the present invention, D. judges whether there is the positioning of at least one second unified resource Address further comprises:
D1. judged according to hierarchy attributes included by the first block chain data and predetermined hierarchical relationship tree With the presence or absence of at least one described second uniform resource location.
In one embodiment of content according to the present invention, B. obtains the at first uniform resource location One block chain data further comprise:
B1. it is parsed according to the data format name of the first block chain data in first uniform resource location The first block chain data at place.
In one embodiment of content according to the present invention, B. obtains the at first uniform resource location One block chain data further comprise:
B2. according to the data format analytical function name of the first block chain data, data format analysis service address or Data format parses intelligent contract address to parse the first block chain data at first uniform resource location.
In one embodiment of content according to the present invention, the first block chain data and/or the second block chain Data include the first attribute, and wherein, B. obtains the first block chain data at first uniform resource location Further comprise:
B3. it is fixed in first unified resource to be determined whether to obtain according to the first attribute of the first block chain data The first block chain data at bit address.
In one embodiment of content according to the present invention, the first block chain data and/or the second block chain Data take key assignments mode to be stored.
In one embodiment of content according to the present invention, the case where the first block chain data are public data Under, first attribute of the first block chain data is the first value;It is public data in the second block chain data In the case of, first attribute of the second block chain data is first value;It is hidden in the first block chain data In the case where private data, first attribute of the first block chain data is the second value different from first value;? In the case that the second block chain data are private data, first attributes of the second block chain data is described the Two-value.
In one embodiment of content according to the present invention, B. obtains the at first uniform resource location One block chain data further comprise:
B4. determined whether to obtain in the described first unified money according to the account book storage location of the first block chain data The first block chain data at the positioning address of source,
Wherein, described in the case where the first block chain data or the second block chain data are public data First block chain data or the second block chain data are stored in open account book;And in the first block chain data or In the case that the second block chain data are private data, the first block chain data or the second block chain data are deposited Storage is in privacy account book.
In one embodiment of content according to the present invention, B. obtains the at first uniform resource location One block chain data further comprise:
B5. determined whether to obtain in the described first unified money according to the storage region position of the first block chain data The first block chain data at the positioning address of source,
Wherein, described in the case where the first block chain data or the second block chain data are public data First block chain data or the second block chain data are stored in the open region of account book;And in the first block chain In the case that data or the second block chain data are private data, the first block chain data or the second block chain Data are stored in the privacy area of account book.
In the above manner, i.e. by public data and private data being stored on different account books or will be disclosed Data and private data, which are stored on the different zones of identical account book, to be realized for public data and the private data Be marked, so as to the subsequent searches stage can be distinguished based on account book type or the type in the region of account book public data and Private data, to provide support by subsequent search.
Memory 620 can also be stored with other instructions.These instructions make processor when being executed by processor 610 610 execute following movement:
M. the webpage generated according to its block chain data and information associated with block chain are received from block chain node;
N. searching request is received;
O. it is requested based on described search, search result associated with block chain is obtained from database, wherein the number According to library for storing by the index of the auto-building html files;And
P. described search result is ranked up based on information associated with the block chain.
In one embodiment according to the present invention, information associated with the block chain include in the following terms extremely One item missing: the number of nodes of the block chain;The identity information of the owner of the node of the block chain;The section of the block chain The quantity of the owner of point;The creation time of the block chain;The addition time of the node of the block chain.
Fig. 7 shows the schematic block diagram of the device 700 for searching for block chain data.It should be appreciated that device 700 can be with It is embodied as realizing the function of the method 500 for searching for block chain data in Fig. 5.As can be seen from Figure 7 it is used for database Device 700 include central processing unit (CPU) 701 (such as processor), can be according to being stored in read-only memory (ROM) Computer program instructions in 702 are loaded into the computer in random access storage device (RAM) 703 from storage unit 708 Program instruction, to execute various movements appropriate and processing.In RAM 703, can also store the device 700 operate it is required each Kind program and data.CPU 701, ROM 702 and RAM 703 are connected with each other by bus 704.Input/output (I/O) interface 705 are also connected to bus 704.
Multiple components in device 700 are connected to I/O interface 705, comprising: input unit 706, such as keyboard, mouse etc.; Output unit 707, such as various types of displays, loudspeaker etc.;Storage unit 708, such as disk, CD etc.;And it is logical Believe unit 709, such as network interface card, modem, wireless communication transceiver etc..It is all that communication unit 709 allows the device 700 to pass through As the computer network of internet and/or various telecommunication networks exchange information/data with other equipment.
Various methods described above, such as method for searching for block chain data can be held by processing unit 701 Row.For example, in some embodiments, the method 100,500 for searching for block chain data can be implemented as computer software journey Sequence is tangibly embodied in machine readable media, such as storage unit 708.In some embodiments, the portion of computer program Divide or all can be loaded into and/or be installed on the device 700 via ROM 702 and/or communication unit 709.Work as calculating When machine program is loaded into RAM 703 and is executed by CPU 701, can execute one in method as described above 100,500 or Multiple movements or step.
In general, various example embodiments of the invention can in hardware or special circuit, software, firmware, logic, or Implement in any combination thereof.Some aspects can be implemented within hardware, and other aspects can be can be by controller, micro process Implement in the firmware or software that device or other calculating equipment execute.When the various aspects of the embodiment of the present invention are illustrated or described as When block diagram, flow chart or other certain graphical representations of use, it will be understood that box described herein, device, system, techniques or methods Can be used as unrestricted example hardware, software, firmware, special circuit or logic, common hardware or controller or other It calculates and implements in equipment or its certain combination.
Although described above is various example embodiments of the invention can realize in hardware or special circuit, on Stating can both be implemented in hardware for the data processing equipment of block chain, can also be by way of software come real It is existing, this is because: in the 1990s, a technological improvement can easily belong to the improvement on hardware to the improvement (for example, improvement to circuit structures such as diode, transistor, switches) still falls within the improvement on software (such as method The improvement of process).However, with the sustainable development of technology, the improvement of many method flows of today can nearly all pass through by Improved method flow is programmed into hardware circuit to realize, in other words, by programming different programs for hardware circuit To obtaining corresponding hardware circuit, that is, realize the change of hardware circuit, therefore the improvement of such method flow Directly improving for hardware circuit can also be considered as.Therefore, it cannot be said that the improvement of a method flow cannot use hardware reality Module is realized.For example, programmable logic device (Programmable Logic Device:PLD) (such as scene can compile Journey gate array (Field Programmable Gate Array:FPGA)) it is exactly such a integrated circuit, logic function Device programming is determined by user.It is voluntarily programmed by designer a digital display circuit " integrated " is patrolled in a piece of may be programmed It collects on device, dedicated IC chip is designed and made without asking chip maker.Moreover, nowadays replacing hand Building site makes IC chip, and this programming is also used " logic compiler (logic compi1er) " software instead mostly and come in fact Existing, software compiler used is similar when it writes with program development, and the source code before compiling is also handy specific Programming language write, this is referred to as hardware description language (Hardware Description Language:HDL), and HDL also not only-kind, but there are many kind, as ABEL (Advanced Boolean Expression Language), AHDL(Altera Hardware Description Language)、Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL(Java Hardware Description Language)、Lava、 Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description Language) etc., most generally use at present VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) with Verilog.Those skilled in the art, which also will be apparent to the skilled artisan that, only to need with above-mentioned several hardware description languages slightly to patrol method flow It collects and programs and be programmed into integrated circuit, so that it may be readily available the hardware circuit for realizing the logical method process.
For executing the computer-readable program instructions or computer program product of the various aspects of the content of present invention It can store beyond the clouds, when needing to call, user can be accessed by mobile Internet, fixed network or other networks and is stored in The computer-readable program instructions of the one side for executing the content of present invention on cloud, thus implementation basis the content of present invention Various aspects disclosed in technical solution.
In conclusion the method for searching for block chain data that the content of present invention is proposed on the one hand can be to block chain On data make accurate control, allow can to disclose shared data i.e. addressable without access control and need secret protection Data retain access control;On the other hand it defines a kind of internal mechanism and interface for access retrieval, can not only allow outside Web page interlinkage can directly link public data and information associated with block chain in block chain, can also allow block chain In public data interlink so that search engine can carry out traversal retrieval to all information in block chain.This Outside, interconnecting for block chain and internet information may be implemented in solution provided by content through the invention, further Play the immense value of block chain.
The foregoing is merely the embodiment alternative embodiment of the content of present invention, the embodiment being not intended to restrict the invention, For those skilled in the art, the embodiment of the present invention can have various modifications and variations.It is all in implementation of the invention Within the spirit and principle of example, made any modification, equivalence replacement, improvement etc. should be included in the embodiment of the present invention Within protection scope.
Although by reference to several embodiments that specific examples describe the present invention, but it is to be understood that of the invention Embodiment is not limited to disclosed specific embodiment.The embodiment of the present invention be intended to cover appended claims spirit and Included various modifications and equivalent arrangements in range.The scope of the claims meets broadest explanation, thus comprising all Such modification and equivalent structure and function.

Claims (28)

1. a kind of method for searching for block chain data, which comprises
A. the webpage read requests sent via hypertext transfer protocol interface by search engine, the webpage read requests Include the first uniform resource location;
B. information associated with block chain and the first block chain number at first uniform resource location are obtained According to;
C. at least one second uniform resource location is judged whether there is, wherein at least one described second unified money The second block chain data at the positioning address of source are associated with the first block chain data;
D. in the case where there is at least one described second uniform resource location, according to the first block chain data and At least one described second uniform resource location generates webpage associated with first uniform resource location;With And
E. the webpage and information associated with the block chain are back to institute via the hypertext transfer protocol interface State search engine.
2. according to the method described in claim 1, the method also includes:
E1. there is no at least one described second uniform resource location, according to the first block chain number According to the generation webpage.
3. according to the method described in claim 1, wherein, information associated with the block chain include in the following terms extremely One item missing:
The number of nodes of the block chain;
The identity information of the owner of the node of the block chain;
The quantity of the owner of the node of the block chain;
The creation time of the block chain;
The addition time of the node of the block chain.
4. method according to claim 1 or 2, wherein D. judges whether there is the positioning of at least one second unified resource Address further comprises:
D1. the hierarchy attributes according to included by the first block chain data and predetermined hierarchical relationship tree to determine whether There are at least one described second uniform resource locations.
5. method according to claim 1 or 2, wherein B. obtains the at first uniform resource location One block chain data further comprise:
B1. it is parsed at first uniform resource location according to the data format name of the first block chain data First block chain data.
6. method according to claim 1 or 2, wherein B. obtains the at first uniform resource location One block chain data further comprise:
B2. according to data format analytical function name, data format analysis service address or the data of the first block chain data Format parses intelligent contract address to parse the first block chain data at first uniform resource location.
7. according to the method described in claim 1, wherein, the first block chain data and/or the second block chain data Including the first attribute, and wherein, B. obtains the first block chain data at first uniform resource location into one Step includes:
B3. determined whether according to the first attribute of the first block chain data obtain first unified resource positioningly The first block chain data at location.
8. according to the method described in claim 7, wherein, the first block chain data and/or the second block chain data Key assignments mode is taken to be stored.
9. according to the method described in claim 7, wherein,
In the case where the first block chain data are public data, first attribute of the first block chain data is First value;
In the case where the second block chain data are public data, first attribute of the second block chain data is First value;
In the case where the first block chain data are private data, first attribute of the first block chain data is Different from the second value of first value;
In the case where the second block chain data are private data, first attribute of the second block chain data is The second value.
10. according to the method described in claim 1, wherein, B. obtains first at first uniform resource location Block chain data further comprise:
B4. it is fixed in first unified resource to be determined whether to obtain according to the account book storage location of the first block chain data The first block chain data at bit address,
Wherein, in the case where the first block chain data or the second block chain data are public data, described first Block chain data or the second block chain data are stored in open account book;And in the first block chain data or described In the case that second block chain data are private data, the first block chain data or the second block chain data are stored in In privacy account book.
11. according to the method described in claim 1, wherein, B. obtains first at first uniform resource location Block chain data further comprise:
B5. it is fixed in first unified resource to be determined whether to obtain according to the storage region position of the first block chain data The first block chain data at bit address,
Wherein, in the case where the first block chain data or the second block chain data are public data, described first Block chain data or the second block chain data are stored in the open region of account book;And in the first block chain data Or in the case that the second block chain data are private data, the first block chain data or the second block chain data It is stored in the privacy area of account book.
12. a kind of for searching for the device of block chain data, described device includes:
Processor;And
Memory makes the processor execute following operation when described instruction executes for storing instruction:
A. the webpage read requests sent via hypertext transfer protocol interface by search engine, the webpage read requests Include the first uniform resource location;
B. information associated with block chain and the first block chain number at first uniform resource location are obtained According to;
C. at least one second uniform resource location is judged whether there is, wherein at least one described second unified money The second block chain data at the positioning address of source are associated with the first block chain data;
D. in the case where there is at least one described second uniform resource location, according to the first block chain data and At least one described second uniform resource location generates webpage associated with first uniform resource location;With And
E. the webpage and information associated with the block chain are back to institute via the hypertext transfer protocol interface State search engine.
13. device according to claim 12 also makes the processor execute following operation when described instruction executes:
E1. it when there is no at least one described second uniform resource location, is generated according to the first block chain data The webpage.
14. device according to claim 12, wherein information associated with the block chain includes in the following terms At least one of:
The number of nodes of the block chain;
The identity information of the owner of the node of the block chain;
The quantity of the owner of the node of the block chain;
The creation time of the block chain;
The addition time of the node of the block chain.
15. device according to claim 12 or 13, wherein it is fixed that D. judges whether there is at least one second unified resource Bit address further comprises:
D1. the hierarchy attributes according to included by the first block chain data and predetermined hierarchical relationship tree to determine whether There are at least one described second uniform resource locations.
16. device according to claim 12 or 13, wherein B. is obtained at first uniform resource location First block chain data further comprise:
B1. it is parsed at first uniform resource location according to the data format name of the first block chain data First block chain data.
17. device according to claim 12 or 13, wherein B. is obtained at first uniform resource location First block chain data further comprise:
B2. according to data format analytical function name, data format analysis service address or the data of the first block chain data Format parses intelligent contract address to parse the first block chain data at first uniform resource location.
18. device according to claim 12, wherein the first block chain data and/or the second block chain number According to including the first attribute, and wherein, B. obtain the first block chain data at first uniform resource location into One step includes:
B3. determined whether according to the first attribute of the first block chain data obtain first unified resource positioningly The first block chain data at location.
19. device according to claim 18, wherein the first block chain data and/or the second block chain number According to taking key assignments mode to be stored.
20. device according to claim 18, wherein
In the case where the first block chain data are public data, first attribute of the first block chain data is First value;
In the case where the second block chain data are public data, first attribute of the second block chain data is First value;
In the case where the first block chain data are private data, first attribute of the first block chain data is Different from the second value of first value;
In the case where the second block chain data are private data, first attribute of the second block chain data is The second value.
21. device according to claim 12, wherein B. obtains first at first uniform resource location Block chain data further comprise:
B4. it is fixed in first unified resource to be determined whether to obtain according to the account book storage location of the first block chain data The first block chain data at bit address,
Wherein, in the case where the first block chain data or the second block chain data are public data, described first Block chain data or the second block chain data are stored in open account book;And in the first block chain data or described In the case that second block chain data are private data, the first block chain data or the second block chain data are stored in In privacy account book.
22. device according to claim 12, wherein B. obtains first at first uniform resource location Block chain data further comprise:
B5. it is fixed in first unified resource to be determined whether to obtain according to the storage region position of the first block chain data The first block chain data at bit address,
Wherein, in the case where the first block chain data or the second block chain data are public data, described first Block chain data or the second block chain data are stored in the open region of account book;And in the first block chain data Or in the case that the second block chain data are private data, the first block chain data or the second block chain data It is stored in the privacy area of account book.
23. a kind of method for searching for block chain data, which comprises
M. the webpage generated according to its block chain data and information associated with block chain are received from block chain node;
N. searching request is received;
O. it is requested based on described search, search result associated with block chain is obtained from database, wherein the database For storing by the index of the auto-building html files;And
P. described search result is ranked up based on information associated with the block chain.
24. according to the method for claim 23, wherein information associated with the block chain includes in the following terms At least one of:
The number of nodes of the block chain;
The identity information of the owner of the node of the block chain;
The quantity of the owner of the node of the block chain;
The creation time of the block chain;
The addition time of the node of the block chain.
25. a kind of for searching for the device of block chain data, described device includes:
Processor;And
Memory makes the processor execute following operation when described instruction executes for storing instruction:
M. the webpage generated according to its block chain data and information associated with block chain are received from block chain node;
N. searching request is received;
O. it is requested based on described search, search result associated with block chain is obtained from database, wherein the database For storing by the index of the auto-building html files;And
P. described search result is ranked up based on information associated with the block chain.
26. device according to claim 25, wherein information associated with the block chain includes in the following terms At least one of:
The number of nodes of the block chain;
The identity information of the owner of the node of the block chain;
The quantity of the owner of the node of the block chain;
The creation time of the block chain;
The addition time of the node of the block chain.
27. a kind of computer readable storage medium has the computer-readable program instructions being stored thereon, the computer Readable program instructions are for executing the method according to any one of claim 1 to 11 for searching for block chain data.
28. a kind of computer readable storage medium has the computer-readable program instructions being stored thereon, the computer Readable program instructions are used to execute the method according to claim 23 or 24 for searching for block chain data.
CN201810877497.3A 2018-08-03 2018-08-03 Method, apparatus and storage medium for searching blockchain data Active CN109101607B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810877497.3A CN109101607B (en) 2018-08-03 2018-08-03 Method, apparatus and storage medium for searching blockchain data
PCT/CN2019/098169 WO2020024898A1 (en) 2018-08-03 2019-07-29 Method and apparatus for searching blockchain data, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810877497.3A CN109101607B (en) 2018-08-03 2018-08-03 Method, apparatus and storage medium for searching blockchain data

Publications (2)

Publication Number Publication Date
CN109101607A true CN109101607A (en) 2018-12-28
CN109101607B CN109101607B (en) 2021-03-30

Family

ID=64848422

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810877497.3A Active CN109101607B (en) 2018-08-03 2018-08-03 Method, apparatus and storage medium for searching blockchain data

Country Status (2)

Country Link
CN (1) CN109101607B (en)
WO (1) WO2020024898A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109981657A (en) * 2019-03-29 2019-07-05 浙江数值跳跃网络科技有限公司 Crawler technology based on block chain system
CN110162526A (en) * 2019-04-18 2019-08-23 阿里巴巴集团控股有限公司 Querying method, device and the equipment of data record in a kind of piece of chain type account book
WO2020024898A1 (en) * 2018-08-03 2020-02-06 上海点融信息科技有限责任公司 Method and apparatus for searching blockchain data, and storage medium
CN111488606A (en) * 2020-04-08 2020-08-04 北京瑞策科技有限公司 Data sharing method and device based on service data block chain
WO2022222568A1 (en) * 2021-04-23 2022-10-27 华为技术有限公司 Blockchain data management method and apparatus

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106227833A (en) * 2016-07-26 2016-12-14 宁圣金融信息服务(上海)有限公司 Block chaining search engine method, system and device
CN106682457A (en) * 2016-12-16 2017-05-17 北京握奇智能科技有限公司 Picture copyright protection method and picture copyright protection system based on blockchain technology
CN107924389A (en) * 2015-07-02 2018-04-17 纳斯达克公司 The system and method traced to the source the safety of distributed transaction database
CN107943951A (en) * 2017-11-24 2018-04-20 中钞信用卡产业发展有限公司杭州区块链技术研究院 A kind of search method and system of block chain business information
CN108009263A (en) * 2017-12-13 2018-05-08 清华大学 A kind of block chain network searching method and system based on supply and demand information
US20180137196A1 (en) * 2016-11-11 2018-05-17 International Business Machines Corporation Trustable web searching verification in a blockchain
CN108062413A (en) * 2017-12-30 2018-05-22 平安科技(深圳)有限公司 Web data processing method, device, computer equipment and storage medium
US9992022B1 (en) * 2017-02-06 2018-06-05 Northern Trust Corporation Systems and methods for digital identity management and permission controls within distributed network nodes
CN108305075A (en) * 2018-03-07 2018-07-20 广州建翎电子技术有限公司 A kind of trade document file management system and management method based on block chain
CN108347428A (en) * 2017-12-29 2018-07-31 北京世纪互联宽带数据中心有限公司 Accreditation System, the method and apparatus of application program based on block chain

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108171083B (en) * 2017-12-18 2020-02-07 深圳前海微众银行股份有限公司 Block chain trusted data management method, system and computer readable storage medium
CN109033403B (en) * 2018-08-03 2020-05-12 上海点融信息科技有限责任公司 Method, apparatus and storage medium for searching blockchain data
CN109101607B (en) * 2018-08-03 2021-03-30 上海点融信息科技有限责任公司 Method, apparatus and storage medium for searching blockchain data

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107924389A (en) * 2015-07-02 2018-04-17 纳斯达克公司 The system and method traced to the source the safety of distributed transaction database
CN106227833A (en) * 2016-07-26 2016-12-14 宁圣金融信息服务(上海)有限公司 Block chaining search engine method, system and device
US20180137196A1 (en) * 2016-11-11 2018-05-17 International Business Machines Corporation Trustable web searching verification in a blockchain
CN106682457A (en) * 2016-12-16 2017-05-17 北京握奇智能科技有限公司 Picture copyright protection method and picture copyright protection system based on blockchain technology
US9992022B1 (en) * 2017-02-06 2018-06-05 Northern Trust Corporation Systems and methods for digital identity management and permission controls within distributed network nodes
CN107943951A (en) * 2017-11-24 2018-04-20 中钞信用卡产业发展有限公司杭州区块链技术研究院 A kind of search method and system of block chain business information
CN108009263A (en) * 2017-12-13 2018-05-08 清华大学 A kind of block chain network searching method and system based on supply and demand information
CN108347428A (en) * 2017-12-29 2018-07-31 北京世纪互联宽带数据中心有限公司 Accreditation System, the method and apparatus of application program based on block chain
CN108062413A (en) * 2017-12-30 2018-05-22 平安科技(深圳)有限公司 Web data processing method, device, computer equipment and storage medium
CN108305075A (en) * 2018-03-07 2018-07-20 广州建翎电子技术有限公司 A kind of trade document file management system and management method based on block chain

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
刘家稷等: "使用双区块链的防伪溯源系统", 《信息安全学报》 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020024898A1 (en) * 2018-08-03 2020-02-06 上海点融信息科技有限责任公司 Method and apparatus for searching blockchain data, and storage medium
CN109981657A (en) * 2019-03-29 2019-07-05 浙江数值跳跃网络科技有限公司 Crawler technology based on block chain system
CN109981657B (en) * 2019-03-29 2021-09-17 浙江数值跳跃网络科技有限公司 Crawler technology based on block chain system
CN110162526A (en) * 2019-04-18 2019-08-23 阿里巴巴集团控股有限公司 Querying method, device and the equipment of data record in a kind of piece of chain type account book
CN110162526B (en) * 2019-04-18 2023-02-24 创新先进技术有限公司 Method, device and equipment for inquiring data records in block chain type account book
CN111488606A (en) * 2020-04-08 2020-08-04 北京瑞策科技有限公司 Data sharing method and device based on service data block chain
CN111488606B (en) * 2020-04-08 2021-04-27 北京瑞策科技有限公司 Data sharing method and device based on service data block chain
WO2022222568A1 (en) * 2021-04-23 2022-10-27 华为技术有限公司 Blockchain data management method and apparatus

Also Published As

Publication number Publication date
CN109101607B (en) 2021-03-30
WO2020024898A1 (en) 2020-02-06

Similar Documents

Publication Publication Date Title
CN109033403A (en) For searching for the method, apparatus and storage medium of block chain data
CN109033406A (en) For searching for the method, apparatus and storage medium of block chain data
CN109101607A (en) For searching for the method, apparatus and storage medium of block chain data
US11886464B1 (en) Triage model in service monitoring system
CN108415832A (en) Automatic interface testing method, device, equipment and storage medium
CN109977690A (en) A kind of data processing method, device and medium
CN106559438A (en) A kind of program method for uploading and device based on objective network platform
CN109408696A (en) It is a kind of for search for boarding program method and apparatus
CN109145188A (en) For searching for the method, equipment and computer readable storage medium of block chain data
CN109086413A (en) For searching for the method, equipment and readable storage medium storing program for executing of block chain data
CN109063138A (en) For in block chain, that is, service platform search data method, equipment and storage medium
CN109492053A (en) Method and apparatus for accessing data
WO2011115471A1 (en) Integrated service delivery platform system and method thereof
CN109086414A (en) For searching for the method, apparatus and storage medium of block chain data
CN109359237A (en) It is a kind of for search for boarding program method and apparatus
CN109840254A (en) A kind of data virtualization and querying method, device
CN109241722A (en) For obtaining method, electronic equipment and the computer-readable medium of information
CN110019287A (en) The method and apparatus for executing structured query language SQL instruction
CN106874114A (en) Express delivery management software system
CN105007314A (en) Big data processing system oriented to mass reading data of readers
CN109710832A (en) It is a kind of for search for boarding program method and apparatus
Yang et al. Design of enterprise management system based on edge computing architecture
CN109145209A (en) For searching for the method, apparatus and storage medium of block chain data
CN105354189A (en) Method and system for searching for software applicationst
Dai et al. Research on the design and application of sports competition ticketing platform based on edge computing

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