WO2020024899A1 - Procédé et dispositif de recherche de données de chaîne de blocs et support de stockage - Google Patents

Procédé et dispositif de recherche de données de chaîne de blocs et support de stockage Download PDF

Info

Publication number
WO2020024899A1
WO2020024899A1 PCT/CN2019/098178 CN2019098178W WO2020024899A1 WO 2020024899 A1 WO2020024899 A1 WO 2020024899A1 CN 2019098178 W CN2019098178 W CN 2019098178W WO 2020024899 A1 WO2020024899 A1 WO 2020024899A1
Authority
WO
WIPO (PCT)
Prior art keywords
blockchain data
data
blockchain
uniform resource
resource location
Prior art date
Application number
PCT/CN2019/098178
Other languages
English (en)
Chinese (zh)
Inventor
肖诗源
Original Assignee
上海点融信息科技有限责任公司
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 上海点融信息科技有限责任公司 filed Critical 上海点融信息科技有限责任公司
Publication of WO2020024899A1 publication Critical patent/WO2020024899A1/fr

Links

Images

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
    • G06F16/9535Search customisation based on user profiles and personalisation

Definitions

  • the present invention relates to a blockchain search technology, and more particularly, to a method for searching for blockchain data, and a method for searching for blockchain data for performing the above-mentioned method for searching for blockchain data.
  • Device and a corresponding computer-readable storage medium are provided.
  • a search engine refers to a system that automatically collects information from the World Wide Web and provides it to users for query after a certain sorting. In the process of collecting information by search engines, it uses what is called a spider to connect to hyperlinks on each web page.
  • the web crawler program based on the hyperlinks to the webpage links, is like "one pass ten, ten pass 100 " in daily life, starting from a few web pages and connecting to all other web pages on the web. In theory, a web crawler can traverse most web pages if there are appropriate hyperlinks on the web pages.
  • Blockchain is an intelligent peer-to-peer network that uses a distributed database to identify, disseminate, and record information, also known as the Internet of Value.
  • the so-called Internet of Values means that users can easily, quickly and cost-effectively transmit value through the Internet.
  • Embodiments of the present invention provide a method, an apparatus, and a computer-readable storage medium for searching for blockchain data, so that a search engine can collect information from the blockchain network and obtain a history associated with the searched data Data, thereby implementing a search service for the blockchain network and enabling searches for current and historical data.
  • a method for searching for blockchain data including:
  • a second aspect of the embodiments of the present invention further provides an apparatus for searching for blockchain data, the data apparatus includes: a processor; and a memory for storing instructions when the instructions are executed Cause the processor to perform the following operations:
  • the third aspect of the embodiments of the present invention also provides a method for searching blockchain data, the method includes:
  • a fourth aspect of the embodiments of the present invention further provides an apparatus for searching blockchain data, the apparatus includes:
  • a memory for storing instructions that, when executed, cause the processor to perform the following operations:
  • a fifth aspect of an embodiment of the present invention provides a computer-readable storage medium having computer-readable program instructions stored thereon, the computer-readable program instructions for executing a first according to an embodiment of the present invention The method for searching blockchain data according to the aspect.
  • a sixth aspect of the embodiments of the present invention provides a computer-readable storage medium having computer-readable program instructions stored thereon, the computer-readable program instructions for executing a computer-readable program instruction according to an embodiment of the present invention.
  • access to the blockchain data and historical blockchain data associated with the blockchain data can be achieved, so that when displaying search results to search engine users, based on these blockchains Data and historical blockchain data generate analysis result charts, and display the analysis result charts on the search results page in order to more intuitively display the searched data to users of the search engine.
  • FIG. 1 shows a flowchart of a method 100 for searching blockchain data according to the present disclosure
  • FIG. 2 shows a schematic diagram 200 of a blockchain data stored in a key-value manner with an attribute A1;
  • FIG. 3 shows a schematic diagram 300 of a ledger to store public data and privacy data
  • FIG. 4 shows an example of blockchain data 400 with an attribute A2 stored in a key / value manner
  • FIG. 5 shows a flowchart of a method 500 for searching blockchain data according to another embodiment of the present invention.
  • FIG. 6 shows a schematic diagram of an apparatus 600 for searching blockchain data according to an embodiment of the present invention.
  • FIG. 7 shows a schematic diagram of an apparatus 700 for searching blockchain data according to another embodiment of the present invention.
  • historical blockchain data in the context of the present invention refers to blockchain data corresponding to a non-latest version number.
  • read in the term “webpage read request” includes crawling a webpage by a search engine and obtaining a webpage by a user through a user device, where obtaining a webpage by the user device specifically refers to the user's Device to query or browse web pages generated by blockchain data.
  • user equipment in the context of the present invention refers to smart terminals including, but not limited to, smart phones, tablet computers, desktops, and notebook computers.
  • uniform resource location address in the present invention refers to the address of a standard resource on the Internet, also known as a Uniform Resource Locator (URL) or a web page address.
  • first uniform resource location address in the content of the present invention refers to the uniform resource location address at the current level when the method for searching for blockchain data according to the present invention is executed, that is, the URL at the current level;
  • second uniform resource location address in the content of the present invention refers to a uniform resource location address at a lower level when the method for searching for blockchain data according to the present invention is executed, that is, a secondary URL.
  • first blockchain data in the content of the present invention refers to the blockchain data at the first uniform resource location address in the blockchain; correspondingly, the term “second region” in the present content “Blockchain data” refers to the blockchain data at the second uniform resource location address in the blockchain.
  • public data in the context of the present invention refers to data that can be accessed without requiring authentication
  • privacy data refers to data that requires authentication to be accessible.
  • attribute A1 in the content of the present invention refers to a data format name used to indicate a data analysis method of the blockchain data or a data format analysis function name used to indicate a data analysis method of the blockchain data, Data format parsing service address, or data format parsing smart contract address.
  • attribute A2 is used to mark the blockchain data as private or public. When the blockchain data is public data, “attribute A2" has a first value, and when the blockchain data is When the data is private, “attribute A2" has a second value different from the first value.
  • first and second in this summary are only used to describe a reference, purpose, or something, and cannot be understood as indicating or implying relative importance, or implicitly indicating the number of technical features indicated. .
  • retrieving refers to the process of crawling, processing, indexing, and traversing of blockchain data by a search engine through a web crawler program
  • search refers to a search engine receiving a search for content of a webpage that has been previously indexed after a user enters a keyword on a search engine page.
  • the expression "the second blockchain data at the at least one second uniform resource location address is associated with the first blockchain data” means that the first blockchain data includes The hierarchical attribute and the predetermined hierarchical relationship tree indicate whether there is an association relationship of the second blockchain data at the second uniform resource location address.
  • Hierarchical relationship tree in the present invention refers to a predetermined logical relationship tree indicating a hierarchical structure of a webpage generated by the accessed blockchain data.
  • hierarchical attribute in the content of the present invention refers to information indicating to which layer of the above hierarchical relationship tree the uniform resource location address associated with the read webpage belongs.
  • first attribute in the context of the present invention is used to mark blockchain data as private or public, where the term “first value” indicates that the associated blockchain data is public data and the term “second value” "Indicates that the blockchain data associated with it is private data.
  • public ledger in the present context refers to a blockchain ledger in which only public data that can be accessed without authentication is stored.
  • privacy ledger in the context of the present invention refers to a blockchain ledger in which only private data that requires access to authentication is stored.
  • public area of the ledger in the present context refers to an area in the ledger for storing public data.
  • privacy area of the ledger in the present context refers to an area in the ledger for storing private data.
  • the embodiments of the present invention mainly focus on the following issues: how to implement search engine access to blockchain data, and on this basis, implement historical blockchain data Visits, and thereby refine search results.
  • the current search engine can neither retrieve the blockchain data, let alone retrieve the historical blockchain data. Since the blockchain data cannot be accessed to obtain the current blockchain data and historical blockchain data associated with the current blockchain data, search engines cannot analyze the blockchain data, let alone based on the analysis. Get the analysis result chart.
  • the present invention also solves the technical problem that the current blockchain node cannot process the Hypertext Transfer Protocol request sent by the search engine; the current search engine stores the retrieved web page in a database and receives the user ’s After the search request, the corresponding webpage information is directly obtained from the database and provided to the user.
  • the blockchain network information is stored in a specific data format, not in the form of web page text.
  • the current web search engines traverse the information in the network by crawling web pages through web crawlers, but the current search engines cannot traverse the blockchain data in the blockchain network.
  • the current search engines should search for public data
  • the blockchain network may store both public data and private data. In the search process, these two types of data should be distinguished.
  • an embodiment of the present invention first provides a hypertext transfer protocol interface.
  • the hypertext transfer protocol interface is, for example, located in a blockchain node, so that the blockchain node It can identify the Hypertext Transfer Protocol request sent by the search engine.
  • it can include the version number information, so that the blockchain can return the historical blockchain corresponding to the version number. data.
  • the embodiment of the present invention also provides a method for converting data in a specific data format such as XML or JSON into a web page.
  • the embodiment of the present invention adds the uniform resource location address of other webpages as information to the webpage, so that the search engine can link to other webpages through the webpage, and implements the webpage crawling function for the blockchain network.
  • the embodiments of the present invention also distinguish between public data and private data in the blockchain network. For more specific implementation methods and other advantages of the present invention, please refer to the description below.
  • FIG. 1 shows a flowchart of the method 100 for searching blockchain data.
  • the method 100 includes at least the following five steps. First, in method step 110 via a hypertext transfer protocol The interface receives a webpage read request sent by a search engine, where the webpage read request includes a first uniform resource location address and a version number; and then in step 120 of the method, the first uniform resource location address and the first uniform resource location address are obtained Historical blockchain data corresponding to the version number; next, in method step 130, it is determined whether there is at least one second uniform resource location address, where the second blockchain at the at least one second uniform resource location address The data is associated with the first blockchain data; then in method step 140, if the at least one second uniform resource location address exists, according to the historical blockchain data and the at least one The second uniform resource location address generates a webpage associated with the first uniform resource location address; finally, in method step 150, the webpage is passed through the webpage via the Text transfer protocol interface back to the search engine.
  • the first blockchain data and the historical blockchain data include a data value and time information associated with the data value.
  • the search engine can obtain the data value of the data to be searched, and combined with the specific time information of each data value, the search engine can present the change trend of the data.
  • the blockchain node can also recommend to the search engine an indication of what type of analysis result chart is suitable for generating blockchain data and historical blockchain data, because the blockchain node is suitable for generating blockchain data on the blockchain side. What type of analysis results chart is clearer.
  • search engines can perform webpages associated with blockchain data or historical blockchain data. Iterate to get the search results, thus realizing the search of the blockchain data by the search engine.
  • the first uniform resource location address which is the blockchain data pointed to by the first URL
  • the first uniform resource location address can be generated in a webpage.
  • the second uniform resource location address URL the first 2.
  • the URL of the uniform resource location address can also be presented on the webpage. Therefore, the webpage can include both the data of the blockchain and the URL of the uniform resource location address.
  • these uniform resource positioning address URLs can be sequentially arranged on the webpage. It can also be implemented by generating a logical search tree diagram associated with the data in the blockchain data according to its logical relationship.
  • the search engine can add the following functions, that is, the search engine can access the entry address of the blockchain (for example: http: //test.com.homepage), so that the search engine can access the block chain.
  • the search engine After receiving a webpage read request on the blockchain side, it will first obtain the first blockchain data at the uniform resource location address URL according to the uniform resource location address URL contained in the webpage read request. Next, it will Determine whether there are other uniform resource positioning address URLs, and specifically how to determine, it will be determined whether the at least one second uniform resource exists according to the hierarchical attributes included in the first blockchain data and a predetermined hierarchical relationship tree Judge the address. If the predetermined hierarchical relationship tree indicates that there is at least one second uniform resource location address, the second uniform resource location address is also placed in the webpage generated above.
  • the page is returned to the search engine.
  • the search engine can either directly extract the blockchain data and its access address, or further initiate a further web page read request to the blockchain network side to capture subsequent blocks. Chain data.
  • the search engine When the webpage is obtained, the search engine also obtains the corresponding version number, so that it can issue a new webpage read request in order to obtain the historical blockchain data corresponding to the historical version number.
  • the hierarchical attributes included in the blockchain data can also play a very important role. It will be based on the hierarchical attributes included in the first blockchain data and the predetermined hierarchical relationship tree. To determine whether there is at least one second uniform resource location address URL. Specifically, for example, the hierarchical attribute of the blockchain data A is "finance”, and the predetermined hierarchical relationship tree indicates that there exists the blockchain data B whose hierarchical attribute is "finance / blockchain finance", then the blockchain data B It is the next level of blockchain data of blockchain data A.
  • the webpage read request is to capture the blockchain data A whose hierarchical attribute is "financial”
  • a uniform resource location address URL pointing to the blockchain data B whose hierarchical attribute is "financial / blockchain finance” is also generated
  • the generated webpage contains the uniform resource location address URL pointing to the blockchain data B whose hierarchical attribute is "finance / blockchain finance”.
  • the blockchain data D is It is the next-level blockchain data of the blockchain data C. If the webpage read request is to capture the blockchain data C with the hierarchical attribute "China”, a uniform resource location address URL pointing to the blockchain data D with the hierarchical attribute "China / Shanghai” is also generated on the webpage That is, the generated webpage contains a uniform resource location address URL pointing to the blockchain data D with the hierarchical attribute "China / Shanghai”.
  • the inventor of the present invention proposes to configure an attribute A1 for the blockchain data, and the attribute A1 is used to specify the blockchain data Parsing.
  • the attribute A1 includes a data format name used to indicate a data analysis method of the blockchain data.
  • the attribute A1 can also include a data format parsing function name, a data format parsing service address, or a data format parsing smart contract address for indicating a data parsing method of the public data and the private data. .
  • the attribute A1 in K / V / A1 of each data indicates the specific data format of the data (for example, XML, JSON, etc.); when the search engine accesses the entry address, Displays a list of data that can be searched on the blockchain.
  • the blockchain calls the corresponding parsing method to parse the data according to the value of the corresponding attribute A1 to generate the corresponding web page.
  • each blockchain node can implement an HTTP server, for example, the domain name http: //test.com.homepage points to the HTTP server.
  • the key apple link displays the contents of a single K / V. As for how to display it, it can be defined through different page templates.
  • the attribute A1 may also be a format parsing function name or an address of a format parsing service. It can also be expressed by a content code such as 1, 2, 3, which is more concise and can save storage space.
  • FIG. 2 shows a schematic diagram 200 of a blockchain data stored in a key-value manner with an attribute A1.
  • blockchain data such as K1, Kn includes an attribute A1
  • the attribute A1 includes A data format name representing a data analysis method of blockchain data such as K1, Kn.
  • the blockchain data such as K1 and the blockchain data such as Kn can also include a data format parsing function name, a data format parsing service address, or a data format parsing for indicating a data parsing method of the blockchain data. Smart contract address.
  • the blockchain data such as K1 has the value of the attribute "A1" of "XML", which indicates that the parsing method of the value (Value) is an XML parsing method, and correspondingly, such as Kn's
  • the blockchain data has the value of the attribute A1 which is "JSON", which indicates that the value parsing method is a JSON parsing method. That is, calling the corresponding analysis function or analysis method can parse out the blockchain data of each K1, Kn, and so on.
  • Robots protocol is also known as the crawler protocol, robot protocol, etc., and its full name is "Robots Exclusion Protocol".
  • the website tells search engines which pages can be crawled and which pages cannot be crawled through the Robots protocol.
  • the search engine for each link address in the portal page, the search engine also needs to be informed by the Robots protocol which link addresses can be traversed and which link addresses cannot be traversed.
  • the Robots protocol only tells search engines which link addresses should be traversed and which connection addresses should not be traversed to achieve retrieval of blockchain data. It does not guarantee that search engines will comply with the Robots protocol well, so the invention of the present invention People creatively think of using the properties of the blockchain data itself to control the search behavior of the search engine.
  • the blockchain data disclosed in accordance with the content of the present invention includes public data and privacy data, where public data is unnecessary
  • the data that can be accessed after verification and the privacy data are data that can be accessed only after verification is required, and wherein the public data and the privacy data are stored in different locations on the blockchain or the public data and the privacy data have different marks.
  • information such as insurance prices and terms in the blockchain is expected to be searchable by search engines without authorization; but other information such as user information, transaction information, Information such as claims records need to be controlled for access rights, otherwise it is not conducive to protecting the privacy of customers or the business secrets of insurance companies.
  • FIG. 3 shows a schematic diagram 300 of a ledger to store public and private data.
  • the blockchain network includes multiple ledgers, such as ledgers 301, 302, ..., 308, 309. Waiting for the nine ledgers, those skilled in the art should understand that the nine ledgers shown here are only exemplary and not restrictive, and those skilled in the art can of course implement more or fewer ledgers to achieve The number of ledgers is not the key to the content of the present invention. The key lies in distinguishing multiple ledgers.
  • the first ledger 301 is marked as a public ledger, that is, only the above-mentioned public data is stored on it, such as the above-mentioned blocks.
  • ledgers 302,..., 308, 309 are marked as privacy ledgers, which only store private data, such as the user information, transaction information, and claim records described above And other information.
  • the number of public ledgers and privacy ledgers can be dynamically configured according to the ratio of data to be disclosed and privacy data on the blockchain. In this way, the data on the blockchain network can be treated differently, thereby providing guarantee for subsequent search services for data on the blockchain.
  • first ledger 301 it is also possible to divide the first ledger 301 into two different areas, for example, to store public data on the first area, and to store private data on the second area. Differentiate and treat data on the network, thereby providing guarantee for subsequent search services for data on the blockchain.
  • the public data and the private data are stored on different ledgers, or the public data and the private data are stored on different areas of the same ledger, so as to mark the public data and the private data for subsequent follow-up.
  • the search phase can distinguish public data and private data based on the type of ledger or the type of ledger area, thereby providing support for subsequent searches.
  • the public data and the private data are stored in different locations on the blockchain or the public data and the private data have different marks can also be implemented in other ways, such as by way of additional attribute domains.
  • the public data and the privacy data may include an attribute A2, wherein the public data has an attribute A2 of, for example, 0, and the privacy data has an attribute A2 of, for example, 1.
  • each blockchain data can include an attribute A2.
  • the attribute A2 is, for example, 0, it indicates that the blockchain data is public data, and when the attribute A2 is a second value of 1, it indicates the area.
  • Blockchain data is private data.
  • attribute A2 allows administrators to dynamically adjust in real time during the operation of the blockchain, thereby improving the dynamic maintenance of data.
  • Fig. 4 shows an example of data 400 stored in a key / value manner.
  • the value of the first blockchain data K1 is V1, and its attribute A2 is 0.
  • the first blockchain data K1 is public data, and an external search engine can access the public data without any access control or verification; and the value of the nth blockchain data Kn is Vn, and its attribute A2 is 1
  • the blockchain data Kn is private data, and external search engines can require access control or authentication to access the private data. That is, the public data K1 and the privacy data Kn are stored in a key-value manner, and the public data has an attribute A2 of 0, and the private data has an attribute A2 of 1.
  • the inventor of the present invention innovatively realizes that by modifying the blockchain network, The attributes of the data are adapted to the search engine, so as to achieve the purpose of searching the data on the blockchain network based on the search engine. In addition, while implementing the retrieval, it can also satisfy the privacy protection of the blockchain for some data that needs privacy protection.
  • the above method for searching blockchain data can publicly share data that can be accessed without access control, and data that requires privacy protection to retain access control; on the other hand, it limits an internal mechanism and interface for access retrieval, which not only allows
  • the external webpage link can directly link the public data in the blockchain, or let the public data in the blockchain link to each other, so that the search engine can traverse and retrieve all the information in the blockchain.
  • the solution provided by the present invention can realize the interconnection and interconnection of the blockchain and Internet information, and further exert the great value of the blockchain.
  • FIG. 5 shows a flowchart of a method 500 for searching for blockchain data according to another embodiment of the present invention.
  • the method 500 for searching for blockchain data includes at least the following five steps. First, in step 510 of the method, a first web page read request is sent to a blockchain node. A webpage read request includes a first uniform resource location address; then, in method step 520, a first webpage is received from a blockchain node, wherein the first webpage includes a first at the first uniform resource location address. Blockchain data and current version number.
  • a second webpage read request is sent to the blockchain node, where the second webpage read request includes the first uniform resource location address and the A second version number determined by the current version number; then, in method step 540, a second web page is received from a blockchain node, wherein the second web page includes the first web page and the second web page at the first uniform resource location address; Historical block chain data corresponding to the second version number; finally, in method step 530, an analysis result graph is generated based on the first block chain data and the historical block chain data.
  • the search engine may also obtain a recommendation from the blockchain node on which analysis result graph to generate, because the blockchain node side is suitable for blockchain data and historical blockchain data. It is clearer what type of analysis results are generated.
  • the above method can be implemented by a computer program product, that is, a computer-readable storage medium.
  • the computer program product may include a computer-readable storage medium having computer-readable program instructions for carrying out various aspects of the present disclosure.
  • the computer-readable storage medium may be a tangible device that can hold and store instructions used by the instruction execution device.
  • the computer-readable storage medium may be, for example, but not limited to, an electric storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing.
  • Non-exhaustive list of computer-readable storage media include: portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM) Or flash memory), static random access memory (SRAM), portable compact disc read only memory (CD-ROM), digital versatile disc (DVD), memory stick, floppy disk, mechanical encoding device, such as a printer with instructions stored thereon A protruding structure in the hole card or groove, and any suitable combination of the above.
  • RAM random access memory
  • ROM read-only memory
  • EPROM erasable programmable read-only memory
  • flash memory flash memory
  • SRAM static random access memory
  • CD-ROM compact disc read only memory
  • DVD digital versatile disc
  • memory stick floppy disk
  • mechanical encoding device such as a printer with instructions stored thereon A protruding structure in the hole card or groove, and any suitable combination of the above.
  • Computer-readable storage media used herein are not to be interpreted as transient signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (e.g., light pulses through fiber optic cables), or transmission through electrical wires Electrical signal.
  • FIG. 6 shows a block diagram of an apparatus 600 for searching for blockchain data according to an embodiment of the present invention.
  • the apparatus 600 for searching for blockchain data includes a processor 610 and a memory 620 coupled to the processor 610.
  • the memory 620 stores instructions. The instructions, when executed by the processor 610, cause the processor 610 to perform the following actions:
  • the processor 610 when the instruction is executed, the processor 610 further causes the processor to perform the following operations:
  • the first blockchain data and the historical blockchain data include a data value and time information associated with the data value.
  • C. determining whether there is at least one second uniform resource location address further includes:
  • B. Obtaining the first blockchain data at the first uniform resource location address further includes:
  • B. Obtaining the first blockchain data at the first uniform resource location address further includes:
  • the first blockchain data and / or the second blockchain data includes a first attribute, and wherein, B. obtaining the address in the first uniform resource location
  • the first blockchain data here further includes:
  • the first blockchain data and / or the second blockchain data are stored in a key-value manner.
  • the first attribute of the first blockchain data when the first blockchain data is public data, the first attribute of the first blockchain data is a first value; in the first When the second blockchain data is public data, the first attribute of the second blockchain data is the first value; when the first blockchain data is private data, all The first attribute of the first blockchain data is a second value different from the first value; and in a case where the second blockchain data is privacy data, the second blockchain data The first attribute is the second value.
  • B. Obtaining the first blockchain data at the first uniform resource location address further includes:
  • first blockchain data or the second blockchain data is stored in a public ledger; And in a case where the first blockchain data or the second blockchain data is privacy data, the first blockchain data or the second blockchain data is stored in a privacy ledger.
  • B. Obtaining the first blockchain data at the first uniform resource location address further includes:
  • the first blockchain data or the second blockchain data is stored in a public area of a ledger Medium; and in the case where the first blockchain data or the second blockchain data is privacy data, the first blockchain data or the second blockchain data is stored in the privacy of the ledger Area.
  • the public data and the private data are stored on different ledgers, or the public data and the private data are stored on different areas of the same ledger, so as to mark the public data and the private data for subsequent follow-up.
  • the search phase can distinguish between public data and private data based on the type of ledger or the type of ledger area, thereby providing support for subsequent searches.
  • the memory 620 can also store other instructions. These instructions, when executed by the processor 610, cause the processor 610 to perform the following actions:
  • FIG. 7 shows a schematic block diagram of an apparatus 700 for searching blockchain data. It should be understood that the apparatus 700 may be implemented to implement the functions of the method 500 for searching for blockchain data in FIG. 5. It can be seen from FIG. 7 that the apparatus 700 for a database includes a central processing unit (CPU) 701 (such as a processor), which can be loaded according to computer program instructions stored in a read-only memory (ROM) 702 or loaded from a storage unit 708 Computer program instructions to random access memory (RAM) 703 to perform various appropriate actions and processes. In the RAM 703, various programs and data required for the operation of the device 700 can also be stored.
  • the CPU 701, ROM 702, and RAM 703 are connected to each other through a bus 704.
  • An input / output (I / O) interface 705 is also connected to the bus 704.
  • the I / O interface 705 including: an input unit 706, such as a keyboard, a mouse, etc .; an output unit 707, such as various types of displays, speakers, etc .; a storage unit 708, such as a magnetic disk, an optical disk, etc And a communication unit 709, such as a network card, a modem, a wireless communication transceiver, and the like.
  • the communication unit 709 allows the apparatus 700 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
  • the method 500 for searching blockchain data may be implemented as a computer software program that is tangibly embodied on a machine-readable medium, such as the storage unit 708.
  • part or all of the computer program may be loaded and / or installed on the device 700 via the ROM 702 and / or the communication unit 709.
  • the computer program is loaded into the RAM 703 and executed by the CPU 701, one or more actions or steps in the method 500 described above may be performed.
  • the various example embodiments of the invention may be implemented in hardware or special purpose circuits, software, firmware, logic, or any combination thereof. Some aspects may be implemented in hardware, while other aspects may be implemented in firmware or software which may be executed by a controller, microprocessor, or other computing device.
  • aspects of embodiments of the invention are illustrated or described as a block diagram, a flowchart, or using some other graphical representation, it will be understood that the blocks, devices, systems, techniques, or methods described herein may be considered non-limiting
  • the examples are implemented in hardware, software, firmware, dedicated circuits or logic, general-purpose hardware or controllers, or other computing devices, or some combination thereof.
  • the above-mentioned data processing device for a blockchain can be implemented in either a hardware form or a software form.
  • a technological improvement could easily be a hardware improvement (for example, an improvement in the circuit structure of a diode, a transistor, a switch, etc.) or a software improvement (for example, a method Process improvements).
  • a hardware improvement for example, an improvement in the circuit structure of a diode, a transistor, a switch, etc.
  • a software improvement for example, a method Process improvements.
  • many of today's method and process improvements can be achieved by programming the improved method and process into hardware circuits. In other words, the corresponding hardware is obtained by programming different programs for the hardware circuits.
  • a programmable logic device Programmable Logic Device: PLD
  • PLD Programmable Logic Device
  • FPGA Field Programmable Gate Array
  • HDL Hardware Description Language
  • ABEL Advanced Boolean ExpressionLanguage
  • AHDL Altera, Hardware, Description, Language
  • HDCal JHDL
  • Java Hardware, Description, Language
  • Lava Lava
  • Lola MyHDL
  • PALASM RHDL
  • VHDL Very-High-Speed Integrated Circuit Hardware Description Language
  • Verilog Verilog
  • the computer-readable program instructions or computer program products used to execute the various aspects of the present invention can also be stored in the cloud. When it is required to be called, the user can access the stored cloud for execution through the mobile Internet, fixed network or other networks.
  • the computer-readable program instructions of an aspect of the present invention implement the technical solutions disclosed according to the various aspects of the present invention.
  • the method for searching for blockchain data can accurately control the data on the blockchain on the one hand, so that data that can be shared publicly can be accessed without access control and requires privacy protection Data retention access control; on the other hand, it defines an internal mechanism and interface for access and retrieval, which not only allows external web links to directly link to public data in the blockchain, but also allows public data in the blockchain to interact with each other Link, so that search engines can traverse and retrieve all the information in the blockchain, and can obtain the current value and historical value of specific data.
  • the solution provided by the present invention can realize the interconnection and interconnection of the blockchain and Internet information, and further exert the great value of the blockchain.

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

