TW202425573A - Blockchain system with both real-name and anonymity and method thereof - Google Patents

Blockchain system with both real-name and anonymity and method thereof Download PDF

Info

Publication number
TW202425573A
TW202425573A TW111147459A TW111147459A TW202425573A TW 202425573 A TW202425573 A TW 202425573A TW 111147459 A TW111147459 A TW 111147459A TW 111147459 A TW111147459 A TW 111147459A TW 202425573 A TW202425573 A TW 202425573A
Authority
TW
Taiwan
Prior art keywords
blockchain
identity
real
contract
name
Prior art date
Application number
TW111147459A
Other languages
Chinese (zh)
Other versions
TWI861621B (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 TW111147459A priority Critical patent/TWI861621B/en
Priority claimed from TW111147459A external-priority patent/TWI861621B/en
Publication of TW202425573A publication Critical patent/TW202425573A/en
Application granted granted Critical
Publication of TWI861621B publication Critical patent/TWI861621B/en

Links

Images

Landscapes

  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

A blockchain system with both real-name and anonymity and method thereof is disclosed. By providing one of a real-name identity and an anonymous identity for sending blockchain transaction and calling a blockchain contract, when the real-name identity is selected, performing a registration process to record a real-name information and an identity type and requiring an electronic certificate to register to the blockchain, when the anonymous identity is selected, generating a pair of asymmetric keys, and the public key represents the anonymous identity and to verify the signature, and using the private key for signature. The mechanism is to help to improve the usability of blockchain for both anonymity and real name.

Description

兼顧實名與匿名的區塊鏈系統及其方法Blockchain system and method that takes into account both real name and anonymity

本發明涉及一種區塊鏈系統及其方法,特別是兼顧實名與匿名的區塊鏈系統及其方法。The present invention relates to a blockchain system and a method thereof, and in particular to a blockchain system and a method thereof that take into account both real name and anonymity.

近年來,隨著區塊鏈的蓬勃發展,各種區塊鏈應用便如雨後春筍般湧現。然而,如何使區塊鏈同時兼顧匿名與實名一直是各家廠商亟欲解決的問題。In recent years, with the rapid development of blockchain, various blockchain applications have emerged like mushrooms after rain. However, how to make blockchain take into account both anonymity and real name has always been a problem that all manufacturers are eager to solve.

一般而言,傳統的區塊鏈在先天上便具有匿名性,其他特點還有去中心化、不可竄改性、可追蹤性及加密安全性等等。然而,在許多應用場景中,實名制仍然是必要不可或缺的存在,所以只有匿名性將具有區塊鏈的可用性不佳的問題。Generally speaking, traditional blockchains are inherently anonymous, and other features include decentralization, immutability, traceability, and encryption security, etc. However, in many application scenarios, real-name registration is still necessary and indispensable, so only anonymity will have the problem of poor usability of blockchains.

有鑑於此,便有廠商提出結合認識你的客戶(Know Your Customer, KYC)的實名認證技術,其透過強制性對客戶身分進行驗證來達到實名制。然而,此方式需要要求使用者填寫繁瑣的個人資料,而且無法同時兼顧實名與匿名,故仍然無法有效解決區塊鏈的可用性不佳的問題。In view of this, some manufacturers have proposed real-name authentication technology combined with Know Your Customer (KYC), which achieves real-name system by mandatory verification of customer identity. However, this method requires users to fill in cumbersome personal information, and it cannot take into account both real-name and anonymity at the same time, so it still cannot effectively solve the problem of poor usability of blockchain.

綜上所述,可知先前技術中長期以來一直存在區塊鏈的可用性不佳之問題,因此實有必要提出改進的技術手段,來解決此一問題。In summary, it can be seen that the blockchain has long been plagued by poor usability in previous technologies, so it is necessary to propose improved technical means to solve this problem.

本發明揭露一種兼顧實名與匿名的區塊鏈系統及其方法。The present invention discloses a blockchain system and method that takes both real name and anonymity into consideration.

首先,本發明揭露一種兼顧實名與匿名的區塊鏈系統,此系統包含:提示模組、憑證模組、實名模組、匿名模組及執行模組。其中,提示模組用以提示使用者在實名身分及匿名身分中選擇其一,當偵測到選擇實名身分時,執行註冊程序以記錄實名訊息及身分種類,當偵測到選擇匿名身分時,產生一對非對稱式金鑰,並且以這對非對稱式金鑰的公鑰代表匿名身分;憑證模組連接提示模組,用以在註冊程序執行後,所述區塊鏈系統要求提供電子憑證,並且向區塊鏈登記此電子憑證,其中,所述電子憑證包含實名訊息且由第三方憑證中心核發;實名模組連接憑證模組,用以當實名身分的使用者發送區塊鏈交易時,將此實名訊息嵌入至區塊鏈交易的發送者欄位;匿名模組連接提示模組,用以當匿名身分的使用者發送區塊鏈交易時,先以這對非對稱式金鑰的私鑰對區塊鏈交易進行簽章,再於區塊鏈交易上註明代表匿名身分的公鑰,使區塊鏈系統以公鑰對區塊鏈交易進行驗章以確認匿名身分及正確性;以及執行模組連接實名模組及匿名模組,用以當具有實名身分的主機呼叫區塊鏈合約時,使用所述電子憑證對區塊鏈合約的合約交易進行簽章,以驗證主機的身分以及合約交易的正確性,並且在驗證通過後,呼叫區塊鏈合約程式,以及當具有匿名身分的主機呼叫區塊鏈合約時,使用私鑰對區塊鏈合約的合約交易進行簽章,以及區塊鏈合約程式使用公鑰對合約交易進行驗章,以驗證主機的匿名身分及合約交易的正確性,並且在驗證通過後,呼叫區塊鏈合約程式。First, the present invention discloses a blockchain system that takes into account both real name and anonymity. The system includes: a prompt module, a certificate module, a real name module, an anonymous module and an execution module. The prompt module is used to prompt the user to select one of the real name identity and the anonymous identity. When the real name identity is detected, the registration procedure is executed to record the real name information and the identity type. When the anonymous identity is detected, a pair of asymmetric keys is generated, and the public key of the pair of asymmetric keys represents the anonymous identity. The certificate module is connected to the prompt module, and after the registration procedure is executed, the blockchain system requires Provide an electronic certificate and register the electronic certificate with the blockchain, wherein the electronic certificate contains real-name information and is issued by a third-party certificate center; the real-name module is connected to the certificate module, so that when the real-name user sends a blockchain transaction, the real-name information is embedded in the sender field of the blockchain transaction; the anonymous module is connected to the prompt module, so that when the anonymous user sends a blockchain transaction, the real-name information is first inserted into the sender field of the blockchain transaction. The private key of the so-called key is used to sign the blockchain transaction, and then the public key representing the anonymous identity is annotated on the blockchain transaction, so that the blockchain system can verify the blockchain transaction with the public key to confirm the anonymous identity and correctness; and the execution module is connected to the real-name module and the anonymous module, so that when the host with the real-name identity calls the blockchain contract, the electronic certificate is used to sign the contract transaction of the blockchain contract to verify the host. The host's identity and the correctness of the contract transaction are verified, and after the verification is passed, the blockchain contract program is called. When the host with an anonymous identity calls the blockchain contract, the private key is used to sign the contract transaction of the blockchain contract, and the blockchain contract program uses the public key to verify the contract transaction to verify the host's anonymous identity and the correctness of the contract transaction, and after the verification is passed, the blockchain contract program is called.

另外,本發明還揭露一種兼顧實名與匿名的區塊鏈方法,應用在區塊鏈系統中,其步驟包括:區塊鏈系統提示使用者在實名身分及匿名身分中選擇其一,當偵測到選擇實名身分時,執行註冊程序以記錄實名訊息及身分種類,當偵測到選擇匿名身分時,產生一對非對稱式金鑰,並且以這對非對稱式金鑰的公鑰代表匿名身分;在註冊程序執行後,區塊鏈系統要求提供電子憑證,並且向區塊鏈登記此電子憑證,其中,所述電子憑證包含實名訊息且由第三方憑證中心核發;當實名身分的使用者發送區塊鏈交易時,區塊鏈系統將實名訊息嵌入至區塊鏈交易的發送者欄位,當匿名身分的使用者發送區塊鏈交易時,區塊鏈系統先以這對非對稱式金鑰的私鑰對區塊鏈交易進行簽章,再於區塊鏈交易上註明代表匿名身分的公鑰,使區塊鏈系統以公鑰對區塊鏈交易進行驗章以確認匿名身分及正確性;當具有實名身分的主機呼叫區塊鏈合約時,所述區塊鏈系統使用所述電子憑證對區塊鏈合約的合約交易進行簽章,用以驗證主機的身分以及合約交易的正確性,並且在驗證通過後,呼叫區塊鏈合約程式;以及當具有匿名身分的主機呼叫區塊鏈合約時,所述區塊鏈系統使用私鑰對區塊鏈合約的合約交易進行簽章,以及區塊鏈合約程式使用所述公鑰對合約交易進行驗章,以驗證主機的匿名身分及合約交易的正確性,並且在驗證通過後,呼叫區塊鏈合約程式。In addition, the present invention also discloses a blockchain method that takes into account both real name and anonymity, which is applied in a blockchain system, and the steps include: the blockchain system prompts the user to select one of the real name identity and the anonymous identity. When the real name identity is detected, the registration procedure is executed to record the real name information and the identity type. When the anonymous identity is detected, a pair of asymmetric keys is generated, and the public key of the pair of asymmetric keys is used to represent the user's identity. Anonymous identity; after the registration process is executed, the blockchain system requires the provision of an electronic certificate and registers the electronic certificate with the blockchain, wherein the electronic certificate contains real-name information and is issued by a third-party certificate center; when a user with a real-name identity sends a blockchain transaction, the blockchain system embeds the real-name information into the sender field of the blockchain transaction, and when a user with an anonymous identity sends a blockchain transaction, the blockchain system first uses The private key of the asymmetric key is used to sign the blockchain transaction, and the public key representing the anonymous identity is annotated on the blockchain transaction, so that the blockchain system can verify the blockchain transaction with the public key to confirm the anonymous identity and correctness; when the host with real-name identity calls the blockchain contract, the blockchain system uses the electronic certificate to sign the blockchain contract transaction to verify the identity of the host and the contract transaction. The correctness of the transaction, and after the verification is passed, the blockchain contract program is called; and when a host with an anonymous identity calls a blockchain contract, the blockchain system uses the private key to sign the contract transaction of the blockchain contract, and the blockchain contract program uses the public key to verify the contract transaction to verify the anonymous identity of the host and the correctness of the contract transaction, and after the verification is passed, the blockchain contract program is called.

本發明所揭露之系統與方法如上,與先前技術的差異在於本發明是透過提供選擇實名身分及匿名身分其中之一,用以發送區塊鏈交易及呼叫區塊鏈合約,當選擇實名身分時,執行註冊程序以記錄實名訊息及身分種類並要求電子憑證以登記至區塊鏈,當選擇匿名身分時,產生一對非對稱式金鑰,並且以公鑰代表匿名身分及驗章,以及使用私鑰進行簽章。The system and method disclosed in the present invention are as described above. The difference from the prior art is that the present invention provides a choice between a real-name identity and an anonymous identity to send blockchain transactions and call blockchain contracts. When a real-name identity is selected, a registration procedure is executed to record the real-name information and identity type and an electronic certificate is required to register to the blockchain. When an anonymous identity is selected, a pair of asymmetric keys is generated, and a public key is used to represent the anonymous identity and verify the seal, and a private key is used for signing.

透過上述的技術手段,本發明可以達成提高區塊鏈兼顧匿名與實名的可用性之技術功效。Through the above-mentioned technical means, the present invention can achieve the technical effect of improving the usability of blockchain while taking into account both anonymity and real names.

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

在說明本發明所揭露之兼顧實名與匿名的區塊鏈系統及其方法之前,先對本發明所自行定義的名詞作說明,本發明所述的「區塊鏈合約」是指智能合約或稱為智慧合約(Smart Contract)。實際上,所述智慧合約是指依據既定的條件及傳輸的資訊來驅動執行指令的電腦程式,具體而言,所述智慧合約係透過程式語言,例如:Solidity、Serpent、LLL、EtherScript、Sidechain等等來撰寫,其可包含各種不同的函式(Function)、事件(Event)、參數狀態等等,以「Ethereum」為例,其智慧合約是經編譯後得到二進位編碼及應用二進位介面(Application Binary Interface, ABI),以便將智慧合約廣播至區塊鏈網路,等候礦工(Miner)或驗證者(Validator)將智慧合約放上區塊鏈並得到相應的地址(或稱為合約地址、智慧合約地址)。Before explaining the blockchain system and method for both real-name and anonymity disclosed in the present invention, the terms defined by the present invention are explained first. The "blockchain contract" mentioned in the present invention refers to a smart contract or a smart contract. In fact, the smart contract refers to a computer program that drives the execution of instructions based on established conditions and transmitted information. Specifically, the smart contract is written in a programming language, such as Solidity, Serpent, LLL, EtherScript, Sidechain, etc. It can contain various functions, events, parameter states, etc. Taking "Ethereum" as an example, its smart contract is compiled to obtain binary code and application binary interface (ABI) so that the smart contract can be broadcast to the blockchain network, waiting for miners or validators to put the smart contract on the blockchain and obtain the corresponding address (also called contract address, smart contract address).

以下配合圖式對本發明兼顧實名與匿名的區塊鏈系統及其方法做進一步說明,請先參閱「第1圖」,「第1圖」為本發明兼顧實名與匿名的區塊鏈系統的系統方塊圖,此系統包含:提示模組110、憑證模組120、實名模組130、匿名模組140及執行模組150。其中,提示模組110用以提示使用者在實名身分及匿名身分中選擇其一,當偵測到選擇實名身分時,執行註冊程序以記錄實名訊息及身分種類,當偵測到選擇匿名身分時,產生一對非對稱式金鑰(Asymmetric Key),也就是一對具有對應關係的金鑰對(Key-Pair),但是加密與解密分別使用不同的金鑰,以一對公鑰及私鑰為例,公鑰可用於加密或驗證簽章(或簡稱為「驗章」)、私鑰可用於解密或簽章。接著,使用這對非對稱式金鑰的公鑰來代表匿名身分。在實際實施上,記錄的身分種類可包含票券平台、票券發行商、票券通路商、票券核銷商及信託機構等等。The following diagrams are used to further explain the blockchain system and method of the present invention that takes into account both real names and anonymity. Please refer to "Figure 1" first. "Figure 1" is a system block diagram of the blockchain system of the present invention that takes into account both real names and anonymity. This system includes: a prompt module 110, a certificate module 120, a real-name module 130, an anonymous module 140 and an execution module 150. Among them, the prompt module 110 is used to prompt the user to select one of the real-name identity and the anonymous identity. When the real-name identity is detected, the registration procedure is executed to record the real-name information and the identity type. When the anonymous identity is detected, a pair of asymmetric keys (Asymmetric Key) is generated, that is, a pair of key pairs (Key-Pair) with a corresponding relationship, but different keys are used for encryption and decryption. For example, a pair of public keys and private keys, the public key can be used for encryption or signature verification (or simply referred to as "seal verification"), and the private key can be used for decryption or signature. Then, the public key of this pair of asymmetric keys is used to represent the anonymous identity. In actual implementation, the types of identities recorded may include ticket platforms, ticket issuers, ticket distributors, ticket underwriters and trust institutions, etc.

憑證模組120連接提示模組110用以在註冊程序執行後,區塊鏈系統要求提供電子憑證,並且向區塊鏈登記電子憑證,其中,所述電子憑證包含實名訊息且由第三方憑證中心所核發。在實際實施上,第三方憑證中心是指受信任的第三方憑證管理中心(Certificate Authority, CA)。The certificate module 120 is connected to the prompt module 110 to register the electronic certificate with the blockchain system after the registration process is executed, wherein the electronic certificate includes real-name information and is issued by a third-party certificate center. In actual implementation, the third-party certificate center refers to a trusted third-party certificate management center (Certificate Authority, CA).

實名模組130連接憑證模組120,用以當實名身分的使用者發送區塊鏈交易時,將所述實名訊息嵌入區塊鏈交易的發送者欄位。舉例來說,假設實名訊息為姓名、身分證字號等個人訊息,實名模組130會將其嵌入至區塊鏈交易的發送者欄位以作為識別實名身分之用。The real-name module 130 is connected to the credential module 120 to embed the real-name information into the sender field of the blockchain transaction when the user with the real-name identity sends a blockchain transaction. For example, assuming that the real-name information is personal information such as name, ID number, etc., the real-name module 130 will embed it into the sender field of the blockchain transaction for the purpose of identifying the real-name identity.

匿名模組140連接提示模組110,用以當匿名身分的使用者發送區塊鏈交易時,先以這對非對稱式金鑰的私鑰對區塊鏈交易進行簽章,再於區塊鏈交易上註明代表匿名身分的公鑰,使區塊鏈系統100以公鑰對區塊鏈交易進行驗章以確認匿名身分及正確性。在實際實施上,區塊鏈系統100可通過有線網路(如:乙太網路)或無線網路(如:Wi-Fi、ZigBee、CoAP(Constrained Application Protocol)、MQTT(Message Queuing Telemetry Transport))或其相似的無線傳輸技術所連接的多個節點(Node)主機組成。The anonymous module 140 is connected to the prompt module 110, and is used to sign the blockchain transaction with the private key of the asymmetric key pair when the anonymous user sends a blockchain transaction, and then annotate the public key representing the anonymous identity on the blockchain transaction, so that the blockchain system 100 can verify the blockchain transaction with the public key to confirm the anonymous identity and correctness. In actual implementation, the blockchain system 100 can be composed of multiple node hosts connected by a wired network (such as Ethernet) or a wireless network (such as Wi-Fi, ZigBee, CoAP (Constrained Application Protocol), MQTT (Message Queuing Telemetry Transport)) or similar wireless transmission technologies.

執行模組150連接實名模組130及匿名模組140,用以當具有實名身分的主機呼叫區塊鏈合約時,使用所述電子憑證對區塊鏈合約的合約交易進行簽章,以驗證主機的身分以及合約交易的正確性,並且在驗證通過後,呼叫區塊鏈合約程式(例如:智能合約的邏輯指令或自訂函式等等),以及當具有匿名身分的主機呼叫區塊鏈合約時,使用私鑰對區塊鏈合約的合約交易進行簽章,以及區塊鏈合約程式使用所述公鑰對合約交易進行驗章,以驗證主機的匿名身分及合約交易的正確性,並且在驗證通過後,呼叫相應的區塊鏈合約程式。簡單來說,執行模組150會因為不同身分呼叫區塊鏈合約,進而使用不同方式來驗證主機的身分及合約交易的正確性,以便呼叫執行相應的區塊鏈合約程式。在實際實施上,區塊鏈系統提供應用程式介面(Application Programming Interface, API),以便區塊鏈合約通過此應用程式介面辨識呼叫合約交易的使用者是實名身分或匿名身分。另外,區塊鏈合約可根據所述應用程式介面,限制合約交易允許被實名身分及匿名身分其中之一呼叫,甚至區塊鏈合約還可根據被具有實名身分的主機呼叫的應用程式介面,限制實名身分的身分種類,也就是說,除了要滿足實名身分之外,其限制還可細分到不同的身分種類。The execution module 150 is connected to the real-name module 130 and the anonymous module 140, and is used to use the electronic certificate to sign the contract transaction of the blockchain contract when the host with the real-name identity calls the blockchain contract to verify the identity of the host and the correctness of the contract transaction. After the verification is passed, the blockchain contract program (for example: the logic of the smart contract) is called. Instructions or custom functions, etc.), and when a host with an anonymous identity calls a blockchain contract, the private key is used to sign the contract transaction of the blockchain contract, and the blockchain contract program uses the public key to verify the contract transaction to verify the anonymous identity of the host and the correctness of the contract transaction, and after the verification is passed, the corresponding blockchain contract program is called. In short, the execution module 150 will use different methods to verify the identity of the host and the correctness of the contract transaction because of different identities calling the blockchain contract, so as to call and execute the corresponding blockchain contract program. In actual implementation, the blockchain system provides an application programming interface (API) so that the blockchain contract can identify whether the user calling the contract transaction is a real-name identity or an anonymous identity through this API. In addition, the blockchain contract can limit the contract transaction to be called by one of the real-name identity and the anonymous identity according to the API. The blockchain contract can even limit the identity type of the real-name identity according to the API called by the host with the real-name identity. In other words, in addition to satisfying the real-name identity, its restrictions can also be subdivided into different identity types.

