BLOCKCHAIN SMART CONTRACT-BASED CODING AND DECODING METHOD AND SYSTEM

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

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
1. Verfasser: XIE, Guilu
Format: Patent
Sprache:eng ; fre ; ger
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, in one aspect, a BASE64 encoding instruction and a BASE64 decoding instruction are defined and added to an instruction set of a blockchain virtual machine. In addition, BASE64 encoding logic corresponding to the BASE64 encoding instruction and BASE64 decoding logic corresponding to the BASE64 decoding instruction are deployed in the blockchain virtual machine. In another aspect, the defined BASE64 encoding instruction and BASE64 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 BASE64 encoding instruction or the BASE64 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 to invoke the service smart contract to execute the service initiation transaction.