Data read and write method and apparatus, and electronic device

US11200226B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-11200226-B2
Application numberUS-202117161640-A
CountryUS
Kind codeB2
Filing dateJan 28, 2021
Priority dateDec 20, 2018
Publication dateDec 14, 2021
Grant dateDec 14, 2021

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

One or more embodiments of the present specification provide data retrieving and recording methods and apparatuses, and electronic devices. One method comprises: identifying, by a blockchain node in a blockchain network, a data retrieving and recording request for a smart contract, wherein the data retrieving and recording request is configured to trigger a data retrieving and recording operation on a target object in a data set comprised in the smart contract; and parsing, by the blockchain node and to generate a parsing result, metadata comprised in the smart contract, wherein the parsing performs instructions comprised in the smart contract, and wherein the parsing result indicates a storage field corresponding to the target object in the data set for implementing the data retrieving and recording operation on the storage field.

First claim

Opening claim text (preview).

What is claimed is: 1. A computer-implemented method, comprising: identifying, by a blockchain node in a blockchain network, a data retrieving and recording request to invoke a first smart contract; obtaining, by the blockchain node and from the data retrieving and recording request, location information to locate a second smart contract; executing, by the blockchain node based on the location information, the second smart contract based on the location information to generate a transaction comprising information of the first smart contract for invoking the first smart contract; and parsing, by the blockchain node based on instructions comprised in the first smart contract, metadata comprised in the first smart contract to generate a parsing result, wherein the parsing result indicates a storage field corresponding to a target object in the data set; and implementing a data retrieving and recording operation based on the instructions comprised in the first smart contract on the target object in the storage field. 2. The computer-implemented method according to claim 1 , further comprising: retrieving, by the blockchain node, input parameters comprised in a data invoking request, wherein the input parameters comprise the target object. 3. The computer-implemented method according to claim 1 , wherein the data retrieving and recording operation comprises: retrieving a field value in the storage field; and returning the field value to a sender of the data invoking request. 4. The computer-implemented method according to claim 3 , further comprising: retrieving, by the blockchain node, input parameters comprised in the data retrieving and recording request, wherein the input parameters comprise the target object and a target object value, and wherein the data retrieving and recording operation comprises updating the field value in the storage field based on the target object value before returning the field value to the sender. 5. The computer-implemented method according to claim 1 , further comprising: responding, by the blockchain node, to the data retrieving and recording request in response to determining that the data retrieving and recording request satisfies an invoking condition of the first smart contract; and returning, by the blockchain node, target data to a sender of the data retrieving and recording request. 6. The computer-implemented method according to claim 5 , wherein the invoking condition comprises the sender of the data retrieving and recording request possessing an invoking permission for the first smart contract. 7. A non-transitory, computer-readable medium storing one or more instructions executable by a computer system to perform one or more operations comprising: identifying, by a blockchain node in a blockchain network, a data retrieving and recording request to invoke a first smart contract; obtaining, by the blockchain node and from the data retrieving and recording request, location information to locate a second smart contract; executing, by the blockchain node based on the location information, the second smart contract based on the location information to generate a transaction comprising information of the first smart contract for invoking the first smart contract; and parsing, by the blockchain node based on instructions comprised in the first smart contract, metadata comprised in the first smart contract to generate a parsing result, wherein the parsing result indicates a storage field corresponding to a target object in the data set; and implementing a data retrieving and recording operation based on the instructions comprised in the first smart contract on the target object in the storage field. 8. The non-transitory, computer-readable medium according to claim 7 , the one or more operations further comprising: retrieving, by the blockchain node, input parameters comprised in a data invoking request, wherein the input parameters comprise the target object. 9. The non-transitory, computer-readable medium according to claim 8 , wherein the data retrieving and recording operation comprises: retrieving a field value in the storage field; and returning the field value to a sender of the data invoking request. 10. The non-transitory, computer-readable medium according to claim 9 , the one or more operations further comprising: retrieving, by the blockchain node, input parameters comprised in the data retrieving and recording request, wherein the input parameters comprise the target object and a target object value, and wherein the data retrieving and recording operation comprises updating the field value in the storage field based on the target object value before returning the field value to the sender. 11. The non-transitory, computer-readable medium according to claim 7 , the one or more operations further comprising: responding, by the blockchain node, to the data retrieving and recording request in response to determining that the data retrieving and recording request satisfies an invoking condition of the first smart contract; and returning, by the blockchain node, target data to a sender of the data retrieving and recording request. 12. The non-transitory, computer-readable medium according to claim 11 , wherein the invoking condition comprises the sender of the data retrieving and recording request possessing an invoking permission for the first smart contract. 13. A computer-implemented system, comprising: one or more computers; and one or more computer memory devices interoperably coupled with the one or more computers and having tangible, non-transitory, machine-readable media storing one or more instructions that, when executed by the one or more computers, perform operations comprising: identifying, by a blockchain node in a blockchain network, a data retrieving and recording request to invoke a first smart contract; obtaining, by the blockchain node and from the data retrieving and recording request, location information to locate a second smart contract; executing, by the blockchain node based on the location information, the second smart contract based on the location information to generate a transaction comprising information of the first smart contract for invoking the first smart contract; and parsing, by the blockchain node based on instructions comprised in the first smart contract, metadata comprised in the first smart contract to generate a parsing result, wherein the parsing result indicates a storage field corresponding to a target object in the data set; and implementing a data retrieving and recording operation based on the instructions comprised in the first smart contract on the target object in the storage field. 14. The computer-implemented system according to claim 13 , the operations further comprising: retrieving, by the blockchain node, input parameters comprised in a data invoking request, wherein the input parameters comprise the target object. 15. The computer-implemented system according to claim 14 , wherein the data retrieving and recording operation comprises: retrieving a field value in the storage field; and returning the field value to a sender of the data invoking request. 16. The computer-implemented system according to claim 15 , the operations further comprising: retrieving, by the blockchain node, input parameters comprised in the data retrieving and recording request, wherein the input parameters comprise the target object and a target object value, and wherein the data retrieving and recording operation comprises updating the field value in the storage field bas

Assignees

Inventors

Classifications

  • Protecting data integrity, e.g. using checksums, certificates or signatures · CPC title

  • Tools and structures for managing or administering access control systems · CPC title

  • G06F21/645Primary

    using a third party · CPC title

  • Updates performed during online database operations; commit processing · CPC title

  • Applying verification of the received information (cryptographic mechanisms or cryptographic arrangements for data integrity or data verification H04L9/32) · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US11200226B2 cover?
One or more embodiments of the present specification provide data retrieving and recording methods and apparatuses, and electronic devices. One method comprises: identifying, by a blockchain node in a blockchain network, a data retrieving and recording request for a smart contract, wherein the data retrieving and recording request is configured to trigger a data retrieving and recording operati…
Who is the assignee on this patent?
Advanced New Technologies Co Ltd
What technology area does this patent fall under?
Primary CPC classification G06F21/645. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Dec 14 2021 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 12 related publications on this page (citations in our corpus or others sharing the same primary CPC).