TWI729781B - Data authentication system and data authentication method thereof - Google Patents

Data authentication system and data authentication method thereof Download PDF

Info

Publication number
TWI729781B
TWI729781B TW109113364A TW109113364A TWI729781B TW I729781 B TWI729781 B TW I729781B TW 109113364 A TW109113364 A TW 109113364A TW 109113364 A TW109113364 A TW 109113364A TW I729781 B TWI729781 B TW I729781B
Authority
TW
Taiwan
Prior art keywords
chip
data
blockchain
transaction content
processing module
Prior art date
Application number
TW109113364A
Other languages
Chinese (zh)
Other versions
TW202141320A (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 TW109113364A priority Critical patent/TWI729781B/en
Application granted granted Critical
Publication of TWI729781B publication Critical patent/TWI729781B/en
Publication of TW202141320A publication Critical patent/TW202141320A/en

Links

Images

Landscapes

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

Abstract

A data authentication system and a data authentication method thereof are disclosed. The data authentication method includes the following steps: reading, by a chip access system, a chip data of a chip; receiving, by a block chain server, the chip data of the chip, and establishing a block chain address to obtain a block chain data; transforming the block chain data into a private key token; writing back, by the chip access system, the private key token to the chip; entering, by the chip access system, a transaction content; using, by the chip access system, the chip to authenticate the transaction content; and returning the authenticated transaction content to execute a block chain transaction according to the private key token.

Description

資料認證系統及其資料認證之方法Data authentication system and its data authentication method

本發明係關於一種資料認證系統及其資料認證之方法,特別是一種可以先認證要上鏈之資料內容的資料認證系統及其資料認證之方法。 The invention relates to a data authentication system and its data authentication method, in particular to a data authentication system and its data authentication method that can first authenticate the content of the data to be chained.

區塊鏈(block chain)是一種藉由密碼學,串接並保護內容的串連文字記錄(又稱區塊)。每一個區塊包含了前一個區塊的加密雜湊、相應時間戳記以及交易資料,這樣的設計使得區塊內容具有難以篡改的特性。用區塊鏈技術所串接的分散式帳本能讓兩方有效紀錄交易,且可永久查驗此交易。雖然區塊鏈的特 性具有不可否認性和無法串改性,但於先前技術中,將資料寫入鏈上時,如果資料是偽造或錯誤的,上鏈後會無法查證。 Block chain is a kind of concatenated text records (also known as blocks) that concatenate and protect content through cryptography. Each block contains the encrypted hash of the previous block, the corresponding time stamp and transaction data. This design makes the block content difficult to tamper with. The distributed ledger connected by blockchain technology allows two parties to effectively record the transaction, and the transaction can be checked permanently. Although the characteristics of blockchain Sex is undeniable and cannot be modified in combination. However, in the prior art, when data is written to the chain, if the data is forged or erroneous, it will not be able to be verified after being uploaded.

因此,有必要發明一種新的資料認證系統及其資料認證之方法,以解決先前技術的缺失。 Therefore, it is necessary to invent a new data authentication system and its data authentication method to solve the shortcomings of the previous technology.

本發明之主要目的係在提供一種資料認證系統,其可以先認證要上鏈之資料內容。 The main purpose of the present invention is to provide a data authentication system, which can first authenticate the content of the data to be chained.

本發明之另一主要目的係在提供一種用於上述系統的資料認證之方法。 Another main purpose of the present invention is to provide a data authentication method for the above-mentioned system.

為達成上述之目的,本發明之資料認證系統用以利用晶片於區塊鏈之環境內進行認證程序。資料認證系統包括晶片存取系統及區塊鏈服務器。晶片存取系統包括連接介面、第一處理模組及輸入介面。連接介面係電性連接晶片。第一處理模組係電性連接連接介面,用以經由連接介面以讀取晶片之晶片資料。輸入介面用以供使用者輸入交易內容。區塊鏈服務器係與晶片存取系統連接。區塊鏈服務器包括區塊鏈建立模組及第二處理模組。區塊鏈建立模組用以建立區塊鏈位址以得到區塊鏈資料。第二處理 模組用以接收晶片資料,及將區塊鏈資料轉化為私鑰種子傳輸至第一處理模組,使第一處理模組收到私鑰種子後回寫至晶片;其中第一處理模組收到交易內容後使用晶片將交易內容認證,最後第一處理模組將認證完的交易內容回傳第二處理模組,讓第二處理模組根據私鑰種子使區塊鏈建立模組將認證的交易內容的執行區塊鏈交易。 In order to achieve the above-mentioned purpose, the data authentication system of the present invention is used to perform an authentication process in a blockchain environment using a chip. Data authentication system includes chip access system and blockchain server. The chip access system includes a connection interface, a first processing module and an input interface. The connection interface is electrically connected to the chip. The first processing module is electrically connected to the connection interface for reading the chip data of the chip through the connection interface. The input interface is used for the user to input transaction content. The blockchain server is connected to the chip access system. The blockchain server includes a blockchain establishment module and a second processing module. The block chain establishment module is used to establish a block chain address to obtain block chain data. Second treatment The module is used to receive chip data, and convert the blockchain data into a private key seed and transmit it to the first processing module, so that the first processing module writes back to the chip after receiving the private key seed; where the first processing module After receiving the transaction content, the chip is used to authenticate the transaction content. Finally, the first processing module sends the authenticated transaction content back to the second processing module, so that the second processing module makes the block chain establishment module based on the private key seed. Executing blockchain transactions with certified transaction content.

本發明資料認證之方法,包括以下步驟:藉由晶片存取系統讀取晶片之晶片資料;藉由區塊鏈服務器接收晶片之該晶片資料,並建立區塊鏈位址以得到區塊鏈資料;將區塊鏈資料轉化為私鑰種子;藉由晶片存取系統將私鑰種子回寫至晶片;藉由晶片存取系統輸入交易內容;藉由晶片存取系統使用晶片將交易內容認證;以及將認證完的交易內容回傳,以根據私鑰種子執行區塊鏈交易。 The method of data authentication of the present invention includes the following steps: read the chip data of the chip by the chip access system; receive the chip data of the chip by the block chain server, and establish the block chain address to obtain the block chain data ; Convert blockchain data into private key seed; write back the private key seed to the chip by the chip access system; input the transaction content by the chip access system; use the chip to authenticate the transaction content by the chip access system; And return the verified transaction content to execute blockchain transactions based on the private key seed.

1:資料認證系統 1: Data authentication system

10:晶片 10: chip

20:晶片存取系統 20: Chip access system

21:連接介面 21: Connection interface

22:第一處理模組 22: The first processing module

23:輸入介面 23: Input interface

30:區塊鏈服務器 30: Blockchain server

31:區塊鏈建立模組 31: Blockchain creation module

32:第二處理模組 32: The second processing module

圖1係本發明之資料認證系統之架構示意圖。 FIG. 1 is a schematic diagram of the structure of the data authentication system of the present invention.

圖2係本發明之晶片註冊之方法之步驟流程圖。 Figure 2 is a flow chart of the steps of the chip registration method of the present invention.

圖3係本發明之利用晶片認證之方法之步驟流程圖。 FIG. 3 is a flowchart of the steps of the method of using chip authentication of the present invention.

為能讓 貴審查委員能更瞭解本發明之技術內容,特舉較佳具體實施例說明如下。 In order to allow your reviewer to better understand the technical content of the present invention, preferred specific embodiments are described as follows.

以下請參考圖1係本發明之資料認證系統1之架構示意圖。 Please refer to FIG. 1 for a schematic diagram of the structure of the data authentication system 1 of the present invention.

在本發明之一實施例中,該資料認證系統1係利用一晶片10在區塊鏈之環境下進行加密程序。資料認證系統1包括晶片存取系統20及區塊鏈服務器30。晶片存取系統20可以為桌上型電腦、筆記型電腦或是智慧型手機等,來讓使用者藉由一網站或一軟體程式以連接到區塊鏈服務器30,藉以使用區塊鏈服務器30進行區塊鏈交易。此網站或軟體程式可以由區塊鏈服務器30之廠商提供。而區塊鏈服務器30可以提供使用者進行不同屬於協定的區塊鏈交易,例如比特幣(Bitcoin,BTC)區塊鏈或以太幣(Ethereum,ETH)區塊鏈之交易,但本發明並不限於上述的區塊鏈,也可以用於私有的區塊鏈等。 In an embodiment of the present invention, the data authentication system 1 uses a chip 10 to perform an encryption process in a blockchain environment. The data authentication system 1 includes a chip access system 20 and a blockchain server 30. The chip access system 20 can be a desktop computer, a notebook computer, a smart phone, etc., so that a user can connect to the blockchain server 30 through a website or a software program, so as to use the blockchain server 30 Conduct blockchain transactions. This website or software program can be provided by the manufacturer of the blockchain server 30. The blockchain server 30 can provide users with different blockchain transactions belonging to agreements, such as Bitcoin (BTC) blockchain or Ethereum (ETH) blockchain transactions, but the present invention does not Limited to the above-mentioned blockchains, it can also be used for private blockchains, etc.

晶片存取系統20包括連接介面21、第一處理模組22及輸入介面23。連接介面21係電性連接晶片10。第一處理模組22係電性連接該連接介面21,用以經由該連接介面21利用軟體 開發套件(Software Development Kit,SDK)以讀取該晶片10之一晶片資料,以進行加密、解密、加簽或解簽等等的程序。由於利用公鑰或私鑰等技術進行加密、解密、加簽或解簽等已經為本發明所屬技術領域中具通常知識者所熟悉,故在此不再贅述其原理。輸入介面23可以為虛擬或實體的鍵盤、滑鼠等,但本發明並不限於此。 The chip access system 20 includes a connection interface 21, a first processing module 22 and an input interface 23. The connection interface 21 is electrically connected to the chip 10. The first processing module 22 is electrically connected to the connection interface 21 for using software through the connection interface 21 A development kit (Software Development Kit, SDK) is used to read the chip data of the chip 10 to perform procedures such as encryption, decryption, signature or de-signature. Since the use of public key or private key technologies for encryption, decryption, signing or de-signing, etc. are already familiar to those with ordinary knowledge in the technical field to which the present invention pertains, the principles will not be repeated here. The input interface 23 can be a virtual or physical keyboard, mouse, etc., but the present invention is not limited thereto.

區塊鏈服務器30包括區塊鏈建立模組31及第二處理模組32。區塊鏈建立模組31可將資料存入區塊鏈中,也就是上鏈之程序。第二處理模組32係類似於第一處理模組22,可以對資料進行加密、解密等程序。首先使用者可以用晶片存取系統20之輸入介面23,以經由網站或軟體程式連接到區塊鏈服務器30之區塊鏈建立模組31,來申請要進行區塊鏈服務。此時晶片存取系統20的第一處理模組22讀取出晶片10之晶片資料,以傳送到區塊鏈服務器30。第一處理模組22亦可對晶片資料進行加密後才傳送。接著區塊鏈服務器30就會接收並儲存該晶片10之已加密過的晶片資料,區塊鏈建立模組31會得到區塊鏈位址,以得到一區塊鏈資料。此時的區塊鏈建立模組31可以根據使用者選擇BTC區塊鏈或ETH區塊鏈來建立區塊鏈位址。第二處理模組32再將該區 塊鏈資料轉化為一私鑰種子(Token),以傳輸至該第一處理模組22。第二處理模組32可根據比特幣改進建議(Bitcoin Improvement Proposals,BIP)協議來產生此該私鑰種子。該第一處理模組22收到該私鑰種子後,也進行加密後回寫至該晶片10。藉此,區塊鏈服務器30會得知並可以記錄下晶片10的資料,晶片10也會分配到對應區塊鏈位址的私鑰種子,就可以完成註冊程序。 The blockchain server 30 includes a blockchain establishment module 31 and a second processing module 32. The block chain establishment module 31 can store data in the block chain, that is, the process of going up the chain. The second processing module 32 is similar to the first processing module 22 and can perform processes such as encryption and decryption of data. First, the user can use the input interface 23 of the chip access system 20 to connect to the blockchain creation module 31 of the blockchain server 30 via a website or software program to apply for blockchain services. At this time, the first processing module 22 of the chip access system 20 reads the chip data of the chip 10 and transmits it to the blockchain server 30. The first processing module 22 can also encrypt the chip data before sending it. Then the block chain server 30 will receive and store the encrypted chip data of the chip 10, and the block chain establishment module 31 will obtain the block chain address to obtain a block chain data. At this time, the block chain establishment module 31 can establish a block chain address according to the user's choice of BTC block chain or ETH block chain. The second processing module 32 then this area The block chain data is converted into a private key seed (Token) to be transmitted to the first processing module 22. The second processing module 32 can generate the private key seed according to the Bitcoin Improvement Proposals (BIP) protocol. After the first processing module 22 receives the private key seed, it also encrypts it and writes it back to the chip 10. In this way, the blockchain server 30 will know and can record the data of the chip 10, and the chip 10 will also be assigned to the private key seed corresponding to the blockchain address, and the registration process can be completed.

當使用者要進行區塊鏈之交易時,晶片存取系統20之輸入介面23就提供使用者輸入交易內容。例如學校欲製作畢業證書,使用者(即校方)就輸入畢業生的畢業資料。晶片存取系統20再經由網站或軟體程式把交易內容傳輸區塊鏈服務器30,使該區塊鏈服務器30的第二處理模組32將交易內容加密打包傳送回該第一處理模組22。此加密之金鑰可依照之前晶片10註冊所得的晶片資料而來。該第一處理模組22收到交易內容後連接到晶片10,以使用該晶片10將該交易內容認證。亦即該第一處理模組22收到交易內容後取出晶片10的一晶片私鑰,並對交易內容進行該晶片私鑰解密,再使用該晶片私鑰將該交易內容加簽,以認證交易內容之正確性。最後該第一處理模組22將認證完的交易內容回傳該區塊鏈服務器30,此時區塊鏈服務器30的區塊鏈建立模組31 根據晶片10儲存的私鑰種子得知要交易的區塊鏈位址,讓區塊鏈建立模組31使用認證的要交易內容執行區塊鏈交易。故可以使用已經註冊的晶片進行區塊鏈交易,由硬體端直接認證交易內容後再上鏈,以加強交易內容的安全性及正確性。藉此,資料認證系統1即可用於包括一畢業證書服務、一電子錢包或一物聯網通訊等服務,但本發明並不限於此。 When the user wants to perform a transaction on the blockchain, the input interface 23 of the chip access system 20 provides the user to input transaction content. For example, if a school wants to produce a graduation certificate, the user (that is, the school) inputs the graduation information of the graduate. The chip access system 20 then transmits the transaction content to the blockchain server 30 via a website or software program, so that the second processing module 32 of the blockchain server 30 encrypts and packages the transaction content and sends it back to the first processing module 22. The encryption key can be derived from the chip data obtained by the previous chip 10 registration. After receiving the transaction content, the first processing module 22 connects to the chip 10 to use the chip 10 to authenticate the transaction content. That is, the first processing module 22 takes out a chip private key of the chip 10 after receiving the transaction content, decrypts the transaction content with the chip private key, and then uses the chip private key to sign the transaction content to authenticate the transaction The correctness of the content. Finally, the first processing module 22 sends the authenticated transaction content back to the blockchain server 30. At this time, the blockchain establishment module 31 of the blockchain server 30 According to the private key seed stored in the chip 10, the address of the blockchain to be traded is known, and the blockchain establishment module 31 uses the authenticated content of the transaction to execute the blockchain transaction. Therefore, the registered chip can be used for blockchain transactions, and the transaction content can be directly authenticated by the hardware side before being uploaded to the chain to enhance the security and correctness of the transaction content. In this way, the data authentication system 1 can be used for services including a graduation certificate service, an electronic wallet or an Internet of Things communication, but the present invention is not limited to this.

需注意的是,資料認證系統1之晶片存取系統20及區塊鏈服務器30具有的各模組可以為硬體裝置、軟體程式結合硬體裝置、韌體結合硬體裝置等方式架構而成,例如可以將一電腦程式產品儲存於一電腦可讀取媒體中讀取並執行以達成本發明之各項功能,但本發明並不以上述的方式為限。此外,本實施方式僅例示本發明之較佳實施例,為避免贅述,並未詳加記載所有可能的變化組合。然而,本領域之通常知識者應可理解,上述各模組或元件未必皆為必要。且為實施本發明,亦可能包含其他較細節之習知模組或元件。各模組或元件皆可能視需求加以省略或修改,且任兩模組間未必不存在其他模組或元件。 It should be noted that the modules of the chip access system 20 and the blockchain server 30 of the data authentication system 1 can be constructed by hardware devices, software programs combined with hardware devices, firmware combined with hardware devices, etc. For example, a computer program product can be stored in a computer readable medium to read and execute various functions of the invention, but the invention is not limited to the above-mentioned manner. In addition, this embodiment only exemplifies a preferred embodiment of the present invention, and in order to avoid redundant description, all possible variations and combinations are not described in detail. However, those skilled in the art should understand that not all the above-mentioned modules or components are necessary. In order to implement the present invention, other detailed conventional modules or components may also be included. Each module or component may be omitted or modified as required, and there may not be other modules or components between any two modules.

接著請參考圖2係本發明之晶片註冊之方法之步驟流程圖及圖3係本發明之利用晶片認證之方法之步驟流程圖以說明本 發明之資料認證之方法。此處需注意的是,以下雖以上述資料認證系統1為例說明本發明之資料認證之方法,但本發明之資料認證之方法並不以使用在上述相同結構的資料認證系統1為限。 Next, please refer to FIG. 2 for the step flow chart of the method for chip registration of the present invention and FIG. 3 for the step flow chart of the method for using chip authentication of the present invention to explain the present invention. Invented data authentication method. It should be noted here that although the above-mentioned data authentication system 1 is used as an example to describe the data authentication method of the present invention, the data authentication method of the present invention is not limited to the data authentication system 1 with the same structure mentioned above.

首先進行晶片註冊之程序時,會藉由該晶片存取系統20進行步驟S201:申請要進行區塊鏈服務。 When the chip registration process is performed first, the chip access system 20 will perform step S201: applying for blockchain service.

首先使用者可以用晶片存取系統20之輸入介面23來申請要進行區塊鏈服務。 First, the user can use the input interface 23 of the chip access system 20 to apply for blockchain services.

此時會經由網站或軟體程式連接到區塊鏈服務器30之區塊鏈建立模組31,以進行步驟S202:啟動區塊鏈服務。 At this time, it will be connected to the block chain establishment module 31 of the block chain server 30 via a website or software program to proceed to step S202: start the block chain service.

此時晶片存取系統20也會同時進行步驟S203:讀取該晶片之一資料。 At this time, the chip access system 20 will also perform step S203 at the same time: reading data on the chip.

此時晶片存取系統20的第一處理模組22讀取出晶片10之晶片資料,並可以將晶片資料進行加密,再傳輸到區塊鏈服務器30。 At this time, the first processing module 22 of the chip access system 20 reads the chip data of the chip 10 and can encrypt the chip data before transmitting it to the blockchain server 30.

所以該區塊鏈服務器30會進行步驟S204:接收該晶片之該晶片資料。 Therefore, the blockchain server 30 will perform step S204: receiving the chip data of the chip.

區塊鏈服務器30會接收晶片10之晶片資料並儲存晶片資料。 The blockchain server 30 receives the chip data of the chip 10 and stores the chip data.

接著進行步驟S205:建立一區塊鏈位址以得到一區塊鏈資料。 Then proceed to step S205: establish a blockchain address to obtain a blockchain data.

接著區塊鏈建立模組31就建立BTC區塊鏈或ETH區塊鏈之區塊鏈位址,此時可以將區塊鏈位址視為區塊鏈資料。 Then the block chain establishment module 31 establishes the block chain address of the BTC block chain or the ETH block chain, and the block chain address can be regarded as the block chain data at this time.

再進行步驟S206:將該區塊鏈資料轉化為一私鑰種子。 Then proceed to step S206: transform the blockchain data into a private key seed.

區塊鏈建立模組31將包括區塊鏈位址的區塊鏈資料轉化為符合BIP協議的私鑰種子(Token)。再將私鑰種子傳輸回晶片存取系統20。 The block chain establishment module 31 converts the block chain data including the block chain address into a private key seed (Token) conforming to the BIP protocol. Then the private key seed is transmitted back to the chip access system 20.

所以最後該晶片存取系統20會進行步驟S207:將該私鑰種子回寫至該晶片。 So finally the chip access system 20 will perform step S207: write back the private key seed to the chip.

最後第一處理模組22將接收到的私鑰種子加密後再寫回晶片10內。藉此可以完成晶片10的註冊程序。 Finally, the first processing module 22 encrypts the received private key seed and writes it back into the chip 10. Thereby, the registration procedure of the chip 10 can be completed.

而要利用此晶片10對資料進行認證時,首先要藉由該晶片存取系統10供一使用者進行步驟S301:輸入一交易內容。 When the chip 10 is used to authenticate data, the chip access system 10 is first used for a user to perform step S301: input a transaction content.

首先晶片存取系統20之輸入介面23提供使用者輸入要上傳到區塊鏈的交易內容。 First, the input interface 23 of the chip access system 20 provides the user to input the transaction content to be uploaded to the blockchain.

此時區塊鏈服務器30進行步驟S302:接收交易內容。 At this time, the blockchain server 30 proceeds to step S302: receiving transaction content.

經由網站或軟體程式將交易內容傳輸到區塊鏈服務器30要進行上鏈時,區塊鏈服務器30會再進行步驟S303:回傳交易內容。 When the transaction content is transmitted to the blockchain server 30 via the website or software program for uploading, the blockchain server 30 will perform step S303: return the transaction content.

此時第二處理模組32將交易內容利用金鑰加密打包傳送回該第一處理模組22,藉此讓交易內容可以先經過認證。將交易內容加密之金鑰可依照之前晶片10註冊所得的晶片資料而來。 At this time, the second processing module 32 encrypts the transaction content and sends it back to the first processing module 22 by encrypting it with a key, so that the transaction content can be authenticated first. The key for encrypting the transaction content can be derived from the chip data obtained by the previous chip 10 registration.

所以於晶片存取系統20會進行步驟S304:使用該晶片將該交易內容認證。 Therefore, the chip access system 20 will perform step S304: use the chip to authenticate the transaction content.

第一處理模組22收到交易內容後連接到晶片10,取出晶片10的一晶片私鑰,並對交易內容進行該晶片私鑰解密,再使用該晶片私鑰將該交易內容加簽,藉此就可以使用該晶片10將該交易內容認證。 After receiving the transaction content, the first processing module 22 connects to the chip 10, takes out a chip private key of the chip 10, decrypts the transaction content with the chip private key, and then uses the chip private key to sign the transaction content and borrow Then, the chip 10 can be used to authenticate the transaction content.

晶片存取系統20再進行步驟S305:將認證完的該交易內容回傳。 The chip access system 20 then performs step S305: returning the authenticated transaction content.

此時晶片存取系統20將認證完的該交易內容回傳到區塊鏈服務器30。 At this time, the chip access system 20 returns the authenticated transaction content to the blockchain server 30.

最後區塊鏈服務器30進行步驟S306:根據該私鑰種子執行區塊鏈交易。 Finally, the blockchain server 30 proceeds to step S306: execute a blockchain transaction according to the private key seed.

最後區塊鏈服務器30的區塊鏈建立模組31根據晶片10儲存的私鑰種子得知要交易的區塊鏈位址,讓區塊鏈建立模組31使用認證的要交易內容執行區塊鏈交易。 Finally, the block chain establishment module 31 of the block chain server 30 knows the address of the block chain to be traded according to the private key seed stored in the chip 10, and allows the block chain establishment module 31 to execute the block using the authenticated transaction content. Chain transaction.

此處需注意的是,本發明之資料認證之方法並不以上述的步驟次序為限,只要能達成本發明之目的,上述之步驟次序亦可加以改變。 It should be noted here that the data authentication method of the present invention is not limited to the above-mentioned sequence of steps. As long as the object of the present invention can be achieved, the above-mentioned sequence of steps can be changed.

由上述的說明可知,本發明的資料認證系統1能夠先利用硬體架構之晶片10來先認證交易內容,之後才進行上鏈的程序。 所以不論在上鏈前或上鏈後,交易內容都無法被任意更改,能確保交易內容的正確定。 From the above description, it can be seen that the data authentication system 1 of the present invention can first use the chip 10 of the hardware architecture to authenticate the transaction content first, and then perform the chaining procedure. Therefore, the transaction content cannot be changed arbitrarily before or after the chain is on the chain, which can ensure the correct determination of the transaction content.

需注意的是,上述僅為實施例,而非限制於實施例。任何不脫離本發明基本架構者,皆應為本專利所主張之權利範圍,而應以專利申請範圍為準。 It should be noted that the above are only examples, and are not limited to the examples. Anything that does not deviate from the basic structure of the present invention should be the scope of the rights claimed by the patent, and the scope of the patent application shall prevail.

1:資料認證系統 1: Data authentication system

10:晶片 10: chip

20:晶片存取系統 20: Chip access system

21:連接介面 21: Connection interface

22:第一處理模組 22: The first processing module

23:輸入介面 23: Input interface

30:區塊鏈服務器 30: Blockchain server

31:區塊鏈建立模組 31: Blockchain creation module

32:第二處理模組 32: The second processing module

Claims (13)

一種資料認證之方法,係應用於一資料認證系統以藉由一晶片於一區塊鏈之環境內進行認證程序,該資料認證系統包括一晶片存取系統及一區塊鏈服務器,該方法包括以下步驟:藉由該晶片存取系統讀取該晶片之一晶片資料;藉由該區塊鏈服務器接收該晶片之該晶片資料,並建立一區塊鏈位址以得到一區塊鏈資料;將該區塊鏈資料轉化為一私鑰種子(Token);藉由該晶片存取系統將該私鑰種子回寫至該晶片;藉由該晶片存取系統輸入一交易內容,並傳輸至該區塊鏈服務器;藉由該區塊鏈服務器將該交易內容利用一金鑰加密打包後傳輸回該晶片存取系統;藉由該晶片存取系統使用該晶片將該交易內容認證;以及將認證完的該交易內容回傳,以根據該私鑰種子執行區塊鏈交易。 A data authentication method is applied to a data authentication system to perform an authentication process in a blockchain environment with a chip. The data authentication system includes a chip access system and a blockchain server. The method includes The following steps: read the chip data of the chip by the chip access system; receive the chip data of the chip by the block chain server, and establish a block chain address to obtain a block chain data; Convert the blockchain data into a private key seed (Token); use the chip access system to write back the private key seed to the chip; use the chip access system to input a transaction content and transmit it to the Blockchain server; the transaction content is encrypted and packaged with a key by the blockchain server and then transmitted back to the chip access system; the chip access system uses the chip to authenticate the transaction content; and the certification The completed transaction content is returned to execute the blockchain transaction based on the private key seed. 如申請專利範圍第1項所述之資料認證之方法,其中使用該晶片將該交易內容認證步驟包括: 收到該交易內容後取出該晶片之一晶片私鑰,藉以進行私鑰解密;以及使用該晶片私鑰將該交易內容加簽。 For example, the method for data authentication described in item 1 of the scope of patent application, wherein the steps of using the chip to authenticate the transaction content include: After receiving the transaction content, take out a chip private key of the chip to decrypt the private key; and use the chip private key to sign the transaction content. 如申請專利範圍第1項所述之資料認證之方法,於該晶片存取系統讀取該晶片之該晶片資料之步驟後,更包括以下步驟:將該晶片資料進行加密後傳輸到該區塊鏈服務器,使該區塊鏈服務器接收加密之該晶片資料。 For example, the data authentication method described in item 1 of the scope of patent application, after the chip access system reads the chip data of the chip, further includes the following steps: encrypt the chip data and transmit it to the block The chain server enables the blockchain server to receive the encrypted chip data. 如申請專利範圍第1到3項之任一項所述之資料認證之方法,其中更包括供一使用者選擇一比特幣(Bitcoin,BTC)區塊鏈或一以太幣(Ethereum,ETH)區塊鏈,藉此建立該區塊鏈位址之步驟。 For example, the data authentication method described in any one of items 1 to 3 in the scope of the patent application, which further includes a user to choose a Bitcoin (BTC) blockchain or an Ethereum (ETH) area Block chain, the steps of establishing the block chain address. 如申請專利範圍第1到3項之任一項所述之資料認證之方法,其中更包括產生符合一比特幣改進建議(Bitcoin Improvement Proposals,BIP)協議之該私鑰種子之步驟。 The method for data authentication described in any one of items 1 to 3 of the scope of the patent application further includes the step of generating the private key seed that complies with a Bitcoin Improvement Proposals (BIP) protocol. 一種資料認證系統,用以利用一晶片於一區塊鏈之環境內進行認證程序;該資料認證系統包括:一晶片存取系統,包括: 一連接介面,係電性連接該晶片;一第一處理模組,係電性連接該連接介面,用以經由該連接介面以讀取該晶片之一晶片資料;以及一輸入介面,用以供一使用者輸入一交易內容;以及一區塊鏈服務器,係與該晶片存取系統連接,包括:一區塊鏈建立模組,用以建立一區塊鏈位址以得到一區塊鏈資料;以及一第二處理模組,用以接收該晶片資料,及將該區塊鏈資料轉化為一私鑰種子傳輸至該第一處理模組,使該第一處理模組收到該私鑰種子後回寫至該晶片;其中所輸入之該交易內容係傳輸至該區塊鏈服務器,使該第二處理模組將收到之該交易內容利用一金鑰加密打包後傳送回該第一處理模組,該第一處理模組收到該交易內容後使用該晶片將該交易內容認證,最後該第一處理模組將認證完的該交易內容回傳該第二處理模組,讓該第二處理模組根據該私鑰種子使該區塊鏈建立模組將認證的該交易內容的執行區塊鏈交易。 A data authentication system is used to use a chip to perform an authentication process in a blockchain environment; the data authentication system includes: a chip access system, including: A connection interface is electrically connected to the chip; a first processing module is electrically connected to the connection interface for reading data of a chip of the chip through the connection interface; and an input interface for supplying A user inputs a transaction content; and a blockchain server, which is connected to the chip access system, includes: a blockchain establishment module for establishing a blockchain address to obtain a blockchain data ; And a second processing module for receiving the chip data, and converting the blockchain data into a private key seed to be transmitted to the first processing module, so that the first processing module receives the private key The seed is written back to the chip; the entered transaction content is transmitted to the blockchain server, so that the second processing module encrypts the received transaction content with a key and sends it back to the first Processing module, the first processing module uses the chip to authenticate the transaction content after receiving the transaction content, and finally the first processing module sends the authenticated transaction content back to the second processing module to allow the According to the private key seed, the second processing module causes the blockchain establishment module to authenticate the execution of the blockchain transaction of the transaction content. 如申請專利範圍第6項所述之資料認證系統,其中該晶片存取系統藉由一網站或一軟體程式以連接到該區塊鏈服務器。 Such as the data authentication system described in item 6 of the scope of patent application, wherein the chip access system is connected to the blockchain server through a website or a software program. 如申請專利範圍第7項所述之資料認證系統,其中該輸入介面藉由該網站或該軟體程式輸入該交易內容後,該第二處理模組再將該交易內容回傳至該第一處理模組。 For example, the data authentication system described in item 7 of the scope of patent application, wherein after the input interface inputs the transaction content through the website or the software program, the second processing module then returns the transaction content to the first processing Module. 如申請專利範圍第8項所述之資料認證系統,其中該第一處理模組於收到該交易內容後取出該晶片之一晶片私鑰,並對該交易內容進行該私鑰解密,再使用該晶片私鑰將該交易內容加簽,藉以對該交易內容認證。 For example, the data authentication system described in item 8 of the scope of patent application, wherein the first processing module takes out a chip private key of the chip after receiving the transaction content, decrypts the transaction content with the private key, and then uses it The chip private key signs the transaction content so as to authenticate the transaction content. 如申請專利範圍第7項所述之資料認證系統,其中該第一處理模組進一步將該晶片資料進行加密後傳輸到該區塊鏈服務器之該第二處理模組。 For example, in the data authentication system described in item 7 of the scope of patent application, the first processing module further encrypts the chip data and transmits it to the second processing module of the blockchain server. 如申請專利範圍第6到10項之任一項所述之資料認證系統,其中該區塊鏈建立模組用以供該使用者選擇一比特幣區塊鏈或一以太幣區塊鏈,藉此建立該區塊鏈位址。 For example, the data authentication system described in any one of items 6 to 10 in the scope of patent application, wherein the block chain establishment module is used for the user to choose a Bitcoin block chain or an ether block chain, by This creates the blockchain address. 如申請專利範圍第6到10項之任一項所述之資料認證系統,其中該私鑰種子係符合一比特幣改進建議協議。 For example, the data authentication system described in any one of items 6 to 10 of the scope of patent application, wherein the private key seed complies with a Bitcoin Improvement Proposal Protocol. 如申請專利範圍第6項所述之資料認證系統,該資料認證系統係用於一畢業證書服務、一電子錢包服務或一物聯網通訊服務。 For example, the data authentication system described in item 6 of the scope of patent application, the data authentication system is used for a graduation certificate service, an electronic wallet service or an Internet of Things communication service.
TW109113364A 2020-04-21 2020-04-21 Data authentication system and data authentication method thereof TWI729781B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW109113364A TWI729781B (en) 2020-04-21 2020-04-21 Data authentication system and data authentication method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW109113364A TWI729781B (en) 2020-04-21 2020-04-21 Data authentication system and data authentication method thereof

Publications (2)

Publication Number Publication Date
TWI729781B true TWI729781B (en) 2021-06-01
TW202141320A TW202141320A (en) 2021-11-01

Family

ID=77517464

Family Applications (1)

Application Number Title Priority Date Filing Date
TW109113364A TWI729781B (en) 2020-04-21 2020-04-21 Data authentication system and data authentication method thereof

Country Status (1)

Country Link
TW (1) TWI729781B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180089641A1 (en) * 2016-09-27 2018-03-29 The Toronto-Dominion Bank Processing network architecture with companion database
TW201812638A (en) * 2016-09-12 2018-04-01 大陸商上海鼎利信息科技有限公司 Storage design method of blockchain encrypted radio frequency chip
CN108460605A (en) * 2018-02-09 2018-08-28 深圳市优权天成科技有限公司 A kind of trace to the source method for anti-counterfeit and the system of the papery art work based on block chain
CN108830616A (en) * 2018-06-08 2018-11-16 浙江捷尚人工智能研究发展有限公司 Antifake method for products, electronic equipment, storage medium and system based on block chain
CN109829824A (en) * 2019-03-05 2019-05-31 河钢国际科技(北京)有限公司 A kind of commodity transaction information sharing method based on block chain technology

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201812638A (en) * 2016-09-12 2018-04-01 大陸商上海鼎利信息科技有限公司 Storage design method of blockchain encrypted radio frequency chip
US20180089641A1 (en) * 2016-09-27 2018-03-29 The Toronto-Dominion Bank Processing network architecture with companion database
CN108460605A (en) * 2018-02-09 2018-08-28 深圳市优权天成科技有限公司 A kind of trace to the source method for anti-counterfeit and the system of the papery art work based on block chain
CN108830616A (en) * 2018-06-08 2018-11-16 浙江捷尚人工智能研究发展有限公司 Antifake method for products, electronic equipment, storage medium and system based on block chain
CN109829824A (en) * 2019-03-05 2019-05-31 河钢国际科技(北京)有限公司 A kind of commodity transaction information sharing method based on block chain technology

Also Published As

Publication number Publication date
TW202141320A (en) 2021-11-01

Similar Documents

Publication Publication Date Title
US20230196362A1 (en) Systems, apparatus and methods for secure electrical communication of biometric personal identification information to validate the identity of an individual
US11799668B2 (en) Electronic identification verification methods and systems with storage of certification records to a side chain
KR101878149B1 (en) Device, system, and method of secure entry and handling of passwords
US8924714B2 (en) Authentication with an untrusted root
US10616215B1 (en) Virtual smart card to perform security-critical operations
CN117579281A (en) Method and system for ownership verification using blockchain
US20230014599A1 (en) Data processing method and apparatus for blockchain system
US8495383B2 (en) Method for the secure storing of program state data in an electronic device
CN114070614B (en) Identity authentication method, apparatus, device, storage medium and computer program product
JP7309261B2 (en) Authentication method for biometric payment device, authentication device for biometric payment device, computer device, and computer program
US20210306135A1 (en) Electronic device within blockchain based pki domain, electronic device within certification authority based pki domain, and cryptographic communication system including these electronic devices
CN114785524B (en) Electronic seal generation method, device, equipment and medium
TWI476629B (en) Data security and security systems and methods
WO2021005474A1 (en) Computer-implemented system and method for facilitating transactions associated with a blockchain using a network identifier for participating entities
TWI734729B (en) Method and device for realizing electronic signature and signature server
US11070378B1 (en) Signcrypted biometric electronic signature tokens
CN117561508A (en) Cross-session issuance of verifiable credentials
CN114268447B (en) File transmission method and device, electronic equipment and computer readable medium
CN106789977A (en) A kind of method and system that handset token is realized based on Secret splitting
TWI729781B (en) Data authentication system and data authentication method thereof
CN111431873A (en) Method, system, device and medium for reporting information
CN2914498Y (en) Information security device based on universal serial bus human-computer interaction type device
CN116015846A (en) Identity authentication method, identity authentication device, computer equipment and storage medium
WO2013167082A2 (en) Digital certificate function implementation method for mobile terminal and mobile terminal
WO2016165662A1 (en) Mobile phone quasi-digital certificate subsystem, and system and method thereof