Blockchain-based data processing method and device
AssigneeAdvanced New Technologies Co., Ltd.
InventorHao Wu
Life of this patent
Estimating the term…
Abstract
A blockchain node receives transaction data and formatted information corresponding to the transaction data. The blockchain node determines, based on a transaction type corresponding to the transaction data and a predetermined relationship between the transaction type and a processing policy, a processing policy corresponding to the transaction data, where the processing policy includes a data attribute used for conversion and a conversion rule corresponding to the data attribute. The blockchain node converts the formatted information into an attribute value based on the conversion rule. A data attribute corresponding to the attribute value is determined. The blockchain node verifies received transaction data based on the attribute value of the data attribute and the attribute value of the data attribute.
Claims21
A computer-implemented method for processing blockchain-based data, the computer-implemented method comprising:
- receiving, by a first blockchain node and from a second blockchain node, transaction data and encrypted binary formatted information corresponding to the transaction data, wherein the transaction data comprises a first attribute value corresponding to a data attribute, wherein the encrypted binary formatted information comprises serialization of the first attribute value by the second blockchain node, and wherein operating systems or compilation languages supported by the first blockchain node are different from operating systems or compilation languages supported by the second blockchain node;
- decrypting, by the first blockchain node and using a public key associated with the second blockchain node, the encrypted binary formatted information to obtain binary formatted information corresponding to the transaction data;
- determining, by the first blockchain node, a transaction type corresponding to the transaction data and a transaction feature from the transaction type;
- selecting, from the transaction data, at least one data attribute that represents the transaction feature;
- generating, based on the at least one data attribute and a conversion rule corresponding to the data attribute, a processing policy corresponding to the transaction data, wherein the processing policy comprises the at least one data attribute and the conversion rule corresponding to the data attribute;
- converting, by the first blockchain node, the binary formatted information into a second attribute value based on the conversion rule;
- determining, by the first blockchain node, the data attribute corresponding to the second attribute value;
- and
- in response to a determination that the first attribute value matches the second attribute value, determining, by the first blockchain node, that the transaction data passes a verification.
A non-transitory, computer-readable medium storing one or more instructions executable by a computer system to perform operations comprising:
- receiving, by a first blockchain node and from a second blockchain node, transaction data and encrypted binary formatted information corresponding to the transaction data, wherein the transaction data comprises a first attribute value corresponding to a data attribute, wherein the encrypted binary formatted information comprises serialization of the first attribute value by the second blockchain node, and wherein operating systems or compilation languages supported by the first blockchain node are different from operating systems or compilation languages supported by the second blockchain node;
- decrypting, by the first blockchain node and using a public key associated with the second blockchain node, the encrypted binary formatted information to obtain binary formatted information corresponding to the transaction data;
- determining, by the first blockchain node, a transaction type corresponding to the transaction data and a transaction feature from the transaction type;
- selecting, from the transaction data, at least one data attribute that represents the transaction feature;
- generating, based on the at least one data attribute and a conversion rule corresponding to the data attribute, a processing policy corresponding to the transaction data, wherein the processing policy comprises the at least one data attribute and the conversion rule corresponding to the data attribute;
- converting, by the first blockchain node, the binary formatted information into a second attribute value based on the conversion rule;
- determining, by the first blockchain node, the data attribute corresponding to the second attribute value;
- and
- in response to a determination that the first attribute value matches the second attribute value, determining, by the first blockchain node, that the transaction data passes a verification.
A computer-implemented system, comprising:
- a plurality of computers;
- and
- one or more computer memory devices interoperably coupled with the plurality of computers and having tangible, non-transitory, machine-readable media storing one or more instructions that, when executed by the plurality of computers, perform one or more operations comprising:
- receiving, by a first blockchain node and from a second blockchain node, transaction data and encrypted binary formatted information corresponding to the transaction data, wherein the transaction data comprises a first attribute value corresponding to a data attribute, wherein the encrypted binary formatted information comprises serialization of the first attribute value by the second blockchain node, and wherein operating systems or compilation languages supported by the first blockchain node are different from operating systems or compilation languages supported by the second blockchain node;
- decrypting, by the first blockchain node and using a public key associated with the second blockchain node, the encrypted binary formatted information to obtain binary formatted information corresponding to the transaction data;
- determining, by the first blockchain node, a transaction type corresponding to the transaction data and a transaction feature from the transaction type;
- selecting, from the transaction data, at least one data attribute that represents the transaction feature;
- generating, based on the at least one data attribute and a conversion rule corresponding to the data attribute, a processing policy corresponding to the transaction data, wherein the processing policy comprises the at least one data attribute and the conversion rule corresponding to the data attribute;
- converting, by the first blockchain node, the binary formatted information into a second attribute value based on the conversion rule;
- determining, by the first blockchain node, the data attribute corresponding to the second attribute value;
- and
- in response to a determination that the first attribute value matches the second attribute value, determining, by the first blockchain node, that the transaction data passes a verification.
Dependencies are inferred from the claim text.