特別要說明的是,在實際實施上,本發明所述模組皆可利用各種方式來實現,包含軟體、硬體或其任意組合,例如,在某些實施方式中,各模組可利用軟體及硬體或其中之一來實現,除此之外,本發明亦可部分地或完全地基於硬體來實現,例如,系統中的一個或多個模組可以透過積體電路晶片、系統單晶片(System on Chip, SoC)、複雜可程式邏輯裝置(Complex Programmable Logic Device, CPLD)、現場可程式邏輯閘陣列(Field Programmable Gate Array, FPGA)等來實現。本發明可以是系統、方法及/或電腦程式。電腦程式可以包括電腦可讀儲存媒體,其上載有用於使處理器實現本發明的各個方面的電腦可讀程式指令,電腦可讀儲存媒體可以是可以保持和儲存由指令執行設備使用的指令的有形設備。電腦可讀儲存媒體可以是但不限於電儲存設備、磁儲存設備、光儲存設備、電磁儲存設備、半導體儲存設備或上述的任意合適的組合。電腦可讀儲存媒體的更具體的例子(非窮舉的列表)包括:硬碟、隨機存取記憶體、唯讀記憶體、快閃記憶體、光碟、軟碟以及上述的任意合適的組合。此處所使用的電腦可讀儲存媒體不被解釋爲瞬時信號本身,諸如無線電波或者其它自由傳播的電磁波、通過波導或其它傳輸媒介傳播的電磁波(例如,通過光纖電纜的光信號)、或者通過電線傳輸的電信號。另外,此處所描述的電腦可讀程式指令可以從電腦可讀儲存媒體下載到各個計算/處理設備,或者通過網路,例如:網際網路、區域網路、廣域網路及/或無線網路下載到外部電腦設備或外部儲存設備。網路可以包括銅傳輸電纜、光纖傳輸、無線傳輸、路由器、防火牆、交換器、集線器及/或閘道器。每一個計算/處理設備中的網路卡或者網路介面從網路接收電腦可讀程式指令,並轉發此電腦可讀程式指令,以供儲存在各個計算/處理設備中的電腦可讀儲存媒體中。執行本發明操作的電腦程式指令可以是組合語言指令、指令集架構指令、機器指令、機器相關指令、微指令、韌體指令、或者以一種或多種程式語言的任意組合編寫的原始碼或目的碼(Object Code),所述程式語言包括物件導向的程式語言,如:Common Lisp、Python、C++、Objective-C、Smalltalk、Delphi、Java、Swift、C#、Perl、Ruby與PHP等,以及常規的程序式(Procedural)程式語言,如:C語言或類似的程式語言。所述電腦程式指令可以完全地在電腦上執行、部分地在電腦上執行、作爲一個獨立的軟體執行、部分在客戶端電腦上部分在遠端電腦上執行、或者完全在遠端電腦或伺服器上執行。It should be particularly noted that in actual implementation, the modules described in the present invention can be implemented in various ways, including software, hardware or any combination thereof. For example, in some embodiments, each module can be implemented using software and hardware or one of them. In addition, the present invention can also be implemented partially or completely based on hardware. For example, one or more modules in the system can be implemented through integrated circuit chips, system on chip (SoC), complex programmable logic device (CPLD), field programmable gate array (FPGA), etc. The present invention can be a system, method and/or computer program. The computer program may include a computer-readable storage medium carrying computer-readable program instructions for causing a processor to implement aspects of the invention, and the computer-readable storage medium may be a tangible device that can retain and store instructions for use by an instruction execution device. The computer-readable storage medium may be, but is not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the above. More specific examples (non-exhaustive list) of computer-readable storage media include: hard disks, random access memory, read-only memory, flash memory, optical disks, floppy disks, and any suitable combination of the foregoing. As used herein, computer-readable storage media is not to be construed as a transient signal per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (e.g., optical signals through optical fiber cables), or electrical signals transmitted through wires. In addition, the computer-readable program instructions described herein may be downloaded from the computer-readable storage media to various computing/processing devices, or downloaded to external computer devices or external storage devices through a network, such as the Internet, a local area network, a wide area network, and/or a wireless network. The network may include copper transmission cables, optical fiber transmission, wireless transmission, routers, firewalls, switches, hubs, and/or gateways. The network card or network interface in each computing/processing device receives computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing/processing device. The computer program instructions for executing the operation of the present invention can be assembly language instructions, instruction set architecture instructions, machine instructions, machine-related instructions, microinstructions, firmware instructions, or source code or object code (Object Code) written in any combination of one or more programming languages, wherein the programming language includes object-oriented programming languages, such as Common Lisp, Python, C++, Objective-C, Smalltalk, Delphi, Java, Swift, C#, Perl, Ruby and PHP, as well as conventional procedural programming languages, such as C language or similar programming languages. The computer program instructions may be executed entirely on the computer, partially on the computer, as a separate software, partially on the client computer and partially on the remote computer, or entirely on the remote computer or server.

請參閱「第2A圖」及「第2B圖」,「第2A圖」及「第2B圖」為本發明兼顧實名與匿名的區塊鏈方法的方法流程圖,應用在區塊鏈系統100中,其步驟包括:區塊鏈系統100提示使用者在實名身分及匿名身分中選擇其一,當偵測到選擇實名身分時,執行註冊程序以記錄實名訊息及身分種類,當偵測到選擇匿名身分時,產生一對非對稱式金鑰,並且以這對非對稱式金鑰的公鑰代表匿名身分(步驟210);在註冊程序執行後,區塊鏈系統100要求提供電子憑證,並且向區塊鏈登記此電子憑證,其中,所述電子憑證包含實名訊息且由第三方憑證中心核發(步驟220);當實名身分的使用者發送區塊鏈交易時,區塊鏈系統100將實名訊息嵌入至區塊鏈交易的發送者欄位,當匿名身分的使用者發送區塊鏈交易時,區塊鏈系統100先以這對非對稱式金鑰的私鑰對區塊鏈交易進行簽章,再於區塊鏈交易上註明代表匿名身分的公鑰,使區塊鏈系統100以公鑰對區塊鏈交易進行驗章以確認匿名身分及正確性(步驟230);當具有實名身分的主機呼叫區塊鏈合約時,所述區塊鏈系統100使用所述電子憑證對區塊鏈合約的合約交易進行簽章,用以驗證主機的身分以及合約交易的正確性,並且在驗證通過後,呼叫區塊鏈合約程式(步驟240);當具有匿名身分的主機呼叫區塊鏈合約時,所述區塊鏈系統100使用私鑰對區塊鏈合約的合約交易進行簽章,以及區塊鏈合約程式使用所述公鑰對合約交易進行驗章,以驗證主機的匿名身分及合約交易的正確性,並且在驗證通過後,呼叫區塊鏈合約程式(步驟250)。透過上述步驟,即可透過提供選擇實名身分及匿名身分其中之一,用以發送區塊鏈交易及呼叫區塊鏈合約,當選擇實名身分時,執行註冊程序以記錄實名訊息及身分種類並要求電子憑證以登記至區塊鏈,當選擇匿名身分時,產生一對非對稱式金鑰,並且以公鑰代表匿名身分及驗章,以及使用私鑰進行簽章。Please refer to "FIG. 2A" and "FIG. 2B", which are flowcharts of the method of the present invention for taking into account both real name and anonymity. The method is applied in the blockchain system 100, and the steps include: the blockchain system 100 prompts the user to select one of the real name identity and the anonymous identity. When the real name identity is detected, the registration procedure is executed to record the real name information and the identity type. When the anonymous identity is detected, a pair of asymmetric keys are generated, and The public key of the asymmetric key pair represents the anonymous identity (step 210); after the registration procedure is executed, the blockchain system 100 requires an electronic certificate and registers the electronic certificate with the blockchain, wherein the electronic certificate includes real-name information and is issued by a third-party certification center (step 220); when the real-name user sends a blockchain transaction, the blockchain system 100 embeds the real-name information into the sender field of the blockchain transaction, and when the anonymous user sends a blockchain transaction When performing a blockchain transaction, the blockchain system 100 first signs the blockchain transaction with the private key of the asymmetric key pair, and then annotates the public key representing the anonymous identity on the blockchain transaction, so that the blockchain system 100 verifies the blockchain transaction with the public key to confirm the anonymous identity and correctness (step 230); when the host with real-name identity calls the blockchain contract, the blockchain system 100 uses the electronic certificate to sign the blockchain contract transaction to verify the host's The host verifies the correctness of the anonymous identity and the contract transaction, and after the verification is passed, calls the blockchain contract program (step 240); when the host with an anonymous identity calls the blockchain contract, the blockchain system 100 uses the private key to sign the contract transaction of the blockchain contract, and the blockchain contract program uses the public key to verify the contract transaction to verify the anonymous identity of the host and the correctness of the contract transaction, and after the verification is passed, calls the blockchain contract program (step 250). Through the above steps, you can choose between real-name identity and anonymous identity to send blockchain transactions and call blockchain contracts. When real-name identity is selected, the registration process is executed to record the real-name information and identity type and request an electronic certificate to register to the blockchain. When anonymous identity is selected, a pair of asymmetric keys is generated, and the public key represents the anonymous identity and the seal, and the private key is used for signing.

