TWI659377B - System for digitizing and trading unquantifiable asset and method thereof - Google Patents

System for digitizing and trading unquantifiable asset and method thereof Download PDF

Info

Publication number
TWI659377B
TWI659377B TW106103352A TW106103352A TWI659377B TW I659377 B TWI659377 B TW I659377B TW 106103352 A TW106103352 A TW 106103352A TW 106103352 A TW106103352 A TW 106103352A TW I659377 B TWI659377 B TW I659377B
Authority
TW
Taiwan
Prior art keywords
address
asset
auction
contract
smart contract
Prior art date
Application number
TW106103352A
Other languages
Chinese (zh)
Other versions
TW201828202A (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 TW106103352A priority Critical patent/TWI659377B/en
Publication of TW201828202A publication Critical patent/TW201828202A/en
Application granted granted Critical
Publication of TWI659377B publication Critical patent/TWI659377B/en

Links

Abstract

一種以智能合約數位化不可量化資產並交易之系統及其方法,其透過保管伺服器發布資產智能合約並取得相對應之資產合約地址,信託伺服器發布包含資產合約地址及截止條件之拍賣智能合約並取得相對應之拍賣合約地址,買方客戶端依據拍賣合約地址於拍賣智能合約中設定買方地址及下標金額,當截止條件被滿足時,拍賣智能合約依據下標金額選擇買方地址,並依據資產合約地址觸發執行資產智能合約,使資產智能合約依據被選擇的買方地址進行資產交易之技術手段,可以提高線上交易高價物品之安全性,並達成降低買賣雙方的金錢與時間成本的技術功效。A system and method for digitizing and quantifying non-quantifiable assets through smart contracts, which issue asset smart contracts through a custody server and obtain corresponding asset contract addresses, and a trust server issues auction smart contracts that include asset contract addresses and deadlines And obtain the corresponding auction contract address, the buyer client sets the buyer address and the bid amount in the auction smart contract based on the auction contract address. When the cut-off condition is met, the auction smart contract selects the buyer address based on the bid amount, and based on the asset The contract address triggers the execution of the asset smart contract, so that the asset smart contract can perform asset transactions based on the selected buyer's address, which can improve the security of online transactions of high-priced items, and achieve the technical effect of reducing the money and time costs of buyers and sellers.

Description

以智能合約數位化不可量化資產並交易之系統及其方法System and method for digitizing non-quantifiable assets and trading with smart contracts

一種資產交易系統及其方法,特別係指一種以智能合約數位化不可量化資產並交易之系統及其方法。An asset transaction system and method thereof, particularly a system and method for digitizing and trading non-quantifiable assets using smart contracts.

隨著科技與網路的發展,各種傳統的行為也由實際面對面轉移到網路上進行,例如,傳統在實體店面的交易逐漸轉移到在線上購物。除了在各個購物網站上購物外,也可以到拍賣網站進行交易。目前拍賣網站所提供的拍賣方式,最常見的是由賣家設定競標時間,在競標時間截止前,出價最高的買家即為得標者。With the development of technology and the Internet, various traditional behaviors are also transferred from the actual face-to-face to the Internet. For example, traditional transactions in physical stores have gradually shifted to online shopping. In addition to shopping on various shopping sites, you can also go to auction sites for transactions. At present, the most common auction methods provided by auction websites are sellers setting bidding time. Before the bidding time ends, the highest bidder is the winner.

由於使用拍賣網站的買賣雙方通常未見過面,也無法確認拍賣物品。若拍賣物品的金額非常大,例如拍賣物品是不動產或黃金鑽石等高價物品,且沒有專業的第三方單位在中間把關,買賣雙方往往會因為信任感的問題,使得高價物品在線上拍賣網站上成交的機率非常低。因此,目前高價物品的買賣方式,仍然使用傳統的方式,也就是透過公正的第三方單位仲介。然而,透過第三方單位仲介,一旦成功交易,買賣雙方通常需要付第三方單位一筆仲介費。Since buyers and sellers who use the auction website usually haven't met, they can't confirm the auction items. If the amount of the auction item is very large, for example, the auction item is a high-priced item such as real estate or gold diamonds, and there is no professional third-party unit to check in the middle, the buyer and the seller often make the high-priced item trade on the online auction website because of the trust problem Chance is very low. Therefore, the current method of buying and selling high-value items still uses the traditional method, that is, through an impartial third-party unit. However, through a third party agency, once the transaction is successful, the buyer and seller usually need to pay a third party agency agency fee.

綜上所述,可知先前技術中長期以來一直存在人們對線上交易高價物品沒有信任感的問題,因此有必要提出改進的技術手段,來解決此一問題。In summary, it can be known that in the prior art, there has been a problem that people have no trust in online transactions of high prices for a long time. Therefore, it is necessary to propose improved technical means to solve this problem.

有鑒於先前技術存在人們對線上交易高價物品沒有信任感的問題,本發明遂揭露一種以智能合約數位化不可量化資產並交易之系統及其方法,其中:In view of the problem that people have no confidence in trading high-priced items online in the prior art, the present invention then discloses a system and method for digitizing and trading non-quantifiable assets with smart contracts, among which:

本發明所揭露之以智能合約數位化不可量化資產並交易之系統,至少包含:賣方客戶端,用以取得於區塊鏈網路中之賣方地址;保管伺服器,用以產生與被交付信託之資產相對應之資產智能合約,及用以發布資產智能合約至區塊鏈中,並取得相對應之資產合約地址,其中,資產智能合約包含賣方地址;信託伺服器,用以接收保管伺服器所傳送之資產合約地址,並產生拍賣智能合約,及用以發布拍賣智能合約至區塊鏈中,並取得相對應之拍賣合約地址,其中,拍賣智能合約包含資產合約地址及截止條件;至少一買方客戶端,買方客戶端用以取得於區塊鏈網路中之買方地址及拍賣合約地址,並依據拍賣合約地址於拍賣智能合約中設定買方地址及下標金額;其中,當截止條件被滿足時,拍賣智能合約依據各下標金額選擇買方地址,並依據資產合約地址觸發執行資產智能合約之資產交易函式,使資產交易函式依據被選擇之買方地址進行資產之移轉與下標金額之轉帳。The system disclosed in the present invention for digitizing non-quantifiable assets through smart contracts and trading includes at least: a seller client to obtain the seller's address in the blockchain network; a custody server to generate and be delivered a trust Asset smart contracts corresponding to assets, and used to publish asset smart contracts to the blockchain, and obtain corresponding asset contract addresses, where the asset smart contract contains the seller's address; the trust server is used to receive the custody server The transmitted asset contract address generates an auction smart contract, and is used to publish the auction smart contract to the blockchain and obtain the corresponding auction contract address, wherein the auction smart contract includes the asset contract address and the cut-off condition; at least one The buyer client, the buyer client is used to obtain the buyer address and the auction contract address in the blockchain network, and set the buyer address and the bid amount in the auction smart contract according to the auction contract address; where the deadline is met At the time, the auction smart contract selects the buyer's address based on each bid amount, and Intelligent function execution asset transactions contract asset, the asset transfer transaction function be transferred under the standard amount of assets in accordance with the buyer's address is selected.

本發明所揭露之以智能合約數位化不可量化資產並交易之方法,其步驟至少包括:賣方客戶端取得於區塊鏈網路中之賣方地址;保管伺服器產生與被交付信託之資產相對應之資產智能合約,發布資產智能合約至區塊鏈中,並取得相對應之資產合約地址,其中,資產智能合約包含賣方地址;保管伺服器傳送資產合約地址至信託伺服器;信託伺服器產生拍賣智能合約,發布拍賣智能合約至區塊鏈中,並取得相對應之拍賣合約地址,其中,拍賣智能合約包含資產合約地址及截止條件;買方客戶端取得於區塊鏈網路中之買方地址及拍賣合約地址,並依據拍賣合約地址於拍賣智能合約中設定買方地址及下標金額;當截止條件被滿足時,若拍賣智能合約中之結標函式選擇買方地址,則結標函式依據資產合約地址觸發執行資產智能合約中之資產交易函式,使資產交易函式依據買方地址進行資產之移轉與下標金額之轉帳。The method disclosed in the present invention for digitizing non-quantifiable assets through smart contracts and transacting includes at least: the seller client obtains the seller's address in the blockchain network; the storage server generates a corresponding asset that is delivered to the trust Asset smart contract, issue the asset smart contract to the blockchain, and obtain the corresponding asset contract address, where the asset smart contract contains the seller's address; the custody server sends the asset contract address to the trust server; the trust server generates an auction Smart contract, publish auction smart contract to the blockchain, and obtain the corresponding auction contract address, where the auction smart contract includes the asset contract address and deadline conditions; the buyer client obtains the buyer address in the blockchain network and Auction contract address, and set buyer address and bid amount in the auction smart contract according to the auction contract address; when the deadline is met, if the bidding function in the auction smart contract selects the buyer address, the bidding function is based on the asset The contract address triggers the execution of the asset transaction function in the asset smart contract, so that the asset Easy transfer function for transfers under the standard amount of the assets according to the buyer address.

本發明所揭露之系統與方法如上,與先前技術之間的差異在於本發明透過保管伺服器發布資產智能合約並取得相對應之資產合約地址,信託伺服器發布包含資產合約地址及截止條件之拍賣智能合約至區塊鏈中並取得相對應之拍賣合約地址,買方客戶端依據拍賣合約地址於拍賣智能合約中設定買方地址及下標金額,當截止條件被滿足時,拍賣智能合約中之結標函式依據下標金額選擇買方地址,並依據資產合約地址觸發執行資產智能合約中之資產交易函式,使資產交易函式依據被選擇的買方地址進行資產交易,藉以解決先前技術所存在的問題,並可以達成降低買賣雙方的金錢與時間成本的技術功效。The system and method disclosed in the present invention are as described above. The difference from the prior art is that the present invention issues an asset smart contract and obtains the corresponding asset contract address through a custodial server. The trust server issues an auction that includes the asset contract address and the deadline The smart contract enters the blockchain and obtains the corresponding auction contract address. The buyer client sets the buyer address and the bid amount in the auction smart contract according to the auction contract address. When the cut-off condition is met, the bid in the auction smart contract is settled. The function selects the buyer's address based on the bid amount, and triggers the execution of the asset transaction function in the asset smart contract based on the asset contract address, so that the asset transaction function conducts asset transactions based on the selected buyer address, thereby solving the problems of the previous technology , And can achieve the technical effect of reducing the cost of money and time for both buyers and sellers.

以下將配合圖式及實施例來詳細說明本發明之特徵與實施方式,內容足以使任何熟習相關技藝者能夠輕易地充分理解本發明解決技術問題所應用的技術手段並據以實施,藉此實現本發明可達成的功效。The features and implementations of the present invention will be described in detail below with reference to the drawings and examples. The content is sufficient to enable any person skilled in the relevant arts to easily and fully understand the technical means applied to solve the technical problems of the present invention and implement them accordingly, thereby realizing The effect that can be achieved by the present invention.

本發明可以提供買方在拍賣智能合約中對資產智能合約所對應的資產下標,當拍賣智能合約中的截止條件被滿足時,拍賣智能合約可以觸發資產智能合約執行資產交易與金額轉帳。其中,本發明所提之資產,可以是不可量化的物品,例如房地產、藝術品等,但本發明並不以為限。The invention can provide the buyer to bid on the asset corresponding to the asset smart contract in the auction smart contract. When the cut-off condition in the auction smart contract is met, the auction smart contract can trigger the asset smart contract to execute the asset transaction and the amount transfer. Among them, the assets mentioned in the present invention may be non-quantifiable items, such as real estate, art, etc., but the present invention is not limited thereto.

本發明所提之智能合約(Smart Contract,包含拍賣智能合約以及資產智能合約)為可被電腦執行之程式碼,且對應有一個智能合約地址。本發明所提之智能合約地址(包含與拍賣智能合約對應的拍賣合約地址以及與資產智能合約對應的資產合約地址)為足以讓支援區塊鏈(Blockchain)技術的裝置或設備等節點(node)取得包含相對應之智能合約實體的資料,例如,智能合約實體內的某個變數在區塊鏈中之特定區塊(block)時的數值等。The smart contract (including smart contract for auction and smart contract for assets) mentioned in the present invention is a code that can be executed by a computer, and corresponds to a smart contract address. The smart contract address (including the auction contract address corresponding to the auction smart contract and the asset contract address corresponding to the asset smart contract) mentioned in the present invention is a node such as a device or a device that supports Blockchain technology. Obtain data containing the corresponding smart contract entity, for example, the value of a certain variable in the smart contract entity when it is in a specific block in the blockchain.

以下先以「第1圖」本發明所提之以智能合約數位化不可量化資產並交易之之系統架構圖來說明本發明的系統運作。如「第1圖」所示,本發明之系統含有保管伺服器110、賣方客戶端120、買方客戶端130、以及信託伺服器150。其中,保管伺服器110、賣方客戶端120、買方客戶端130、以及信託伺服器150可以直接或間接與區塊鏈網路連接。The following first illustrates the system operation of the present invention with the "system diagram" of the present invention, which refers to the system architecture diagram of digitizing non-quantifiable assets and trading using smart contracts. As shown in FIG. 1, the system of the present invention includes a storage server 110, a seller client 120, a buyer client 130, and a trust server 150. The storage server 110, the seller client 120, the buyer client 130, and the trust server 150 may be directly or indirectly connected to the blockchain network.

保管伺服器110可以提供賣方客戶端120連接,並可以與信託伺服器150連接。其中,保管伺服器110可以透過乙太網路等有線網路或WiFi、Zigbee等無線網路與賣方客戶端120及/或信託伺服器150連接,但本發明並不以此為限。The storage server 110 may provide a connection with the seller client 120 and may connect with the trust server 150. The storage server 110 may be connected to the seller client 120 and / or the trust server 150 through a wired network such as Ethernet or a wireless network such as WiFi or Zigbee, but the present invention is not limited thereto.

保管伺服器110負責產生資產智能合約。保管伺服器110所產生的資產智能合約與賣方交付信託之資產相對應。一般而言,保管伺服器110通常是由提供信託保管賣方之資產的團體、單位、組織、或機構所提供,但本發明並不以此為限。在部分的實施例中,保管伺服器110所產生的資產智能合約中可以包含資產之擁有對象在區塊鏈網路中使用的地址。在本發明中,資產之擁有對象所使用的地址被稱為「賣方地址」。The custody server 110 is responsible for generating an asset smart contract. The asset smart contract generated by the custody server 110 corresponds to the assets delivered by the seller to the trust. Generally speaking, the custody server 110 is usually provided by a group, unit, organization, or institution that provides trust to custody the seller's assets, but the invention is not limited thereto. In some embodiments, the asset smart contract generated by the custody server 110 may include the address used by the asset owner in the blockchain network. In the present invention, the address used by the owner of the asset is referred to as the "seller address".

保管伺服器110可以預先儲存多種不同的智能合約樣板,並在需要產生資產智能合約時,依據資產的類型由預先儲存的智能合約樣板中選擇一個與資產對應的智能合約樣板,並使用所選出的智能合約樣板產生資產智能合約。其中,上述資產的類型包含但不限於房產、地產、飾品、藝術品等。在部分的實施例中,保管伺服器110可以提供輸入賣方地址,並在使用智能合約樣板產生資產智能合約時,將提供輸入的賣方地址加入智能合約樣板的對應位置,使得被產生的資產智能合約中包含賣方地址。The custody server 110 can store a variety of different smart contract templates in advance, and when an asset smart contract needs to be generated, a smart contract template corresponding to the asset is selected from the pre-stored smart contract templates according to the type of asset, and the selected smart contract template is used. Smart contract templates generate asset smart contracts. Among them, the above types of assets include, but are not limited to, real estate, real estate, jewelry, art, and so on. In some embodiments, the custodian server 110 may provide an input seller address, and when using the smart contract template to generate an asset smart contract, add the input seller address to the corresponding position of the smart contract template, so that the generated asset smart contract It contains the seller's address.

值得一提的是,保管伺服器110可以為每一件資產產生不同的資產智能合約,例如,為不同的房地產產生不同的資產智能合約,並為不同的藝術品產生不同的資產智能合約等。It is worth mentioning that the custody server 110 can generate different asset smart contracts for each asset, for example, different asset smart contracts for different real estate, and different asset smart contracts for different artworks.

保管伺服器110也負責將所產生的資產智能合約發布到區塊鏈中。更詳細的說,保管伺服器110可以產生包含所產生之資產智能合約的區塊鏈交易,並將所產生的區塊鏈交易發送到區塊鏈網路中,當區塊鏈網路中的驗證節點接收到保管伺服器110所發送的區塊鏈交易後,可以製作包含所接收到之區塊鏈交易中的資產智能合約的區塊,並將所製作的區塊發送到區塊鏈網路中同步。當被發送到區塊鏈網路中的區塊被接受,被發送到區塊鏈網路中的區塊便會被加入區塊鏈的最末端,如此,包含在區塊中的資產智能合約便可以被發布到區塊鏈中。The custody server 110 is also responsible for publishing the generated asset smart contract to the blockchain. In more detail, the custody server 110 can generate a blockchain transaction containing the generated asset smart contract, and send the generated blockchain transaction to the blockchain network. After the verification node receives the blockchain transaction sent by the custody server 110, it can create a block containing the asset smart contract in the received blockchain transaction and send the produced block to the blockchain network. On the road. When the block sent to the blockchain network is accepted, the block sent to the blockchain network will be added to the end of the blockchain. In this way, the asset smart contract included in the block It can be published to the blockchain.

在部分的實施例中,保管伺服器110可以在發布資產智能合約後,將被輸入的賣方地址設定到所發布的資產智能合約中。也就是說,保管伺服器110可以產生包含被輸入之賣方地址的區塊鏈交易,並將所產生的區塊鏈交易發送到區塊鏈網路中,藉以將區塊鏈交易中的賣方地址加入包含資產智能合約的區塊鏈中。其中,由於保管伺服器110在資產智能合約中設定賣方地址的過程與發布資產智能合約相同,故以上僅為簡述。In some embodiments, the custody server 110 may set the entered seller address to the issued asset smart contract after issuing the asset smart contract. That is, the custody server 110 can generate a blockchain transaction containing the entered seller address, and send the generated blockchain transaction to the blockchain network, so as to send the seller address in the blockchain transaction. Join the blockchain containing asset smart contracts. The process of setting the seller address in the asset smart contract is the same as that of issuing the asset smart contract, so the above is only a brief description.

保管伺服器110也負責在將資產智能合約發布到區塊鏈的同時,取得與被發布之資產智能合約相對應的資產合約地址,並將所取得之資產合約地址傳送到信託伺服器150。在部分的實施例中,保管伺服器110也可以將所取得的資產合約地址傳送到賣方客戶端120。The custody server 110 is also responsible for obtaining the asset contract address corresponding to the issued asset smart contract while publishing the asset smart contract to the blockchain, and transmitting the acquired asset contract address to the trust server 150. In some embodiments, the storage server 110 may also transmit the acquired asset contract address to the seller client 120.

賣方客戶端120與買方客戶端130為具有資料之輸入、運算與傳輸能力的裝置或設備,包含但不限於電腦、手機、平板、手錶、電視、數位相機、多媒體撥放器、導航裝置、車用電腦、隨身聽、電腦辭典、電子書閱讀器、電視遊樂器、掌上型遊樂器等。另外,賣方客戶端120及/或買方客戶端130可以透過乙太網路等有線網路或WiFi、Zigbee等無線網路與信託伺服器150連接,但本發明並不以此為限。在本發明中,賣方客戶端120是指資產之擁有對象(也就是資產的賣方)所操作的裝置或設備,買方客戶端130是指欲購買資產之對象(也就是買方)所操作的裝置或設備。Seller client 120 and buyer client 130 are devices or devices with data input, calculation and transmission capabilities, including but not limited to computers, mobile phones, tablets, watches, televisions, digital cameras, multimedia players, navigation devices, cars Use computer, Walkman, computer dictionary, e-book reader, TV game instrument, handheld game instrument, etc. In addition, the seller client 120 and / or the buyer client 130 may be connected to the trust server 150 through a wired network such as Ethernet or a wireless network such as WiFi or Zigbee, but the present invention is not limited thereto. In the present invention, the seller client 120 refers to a device or device operated by an owner of the asset (that is, the seller of the asset), and the buyer client 130 refers to a device or device operated by an object (that is, the buyer) who wants to purchase the asset device.

賣方客戶端120負責取得賣方地址。一般而言,賣方客戶端120可以提供輸入賣方地址或由賣方客戶端120的儲存媒體(圖中未示)中讀出賣方地址,但本發明並不以此為限。The seller client 120 is responsible for obtaining the seller address. Generally speaking, the seller client 120 may provide input of the seller address or read out the seller address from a storage medium (not shown) of the seller client 120, but the present invention is not limited thereto.

在部分的實施例中,賣方客戶端120可以接收保管伺服器110所傳送的資產合約地址,並可以依據所接收到之資產合約地址由區塊鏈中取得相對應的資產智能合約,並在所取得的資產智能合約中設定所取得的賣方地址。另外,賣方客戶端120也可以取得代理人地址以及信託伺服器150所取得的拍賣合約地址,並依據所取得之拍合約地址在信託伺服器150所發布的拍賣智能合約中設定所取得的代理人地址。In some embodiments, the seller client 120 may receive the asset contract address transmitted by the custody server 110, and may obtain the corresponding asset smart contract from the blockchain according to the received asset contract address, and The acquired asset smart contract sets the acquired seller address. In addition, the seller client 120 may also obtain the agent address and the auction contract address obtained by the trust server 150, and set the obtained agent in the auction smart contract issued by the trust server 150 according to the obtained auction contract address. address.

也就是說,賣方客戶端120可以產生包含所取得之賣方地址及/或代理人地址的區塊鏈交易,並將所產生的區塊鏈交易發送到區塊鏈網路中,藉以將區塊鏈交易中的賣方地址及/或代理人地址加入包含資產智能合約的區塊鏈中。其中,由於賣方客戶端120在資產智能合約中設定賣方地址及/或代理人地址的過程與保管伺服器發布資產智能合約相同,故以上僅為簡述。In other words, the seller client 120 may generate a blockchain transaction including the obtained seller address and / or agent address, and send the generated blockchain transaction to the blockchain network, so as to send the block The seller address and / or agent address in the chain transaction are added to the blockchain containing the asset smart contract. The process of setting the seller address and / or agent address in the asset smart contract by the seller client 120 is the same as the asset smart contract issued by the storage server, so the above is only a brief description.

買方客戶端130負責取得買方地址。一般而言,賣方客戶端120可以提供輸入買方地址或由買方客戶端130的儲存媒體(圖中未示)中讀出買方地址,但本發明並不以此為限。其中,買方客戶端130之使用者在區塊鏈網路中使用的地址在本發明中被稱為「買方地址」。The buyer client 130 is responsible for obtaining the buyer address. Generally speaking, the seller client 120 may provide input of the buyer address or read out the buyer address from a storage medium (not shown) of the buyer client 130, but the present invention is not limited thereto. Among them, the address used by the user of the buyer client 130 in the blockchain network is referred to as "buyer address" in the present invention.

買方客戶端130負責取得信託伺服器150所取得之拍賣合約地址,並依據所取得的拍賣合約地址由區塊鏈中取得信託伺服器150所發布之與拍賣合約地址相對應的拍賣智能合約,以及負責在所取得的拍賣智能合約中設定下標金額。也就是說,買方客戶端130可以產生包含買方地址與下標金額的區塊鏈交易,並將所產生的區塊鏈交易發送到區塊鏈網路中,藉以將區塊鏈交易中的買方地址與下標金額加入包含拍賣智能合約的區塊鏈中,藉以在拍賣智能合約中設定下標金額。其中,由於買方客戶端130在拍賣智能合約中設定下標金額的過程與保管伺服器發布資產智能合約相同,故以上僅為簡述。The buyer client 130 is responsible for obtaining the auction contract address obtained by the trust server 150, and according to the obtained auction contract address, the auction smart contract corresponding to the auction contract address issued by the trust server 150 in the blockchain is obtained, and Responsible for setting the bid amount in the obtained auction smart contract. That is, the buyer client 130 can generate a blockchain transaction that includes the buyer's address and the subscripted amount, and send the generated blockchain transaction to the blockchain network, so as to send the buyer in the blockchain transaction. The address and the bid amount are added to the blockchain containing the auction smart contract, so as to set the bid amount in the auction smart contract. The process of setting the bid amount in the auction smart contract by the buyer client 130 is the same as the asset smart contract issued by the storage server, so the above is only a brief description.

在部分的實施例中,買方客戶端130也可以預先取得代理人地址,並可以在信託伺服器150所發布之拍賣智能合約中設定代理人地址。一般而言,買方客戶端130可以在設定下標金額的同時一併設定代理人地址。其中,買方客戶端130可以提供買方客戶端130的使用者輸入代理人地址,藉以取得代理人地址,但買方客戶端130取得代理人地址之方式並不以此為限。In some embodiments, the buyer client 130 may also obtain the agent address in advance, and may set the agent address in the auction smart contract issued by the trust server 150. Generally speaking, the buyer client 130 can set the agent address together with the bid amount. Among them, the buyer client 130 may provide a user of the buyer client 130 to enter the agent address to obtain the agent address, but the method for the buyer client 130 to obtain the agent address is not limited thereto.

與買方客戶端130在拍賣智能合約中設定下標金額的過程相同,買方客戶端130所產生的區塊鏈交易可以包含買方地址、下標金額、以及代理人地址,藉以將下標金額與代理人地址一併設定到拍賣智能合約中。但本發明並不以此為限,買方客戶端130也可以分別產生包含買方地址與下標金額以及買方地址與代理人地址的不同區塊鏈交易,並先後將兩個區塊鏈交易發送到區塊鏈網路中,使得下標金額與代理人地址分別被設定到拍賣智能合約中。Similar to the process of the buyer client 130 setting the bid amount in the auction smart contract, the blockchain transaction generated by the buyer client 130 may include the buyer address, the bid amount, and the agent address, so as to compare the bid amount with the agent The person address is set in the auction smart contract together. However, the present invention is not limited to this. The buyer client 130 may also generate different blockchain transactions including the buyer address and the bid amount, and the buyer address and the agent address, and send the two blockchain transactions to In the blockchain network, the bid amount and agent address are set into the auction smart contract respectively.

值得一提的是,在買方客戶端130將代理人地址設定到信託伺服器150所發布的拍賣智能合約中後,拍賣智能合約可以觸發執行保管伺服器110所發布之資產智能合約中的下標代理函式,藉以將買方客戶端130設定到拍賣智能合約中的下標金額由買方客戶端130之使用者所使用的買方帳戶轉帳至代理人帳戶。更詳細地說,拍賣智能合約可以在代理人地址被設定時開始執行,並可以依據所在之區塊鏈中包含的資產合約地址取得相對應的資產智能合約,以及可以取得被設定到拍賣智能合約中的買方地址、代理人地址、以及下標金額,再將所取得的買方地址、代理人地址以及下標金額作為參數,呼叫所取得之資產智能合約中的下標代理函式,如此,下標代理函式可以依據買方地址取得相對應的買方帳戶以及依據代理人地址取得相對應的代理人帳戶,並可以將下標金額由買方帳戶轉帳到代理人帳戶。在部分的實施例中,買方帳戶與代理人帳戶可以是帳聯網帳戶,下標代理函式可以透過呼叫帳聯網的智能合約完成下標金額的轉帳,但下標代理函式轉帳的方式並不以此為限。It is worth mentioning that after the buyer client 130 sets the agent address to the auction smart contract issued by the trust server 150, the auction smart contract can trigger the execution of the subscript in the asset smart contract issued by the custody server 110 The agent function is used to transfer the bid amount set by the buyer client 130 to the auction smart contract from the buyer account used by the user of the buyer client 130 to the agent account. In more detail, the auction smart contract can be executed when the agent address is set, and the corresponding asset smart contract can be obtained according to the asset contract address contained in the blockchain where it is located, and the auction smart contract can be obtained. The buyer's address, agent's address, and bid amount in the bid, and then use the obtained buyer's address, agent's address, and bid amount as parameters to call the bid agent function in the obtained asset smart contract. The bidding agent function can obtain the corresponding buyer account according to the buyer address and the corresponding agent account according to the agent address, and can transfer the bid amount from the buyer account to the agent account. In some embodiments, the buyer's account and the agent's account can be account-linked accounts, and the bidding agent function can complete the transfer of the subscribed amount by calling the smart contract of the account-linked network, but the method of the bidding agent function transfer is not This is the limit.

信託伺服器150負責接收保管伺服器110所傳送之資產合約地址,並負責產生拍賣智能合約。其中,信託伺服器150所產生的拍賣智能合約包含所接收到的資產合約地址、結標函式以及截止條件。上述截止條件為一個或多個判斷式,每一個判斷式可以包含一個或多個檢查值,例如,當判斷式為判斷下標金額是否符合結標金額時,檢查值為結標金額,又如,判斷式為判斷當前時間是否超過截標時間時,檢查值為結標時間,但本發明所提之截止條件並不以上述為限。The trust server 150 is responsible for receiving the asset contract address transmitted by the custody server 110, and is responsible for generating an auction smart contract. The auction smart contract generated by the trust server 150 includes the received asset contract address, the bid closing function, and the deadline. The above-mentioned cut-off condition is one or more judgment formulas, and each judgment formula may include one or more check values. For example, when the judgment formula is to determine whether the bid amount is consistent with the bid amount, the check value is the bid amount. When the judgment formula is to judge whether the current time exceeds the cut-off time, the check value is the closing time, but the cut-off conditions mentioned in the present invention are not limited to the above.

信託伺服器150可以預先儲存智能合約樣板,並在需要產生拍賣智能合約時,依據預先儲存的智能合約樣板產生拍賣智能合約。其中,信託伺服器150所儲存的智能合約樣板中的截止條件可以包含已定義的檢查值,信託伺服器可以將所接收到的資產合約地址加入智能合約樣板中,藉以依據加入資產合約地址的智能合約樣板產生拍賣智能合約;信託伺服器150所儲存的智能合約樣板中的截止條件也可以不包含檢查值,信託伺服器可以將檢查值以及資產合約地址分別加入智能合約樣板中的對應位置,藉以產生拍賣智能合約。但信託伺服器150產生拍賣智能合約的方式並不以上述為限。The trust server 150 may store a smart contract template in advance, and when an auction smart contract needs to be generated, an auction smart contract is generated according to the pre-stored smart contract template. Wherein, the cut-off condition in the smart contract template stored by the trust server 150 may include a defined check value, and the trust server may add the received asset contract address to the smart contract template, so as to rely on the intelligence of the added asset contract address. The contract template generates an auction smart contract; the cut-off condition in the smart contract template stored in the trust server 150 may not include the check value. The trust server may add the check value and the asset contract address to the corresponding positions in the smart contract template, thereby Generate auction smart contracts. However, the manner in which the trust server 150 generates the auction smart contract is not limited to the above.

信託伺服器150也負責發布所產生的拍賣智能合約至區塊鏈中,並取得相對應之拍賣合約地址。與保管伺服器110相同的,信託伺服器150可以產生包含所產生之拍賣智能合約的區塊鏈交易,並將所產生的區塊鏈交易發送到區塊鏈網路中,使得拍賣智能合約被發布到區塊鏈中,同時,信託伺服器150也可以在將拍賣智能合約發布到區塊鏈中的同時,取得與被發布到區塊鏈中之拍賣智能合約相對應的拍賣合約地址。其中,信託伺服器150將拍賣智能合約發布到區塊鏈中的過程與保管伺服器110將資產智能合約發布到區塊鏈中的過程相同,故此僅有簡述。The trust server 150 is also responsible for publishing the generated auction smart contract to the blockchain and obtaining the corresponding auction contract address. Similar to the custody server 110, the trust server 150 can generate a blockchain transaction containing the generated auction smart contract, and send the generated blockchain transaction to the blockchain network, so that the auction smart contract is When publishing to the blockchain, at the same time, the trust server 150 can also obtain the auction contract address corresponding to the auction smart contract published in the blockchain while publishing the auction smart contract into the blockchain. The process by which the trust server 150 publishes the auction smart contract to the blockchain is the same as the process by which the custodial server 110 publishes the asset smart contract to the blockchain, so there is only a brief description.

值得一提的是,當信託伺服器150所發布之拍賣智能合約中的截止條件被滿足時,拍賣智能合約中的結標函式可以在區塊鏈網路中被執行。一般而言,區塊鏈程式無法提供拍賣智能合約自動執行,因此,區塊鏈網路中的裝置或設備,例如信託伺服器150,可以每隔一段時間或定期驅動拍賣智能合約中的結標函式,使得結標函式在區塊鏈網路中被執行。當結標函式被執行時,可以先判斷是否有相同之結標函式的實體正在執行或已經執行完成,或是判斷結標函式是否曾被執行,若是,則結標函式可以結束執行,若否,則結標函式可以繼續執行。另外,在本發明中,也可以修改區塊鏈程式(如私有區塊鏈網路),使得拍賣智能合約中的結標函式可以自動的被執行。It is worth mentioning that when the cut-off condition in the auction smart contract issued by the trust server 150 is satisfied, the bid closing function in the auction smart contract can be executed in the blockchain network. Generally speaking, blockchain programs cannot provide automatic execution of auction smart contracts. Therefore, devices or equipment in the blockchain network, such as the trust server 150, can drive the bidding in auction smart contracts at regular intervals or periodically. Function, so that the closing function is executed in the blockchain network. When the bidding function is executed, you can first determine whether the entity with the same bidding function is running or has completed execution, or whether the bidding function has been executed. If so, the bidding function can end. Run, if not, the bidding function can continue to execute. In addition, in the present invention, a blockchain program (such as a private blockchain network) can also be modified so that the bid closing function in the auction smart contract can be automatically executed.

當拍賣智能合約中的結標函式在被執行時,可以依據被設定到拍賣智能合約中的所有下標金額決定得標者,並可以依據所在之區塊鏈中的資產合約地址觸發執行資產智能合約,藉以由資產智能合約進行得標者與賣方的資產交易與金額轉帳。更詳細的說,拍賣智能合約中的結標函式可以由所有的下標金額中選出金額最高者,藉以選擇與被選出之下標金額一併被設定到拍賣智能合約中的買方地址作為得標者的地址,並可以依據所在之區塊鏈中的資產合約地址由區塊鏈中取得與資產合約地址相對應的資產智能合約,以及將被選擇之下標金額以及與被選擇之下標金額一併被設定到拍賣智能合約中的買方地址(以下將以「得標者地址」描述)作為參數呼叫所取得之資產智能合約中的資產交易函式,使得資產交易函式可以將與資產智能合約中的賣方地址被設定為得標者地址,藉以將與資產智能合約對應之資產的擁有對象由賣家轉移到得標的買家,另外,資產交易函式也可以將被選擇的下標金額由與得標者地址對應的買方帳戶轉帳到與賣方地址對應的賣方帳戶。其中,賣方帳戶與買方帳戶可以是帳聯網的帳戶,資產交易函式可以透過帳聯網中的智能合約將下標金額由買方帳戶轉帳到賣方帳戶,但本發明並不以此為限。When the bid closing function in the auction smart contract is executed, the bid winner can be determined according to all the bid amounts set in the auction smart contract, and the execution of the asset can be triggered according to the asset contract address in the blockchain where it is located. Smart contracts, through which asset bidders and sellers conduct asset transactions and money transfers. In more detail, the bidding conclusion function in the auction smart contract can select the highest amount from all the bid amounts, so that the buyer's address set in the auction smart contract can be selected together with the selected bid amount. The address of the bidder, and the asset smart contract corresponding to the asset contract address can be obtained from the blockchain according to the asset contract address in the blockchain in which it is located, and the amount of the selected bid and the amount of the bid The amount is also set to the buyer's address in the auction smart contract (hereinafter referred to as the "winner address") as a parameter to call the asset transaction function in the asset smart contract, so that the asset transaction function can be linked with the asset The seller's address in the smart contract is set as the address of the successful bidder, so that the owner of the asset corresponding to the smart contract of the asset can be transferred from the seller to the successful buyer. In addition, the asset transaction function can also select the selected bid amount. Transfer from the buyer account corresponding to the address of the successful bidder to the seller account corresponding to the seller's address. The seller's account and the buyer's account can be accounts connected to the account, and the asset transaction function can transfer the subscribed amount from the buyer's account to the seller's account through the smart contract in the account's connection, but the invention is not limited thereto.

在部分的實施例中,若買方客戶端130除了在拍賣智能合約中設定下標金額,也在拍賣智能合約中設定代理人地址。則拍賣智能合約中的結標函式在觸發執行資產智能合約時,可以將被選擇的下標金額、得標者地址、以及與得標者地址一併被設定的代理人地址作為參數,呼叫資產智能合約中的資產交易函式,與上述相似的,資產交易函式可以將與資產智能合約中的賣方地址設定為得標者地址,藉以將與資產智能合約對應之資產的擁有對象由賣家轉移到買家,另外,代理交易函式也可以將被選擇的下標金額由與得標者地址一併被設定之代理人地址相對應的代理人帳戶轉帳到與賣方地址對應的賣方帳戶。其中,若代理人帳戶與賣方帳戶都是帳聯網的帳戶,則資產交易函式可以透過帳聯網中的智能合約將下標金額由代理人帳戶轉帳到賣方帳戶,但本發明並不以此為限。In some embodiments, if the buyer client 130 sets the bid amount in the auction smart contract, it also sets the agent address in the auction smart contract. Then when the bid closing function in the auction smart contract triggers the execution of the asset smart contract, the selected bid amount, the address of the successful bidder, and the address of the agent set together with the successful bidder's address can be used as parameters to call The asset transaction function in the asset smart contract is similar to the above. The asset transaction function can set the seller's address in the asset smart contract as the address of the successful bidder, so that the owner of the asset corresponding to the asset smart contract can be changed by the seller. Transfer to the buyer. In addition, the agent transaction function can also transfer the selected bidding amount from the agent account corresponding to the agent address set with the address of the successful bidder to the seller account corresponding to the seller address. Among them, if the agent account and the seller account are both account-connected accounts, the asset transaction function can transfer the subscribed amount from the agent account to the seller account through the smart contract in the account network, but the present invention does not take this as an example. limit.

此外,拍賣智能合約中的結標函式也可以由拍賣智能合約中逐一取得與非得標者地址之買方地址一起被設定到拍賣智能合約中的下標金額與代理人地址,並將所取得之下標金額、代理人地址、以及所取得之買方地址作為參數,呼叫資產智能合約中的標額返回函式,使得標額返回函式將下標金額由與代理人地址相對應的代理人帳戶轉回與買方地址相對應的買方帳戶,藉以將下標金額由代理人轉回未得標者。In addition, the bidding conclusion function in the auction smart contract can also be obtained from the auction smart contract one by one along with the buyer address of the non-bidder address and set to the bid amount and agent address in the auction smart contract. The bid amount, the agent address, and the obtained buyer address are used as parameters, and the bid amount return function in the asset smart contract is called, so that the bid amount return function sets the bid amount from the agent account corresponding to the agent address The buyer's account corresponding to the buyer's address is transferred back, whereby the bid amount is transferred from the agent to the unsuccessful bidder.

在部分的實施例中,信託伺服器150可以將所取得的拍賣合約地址傳送到賣方客戶端120。In some embodiments, the trust server 150 may transmit the obtained auction contract address to the seller client 120.

接著以一個實施例來解說本發明的運作系統與方法,並請參照「第2A圖」本發明所提之以智能合約數位化不可量化資產並交易之方法流程圖。在本實施例中,假設買方與賣方都不透過代理人交易。Next, an embodiment is used to explain the operating system and method of the present invention, and please refer to "Figure 2A" for a flowchart of a method for digitizing and quantifying non-quantifiable assets using smart contracts. In this embodiment, it is assumed that neither the buyer nor the seller transacts through an agent.

首先,資產的賣方可以先操作賣方客戶端120取得在區塊鏈網路中使用的賣方地址(步驟201),同樣的,欲購買資產的買方可以先操作買方客戶端130取得在區塊鏈網路中使用的買方地址。First, the seller of the asset may first operate the seller client 120 to obtain the seller address used in the blockchain network (step 201). Similarly, the buyer who wants to purchase the asset may first operate the buyer client 130 to obtain the seller's address on the blockchain network. Buyer address used on the road.

另外,資產的賣方可以將資產或資產的所有文件提供給信託保管中心,藉以將資產交付信託,信託保管中心提供的保管伺服器110可以產生與被賣方提供給信託保管中心之資產相對應的資產智能合約(步驟211),以及將所產生的資產智能合約發布到區塊鏈中,並同時取得與被發布之資產智能合約相對應的資產合約地址(步驟215)。在本實施例中,假設資產為房地產,保管伺服器110所產生的資產智能合約即為與房地產對應的資產智能合約。其中,保管伺服器110可以提供輸入賣方客戶端120所取得的賣方地址,並在所發布的資產智能合約中設定賣方地址為擁有者地址,使得賣方地址被加入包含保管伺服器110所發布之資產智能合約的區塊鏈中,如此,透過與資產對應之資產智能合約,賣方即為資產的擁有人。In addition, the seller of the asset can provide the asset or all documents of the asset to the trusteeship center, thereby delivering the asset to the trust, and the custody server 110 provided by the trusteeship center can generate assets corresponding to the assets provided by the seller to the trusteeship center. The smart contract (step 211), and the generated asset smart contract is published to the blockchain, and at the same time, the asset contract address corresponding to the issued asset smart contract is obtained (step 215). In this embodiment, it is assumed that the asset is real estate, and the asset smart contract generated by the custody server 110 is an asset smart contract corresponding to the real estate. Among them, the custody server 110 may provide input of the seller address obtained by the seller client 120, and set the seller address as the owner address in the issued asset smart contract, so that the seller address is added to include the assets issued by the custody server 110. In the smart contract blockchain, as such, through the asset smart contract corresponding to the asset, the seller is the owner of the asset.

在保管伺服器110將資產智能合約發布到區塊鏈中並取得相對應的資產合約地址後,保管伺服器110可以將所取得的資產合約地址傳送給信託伺服器150。After the custody server 110 issues the asset smart contract to the blockchain and obtains the corresponding asset contract address, the custody server 110 may transmit the acquired asset contract address to the trust server 150.

在信託伺服器150接收到保管伺服器110所傳送的資產合約地址後,信託伺服器150可以產生拍賣智能合約(步驟221),以及發布所產生的拍賣智能合約至區塊鏈中,並在發布拍賣智能合約的同時取得與被發布之拍賣智能合約相對應的交易合約地址(步驟225)。接著,信託伺服器150可以在所產生的拍賣智能合約中設定所接收到的資產合約地址,藉以將所接收到的資產合約地址加入包含拍賣智能合約的區塊鏈中。其中,信託伺服器150所產生拍賣智能合約還包含截止條件,在本實施例中,假設截止條件為當前時間大於截止時間。After the trust server 150 receives the asset contract address transmitted by the custody server 110, the trust server 150 can generate an auction smart contract (step 221), and publish the generated auction smart contract to the blockchain, and publish it At the same time as auctioning the smart contract, the transaction contract address corresponding to the issued auction smart contract is obtained (step 225). Then, the trust server 150 may set the received asset contract address in the generated auction smart contract, so as to add the received asset contract address to the blockchain containing the auction smart contract. The auction smart contract generated by the trust server 150 further includes a cut-off condition. In this embodiment, it is assumed that the cut-off condition is that the current time is greater than the cut-off time.

之後,信託伺服器150可以公開所取得之拍賣合約地址,使得買方可以操作買方客戶端130取得拍賣合約地址,並可以依據所取得之拍賣合約地址在拍賣智能合約中下標,也就是在拍賣智能合約中設定買方地址與下標金額(步驟251)。在本實施例中,假設有多個買方欲購買賣方的房地產,每一個買方所使用的買方客戶端130可以依據信託伺服器150公開的拍賣合約地址在區塊鏈中取得拍賣智能合約,並將買方地址以及下標金額加入包含拍賣智能合約的區塊鏈中。如此,拍賣智能合約將可以包含多筆買方地址與下標金額。After that, the trust server 150 can publicize the obtained auction contract address, so that the buyer can operate the buyer client 130 to obtain the auction contract address, and can bid in the auction smart contract based on the obtained auction contract address, that is, in the auction smart The buyer's address and bid amount are set in the contract (step 251). In this embodiment, it is assumed that there are multiple buyers who want to purchase the seller's real estate. The buyer client 130 used by each buyer can obtain the auction smart contract in the blockchain according to the auction contract address disclosed by the trust server 150. The buyer's address and the bid amount are added to the blockchain containing the auction smart contract. In this way, the auction smart contract can contain multiple buyer addresses and bid amounts.

在信託伺服器150將拍賣智能合約發布到區塊鏈中後,拍賣智能合約可以自動的在區塊鏈網路中被執行,拍賣智能合約中的結標函式可以不斷的檢查所包含的截止條件是否被滿足。在本實施例中,也就是判斷當前時間是否大於截止時間。若截止條件沒有被滿足,也就是當前時間小於或等於截止時間,則結標函式可以繼續檢查截止條件。After the trust server 150 publishes the auction smart contract to the blockchain, the auction smart contract can be automatically executed in the blockchain network, and the closing function in the auction smart contract can continuously check the included deadline. Whether the conditions are met. In this embodiment, it is determined whether the current time is greater than the cut-off time. If the cut-off condition is not met, that is, the current time is less than or equal to the cut-off time, the closing function can continue to check the cut-off condition.

而若截止條件被滿足,則結標函式可以由被設定到拍賣智能合約的所有下標金額中選擇與最大之下標金額對應的買方地址,並依據在包含拍賣智能合約中的資產合約地址觸發執行資產智能合約中的資產交易函式(步驟270)。在本實施例中,也就是結標函式判斷當前時間大於截止時間時,選出一個最大的下標金額,並選擇與被選出之下標金額一併被設定到拍賣智能合約中的買方地址作為得標者地址,以及將得標者地址與被選出之下標金額作為參數,呼叫資產交易函式。If the cut-off condition is met, the bid closing function can select the buyer address corresponding to the maximum bid amount from all the bid amounts set to the auction smart contract, and based on the asset contract address included in the auction smart contract. Trigger the execution of the asset transaction function in the asset smart contract (step 270). In this embodiment, that is, when the bid closing function judges that the current time is greater than the cut-off time, it selects a maximum bid amount, and selects the buyer address set in the auction smart contract together with the selected bid amount. The address of the successful bidder, and the parameters of the successful bidder's address and the selected bid amount, are used to call the asset transaction function.

在資產智能合約中的資產交易函式被呼叫而開始執行時,資產交易函式可以依據呼叫參數中的得標者地址(與下標金額一併被設定到拍賣智能合約中的買方地址)進行資產的移轉以及下標金額的轉帳(步驟285)。在本實施例中,資產交易函式可以在資產智能合約中設定得標者地址做為新的擁有者地址,並透過帳聯網將下標金額由與得標者地址對應的買方帳號轉帳到與原先被設定到資產智能合約中之賣方地址對應的賣方帳號。如此,透過本發明便可以在線上完成資產交易。When the asset transaction function in the asset smart contract is called and started to execute, the asset transaction function can be performed according to the address of the successful bidder in the call parameters (which is set to the buyer's address in the auction smart contract along with the bid amount). Transfer of assets and transfer of subscribed amounts (step 285). In this embodiment, the asset transaction function can set the address of the successful bidder in the asset smart contract as the new owner's address, and transfer the bid amount from the buyer's account corresponding to the successful bidder's address to The seller account corresponding to the seller address originally set in the asset smart contract. In this way, asset transactions can be completed online through the present invention.

在上述的實施例中,若資產智能合約中限制僅有透過代理人地址才可以進行資產的移轉,則在信託伺服器150發布拍賣智能合約並取得相對應之拍賣合約地址(步驟225)後,信託伺服器150可以將所取得之拍賣合約地址傳送給賣方客戶端120,賣方客戶端120可以取得代理人地址,並可以依據所接收到的拍賣合約地址由區塊鏈中取得相對應之拍賣智能合約,以及將所取得之代理人地址以及賣方地址加入包含拍賣智能合約的區塊鏈中,藉以在拍賣智能合約中設定代理人地址。In the above embodiment, if the asset smart contract restricts the transfer of assets only through the agent address, after the trust server 150 issues the auction smart contract and obtains the corresponding auction contract address (step 225) The trust server 150 may transmit the obtained auction contract address to the seller client 120, and the seller client 120 may obtain an agent address, and may obtain a corresponding auction from the blockchain according to the received auction contract address. The smart contract, and the obtained agent address and seller address are added to the blockchain containing the auction smart contract, so as to set the agent address in the auction smart contract.

如此,在資產智能合約中的資產交易函式被觸發而執行時,可以判斷執行者在區塊鏈網路中所使用的地址是否與賣方客戶端120所設定的代理人地址相同,若是,則資產交易函式可以繼續被執行,也就是依據買方地址進行資產的移轉與下標金額的轉帳(步驟285),若否,則資產交易函式將停止執行,資產交易將不會進行。In this way, when the asset transaction function in the asset smart contract is triggered and executed, it can be determined whether the address used by the executor in the blockchain network is the same as the agent address set by the seller client 120. If so, then The asset transaction function can continue to be executed, that is, the asset is transferred and the bid amount is transferred according to the buyer's address (step 285). If not, the asset transaction function will be stopped and the asset transaction will not be performed.

另外,在上述的實施例中,若買方客戶端130在取得拍賣合約地址後,並依據所取得之拍賣合約地址在拍賣智能合約中下標時,在拍賣智能合約中設定買方地址、下標金額、以及代理人地址(步驟250)。則如「第2B圖」之流程所示,拍賣智能合約可以觸發執行資產智能合約中的下標代理函式(步驟261),也就是將被設定到拍賣智能合約中的買方地址、下標金額、以及代理人地址作為參數,呼叫下標代理函式,使得下標代理函式在執行時,將下標金額由與買方地址對應的買方帳戶轉帳到與代理人地址對應的代理人帳戶中(步驟265)。In addition, in the above embodiment, if the buyer client 130 obtains the auction contract address and subscribes in the auction smart contract based on the obtained auction contract address, the buyer address and the bid amount are set in the auction smart contract. , And the agent address (step 250). As shown in the flow of "Figure 2B", the auction smart contract can trigger the execution of the bidding agent function in the asset smart contract (step 261), that is, the buyer address and the bid amount to be set in the auction smart contract. , And the agent address as a parameter, call the subscript agent function, so that when the subscript agent function is executed, the subscript amount is transferred from the buyer account corresponding to the buyer address to the agent account corresponding to the agent address ( Step 265).

之後,當拍賣智能合約中的截止條件被滿足時,若買方地址被拍賣智能合約中的結標函式選為得標者地址,則結標函式可以將得標者地址、被選出之下標金額、代理人地址作為參數,呼叫資產智能合約中的資產交易函式,藉以觸發執行資產交易函式(步驟270)。資產交易函式在執行時,可以在資產智能合約中設定得標者地址做為資產的新擁有者地址,並透過帳聯網將下標金額由與代理人地址對應的代理人帳號轉帳到與原先被設定到資產智能合約中之賣方地址對應的賣方帳號。Later, when the cut-off condition in the auction smart contract is met, if the buyer's address is selected as the address of the successful bidder by the bid closing function in the auction smart contract, the bid closing function can The bid amount and the agent address are used as parameters to call the asset transaction function in the asset smart contract to trigger the execution of the asset transaction function (step 270). When the asset transaction function is executed, the bidder's address can be set as the new owner's address in the asset smart contract, and the subscribed amount is transferred from the agent account corresponding to the agent address to the original through the account network. The seller account corresponding to the seller address set in the asset smart contract.

另外,本發明在拍賣智能合約中的結標函式呼叫資產智能合約中的資產交易函式後,也可以如「第2C圖」之流程所示,結標函式可以呼叫資產智能合約中的標額返回函式,藉以觸發執行標額返回函式(步驟291),使得標額返回函式將與未被選為得標者地址一同被設定到拍賣智能合約中之下標金額由與未被選為得標者地址一同被設定到拍賣智能合約中之代理人地址對應的代理人帳戶中轉回與未被選為得標者地址對應的買方帳戶中(步驟295)。如此,結標函式便可以透過資產智能合約完成資產交易。In addition, in the present invention, after the bidding closing function in the smart contract calls the asset transaction function in the asset smart contract, the bidding closing function can also call Bid return function to trigger the execution of the bid return function (step 291), so that the bid return function will be set in the auction smart contract together with the address of the person who has not been selected as the bid winner. The address of the selected bidder is set in the agent account corresponding to the agent address in the auction smart contract and transferred back to the buyer account corresponding to the address of the unselected bidder (step 295). In this way, the bid closing function can complete the asset transaction through the asset smart contract.

綜上所述,可知本發明與先前技術之間的差異在於具有保管伺服器發布資產智能合約並取得相對應之資產合約地址,信託伺服器發布包含資產合約地址及截止條件之拍賣智能合約至區塊鏈中並取得相對應之拍賣合約地址,買方客戶端依據拍賣合約地址於拍賣智能合約中設定買方地址及下標金額,當截止條件被滿足時,拍賣智能合約中之結標函式依據下標金額選擇買方地址,並依據資產合約地址觸發執行資產智能合約中之資產交易函式,使資產交易函式依據被選擇的買方地址進行資產交易技術手段,藉由此一技術手段可以解決先前技術所存在人們對線上交易高價物品沒有信任感的問題,進而達成降低買賣雙方的金錢與時間成本的技術功效。In summary, it can be seen that the difference between the present invention and the prior art is that the custody server issues an asset smart contract and obtains the corresponding asset contract address, and the trust server issues an auction smart contract that includes the asset contract address and the cut-off condition to the district The corresponding auction contract address is obtained in the block chain. The buyer client sets the buyer address and the bid amount in the auction smart contract according to the auction contract address. When the cut-off condition is met, the bidding function in the auction smart contract is based on Select the buyer's address for the bid amount, and trigger the execution of the asset transaction function in the asset smart contract according to the asset contract address, so that the asset transaction function can perform asset transaction technical means based on the selected buyer address. This technology can solve the previous technology There is a problem that people do not have a sense of trust in trading high-priced items online, thereby achieving the technical effect of reducing the money and time costs of buyers and sellers.

再者,本發明之以智能合約數位化不可量化資產並交易之方法,可實現於硬體、軟體或硬體與軟體之組合中,亦可在電腦系統中以集中方式實現或以不同元件散佈於若干互連之電腦系統的分散方式實現。Furthermore, the method for digitizing non-quantifiable assets and trading in smart contracts according to the present invention can be implemented in hardware, software or a combination of hardware and software, and can also be implemented in a centralized manner in computer systems or distributed with different components. Decentralized in several interconnected computer systems.

雖然本發明所揭露之實施方式如上,惟所述之內容並非用以直接限定本發明之專利保護範圍。任何本發明所屬技術領域中具有通常知識者,在不脫離本發明所揭露之精神和範圍的前提下,對本發明之實施的形式上及細節上作些許之更動潤飾,均屬於本發明之專利保護範圍。本發明之專利保護範圍,仍須以所附之申請專利範圍所界定者為準。Although the embodiments disclosed in the present invention are as described above, the content is not intended to directly limit the patent protection scope of the present invention. Any person with ordinary knowledge in the technical field to which the present invention pertains, without departing from the spirit and scope disclosed by the present invention, can make minor modifications to the form and details of the implementation of the present invention, which belongs to the patent protection of the present invention. range. The scope of patent protection of the present invention must still be defined by the scope of the attached patent application.

110‧‧‧保管伺服器110‧‧‧Storage server

120‧‧‧賣方客戶端120‧‧‧Seller Client

130‧‧‧買方客戶端130‧‧‧Buyer client

150‧‧‧信託伺服器150‧‧‧trust server

步驟201‧‧‧賣方客戶端取得於區塊鏈網路中之賣方地址Step 201‧‧‧ The seller client obtains the seller address in the blockchain network

步驟211‧‧‧保管伺服器產生與交付信託之資產對應之資產智能合約Step 211‧‧‧ The custody server generates an asset smart contract corresponding to the assets of the delivery trust

步驟215‧‧‧保管伺服器發布資產智能合約至區塊鏈中,並取得相對應之資產合約地址Step 215‧‧‧ The custody server issues the asset smart contract to the blockchain and obtains the corresponding asset contract address

步驟221‧‧‧信託伺服器產生包含資產合約地址之拍賣智能合約Step 221‧‧‧ The trust server generates an auction smart contract containing the asset contract address

步驟225‧‧‧信託伺服器發布拍賣智能合約至區塊鏈中,並取得相對應之拍賣合約地址Step 225‧‧‧ Trust server issues the auction smart contract to the blockchain and obtains the corresponding auction contract address

步驟250‧‧‧買方客戶端取得拍賣合約地址,並依據拍賣合約地址於拍賣智能合約中設定買方地址、下標金額及代理人地址Step 250‧‧‧The buyer client obtains the auction contract address, and sets the buyer address, the bid amount and the agent address in the auction smart contract according to the auction contract address.

步驟251‧‧‧買方客戶端取得拍賣合約地址,並依據拍賣合約地址於拍賣智能合約中設定買方地址及下標金額Step 251‧‧‧ The buyer client obtains the auction contract address, and sets the buyer address and the bid amount in the auction smart contract according to the auction contract address.

步驟261‧‧‧拍賣智能合約觸發執行資產智能合約中之下標代理函式Step 261‧‧‧The auction of the smart contract triggers the execution of the bidding agent function of the asset smart contract

步驟265‧‧‧下標代理函式將下標金額由買方帳戶轉帳至代理人帳戶Step 265‧‧‧Subscript agent function transfers the bid amount from the buyer's account to the agent's account

步驟270‧‧‧當截止條件被滿足時,拍賣智能合約中之結標函式選擇買方地址,並依據資產合約地址觸發執行資產智能合約中之資產交易函式Step 270‧‧‧When the deadline is met, the bidding function in the auction smart contract selects the buyer address, and triggers the execution of the asset transaction function in the asset smart contract based on the asset contract address.

步驟285‧‧‧資產交易函式依據買方地址進行資產之移轉與下標金額之轉帳Step 285‧‧‧Asset transaction function transfers assets and transfers bid amount based on buyer's address

步驟291‧‧‧結標函式觸發執行資產智能合約中之標額返回函式Step 291‧‧‧The bid closing function triggers the execution of the bid return function in the asset smart contract

步驟295‧‧‧標額返回函式將下標金額由代理人帳戶轉帳至買方帳戶Step 295‧‧‧ Tender amount return function transfers the bid amount from the agent account to the buyer's account

第1圖為本發明所提之以智能合約數位化不可量化資產並交易之系統架構圖。 第2A圖為本發明所提之以智能合約數位化不可量化資產並交易之方法流程圖。 第2B圖為本發明所提之買方客戶端設定代理人地址之方法流程圖。 第2C圖為本發明所提之下標金額由代理人帳戶轉回買方帳戶之方法流程圖。FIG. 1 is a system architecture diagram of digitizing non-quantifiable assets and trading using smart contracts in the present invention. FIG. 2A is a flowchart of a method for digitizing non-quantifiable assets and trading using a smart contract according to the present invention. FIG. 2B is a flowchart of a method for setting a proxy address by a buyer client according to the present invention. FIG. 2C is a flowchart of a method for transferring the subscribed amount from the agent account to the buyer account according to the present invention.

Claims (10)

一種以智能合約數位化不可量化資產並交易之方法,係應用於一區塊鏈網路中,該方法至少包含下列步驟: 一賣方客戶端取得於該區塊鏈網路中之一賣方地址; 一保管伺服器產生與被交付信託之一資產相對應之一資產智能合約,發布該資產智能合約至一區塊鏈中,並取得相對應之一資產合約地址,其中,該資產智能合約包含該賣方地址; 該保管伺服器傳送該資產合約地址至一信託伺服器; 該信託伺服器產生一拍賣智能合約,發布該拍賣智能合約至該區塊鏈中,並取得相對應之一拍賣合約地址,其中,該拍賣智能合約包含該資產合約地址及一截止條件; 一買方客戶端取得於該區塊鏈網路中之一買方地址及該拍賣合約地址,並依據該拍賣合約地址於該拍賣智能合約中設定該買方地址及一下標金額;及 當該截止條件被滿足時,若該拍賣智能合約中之一結標函式選擇該買方地址,則該結標函式依據該資產合約地址觸發執行該資產智能合約中之一資產交易函式,使該資產交易函式依據該買方地址進行該資產之移轉與該下標金額之轉帳。A method for digitizing non-quantifiable assets and trading with smart contracts, which is applied to a blockchain network. The method includes at least the following steps: A seller client obtains a seller address in the blockchain network; A custody server generates an asset smart contract corresponding to an asset of the trust being delivered, issues the asset smart contract to a blockchain, and obtains a corresponding asset contract address, where the asset smart contract contains the The seller's address; the custody server sends the asset contract address to a trust server; the trust server generates an auction smart contract, publishes the auction smart contract to the blockchain, and obtains a corresponding auction contract address, The auction smart contract includes the asset contract address and a cut-off condition; a buyer client obtains a buyer address and the auction contract address in the blockchain network, and based on the auction contract address in the auction smart contract Set the buyer's address and the bid amount; and when the deadline is met, if the auction smart contract The bidding function selects the buyer address, then the bidding function triggers the execution of an asset transaction function in the asset smart contract based on the asset contract address, so that the asset transaction function performs the transfer of the asset according to the buyer address Transfer with the bid amount. 如申請專利範圍第1項所述之以智能合約數位化不可量化資產並交易之方法,其中該方法於該買方客戶端取得該拍賣合約地址之步驟前,更包含該信託伺服器傳送該拍賣合約地址至該賣方客戶端,及該賣方客戶端依據該拍賣合約地址於該拍賣智能合約中設定一代理人地址之步驟。As described in item 1 of the scope of patent application, the method of digitizing and quantifying non-quantifiable assets with smart contracts and trading, wherein the method further includes the trust server transmitting the auction contract before the buyer client obtains the auction contract address. An address to the seller client, and the seller client setting a proxy address in the auction smart contract according to the auction contract address. 如申請專利範圍第1項所述之以智能合約數位化不可量化資產並交易之方法,其中該買方客戶端依據該拍賣合約地址於該拍賣智能合約中設定該下標金額之步驟,更包含該買方客戶端於該拍賣智能合約中設定一代理人地址,使該拍賣智能合約觸發執行該資產智能合約中之一下標代理函式,藉以將該下標金額由與該買方地址對應之一買方帳戶轉帳至與該代理人地址對應之一代理人帳戶之步驟。As described in item 1 of the scope of the patent application, the method of digitizing and quantifying non-quantifiable assets with smart contracts and trading, wherein the buyer client sets the bid amount in the auction smart contract according to the auction contract address, and further includes the The buyer client sets an agent address in the auction smart contract, so that the auction smart contract triggers execution of a bidding agent function in the asset smart contract, so that the bidding amount is set by a buyer account corresponding to the buyer address The step of transferring money to a proxy account corresponding to the proxy address. 如申請專利範圍第3項所述之以智能合約數位化不可量化資產並交易之方法,其中該方法更包含當該截止條件被滿足時,若該買方地址未被該結標函式選擇,則該結標函式觸發執行該資產智能合約中之一標額返回函式,藉以將該下標金額由該代理人帳戶轉帳至該買方帳戶之步驟。As described in item 3 of the scope of the patent application, the method of digitizing non-quantifiable assets and trading with smart contracts, wherein the method further includes when the deadline is met, if the buyer address is not selected by the bid closing function, then The bid settlement function triggers a step of executing a bid return function in the asset smart contract to transfer the bid amount from the agent account to the buyer account. 如申請專利範圍第1項所述之以智能合約數位化不可量化資產並交易之方法,其中該結標函式進行該下標金額之轉帳之步驟為該資產交易函式透過帳聯網進行轉帳。As described in item 1 of the scope of the patent application, the method of digitizing and quantifying non-quantifiable assets using smart contracts and transactions, wherein the step of transferring the bid amount by the bid settlement function is that the asset transaction function transfers the account via the account network. 一種以智能合約數位化不可量化資產並交易之系統,係應用於一區塊鏈網路中,該系統至少包含: 一賣方客戶端,用以取得於該區塊鏈網路中之一賣方地址; 一保管伺服器,用以產生與被交付信託之資產相對應之一資產智能合約,及用以發布該資產智能合約至一區塊鏈中,並取得相對應之一資產合約地址,其中,該資產智能合約包含該賣方地址; 一信託伺服器,用以接收該保管伺服器所傳送之該資產合約地址,並產生一拍賣智能合約,及用以發布該拍賣智能合約至該區塊鏈中,並取得相對應之一拍賣合約地址,其中,該拍賣智能合約包含該資產合約地址及一截止條件;及 至少一買方客戶端,每一該買方客戶端用以取得於該區塊鏈網路中之一買方地址及該拍賣合約地址,並依據該拍賣合約地址於該拍賣智能合約中設定該買方地址及一下標金額; 其中,當該截止條件被滿足時,該拍賣智能合約依據各該下標金額選擇一該買方地址,並依據該資產合約地址觸發執行該資產智能合約之一資產交易函式,使該資產交易函式依據該被選擇之買方地址進行該資產之移轉與該下標金額之轉帳。A system that digitizes and quantifies non-quantifiable assets using smart contracts is applied to a blockchain network. The system includes at least: a seller client to obtain a seller address in the blockchain network. A custody server for generating an asset smart contract corresponding to the assets of the trust being delivered, and for issuing the asset smart contract to a blockchain and obtaining a corresponding asset contract address, of which, The asset smart contract includes the seller's address; a trust server for receiving the asset contract address transmitted by the custody server, generating an auction smart contract, and issuing the auction smart contract to the blockchain And obtain a corresponding auction contract address, wherein the auction smart contract includes the asset contract address and a deadline; and at least one buyer client, each buyer client is used to obtain the blockchain network One of the buyer's address and the auction contract address, and set the buyer address and the bid amount in the auction smart contract according to the auction contract address; When the cut-off condition is satisfied, the auction smart contract selects a buyer address according to each bid amount, and triggers the execution of an asset transaction function of the asset smart contract based on the asset contract address, so that the asset transaction function The transfer of the asset and the transfer of the bid amount are performed according to the selected buyer address. 如申請專利範圍第6項所述之以智能合約數位化不可量化資產並交易之系統,其中該信託伺服器更用以傳送該拍賣合約地址至該賣方客戶端,且該賣方客戶端更用以依據該拍賣合約地址於該拍賣智能合約中設定一代理人地址。The system for digitizing and trading non-quantifiable assets using smart contracts as described in item 6 of the scope of patent application, wherein the trust server is further used to transmit the auction contract address to the seller client, and the seller client is further used An agent address is set in the auction smart contract according to the auction contract address. 如申請專利範圍第6項所述之以智能合約數位化不可量化資產並交易之系統,其中該至少一買方客戶端更用以於該拍賣智能合約中設定一代理人地址,使該拍賣智能合約觸發執行該資產智能合約中之一下標代理函式,藉以將該至少一買方客戶端所設定之下標金額由與該至少一買方客戶端所取得之買方地址對應之一買方帳戶轉帳至與該代理人地址對應之一代理人帳戶。The system for digitizing and trading non-quantifiable assets with smart contracts as described in item 6 of the scope of patent application, wherein the at least one buyer client is further used to set an agent address in the auction smart contract so that the auction smart contract Trigger the execution of a bidding agent function in the asset smart contract, thereby transferring the bidding amount set by the at least one buyer client from a buyer account corresponding to the buyer address obtained by the at least one buyer client to the buyer account The proxy address corresponds to one of the proxy accounts. 如申請專利範圍第8項所述之以智能合約數位化不可量化資產並交易之系統,其中該結標函式更用以呼叫該資產智能合約中之一標額返回函式,藉以將取得未被選擇之買方地址之該至少一買方客戶端所設定之下標金額由該代理人帳戶轉帳至該買方帳戶。As described in item 8 of the scope of the patent application, a system for digitizing and trading non-quantifiable assets with smart contracts, wherein the bid closing function is further used to call a bid return function in the asset smart contract, so as to obtain The subscribed amount set by the at least one buyer client of the selected buyer address is transferred from the agent account to the buyer account. 如申請專利範圍第6項所述之以智能合約數位化不可量化資產並交易之系統,其中該資產交易函式是透過帳聯網進行該下標金額之轉帳。As described in item 6 of the scope of the patent application, a system for digitizing and trading non-quantifiable assets using smart contracts, wherein the asset transaction function is to transfer the subscribed amount through the account network.
TW106103352A 2017-01-26 2017-01-26 System for digitizing and trading unquantifiable asset and method thereof TWI659377B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW106103352A TWI659377B (en) 2017-01-26 2017-01-26 System for digitizing and trading unquantifiable asset and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW106103352A TWI659377B (en) 2017-01-26 2017-01-26 System for digitizing and trading unquantifiable asset and method thereof

Publications (2)

Publication Number Publication Date
TW201828202A TW201828202A (en) 2018-08-01
TWI659377B true TWI659377B (en) 2019-05-11

Family

ID=63960479

Family Applications (1)

Application Number Title Priority Date Filing Date
TW106103352A TWI659377B (en) 2017-01-26 2017-01-26 System for digitizing and trading unquantifiable asset and method thereof

Country Status (1)

Country Link
TW (1) TWI659377B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109064335A (en) * 2018-08-27 2018-12-21 深圳前海益链网络科技有限公司 A kind of data trade method and device based on intelligent contract
CN109584079B (en) * 2018-11-29 2021-06-01 创新先进技术有限公司 Resource processing system, and method, device and equipment for approving resource project declaration
KR102151895B1 (en) 2018-11-30 2020-09-03 알리바바 그룹 홀딩 리미티드 A platform for atomic transmission of smart assets within a blockchain network
CN110048995B (en) * 2018-12-05 2021-02-09 创新先进技术有限公司 Method and device for confirming content of multimedia protocol and electronic equipment
WO2020177640A1 (en) * 2019-03-01 2020-09-10 Up Blockchain Technology Limited Systems and methods for facilitating open-ended dutch auction
TWI772654B (en) * 2019-06-21 2022-08-01 天宿智能科技股份有限公司 Escrowing system for cross-blockchain third-party settlement and method thereof

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201033928A (en) * 2009-03-11 2010-09-16 Inotera Memories Inc Method for searching out the correlation between the tool PM and the product yield
CN101964101A (en) * 2010-10-14 2011-02-02 周昱 Online commodity bargaining method and system
CN105893042A (en) * 2016-03-31 2016-08-24 北京航空航天大学 Intelligent contract implementation method based on block chain
CN105976231A (en) * 2016-06-24 2016-09-28 深圳前海微众银行股份有限公司 Asset management method based on intelligent block chain contracts and nodes
CN106022917A (en) * 2016-05-08 2016-10-12 杭州复杂美科技有限公司 Block chain matching exchange scheme

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201033928A (en) * 2009-03-11 2010-09-16 Inotera Memories Inc Method for searching out the correlation between the tool PM and the product yield
CN101964101A (en) * 2010-10-14 2011-02-02 周昱 Online commodity bargaining method and system
CN105893042A (en) * 2016-03-31 2016-08-24 北京航空航天大学 Intelligent contract implementation method based on block chain
CN106022917A (en) * 2016-05-08 2016-10-12 杭州复杂美科技有限公司 Block chain matching exchange scheme
CN105976231A (en) * 2016-06-24 2016-09-28 深圳前海微众银行股份有限公司 Asset management method based on intelligent block chain contracts and nodes

Also Published As

Publication number Publication date
TW201828202A (en) 2018-08-01

Similar Documents

Publication Publication Date Title
TWI659377B (en) System for digitizing and trading unquantifiable asset and method thereof
TWI646484B (en) Financing system for accounts receivable based on blockchain smart contract and method thereof
US20200279321A1 (en) Systems and methods for facilitating an open-ended dutch auction
JP2022017537A (en) System for reverse bid type auction and method
US20150066679A1 (en) Methods and systems for generating merchandise leads
CN110648204A (en) Method and apparatus for arbitration
TWI680423B (en) System for digitizing and trading quantified assets and method thereof
KR101666083B1 (en) System and method for evaluating loan based on sale credit
US20140108215A1 (en) System and methods for trading
JP2002049877A (en) System and method for selling and buying security, security sales managing system, and recording medium
KR20110111621A (en) Secondhand goods trading method using inspection center on internet
US20130297438A1 (en) System and method for providing bidding and execution of fractional ownership assets
KR101666084B1 (en) System and method for managing loan based on sale credit
JP2002109286A (en) Bucket auction system, computer readable recording medium recording the same and bucket auction device
KR20140127083A (en) Online auction method and system for used articles
CN105719179A (en) Auction system based on mobile payment
WO2020177640A1 (en) Systems and methods for facilitating open-ended dutch auction
US20220237722A1 (en) Anonymous price and progressive display execution apparatus, system and method
US20160196624A1 (en) A Method, Process and System for Facilitation and Management of Real Estate Transactions
KR20010113986A (en) Real time auction system by internet and method thereof
US20150356677A1 (en) Private fund exchange system
TWI690882B (en) Storage medium, device and method for processing commodity trading information
TW201638844A (en) Trading system and method with seller-defined installments
TW201617990A (en) Merchandise auction and transaction method and system for automatically extending bidding period
KR100387329B1 (en) Multi-auction Method Including a Mediation System