La présente invention concerne un procédé de recherche de données de chaîne de blocs. Ledit procédé comprend les étapes consistant à : A, au moyen d'une interface au protocole de transfert hypertexte, recevoir une demande de lecture de page Web envoyée par un moteur de recherche, la demande de lecture de page Web contenant un premier localisateur uniforme de ressources (URL) et un numéro de version ; B, au niveau du premier URL, acquérir des données historiques de chaîne de blocs correspondant au numéro de version ; C, déterminer s'il existe au moins un second URL, les secondes données de chaîne de blocs au niveau dudit au moins un second URL étant associées aux premières données de chaîne de blocs ; D, si ledit au moins un second URL existe, en fonction des données historiques de chaîne de blocs et dudit au moins un second URL, générer une page Web associée au premier URL ; et E, au moyen de l'interface au protocole de transfert hypertexte, renvoyer la page Web au moteur de recherche.
PCT/CN2019/098178 2018-08-03 2019-07-29 Procédé et dispositif de recherche de données de chaîne de blocs et support de stockage WO2020024899A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810878730.XA CN109086414B (zh) 2018-08-03 2018-08-03 用于搜索区块链数据的方法、装置及存储介质
CN201810878730.X 2018-08-03

Publications (1)

Publication Number Publication Date
WO2020024899A1 true WO2020024899A1 (fr) 2020-02-06