以下配合「第3圖」及「第4圖」以實施例的方式進行如下說明,請先參閱「第3圖」,「第3圖」為應用本發明選擇匿名身分或實名身分之示意圖。在實際實施上,區塊鏈系統100可產生一個選擇視窗300,提示使用者通過選擇元件310選擇實名身分或匿名身分。其中,假設選擇實名身分,還可通過輸入元件311鍵入實名訊息及身分種類,特別要說明的是,雖然在此以輸入元件311進行舉例,然而本發明並不以此為限,任何能夠輸入實名訊息及身分種類的方式皆在本發明的應用範疇之內,例如:以下拉式選單的方式。接著,使用者選擇完畢後可以點選確定元件320以確定其選擇。如此一來,區塊鏈系統100在偵測到使用者選擇實名身分時,即可執行註冊程序以將輸入元件311所輸入的內容記錄為實名訊息及身分種類;反之,假設偵測到選擇匿名身分,則區塊鏈系統產生一對非對稱式金鑰(包含公鑰及私鑰),並且使用其中的公鑰來代表匿名身分。The following is explained in the form of an embodiment in conjunction with "Figure 3" and "Figure 4". Please refer to "Figure 3" first. "Figure 3" is a schematic diagram of selecting an anonymous identity or a real-name identity using the present invention. In actual implementation, the blockchain system 100 can generate a selection window 300, prompting the user to select a real-name identity or an anonymous identity through a selection component 310. Among them, assuming that a real-name identity is selected, the real-name information and identity type can also be entered through the input component 311. It should be particularly noted that although the input component 311 is used as an example here, the present invention is not limited to this. Any method that can input real-name information and identity types is within the scope of application of the present invention, such as: using a drop-down menu. Then, after the user has made his selection, he can click the confirmation component 320 to confirm his selection. In this way, when the blockchain system 100 detects that the user has selected a real-name identity, it can execute a registration procedure to record the content input by the input component 311 as real-name information and identity type; on the contrary, if it is detected that an anonymous identity is selected, the blockchain system generates a pair of asymmetric keys (including a public key and a private key), and uses the public key to represent the anonymous identity.

