CN112084234B - Data acquisition method, device, equipment and medium - Google Patents

Data acquisition method, device, equipment and medium Download PDF

Info

Publication number
CN112084234B
CN112084234B CN202010914632.4A CN202010914632A CN112084234B CN 112084234 B CN112084234 B CN 112084234B CN 202010914632 A CN202010914632 A CN 202010914632A CN 112084234 B CN112084234 B CN 112084234B
Authority
CN
China
Prior art keywords
data
data query
query
chain
query result
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.)
Active
Application number
CN202010914632.4A
Other languages
Chinese (zh)
Other versions
CN112084234A (en
Inventor
何朔
许玉壮
周钰
杨洁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Unionpay Co Ltd
Original Assignee
China Unionpay 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 China Unionpay Co Ltd filed Critical China Unionpay Co Ltd
Priority to CN202010914632.4A priority Critical patent/CN112084234B/en
Publication of CN112084234A publication Critical patent/CN112084234A/en
Priority to TW110132686A priority patent/TWI797738B/en
Priority to PCT/CN2021/116184 priority patent/WO2022048589A1/en
Application granted granted Critical
Publication of CN112084234B publication Critical patent/CN112084234B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/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/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/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Databases & Information Systems (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Marketing (AREA)
  • Fuzzy Systems (AREA)
  • Technology Law (AREA)
  • Computing Systems (AREA)
  • Strategic Management (AREA)
  • Economics (AREA)
  • Development Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Mathematical Physics (AREA)
  • Probability & Statistics with Applications (AREA)
  • Software Systems (AREA)
  • Computational Linguistics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Container Filling Or Packaging Operations (AREA)
  • Arrangements For Transmission Of Measured Signals (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

The application discloses a data acquisition method, a device, equipment and a medium. The method comprises the following steps: the block chain node constructs a data query request through an intelligent contract based on the acquired data query information, wherein the data query request carries the data query information; the block chain node directly sends a data query request to an out-of-chain data source associated with the data query information; the method comprises the steps that an out-of-chain data source receives a data query request sent by a block chain node, and the out-of-chain data source obtains a data query result based on the data query request; the out-of-chain data source sends a data query result to the blockchain node; the blockchain node receives a data query result sent by an off-chain data source. According to the embodiment of the application, the complexity of accessing the extra-chain data by the block chain node is reduced.

Description

Data acquisition method, device, equipment and medium
Technical Field
The present application relates to the field of data traffic, and in particular, to a method, an apparatus, a device, and a medium for acquiring data.
Background
The blockchain technology (also called as the distributed ledger technology) is a decentralised distributed database technology, has various characteristics of decentralization, disclosure transparency, non-tampering, trust and the like, and is suitable for application scenes with high demands on data reliability.
In some application scenarios, block link points need to access out-of-chain data. Currently, if a blockchain node wants to access out-of-chain data, a predictor client or a predictor network needs to be deployed separately outside the chain, which has higher complexity.
Disclosure of Invention
The application provides a data acquisition method, a device, equipment and a medium, which can solve the problem of higher complexity when a block link point wants to access out-of-chain data.
In a first aspect, the present application provides a data acquisition method, the method comprising:
Constructing a data query request through an intelligent contract based on the acquired data query information, wherein the data query request carries the data query information;
Directly sending a data query request to an off-link data source associated with the data query information, so that the off-link data source obtains a data query result based on the data query request;
And receiving a data query result sent by a data source outside the chain.
In a second aspect, the present application provides a data acquisition apparatus, the apparatus comprising:
receiving a data query request sent by a block chain node, wherein the data query request is constructed by the block chain node through an intelligent contract based on the acquired data query information, and the data query request carries the data query information;
Obtaining a data query result based on the data query request;
And sending the data query result to the blockchain node.
In a third aspect, the present application provides a data acquisition apparatus for use with a blockchain node, comprising:
the data query request construction module is used for constructing a data query request through an intelligent contract based on the acquired data query information, wherein the data query request carries the data query information;
The data query request sending module is used for directly sending a data query request to an off-link data source associated with the data query information so that the off-link data source obtains a data query result based on the data query request;
and the data query result receiving module is used for receiving the data query result sent by the data source outside the chain.
In a fourth aspect, the present application provides a data acquisition device for use with an off-chain data source, comprising:
The data query request receiving module is used for receiving a data query request sent by the blockchain node, wherein the data query request is constructed by the blockchain node through an intelligent contract based on the acquired data query information, and the data query request carries the data query information;
The data query result determining module is used for obtaining a data query result based on the data query request;
and the data query result sending module is used for sending the data query result to the block link point.
In a fifth aspect, the present application provides a data acquisition apparatus, the apparatus comprising: comprising the following steps: a processor and a memory storing computer program instructions;
the processor, when executing the computer program instructions, implements the data acquisition method provided in the first aspect or the second aspect.
In a sixth aspect, the present application provides a computer storage medium having stored thereon computer program instructions which, when executed by a processor, implement a data acquisition method as provided in the first or second aspects above.
According to the data acquisition method, the device, the equipment and the computer storage medium, the blockchain node can construct the data query request based on the acquired data query information through the intelligent contract, and can directly send the data query request to the extra-chain data source associated with the data query information to acquire the data query result, and the client side of the predictor or the predictor network is not required to be independently established, but the needed data can be acquired through direct communication between the blockchain node and the extra-chain data source, so that the complexity of accessing the extra-chain data by the blockchain node is reduced.
Drawings
In order to more clearly illustrate the technical solution of the embodiments of the present application, the drawings that are needed to be used in the embodiments of the present application will be briefly described, and other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of an architecture of a data acquisition system provided in accordance with the present application;
FIG. 2 is a flow chart of one embodiment of a data acquisition method provided in accordance with the present application;
FIG. 3 is a flow chart of another embodiment of a data acquisition method provided in accordance with the present application;
FIG. 4 is a flow chart of yet another embodiment of a data acquisition method provided in accordance with the present application;
FIG. 5 is a flow chart of yet another embodiment of a data acquisition method provided in accordance with the present application;
FIG. 6 is a schematic diagram of one embodiment of a data acquisition device provided in accordance with the present application;
FIG. 7 is a schematic diagram of another embodiment of a data acquisition device provided in accordance with the present application;
FIG. 8 is a schematic diagram of one embodiment of a data acquisition device provided in accordance with the present application;
Detailed Description
Features and exemplary embodiments of various aspects of the present application will be described in detail below, and in order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be described in further detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely configured to illustrate the application and are not configured to limit the application. It will be apparent to one skilled in the art that the present application may be practiced without some of these specific details. The following description of the embodiments is merely intended to provide a better understanding of the application by showing examples of the application.
It is noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
For a better understanding of the present application, a data acquisition method, apparatus and system according to embodiments of the present application will be described in detail below with reference to the accompanying drawings, and it should be noted that these embodiments are not intended to limit the scope of the present disclosure.
The predictor is a tool which can truly input the data outside the chain into the blockchain and ensure the authenticity of the data on the blockchain. At present, technologies such as predictors are rapidly attracting attention from all sides of technology and industry, wherein the predictors can enable a blockchain to a great extent by opening intra-chain and extra-chain spaces, and promote landing of all aspects of the blockchain. However, at present, if the blockchain node wants to access the out-of-chain data, a predictor client or a predictor network needs to be deployed separately outside the chain, which is high in complexity.
Based on the above, the application provides a data acquisition method, a device, equipment and a medium, which reduce the complexity of acquiring data from outside a chain by a blockchain node by directly establishing communication between the blockchain node and an off-chain data source. The following detailed description refers to the accompanying drawings and examples.
Fig. 1 is a system architecture diagram of a data query system provided by the present application. As shown in fig. 1, the data query system provided by the present application includes a client 11, a blockchain node 12, and an out-of-chain data source 13.
In an embodiment of the present application, the client 11 sends data query information to the blockchain node 12. In some embodiments, the data query information may include a query index of data to be queried in an out-of-chain data source. After receiving the data query information, the blockchain node 12 constructs a data query request through the intelligent contract based on the acquired data query information. The data query request carries data query information. The blockchain node 12 then sends the data query request directly to the out-of-chain data source 13 associated with the data query information. The out-of-chain data source 13 receives data query requests sent by the blockchain nodes 12. The out-of-chain data source 13 then queries based on the received data query request, resulting in a data query result. Then, the out-of-chain data source 13 sends the data query result to the blockchain node 12, so that the blockchain node 12 reads the data from outside the chain.
In an embodiment of the application, the off-chain data source 13 may be a server that provides off-chain data.
In the embodiment of the application, the blockchain node 12 can construct a data query request based on the acquired data query information through an intelligent contract, and can directly send the data query request to the off-chain data source 13 associated with the data query information to acquire the data query result, and the client 11 of the predictor or the predictor network is not required to be independently established, but the required data can be acquired through direct communication between the blockchain node 12 and the off-chain data source 13, so that the complexity of accessing the off-chain data by the blockchain node 12 is reduced.
Fig. 2 is a flow chart of an embodiment of a data query method provided by the present application. As shown in fig. 2, the data query method 200 provided by the present application is applied to the blockchain node 12, and includes:
Step 210, constructing a data query request through an intelligent contract based on the acquired data query information, wherein the data query request carries the data query information;
Step 220, directly sending a data query request to an off-link data source associated with the data query information, so that the off-link data source obtains a data query result based on the data query request;
and 230, receiving a data query result sent by the data source outside the chain.
In the embodiment of the application, the blockchain node 12 can construct a data query request based on the acquired data query information through an intelligent contract, and can directly send the data query request to the off-chain data source 13 associated with the data query information to acquire the data query result, and the client 11 of the predictor or the predictor network is not required to be independently established, but the required data can be acquired through direct communication between the blockchain node 12 and the off-chain data source 13, so that the complexity of accessing the off-chain data by the blockchain node 12 is reduced.
The following describes specific implementations of steps 210 to 230, respectively.
First, referring to step 210, in some embodiments, the data query information includes a query index in the out-of-chain data source 13. For example, the query index includes a query condition or a storage address of the out-of-chain data source 13.
In an embodiment of the present application, since the data query information includes a query index in the out-of-chain data source 13, a data query request constructed by the data query information may be directly transmitted to the out-of-chain data source 13, thereby enabling direct communication between the out-of-chain data source 13 and the blockchain node 12.
In some embodiments, the blockchain node 12 may perform model training online, thus requiring training sample data. However, if the training sample data is stored in the blockchain node 12, a large amount of storage space is occupied, and there is also a risk of data security. Thus, training data may be stored in advance in the off-chain data source 13. When model training is required, the blockchain node 12 may query training data from the out-of-chain data source 13 in response to data query information sent by the client 11. In some embodiments, the client 11 may obtain a storage address of each training data in the out-of-chain data source 13 in advance, and use the storage address as the data query information.
In some embodiments of the present application, since the training data is pre-collected data, the query is trusted data based on the memory address of the training data uploaded by the client 11.
In some embodiments, the off-chain data source 13 may provide data access services in the form of hypertext transfer security protocol (Hyper Text Transfer Protocol over Secure Socket Layer, HTTPS). Thus, a data query request may be constructed by the smart contract based on a storage address in the data query request, which may be an HTTPS request address that carries the storage address.
In other embodiments, it is assumed that the smart contract needs to trigger a next action based on the target data, but it may not be trusted to send the target data directly through the client 11. For example, the smart contract needs to trigger a next action based on the payment result, but the payment result sent directly by the transaction sender is not trusted. While the data of the out-of-chain data source 13 is more trusted. Thus, the data query information includes query conditions at the out-of-chain data source 13. For example, the data query information includes a payment serial number. I.e. the query condition is a payment serial number.
In some embodiments of the present application, if the query index includes a query condition, step 210 includes: based on the obtained query conditions and the pre-stored query address of the out-of-chain data source 13, a data query request is constructed by an intelligent contract.
In the embodiment of the application, if the trusted data needs to be queried from the out-of-chain data source 13, and the query index is the query condition of the data needing to be queried, the query address of the out-of-chain data source 13 needs to be acquired, and the out-of-chain data can be queried.
In some embodiments, if a bank payment result needs to be queried, the query address of the out-of-chain data source 13 may be a bank payment result query address registered in advance in the blockchain node 12. The smart contract may construct a data query request based on the received payment running water account number and the pre-registered bank payment result query address.
In other embodiments of the present application, the data query information further includes a query authorization signature. Wherein the query authorization signature is used by the out-of-chain data source 13 to obtain a data query result based on the data query request if the query authorization signature is verified.
In the embodiment of the present application, the client 11 may sign the data query information based on the public and private key obtained from the off-chain data source 13 in advance, and then may obtain the query authorization signature.
In an embodiment of the present application, the query authorization signature included in the data query information is for verification by the off-chain data source 13. Only if the out-of-chain data source 13 verifies the query authorization signature, the query will be performed based on the data query request, so that the security of the data query can be improved.
It should be noted that, if the data query information includes a query index and a query authorization signature in the out-of-chain data source 13, the smart contract constructs a data query request based on the query index and the query authorization signature.
As one example, if the query index includes a storage address in the out-of-chain data source 13, the smart contract may carry a query authorization signature in an HTTPS request address generated based on the storage address.
A specific implementation of step 220 is described below.
In step 210, the data query information includes a query index in the out-of-chain data source 13. I.e. the data query information itself is information related to the off-chain data source 13. Thus, the data query information can be used to obtain the out-of-chain data source 13 that needs to send the data query request.
As one example, if data query information includes a storage address at an off-chain data source 13, the off-chain data source 13 associated with the information may be obtained based on the data query information.
As another example, if the data query information includes a query condition, the address of the off-chain data source 13 may be obtained based on a pre-registered query address associated with the query condition.
Upon acquiring the data query request, the blockchain node 12 may send the data query request directly to the out-of-chain data source 13 associated with the data query information.
Next, referring to step 230, after the out-of-chain data source 13 obtains the data query result based on the data query request, the data query result may be sent to the blockchain node 12. The blockchain node 12 may receive the data query results sent by the extra-chain data source 13, thereby implementing blockchain reading of the extra-chain data.
In some embodiments of the present application, before step 220, the data acquisition method 300 provided by the present application further includes: and receiving the data query information sent by the client.
In some embodiments of the application, the blockchain platform may be HYPERLEDGER FABRIC. The client 11 may tune the Fabric SDK to send data query information to the blockchain node 12.
It should be noted that, the blockchain node 12 may construct a data query request to query data immediately after acquiring one data query message according to a rule in the intelligent contract, or may query the data from the out-chain data source 13 after acquiring a certain amount of data query messages. For example, if online model training is to be performed, a certain amount of training data is required. Thus, after acquiring data query information for a certain amount of training data, the query may be performed to the out-of-chain data source 13 in a unified manner.
In some embodiments of the present application, in order to improve security of query data, before step 220, the data query method 200 provided by the present application further includes: encrypting the data query request to obtain an encrypted data query request; on this basis, step 220 includes: and directly sending the encrypted data query request to an off-link data source associated with the data query information.
In the embodiment of the application, the data can be prevented from being attacked by encrypting the data query request, so that the security of the data is improved.
In some embodiments, the communication channel may be encrypted via a secure transport layer protocol, and the encrypted data query request may be sent directly to an off-chain data source associated with the data query information.
In an embodiment of the present application, a secure transport layer protocol is used to provide confidentiality and data integrity between two communication applications. The security transmission layer protocol has high security intensity, small calculated amount, high encryption and decryption speed and high efficiency, so that the data security is improved, and meanwhile, the data query efficiency is also improved.
In some embodiments of the present application, to further improve the security of data, the data query information further includes a data fingerprint of the target data to be queried. The data fingerprint of the target data is data obtained after the target data is hashed by a preset hash algorithm. On this basis, the data query method 200 provided by the application further comprises the following steps: hashing the data query result by using a preset hash algorithm through an intelligent contract to obtain a data fingerprint of the data query result; in the case that it is determined that the data fingerprint of the target data and the data fingerprint of the data query result are identical through the smart contract, a preset process is performed on the data query result through the smart contract.
In embodiments of the present application, the target data may be any data stored in the out-of-chain data source 13. The client 11 may hash the data stored in the out-of-chain data source 13 using a preset hash algorithm to obtain a data fingerprint of the data. The client 11 then sends the data fingerprint of the target data to the blockchain node 12.
In the embodiment of the application, whether the data to be queried is correct or not can be determined by verifying whether the data fingerprint of the target data and the data fingerprint of the data query result are consistent, so that the accuracy of data query is improved.
In an embodiment of the present application, the preset process is related to a predefined process rule in the smart contract. For example, the preset process may be to begin model training.
In some embodiments of the present application, the data query result is an encrypted data query result, and after step 230, the data acquisition method 200 provided by the present application further includes: and decrypting the encrypted data query result to obtain the data query result.
In the embodiment of the present application, if the out-of-chain data source 13 encrypts the data query result in order to improve the security of the data, the data query result sent by the out-of-chain data source 13 to the blockchain node 12 is the encrypted data query result. The blockchain node 12 may decrypt the encrypted data query result using a decryption algorithm corresponding to the encryption algorithm to obtain a final data query result.
In the embodiment of the application, since the encrypted data query result is sent to the blockchain node 12 by the out-of-chain data source 13, external attack can be prevented, and the security of the data query result is improved.
Fig. 3 is a flowchart of another embodiment of a data query method provided by the present application. As shown in fig. 3, the data query method 300 provided by the present application is applied to the out-of-chain data source 13, and includes:
Step 310, receiving a data query request sent by a blockchain node, wherein the data query request is constructed by the blockchain node through an intelligent contract based on the acquired data query information, and the data query request carries the data query information;
step 320, obtaining a data query result based on the data query request;
and 330, sending a data query result to the block chain node.
In the embodiment of the application, the out-of-chain data source can inquire from the data stored by the out-of-chain data source based on the information in the data inquiry request, and inquire the data inquiry result corresponding to the data inquiry request.
In the embodiment of the application, the blockchain node 12 can construct a data query request based on the acquired data query information through an intelligent contract, and can directly send the data query request to the off-chain data source 13 associated with the data query information to acquire the data query result, and the client 11 of the predictor or the predictor network is not required to be independently established, but the required data can be acquired through direct communication between the blockchain node 12 and the off-chain data source 13, so that the complexity of accessing the off-chain data by the blockchain node 12 is reduced.
In some embodiments of the present application, referring to the relevant recitation of the data query method 200, the data query information may include a query index and a query authorization signature in the out-of-chain data source 13, on the basis of which step 320 includes: and under the condition that the query authorization signature carried in the data query request passes the verification, obtaining a data query result matched with the query index based on the query index carried in the data query request.
In the embodiment of the application, the security of data query can be improved by verifying the query authorization signature.
In some embodiments, the verification of the query authorization signature carried in the data query request is passed, including: and determining that the query authorization signature is within the preset validity period, and/or the request times of the data requests carrying the query authorization signature are smaller than a preset time threshold.
In some embodiments, a validity period may be preset for the query authorization signature, and if the query authorization signature is within the preset validity period, it is determined that the query authorization signature is verified. If the query authorization signature is not within the preset validity period, determining that the query authorization signature is not verified.
In other embodiments, if the number of requests for data carrying the query authorization signature is less than a preset number threshold, then it is determined that the query authorization signature is verified. If the request times of the data requests carrying the query authorization signature are greater than or equal to a preset time threshold, determining that the query authorization signature is not verified.
In still other embodiments, the query authorization signature may also be verified by integrating the query authorization signature over a preset validity period, and the number of requests for the data request carrying the query authorization signature is less than a preset number threshold.
In some embodiments of the present application, before step 330, the data acquisition method 300 provided by the present application further includes: encrypting the data query result to obtain an encrypted data query result; wherein step 330 includes: and sending the encrypted data query result to the block chain link.
In the embodiment of the present application, if the data security is improved, the out-of-chain data source 13 encrypts the data query result. The blockchain node 12 may decrypt the encrypted data query result using a decryption algorithm corresponding to the encryption algorithm to obtain a final data query result.
In some examples, the communication channel may be encrypted via a secure transport layer protocol, and the encrypted data query results may be sent to the blockchain node 12.
In the embodiment of the application, the security transmission layer protocol has high security intensity, small calculated amount, high encryption and decryption speed and high efficiency, so that the data security is improved and the data query efficiency is also improved.
Fig. 4 is a flow chart illustrating an embodiment of a data acquisition method according to the present application. As shown in fig. 4, the data acquisition method provided by the application is applied to an application scene of acquiring training data from under a chain.
In the scenario where an online training model is implemented using smart contracts, a large amount of blockstore is used if training data is sent to blockchain nodes in the form of transactions. Therefore, in order to reduce the amount of data storage and the complexity of acquiring data from outside the chain, the data acquisition method provided by the present application may be used.
First, a data source service may be developed off-chain, i.e., an off-chain data source that provides data access services in the form of HTTPS. The blockchain platform takes HYPERLEDGER FABRIC as an example, and uses a chain code to realize an algorithm of an online training model and is deployed on the blockchain.
In step 401, the client pre-builds data query information. The data query information comprises a data fingerprint of training data, a storage address of the training data in an out-of-chain data source and a query authorization signature.
The client hashes each training data by using a preset hash algorithm to obtain the data fingerprint of each training data. The client may pre-fetch the memory address of the training data in the off-chain data source from the off-chain data source. The client performs authorization signature on the data query information by using an authorization key acquired from an off-chain data source to acquire a query authorization signature.
In step 402, the client invokes the Fabric SDK to send data query information (also referred to as a transaction) to the block link.
In step 403, the block link point receives the data query information.
At step 404, the intelligent contracts in the blockchain nodes read the data query information and construct a data query request based on the data query information.
At step 405, the blockchain node sends a data query request to the out-of-chain data source over the secure transport layer protocol encrypted communication channel, the request carrying a query authorization signature.
In step 406, the out-of-chain data source receives the data query request.
Step 407, after the out-of-chain data source receives the data query request, verifies the query authorization signature.
In step 408, if the out-of-chain data source verifies the query authorization signature, a data query result is obtained based on the data query request.
Step 409, encrypting the data query result by the out-of-chain data source to obtain an encrypted data query result.
Step 410, encrypt the communication channel through the secure transport layer protocol, and directly send the encrypted data query result to the block link.
In step 411, the block link point receives the encrypted data query result.
In step 412, the blockchain node decrypts the encrypted data query result to obtain the data query result.
In step 413, the intelligent contract in the blockchain node may invoke the data query result and hash the data query result to obtain a data fingerprint of the data query result.
In step 414, the intelligent contract in the blockchain node determines whether the data fingerprint of the training data to be queried in the data query information is consistent with the data fingerprint of the data query result.
In step 415, if the data fingerprint of the training data to be queried in the data query information is consistent with the data fingerprint of the data query result, the intelligent contract performs model training by using the data query result.
And step 416, if the data fingerprint of the training data to be queried in the data query information is inconsistent with the data fingerprint of the data query result, feedback information of query failure is returned to the client.
Fig. 5 is a flow chart illustrating an embodiment of a data acquisition method according to the present application. As shown in fig. 5, the data acquisition method provided by the application is applied to an application scene of inquiring payment results based on a bank inquiry interface.
In a scenario where there is an intelligent contract on the blockchain and a next action is required to start according to the payment result, in order to improve the reliability of data, a query can be performed from the payment result database of the bank outside the chain. In order to reduce the complexity of acquiring payment results from off-chain, the data acquisition method provided by the application can be used.
First, when an intelligent contract is deployed on the blockchain, a payment result inquiry address of a bank is registered on the blockchain, and approval of a contract participant is obtained.
In step 501, the client pre-builds data query information. The data query information comprises a payment serial number and a query authorization signature.
In step 502, the client sends data query information to the block link point.
In step 503, the block link point receives data query information.
In step 504, the intelligent contract in the blockchain node reads the data query information and constructs a data query request based on the payment serial number, the query authorization signature and the pre-registered bank payment result query address.
In step 505, the blockchain node sends a data query request to an off-chain data source (i.e., a bank payment result query interface) through a secure transport layer protocol encrypted communication channel, the request carrying a query authorization signature.
In step 506, the out-of-chain data source receives the data query request.
Step 507, after the out-of-chain data source receives the data query request, verifies the query authorization signature.
And step 508, if the out-of-chain data source verifies the query authorization signature, querying a payment result corresponding to the payment serial number.
Step 509, the out-of-chain data source encrypts the payment result to obtain an encrypted payment result.
Step 510, encrypt the communication channel through the secure transport layer protocol, and send the encrypted payment result directly to the block link.
In step 511, the blockchain node receives the encrypted payment result.
In step 512, the blockchain node decrypts the encrypted payment result to obtain the payment result.
In step 513, the intelligent contracts in the blockchain node use the queried payment results for further processing.
Fig. 6 is a schematic structural diagram of an embodiment of a data acquisition device provided according to the present application. As shown in fig. 6, the data acquisition device 600 provided by the present application includes:
The data query request construction module 610 is configured to construct a data query request through an intelligent contract based on the acquired data query information, where the data query request carries the data query information;
the data query request sending module 620 is configured to send a data query request directly to an out-of-chain data source associated with the data query information, so that the out-of-chain data source obtains a data query result based on the data query request;
the data query result receiving module 630 is configured to receive a data query result sent by an off-link data source.
In the embodiment of the application, the blockchain node 12 can construct a data query request based on the acquired data query information through an intelligent contract, and can directly send the data query request to the off-chain data source 13 associated with the data query information to acquire the data query result, and the client 11 of the predictor or the predictor network is not required to be independently established, but the required data can be acquired through direct communication between the blockchain node 12 and the off-chain data source 13, so that the complexity of accessing the off-chain data by the blockchain node 12 is reduced.
In some embodiments of the present application, the data query information includes a query index in the out-of-chain data source 13.
In some embodiments of the application, the query index includes a query condition or a storage address of the out-of-chain data source 13.
In some embodiments of the present application, if the query index includes a query condition, the data query request construction module 610:
Based on the obtained query conditions and the pre-stored query address of the out-of-chain data source 13, a data query request is constructed by an intelligent contract.
In some embodiments of the application, the data query information further includes a query authorization signature;
Wherein the query authorization signature is used by the out-of-chain data source 13 to obtain a data query result based on the data query request if the query authorization signature is verified.
In some embodiments of the present application, the data acquisition device 600 further comprises:
The receiving module is configured to receive the data query information sent by the client 11.
In some embodiments of the present application, the data acquisition device 600 further comprises:
The first encryption module is used for encrypting the data query request to obtain an encrypted data query request;
the data query request sending module 620 is configured to:
the encrypted data query request is sent directly to the off-link data source 13 associated with the data query information.
In some embodiments of the present application, the data query request sending module 620 is configured to:
the communication channel is encrypted by the secure transport layer protocol and the encrypted data query request is sent directly to the off-link data source 13 associated with the data query information.
In some embodiments of the present application, the data query information further includes a data fingerprint of the target data to be queried; the data fingerprint of the target data is data obtained after the target data is hashed by a preset hash algorithm;
Wherein, the data acquisition device 600 further comprises:
The data fingerprint determining module is used for hashing the data query result by utilizing a preset hash algorithm through the intelligent contract to obtain a data fingerprint of the data query result;
And the processing module is used for executing preset processing on the data query result through the intelligent contract under the condition that the data fingerprint of the target data is determined to be consistent with the data fingerprint of the data query result through the intelligent contract.
In some embodiments of the present application, the data query result is an encrypted data query result, and the data acquisition device 600 further includes:
and the decryption module is used for decrypting the encrypted data query result to obtain the data query result.
Other details of the data acquisition device 600 according to the embodiment of the present application are similar to those of the data acquisition method 200 according to the embodiment of the present application described above in connection with fig. 2, and are not described here again.
Fig. 7 is a schematic structural diagram of another embodiment of a data acquisition device according to the present application. As shown in fig. 7, the data acquisition device 700 provided by the present application includes:
The data query request receiving module 710 is configured to receive a data query request sent by the blockchain node 12, where the data query request is constructed by the blockchain node 12 through an intelligent contract based on the acquired data query information, and the data query request carries the data query information;
a data query result determining module 720, configured to obtain a data query result based on the data query request;
the data query result sending module 730 is configured to send the data query result to the blockchain node 12.
In the embodiment of the application, the blockchain node 12 can construct a data query request based on the acquired data query information through an intelligent contract, and can directly send the data query request to the off-chain data source 13 associated with the data query information to acquire the data query result, and the client 11 of the predictor or the predictor network is not required to be independently established, but the required data can be acquired through direct communication between the blockchain node 12 and the off-chain data source 13, so that the complexity of accessing the off-chain data by the blockchain node 12 is reduced.
In some embodiments of the present application, the data query information includes a query index and a query authorization signature in the off-chain data source 13;
the data query result determining module 720 includes:
And under the condition that the query authorization signature carried in the data query request passes the verification, obtaining a data query result matched with the query index based on the query index carried in the data query request.
In some embodiments of the present application, the data query result determination module 720 is configured to:
and determining that the query authorization signature is within the preset validity period, and/or the request times of the data requests carrying the query authorization signature are smaller than a preset time threshold.
In some embodiments of the present application, the data acquisition device 700 further comprises:
The second encryption module is used for encrypting the data query result to obtain an encrypted data query result;
The data query result sending module 730 is configured to:
the encrypted data query result is sent to the blockchain node 12.
In some embodiments of the present application, the data query result sending module 730 is configured to:
the communication channel is encrypted via the secure transport layer protocol and the encrypted data query result is sent to the blockchain node 12.
Other details of the data acquisition device 700 according to the embodiment of the present application are similar to those of the data acquisition method 300 according to the embodiment of the present application described above in connection with fig. 3, and are not repeated here.
The data acquisition method and apparatus according to the embodiments of the present application described in connection with fig. 2 to 5 may be implemented by a data acquisition device. Fig. 8 is a schematic diagram of the structure of an embodiment of a data acquisition device provided according to the present application.
The data acquisition device 800 may include a processor 801 and a memory 802 storing computer program instructions.
In particular, the processor 801 may include a Central Processing Unit (CPU), or Application SPECIFIC INTEGRATED Circuit (ASIC), or may be configured as one or more integrated circuits that implement embodiments of the present application.
Memory 802 may include mass storage for data or instructions. By way of example, and not limitation, memory 802 may include a hard disk drive (HARD DISK DRIVE, HDD), a floppy disk drive, flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (Universal Serial Bus, USB) drive, or a combination of two or more of these. Memory 802 may include removable or non-removable (or fixed) media, where appropriate. The memory 802 may be internal or external to the data acquisition device 800, where appropriate. In a particular embodiment, the memory 802 is a non-volatile solid-state memory.
In a particular embodiment, the memory 802 includes Read Only Memory (ROM). The ROM may be mask programmed ROM, programmable ROM (PROM), erasable PROM (EPROM), electrically Erasable PROM (EEPROM), electrically rewritable ROM (EAROM), or flash memory, or a combination of two or more of these, where appropriate.
The memory may include Read Only Memory (ROM), random Access Memory (RAM), magnetic disk storage media devices, optical storage media devices, flash memory devices, electrical, optical, or other physical/tangible memory storage devices. Thus, in general, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., memory devices) encoded with software comprising computer-executable instructions and when the software is executed (e.g., by one or more processors) it is operable to perform the operations described with reference to the methods of data acquisition according to the present disclosure.
The processor 801 implements any of the data acquisition methods of the above embodiments by reading and executing computer program instructions stored in the memory 802.
In one example, the data acquisition device may also include a communication interface 803 and a bus 810. As shown in fig. 8, the processor 801, the memory 802, and the communication interface 803 are connected to each other via a bus 810 and perform communication with each other.
Communication interface 803 is primarily used to implement communication between modules, devices, units, and/or apparatuses in an embodiment of the present application.
Bus 810 includes hardware, software, or both, coupling components of the data acquisition device to each other. By way of example, and not limitation, the buses may include an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), a HyperTransport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an infiniband interconnect, a Low Pin Count (LPC) bus, a memory bus, a micro channel architecture (MCa) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a video electronics standards association local (VLB) bus, or other suitable bus, or a combination of two or more of the above. Bus 810 may include one or more buses, where appropriate. Although embodiments of the application have been described and illustrated with respect to a particular bus, the application contemplates any suitable bus or interconnect.
In addition, in combination with the data acquisition method in the above embodiment, the embodiment of the present application may be implemented by providing a computer storage medium. The computer storage medium has stored thereon computer program instructions; the computer program instructions, when executed by a processor, implement any of the data acquisition methods of the above embodiments.
It should be understood that the application is not limited to the particular arrangements and instrumentality described above and shown in the drawings. For the sake of brevity, a detailed description of known methods is omitted here. In the above embodiments, several specific steps are described and shown as examples. The method processes of the present application are not limited to the specific steps described and shown, but various changes, modifications and additions, or the order between steps may be made by those skilled in the art after appreciating the spirit of the present application.
The functional blocks shown in the above-described structural block diagrams may be implemented in hardware, software, firmware, or a combination thereof. When implemented in hardware, it may be, for example, an electronic circuit, an Application Specific Integrated Circuit (ASIC), suitable firmware, a plug-in, a function card, or the like. When implemented in software, the elements of the application are the programs or code segments used to perform the required tasks. The program or code segments may be stored in a machine readable medium or transmitted over transmission media or communication links by a data signal carried in a carrier wave. A "machine-readable medium" may include any medium that can store or transfer information. Examples of machine-readable media include electronic circuitry, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, radio Frequency (RF) links, and the like. The code segments may be downloaded via computer networks such as the internet, intranets, etc.
It should also be noted that the exemplary embodiments mentioned in this disclosure describe some methods or systems based on a series of steps or devices. The present application is not limited to the order of the above-described steps, that is, the steps may be performed in the order mentioned in the embodiments, or may be performed in a different order from the order in the embodiments, or several steps may be performed simultaneously.
Aspects of the present disclosure are described above with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the disclosure. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, enable the implementation of the functions/acts specified in the flowchart and/or block diagram block or blocks. Such a processor may be, but is not limited to being, a general purpose processor, a special purpose processor, an application specific processor, or a field programmable logic circuit. It will also be understood that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware which performs the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In the foregoing, only the specific embodiments of the present application are described, and it will be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the systems, modules and units described above may refer to the corresponding processes in the foregoing method embodiments, which are not repeated herein. It should be understood that the scope of the present application is not limited thereto, and any equivalent modifications or substitutions can be easily made by those skilled in the art within the technical scope of the present application, and they should be included in the scope of the present application.

Claims (17)

1. A data acquisition method is applied to a blockchain node, and comprises the following steps:
constructing a data query request through an intelligent contract based on the acquired data query information, wherein the data query request carries the data query information, the data query information comprises a query index in an off-chain data source and a data fingerprint of target data to be queried, and the data fingerprint of the target data is data obtained after the target data is hashed by a preset hash algorithm;
Directly sending the data query request to an out-of-chain data source associated with the data query information, so that the out-of-chain data source obtains a data query result based on the data query request;
Receiving a data query result sent by the out-of-chain data source;
Hashing the data query result by using the preset hash algorithm through the intelligent contract to obtain a data fingerprint of the data query result;
And under the condition that the data fingerprint of the target data is determined to be consistent with the data fingerprint of the data query result through the intelligent contract, executing preset processing on the data query result through the intelligent contract.
2. The method of claim 1, wherein the query index comprises a query condition or a storage address of the out-of-chain data source.
3. The method of claim 2, wherein if the query index includes a query condition, the constructing a data query request by a smart contract based on the obtained data query information, comprises:
And constructing the data query request through an intelligent contract based on the acquired query condition and the pre-stored query address of the out-of-chain data source.
4. The method of claim 1, wherein the data query information further comprises a query authorization signature;
The query authorization signature is used for obtaining the data query result based on the data query request under the condition that the out-of-chain data source verifies the query authorization signature.
5. The method of claim 1, wherein prior to constructing the data query request via the smart contract based on the obtained data query information, the method further comprises:
And receiving the data query information sent by the client.
6. The method of claim 1, wherein prior to the directly sending the data query request to an off-chain data source associated with the data query information, the method further comprises:
Encrypting the data query request to obtain an encrypted data query request;
wherein the sending the data query request directly to an off-chain data source associated with the data query information comprises:
and directly sending the encrypted data query request to an off-link data source associated with the data query information.
7. The method of claim 6, wherein the sending the encrypted data query request directly to an off-chain data source associated with the data query information comprises:
and directly sending the encrypted data query request to an out-of-chain data source associated with the data query information through a secure transport layer protocol encrypted communication channel.
8. The method of claim 1, wherein the data query result is an encrypted data query result, the method further comprising:
decrypting the encrypted data query result to obtain the data query result.
9. A data acquisition method is applied to an off-chain data source, and comprises the following steps:
Receiving a data query request sent by a blockchain node, wherein the data query request is constructed by the blockchain node through an intelligent contract based on acquired data query information, the data query request carries the data query information, the data query information comprises a query index in an out-of-chain data source and a data fingerprint of target data to be queried, and the data fingerprint of the target data is obtained by hashing the target data by using a preset hash algorithm;
Obtaining a data query result based on the data query request;
And sending the data query result to the blockchain node so that the blockchain node receives the data query result, hashing the data query result by using the preset hash algorithm through the intelligent contract to obtain a data fingerprint of the data query result, and executing preset processing on the data query result through the intelligent contract under the condition that the data fingerprint of the target data is determined to be consistent with the data fingerprint of the data query result through the intelligent contract.
10. The method of claim 9, wherein the data query information includes a query index and a query authorization signature in the out-of-chain data source;
wherein, based on the data query request, obtaining a data query result includes:
And under the condition that the query authorization signature carried in the data query request passes verification, obtaining a data query result matched with the query index based on the query index carried in the data query request.
11. The method of claim 10, wherein verifying the query authorization signature carried in the data query request is passed, comprising:
and determining that the query authorization signature is within a preset validity period, and/or determining that the request times of the data requests carrying the query authorization signature are smaller than a preset time threshold.
12. The method of claim 9, wherein prior to the sending the data query result to the blockchain node, the method further comprises:
Encrypting the data query result to obtain an encrypted data query result;
wherein the sending the data query result to the blockchain node includes:
and sending the encrypted data query result to the blockchain node.
13. The method of claim 12, wherein the sending the encrypted data query result to the blockchain node comprises:
And encrypting a communication channel through a secure transport layer protocol, and sending the encrypted data query result to the blockchain node.
14. A data acquisition device for a blockchain node, comprising:
The data query request construction module is used for constructing a data query request through an intelligent contract based on the acquired data query information, wherein the data query request carries the data query information, the data query information comprises a query index in an out-of-chain data source and a data fingerprint of target data to be queried, and the data fingerprint of the target data is data obtained after the target data is hashed by a preset hash algorithm;
The data query request sending module is used for directly sending the data query request to an out-of-chain data source associated with the data query information so that the out-of-chain data source obtains a data query result based on the data query request;
the data query result receiving module is used for receiving the data query result sent by the out-of-chain data source;
the data fingerprint determining module is used for hashing the data query result by utilizing the preset hashing algorithm through the intelligent contract to obtain a data fingerprint of the data query result;
And the processing module is used for executing preset processing on the data query result through the intelligent contract under the condition that the data fingerprint of the target data is determined to be consistent with the data fingerprint of the data query result through the intelligent contract.
15. A data acquisition device for use with an off-chain data source, comprising:
The data query request receiving module is used for receiving a data query request sent by a blockchain node, wherein the data query request is constructed by the blockchain node through an intelligent contract based on acquired data query information, the data query request carries the data query information, the data query information comprises a query index in an out-of-chain data source and a data fingerprint of target data to be queried, and the data fingerprint of the target data is data obtained after the target data is hashed by a preset hash algorithm;
the data query result determining module is used for obtaining a data query result based on the data query request;
And the data query result sending module is used for sending the data query result to the blockchain node so that the blockchain node receives the data query result, the data query result is hashed by the intelligent contract by utilizing the preset hash algorithm to obtain the data fingerprint of the data query result, and under the condition that the data fingerprint of the target data is determined to be consistent with the data fingerprint of the data query result by the intelligent contract, the intelligent contract is used for executing preset processing on the data query result.
16. A data acquisition device, the device comprising: a processor and a memory storing computer program instructions;
The processor, when executing the computer program instructions, implements a data acquisition method as claimed in any one of claims 1-13.
17. A computer storage medium having stored thereon computer program instructions which, when executed by a processor, implement a data acquisition method as claimed in any one of claims 1 to 13.
CN202010914632.4A 2020-09-03 2020-09-03 Data acquisition method, device, equipment and medium Active CN112084234B (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN202010914632.4A CN112084234B (en) 2020-09-03 2020-09-03 Data acquisition method, device, equipment and medium
TW110132686A TWI797738B (en) 2020-09-03 2021-09-02 Data acquisition method, device, equipment and medium
PCT/CN2021/116184 WO2022048589A1 (en) 2020-09-03 2021-09-02 Data acquisition method, apparatus and device, and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010914632.4A CN112084234B (en) 2020-09-03 2020-09-03 Data acquisition method, device, equipment and medium

Publications (2)

Publication Number Publication Date
CN112084234A CN112084234A (en) 2020-12-15
CN112084234B true CN112084234B (en) 2024-05-17

Family

ID=73731893

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010914632.4A Active CN112084234B (en) 2020-09-03 2020-09-03 Data acquisition method, device, equipment and medium

Country Status (3)

Country Link
CN (1) CN112084234B (en)
TW (1) TWI797738B (en)
WO (1) WO2022048589A1 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112084234B (en) * 2020-09-03 2024-05-17 ***股份有限公司 Data acquisition method, device, equipment and medium
CN112651037B (en) * 2020-12-31 2024-01-16 深圳前海微众银行股份有限公司 Out-of-chain data access method and system for block chain system
CN112835974B (en) * 2021-01-07 2022-06-17 杭州链城数字科技有限公司 Method and device for credibly acquiring and storing evidence of data outside link
CN113379550B (en) * 2021-06-29 2023-04-14 杭州复杂美科技有限公司 Block execution method, computer device and storage medium
CN115567312B (en) * 2022-10-13 2023-07-18 佛山众陶联供应链服务有限公司 Alliance chain data authority management system and method capable of meeting various scenes
CN116055493B (en) * 2023-03-31 2023-06-23 北京比格大数据有限公司 Cross-architecture data acquisition method, gateway node and cross-architecture platform

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107507005A (en) * 2017-08-01 2017-12-22 众安信息技术服务有限公司 Data access method and system outside a kind of chain based on alliance's chain
CN110009494A (en) * 2019-03-18 2019-07-12 阿里巴巴集团控股有限公司 A kind of method and device monitoring the transaction content in block chain
CN110474903A (en) * 2019-08-15 2019-11-19 广州蚁比特区块链科技有限公司 Trust data acquisition methods, device and block chain node
CN111045812A (en) * 2019-12-24 2020-04-21 山东爱城市网信息技术有限公司 Block chain intelligent contract reverse calling method, equipment and medium
CN111163093A (en) * 2019-12-30 2020-05-15 杭州趣链科技有限公司 Method and device for acquiring external data from external data source in block chain of alliance
CN111429134A (en) * 2018-12-21 2020-07-17 北京京东尚科信息技术有限公司 Data transaction method and device based on block chain

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11093558B2 (en) * 2017-11-14 2021-08-17 International Business Machines Corporation Providing accountability of blockchain queries
CN108415784B (en) * 2018-02-27 2020-04-24 阿里巴巴集团控股有限公司 Cross-block-chain interaction method, device, system and electronic equipment
CN112084234B (en) * 2020-09-03 2024-05-17 ***股份有限公司 Data acquisition method, device, equipment and medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107507005A (en) * 2017-08-01 2017-12-22 众安信息技术服务有限公司 Data access method and system outside a kind of chain based on alliance's chain
CN111429134A (en) * 2018-12-21 2020-07-17 北京京东尚科信息技术有限公司 Data transaction method and device based on block chain
CN110009494A (en) * 2019-03-18 2019-07-12 阿里巴巴集团控股有限公司 A kind of method and device monitoring the transaction content in block chain
CN110474903A (en) * 2019-08-15 2019-11-19 广州蚁比特区块链科技有限公司 Trust data acquisition methods, device and block chain node
CN111045812A (en) * 2019-12-24 2020-04-21 山东爱城市网信息技术有限公司 Block chain intelligent contract reverse calling method, equipment and medium
CN111163093A (en) * 2019-12-30 2020-05-15 杭州趣链科技有限公司 Method and device for acquiring external data from external data source in block chain of alliance

Also Published As

Publication number Publication date
WO2022048589A1 (en) 2022-03-10
TWI797738B (en) 2023-04-01
TW202211047A (en) 2022-03-16
CN112084234A (en) 2020-12-15

Similar Documents

Publication Publication Date Title
CN112084234B (en) Data acquisition method, device, equipment and medium
CN107493273B (en) Identity authentication method, system and computer readable storage medium
CN110324335B (en) Automobile software upgrading method and system based on electronic mobile certificate
CN113569267B (en) Privacy safety data set intersection method, device, equipment and storage medium
CN103517273A (en) Authentication method, managing platform and Internet-of-Things equipment
CN112910660B (en) Certificate issuing method, adding method and transaction processing method of blockchain system
CN111161056A (en) Method, system and equipment for improving transaction security of digital assets
CN113726774B (en) Client login authentication method, system and computer equipment
CN110955921A (en) Electronic signature method, device, equipment and storage medium
CN115567197A (en) Digital certificate application method, device, equipment and computer storage medium
CN116599669A (en) Data processing method, device, computer equipment and storage medium
EP3133791B1 (en) Double authentication system for electronically signed documents
CN110572392A (en) Identity authentication method based on HyperLegger network
CN112084527B (en) Data storage and acquisition method, device, equipment and medium
CN115868189A (en) Method, vehicle, terminal and system for establishing vehicle safety communication
CN115344848B (en) Identification acquisition method, device, equipment and computer readable storage medium
US10454919B2 (en) Secure component certificate provisioning
CN106961417B (en) Identity verification method based on ciphertext
CN115499837A (en) Communication method, device, equipment and storage medium based on secure transport layer protocol
CN114390478A (en) Equipment authentication system, method and terminal equipment
CN114386075A (en) Data transmission channel establishing method, data transmission device, data transmission equipment and medium
CN114036478A (en) Block chain cross-chain method and device, storage medium and electronic equipment
CN111656729B (en) System and method for computing escrow and private session keys for encoding digital communications between two devices
CN109698815B (en) Embedded chip card, card application server and application data transmission system and method
CN113395249A (en) Client login authentication method, system and computer equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant