CN111259056A - Block chain data query method, system and related equipment - Google Patents

Block chain data query method, system and related equipment Download PDF

Info

Publication number
CN111259056A
CN111259056A CN202010044104.8A CN202010044104A CN111259056A CN 111259056 A CN111259056 A CN 111259056A CN 202010044104 A CN202010044104 A CN 202010044104A CN 111259056 A CN111259056 A CN 111259056A
Authority
CN
China
Prior art keywords
block
data
index
enterprise
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010044104.8A
Other languages
Chinese (zh)
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.)
Shenzhen Weizhong Credit Technology Co Ltd
Original Assignee
Shenzhen Weizhong Credit 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 Shenzhen Weizhong Credit Technology Co Ltd filed Critical Shenzhen Weizhong Credit Technology Co Ltd
Priority to CN202010044104.8A priority Critical patent/CN111259056A/en
Publication of CN111259056A publication Critical patent/CN111259056A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2458Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
    • G06F16/2471Distributed queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2228Indexing structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/02Banking, e.g. interest calculation or account maintenance

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Software Systems (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Development Economics (AREA)
  • Fuzzy Systems (AREA)
  • Mathematical Physics (AREA)
  • Probability & Statistics with Applications (AREA)
  • Computational Linguistics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • General Business, Economics & Management (AREA)
  • Computing Systems (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The embodiment of the invention provides a method, a system and related equipment for inquiring block chain data, which are used for improving the efficiency of inquiring the block chain data. The method provided by the embodiment of the invention comprises the following steps: performing word segmentation processing on each block data in a target block chain to obtain a field value of at least one preset field of each block, and adding the field value of the preset field into an index database as an index keyword of the corresponding block; establishing a mapping relation between the unique identifier of each block and the index key word to which the unique identifier belongs; receiving a data query request of a client, wherein the data query request comprises query keywords; and judging whether a target index keyword matched with the query keyword exists in the index database, and if so, querying block data corresponding to the target index keyword according to the mapping relation.

Description

Block chain data query method, system and related equipment
Technical Field
The present invention relates to the field of block chain technologies, and in particular, to a method, a system, and a related device for querying block chain data.
Background
Because the blockchain has security characteristics such as tamper resistance and traceability, more and more industries choose to use the blockchain for data storage, for example, in the financial industry, many banking institutions already use the blockchain technology in credit business to store data related to credit authorization of customers by using the blockchain.
The blockchain is characterized in that each blockchain node stores the whole amount of blockchain data, so that if the blockchain data is inquired, the information stored on the whole blockchain needs to be traversed to inquire a block matched with an input search word. With the increasing of the blockchain data, the query efficiency is affected by traversing the query data, so that the trust data of the client cannot be rapidly queried.
Disclosure of Invention
The embodiment of the invention provides a method, a system and related equipment for inquiring block chain data, which are used for improving the efficiency of inquiring the block chain data.
A first aspect of an embodiment of the present invention provides a method for querying block chain data, where the method may include:
performing word segmentation processing on each block data in a target block chain to obtain a field value of at least one preset field of each block, and adding the field value of the preset field into an index database as an index keyword of the corresponding block;
establishing a mapping relation between the unique identifier of each block and the index key word to which the unique identifier belongs;
receiving a data query request of a client, wherein the data query request comprises query keywords;
and judging whether a target index keyword matched with the query keyword exists in the index database, and if so, querying block data corresponding to the target index keyword according to the mapping relation.
Optionally, as a possible implementation manner, in an embodiment of the present invention, the unique identifier of the block includes: block hash and/or block height values.
Optionally, as a possible implementation manner, in the embodiment of the present invention, when the enterprise trust data is stored in the target block chain, the preset field includes: enterprise name, enterprise tax number, enterprise address, enterprise contact, credit line, loan amount, loan terms, repayment method, loan bank.
Optionally, as a possible implementation manner, in an embodiment of the present invention, the method for querying block chain data further includes:
and returning the inquired block data to the client so that the client displays the inquired block data.
A second aspect of the present invention provides a system for querying block chain data, including:
the search engine module is used for performing word segmentation processing on each block data in the target block chain to obtain a field value of a preset field of each block, and adding the field value of the preset field into an index database as an index keyword of the corresponding block;
the search engine module is also used for establishing a mapping relation between the unique identifier of each block and the index key word to which the unique identifier belongs;
the query module is used for receiving a data query request of a client, wherein the data query request comprises query keywords;
and the search engine module is also used for judging whether a target index keyword matched with the query keyword exists in the index database, and if so, inquiring block data corresponding to the target index keyword according to the mapping relation.
Optionally, as a possible implementation manner, in an embodiment of the present invention, the unique identifier of the block includes: block hash and/or block height values.
Optionally, as a possible implementation manner, in the embodiment of the present invention, when the enterprise trust data is stored in the target block chain, the preset field includes: enterprise name, enterprise tax number, enterprise address, enterprise contact, credit line, loan amount, loan terms, repayment method, loan bank.
Optionally, as a possible implementation manner, the block chain data query system in the embodiment of the present invention may further include:
and the sending module is used for returning the inquired block data to the client so that the client displays the inquired block data.
A third aspect of embodiments of the present invention provides a computer apparatus, which includes a processor, and the processor is configured to implement the steps in any one of the possible implementation manners of the first aspect and the first aspect when executing a computer program stored in a memory.
A fourth aspect of the embodiments of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps in any one of the possible implementations of the first aspect and the first aspect.
According to the technical scheme, the embodiment of the invention has the following advantages:
in the embodiment of the invention, the block chain data query system can perform word segmentation on each block data in the target block chain to obtain the field value of at least one preset field of each block, the field value of the preset field is used as an index key word of the corresponding block and added into an index database, and the mapping relation between the unique identifier of each block and the index key word to which the unique identifier belongs is established; after receiving a data query request of a client, it may be determined whether a target index keyword matching the query keyword exists in the index database, and if so, block data corresponding to the target index keyword is queried according to the mapping relationship. Compared with the prior art, in the data query process, all data stored in the whole block chain do not need to be traversed, only the index key words in the index database need to be matched, the data retrieval amount is reduced, and the efficiency of block chain data query is improved.
Drawings
FIG. 1 is a diagram of a block chain data query method according to an embodiment of the present invention;
FIG. 2 is a diagram of a block chain data query system according to an embodiment of the present invention;
fig. 3 is a schematic diagram of an embodiment of a computer device according to an embodiment of the present invention.
Detailed Description
The embodiment of the invention provides a method, a system and related equipment for inquiring block chain data, which are used for improving the efficiency of inquiring the block chain data.
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that the embodiments described herein may be practiced otherwise than as specifically illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Because the blockchain has security characteristics such as tamper resistance and traceability, more and more industries choose to use the blockchain for data storage, for example, in the financial industry, many banking institutions already use the blockchain technology in credit business to store data related to credit authorization of customers by using the blockchain. The blockchain has the further characteristic that each blockchain node stores the whole amount of blockchain data, so that if the blockchain data is to be queried, the whole blockchain must be traversed, and as the blockchain data grows increasingly, the query efficiency is affected, and the credit data of a client cannot be queried quickly.
According to the embodiment of the invention, the word segmentation processing is carried out on the block data in advance, the index database consisting of word segmentation keywords and the block hash and/or the block height value is created, when the block data needs to be inquired, the specific block is quickly positioned by matching the index data, and then the corresponding block data is returned, so that the problem of low efficiency in traversing and inquiring the block data is solved.
For convenience of understanding, the following describes a specific process in an embodiment of the present invention, and referring to fig. 1, an embodiment of a method for querying blockchain data in an embodiment of the present invention may include:
101. performing word segmentation processing on each block data in a target block chain to obtain a field value of at least one preset field of each block, and adding the field value of the preset field into an index database as an index keyword of the corresponding block;
in the existing scheme, data searching and matching are to search data in the whole block chain, which is time-consuming and labor-consuming. The applicant notices that when a user searches data, a retrieval query is often performed based on a small number of keywords, and therefore, natural language processing can be performed on the data in the blocks in advance, for example, word segmentation processing is performed on each block data in a target block chain, a field value (for example, 2 field values or a plurality of field values) of at least one preset field of each block is obtained, and the field value of the preset field is added to the index database as an index keyword of the corresponding block.
For example, only the example of storing the enterprise trust data in the blockchain is taken as an example for description, when the enterprise trust data is stored in the target blockchain, the preset fields include: the method comprises one or more fields of enterprise name, enterprise tax number, enterprise address, enterprise contact way, credit line, loan amount, loan term, repayment way and loan bank, wherein the specific field selection is not limited herein. Optionally, a preset field may be displayed on the user interface to prompt the user to input the corresponding query keyword, so as to avoid inputting an invalid field and improve the retrieval efficiency.
It can be understood that the specific preset field may be set reasonably according to the data type stored in the block chain and the data type that the user needs to retrieve, and the specific preset field is not limited herein.
102. Establishing a mapping relation between the unique identifier of each block and the index key word to which the unique identifier belongs;
after the field value of the preset field of at least one block is obtained, a mapping relation between the unique identifier of each block and the index key to which the block belongs can be established.
Optionally, the unique identifier of the block may include: block hash and/or block height values. For example, as shown in table 1 below, when the unique identifiers of the blocks are a block hash and a block height value, the index keys "a technology limited" and "91440111115267261Y" may simultaneously establish a mapping relationship with the same block hash and the same block height value, that is, the same block hash and block height value may correspond to multiple index keys.
Figure BDA0002368762740000051
TABLE 1
103. Receiving a data query request of a client, wherein the data query request comprises query keywords;
after the index database and the mapping relation are established, the block chain data query system can receive a data query request of a client, wherein the data query request comprises a query keyword, and the data query request is processed.
104. And judging whether a target index keyword matched with the query keyword exists in the index database, and if so, querying block data corresponding to the target index keyword according to the mapping relation.
After the data query request is acquired to include the query keyword, the block chain data query system may determine whether a target index keyword matched with the query keyword exists in the index database, and if so, query block data corresponding to the target index keyword according to the mapping relationship.
Specifically, when the index database has the same value as the query keyword or the similarity of the query keyword is greater than a preset threshold, the matching is determined to be successful.
In the embodiment of the invention, the block chain data query system can perform word segmentation on each block data in the target block chain to obtain the field value of at least one preset field of each block, the field value of the preset field is used as an index key word of the corresponding block and added into an index database, and the mapping relation between the unique identifier of each block and the index key word to which the unique identifier belongs is established; after receiving a data query request of a client, it may be determined whether a target index keyword matching the query keyword exists in the index database, and if so, block data corresponding to the target index keyword is queried according to the mapping relationship. Compared with the prior art, in the data query process, all data stored in the whole block chain do not need to be traversed, only the index key words in the index database need to be matched, the data retrieval amount is reduced, and the efficiency of block chain data query is improved.
Optionally, as a possible implementation manner, after the corresponding tile data is queried, the tile chain data querying system may return the queried tile data to the client, so that the client displays the queried tile data. If a plurality of successfully matched block data exist, the plurality of successfully matched block data can be displayed for the user to select, and if the matching fails, prompt information can be displayed.
Referring to fig. 2, an embodiment of the present invention further provides a system for querying block chain data, including:
the search engine module 201 is configured to perform word segmentation processing on each block data in the target block chain to obtain a field value of a preset field of each block, and add the field value of the preset field as an index keyword of the corresponding block to the index database;
the search engine module 201 is further configured to establish a mapping relationship between the unique identifier of each block and the index key to which the unique identifier belongs;
the query module 202 is configured to receive a data query request from a client, where the data query request includes query keywords;
the search engine module 201 is further configured to determine whether a target index keyword matching the query keyword exists in the index database, and if so, query block data corresponding to the target index keyword according to the mapping relationship.
Optionally, as a possible implementation, the unique identifier of the block includes: block hash and/or block height values.
Optionally, as a possible implementation manner, when the enterprise trust data is stored in the target blockchain, the preset field includes: enterprise name, enterprise tax number, enterprise address, enterprise contact, credit line, loan amount, loan terms, repayment method, loan bank.
Optionally, as a possible implementation manner, the block chain data query system may further include:
and the sending module is used for returning the inquired block data to the client so that the client displays the inquired block data.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
While the block chain data query system in the embodiment of the present invention is described above from the perspective of the modular functional entity, referring to fig. 3, the following describes the computer apparatus in the embodiment of the present invention from the perspective of hardware processing:
the computer device 1 may include a memory 11, a processor 12 and an input output bus 13. The processor 11 executes the computer program to implement the steps of the above-mentioned embodiment of the block chain data query method shown in fig. 1, such as the steps 101 to 104 shown in fig. 1. Alternatively, the processor, when executing the computer program, implements the functions of each module or unit in the above-described device embodiments.
In some embodiments of the present invention, the processor is specifically configured to implement the following steps:
performing word segmentation processing on each block data in a target block chain to obtain a field value of at least one preset field of each block, and adding the field value of the preset field into an index database as an index keyword of the corresponding block;
establishing a mapping relation between the unique identifier of each block and the index key word to which the unique identifier belongs;
receiving a data query request of a client, wherein the data query request comprises query keywords;
and judging whether a target index keyword matched with the query keyword exists in the index database, and if so, querying block data corresponding to the target index keyword according to the mapping relation.
Optionally, as a possible implementation, the unique identifier of the block includes: block hash and/or block height values.
Optionally, as a possible implementation manner, when the enterprise trust data is stored in the target blockchain, the preset field includes: enterprise name, enterprise tax number, enterprise address, enterprise contact, credit line, loan amount, loan terms, repayment method, loan bank.
Optionally, as a possible implementation manner, the processor may be further configured to implement the following steps:
and returning the inquired block data to the client so that the client displays the inquired block data.
The memory 11 includes at least one type of readable storage medium, and the readable storage medium includes a flash memory, a hard disk, a multimedia card, a card type memory (e.g., SD or DX memory, etc.), a magnetic memory, a magnetic disk, an optical disk, and the like. The memory 11 may in some embodiments be an internal storage unit of the computer device 1, for example a hard disk of the computer device 1. The memory 11 may also be an external storage device of the computer apparatus 1 in other embodiments, such as a plug-in hard disk provided on the computer apparatus 1, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like. Further, the memory 11 may also include both an internal storage unit and an external storage device of the computer apparatus 1. The memory 11 may be used not only to store application software installed in the computer apparatus 1 and various types of data, such as codes of the computer program 01, but also to temporarily store data that has been output or is to be output.
The processor 12 may be a Central Processing Unit (CPU), controller, microcontroller, microprocessor or other data Processing chip in some embodiments, and is used for executing program codes stored in the memory 11 or Processing data, such as executing the computer program 01.
The input/output bus 13 may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 3, but this does not mean only one bus or one type of bus.
Further, the computer apparatus may further include a wired or wireless network interface 14, and the network interface 14 may optionally include a wired interface and/or a wireless interface (such as a WI-FI interface, a bluetooth interface, etc.), which are generally used for establishing a communication connection between the computer apparatus 1 and other electronic devices.
Optionally, the computer device 1 may further include a user interface, the user interface may include a Display (Display), an input unit such as a Keyboard (Keyboard), and optionally, the user interface may further include a standard wired interface and a wireless interface. Alternatively, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch device, or the like. The display, which may also be referred to as a display screen or display unit, is suitable for displaying information processed in the computer device 1 and for displaying a visualized user interface.
Fig. 3 shows only the computer device 1 with the components 11-14 and the computer program 01, it being understood by a person skilled in the art that the structure shown in fig. 3 does not constitute a limitation of the computer device 1, but may comprise fewer or more components than shown, or a combination of certain components, or a different arrangement of components.
The present invention also provides a computer-readable storage medium having a computer program stored thereon, which when executed by a processor, performs the steps of:
performing word segmentation processing on each block data in a target block chain to obtain a field value of at least one preset field of each block, and adding the field value of the preset field into an index database as an index keyword of the corresponding block;
establishing a mapping relation between the unique identifier of each block and the index key word to which the unique identifier belongs;
receiving a data query request of a client, wherein the data query request comprises query keywords;
and judging whether a target index keyword matched with the query keyword exists in the index database, and if so, querying block data corresponding to the target index keyword according to the mapping relation.
Optionally, as a possible implementation, the unique identifier of the block includes: block hash and/or block height values.
Optionally, as a possible implementation manner, when the enterprise trust data is stored in the target blockchain, the preset field includes: enterprise name, enterprise tax number, enterprise address, enterprise contact, credit line, loan amount, loan terms, repayment method, loan bank.
Optionally, as a possible implementation manner, the processor may be further configured to implement the following steps:
and returning the inquired block data to the client so that the client displays the inquired block data.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A method for querying data in a block chain, comprising:
performing word segmentation processing on each block data in a target block chain to obtain a field value of at least one preset field of each block, and adding the field value of the preset field into an index database as an index keyword of the corresponding block;
establishing a mapping relation between the unique identifier of each block and the index key word to which the unique identifier belongs;
receiving a data query request of a client, wherein the data query request comprises query keywords;
and judging whether a target index keyword matched with the query keyword exists in the index database, and if so, querying block data corresponding to the target index keyword according to the mapping relation.
2. The method of claim 1, wherein the unique identification of the tile comprises: block hash and/or block height values.
3. The method of claim 1, wherein when the target blockchain stores enterprise trust data, the predetermined fields include: enterprise name, enterprise tax number, enterprise address, enterprise contact, credit line, loan amount, loan terms, repayment method, loan bank.
4. The method of any of claims 1 to 3, further comprising:
and returning the inquired block data to the client so that the client displays the inquired block data.
5. A system for block chain data lookup, comprising:
the search engine module is used for performing word segmentation processing on each block data in the target block chain to obtain a field value of a preset field of each block, and adding the field value of the preset field into an index database as an index keyword of the corresponding block;
the search engine module is also used for establishing a mapping relation between the unique identifier of each block and the index key word to which the unique identifier belongs;
the query module is used for receiving a data query request of a client, wherein the data query request comprises query keywords;
and the search engine module is also used for judging whether a target index keyword matched with the query keyword exists in the index database, and if so, inquiring block data corresponding to the target index keyword according to the mapping relation.
6. The system of claim 5, wherein the unique identification of the tile comprises: block hash and/or block height values.
7. The system according to claim 5, wherein when the target blockchain stores enterprise trust data, the preset fields include: enterprise name, enterprise tax number, enterprise address, enterprise contact, credit line, loan amount, loan terms, repayment method, loan bank.
8. The system of any one of claims 5 to 7, further comprising:
and the sending module is used for returning the inquired block data to the client so that the client displays the inquired block data.
9. A computer arrangement, characterized in that the computer arrangement comprises a processor for implementing the steps of the method according to any one of claims 1 to 4 when executing a computer program stored in a memory.
10. A computer-readable storage medium having stored thereon a computer program, characterized in that: the computer program when executed by a processor implementing the steps of the method according to any one of claims 1 to 4.
CN202010044104.8A 2020-01-15 2020-01-15 Block chain data query method, system and related equipment Pending CN111259056A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010044104.8A CN111259056A (en) 2020-01-15 2020-01-15 Block chain data query method, system and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010044104.8A CN111259056A (en) 2020-01-15 2020-01-15 Block chain data query method, system and related equipment

Publications (1)

Publication Number Publication Date
CN111259056A true CN111259056A (en) 2020-06-09

Family

ID=70954106

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010044104.8A Pending CN111259056A (en) 2020-01-15 2020-01-15 Block chain data query method, system and related equipment

Country Status (1)

Country Link
CN (1) CN111259056A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111858609A (en) * 2020-07-27 2020-10-30 北京金山云网络技术有限公司 Fuzzy query method and device for block chain
CN112364032A (en) * 2021-01-12 2021-02-12 浙江正元智慧科技股份有限公司 Data center data query method based on Internet technology
CN112487027A (en) * 2020-12-02 2021-03-12 济南浪潮高新科技投资发展有限公司 Efficient data query implementation method based on block chain electronic transaction
CN113139019A (en) * 2021-06-18 2021-07-20 智己汽车科技有限公司 Method and device for recording mileage data of vehicle on block chain
CN114661788A (en) * 2022-03-22 2022-06-24 中国电信股份有限公司 Block chain data retrieval method and device, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150012560A1 (en) * 2013-07-03 2015-01-08 Google Inc. Methods and systems for providing potential search queries that may be targeted by one or more keywords
CN107273556A (en) * 2017-08-23 2017-10-20 上海点融信息科技有限责任公司 Block chain data index method and equipment
CN109741060A (en) * 2018-12-29 2019-05-10 北京金山安全软件有限公司 Information inquiry system, method, device, electronic equipment and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150012560A1 (en) * 2013-07-03 2015-01-08 Google Inc. Methods and systems for providing potential search queries that may be targeted by one or more keywords
CN107273556A (en) * 2017-08-23 2017-10-20 上海点融信息科技有限责任公司 Block chain data index method and equipment
CN109741060A (en) * 2018-12-29 2019-05-10 北京金山安全软件有限公司 Information inquiry system, method, device, electronic equipment and storage medium

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111858609A (en) * 2020-07-27 2020-10-30 北京金山云网络技术有限公司 Fuzzy query method and device for block chain
CN112487027A (en) * 2020-12-02 2021-03-12 济南浪潮高新科技投资发展有限公司 Efficient data query implementation method based on block chain electronic transaction
CN112487027B (en) * 2020-12-02 2022-08-23 山东浪潮科学研究院有限公司 Efficient data query implementation method based on block chain electronic transaction
CN112364032A (en) * 2021-01-12 2021-02-12 浙江正元智慧科技股份有限公司 Data center data query method based on Internet technology
CN113139019A (en) * 2021-06-18 2021-07-20 智己汽车科技有限公司 Method and device for recording mileage data of vehicle on block chain
CN114661788A (en) * 2022-03-22 2022-06-24 中国电信股份有限公司 Block chain data retrieval method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN111259056A (en) Block chain data query method, system and related equipment
JP5721627B2 (en) Method and system for saving database storage space
US9785989B2 (en) Determining a characteristic group
KR100856771B1 (en) Real time data warehousing
EP3561636B1 (en) Record level data security
CN110457363B (en) Query method, device and storage medium based on distributed database
US20060074902A1 (en) Forming intent-based clusters and employing same by search
CN109446197A (en) User information processing method, device, computer equipment and storage medium
CN103688260A (en) Entity resolution
US20230205755A1 (en) Methods and systems for improved search for data loss prevention
CN108446989B (en) Method for determining commission charge and terminal equipment
CN110245281B (en) Internet asset information collection method and terminal equipment
CN102541963B (en) Method and device for inquiring character identification
CN114741384A (en) Patient information processing method and device and computer readable storage medium
CN114356898A (en) Data storage method and device, electronic equipment and storage medium
US6070169A (en) Method and system for the determination of a particular data object utilizing attributes associated with the object
CN110874365B (en) Information query method and related equipment thereof
CN113625967A (en) Data storage method, data query method and server
CN111859044A (en) Data query processing method, system and related equipment
CN111259129B (en) Data report searching method and device, electronic equipment and storage medium
US20220114275A1 (en) Data record search with field level user access control
CN111949665B (en) Method and device for data processing
CN108241750B (en) Method and device for optimizing connecting lines in network diagram, storage medium and terminal
CN114117188A (en) Search statement analysis method and device based on binary tree and electronic equipment
CN116186080A (en) List management method and system

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200609

RJ01 Rejection of invention patent application after publication