English  |  正體中文  |  简体中文  |  Items with full text/Total items : 888/888 (100%)
Visitors : 13627900      Online Users : 283
RC Version 7.0 © Powered By DSPACE, MIT. Enhanced by NTU Library IR team.
Scope Tips:
  • please add "double quotation mark" for query phrases to get precise results
  • please goto advance search for comprehansive author search
  • Adv. Search
    HomeLoginUploadHelpAboutAdminister Goto mobile version
    Please use this identifier to cite or link to this item: http://ccur.lib.ccu.edu.tw/handle/A095B0000Q/13

    Title: 基於OP_RETURN指令之效能改善與應用;Performance Improvement and Application Based on the OP_RETURN Instruction
    Authors: 蕭承諺;SIAO, CHENG-YAN
    Contributors: 資訊工程研究所
    Keywords: 比特幣;區塊鏈;腳本語言;Bitcoin;Blockchain;Scripting Language
    Date: 2018
    Issue Date: 2019-05-23 10:30:09 (UTC+8)
    Publisher: 資訊工程研究所
    Abstract: 隨著各種數位貨幣近年不斷的推出,區塊鏈(Blockchain)的重要性也逐漸被重視,其中,腳本語言(Scripting Languages)更是扮演著區塊鏈(Blockchain)能成功運行的重要因素之一。 OP_RETURN為腳本語言(Scripting Languages)之中的一項指令,當使用者需要在交易中儲存部分個人資料時,則會使用該OP_RETURN指令,然而,OP_RETURN指令目前最多能儲存80byte的資料量,以目前使用者使用OP_RETURN指令平均儲存23byte的資料量而言,OP_RETURN指令儲存80byte的資料量確實高出許多,這將導致直譯器(Interpreter)在讀取OP_RETURN指令時,額外增加不必要讀取的浪費時間,以及增加系統必需建立不必要的閒置空間。 為了解決上述問題,我們重新定義OP_RETURN指令,提出兩種指令,並重新命名為OP_RETURN27與OP_RETURN26,其兩者指令所能儲存的資料量分別為27byte與26byte,此外,我們提出三種使用者使用指令儲存資料量的演算法,藉由這三種演算法來選出最適合使用者儲存資料的空間。 另一方面,我們使用將近70萬筆的公司註冊資料來做為效能評估之測試資料,結果顯示,在這將近70萬筆的資料中的每筆資料之欄位資料量幾乎小於27 byte,因此我們將部分每筆資料之欄位資料量的預設配給空間設為27 byte,並且事先讓系統設定27 byte空間預留給下一筆欄位使用,藉由我們的方法提高系統預測給予欄位的適當儲存空間之命中率,最後經由數據的統計,經由我們提出的指令和演算法之效能皆優於原本OP_RETURN指令。
    With the continuous rollout of a variety of digital currencies in recent years, the importance of blockchain is gradually being emphasized. Among them, scripting languages play an important role in the successful operation of blockchain.OP_RETURN, an instruction in the Scripting Languages, is used when the user needs to store some personal data in the transaction. However, at present the OP_RETURN instruction can store up to 80 bytes of data at most. As the average user’s data storage is 23 bytes, 80 bytes of data storage using OP_RETURN instruction is indeed much higher. This will cause the interpreter to increase the unnecessary time when reading the OP_RETURN instruction and thus create unnecessary idle space in systems.In order to solve the above problem, we redefine the OP_RETURN instruction, propose two kinds of instructions, and rename them as OP_RETURN27 and OP_RETURN26. The amount of data that the two instructions can store is 27 bytes and 26 bytes respectively. In addition, we propose three types of user instructions for storage. The data volume algorithm uses these three algorithms to select the most suitable size for users to store data.On the other hand, we use nearly 700,000 company registration data as test data for the performance evaluation. The results show that the amount of data in each of the nearly 700,000 data column is almost less than 27 bytes. We set the default allocation space for the amount of field data for each piece of data to 27 bytes, and let the system set 27 bytes of space for the next column to be used in advance. By using our method to improve the hit rate of the system to predict the appropriate storage space for the column, and finally through the statistics of the data, the performance of the instructions and algorithms proposed by us is better than the original OP_RETURN instruction.
    Appears in Collections:[資訊工程學系] 學位論文

    Files in This Item:

    File Description SizeFormat

    All items in CCUR are protected by copyright, with all rights reserved.

    版權聲明 © 國立中正大學圖書館網頁內容著作權屬國立中正大學圖書館


    DSpace Software Copyright © 2002-2004  MIT &  Hewlett-Packard  /   Enhanced by   NTU Library IR team Copyright ©   - Feedback