Family

ID=64833596

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/098178 WO2020024899A1 (fr) 2018-08-03 2019-07-29 Procédé et dispositif de recherche de données de chaîne de blocs et support de stockage

Country Status (2)

Country Link
CN (1) CN109086414B (fr)
WO (1) WO2020024899A1 (fr)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109086414B (zh) * 2018-08-03 2020-08-07 上海点融信息科技有限责任公司 用于搜索区块链数据的方法、装置及存储介质
CN109857807A (zh) * 2019-01-10 2019-06-07 中钞***产业发展有限公司杭州区块链技术研究院 基于区块链的交易数据同步方法、装置、设备和介质
CN109859024B (zh) * 2019-01-23 2023-06-13 陕西优米数据技术有限公司 一种基于联盟链的税务***共识方法

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106227833A (zh) * 2016-07-26 2016-12-14 宁圣金融信息服务(上海)有限公司 区块链搜索引擎方法、***和装置
US20180137196A1 (en) * 2016-11-11 2018-05-17 International Business Machines Corporation Trustable web searching verification in a blockchain
CN108062413A (zh) * 2017-12-30 2018-05-22 平安科技(深圳)有限公司 网页数据处理方法、装置、计算机设备及存储介质
CN109086414A (zh) * 2018-08-03 2018-12-25 上海点融信息科技有限责任公司 用于搜索区块链数据的方法、装置及存储介质

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101727471A (zh) * 2008-10-30 2010-06-09 鸿富锦精密工业(深圳)有限公司 网站内容检索***及方法
CN106445993A (zh) * 2016-07-11 2017-02-22 天津米游科技有限公司 一种基于区块链的数据指纹查询方法及装置
CN108171083B (zh) * 2017-12-18 2020-02-07 深圳前海微众银行股份有限公司 区块链可信数据管理方法、***及计算机可读存储介质

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106227833A (zh) * 2016-07-26 2016-12-14 宁圣金融信息服务(上海)有限公司 区块链搜索引擎方法、***和装置
US20180137196A1 (en) * 2016-11-11 2018-05-17 International Business Machines Corporation Trustable web searching verification in a blockchain
CN108062413A (zh) * 2017-12-30 2018-05-22 平安科技(深圳)有限公司 网页数据处理方法、装置、计算机设备及存储介质
CN109086414A (zh) * 2018-08-03 2018-12-25 上海点融信息科技有限责任公司 用于搜索区块链数据的方法、装置及存储介质