如「第4圖」所示意,「第4圖」為本發明的實名身分與匿名身分的差異之示意圖。以實名身分的流程410為例,當使用者選擇實名身分後,執行註冊程序以記錄實名訊息及身分種類,並且向使用者要求電子憑證以登記至區塊鏈。當具實名身分者發送區塊鏈交易時,區塊鏈系統100會將實名訊息嵌入至區塊鏈交易的發送者欄位,此外,當呼叫區塊鏈合約時,區塊鏈系統會使用前述要求的電子憑證對合約交易進行簽章,以便驗證身分及合約交易的正確性,並且在驗證通過後呼叫區塊鏈合約程式。接下來,以匿名身分的流程420為例,當使用者選擇匿名身分後,區塊鏈系統100產生一對非對稱式金鑰(含公鑰及私鑰),並且以其公鑰代表匿名身分。當匿名身分者發送區塊鏈交易時,先以私鑰簽章,再於區塊鏈交易註明相應的公鑰,以便區塊鏈系統100能夠根據此公鑰對區塊鏈交易進行驗章以確認匿名身分及正確性。同樣地,匿名身分者在呼叫區塊鏈合約時,區塊鏈系統100會以私鑰對合約交易進行簽章,而區塊鏈合約程式則使用公鑰對合約交易進行驗章,並且在驗證通過後,才允許呼叫區塊鏈合約程式。藉由上述方式即可在區塊鏈上同時兼顧實名身分及匿名身分的操作。As shown in "Figure 4", "Figure 4" is a schematic diagram of the difference between the real-name identity and the anonymous identity of the present invention. Taking the process 410 of the real-name identity as an example, after the user selects the real-name identity, the registration procedure is executed to record the real-name information and the identity type, and the user is requested to obtain an electronic certificate to register to the blockchain. When a person with a real-name identity sends a blockchain transaction, the blockchain system 100 will embed the real-name information into the sender field of the blockchain transaction. In addition, when calling a blockchain contract, the blockchain system will use the aforementioned required electronic certificate to sign the contract transaction in order to verify the correctness of the identity and the contract transaction, and call the blockchain contract program after the verification is passed. Next, taking the anonymous identity process 420 as an example, when the user selects the anonymous identity, the blockchain system 100 generates a pair of asymmetric keys (including a public key and a private key), and uses the public key to represent the anonymous identity. When the anonymous identity sends a blockchain transaction, it is first signed with the private key, and then the corresponding public key is annotated in the blockchain transaction, so that the blockchain system 100 can verify the blockchain transaction based on the public key to confirm the anonymous identity and correctness. Similarly, when an anonymous person calls a blockchain contract, the blockchain system 100 will sign the contract transaction with a private key, and the blockchain contract program will use a public key to verify the contract transaction, and only after the verification is passed will the blockchain contract program be allowed to be called. In this way, both real-name and anonymous identity operations can be taken into account on the blockchain.

