CN112597192A - Data query method, device, server and medium - Google Patents

Data query method, device, server and medium Download PDF

Info

Publication number
CN112597192A
CN112597192A CN202011429581.2A CN202011429581A CN112597192A CN 112597192 A CN112597192 A CN 112597192A CN 202011429581 A CN202011429581 A CN 202011429581A CN 112597192 A CN112597192 A CN 112597192A
Authority
CN
China
Prior art keywords
data
information
block
block chain
stored
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
CN202011429581.2A
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.)
Hangzhou Qulian Technology Co Ltd
Original Assignee
Hangzhou Qulian 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 Hangzhou Qulian Technology Co Ltd filed Critical Hangzhou Qulian Technology Co Ltd
Priority to CN202011429581.2A priority Critical patent/CN112597192A/en
Publication of CN112597192A publication Critical patent/CN112597192A/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/2453Query optimisation
    • 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/23Updating
    • G06F16/2365Ensuring data consistency and integrity
    • 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/248Presentation of query results
    • 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
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Computer Security & Cryptography (AREA)
  • Computational Linguistics (AREA)
  • Computing Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application is applicable to the technical field of computers, and provides a data query method, which comprises the following steps: in response to receiving a data query request which is sent by a data query party and comprises query demand information, searching associated information where data description information matched with the query demand information is located from a pre-stored associated information set, wherein the associated information in the associated information set comprises associated block chain data, data description information of the block chain data and block position information of a block for storing representation data of the block chain data; obtaining the representation data of the block chain data from the block indicated by the block position information in the searched associated information; and responding to the matching between the characterization data of the acquired block chain data and the block chain data in the searched association information, and sending the block chain data in the searched association information to the data inquiring party.

Description