Also Published As

Publication number Publication date
CN109086414B (zh) 2020-08-07
CN109086414A (zh) 2018-12-25

Similar Documents

Publication Publication Date Title
WO2020024895A1 (fr) Procédé et appareil permettant de rechercher des données de chaîne de blocs et support d'informations
WO2020024896A1 (fr) Procédé et dispositif de recherche de données de chaîne de blocs, et support de stockage
US11995079B2 (en) Generating a subquery for an external data system using a configuration file
WO2020024898A1 (fr) Procédé et appareil de recherche de données de chaîne de blocs, et support de stockage
US10942708B2 (en) Generating web API specification from online documentation
US11670288B1 (en) Generating predicted follow-on requests to a natural language request received by a natural language processing system
US11886430B1 (en) Intent-based natural language processing system
US10031920B1 (en) Third-party indexable text
US11561972B2 (en) Query conversion for querying disparate data sources
WO2020024899A1 (fr) Procédé et dispositif de recherche de données de chaîne de blocs et support de stockage
US11475053B1 (en) Providing completion recommendations for a partial natural language request received by a natural language processing system
CN110162512B (zh) 一种日志检索方法、装置及存储介质
WO2020024903A1 (fr) Procédé et dispositif de recherche de données de chaîne de blocs et support d'informations lisible par ordinateur
US11526575B2 (en) Web browser with enhanced history classification
US20220229657A1 (en) Extensible resource compliance management
CN108536617B (zh) 缓存管理方法、介质、***和电子设备
WO2020024902A1 (fr) Procédé, dispositif et support d'informations pour la recherche de données d'une chaîne de blocs
WO2021012554A1 (fr) Procédé et appareil de mise à jour de champ de données dans une chaîne de blocs, support, et dispositif électronique
US9286348B2 (en) Dynamic search system
US20210342413A1 (en) Identifying code dependencies in web applications
CN113900895B (zh) 信息处理方法、信息处理装置、存储介质与电子设备
TWI674550B (zh) 創新產品加值功能開發輔助性系統及其方法
CN116069305A (zh) 接口请求示例生成方法、装置、电子设备及存储介质
US20210182473A1 (en) Ad hoc contact data capture
CN113760893A (zh) 指令控制方法、装置、计算机***和计算机可读存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19845072

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19845072

Country of ref document: EP

Kind code of ref document: A1