綜上所述,可知本發明與先前技術之間的差異在於透過提供選擇實名身分及匿名身分其中之一,用以發送區塊鏈交易及呼叫區塊鏈合約,當選擇實名身分時,執行註冊程序以記錄實名訊息及身分種類並要求電子憑證以登記至區塊鏈,當選擇匿名身分時,產生一對非對稱式金鑰,並且以公鑰代表匿名身分及驗章,以及使用私鑰進行簽章,藉由此一技術手段可以解決先前技術所存在的問題,進而達成提高區塊鏈兼顧匿名與實名的可用性之技術功效。In summary, the difference between the present invention and the prior art is that the present invention provides a choice between a real-name identity and an anonymous identity for sending blockchain transactions and calling blockchain contracts. When a real-name identity is selected, a registration procedure is performed to record the real-name information and identity type and an electronic certificate is required to be registered to the blockchain. When an anonymous identity is selected, a pair of asymmetric keys is generated, and a public key is used to represent the anonymous identity and verify the seal, and a private key is used for signing. This technical means can solve the problems existing in the prior art, thereby achieving the technical effect of improving the usability of the blockchain that takes into account both anonymity and real names.

雖然本發明以前述之實施例揭露如上,然其並非用以限定本發明,任何熟習相像技藝者,在不脫離本發明之精神和範圍內,當可作些許之更動與潤飾,因此本發明之專利保護範圍須視本說明書所附之申請專利範圍所界定者為準。Although the present invention is disclosed as above by the aforementioned embodiments, they are not used to limit the present invention. Anyone skilled in similar techniques can make some changes and modifications without departing from the spirit and scope of the present invention. Therefore, the scope of patent protection of the present invention shall be subject to the scope of the patent application attached to this specification.

100:區塊鏈系統 110:提示模組 120:憑證模組 130:實名模組 140:匿名模組 150:執行模組 300:選擇視窗 310:選擇元件 311:輸入元件 320:確定元件 410:實名身分的流程 420:匿名身分的流程 步驟210:區塊鏈系統提示使用者在一實名身分及一匿名身分中選擇其一,當偵測到選擇該實名身分時,執行一註冊程序以記錄一實名訊息及一身分種類,當偵測到選擇該匿名身分時,產生一對非對稱式金鑰,並且以該對非對稱式金鑰的一公鑰代表該匿名身分 步驟220:在該註冊程序執行後,該區塊鏈系統要求提供一電子憑證,並且向一區塊鏈登記該電子憑證,其中,該電子憑證包含該實名訊息且由一第三方憑證中心核發 步驟230:當該實名身分的使用者發送一區塊鏈交易時,該區塊鏈系統將該實名訊息嵌入至該區塊鏈交易的一發送者欄位,當該匿名身分的使用者發送該區塊鏈交易時,該區塊鏈系統先以該對非對稱式金鑰的一私鑰對該區塊鏈交易進行簽章,再於該區塊鏈交易上註明代表該匿名身分的該公鑰,使該區塊鏈系統以該公鑰對該區塊鏈交易進行驗章以確認該匿名身分及正確性 步驟240:當具有該實名身分的一主機呼叫一區塊鏈合約時,該區塊鏈系統使用所述電子憑證對該區塊鏈合約的一合約交易進行簽章,用以驗證該主機的身分以及該合約交易的正確性,並且在驗證通過後,呼叫一區塊鏈合約程式 步驟250:當具有該匿名身分的該主機呼叫該區塊鏈合約時,該區塊鏈系統使用該私鑰對該區塊鏈合約的該合約交易進行簽章,以及該區塊鏈合約程式使用所述公鑰對該合約交易進行驗章,以驗證該主機的該匿名身分及該合約交易的正確性,並且在驗證通過後,呼叫該區塊鏈合約程式 100: Blockchain system 110: Prompt module 120: Certificate module 130: Real-name module 140: Anonymous module 150: Execution module 300: Selection window 310: Select component 311: Input component 320: Confirm component 410: Real-name identity process 420: Anonymous identity process Step 210: The blockchain system prompts the user to select one of a real-name identity and an anonymous identity. When the real-name identity is detected, a registration procedure is executed to record a real-name message and an identity type. When the anonymous identity is detected, a pair of asymmetric keys is generated, and a public key of the pair of asymmetric keys represents the anonymous identity. Step 220: After the registration procedure is executed, the blockchain system requires an electronic certificate and registers the electronic certificate with a blockchain, wherein the electronic certificate contains the real-name message and is issued by a third-party certification center. Step 230: When the user with the real-name identity sends a blockchain transaction, the blockchain system embeds the real-name information into a sender field of the blockchain transaction. When the user with the anonymous identity sends the blockchain transaction, the blockchain system first signs the blockchain transaction with a private key of the asymmetric key pair, and then annotates the public key representing the anonymous identity on the blockchain transaction, so that the blockchain system verifies the blockchain transaction with the public key to confirm the anonymous identity and correctness. Step 240: When a host with the real-name identity calls a blockchain contract, the blockchain system uses the electronic certificate to sign a contract transaction of the blockchain contract to verify the identity of the host and the correctness of the contract transaction, and after the verification is passed, calls a blockchain contract program Step 250: When the host with the anonymous identity calls the blockchain contract, the blockchain system uses the private key to sign the contract transaction of the blockchain contract, and the blockchain contract program uses the public key to verify the contract transaction to verify the anonymous identity of the host and the correctness of the contract transaction, and after the verification is passed, the blockchain contract program is called

