BLOCKCHAIN SMART CONTRACT-BASED ENCODING/DECODING METHODS AND SYSTEMS

A blockchain smart contract-based encoding/decoding method and system are disclosed. In embodiments of the present specification an encoding instruction and a decoding instruction are defined and added to an instruction set of a blockchain virtual machine. In addition, encoding logic corresponding t...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
1. Verfasser: Xie, Guilu
Format: Patent
Sprache:eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:A blockchain smart contract-based encoding/decoding method and system are disclosed. In embodiments of the present specification an encoding instruction and a decoding instruction are defined and added to an instruction set of a blockchain virtual machine. In addition, encoding logic corresponding to the encoding instruction and decoding logic corresponding to the decoding instruction are deployed in the blockchain virtual machine. In another aspect, the defined encoding instruction and decoding instruction further need to be added to an instruction set of a smart contract compiler, so a service smart contract compiled by using the smart contract compiler includes at least one of the encoding instruction or the decoding instruction. As such, if the service smart contract is deployed in a blockchain network, when constructing a service initiation transaction, a user can specify invoking the service smart contract to execute the service initiation transaction.