TWI623904B - Confirmation system based on blockchain smart contract and method thereof - Google Patents

Confirmation system based on blockchain smart contract and method thereof Download PDF

Info

Publication number
TWI623904B
TWI623904B TW106130518A TW106130518A TWI623904B TW I623904 B TWI623904 B TW I623904B TW 106130518 A TW106130518 A TW 106130518A TW 106130518 A TW106130518 A TW 106130518A TW I623904 B TWI623904 B TW I623904B
Authority
TW
Taiwan
Prior art keywords
contract
request
letter
registration
correspondence
Prior art date
Application number
TW106130518A
Other languages
Chinese (zh)
Other versions
TW201913529A (en
Inventor
林祐德
Original Assignee
現代財富控股有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 現代財富控股有限公司 filed Critical 現代財富控股有限公司
Priority to TW106130518A priority Critical patent/TWI623904B/en
Application granted granted Critical
Publication of TWI623904B publication Critical patent/TWI623904B/en
Publication of TW201913529A publication Critical patent/TW201913529A/en

Links

Abstract

一種基於區塊鏈智能合約的函證系統及其方法,透過將權責端、函證伺服端及審計端設置為區塊鏈網路的節點,用以執行區塊鏈智能合約,當審計端對函證對象進行函證時,產生相應的函證請求合約並發布至區塊鏈網路,並且觸發註冊成功事件,當函證伺服端為函證對象且偵測到註冊成功事件被觸發時,將證據資料加密嵌入相應的函證請求合約,並且觸發函證回應事件,當審計端偵測到函證回應事件被觸發時,自函證請求合約載入證據資料以進行解密及審計,用以達到提高電子函證的可靠性及便利性之技術功效。A block-based intelligent contract-based correspondence system and method thereof, which are used to execute a blockchain intelligent contract by setting an authority end, a credential server, and an auditing end as nodes of a blockchain network, when the auditing end When the correspondence is filed, the corresponding letter request contract is generated and released to the blockchain network, and the registration success event is triggered. When the certificate server is the certificate object and the registration success event is triggered. Encrypting the evidence data into the corresponding correspondence request contract and triggering the correspondence response event. When the auditing end detects that the correspondence response event is triggered, the evidence requesting the contract is loaded into the evidence for decryption and auditing. To achieve the technical effectiveness of improving the reliability and convenience of electronic correspondence.

Description

基於區塊鏈智能合約的函證系統及其方法Letter card system based on blockchain intelligent contract and method thereof

本發明涉及一種函證系統及其方法,特別是基於區塊鏈智能合約的函證系統及其方法。The invention relates to a correspondence system and a method thereof, in particular to a correspondence system based on a blockchain intelligent contract and a method thereof.

近年來,隨著電子化的普及與蓬勃發展,各種電子化的應用便如雨後春筍般出現,例如:電子函證。In recent years, with the popularity and flourishing of electronic technology, various electronic applications have sprung up, such as electronic correspondence.

一般而言,函證(Confirmation)是審計術語,意思是指審計人員為了獲取影響財務報表或相關揭露認定的項目資訊,通過直接來自第三方(即:函證對象;受函證者)對有關資訊和現存狀況的聲明,獲取和評價審計證據的過程。函證是重要的審計程序之一,函證獲取的審計證據稱為詢證函(Confirmation Request)。詢證函應當由審計人員直接發出給第三方,並要求將回函直接寄回給審計人員,避免遭到被審計者篡改詢證函及其回函。另外,倘若函證未在合理期間內收到回應,或是為了重複確認證據資料的有效性及精確性,審計人員可重複進行函證,如:二次函證、三次函證等等,並以此類推。Generally speaking, a confirmation is an audit term, which means that the auditor obtains information about the project that affects the financial statement or related disclosure, and directly from the third party (ie: the subject of the letter; the person to be certified) A statement of information and current status, the process of obtaining and evaluating audit evidence. A letter of credit is one of the important audit procedures, and the audit evidence obtained by the letter is called a Confirmation Request. The inquiry letter shall be directly sent to the third party by the auditor, and the reply letter shall be sent back directly to the auditor to avoid being falsified by the auditee and the reply letter. In addition, if the letter does not receive a response within a reasonable period of time, or in order to duplicate the validity and accuracy of the evidence, the auditor may repeat the letter, such as: a second letter, three letters, etc. And so on.

以往函證是以書面紙本作業,後來各家廠商紛紛提出電子函證的技術。然而,各家廠商的電子函證均使用非公開協定,導致不同廠商的電子函證無法通用,不但造成審計人員的不便,其儲存的資料也存在被竄改的風險,而且無法追蹤整個函證的過程,因此,傳統的電子函證方式具有可靠性及便利性不佳之問題。In the past, the letters were written in paper, and various manufacturers later proposed the technology of electronic letters. However, the electronic letters of various manufacturers use non-disclosure agreements, which result in the incompatibility of electronic certificates of different manufacturers, which not only causes inconvenience to auditors, but also the risk of falsification of the stored information, and cannot track the entire letter. Process, therefore, the traditional e-Cert method has problems of poor reliability and convenience.

綜上所述,可知先前技術中長期以來一直存在電子函證的可靠性及便利性不佳之問題,因此實有必要提出改進的技術手段,來解決此一問題。In summary, it can be seen that the reliability and convenience of the electronic certificate have been long existed in the prior art. Therefore, it is necessary to propose an improved technical means to solve this problem.

本發明揭露一種基於區塊鏈智能合約的函證系統及其方法。The invention discloses a correspondence system based on a blockchain intelligent contract and a method thereof.

首先,本發明揭露一種基於區塊鏈智能合約的函證系統,應用在執行智能合約的區塊鏈網路,此系統包含:權責端、函證伺服端及審計端。其中,所述權責端用以於初始時,透過區塊鏈交易發布組織註冊合約用以提供儲存函證請求註冊合約地址,其中,所述組織註冊合約包含組織註冊函式及組織註冊成功事件。First of all, the present invention discloses a block-based intelligent contract-based credit card system, which is applied to a blockchain network that executes a smart contract. The system includes: a rights and responsibilities, a certificate server, and an audit terminal. Wherein, the authority is used to initially issue an organization registration contract through a blockchain transaction to provide a storage certificate request registration contract address, wherein the organization registration contract includes an organization registration function and an organization registration success event .

接著,所述函證伺服端包含:初始模組及回函模組。其中,初始模組用以於初始時,透過區塊鏈交易發布函證請求註冊合約以提供儲存函證請求合約地址,並且獲得對應函證請求註冊合約的函證請求註冊合約地址,以及執行組織註冊函式,將獲得的函證請求註冊合約地址儲存至組織註冊合約中且觸發組織註冊成功事件;回函模組用以在函證伺服端為函證對象,並且偵測到註冊成功事件被觸發後,根據函證請求合約地址獲得對應的函證請求合約,並且將證據資料加密嵌入函證請求合約以透過區塊鏈交易更新函證請求合約的內容並觸發函證回應事件。Then, the certificate server includes: an initial module and a reply module. The initial module is used to initially request a registration contract through a blockchain transaction to provide a storage certificate request contract address, and obtain a correspondence request registration contract address corresponding to the letter request registration contract, and an execution organization. Registration function, the obtained letter request registration contract address is stored in the organization registration contract and triggers the organization registration success event; the reply function module is used as a correspondence object on the certificate server, and the registration success event is detected After the trigger, the corresponding letter request contract is obtained according to the letter request contract address, and the evidence data is encrypted and embedded in the letter request contract to update the contents of the contract through the blockchain transaction and trigger the letter response event.

至於所述審計端則包含:偵測模組、函證模組及審計模組。其中,偵測模組用以在對函證對象進行函證時,偵測此函證對象的函證對象地址是否存在於組織註冊合約中,當存在時,產生對應函證對象的函證請求合約且透過區塊鏈交易發布以獲得對應的函證請求合約地址;函證模組用以執行函證請求註冊合約的註冊函式,將函證請求合約地址儲存至函證請求註冊合約中且觸發註冊成功事件;審計模組用以在偵測到函證回應事件被觸發後,自對應的函證請求合約載入證據資料以進行解密及審計。The auditing terminal includes: a detection module, a letter module and an audit module. The detecting module is configured to detect whether the address of the authenticity object of the authenticity object exists in the organization registration contract when the correspondence is performed on the authenticity object, and when present, generate a correspondence request corresponding to the authenticity object The contract is issued through the blockchain transaction to obtain the corresponding letter of request contract address; the letter module is used to execute the registration function of the letter request registration contract, and the letter request contract address is stored in the letter request registration contract and The registration success event is triggered; the audit module is configured to load the evidence data from the corresponding letter request contract for decryption and audit after detecting that the correspondence response event is triggered.

另外,本發明揭露一種基於區塊鏈智能合約的函證方法,應用在執行智能合約的區塊鏈網路,其步驟包括:提供權責端、函證伺服端及審計端作為區塊鏈網路的節點;權責端於初始時,透過區塊鏈交易發布組織註冊合約用以提供儲存函證請求註冊合約地址,其中,組織註冊合約包含組織註冊函式及組織註冊成功事件;函證伺服端於初始時,透過區塊鏈交易發布函證請求註冊合約以提供儲存函證請求合約地址,並且獲得對應函證請求註冊合約的函證請求註冊合約地址,以及執行組織註冊函式,將獲得的函證請求註冊合約地址儲存至組織註冊合約中且觸發組織註冊成功事件;審計端在對函證對象進行函證時,審計端偵測此函證對象的函證對象地址是否存在於組織註冊合約中,當存在時,產生對應此函證對象的函證請求合約且透過區塊鏈交易發布以獲得對應的函證請求合約地址,以及執行函證請求註冊合約的註冊函式,將函證請求合約地址儲存至函證請求註冊合約中且觸發註冊成功事件;當函證伺服端為函證對象且偵測到註冊成功事件被審計端觸發後,根據函證請求合約地址獲得對應的函證請求合約,並且將證據資料加密嵌入此函證請求合約以透過區塊鏈交易更新此函證請求合約的內容並觸發函證回應事件;審計端偵測到函證回應事件被觸發後,自對應的函證請求合約載入證據資料以進行解密及審計。In addition, the present invention discloses a method for authenticating a block-based smart contract, which is applied to a blockchain network that executes a smart contract, and the steps include: providing a right-of-charge terminal, a credential server, and an auditing end as a blockchain network. The node of the road; at the initial stage, the organization registration contract is issued through the blockchain transaction to provide the storage certificate request registration contract address, wherein the organization registration contract includes the organization registration function and the organization registration success event; At the beginning, the blockchain transaction issuance letter is required to request the registration contract to provide the storage certificate request contract address, and the correspondence request registration contract address corresponding to the letter request registration contract and the execution organization registration function will be obtained. The letter requests the registration contract address to be stored in the organization registration contract and triggers the organization registration success event; when the auditing party makes a letter to the certificate object, the auditing end detects whether the letter object address of the certificate object exists in the organization registration In the contract, when it exists, a letter request contract corresponding to the object of this letter is generated and published through the blockchain transaction. The letter of request for the contract address, and the registration function for the execution of the letter request registration contract, the letter request contract address is stored in the letter request registration contract and the registration success event is triggered; when the certificate server is the certificate object and After detecting that the registration success event is triggered by the auditing end, the corresponding letter request contract is obtained according to the letter request contract address, and the evidence data is encrypted and embedded in the letter request contract to update the letter request contract through the blockchain transaction. The content triggers the correspondence response event; after the auditing party detects that the correspondence response event is triggered, the auditing party loads the evidence data from the corresponding letter request contract for decryption and auditing.

本發明所揭露之系統與方法如上,與先前技術的差異在於本發明是透過將權責端、函證伺服端及審計端設置為區塊鏈網路的節點,用以執行區塊鏈智能合約,當審計端對函證對象進行函證時,產生相應的函證請求合約並發布至區塊鏈網路,並且觸發註冊成功事件,當函證伺服端為函證對象且偵測到註冊成功事件被觸發時,將證據資料加密嵌入相應的函證請求合約,並且觸發函證回應事件,當審計端偵測到函證回應事件被觸發時,自函證請求合約載入證據資料以進行解密及審計。The system and method disclosed in the present invention are as above, and the difference from the prior art is that the present invention is to perform a blockchain smart contract by setting the authority end, the credential server and the audit end as nodes of the blockchain network. When the auditing party makes a letter to the letter of the certificate, the corresponding letter request contract is generated and released to the blockchain network, and the registration success event is triggered. When the certificate server is the certificate object and the registration is successful. When the event is triggered, the evidence data is encrypted and embedded in the corresponding correspondence request contract, and the correspondence response event is triggered. When the auditing end detects that the correspondence response event is triggered, the evidence requesting the contract is loaded into the evidence for decryption. And audit.

透過上述的技術手段,本發明可以達成提高電子函證的可靠性及便利性之技術功效。Through the above technical means, the present invention can achieve the technical effect of improving the reliability and convenience of the electronic correspondence.

以下將配合圖式及實施例來詳細說明本發明之實施方式,藉此對本發明如何應用技術手段來解決技術問題並達成技術功效的實現過程能充分理解並據以實施。The embodiments of the present invention will be described in detail below with reference to the drawings and embodiments, so that the application of the technical means to solve the technical problems and achieve the technical effects can be fully understood and implemented.

在說明本發明所揭露之基於區塊鏈智能合約的函證系統及其方法之前,先對本發明所應用的環境作說明,本發明是應用在執行智能合約的區塊鏈網路中,在區塊鏈網路中的計算機設備皆可視為區塊鏈節點(或簡稱為節點),所述區塊鏈節點透過點對點(Peer to Peer)方式連接,並且用以處理區塊鏈交易(Blockchain Transactions)。在實際實施上,計算機設備可為伺服器、電腦主機、筆記型電腦、平板電腦、智慧型手機等等,用以執行電腦程式指令,例如:區塊鏈程式「Ethereum」。另外,文中所述的「組織註冊合約」、「函證請求註冊合約」及「函證請求合約」等等皆是指智能合約(Smart Contract),所述智能合約是指依據既定的條件及傳輸的資訊來驅動執行指令的電腦程式,在實際實施上,所述智能合約係透過程式語言,例如:Solidity、Serpent、LLL、EtherScript、Sidechain等等來撰寫,其可包含各種不同的函式(Function)、事件(Event)、參數狀態等等,以區塊鏈程式「Ethereum」為例,其智能合約是經編譯後得到二進位編碼及應用二進位介面(Application Binary Interface, ABI),以便將智能合約廣播至區塊鏈網路,等候礦工(Miner)將智能合約放上區塊鏈並得到相應的地址,至此即透過區塊鏈交易完成智能合約的發布。之後,各節點便可根據此地址執行相應的智能合約,並且藉由不同的指令來改變智能合約在區塊鏈上的狀態以及偵測事件是否被觸發。特別要說明的是,執行智能合約的函式將另一個智能合約的地址儲存在智能合約中,如:儲存在陣列,此一方式可稱為「註冊(Registry)」,亦即將智能合約註冊在另一個智能合約中,使兩個智能合約產生關聯。在實際實施上,執行(或稱為呼叫)函式可以同時帶入通用唯一識別碼(Universally Unique Identifier, UUID)及合約地址,並且將合約地址儲存在以UUID指定的陣列位置。Before describing the blockchain intelligent contract-based information system and method thereof disclosed in the present invention, the environment to which the present invention is applied is explained. The present invention is applied to a blockchain network that executes smart contracts. The computer devices in the blockchain network can be regarded as blockchain nodes (or simply nodes), which are connected by peer-to-peer (Peer to Peer) and used to process blockchain transactions. . In practical implementation, the computer device can be a server, a computer host, a notebook computer, a tablet computer, a smart phone, etc., for executing computer program instructions, such as the blockchain program "Ethereum". In addition, the "Organization Registration Contract", "Letter Request Registration Contract" and "Certificate Request Contract" described in the text refer to Smart Contract, which refers to the established conditions and transmission. The information is used to drive the computer program that executes the instructions. In practical implementation, the smart contract is written by a programming language such as Solidity, Serpent, LLL, EtherScript, Sidechain, etc., which can include various functions (Function ), event (Event), parameter status, etc., taking the blockchain program "Ethereum" as an example. The smart contract is compiled to obtain binary encoding and application Binary Interface (ABI) to make smart. The contract was broadcast to the blockchain network, waiting for the miner (Miner) to put the smart contract on the blockchain and get the corresponding address, thus completing the release of the smart contract through the blockchain transaction. After that, each node can execute the corresponding smart contract according to this address, and change the state of the smart contract on the blockchain and detect whether the event is triggered by different instructions. In particular, the function of executing a smart contract stores the address of another smart contract in a smart contract, such as: stored in an array. This method can be called "Registry", and the smart contract is registered in In another smart contract, two smart contracts are associated. In actual implementation, the execution (or call) function can simultaneously bring in a Universally Unique Identifier (UUID) and a contract address, and store the contract address in the array location specified by the UUID.

以下配合圖式對本發明基於區塊鏈智能合約的函證系統及其方法做進一步說明,請先參閱「第1圖」,「第1圖」為本發明基於區塊鏈智能合約的函證系統之系統方塊圖,應用在執行智能合約的區塊鏈網路10,此系統包含:權責端110、函證伺服端120及審計端130。在實際實施上,所述權責端110、函證伺服端120及審計端130皆為區塊鏈網路10中的計算機設備。其中,權責端110用以於初始時,透過區塊鏈交易發布組織註冊合約用以提供儲存函證請求註冊合約地址,所述組織註冊合約包含組織註冊函式及組織註冊成功事件。在實際實施上,權責端110的計算機設備位於政府單位或是獲得授權的民營單位。另外,所述組織註冊合約用以提供函證對象進行註冊,也就是說,當函證對象將其函證請求註冊合約註冊在組織註冊合約中,即代表函證對象提供具於區塊鏈智能合約的電子函證服務。The following is a description of the correspondence system and method of the blockchain smart contract according to the present invention. Please refer to "FIG. 1" first, and "FIG. 1" is a letter-based system based on blockchain smart contract. The system block diagram is applied to the blockchain network 10 that executes the smart contract. The system includes: a rights end 110, a credential server 120, and an audit end 130. In actual implementation, the rights end 110, the certificate server 120, and the audit terminal 130 are all computer devices in the blockchain network 10. The authority terminal 110 is configured to initially issue an organization registration contract through the blockchain transaction to provide a storage certificate request registration contract address, where the organization registration contract includes an organization registration function and an organization registration success event. In actual implementation, the computer equipment of the authority terminal 110 is located in a government unit or an authorized private unit. In addition, the organization registration contract is used to provide a letter of registration for registration, that is, when the certificate object registers its letter of registration request registration in the organization registration contract, that is, the letter object provides the blockchain intelligence. Electronic letter of reference service for contracts.

在函證伺服端120的部分,其包含:初始模組121及回函模組122。其中,初始模組121用以於初始時,透過區塊鏈交易發布函證請求註冊合約以提供儲存函證請求合約地址,並且獲得對應函證請求註冊合約的函證請求註冊合約地址,以及執行組織註冊函式,將獲得的函證請求註冊合約地址儲存至組織註冊合約中且觸發組織註冊成功事件。換句話說,初始模組121會將函證伺服端120發布的函證請求註冊合約註冊在組織註冊合約中,使函證伺服端120作為函證對象時,能夠提供具於區塊鏈智能合約的電子函證服務。The portion of the credential server 120 includes an initial module 121 and a return module 122. The initial module 121 is configured to request a registration contract through a blockchain transaction issuance letter to provide a storage certificate request contract address, and obtain a correspondence request registration contract address corresponding to the letter request registration contract, and execute Organize the registration function, store the obtained letter of request registration contract address in the organization registration contract and trigger the organization registration success event. In other words, the initial module 121 registers the registration request registration contract issued by the token server 120 in the organization registration contract, so that when the token server 120 is used as a correspondence object, it can provide a smart link with the blockchain. Electronic correspondence service.

回函模組122用以在函證伺服端120為函證對象,並且偵測到註冊成功事件被觸發後,根據函證請求合約地址獲得對應的函證請求合約,並且將證據資料加密嵌入函證請求合約以透過區塊鏈交易更新函證請求合約的內容並觸發函證回應事件。在實際實施上,可透過審計端130的審計端公鑰將證據資料加密,甚至還可使用函證伺服端120的私鑰對加密後的證據資料進行簽章。另外,回函模組122可在偵測到函證請求事件被觸發後,得知審計端130欲再次進行函證,於是將證據資料加密嵌入函證請求合約,並且透過區塊鏈交易發布及觸發函證回應事件。特別要說明的是,函證伺服端120可產生輸入視窗,用以提供被函證者輸入證據資料,或是直接自內部系統接收證據資料,例如:自銀行內部系統接收被審計者的存款餘額。The reply module 122 is configured to obtain a corresponding letter request contract according to the letter request contract address after the transaction server 120 is a token object and detects that the registration success event is triggered, and encrypt the evidence data into the letter. The license request contract is to update the letter through the blockchain transaction to request the contents of the contract and trigger the correspondence to respond to the event. In actual implementation, the evidence data may be encrypted through the audit terminal public key of the auditing end 130, and the encrypted evidence data may even be signed using the private key of the credential server 120. In addition, the loopback module 122 can learn that the auditing end 130 wants to perform the credential again after detecting that the credential request event is triggered, so that the evidence data is encrypted and embedded in the credential request contract, and is released through the blockchain transaction. Trigger a response to the event. In particular, the credential server 120 may generate an input window for providing evidence to be entered by the correspondent or to receive evidence directly from the internal system, for example, receiving the deposit balance of the auditee from the internal banking system. .

至於審計端130的部分則包含:偵測模組131、函證模組132及審計模組133。其中,偵測模組131用以在對函證對象進行函證時,偵測此函證對象的函證對象地址是否存在於組織註冊合約中,當存在時,產生對應函證對象的函證請求合約且透過區塊鏈交易發布以獲得對應的函證請求合約地址。在實際實施上,所述函證請求合約可包含詢證函,用以提供嵌入相應的證據資料,而嵌入證據資料的詢證函使用審計端公鑰進行加密,以便由審計端130以審計端私鑰解密後進行審計。另外,假設函證對象地址不存在於組織註冊合約中,即代表函證對象不提供具於區塊鏈智能合約的電子函證服務,所以不會產生函證請求合約,而是提示審計人員以其它方式進行函證,如:書面函證。特別要說明的是,審計端130可產生函證視窗,用以設定要求的函證內容,例如:餘額、投資額、支付情況、信用情況等等,以便產生相應的函證請求合約。The part of the auditing end 130 includes a detecting module 131, a credential module 132 and an auditing module 133. The detecting module 131 is configured to detect whether the address of the authenticity object of the authenticity object exists in the organization registration contract when the correspondence is performed on the authenticity object, and when present, generate a correspondence corresponding to the authenticity object The contract is requested and published via a blockchain transaction to obtain the corresponding letter request contract address. In practical implementation, the letter request contract may include a verification letter for providing embedded evidence, and the verification letter embedded in the evidence data is encrypted by using the audit public key, so that the audit terminal 130 can be used by the auditing end. The private key is decrypted and audited. In addition, if the address of the document does not exist in the organization registration contract, that is, the letter object does not provide the electronic letter service of the blockchain smart contract, so the letter request contract will not be generated, but the auditor is prompted to Other ways to do the letter, such as: written letter. In particular, the auditing end 130 can generate a certificate window for setting the required correspondence content, such as balance, investment amount, payment status, credit status, etc., in order to generate a corresponding letter request contract.

函證模組132用以執行函證請求註冊合約的註冊函式,將函證請求合約地址儲存至函證請求註冊合約中且觸發註冊成功事件。換句話說,審計端130會將發布的函證請求合約註冊在函證伺服端120發布的函證請求註冊合約,並且觸發註冊成功事件,使函證伺服端120藉由註冊成功事件被觸發而得知審計端130欲要求證據資料。在實際實施上,函證模組132還可執行函證請求註冊合約的重新請求函式,用以在審計端130對同一個函證對象再次進行函證時,執行重新請求函式以重新請求證據資料且觸發函證請求事件。The certificate module 132 is configured to execute a registration function of the letter request registration contract, store the letter request contract address in the letter request registration contract and trigger a registration success event. In other words, the auditing end 130 registers the issued letter request contract with the letter request registration contract issued by the letter server 120, and triggers the registration success event, so that the certificate server 120 is triggered by the registration success event. It is known that the auditing side 130 wants to request evidence. In actual implementation, the credential module 132 can also perform a re-request function of the credential request registration contract to perform a re-request function to re-request when the audit-side 130 re-submits the same credential object. Evidence data and trigger a request for an event.

審計模組133用以在偵測到函證回應事件被觸發後,自對應的函證請求合約載入證據資料以進行解密及審計。在實際實施上,對證據資料進行解密是使用審計端130的審計端私鑰來實現,至於審計則是由審計人員根據解密後所顯示的證據資料進行審計作業。The auditing module 133 is configured to load the evidence data from the corresponding letter request contract for decryption and audit after detecting that the correspondence response event is triggered. In actual implementation, the decryption of the evidence data is implemented using the auditor's private key of the auditing end 130. As for the auditing, the auditing personnel perform auditing operations based on the evidence data displayed after decryption.

請參閱「第2A圖」及「第2B圖」,「第2A圖」及「第2B圖」為本發明基於區塊鏈智能合約的函證方法之方法流程圖,應用在執行智能合約的區塊鏈網路10,其步驟包括:提供權責端110、函證伺服端120及審計端130作為區塊鏈網路10的節點(步驟210);權責端110於初始時,透過區塊鏈交易發布組織註冊合約用以提供儲存函證請求註冊合約地址,其中,組織註冊合約包含組織註冊函式及組織註冊成功事件(步驟220);函證伺服端120於初始時,透過區塊鏈交易發布函證請求註冊合約以提供儲存函證請求合約地址,並且獲得對應函證請求註冊合約的函證請求註冊合約地址,以及執行組織註冊函式,將獲得的函證請求註冊合約地址儲存至組織註冊合約中且觸發組織註冊成功事件(步驟230);審計端130在對函證對象進行函證時,審計端130偵測此函證對象的函證對象地址是否存在於組織註冊合約中,當存在時,產生對應此函證對象的函證請求合約且透過區塊鏈交易發布以獲得對應的函證請求合約地址,以及執行函證請求註冊合約的註冊函式,將函證請求合約地址儲存至函證請求註冊合約中且觸發註冊成功事件(步驟240);當函證伺服端120為函證對象且偵測到註冊成功事件被審計端130觸發後,根據函證請求合約地址獲得對應的函證請求合約,並且將證據資料加密嵌入此函證請求合約以透過區塊鏈交易更新此函證請求合約的內容並觸發函證回應事件(步驟250);審計端130偵測到函證回應事件被觸發後,自對應的函證請求合約載入證據資料以進行解密及審計(步驟260)。透過上述步驟,即可透過將權責端110、函證伺服端120及審計端130設置為區塊鏈網路10的節點,用以執行區塊鏈智能合約,當審計端130對函證對象進行函證時,產生相應的函證請求合約並發布至區塊鏈網路10,並且觸發註冊成功事件,當函證伺服端120為函證對象且偵測到註冊成功事件被觸發時,將證據資料加密嵌入相應的函證請求合約,並且觸發函證回應事件,當審計端130偵測到函證回應事件被觸發時,自相應的函證請求合約載入證據資料以進行解密及審計。Please refer to "2A" and "2B", "2A" and "2B" are flowcharts of the method of the method based on the blockchain smart contract, which is applied to the area where the smart contract is executed. The blockchain network 10 includes the steps of: providing the rights end 110, the message server 120, and the auditing end 130 as nodes of the blockchain network 10 (step 210); the rights end 110 is initially through the block The chain transaction issuance organization registration contract is used to provide a storage certificate request registration contract address, wherein the organization registration contract includes an organization registration function and an organization registration success event (step 220); the certificate server 120 initially passes the blockchain The transaction issuance letter requires a registration contract to provide a storage letter request contract address, and obtains a letter of registration request registration address corresponding to the letter request registration contract, and an organization registration function, and the obtained letter request registration contract address is stored to Organizing the registration contract and triggering the organization registration success event (step 230); when the auditing end 130 performs a correspondence on the authenticity object, the auditing end 130 detects the authenticity of the authenticity object of the authenticating object Whether it exists in the organization registration contract, when it exists, generates a letter request contract corresponding to the object of this letter and publishes it through the blockchain transaction to obtain the corresponding letter request contract address, and the registration letter for executing the letter request registration contract And storing the correspondence request contract address in the correspondence request registration contract and triggering the registration success event (step 240); when the token server 120 is the token object and detecting that the registration success event is triggered by the auditing terminal 130, Obtaining a corresponding letter request contract according to the letter request contract address, and embedding the evidence data in the letter request contract to update the content of the letter request contract and trigger the letter response event through the blockchain transaction (step 250); After detecting that the correspondence response event is triggered, the auditing end 130 loads the evidence data from the corresponding letter request contract for decryption and auditing (step 260). Through the above steps, the authority end 110, the credential server 120 and the audit end 130 can be set as nodes of the blockchain network 10 to execute the blockchain smart contract, and when the audit end 130 pairs the credential object When the certificate is issued, a corresponding letter request contract is generated and issued to the blockchain network 10, and a registration success event is triggered. When the certificate server 120 is a token object and it is detected that the registration success event is triggered, The evidence data is encrypted and embedded in the corresponding letter request contract, and triggers the letter response event. When the auditing end 130 detects that the letter response event is triggered, the evidence data is loaded from the corresponding letter request contract for decryption and audit.

特別要說明的是,如「第2B圖」所示意,在步驟240之後,審計端130對同一函證對象再次進行函證時,執行函證請求註冊合約的重新請求函式,用以重新請求證據資料且觸發函證請求事件(步驟241)。接下來,在步驟250之後,函證伺服端120偵測到函證請求事件被觸發後,將證據資料加密嵌入函證請求合約且透過區塊鏈交易發布並觸發函證回應事件(步驟251)。如此一來,審計端130對於先前的函證,未於合理期間內收到回應時,即可藉由執行重新請求函式,用以再次進行函證,進而實現二次函證、三次函證等等,並以此類推。In particular, as indicated in "Block 2B", after step 240, when the auditing end 130 re-submits the same authenticity object, it performs a re-request function of the registration request registration contract for re-requesting. The evidence data and triggers a token request event (step 241). Next, after step 250, the token server 120 detects that the token request event is triggered, encrypts the evidence data into the token request contract and issues and triggers the token response event through the blockchain transaction (step 251). . In this way, the auditing party 130 can perform the re-request function by executing the re-request function for the previous correspondence, and if the response is not received within a reasonable period of time, the second letter and the third letter can be realized. Wait, and so on.

以下配合「第3圖」及「第4圖」以實施例的方式進行如下說明,請先參閱「第3圖」,「第3圖」為應用本發明以函證視窗提供設定要求的函證內容之示意圖。在實際實施上,審計端130可產生函證視窗300,此函證視窗300中具有多個函證內容的選項310。假設要求的函證內容為「存款餘額」及「借款餘額」,審計人員可在這些選項310中,以游標或觸控方式點選「存款餘額」及「借款餘額」,使其成為被選擇的狀態後,再點選確認元件321以生成對應的函證請求合約,如此一來,函證對象從這個函證請求合約中,即可得知需要提供哪些證據資料。除此之外,審計人員亦可點選重選元件322,使所有選項皆成為未選擇的狀態,以便審計人員重新選擇。The following is a description of the following examples in conjunction with "3" and "4". Please refer to "3" and "3" for the application of the present invention to provide a setting request in the letter window. Schematic of the content. In actual implementation, the auditing end 130 can generate a credential window 300 having an option 310 of a plurality of credential content in the credential window 300. Assume that the required letter of credit is "deposit balance" and "borrowing balance". In these options 310, the auditor can select "deposit balance" and "loan balance" by cursor or touch to make it selected. After the status, click on the confirmation component 321 to generate a corresponding letter request contract, so that the letter object can know from the letter request contract that what evidence information needs to be provided. In addition, the auditor can also click to reselect component 322 so that all options are unselected for the auditor to reselect.

如「第4圖」所示意,「第4圖」為應用本發明以輸入視窗提供證據資料之示意圖。前面提到,當函證伺服端120為函證對象且偵測到註冊成功事件被審計端130觸發後,根據函證請求合約地址獲得對應的函證請求合約。此時,函證伺服端120可如「第4圖」所示意產生輸入視窗400,提供被函證人員在輸入區塊410中輸入證據資料,並且於點選傳送元件421後,再將證據資料以審計端公鑰加密後,嵌入對應的函證請求合約,以便透過區塊鏈交易更新函證請求合約的內容,並且觸發函證請求合約的函證回應事件。除此之外,在偵測到註冊成功事件之後,也可以直接連接銀行內部系統,查詢被審計者的存款金額,甚至比對是否與被審計者所提供的存款金額相符,然後,將得到的結果作為證據資料,並且同樣以區塊鏈交易的方式更新函證請求合約的內容,進而達到回覆函證的目的。特別要說明的是,當證據資料超過區塊鏈允許儲存的大小時,可以搭配分散式檔案系統(Distributed File System),如:「IPFS」、「Ethereum Swarm」等等,使智能合約中只儲存證據資料對應的UUID,而此UUID對應的證據資料則儲存在分散式檔案系統中。如此一來,審計端130及函證伺服端120都可以透過分散式檔案系統存取加密後的大型資料。另外,為了避免函證對象雖然回應函證,但卻未證實資料的正確與否,故審計端130可不在函證請求合約上陳述正確金額或其它資訊,而是直接要求函證對象輸入正確金額或提供其它資訊,以降低資料不正確的風險。As shown in Figure 4, Figure 4 is a schematic diagram of the application of the present invention to provide evidence in an input window. As mentioned above, when the token server 120 is a token object and it is detected that the registration success event is triggered by the auditing terminal 130, the corresponding letter request contract is obtained according to the letter request contract address. At this time, the certificate server 120 can generate the input window 400 as shown in "Fig. 4", and provide the evidence to be input by the letter in the input block 410, and then select the transmission element 421, and then the evidence data. After encrypting with the auditor public key, the corresponding letter request contract is embedded to update the contents of the contract through the blockchain transaction and trigger the letter response event of the letter request contract. In addition, after detecting the registration success event, you can also directly connect to the bank's internal system to check the deposit amount of the auditee, even if it matches the deposit amount provided by the auditee, and then you will get it. The result is used as evidence, and the contents of the letter request contract are also updated in the form of blockchain transactions, thereby achieving the purpose of replying the letter. In particular, when the evidence data exceeds the size allowed by the blockchain, it can be combined with the Distributed File System, such as "IPFS", "Ethereum Swarm", etc., so that only smart contracts are stored. The UUID corresponding to the evidence data, and the evidence data corresponding to the UUID is stored in the distributed file system. In this way, both the auditing end 130 and the credential server 120 can access the encrypted large data through the distributed file system. In addition, in order to prevent the letter object from responding to the letter but not confirming the correctness of the information, the auditing end 130 may not present the correct amount or other information on the letter request contract, but directly request the letter object to input the correct amount. Or provide other information to reduce the risk of incorrect data.

綜上所述,可知本發明與先前技術之間的差異在於透過將權責端110、函證伺服端120及審計端130設置為區塊鏈網路10的節點,用以執行區塊鏈智能合約,當審計端130對函證對象進行函證時,產生相應的函證請求合約並發布至區塊鏈網路10,並且觸發註冊成功事件,當函證伺服端120為函證對象且偵測到註冊成功事件被觸發時,將證據資料加密嵌入相應的函證請求合約,並且觸發函證回應事件,當審計端130偵測到函證回應事件被觸發時,自相應的函證請求合約載入證據資料以進行解密及審計,藉由此一技術手段可以解決先前技術所存在的問題,進而達成提高電子函證的可靠性及便利性之技術功效。In summary, it can be seen that the difference between the present invention and the prior art is to perform the blockchain intelligence by setting the authority end 110, the credential server 120, and the auditing end 130 as nodes of the blockchain network 10. The contract, when the auditing end 130 makes a letter to the authenticity object, generates a corresponding letter request contract and issues it to the blockchain network 10, and triggers the registration success event, when the token server 120 is a token object and Detects When it is detected that the registration success event is triggered, the evidence data is encrypted and embedded in the corresponding correspondence request contract, and the correspondence response event is triggered. When the auditing end 130 detects that the correspondence response event is triggered, the contract is requested from the corresponding letter. The evidence data is loaded for decryption and auditing, and the technical problems of the prior art can be solved by using a technical means, thereby achieving the technical effect of improving the reliability and convenience of the electronic certificate.

雖然本發明以前述之實施例揭露如上,然其並非用以限定本發明,任何熟習相像技藝者,在不脫離本發明之精神和範圍內,當可作些許之更動與潤飾,因此本發明之專利保護範圍須視本說明書所附之申請專利範圍所界定者為準。While the present invention has been described above in the foregoing embodiments, it is not intended to limit the invention, and the invention may be modified and modified without departing from the spirit and scope of the invention. The scope of patent protection shall be subject to the definition of the scope of the patent application attached to this specification.

10‧‧‧區塊鏈網路
110‧‧‧權責端
120‧‧‧函證伺服端
121‧‧‧初始模組
122‧‧‧回函模組
130‧‧‧審計端
131‧‧‧偵測模組
132‧‧‧函證模組
133‧‧‧審計模組
300‧‧‧函證視窗
310‧‧‧選項
321‧‧‧確認元件
322‧‧‧重選元件
400‧‧‧輸入視窗
410‧‧‧輸入區塊
421‧‧‧傳送元件
步驟210‧‧‧提供一權責端、至少一函證伺服端及一審計端作為區塊鏈網路的節點
步驟220‧‧‧該權責端於初始時,透過區塊鏈交易發布一組織註冊合約用以提供儲存至少一函證請求註冊合約地址,其中,該組織註冊合約包含一組織註冊函式及一組織註冊成功事件
步驟230‧‧‧該函證伺服端於初始時,透過區塊鏈交易發布一函證請求註冊合約以提供儲存至少一函證請求合約地址,並且獲得對應該函證請求註冊合約的所述函證請求註冊合約地址,以及執行該組織註冊函式,將獲得的所述函證請求註冊合約地址儲存至該組織註冊合約中且觸發該組織註冊成功事件
步驟240‧‧‧該審計端在對一函證對象進行函證時,該審計端偵測該函證對象的一函證對象地址是否存在於該組織註冊合約中,當存在時,產生對應該函證對象的一函證請求合約且透過區塊鏈交易發布以獲得對應的所述函證請求合約地址,以及執行該函證請求註冊合約的一註冊函式,將該函證請求合約地址儲存至該函證請求註冊合約中且觸發一註冊成功事件
步驟241‧‧‧該審計端對同一該函證對象再次進行函證時,執行該函證請求註冊合約的一重新請求函式,用以重新請求該證據資料且觸發一函證請求事件
步驟250‧‧‧當所述函證伺服端為該函證對象且偵測到該註冊成功事件被該審計端觸發後,根據該函證請求合約地址獲得對應的該函證請求合約,並且將一證據資料加密嵌入該函證請求合約以透過區塊鏈交易更新該函證請求合約的內容並觸發一函證回應事件
步驟251‧‧‧函證伺服端偵測到該函證請求事件被觸發後,將該證據資料加密嵌入該函證請求合約且透過區塊鏈交易發布並觸發該函證回應事件
步驟260‧‧‧該審計端偵測到該函證回應事件被觸發後,自對應的該函證請求合約載入該證據資料以進行解密及審計
10‧‧‧ Blockchain network
110‧‧‧rights
120‧‧‧Signal server
121‧‧‧ initial module
122‧‧‧Return module
130‧‧‧ Auditor
131‧‧‧Detection module
132‧‧‧Certificate Module
133‧‧‧ audit module
300‧‧‧Certificate window
310‧‧‧ options
321‧‧‧Confirmation component
322‧‧‧Reselection components
400‧‧‧Input window
410‧‧‧Input block
421‧‧‧Transfer component step 210‧‧‧ provides a right-of-charge terminal, at least one certificate server and an audit terminal as nodes of the blockchain network. Step 220‧‧‧ The authority is initially transmitted through the zone Blockchain transaction issuance of an organization registration contract for providing at least one correspondence request for a registration contract address, wherein the organization registration contract includes an organization registration function and an organization registration success event step 230‧ ‧ the certificate server Initially, a block letter is issued through the blockchain transaction to request a registration contract to provide at least one correspondence request contract address, and to obtain the registration request address of the letter corresponding to the letter request registration contract, and to perform the registration of the organization a function that stores the obtained registration request contract address in the registration contract of the organization and triggers the registration success of the organization. Step 240‧ ‧ When the auditing party issues a letter to a letter of reference, the auditing end Detecting whether a correspondence object address of the authenticity object exists in the organization registration contract, and when present, generates a correspondence request corresponding to the correspondence object And issuing, by the blockchain transaction, a corresponding contract request address of the correspondence request, and executing a registration function of the letter requesting the registration contract, storing the letter request contract address in the letter request registration contract and Triggering a registration success event step 241‧‧‧ When the auditing party re-submits the same identity object, it performs a re-request function requesting the registration contract to re-request the evidence and trigger a letter The request request event step 250‧‧‧ When the certificate server is the object of the certificate and it is detected that the registration success event is triggered by the auditing end, the corresponding contract request request is obtained according to the letter requesting the contract address And encrypting an evidence data into the correspondence request contract to update the contents of the letter request contract through a blockchain transaction and trigger a letter response event. Step 251‧‧ The certificate server detects the letter request After the event is triggered, the evidence data is encrypted and embedded in the letter request contract and issued through the blockchain transaction and triggers the letter to respond to the event. Step 260‧‧‧ Audit After the confirmations in response to detected event is triggered, the corresponding request confirmations from contract to load the data to be decrypted and evidence audit

第1圖為本發明基於區塊鏈智能合約的函證系統之系統方塊圖。 第2A圖及第2B圖為本發明基於區塊鏈智能合約的函證方法之方法流程圖。 第3圖為應用本發明以函證視窗提供設定要求的函證內容之示意圖。 第4圖為應用本發明以輸入視窗提供證據資料之示意圖。1 is a system block diagram of a token system based on a blockchain smart contract of the present invention. 2A and 2B are flowcharts of a method for a correspondence method based on a blockchain smart contract according to the present invention. Figure 3 is a schematic diagram of the contents of a document applying the present invention to provide setting requirements in a letter of view window. Figure 4 is a schematic diagram of the application of the present invention to provide evidence in an input window.

Claims (10)

一種基於區塊鏈智能合約的函證系統,應用在執行智能合約的一區塊鏈網路,該系統包含: 一權責端,用以於初始時,透過區塊鏈交易發布一組織註冊合約用以提供儲存至少一函證請求註冊合約地址,其中,該組織註冊合約包含一組織註冊函式及一組織註冊成功事件; 至少一函證伺服端,每一函證伺服端包含: 一初始模組,用以於初始時,透過區塊鏈交易發布一函證請求註冊合約以提供儲存至少一函證請求合約地址,並且獲得對應該函證請求註冊合約的所述函證請求註冊合約地址,以及執行該組織註冊函式,將獲得的所述函證請求註冊合約地址儲存至該組織註冊合約中且觸發該組織註冊成功事件;以及 一回函模組,用以在所述函證伺服端為一函證對象,並且偵測到一註冊成功事件被觸發後,根據一函證請求合約地址獲得對應的一函證請求合約,並且將一證據資料加密嵌入該函證請求合約以透過區塊鏈交易更新該函證請求合約的內容並觸發一函證回應事件;以及 一審計端,該審計端包含: 一偵測模組,用以在對該函證對象進行函證時,偵測該函證對象的一函證對象地址是否存在於該組織註冊合約中,當存在時,產生對應該函證對象的該函證請求合約且透過區塊鏈交易發布以獲得對應的所述函證請求合約地址; 一函證模組,用以執行該函證請求註冊合約的一註冊函式,將該函證請求合約地址儲存至該函證請求註冊合約中且觸發該註冊成功事件;以及 一審計模組,用以在偵測到該函證回應事件被觸發後,自對應的該函證請求合約載入該證據資料以進行解密及審計。A block-based intelligent contract-based correspondence system for a blockchain network that implements smart contracts. The system includes: an authority to initially issue an organization registration contract through a blockchain transaction. Providing to store at least one letter requesting a registration contract address, wherein the organization registration contract includes an organization registration function and an organization registration success event; at least one certificate server, each certificate server includes: an initial mode a group for initializing, by a blockchain transaction, issuing a letter requesting a registration contract to provide storage of at least one correspondence request contract address, and obtaining a registration request address for the letter requesting the registration request for the registration contract, And executing the organization registration function, storing the obtained registration request registration contract address into the organization registration contract and triggering the organization registration success event; and a reply function module for using the letter verification server After being a document object and detecting that a registration success event is triggered, obtaining a corresponding letter request contract according to a letter requesting the contract address, And embedding an evidence data in the correspondence request contract to update the content of the letter request contract through a blockchain transaction and triggering a letter response event; and an auditing end, the auditing end includes: a detecting module, Used to detect whether the address of a correspondence object of the authenticity object exists in the organization registration contract, and when present, generate the correspondence request contract corresponding to the correspondence object And issuing, by the blockchain transaction, a corresponding contract request address for obtaining the correspondence; a letter module for executing a registration function of the letter requesting the registration contract, storing the letter request contract address to the The letter requesting the registration contract and triggering the registration success event; and an auditing module for loading the evidence data for decryption from the corresponding correspondence request contract after detecting that the correspondence response event is triggered And audit. 根據申請專利範圍第1項之基於區塊鏈智能合約的函證系統,其中該函證請求合約包含一詢證函,該詢證函以一審計端公鑰進行加密,以及由該審計端以一審計端私鑰解密。According to the blockchain intelligent contract-based credit system of claim 1, wherein the letter request contract includes a confirmation letter, the verification letter is encrypted by an audit terminal public key, and the audit terminal An auditor private key is decrypted. 根據申請專利範圍第1項之基於區塊鏈智能合約的函證系統,其中該函證請求註冊合約包含一重新請求函式,用以在該審計端對同一該函證對象再次進行函證時,執行該重新請求函式以重新請求該證據資料且觸發一函證請求事件。According to the blockchain intelligent contract-based credit system of claim 1, wherein the letter request registration contract includes a re-request function for re-subscribing to the same-party object at the auditing end Execute the re-request function to re-request the evidence and trigger a token request event. 根據申請專利範圍第3項之基於區塊鏈智能合約的函證系統,其中該回函模組偵測到該函證請求事件被觸發後,將該證據資料加密嵌入該函證請求合約且透過區塊鏈交易發布並觸發該函證回應事件。According to the blockchain intelligent contract-based credit system of claim 3, wherein the reply module detects that the request request event is triggered, the evidence data is encrypted and embedded in the letter request contract and The blockchain transaction issues and triggers the correspondence response event. 根據申請專利範圍第1項之基於區塊鏈智能合約的函證系統,其中該函證伺服端產生一輸入視窗,用以提供輸入該證據資料,或是直接自一內部系統接收該證據資料,該審計端產生一函證視窗,用以設定要求的至少一函證內容。According to the blockchain intelligent contract-based credit system of claim 1, wherein the certificate server generates an input window for inputting the evidence or directly receiving the evidence from an internal system. The auditing end generates a document window for setting at least one of the required contents of the certificate. 一種基於區塊鏈智能合約的函證方法,應用在執行智能合約的一區塊鏈網路,其步驟包括: 提供一權責端、至少一函證伺服端及一審計端作為該區塊鏈網路的節點; 該權責端於初始時,透過區塊鏈交易發布一組織註冊合約用以提供儲存至少一函證請求註冊合約地址,其中,該組織註冊合約包含一組織註冊函式及一組織註冊成功事件; 該函證伺服端於初始時,透過區塊鏈交易發布一函證請求註冊合約以提供儲存至少一函證請求合約地址,並且獲得對應該函證請求註冊合約的所述函證請求註冊合約地址,以及執行該組織註冊函式,將獲得的所述函證請求註冊合約地址儲存至該組織註冊合約中且觸發該組織註冊成功事件; 該審計端在對一函證對象進行函證時,該審計端偵測該函證對象的一函證對象地址是否存在於該組織註冊合約中,當存在時,產生對應該函證對象的一函證請求合約且透過區塊鏈交易發布以獲得對應的所述函證請求合約地址,以及執行該函證請求註冊合約的一註冊函式,將該函證請求合約地址儲存至該函證請求註冊合約中且觸發一註冊成功事件; 當所述函證伺服端為該函證對象且偵測到該註冊成功事件被該審計端觸發後,根據該函證請求合約地址獲得對應的該函證請求合約,並且將一證據資料加密嵌入該函證請求合約以透過區塊鏈交易更新該函證請求合約的內容並觸發一函證回應事件;以及 該審計端偵測到該函證回應事件被觸發後,自對應的該函證請求合約載入該證據資料以進行解密及審計。A method for authenticating a blockchain intelligent contract, which is applied to a blockchain network for executing a smart contract, the steps comprising: providing a right end, at least one credential server and an auditing end as the blockchain a node of the network; at the initial stage, the authority issues an organization registration contract through the blockchain transaction to provide at least one letter requesting the registration contract address, wherein the organization registration contract includes an organization registration function and a Organizing a registration success event; the certificate server initially issues a letter through the blockchain transaction requesting a registration contract to provide at least one correspondence request contract address, and obtaining the corresponding letter to the letter requesting the registration contract Requesting a registration contract address, and executing the organization registration function, storing the obtained registration request registration contract address into the organization registration contract and triggering the organization registration success event; the auditing end is performing a correspondence object At the time of the letter of attestation, the auditing end detects whether the address of a document object of the certificate object exists in the registration contract of the organization, and when present, generates a pair A letter of inquiry should be requested by the document and issued through the blockchain transaction to obtain the corresponding letter of request for the contract, and a registration function for executing the letter requesting the registration contract, requesting the contract address of the letter Storing into the letter request registration contract and triggering a registration success event; when the certificate server is the object of the certificate and detecting that the registration success event is triggered by the auditing end, requesting the contract address according to the letter Obtaining the corresponding correspondence request contract, and embedding an evidence data in the correspondence request contract to update the content of the letter request contract through the blockchain transaction and triggering a correspondence response event; and the auditing end detects After the correspondence response event is triggered, the evidence is loaded from the corresponding letter request contract for decryption and audit. 根據申請專利範圍第6項之基於區塊鏈智能合約的函證方法,其中該函證請求合約包含一詢證函,該詢證函以一審計端公鑰進行加密,以及由該審計端以一審計端私鑰解密。According to the method of claim for a blockchain smart contract according to item 6 of the patent application scope, wherein the letter request contract includes a confirmation letter, the verification letter is encrypted by an audit terminal public key, and the audit terminal An auditor private key is decrypted. 根據申請專利範圍第6項之基於區塊鏈智能合約的函證方法,其中該方法更包含該審計端對同一該函證對象再次進行函證時,執行該函證請求註冊合約的一重新請求函式,用以重新請求該證據資料且觸發一函證請求事件的步驟。According to the method of the blockchain intelligent contract based on the sixth paragraph of the patent application scope, wherein the method further comprises the re-request of the certificate requesting the registration contract when the auditing party re-submits the same the document object. A function to re-request the evidence and trigger a request for a request. 根據申請專利範圍第8項之基於區塊鏈智能合約的函證方法,其中該方法更包含該函證伺服端偵測到該函證請求事件被觸發後,將該證據資料加密嵌入該函證請求合約且透過區塊鏈交易發布並觸發該函證回應事件的步驟。According to the method of the blockchain intelligent contract based on the eighth aspect of the patent application, wherein the method further comprises that the certificate server detects that the request request event is triggered, and encrypts the evidence data into the certificate. A step of requesting a contract and issuing and triggering the response to the event via a blockchain transaction. 根據申請專利範圍第6項之基於區塊鏈智能合約的函證方法,其中該函證伺服端產生一輸入視窗,用以提供輸入該證據資料,或是直接自一內部系統接收該證據資料,該審計端產生一函證視窗,用以設定要求的至少一函證內容。According to the method for authenticating a blockchain smart contract according to claim 6 of the patent application scope, the certificate server generates an input window for providing input of the evidence or directly receiving the evidence from an internal system. The auditing end generates a document window for setting at least one of the required contents of the certificate.
TW106130518A 2017-09-06 2017-09-06 Confirmation system based on blockchain smart contract and method thereof TWI623904B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW106130518A TWI623904B (en) 2017-09-06 2017-09-06 Confirmation system based on blockchain smart contract and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW106130518A TWI623904B (en) 2017-09-06 2017-09-06 Confirmation system based on blockchain smart contract and method thereof

Publications (2)

Publication Number Publication Date
TWI623904B true TWI623904B (en) 2018-05-11
TW201913529A TW201913529A (en) 2019-04-01

Family

ID=62951454

Family Applications (1)

Application Number Title Priority Date Filing Date
TW106130518A TWI623904B (en) 2017-09-06 2017-09-06 Confirmation system based on blockchain smart contract and method thereof

Country Status (1)

Country Link
TW (1) TWI623904B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111652458A (en) * 2020-04-09 2020-09-11 南京审计大学 Engineering auditing method based on block chain technology
CN112116334A (en) * 2019-06-21 2020-12-22 天宿智能科技股份有限公司 Cross-block-chain third-party arbitration performance guarantee system and method thereof
TWI736959B (en) * 2019-01-14 2021-08-21 開曼群島商創新先進技術有限公司 Block chain-based user characteristic value acquisition and application method and device
CN113538004A (en) * 2020-04-16 2021-10-22 天宿智能科技股份有限公司 Asset management resume evidence accumulation system and method based on block chain
TWI785614B (en) * 2021-05-18 2022-12-01 陳彥良 Automatic chain-up system and its application method in digital certificate storage

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150379510A1 (en) * 2012-07-10 2015-12-31 Stanley Benjamin Smith Method and system to use a block chain infrastructure and Smart Contracts to monetize data transactions involving changes to data included into a data supply chain.
TW201721539A (en) * 2015-08-21 2017-06-16 萬事達卡亞洲/太平洋私人有限公司 Method for modifying transaction credentials

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150379510A1 (en) * 2012-07-10 2015-12-31 Stanley Benjamin Smith Method and system to use a block chain infrastructure and Smart Contracts to monetize data transactions involving changes to data included into a data supply chain.
TW201721539A (en) * 2015-08-21 2017-06-16 萬事達卡亞洲/太平洋私人有限公司 Method for modifying transaction credentials

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI736959B (en) * 2019-01-14 2021-08-21 開曼群島商創新先進技術有限公司 Block chain-based user characteristic value acquisition and application method and device
CN112116334A (en) * 2019-06-21 2020-12-22 天宿智能科技股份有限公司 Cross-block-chain third-party arbitration performance guarantee system and method thereof
CN111652458A (en) * 2020-04-09 2020-09-11 南京审计大学 Engineering auditing method based on block chain technology
CN111652458B (en) * 2020-04-09 2023-09-26 南京审计大学 Engineering auditing method based on blockchain technology
CN113538004A (en) * 2020-04-16 2021-10-22 天宿智能科技股份有限公司 Asset management resume evidence accumulation system and method based on block chain
CN113538004B (en) * 2020-04-16 2024-02-13 天宿智能科技股份有限公司 Asset management record and storage and collection system and method based on blockchain
TWI785614B (en) * 2021-05-18 2022-12-01 陳彥良 Automatic chain-up system and its application method in digital certificate storage

Also Published As

Publication number Publication date
TW201913529A (en) 2019-04-01

Similar Documents

Publication Publication Date Title
US10846416B2 (en) Method for managing document on basis of blockchain by using UTXO-based protocol, and document management server using same
AU2020200682B2 (en) Systems and methods of secure provenance for distributed transaction databases
TWI623904B (en) Confirmation system based on blockchain smart contract and method thereof
US11361316B2 (en) Systems and methods for providing a personal distributed ledger
KR101780636B1 (en) Method for issuing certificate information and blockchain-based server using the same
KR101799343B1 (en) Method for using, revoking certificate information and blockchain-based server using the same
US20200145373A1 (en) System for blockchain based domain name and ip number register
TWI636411B (en) System to provide non-repudiation for non-blockchain node and method thereof
CN113537984A (en) Content verification method and device based on block chain and electronic equipment
TWI629658B (en) Know your customer (kyc) data sharing system based on smart contract on blockchain and method thereof
CN111767578B (en) Data inspection method, device and equipment
KR102116235B1 (en) Method and server for managing user identity using blockchain network, and method and terminal for verifying user using user identity based on blockchain network
CN101093562A (en) Electronic authentication method and electronic authentication system
TW201804395A (en) Virtual currency crediting system based on physical assets and method thereof
US20210192059A1 (en) Data Registration Method, Data Decryption Method, Data Structure, Computer, and Program
TWI622949B (en) Know your customer (kyc) data marking dispute relief system with multiple secret key and method thereof
KR20190107601A (en) Method and system for the generation of user-initiated federated identities
TWI644556B (en) Know your customer (kyc) data sharing system with privacy and method thereof
CN113015991A (en) Secure digital wallet processing system
CN110674531A (en) Residence information management method, device, server and medium based on block chain
CN112350863B (en) Decentralized access control method and system based on transaction
KR101876672B1 (en) Digital signature method using block chain and system performing the same
TWI646480B (en) System for issuing and verifying certificates based on blockchain and method thereof
TWI818679B (en) Non-fungible token login verification system and method
JP7262328B2 (en) Asset backup process and program