第1圖為本發明兼顧實名與匿名的區塊鏈系統的系統方塊圖。 第2A圖及第2B圖為本發明兼顧實名與匿名的區塊鏈方法的方法流程圖。 第3圖為應用本發明選擇匿名身分或實名身分之示意圖。 第4圖為本發明的實名身分與匿名身分的差異之示意圖。 Figure 1 is a system block diagram of the blockchain system of the present invention that takes into account both real names and anonymity. Figures 2A and 2B are method flow charts of the blockchain method of the present invention that takes into account both real names and anonymity. Figure 3 is a schematic diagram of selecting an anonymous identity or a real name identity when applying the present invention. Figure 4 is a schematic diagram of the difference between the real name identity and the anonymous identity of the present invention.

100:區塊鏈系統 100:Blockchain system

110:提示模組 110: Prompt module

120:憑證模組 120: Certificate module

130:實名模組 130: Real-name module

140:匿名模組 140:Anonymous module

150:執行模組 150: Execution module

Claims (10)

一種兼顧實名與匿名的區塊鏈系統,該系統包含: 一提示模組,用以提示使用者在一實名身分及一匿名身分中選擇其一,當偵測到選擇該實名身分時,執行一註冊程序以記錄一實名訊息及一身分種類,當偵測到選擇該匿名身分時,產生一對非對稱式金鑰,並且以該對非對稱式金鑰的一公鑰代表該匿名身分; 一憑證模組,連接該提示模組,用以在該註冊程序執行後,該區塊鏈系統要求提供一電子憑證,並且向一區塊鏈登記該電子憑證,其中,該電子憑證包含該實名訊息且由一第三方憑證中心核發; 一實名模組,連接該憑證模組,用以當該實名身分的使用者發送一區塊鏈交易時,將該實名訊息嵌入至該區塊鏈交易的一發送者欄位; 一匿名模組,連接該提示模組,用以當該匿名身分的使用者發送該區塊鏈交易時,先以該對非對稱式金鑰的一私鑰對該區塊鏈交易進行簽章,再於該區塊鏈交易上註明代表該匿名身分的該公鑰,使該區塊鏈系統以該公鑰對該區塊鏈交易進行驗章以確認該匿名身分及正確性;以及 一執行模組,連接該實名模組及該匿名模組,用以當具有該實名身分的一主機呼叫一區塊鏈合約時,使用所述電子憑證對該區塊鏈合約的一合約交易進行簽章,以驗證該主機的身分以及該合約交易的正確性,並且在驗證通過後,呼叫一區塊鏈合約程式,以及當具有該匿名身分的該主機呼叫該區塊鏈合約時,使用該私鑰對該區塊鏈合約的該合約交易進行簽章,以及該區塊鏈合約程式使用所述公鑰對該合約交易進行驗章,以驗證該主機的該匿名身分及該合約交易的正確性,並且在驗證通過後,呼叫該區塊鏈合約程式。 A blockchain system that takes into account both real names and anonymity, the system comprising: A prompt module, used to prompt a user to select one of a real name identity and an anonymous identity. When the real name identity is detected to be selected, a registration procedure is executed to record a real name message and an identity type. When the anonymous identity is detected to be selected, a pair of asymmetric keys is generated, and a public key of the pair of asymmetric keys is used to represent the anonymous identity; A certificate module, connected to the prompt module, is used for the blockchain system to request an electronic certificate after the registration procedure is executed, and register the electronic certificate with a blockchain, wherein the electronic certificate contains the real-name information and is issued by a third-party certificate center; A real-name module, connected to the certificate module, is used for when the user with the real-name identity sends a blockchain transaction, to embed the real-name information into a sender field of the blockchain transaction; An anonymous module connected to the prompt module is used to sign the blockchain transaction with a private key of the asymmetric key when the anonymous user sends the blockchain transaction, and then annotate the public key representing the anonymous identity on the blockchain transaction, so that the blockchain system verifies the blockchain transaction with the public key to confirm the anonymous identity and correctness; and An execution module is connected to the real-name module and the anonymous module, and is used to use the electronic certificate to sign a contract transaction of the blockchain contract when a host with the real-name identity calls a blockchain contract to verify the identity of the host and the correctness of the contract transaction, and after the verification is passed, call a blockchain contract program, and when the host with the anonymous identity calls the blockchain contract, use the private key to sign the contract transaction of the blockchain contract, and the blockchain contract program uses the public key to verify the contract transaction to verify the anonymous identity of the host and the correctness of the contract transaction, and after the verification is passed, call the blockchain contract program. 如請求項1之兼顧實名與匿名的區塊鏈系統,其中該身分種類包含票券平台、票券發行商、票券通路商、票券核銷商及信託機構。A blockchain system that takes into account both real names and anonymity as in claim 1, wherein the identity types include ticket platforms, ticket issuers, ticket distributors, ticket underwriters, and trust institutions. 如請求項1之兼顧實名與匿名的區塊鏈系統,其中該區塊鏈系統提供一應用程式介面,所述區塊鏈合約通過該應用程式介面辨識呼叫該合約交易的使用者為該實名身分或該匿名身分。As claimed in claim 1, a blockchain system that takes into account both real names and anonymity, wherein the blockchain system provides an application programming interface, and the blockchain contract identifies the user who calls the contract transaction as the real-name identity or the anonymous identity through the application programming interface. 如請求項3之兼顧實名與匿名的區塊鏈系統,其中該區塊鏈合約根據所述應用程式介面,限制該合約交易允許被該實名身分及該匿名身分其中之一呼叫。A blockchain system that takes into account both real names and anonymity as in claim 3, wherein the blockchain contract restricts the contract transaction from being called by one of the real-name identity and the anonymous identity according to the application programming interface. 如請求項3之兼顧實名與匿名的區塊鏈系統,其中該區塊鏈合約根據被具有所述實名身分的主機呼叫的該應用程式介面,限制該實名身分的該身分種類。A blockchain system that takes into account both real name and anonymity as in claim 3, wherein the blockchain contract limits the identity type of the real name identity based on the application programming interface called by the host with the real name identity. 一種兼顧實名與匿名的區塊鏈方法,應用在一區塊鏈系統中,其步驟包括: 該區塊鏈系統提示使用者在一實名身分及一匿名身分中選擇其一,當偵測到選擇該實名身分時,執行一註冊程序以記錄一實名訊息及一身分種類,當偵測到選擇該匿名身分時,產生一對非對稱式金鑰,並且以該對非對稱式金鑰的一公鑰代表該匿名身分; 在該註冊程序執行後,該區塊鏈系統要求提供一電子憑證,並且向一區塊鏈登記該電子憑證,其中,該電子憑證包含該實名訊息且由一第三方憑證中心核發; 當該實名身分的使用者發送一區塊鏈交易時,該區塊鏈系統將該實名訊息嵌入至該區塊鏈交易的一發送者欄位,當該匿名身分的使用者發送該區塊鏈交易時,該區塊鏈系統先以該對非對稱式金鑰的一私鑰對該區塊鏈交易進行簽章,再於該區塊鏈交易上註明代表該匿名身分的該公鑰,使該區塊鏈系統以該公鑰對該區塊鏈交易進行驗章以確認該匿名身分及正確性; 當具有該實名身分的一主機呼叫一區塊鏈合約時,該區塊鏈系統使用所述電子憑證對該區塊鏈合約的一合約交易進行簽章,用以驗證該主機的身分以及該合約交易的正確性,並且在驗證通過後,呼叫一區塊鏈合約程式;以及 當具有該匿名身分的該主機呼叫該區塊鏈合約時,該區塊鏈系統使用該私鑰對該區塊鏈合約的該合約交易進行簽章,以及該區塊鏈合約程式使用所述公鑰對該合約交易進行驗章,以驗證該主機的該匿名身分及該合約交易的正確性,並且在驗證通過後,呼叫該區塊鏈合約程式。 A blockchain method that takes into account both real name and anonymity is applied in a blockchain system, and its steps include: The blockchain system prompts the user to select one of a real name identity and an anonymous identity. When the real name identity is detected to be selected, a registration procedure is executed to record a real name message and an identity type. When the anonymous identity is detected to be selected, a pair of asymmetric keys is generated, and a public key of the pair of asymmetric keys is used to represent the anonymous identity; After the registration procedure is executed, the blockchain system requires an electronic certificate and registers the electronic certificate with a blockchain, wherein the electronic certificate contains the real-name information and is issued by a third-party certification center; When the user with the real-name identity sends a blockchain transaction, the blockchain system embeds the real-name information into a sender field of the blockchain transaction. When the user with the anonymous identity sends the blockchain transaction, the blockchain system first signs the blockchain transaction with a private key of the asymmetric key pair, and then annotates the public key representing the anonymous identity on the blockchain transaction, so that the blockchain system verifies the blockchain transaction with the public key to confirm the anonymous identity and correctness; When a host with the real-name identity calls a blockchain contract, the blockchain system uses the electronic certificate to sign a contract transaction of the blockchain contract to verify the identity of the host and the correctness of the contract transaction, and after the verification is passed, calls a blockchain contract program; and When the host with the anonymous identity calls the blockchain contract, the blockchain system uses the private key to sign the contract transaction of the blockchain contract, and the blockchain contract program uses the public key to verify the contract transaction to verify the anonymous identity of the host and the correctness of the contract transaction, and after the verification is passed, calls the blockchain contract program. 如請求項6之兼顧實名與匿名的區塊鏈方法,其中該身分種類包含票券平台、票券發行商、票券通路商、票券核銷商及信託機構。As in claim 6, a blockchain method that takes into account both real names and anonymity, wherein the identity types include ticket platforms, ticket issuers, ticket distributors, ticket underwriters, and trust institutions. 如請求項6之兼顧實名與匿名的區塊鏈方法,其中該區塊鏈系統提供一應用程式介面,所述區塊鏈合約通過該應用程式介面辨識呼叫該合約交易的使用者為該實名身分或該匿名身分。As claimed in claim 6, the blockchain method takes into account both real name and anonymity, wherein the blockchain system provides an application programming interface, and the blockchain contract identifies the user who calls the contract transaction as the real name identity or the anonymous identity through the application programming interface. 如請求項8之兼顧實名與匿名的區塊鏈方法,其中該區塊鏈合約根據所述應用程式介面,限制該合約交易允許被該實名身分及該匿名身分其中之一呼叫。A blockchain method that takes into account both real name and anonymity as in claim 8, wherein the blockchain contract restricts the contract transaction from being called by one of the real name identity and the anonymous identity according to the application programming interface. 如請求項8之兼顧實名與匿名的區塊鏈方法,其中該區塊鏈合約根據被具有所述實名身分的主機呼叫的該應用程式介面,限制該實名身分的該身分種類。A blockchain method that takes into account both real name and anonymity as in claim 8, wherein the blockchain contract limits the identity type of the real name identity based on the application programming interface called by the host having the real name identity.
TW111147459A 2022-12-09 Blockchain system with both real-name and anonymity and method thereof TWI861621B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW111147459A TWI861621B (en) 2022-12-09 Blockchain system with both real-name and anonymity and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW111147459A TWI861621B (en) 2022-12-09 Blockchain system with both real-name and anonymity and method thereof