Data query method, device, server and medium
Technical Field
The present application belongs to the field of computer technologies, and in particular, to a data query method, apparatus, server, and medium.
Background
The block chain is a distributed shared account book and a database, and has the characteristics of decentralization, no tampering, trace retaining in the whole process, traceability, collective maintenance, openness and transparency and the like. The blockchain itself is a blockchain data structure. In the related art, when querying data in a block chain, it is usually necessary to traverse each block in the block chain to find a block for storing the data, so as to find the data from the found block, which results in low efficiency of data query.
Therefore, in the related art, it is necessary to improve the query efficiency of querying data in a blockchain.
Disclosure of Invention
The embodiment of the application provides a data query method, a data query device, a server and a medium, and aims to solve the problem that the query efficiency of querying data in a block chain is not high enough in the related art.
In a first aspect, an embodiment of the present application provides a data query method, where the method includes:
in response to receiving a data query request which is sent by a data query party and comprises query demand information, searching associated information where data description information matched with the query demand information is located from a pre-stored associated information set, wherein the associated information in the associated information set comprises associated block chain data, data description information of the block chain data and block position information of a block for storing representation data of the block chain data;
obtaining the representation data of the block chain data from the block indicated by the block position information in the searched associated information;
and responding to the matching between the characterization data of the acquired block chain data and the block chain data in the searched association information, and sending the block chain data in the searched association information to the data inquiring party.
Further, in response to that the obtained characterization data of the blockchain data is matched with the found blockchain data in the associated information, sending the found blockchain data in the associated information to the data querying party, including:
in response to the fact that the characterization data of the block chain data is the block chain data, determining the hash value of the block chain data in the searched association information, and recording the hash value as a first hash value, and determining the obtained hash value of the block chain data, and recording the obtained hash value as a second hash value;
and responding to the consistency of the first hash value and the second hash value, and sending the block chain data in the searched associated information to the data inquiring party.
Further, in response to that the obtained characterization data of the blockchain data is matched with the found blockchain data in the associated information, sending the found blockchain data in the associated information to the data querying party, including:
determining the hash value of the blockchain data in the searched associated information in response to the characteristic data of the blockchain data being the hash value of the blockchain data;
and responding to the fact that the determined hash value is consistent with the obtained hash value, and sending the block chain data in the searched associated information to the data inquiring party.
Further, the associated information in the associated information set is stored through an information storing step, which includes:
receiving a data storage request sent by a data storage party, wherein the data storage request comprises data to be stored and data description information of the data to be stored;
storing data to be stored into a block chain, and obtaining block position information of a block for storing the data to be stored;
and storing the data to be stored, the data description information of the data to be stored and the block position information of the block for storing the data to be stored into the association information set as the association information in a whole.
Further, in the information storing step, storing the data to be stored into the block chain includes: storing the hash value of the data to be stored into a block chain; and
storing the data to be stored, the data description information of the data to be stored, and the block position information of the block for storing the data to be stored as the whole associated information into an associated information set, including:
and storing the data to be stored, the data description information of the data to be stored and the block position information of the block for storing the hash value of the data to be stored into the association information set as the association information.
In a second aspect, an embodiment of the present application provides a data query method, where the method includes: in response to receiving a data query request which is sent by a data query party and comprises query demand information, searching relevant information where data description information matched with the query demand information is located from a pre-stored relevant information set, wherein the relevant information in the relevant information set comprises data description information of associated blockchain data, an identity of a data provider providing the blockchain data and block position information of a block used for storing a hash value of the blockchain data;
obtaining a hash value of the block chain data from the block indicated by the block position information in the searched related information;
and sending the obtained hash value of the block chain data to a data inquiring party, and sending a data transmission request to a data providing party indicated by the identity in the searched related information, so that the data providing party sends the corresponding block chain data to the data inquiring party based on the data transmission request, and the data inquiring party discriminates the block chain data sent by the data providing party based on the received hash value of the block chain data.
In a third aspect, an embodiment of the present application provides a data query apparatus, including:
the first receiving unit is used for responding to a data query request which is sent by a data query party and comprises query demand information, and searching relevant information where data description information matched with the query demand information is located from a pre-stored relevant information set, wherein the relevant information in the relevant information set comprises relevant block chain data, data description information of the block chain data and block position information of a block for storing representation data of the block chain data;
the data acquisition unit is used for acquiring the representation data of the block chain data from the block indicated by the block position information in the searched associated information;
and the data verification unit is used for responding to the matching between the characterization data of the acquired block chain data and the block chain data in the searched association information, and sending the block chain data in the searched association information to the data inquiring party.
In a fourth aspect, an embodiment of the present application provides a data query apparatus, including:
the second receiving unit is used for responding to a data query request which is sent by a data query party and comprises query requirement information, and searching relevant information where data description information matched with the query requirement information is located from a pre-stored relevant information set, wherein the relevant information in the relevant information set comprises data description information of associated block chain data, an identity of a data provider providing the block chain data and block position information of a block used for storing a hash value of the block chain data;
the hash acquisition unit is used for acquiring a hash value of the block chain data from the block indicated by the block position information in the searched related information;
and the data sending unit is used for sending the obtained hash value of the block chain data to the data inquiring party and sending a data transmission request to the data provider indicated by the identity in the searched related information, so that the data provider sends the corresponding block chain data to the data inquiring party based on the data transmission request, and the data inquiring party discriminates the block chain data sent by the data provider based on the received hash value of the block chain data.
In a fifth aspect, embodiments of the present application provide a server, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the steps of any of the data query methods when executing the computer program.
In a sixth aspect, the present application provides a computer-readable storage medium, where a computer program is stored, and the computer program, when executed by a processor, implements the steps of any one of the data query methods described above.
In a seventh aspect, the present application provides a computer program product, which when run on a server, causes the server to execute any one of the above data query methods.
Compared with the related technology, the embodiment of the application has the beneficial effects that: by searching the associated information matched with the query demand information from the associated information set of the block chain to obtain query result data, the block chain data can be rapidly queried, and the data query efficiency is improved. In addition, since the uplink data in the block chain has non-tamper-resistance, the query result data matched with the data recorded in the block indicated by the block location information is sent to the data query side, so that accurate data can be sent to the data query side, and the accuracy of data query can be improved.
It is understood that the beneficial effects of the second to sixth aspects can be seen from the description of the first aspect, and are not described herein again.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required to be used in the embodiments or the related technical descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flowchart of a data query method according to an embodiment of the present application;
fig. 2 is a schematic diagram of an application scenario of a data query method provided in an embodiment of the present application;
FIG. 3 is a flow chart of a data query method according to another embodiment of the present application;
FIG. 4 is a schematic diagram of an application scenario of a data query method according to another embodiment of the present application;
fig. 5 is a schematic structural diagram of a data query apparatus according to an embodiment of the present application;
FIG. 6 is a schematic structural diagram of a data query device according to another embodiment of the present application;
fig. 7 is a schematic structural diagram of a server according to an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to" determining "or" in response to detecting ". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
Furthermore, in the description of the present application and the appended claims, the terms "first," "second," "third," and the like are used for distinguishing between descriptions and not necessarily for describing or implying relative importance.
Reference throughout this specification to "one embodiment" or "some embodiments," or the like, means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," or the like, in various places throughout this specification are not necessarily all referring to the same embodiment, but rather "one or more but not all embodiments" unless specifically stated otherwise. The terms "comprising," "including," "having," and variations thereof mean "including, but not limited to," unless expressly specified otherwise.
In order to explain the technical means of the present application, the following examples are given below.
Example one
With continued reference to fig. 1, an embodiment of the present application provides a data query method, including:
step 101, in response to receiving a data query request which is sent by a data query party and includes query requirement information, searching for associated information where data description information matched with the query requirement information is located from a pre-stored associated information set.
The associated information in the associated information set includes associated blockchain data, data description information of the blockchain data, and block location information of a block storing characterization data of the blockchain data. The data description information of the blockchain data is generally information for describing the blockchain data. The data description information may include, but is not limited to, at least one of: source account name, source account identification, target account name, target account identification, transaction type, transaction amount, transaction time, and the like. For example, in some related information, if the included blockchain data is 100 yuan, the account a transfers to the account b in 11 months and 11 days in 2020. Then, the data description information of the blockchain data may be: the source account name is account A, the target account name is account B, the transaction type is transfer, the transaction amount is 100 yuan, and the transaction time is 2020, 11 months and 11 days. The characterization data of the blockchain data is typically the data that uniquely characterizes the blockchain data. In practice, the characterization data of the blockchain data may be the blockchain data itself or a hash value of the blockchain data.
The query requirement information is generally information for describing query requirements. Query requirement information may generally include, but is not limited to, at least one of: source account name, source account identification, target account name, target account identification, transaction type, transaction amount, transaction time, and the like.
In practice, the data querying party may be implemented as a terminal, a device, a server, etc.
In this embodiment, the execution subject of the data query method may be a block chain. The execution main body can receive a data query request sent by a data query party through a network, and then search the associated information from the associated information set by adopting query demand information in the query request. In practice, the execution main body may compare the query requirement information with the data description information in the associated information, and if the data description information in the associated information matches with the query requirement information, the associated information is considered to be the associated information where the data description information matching with the query requirement information is located. The data description information and the query requirement information can be matched in the same way, or the data description information comprises the query requirement information. If the data description information in one piece of associated information is 100 yuan for transferring from the account A to the account B, and the data description information in the other piece of associated information is 200 yuan for transferring from the account A to the account C. If the query requirement information is: and (4) transferring the account A for transaction. The two pieces of associated information comprise 'account A' and 'transfer'. At this time, the two pieces of association information can be found.
And 102, acquiring the representation data of the block chain data from the block indicated by the block position information in the searched associated information.
In this embodiment, the execution body may directly obtain the characterization data of the blockchain data from the block indicated by the block location information.
Step 103, in response to that the obtained characterization data of the blockchain data is matched with the blockchain data in the found associated information, sending the blockchain data in the found associated information to the data querying party.
In this embodiment, after obtaining the characterization data of the blockchain data, the execution main body may compare the characterization data with the blockchain data in the association information, and if the characterization data and the blockchain data are matched, the blockchain data described in the association information searched from the association information set is considered to be true and reliable. The real reliable blockchain data can be returned to the data inquiring party. In practice, when comparing the characterization data with the blockchain data in the association information, it is usually determined whether the two match by comparing the consistency of the hash values of the two. And if the hash values of the two are consistent, the two are considered to be matched. Otherwise, if the hash values of the two are not consistent, the two are considered not to be matched.
According to the method provided by the embodiment, the association information matched with the query demand information is searched from the association information set of the block chain to obtain the query result data, so that the block chain data can be rapidly queried, and the data query efficiency is improved. In addition, since the uplink data in the block chain has non-tamper-resistance, the query result data matched with the data recorded in the block indicated by the block location information is sent to the data query side, so that accurate data can be sent to the data query side, and the accuracy of data query can be improved.
In some optional implementation manners of this embodiment, the sending the found blockchain data in the associated information to the data querying party in response to matching the characterization data of the obtained blockchain data with the found blockchain data in the associated information includes:
and in response to the fact that the characterization data of the blockchain data is the blockchain data, determining the hash value of the blockchain data in the searched association information, and recording the hash value as a first hash value, and determining the obtained hash value of the blockchain data, and recording the obtained hash value as a second hash value. And responding to the consistency of the first hash value and the second hash value, and sending the block chain data in the searched associated information to the data inquiring party.
In this implementation, if the characterization data of the blockchain data is the blockchain data itself. At this time, the execution body may first calculate a hash value representing data (i.e., blockchain data). Then, a hash value of the blockchain data in the association information is calculated. And finally, when the two hash values obtained by calculation are consistent, the block chain data in the associated information is considered to be real and reliable, and the block chain data in the associated information can be sent to a data inquiring party. Accurate data can be sent to the data inquiring party, and the data inquiring accuracy is improved.
In some optional implementation manners of this embodiment, the sending the found blockchain data in the associated information to the data querying party in response to matching the characterization data of the obtained blockchain data with the found blockchain data in the associated information includes:
and determining the hash value of the blockchain data in the searched associated information in response to the characteristic data of the blockchain data being the hash value of the blockchain data. And responding to the fact that the determined hash value is consistent with the obtained hash value, and sending the block chain data in the searched associated information to the data inquiring party.
In this implementation, if the characterization data of the blockchain data is the hash value of the blockchain data. At this time, the execution body may first calculate the hash value of the blockchain data in the association information. And then, comparing the calculated hash value with the hash value (namely, the characterization data) acquired from the block chain, and if the calculated hash value is consistent with the hash value (namely, the characterization data), determining that the block chain data in the associated information is real and reliable, and sending the block chain data in the associated information to a data inquiring party. Accurate data can be sent to the data inquiring party, and the data inquiring accuracy is improved. It should be noted that, since the hash value of the data is much smaller than the data itself, the hash value of the data is only stored on the block chain, which can save the storage space of the block chain.
In some optional implementation manners of this embodiment, the associated information in the associated information set is stored through an information storage step, where the information storage step includes:
step one, receiving a data storage request sent by a data storage party, wherein the data storage request comprises data to be stored and data description information of the data to be stored.
In practice, the data store may be implemented as a terminal, device, server, or the like.
Here, the execution agent may receive a data storage request transmitted from a data storage party through a network.
And step two, storing the data to be stored into the block chain, and obtaining the block position information of the block for storing the data to be stored.
Here, the execution body may store data to be stored on a certain block in the block chain. When the data is stored in the block, the block position information of the block can be obtained.
And step three, storing the data to be stored, the data description information of the data to be stored and the block position information of the block for storing the data to be stored into the association information set as the association information.
Here, the execution body may store the data to be stored, data description information of the data to be stored, and block location information of a block for storing the data to be stored, as a piece of association information, and store the association information in the association information set.
In practice, the set of association information may typically be implemented as a relational database. A relational database is generally a database that organizes data using a two-dimensional table structure. Relational databases have the advantage of facilitating queries. In practical applications, the association information set may be stored in a designated storage area in the blockchain, or may be stored in a storage server communicatively connected to the blockchain.
In some optional implementation manners of this embodiment, in the information storing step, if the data to be stored is stored in the block chain, the method includes: and storing the hash value of the data to be stored into the block chain. At this time, storing the entirety of the data to be stored, the data description information of the data to be stored, and the block location information of the block for storing the data to be stored into the association information set as the association information may include: and storing the data to be stored, the data description information of the data to be stored and the block position information of the block for storing the hash value of the data to be stored into the association information set as the association information.
In this implementation, in the information storing step, if the data stored in the block chain is the hash value of the data to be stored, the execution main body may use the data to be stored, the data description information of the data to be stored, and the block location information of the block used for storing the hash value of the data to be stored as a piece of associated information. The association information is then stored in an association information set. Therefore, when the stored data to be stored is inquired subsequently, the association information can be inquired, the stored data to be stored is obtained through the association information, the hash value of the stored data to be stored is obtained from the block chain through the association information, and therefore the obtained stored data to be stored is verified through the obtained hash value, and the fact that the stored data to be stored is truly and accurately returned to a data inquiring party is achieved. The accuracy of data query is improved.
Example two
With continuing reference to fig. 2, a schematic diagram of an application scenario of a data query method provided in the embodiment of the present application is shown. In the application scenario of fig. 2, the application of the data query method can be implemented as follows in step 201-206.
At step 201, the data storage party performs an operation of transferring 100 elements from account a to account B and performs an operation of transferring 200 elements from account a to account C.
At step 202, the data storage party generates transfer transaction information M1 for recording the transfer of 100 units of account A to account B, for storage in Block 1 of the blockchain, and generates transfer transaction information M2 for recording the transfer of 200 units of account A to account C, for storage in Block N of the blockchain.
In step 203, the blockchain stores the block number 1 of the block where the transfer transaction information M1 and the transfer transaction information M1 are located in association with the storage server, and stores the block number N of the block where the transfer transaction information M2 and the transfer transaction information M2 are located in association with the storage server.
Here, the associated transfer transaction information M1 and Block number 1 are one piece of association information, and the associated transfer transaction information M2 and Block number N are one piece of association information.
Step 204, the data inquiry direction blockchain sends a data inquiry request for requesting a plurality of transfer transactions of the account A.
In step 205, the blockchain first obtains the transfer transaction information M1 matching the data query request and the block number 1 associated with the transfer transaction information M1 from the storage server. And obtaining transfer transaction information M2 matched with the data query request and a block number N associated with the transfer transaction information M2.
Then, the transfer transaction information M1 is acquired from the block 1 indicated by the block number 1, and the transfer transaction information M2 is acquired from the block N indicated by the block number N.
Finally, the transfer transaction information M1 acquired from the storage server is verified using the transfer transaction information M1 acquired from Block 1. And verifying the transfer transaction information M2 acquired from the storage server using the transfer transaction information M2 acquired from the block N.
In step 206, if the verification steps in step 205 all pass, the query result is returned. That is, the transfer transaction information M1 acquired from the storage server and the transfer transaction information M2 acquired from the storage server are returned to the data inquirer.
EXAMPLE III
With continued reference to fig. 3, an embodiment of the present application provides a data query method, including:
step 301, in response to receiving a data query request including query requirement information sent by a data query party, searching for relevant information where data description information matched with the query requirement information is located from a pre-stored relevant information set.
Wherein the related information in the related information set includes data description information of the associated blockchain data, an identity of a data provider providing the blockchain data, and blocklocation information of a block for storing a hash value of the blockchain data. The data description information of the blockchain data is generally information for describing the blockchain data. The data description information may include, but is not limited to, at least one of: source account name, source account identification, target account name, target account identification, transaction type, transaction amount, transaction time, and the like. For example, in some related information, if the included blockchain data is 100 yuan, the account a transfers to the account b in 11 months and 11 days in 2020. Then, the data description information of the blockchain data may be: the source account name is account A, the target account name is account B, the transaction type is transfer, the transaction amount is 100 yuan, and the transaction time is 2020, 11 months and 11 days.
The query requirement information is generally information for describing query requirements. Query requirement information may generally include, but is not limited to, at least one of: source account name, source account identification, target account name, target account identification, transaction type, transaction amount, transaction time, and the like.
In practice, the data querying party may be implemented as a terminal, a device, a server, etc. The data provider may be implemented as a terminal, device, server, etc.
In this embodiment, the execution subject of the data query method may be a block chain. The execution main body can receive a data query request sent by a data query party through a network, and then searches relevant information from relevant information set by adopting query demand information in the query request. In practice, the execution main body may compare the query requirement information with the data description information in the related information, and if the data description information in the related information matches with the query requirement information, the related information is considered to be the related information where the data description information matching with the query requirement information is located. The data description information and the query requirement information can be matched in the same way, or the data description information comprises the query requirement information. If the data description information in one piece of related information is 100 yuan for transferring from the account A to the account B, and the data description information in the other piece of related information is 200 yuan for transferring from the account A to the account C. If the query requirement information is: and (4) transferring the account A for transaction. The two pieces of related information comprise 'account A' and 'transfer'. At this time, the above two pieces of related information can be found.
Step 302, obtaining the hash value of the block chain data from the block indicated by the block position information in the searched related information.
In this embodiment, the execution body may directly obtain the hash value of the blockchain data from the block indicated by the block location information.
Step 303, sending the obtained hash value of the blockchain data to a data querying party, and sending a data transmission request to a data providing party indicated by the identity in the found related information, so that the data providing party sends the corresponding blockchain data to the data querying party based on the data transmission request, and the data querying party discriminates the blockchain data sent by the data providing party based on the received hash value of the blockchain data.
The data transmission request is generally information for requesting to transmit the block chain data queried by the data querying party to the data querying party.
In this embodiment, after obtaining the hash value of the blockchain data, the execution main body may send the hash value to the data querying party. Then, the data provider is determined by the identity in the related information found in step 301. And finally, sending a data transmission request to the data provider, so that the data provider can send the blockchain data required to be inquired by the data inquirer to the data inquirer based on the data transmission request. In this way, the data inquirer can receive the hash value of the blockchain data returned by the blockchain, receive the blockchain data returned by the data provider, and use the hash value returned by the blockchain to discriminate the blockchain data returned by the data provider.
According to the method provided by the embodiment, the relevant information matched with the query demand information is searched from the relevant information set of the block chain to obtain the block position information of the block for storing the hash value of the block chain data to be queried, so that the hash value of the block chain data to be queried can be rapidly queried, and the data query efficiency is improved. In addition, since the uplink data in the block chain has non-tamper-resistance, the block chain data which is returned to the data inquiring party by the data providing party is verified by adopting the hash value of the block chain data which needs to be inquired and is recorded in the block chain, so that accurate data can be sent to the data inquiring party, and the accuracy rate of data inquiry is improved. It should be noted that only the hash value of the data is stored in the block chain, and when the data querying party needs to query the corresponding data, the data providing party sends the data to be queried to the data querying party, so that the storage resource of the block chain can be saved.
In addition, the data query method provided by the embodiment is suitable for querying data occupying a large space. E.g., to query for identical text data.
In some optional implementation manners of this embodiment, the relevant information in the relevant information set may be obtained through the following steps:
first, a data storage request sent by a data provider is received.
The data storage request comprises a hash value of the data to be stored and data description information of the data to be stored.
Here, the execution agent may receive a data storage request transmitted by a data provider through a network.
And then, storing the hash value of the data to be stored into the block chain, and obtaining block position information of the block for storing the hash value of the data to be stored.
Here, the execution body may store the hash value of the data to be stored on a certain block in the block chain. When the data is stored in the block, the block position information of the block can be obtained.
And finally, storing the data description information of the data to be stored, the identity of the data provider and the block position information of the block for storing the hash value of the data to be stored as the whole related information into the related information set.
Here, the execution subject may store data description information of the data to be stored, an identification of a data provider, and chunk location information of a chunk for storing a hash value of the data to be stored, as a piece of related information, and store the related information into the related information set.
In practice, the related information set in this embodiment and the related information set in the first embodiment may be stored in a designated storage area in the blockchain, or may be stored in a storage server communicatively connected to the blockchain.
Example four
With continuing reference to fig. 4, a schematic diagram of an application scenario of a data query method provided in the embodiment of the present application is shown. In the application scenario of fig. 4, the application of the data query method can be implemented by the following steps 401 and 408.
Step 401, the data provider stores the hash value of the data to be stored in the block chain.
Step 402, the blockchain stores the hash value and the block number of the data to be stored in association with the storage server.
Here, the block number is block location information of a block for storing a hash value of data to be stored. The hash value of the associated data to be stored and the block location information of the block for storing the hash value of the data to be stored are a piece of related information.
In step 403, the data query direction block chain sends a data query request for requesting data to be queried.
In step 404, the block chain searches for relevant information matched with the data query request from the storage server, and obtains the hash of the data to be queried from the block chain by using the block number in the found relevant information.
In step 405, the blockchain returns the hash of the data to be queried to the data querying party.
At step 406, the blockchain sends a data transfer request to the data provider.
The data transmission request is generally information for requesting to transmit the block chain data queried by the data querying party to the data querying party.
In step 407, the data provider transmits the data to be queried by the data querier to the data querier.
In step 408, the data querying party verifies the data of the query required received in step 407 by using the hash of the data of the query required received in step 405, so as to ensure that the data obtained from the data providing party is accurate.
EXAMPLE five
Fig. 5 shows a block diagram of a data query apparatus 500 provided in the embodiment of the present application, which corresponds to the data query method in the first embodiment above, and only shows the relevant parts in the embodiment of the present application for convenience of description.
Referring to fig. 5, the apparatus includes:
a first receiving unit 501, configured to, in response to receiving a data query request that includes query requirement information and is sent by a data querying party, search, from a pre-stored associated information set, associated information where data description information that matches the query requirement information is located, where the associated information in the associated information set includes associated block chain data, data description information of the block chain data, and block location information of a block that is used to store representation data of the block chain data;
a data obtaining unit 502, configured to obtain representation data of the blockchain data from the block indicated by the block position information in the found association information;
the data verification unit 503 is configured to send the blockchain data in the found associated information to the data querying party in response to that the characterization data of the obtained blockchain data is matched with the blockchain data in the found associated information.
In one embodiment, the data verification unit 503 is specifically configured to:
in response to the fact that the characterization data of the block chain data is the block chain data, determining the hash value of the block chain data in the searched association information, and recording the hash value as a first hash value, and determining the obtained hash value of the block chain data, and recording the obtained hash value as a second hash value;
and responding to the consistency of the first hash value and the second hash value, and sending the block chain data in the searched associated information to the data inquiring party.
In one embodiment, the data verification unit 503 is specifically configured to:
determining the hash value of the blockchain data in the searched associated information in response to the characteristic data of the blockchain data being the hash value of the blockchain data;
and responding to the fact that the determined hash value is consistent with the obtained hash value, and sending the block chain data in the searched associated information to the data inquiring party.
In one embodiment, the associated information in the associated information set is stored by an information storing step, the information storing step comprising:
receiving a data storage request sent by a data storage party, wherein the data storage request comprises data to be stored and data description information of the data to be stored;
storing data to be stored into a block chain, and obtaining block position information of a block for storing the data to be stored;
and storing the data to be stored, the data description information of the data to be stored and the block position information of the block for storing the data to be stored into the association information set as the association information in a whole.
In one embodiment, the step of storing information, storing data to be stored into a block chain, includes: storing the hash value of the data to be stored into a block chain; and
storing the data to be stored, the data description information of the data to be stored, and the block position information of the block for storing the data to be stored as the whole associated information into an associated information set, including:
and storing the data to be stored, the data description information of the data to be stored and the block position information of the block for storing the hash value of the data to be stored into the association information set as the association information.
According to the device provided by the embodiment, the associated information matched with the query demand information is searched in a centralized manner from the associated information of the block chain to obtain query result data, so that the block chain data can be rapidly queried, and the data query efficiency is improved. In addition, since the uplink data in the block chain has non-tamper-resistance, the query result data matched with the data recorded in the block indicated by the block location information is sent to the data query side, so that accurate data can be sent to the data query side, and the accuracy of data query can be improved.
It should be noted that, for the information interaction, execution process, and other contents between the above-mentioned devices/units, the specific functions and technical effects thereof are based on the same concept as those of the embodiment of the method of the present application, which may be referred to in the embodiment of the method specifically, and are not described herein again.
EXAMPLE six
Fig. 6 shows a block diagram of a data query apparatus 600 provided in the embodiment of the present application, which corresponds to the data query method in the second embodiment above, and only shows the relevant parts in the embodiment of the present application for convenience of description.
Referring to fig. 6, the apparatus includes:
a second receiving unit 601, configured to, in response to receiving a data query request that includes query requirement information and is sent by a data querying party, search, from a pre-stored related information set, related information where data description information that matches the query requirement information is located, where the related information in the related information set includes data description information of associated blockchain data, an identity of a data provider that provides the blockchain data, and block location information of a block that is used to store a hash value of the blockchain data;
a hash obtaining unit 602, configured to obtain a hash value of the blockchain data from the block indicated by the block location information in the found related information;
the data sending unit 603 is configured to send the obtained hash value of the blockchain data to the data querying party, and send a data transmission request to the data provider indicated by the identity in the found related information, so that the data provider sends the corresponding blockchain data to the data querying party based on the data transmission request, and the data querying party discriminates the blockchain data sent by the data provider based on the received hash value of the blockchain data.
In one embodiment, the related information in the related information set can be obtained by:
receiving a data storage request sent by a data provider, wherein the data storage request comprises a hash value of data to be stored and data description information of the data to be stored;
storing the hash value of the data to be stored into a block chain, and obtaining block position information of a block used for storing the hash value of the data to be stored;
and storing the data description information of the data to be stored, the identity of the data provider and the block position information of the block for storing the hash value of the data to be stored into the related information set as related information.
According to the device provided by the embodiment, the relevant information matched with the query demand information is searched in a centralized manner from the relevant information of the block chain to obtain the block position information of the block for storing the hash value of the block chain data to be queried, so that the hash value of the block chain data to be queried can be queried quickly, and the data query efficiency is improved. In addition, since the uplink data in the block chain has non-tamper-resistance, the block chain data which is returned to the data inquiring party by the data providing party is verified by adopting the hash value of the block chain data which needs to be inquired and is recorded in the block chain, so that accurate data can be sent to the data inquiring party, and the accuracy rate of data inquiry is improved. It should be noted that only the hash value of the data is stored in the block chain, and when the data querying party needs to query the corresponding data, the data providing party sends the data to be queried to the data querying party, so that the storage resource of the block chain can be saved.
It should be noted that, for the information interaction, execution process and other contents between the above-mentioned devices/units, the specific functions and technical effects thereof are based on the same concept as that of the second embodiment of the method of the present application, which may be referred to in the section of the method embodiment specifically, and are not described herein again.
EXAMPLE seven
Fig. 7 is a schematic structural diagram of a server 700 according to an embodiment of the present application. As shown in fig. 7, the server 700 of this embodiment includes: at least one processor 701 (only one processor is shown in fig. 7), a memory 702, and a computer program 703, such as a data processing program, stored in the memory 702 and executable on the at least one processor 701. The steps in any of the various method embodiments described above are implemented when the computer program 703 is executed by the processor 701. The steps in the embodiments of the data query methods described above are implemented when the processor 701 executes the computer program 703. The processor 701, when executing the computer program 703, implements the functions of each module/unit in each of the above-described apparatus embodiments, such as the functions of the units 501 to 503 shown in fig. 5 or the functions of the units 601 to 603 shown in fig. 6.
Illustratively, the computer program 703 may be partitioned into one or more modules/units, which are stored in the memory 702 and executed by the processor 701 to accomplish the present application. One or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of the computer program 703 in the server 700. For example, the computer program 703 may be divided into a first receiving unit, a data obtaining unit, a data verifying unit, a second receiving unit, a hash obtaining unit, and a data sending unit, and specific functions of each unit are described in the foregoing embodiments, and are not described herein again.
The server 700 may be a server, a desktop computer, a tablet computer, a cloud server, a mobile terminal, and other computing devices. The server 700 may include, but is not limited to, a processor 701, a memory 702. Those skilled in the art will appreciate that fig. 7 is merely an example of a server 700 and does not constitute a limitation on server 700 and may include more or fewer components than shown, or some components in combination, or different components, e.g., the server may also include input-output devices, network access devices, buses, etc.
The Processor 701 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
Storage 702 may be an internal storage unit of server 700, such as a hard disk or memory of server 700. The memory 702 may also be an external storage device of the server 700, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), etc. provided on the server 700. Further, memory 702 may also include both internal storage units of server 700 and external storage devices. The memory 702 is used to store computer programs and other programs and data required by the server. The memory 702 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules, so as to perform all or part of the functions described above. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/server and method may be implemented in other ways. For example, the above-described apparatus/server embodiments are merely illustrative, and for example, a division of modules or units is merely a logical division, and an actual implementation may have another division, 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.
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 application 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 module, if implemented in the form of a software functional unit and sold or used as a separate product, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow in the method according to the embodiments described above may be implemented by a computer program, which is stored in a computer readable storage medium and used by a processor to implement the steps of the embodiments of the methods described above. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer readable medium may include: any entity or device capable of carrying computer program code, recording medium, U.S. disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution media, and the like. It should be noted that the computer readable medium may contain other components which may be suitably increased or decreased as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, in accordance with legislation and patent practice, the computer readable medium does not include electrical carrier signals and telecommunications signals.
The above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it should 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; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (10)

1. A method for data query, the method comprising:
in response to receiving a data query request which is sent by a data query party and comprises query demand information, searching associated information where data description information matched with the query demand information is located from a pre-stored associated information set, wherein the associated information in the associated information set comprises associated block chain data, data description information of the block chain data and block position information of a block for storing representation data of the block chain data;
obtaining the representation data of the block chain data from the block indicated by the block position information in the searched associated information;
and responding to the matching between the characterization data of the acquired block chain data and the block chain data in the searched associated information, and sending the block chain data in the searched associated information to the data inquiring party.
2. The method according to claim 1, wherein the sending the blockchain data in the found associated information to the data querying party in response to the matching between the characterization data of the obtained blockchain data and the blockchain data in the found associated information comprises:
in response to the fact that the characterization data of the blockchain data is the blockchain data, determining a hash value of the blockchain data in the searched association information, and recording the hash value as a first hash value, and determining a hash value of the obtained blockchain data, and recording the hash value as a second hash value;
and responding to the consistency of the first hash value and the second hash value, and sending the block chain data in the searched associated information to the data inquiry party.
3. The method according to claim 1, wherein the sending the blockchain data in the found associated information to the data querying party in response to the matching between the characterization data of the obtained blockchain data and the blockchain data in the found associated information comprises:
determining the hash value of the blockchain data in the searched associated information in response to the characteristic data of the blockchain data being the hash value of the blockchain data;
and responding to the determined hash value and the acquired hash value to be consistent, and sending the block chain data in the searched associated information to the data inquiry party.
4. The method of claim 1, wherein the associated information in the associated information set is stored by an information storing step comprising:
receiving a data storage request sent by a data storage party, wherein the data storage request comprises data to be stored and data description information of the data to be stored;
storing the data to be stored into a block chain, and obtaining block position information of a block for storing the data to be stored;
and storing the data to be stored, the data description information of the data to be stored and the block position information of the block for storing the data to be stored into a related information set as related information.
5. The method according to claim 4, wherein the step of storing the data to be stored into the block chain in the information storing step comprises: storing the hash value of the data to be stored into a block chain; and
the storing the data to be stored, the data description information of the data to be stored, and the block location information of the block for storing the data to be stored as the whole associated information into an associated information set includes:
and storing the data to be stored, the data description information of the data to be stored and the block position information of the block for storing the hash value of the data to be stored into a related information set as related information.
6. A method for data query, the method comprising:
in response to receiving a data query request which is sent by a data query party and comprises query demand information, searching relevant information where data description information matched with the query demand information is located from a pre-stored relevant information set, wherein the relevant information in the relevant information set comprises data description information of associated blockchain data, an identity of a data provider providing the blockchain data and blockchain position information of a block used for storing a hash value of the blockchain data;
obtaining a hash value of the block chain data from the block indicated by the block position information in the searched related information;
sending the obtained hash value of the block chain data to the data inquiring party, and sending a data transmission request to a data provider indicated by the identity in the searched related information, so that the data provider sends the corresponding block chain data to the data inquiring party based on the data transmission request, and the data inquiring party discriminates the block chain data sent by the data provider based on the received hash value of the block chain data.
7. A data query apparatus, characterized in that the apparatus comprises:
the device comprises a first receiving unit, a second receiving unit and a third receiving unit, wherein the first receiving unit is used for responding to a data query request which is sent by a data query party and comprises query demand information, and searching relevant information where data description information matched with the query demand information is located from a pre-stored relevant information set, wherein the relevant information in the relevant information set comprises relevant block chain data, data description information of the block chain data and block position information of a block for storing representation data of the block chain data;
the data acquisition unit is used for acquiring the representation data of the block chain data from the block indicated by the block position information in the searched associated information;
and the data verification unit is used for responding to the matching between the characterization data of the acquired block chain data and the block chain data in the searched associated information, and sending the block chain data in the searched associated information to the data inquiry party.
8. A data query apparatus, characterized in that the apparatus comprises:
a second receiving unit, configured to, in response to receiving a data query request that includes query requirement information and is sent by a data querying party, search, from a pre-stored related information set, related information where data description information that matches the query requirement information is located, where the related information in the related information set includes data description information of associated blockchain data, an identity of a data provider that provides the blockchain data, and blockchain location information of a block that stores a hash value of the blockchain data;
the hash acquisition unit is used for acquiring a hash value of the block chain data from the block indicated by the block position information in the searched related information;
and the data sending unit is used for sending the obtained hash value of the block chain data to the data inquiring party and sending a data transmission request to the data provider indicated by the identity in the searched related information, so that the data provider sends the corresponding block chain data to the data inquiring party based on the data transmission request, and the data inquiring party discriminates the block chain data sent by the data provider based on the received hash value of the block chain data.
9. A server comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the method according to any of claims 1 to 6 when executing the computer program.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1 to 6.
CN202011429581.2A 2020-12-09 2020-12-09 Data query method, device, server and medium Pending CN112597192A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011429581.2A CN112597192A (en) 2020-12-09 2020-12-09 Data query method, device, server and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011429581.2A CN112597192A (en) 2020-12-09 2020-12-09 Data query method, device, server and medium