Publications (2)

Publication Number Publication Date
TW202425573A true TW202425573A (en) 2024-06-16
TWI861621B TWI861621B (en) 2024-11-11

Family

ID=

Similar Documents

Publication Publication Date Title
EP3061027B1 (en) Verifying the security of a remote server
JP5300045B2 (en) Method and apparatus for managing digital identities through a single interface
US10819526B2 (en) Identity-based certificate authority system architecture
US11658963B2 (en) Cooperative communication validation
TW201837776A (en) Method and system for protecting data keys in trusted computing
TWI663865B (en) Identity management system based on cross-chain and method thereof
US8613043B2 (en) Identity mediation in enterprise service bus
US20090288155A1 (en) Determining an identity of a third-party user in an saml implementation of a web-service
CN109981287A (en) A kind of code signature method and its storage medium
EP4350556A1 (en) Information verification method and apparatus
JP2013531834A (en) One-time password with IPsec and IKE version 1 authentication
US11888997B1 (en) Certificate manager
CN112308236B (en) Method, device, electronic equipment and storage medium for processing user request
TWM641418U (en) Digital nameplate creation system based on public key infrastructure
CN112948789B (en) Identity authentication method and device, storage medium and electronic equipment
TW202425573A (en) Blockchain system with both real-name and anonymity and method thereof
TWM639455U (en) Blockchain system for both real name and anonymity
US20190327222A1 (en) Secure authentication in tls sessions
Alappat Multifactor authentication using zero trust
WO2022028391A1 (en) Data cloud service method and communication apparatus
EP3751490B1 (en) Remote key injection for payment terminals
JP2023502820A (en) Program verification method and device, platform and user terminal, and online service system
TWI783265B (en) Data encryption entry and multi-party authentication and authorization system based on blockchain and method thereof
TWI817162B (en) Component-free signature system for mobile device and method thereof
TWI824699B (en) Avatar carrier generating system for metaverse and method thereof