Publications (1)

Publication Number Publication Date
CN112597192A true CN112597192A (en) 2021-04-02

Family

ID=75191189

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011429581.2A Pending CN112597192A (en) 2020-12-09 2020-12-09 Data query method, device, server and medium

Country Status (1)

Country Link
CN (1) CN112597192A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113157698A (en) * 2021-04-23 2021-07-23 上海和数软件有限公司 Data query verification method and system based on block chain technology
CN114785517A (en) * 2022-04-06 2022-07-22 浙江数秦科技有限公司 Block chain based associated service data sharing method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107451179A (en) * 2017-03-24 2017-12-08 北京瑞卓喜投科技发展有限公司 For the querying method and system of the block chain integrally corrected errors in printing for increasing block
CN109981673A (en) * 2019-04-04 2019-07-05 上海人行道网络信息技术有限公司 Data based on block chain deposit card method, apparatus, equipment and storage medium
CN110597818A (en) * 2019-09-19 2019-12-20 腾讯科技(深圳)有限公司 Block chain based volume query method, device, equipment and storage medium
CN111708825A (en) * 2020-06-11 2020-09-25 腾讯科技(深圳)有限公司 Data processing method, device and equipment based on block chain and readable storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107451179A (en) * 2017-03-24 2017-12-08 北京瑞卓喜投科技发展有限公司 For the querying method and system of the block chain integrally corrected errors in printing for increasing block
CN109981673A (en) * 2019-04-04 2019-07-05 上海人行道网络信息技术有限公司 Data based on block chain deposit card method, apparatus, equipment and storage medium
CN110597818A (en) * 2019-09-19 2019-12-20 腾讯科技(深圳)有限公司 Block chain based volume query method, device, equipment and storage medium
CN111708825A (en) * 2020-06-11 2020-09-25 腾讯科技(深圳)有限公司 Data processing method, device and equipment based on block chain and readable storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113157698A (en) * 2021-04-23 2021-07-23 上海和数软件有限公司 Data query verification method and system based on block chain technology
CN114785517A (en) * 2022-04-06 2022-07-22 浙江数秦科技有限公司 Block chain based associated service data sharing method
CN114785517B (en) * 2022-04-06 2024-03-19 浙江数秦科技有限公司 Associated service data sharing method based on block chain

Similar Documents

Publication Publication Date Title
CN108427705B (en) Electronic device, distributed system log query method and storage medium
CN111352902A (en) Log processing method and device, terminal equipment and storage medium
US10963888B2 (en) Payment complaint method, device, server and readable storage medium
CN109669980B (en) Cross-database access method and device for data
US20200175002A1 (en) Blockchain-based data compression and searching
CN112597192A (en) Data query method, device, server and medium
CN111611249A (en) Data management method, device, equipment and storage medium
CN108446989B (en) Method for determining commission charge and terminal equipment
CN111737564A (en) Information query method, device, equipment and medium
CN112015806A (en) Method and device for storing data by block chain
CN110704486B (en) Data processing method, device, system, storage medium and server
CN114185973A (en) Parameter calling method, device, equipment and computer readable storage medium
CN110888965A (en) Document data extraction method and device
CN108255950B (en) Data storage method and terminal equipment
CN113132522A (en) Test method, device, server and medium
CN113256301B (en) Data shielding method, device, server and medium
US11146571B2 (en) Data transmission method, apparatus, terminal device, and medium
CN112286881B (en) Document authentication tracing method and device
CN112783971B (en) Transaction recording method, transaction query method, electronic device and storage medium
CN112445841B (en) Account query method, device, system, server and medium
CN115048430A (en) Data verification method, system, device and storage medium
CN113848862A (en) Diagnostic software acquisition method and device, communication equipment and storage medium
CN111190964B (en) Data docking method, device, equipment and storage medium
CN111246458B (en) Secure pairing method and device of wearable device, electronic book device and storage medium
CN112434195A (en) Data analysis method and device, electronic equipment and computer readable storage medium

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

Application publication date: 20210402