TW202133078A - Group-Buying Platform System and Implementation Method Thereof Based on Blockchain Network - Google Patents
Group-Buying Platform System and Implementation Method Thereof Based on Blockchain Network Download PDFInfo
- Publication number
- TW202133078A TW202133078A TW109106441A TW109106441A TW202133078A TW 202133078 A TW202133078 A TW 202133078A TW 109106441 A TW109106441 A TW 109106441A TW 109106441 A TW109106441 A TW 109106441A TW 202133078 A TW202133078 A TW 202133078A
- Authority
- TW
- Taiwan
- Prior art keywords
- group
- transaction
- buying
- information
- electronic device
- Prior art date
Links
Images
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
Description
本發明涉及網際網路技術領域,尤指一種應用區塊鏈技術(Blockchain),使團購平台的交易過程及相關資訊均具有不可否認性、不可偽造、不可逆改等特性的「基於區塊鏈的團購平台系統及其實施方法」。The present invention relates to the field of Internet technology, in particular to a "blockchain-based technology" that uses blockchain technology (Blockchain) to make the transaction process and related information of the group buying platform have the characteristics of non-repudiation, non-forgery, and irreversible modification. Group buying platform system and its implementation method".
隨著資訊網路的發達,電子商務的發展亦日趨蓬勃,而團購作為一種電子銷售模式,只要集合足夠人數的消費者,便可用較優惠之價格購買商品,具有賣家能薄利多銷與減少庫存,買家能得到優惠、節省金錢的優點,團購訂單資料通常須儲存在中心化的平台端伺服器,以證明該筆團購交易訂單確實存在,但平台端伺服器若為保全自身利益,而對訂單資料進行不當竄改,一旦買賣後出現消費糾紛,將導致團購參與者取證困難,而難以維護其消費權益,進而可能影響交易雙方對團購平台的信任,再者,即便交易資料係儲存於公正的第三方託管伺服器,託管伺服器若遭到駭客入侵,仍有導致資料毀損、遺失或不當變更的可能。With the development of information networks, the development of e-commerce is also booming. Group buying is an electronic sales model. As long as a sufficient number of consumers are gathered, goods can be purchased at a relatively favorable price, which allows sellers to make small profits but increase sales and reduce inventory. Buyers can get discounts and save money. Group purchase order information usually needs to be stored on a centralized platform-side server to prove that the group-buying transaction order does exist. However, if the platform-side server is to protect its own interests, Improper tampering of order information, once a consumer dispute occurs after the sale, it will make it difficult for group buying participants to obtain evidence and it is difficult to maintain their consumer rights, which may affect the trust of both parties in the group buying platform. Moreover, even if the transaction information is stored in a fair Third-party hosting server, if the hosting server is hacked, there is still the possibility of data corruption, loss or improper changes.
另,在既有的團購模式中,使用者通常只能被動地從團購平台所創建的團購項目進行選擇,而必須受限於團購平台所設定的團購商品及價格,換言之,團購平台所推送給使用者的團購資訊未必符合其需求。In addition, in the existing group buying model, users usually can only passively choose from group buying items created by the group buying platform, and must be limited to the group buying products and prices set by the group buying platform. In other words, the group buying platform pushes to The user’s group buying information may not meet their needs.
綜上可知,對於如何有效防止團購交易資料被不當竄改或隱藏/銷毀、如何減少團購消費爭議、如何確保團購交易資料的資料完整性、以及如何確保團購交易過程的不可否認性與資料不可逆,目前的團購交易技術仍有待改良。In summary, how to effectively prevent group purchase transaction data from being improperly altered or concealed/destroyed, how to reduce group purchase consumption disputes, how to ensure the data integrity of group purchase transaction data, and how to ensure the non-repudiation and irreversibility of the group purchase transaction process. The technology of group buying transactions still needs to be improved.
為達上述目的,本發明提出一種基於區塊鏈的團購平台系統及其實施方法,團購平台系統包括一交易伺服器、一團購平台、一資料庫及一區塊鏈網路中的多個網路節點,交易伺服器可於資料庫定義作為一發起者的一第一電子裝置,與作為一參與者的一第二電子裝置之間,形成一第一團購群組,並儲存於資料庫;交易伺服器亦可基於第一團購群組及第一電子裝置創建的一團購資訊,產生一團購交易,團購交易包含團購資訊、一交易方識別資訊及一交易過程資訊,團購資訊包含一團購商品名稱、一團購價格及一團購數量;交易伺服器亦可對各團購交易進行雜湊與加密演算,以產生一加密團購交易資訊,並發佈至一區塊鏈網路的多個網路節點,而各網路節點可基於一共識演算法,決定其中一網路節點接收的加密團購交易資訊,可被所有的網路節點接受為一合法區塊,合法區塊供以廣播給其它的網路節點,使所有的網路節點維護相同版本,且均包含加密團購交易資訊的一區塊鏈。In order to achieve the above objective, the present invention proposes a blockchain-based group buying platform system and its implementation method. The group buying platform system includes a transaction server, a group buying platform, a database, and multiple networks in a blockchain network. At the road node, the transaction server can define a first electronic device as an initiator and a second electronic device as a participant in the database to form a first group buying group and store it in the database; The transaction server can also generate a group-buying transaction based on the group-buying information created by the first group-buying group and the first electronic device. The group-buying transaction includes group-buying information, transaction party identification information, and transaction process information, and the group-buying information includes a group-buying product The name, the price of a group purchase, and the quantity of a group purchase; the transaction server can also hash and encrypt each group purchase transaction to generate an encrypted group purchase transaction information and publish it to multiple network nodes of a blockchain network. Based on a consensus algorithm, each network node can determine that the encrypted group purchase transaction information received by one of the network nodes can be accepted as a legal block by all network nodes, and the legal block can be broadcast to other network nodes , So that all network nodes maintain the same version, and all contain a blockchain with encrypted group buying transaction information.
除了以上功能,交易伺服器亦可允許第二電子裝置作為另一發起者,邀請尚未加入第一團購群組的一第三電子裝置,加入一第二團購群組以產生另一團購交易,且另一團購交易可發佈至區塊鏈網路進行共識驗證。In addition to the above functions, the transaction server can also allow the second electronic device to act as another initiator to invite a third electronic device that has not joined the first group buying group to join a second group buying group to generate another group buying transaction, and Another group purchase transaction can be posted to the blockchain network for consensus verification.
於另一實施例中,交易伺服器更包含一金流模組,其可讓第二電子裝置於團購平台支付等值於團購價格之交易金額後,由區塊鏈網路的各網路節點進行共識驗證。In another embodiment, the transaction server further includes a cash flow module, which allows the second electronic device to pay the transaction amount equivalent to the group purchase price on the group purchase platform, and then each network node of the blockchain network will make a consensus. verify.
於另一實施例中,交易伺服器更包含一智能合約模組,其可判斷交易過程資訊的更新是否觸發一合約條款條件,或判斷團購交易的團購數量是否觸發一目標條件,以由區塊鏈網路的各網路節點完成共識驗證後,對第一電子裝置或第二電子裝置執行一合約狀態轉換,或使團購價格更新為一第二團購價格。In another embodiment, the transaction server further includes a smart contract module, which can determine whether the update of transaction process information triggers a contract term and condition, or whether the group purchase quantity of a group purchase transaction triggers a target condition, so that the block After each network node of the chain network completes the consensus verification, it performs a contract state transition on the first electronic device or the second electronic device, or updates the group purchase price to a second group purchase price.
為使 貴審查委員得以清楚了解本發明之目的、技術特徵及其實施後之功效,茲以下列說明搭配圖示進行說明,敬請參閱。In order for your reviewer to have a clear understanding of the purpose, technical features and effects of the present invention after implementation, the following descriptions and illustrations are used for illustration, please refer to it.
請參閱「第1圖」,其為本發明之系統架構圖,本發明的團購平台系統10可讓多個電子裝置(101、102、103...)通過一網際網路N1於一團購平台201進行團購,團購平台系統10包含團購平台201、一交易伺服器20、一資料庫203及一區塊鏈網路N2中的多個網路節點(301、302、303...),其中:
(1) 團購平台201與資料庫203可分別與交易伺服器202通訊連接,且交易伺服器202可通過團購平台201,利用例如Web Service、Web API或WCF等服務與電子裝置(101、102、103...)進行數據交換,以使交易伺服器202產生一團購交易T1;
(2) 其中,前述的資料庫203可為一資料庫主機、一雲端資料庫或以多個資料庫檔案(例如微軟SQL Server 資料庫檔案)的形式儲存在交易伺服器202,且各資料庫檔案中可分別再包含多個資料表(Table);
(3) 交易伺服器202具有一處理器2021,另有耦接於處理器2021的一安全模組2022,其儲存有執行雜湊演算、加解密演算、電子簽章(Digital Signature,亦可稱數位簽章)所需的程式指令,以供處理器2021從一記憶體載入後予以執行;
(4) 其中,前述的雜湊演算可為SHA-0、SHA-1、SHA-2、SHA-3、MD5、BLAKE2等單向散列演算法,或是MD5、SHA的加密雜湊函式(cryptographic hash function),但不以此為限,舉凡可將任何長度的資料轉換為一組由數字、字母所組成且不可逆的散列字串(或稱訊息摘要:Message Digest)的演算法,皆屬本發明所稱的雜湊演算;
(5) 其中,前述的電子簽章主要包含「簽署」及「驗證」的機制,舉例而言,若A(第一電子裝置101)想傳送一資料(例如已確認購買的資訊)給B(第二電子裝置102),則可先對該資料進行雜湊演算,再以A的私鑰進行加密,以將得到的一加密資料傳送給B,接著,B可對其收到的明文資料進行雜湊演算,同時利用A的公鑰對收到的該加密資料進行解密,藉此,再將兩個雜湊值進行比對,若為相同,即可證明資料確實是由A所發送,且資料在傳輸的過程中並沒有遭到竄改;另電子簽章亦可用於證明一加密貨幣錢包的所有權,若使用者遺失其私鑰,將無法從錢包中提領加密貨幣;
(6) 交易伺服器202可於資料庫203定義作為一發起者的一第一電子裝置101,與作為一參與者的一第二電子裝置102之間,形成一第一團購群組G1,並儲存於資料庫203;
(7) 交易伺服器202可基於第一團購群組G1、及第一電子裝置101作為發起者所創建的一團購資訊,產生至少兩電子裝置(101、102...)之間的一團購交易T1,團購交易T1包含前述團購資訊、一交易方識別資訊及一交易過程資訊,團購資訊包含一團購商品名稱、一團購價格及一團購數量;
(8) 其中,前述的交易方識別資訊可為發起者(例如第一電子裝置101)及參與者(其它電子裝置)的一裝置識別碼(ICCID碼、IMEI碼等)、一電話號碼、一使用者ID等,但並不以此為限;
(9) 其中,前述的交易過程資訊可為一交易明細資訊、一訂單成立時間、一付款時間、一出貨時間、一到貨時間、一取貨時間、一退貨時間、一訂單完成時間之其中一種或其任意組合,但並不以此為限;
(10) 其中,本實施例的交易伺服器202亦可允許第二電子裝置102作為另一發起者,邀請尚未加入第一團購群組G1的一第三電子裝置103,基於類同於原始的團購資訊,建立另一團購資訊而加入一第二團購群組G2,以產生另一團購交易T2,藉此,可避免第三電子裝置103加入第一團購群組G1後,仍無意願參與團購的情況;
(11) 承上,換言之,即便第三電子裝置103接受第一電子裝置101或第二電子裝置102之邀請,而加入第一團購群組G1,可能會因為不熟識發起者(第一電子裝置101),僅與第二電子裝置102熟識,而影響其參與團購的意願,如此一來,第一電子裝置101於第一團購群組G1通過交易伺服器202,發送給第一團購群組G1的第三電子裝置103的團購資訊,若未讓交易伺服器202產生團購交易,則其即屬一種網路流量的浪費,導致團購平台201推送了不必要的團購資訊;
(12) 交易伺服器202的安全模組2022可對各團購交易(例如團購交易T1、T2...等)進行雜湊與加密演算,以產生一加密團購交易資訊,並發佈至區塊鏈網路N2的多個網路節點(301、302、303...);各網路節點(301、302、303...)彼此通訊連接,其可基於一共識演算法,決定其中一網路節點301接收的加密團購交易資訊,可被所有的網路節點(301、302、303...)接受為一合法區塊,合法區塊可被廣播給其它的網路節點(302、303...),使所有的網路節點(301、302、303...)維護同一版本且均包含加密團購交易資訊的一區塊鏈;
(13) 承上,有關合法區塊的說明,若以工作量證明(PoW)作為本實施例的共識演算法,則當其中一網路節點301優先計算出符合要求的數值解時(例如算出的雜湊值小於一困難指數時),即可成功建立一區塊,並可把這個區塊進行打包(block,或稱封鎖),以獲得相對應的一虛擬貨幣獎勵(例如10單位的加密貨幣),並將該交易廣播至區塊鏈網路N2進行驗證,若通過其它網路節點(302、303...)的共識驗證,則其它正在計算同一數值解的網路節點(302、303...)將會放棄計算,而這個新產生的區塊將會被視為合法區塊,並納入一主鏈的最新區塊,以與鏈上的前一區塊產生連結;
(14) 其中,前述的共識演算法可例如為一工作量證明(Proof of Work)、一權益證明(PoS,Proof of Stake)、一權威證明(PoA,Proof-of-Authority)、或一代理權益證明(DPoS,Delegated Proof of Stake)的共識機制,但並不以此為限。Please refer to "Figure 1", which is a system architecture diagram of the present invention. The group-buying
請參閱「第2圖」,其為本發明之實施流程圖,並請搭配參閱「第1圖」,本發明提供一種團購平台系統的實施方法S,首先,請參閱「第3圖」之實施示意圖,一第一電子裝置101可先通過一團購平台201連線至一交易伺服器202,並作為一發起者,於第一電子裝置101輸入一團購資訊D1,以建立一第一團購群組G1,而與第一電子裝置101形成邀請關係的一第二電子裝置102可於團購平台201檢視一團購群組清單,團購群組清單可顯示第二電子裝置102已受邀加入的第一團購群組G1的資訊,團購群組清單亦可顯示第二電子裝置102作為另一發起者,基於類同於團購資訊D1的另一團購資訊D1’所創建的第二團購群組G2,團購群組清單亦可顯示第二電子裝置102受一第三電子裝置103之邀請,而加入基於又一團購資訊D2的一第三團購群組G3,其後可執行以下步驟:(1)
產生團購交易(步驟S1):請參閱「第4圖」~「第5圖」之資訊流示意圖,交易伺服器202基於與第一電子裝置101形成邀請關係的第二電子裝置102的第一團購群組G1,以及基於第一電子裝置101作為發起者而創建的一團購資訊D1,產生一團購交易T1,其中,交易伺服器202可於一資料庫203定義團購交易T1包含團購資訊D1、一交易方識別資訊及一交易過程資訊,團購資訊D1包含一團購商品名稱、一團購價格及一團購數量;(2)
承上,步驟S1執行時,交易伺服器202亦允許第二電子裝置102作為另一發起者,邀請尚未加入第一團購群組G1的一第三電子裝置103,加入一第二團購群組G2,以基於類同於團購資訊D1的另一團購資訊D1’產生另一團購交易T2,較佳地,本實施例的交易伺服器202亦可限制第二電子裝置102,僅能邀請尚未加入第一團購群組G1的一第三電子裝置103,加入第二團購群組G2;(3)
團購資訊雜湊與加密(步驟S2):如「第4圖」之資訊流示意圖(一)所示,交易伺服器202的一安全模組2022對一或多筆團購交易(T1、T2...)進行雜湊與加密演算,以產生一加密團購交易資訊En(T),並發佈至一區塊鏈網路N2的多個網路節點(301、302、303...);(4)
團購資訊共識驗證(步驟S3):各網路節點(301、302、303...)可基於一共識演算法,決定其中一網路節點301接收的加密團購交易資訊En(T),可被所有的網路節點(301、302、303...)接受為一合法區塊B,完成共識驗證後,使合法區塊B廣播給其它的網路節點(302、303...),使所有的網路節點(301、302、303...)維護包含加密團購交易資訊En(T)的一區塊鏈C,即如「第6圖」之資訊流示意圖(三)所示;(5)
承上,「第6圖」所例示的「根節點加密雜湊值」即指「加密團購交易資訊En(T)」,其作為合法區塊B的交易紀錄資料總成,本實施例係以梅克爾樹(Merkle trees,亦可稱Hash Tree)結構作為加密團購交易資訊En(T)的資料結構,若以「工作量證明(PoW)」的共識演算法為例,由圖中所示的「區塊#6」可知,各合法區塊B可包括多個中繼資料(Block Metadata)及一區塊體(Block Body),前述的中繼資料可包含一父區塊(例如區塊#5)區塊頭雜湊值(Previous Block Header Hash)、一時間戳(Timestamp)、一Nonce值(隨機值)及一根節點加密雜湊值(Merkle Tree Root);前述的區塊體可包含一交易紀錄(Transactions),且交易紀錄得以梅克爾樹結構表示產生「區塊#6」的所有交易資料,以記錄包含「團購資訊」、「交易方識別資訊」、「交易過程資訊」之各中間節點雜湊值的交易資料,且根節點加密雜湊值可分別引用自作為中間節點的「團購資訊」、「交易方識別資訊」、「交易過程資訊」的雜湊值,並以此為基礎生成統一的「根節點加密雜湊值」;(6)
承上,其中一中間節點「團購資訊」的雜湊值可分別引用自作為葉節點的「團購商品」、「團購價格」、「團購數量」及「團購條件」的雜湊值,藉此,可讓每個區塊與前一區塊的資料產生無形連結,以確保區塊序列及歷史團購交易紀錄的正確性,同時通過梅克爾樹結構亦可大量減少區塊鏈網路N2的資料運算量,但以上僅為舉例,並不以此種資料結構及共識演算法為限。Please refer to "Figure 2", which is the flow chart of the implementation of the present invention. Please also refer to "Figure 1". The present invention provides an implementation method S of a group buying platform system. First, please refer to the implementation of "Figure 3" In a schematic diagram, a first
請參閱「第7圖」,其為本發明之另一實施例(一),本實施例與「第1圖」~「第2圖」所示實施例的技術類同,主要差異在於,團購平台系統10的交易伺服器202更具有耦接於處理器2021的一金流模組2023,其儲存有可供進行使用者進行例如線上支付與銀行轉帳的程式指令,以供處理器2021從一記憶體載入後予以執行,換言之,金流模組2023可於步驟S1執行時,供第二電子裝置102於團購平台201以例如一電子貨幣(或稱電子票證)、一虛擬貨幣、一加密貨幣、或執行一電子化支付功能,支付等值於團購價格之交易金額後,產生被定義為交易過程資訊之變化特徵的一付款時間資訊,以由區塊鏈網路N2的各網路節點(301、302、303…)進行共識驗證;其中,前述的電子貨幣可例如為預先儲值於一智慧型晶片卡的貨幣,智慧型晶片卡可指由非銀行業者預先收款,並儲值特定金額至以私鑰進行訊號加密的晶片卡中,例如現有的悠遊卡、一卡通即採此種形式;前述的虛擬貨幣可例如為團購平台201所發行的一電磁紀錄,並可根據它是否可和法定貨幣兌換與否,分為封閉型(例如Dinar幣)和開放型(例如亞馬遜幣);前述的加密貨幣可例如為比特幣(BTC)、以太幣(ETH)等;前述的電子化支付功能可例如為通過金融電子資料交換(Financial Electronic Data Interchange, FEDI)技術,與金融機構連線進行資金調撥、轉帳等金融服務,亦可指使用者以信用卡/金融卡進行網路支付的功能,亦可指由交易伺服器202作為第三方,為團購發起者及參與者代收代付(類同於現有的Pi行動錢包)款項,並存在一網路儲值帳戶的功能,但以上僅為舉例,皆不以此為限。Please refer to "Figure 7", which is another embodiment (1) of the present invention. This embodiment is technically similar to the embodiments shown in "Figure 1" ~ "Figure 2". The main difference is that group buying The
請參閱「第8圖」,其為本發明之另一實施例(二),本實施例與「第1圖」~「第2圖」所示實施例的技術類同,主要差異在於,團購平台系統10的交易伺服器202更具有耦接於處理器2021的一智能合約模組2024,其可於步驟S3執行完畢後,接續執行「觸發智能合約執行」(即步驟S4):交易伺服器202依據預定義的一模組化智能合約SC,判斷交易過程資訊的更新是否觸發一合約條款條件,若有,則區塊鏈網路N2的各網路節點(301、302、303…)可對交易過程資訊的變化特徵值完成驗證後,對第一電子裝置101或第二電子裝置102執行一合約狀態轉換。Please refer to "Figure 8", which is another embodiment (2) of the present invention. This embodiment is technically similar to the embodiments shown in "Figure 1" ~ "Figure 2". The main difference is that group buying The
承「第8圖」所示的實施例,更具體而言,假設第一電子裝置101(發起者)想要基於其創建的一團購資訊D1(例如包含團購商品為T-Shirt,團購價格為500元...等資訊),販售給第一團購群組G1的參與者,則第一電子裝置101可先通過團購平台201連接至交易伺服器202,使處理器2021觸發安全模組2022及智能合約模組2024,以供第一電子裝置101以一私鑰簽署包含「如果參與者將等值於團購價500元的款項,由例如一參與者帳戶(例如經過雜湊演算的一公鑰位址,此公鑰位址可稱為一加密貨幣錢包)匯入第一電子裝置101於交易伺服器202綁定的一發起者帳戶(例如經過雜湊演算的另一公鑰位址),則第一電子裝置101即應進行出貨作業,且其中一件團購商品T-Shirt的所有權,即應自動移轉給支付款項的參與者」之智能合約條款的模組化智能合約SC,並公開於網際網路N1及區塊鏈網路N2,屆時若第二電子裝置102(參與者)透過他的私鑰簽署該份模組化智能合約SC,並觸發交易伺服器202的金流模組2023,以移轉第二電子裝置102之參與者帳戶(例如經過雜湊演算的公鑰位址)內的加密貨幣(等值於團購價500元)至第一電子裝置101(發起者)的發起者帳戶(例如經過雜湊演算的公鑰位址),以完成支付,進而自動觸發模組化智能合約SC的合約條款條件,則模組化智能合約SC將透過區塊鏈網路N2的各網路節點,對交易過程資訊的變化特徵值(即發生款項移轉、所有權移轉…等特徵)進行共識認證,確認第一電子裝置101是否原先擁有團購商品T-Shirt、確認第二電子裝置102是否有支付等值於團購價500TWD的款項…等條件,待節點確認所有條件為真實後,智能合約模組2024再對第一電子裝置101及第二電子裝置102執行一合約狀態轉換,意即區塊鏈網路N2的區塊鏈上會記錄第二電子裝置102為被移轉之團購商品T-Shirt的所有人、第一電子裝置101的發起者帳戶取得等值於團購價500TWD的加密貨幣、第二電子裝置102的參與者帳戶減少等值於團購價500TWD的加密貨幣,之後,第一電子裝置101即可依據交易伺服器202產生的一出貨編號,於已由區塊鏈網路N2的網路節點進行存證的一指定期間,進行出貨作業,此外,當物流業的伺服器連接至本發明的交易伺服器202,以讀取區塊鏈網路N2的區塊鏈資料,可使物流公司、供應商、運輸公司等單位,彼此之間的資料一致,且通過本發明的智能合約模組2024,可免除物流訂單確認、追蹤的人力成本,更可降低錯誤率,而提升物流業與團購平台201的整體營運效率。Following the embodiment shown in "Figure 8", more specifically, suppose that the first electronic device 101 (initiator) wants to create a group-buying information D1 based on it (for example, the group-buying product is T-Shirt, and the group-buying price is 500 yuan... and other information), sold to participants of the first group buying group G1, then the first electronic device 101 can first connect to the transaction server 202 through the group buying platform 201, so that the processor 2021 triggers the security module 2022 And smart contract module 2024 for the first electronic device 101 to sign with a private key, including "If a participant puts a payment equivalent to the group purchase price of 500 yuan, for example, a participant’s account (such as a public key that has been hashed) The public key address, which can be called a cryptocurrency wallet, is imported into an initiator account bound to the transaction server 202 by the first electronic device 101 (for example, another public key address after hashing), then The first electronic device 101 should be shipped, and the ownership of one of the group-purchase products T-Shirt should be automatically transferred to the payment participant" the modular smart contract SC of the smart contract terms, and make it public On the Internet N1 and the blockchain network N2, if the second electronic device 102 (participant) signs the modular smart contract SC with his private key and triggers the cash flow module 2023 of the transaction server 202, To transfer the encrypted currency (equivalent to the group purchase price of 500 yuan) in the participant account of the second electronic device 102 (such as the public key address after hash calculation) to the initiator account of the first electronic device 101 (the initiator) (For example, the public key address after hash calculation) to complete the payment, and then automatically trigger the contract terms and conditions of the modular smart contract SC, then the modular smart contract SC will pass through the network nodes of the blockchain network N2 , Perform consensus authentication on the change feature value of the transaction process information (that is, features such as payment transfer, ownership transfer... etc.), confirm whether the first electronic device 101 originally owned the group purchase product T-Shirt, and confirm whether the second electronic device 102 has Payment is equivalent to the group purchase price of 500 TWD... and other conditions. After the node confirms that all conditions are true, the
惟,前述「第8圖」之情境僅為示例,舉凡其它交易過程資訊的變化特徵(例如產生退貨時間、產生換貨時間等)皆可作為條件簽署於本實施例的智能合約條款,同樣地,發起者帳戶與參與者帳戶的表現形式亦可為一銀行帳戶,而不限於經過雜湊演算的公鑰位址,貨幣的支付形式當然也不限於加密貨幣。However, the situation in the aforementioned "Figure 8" is only an example. For example, all other transaction process information change characteristics (such as the time of return, the time of exchange, etc.) can be used as conditions to sign in the smart contract terms of this embodiment, and similarly , The form of the initiator’s account and the participant’s account can also be a bank account, not limited to the public key address that has been hashed, and the form of currency payment is of course not limited to encrypted currency.
請參閱「第9圖」,其為本發明之另一實施例(三),本實施例與「第8圖」所示實施例的技術類同,並請搭配參閱「第1圖」~「第2圖」,主要差異在於,本實施例的智能合約模組2024可於步驟S3執行完畢後,接續執行「觸發智能合約執行」(即步驟S4’):交易伺服器202依據預定義的一模組化智能合約SC,判斷團購交易(T1、T2...)的團購數量是否可觸發一目標條件,若有,則使團購價格更新為一第二團購價格,且第二團購價格及團購群組的總人數資訊可由區塊鏈網路N2的各網路節點(301、302、303…)進行共識驗證。Please refer to "Figure 9", which is another embodiment (3) of the present invention. This embodiment has the same technology as the embodiment shown in "Figure 8", and please refer to "Figure 1" ~ " "Figure 2", the main difference is that the
承「第9圖」所示的實施例,更具體而言,假設第一電子裝置101(發起者)想要基於其創建的一團購資訊D1(例如包含團購商品為T-Shirt,團購價格為500元...等資訊),吸引更多使用者(其它電子裝置)加入第一團購群組G1,並以更優惠的團購價格(例如3人以上,團購價格可降為400元)進行團購,則第一電子裝置101可先通過團購平台201連接至交易伺服器202,使處理器2021觸發安全模組2022及智能合約模組2024,以供第一電子裝置101以一私鑰簽署包含「如果一電子裝置加入第一團購群組G1後,使第一團購群組G1的參與人數大於等於3人,使團購商品T-Shirt的團購價格降為400元,並更新團購資訊D1。」之智能合約條款的模組化智能合約SC,並公開於網際網路N1及區塊鏈網路N2,屆時若有一第三電子裝置103(參與者),加入總人數為2人的第一團購群組G1(此時第二電子裝置102為原先已加入的參與者),則第三電子裝置103可透過其私鑰簽署該份模組化智能合約SC,進而自動觸發模組化智能合約SC的一目標條件(人數達到3人),以使團購價格(500元)更新為一第二團購價格(400元),並且,區塊鏈網路N2的各網路節點(301、302、303…)可對更新後的第二團購價格、及團購群組的總人數資訊進行共識驗證,以確認被觸發的目標條件皆為真實。Following the embodiment shown in "Figure 9", more specifically, suppose that the first electronic device 101 (initiator) wants to create a group buying information D1 based on it (for example, the group buying product is T-Shirt, and the group buying price is 500 yuan... and other information) to attract more users (other electronic devices) to join the first group buying group G1, and group buying at a more favorable group buying price (for example, if there are more than 3 people, the group buying price can be reduced to 400 yuan) , The first
其中,作為示例,本發明所稱的處理器可具備邏輯運算、暫存運算結果、保存執行指令位置等功能,以運行交易伺服器202,且處理器可以例如是一中央處理器(CPU)、一虛擬處理器(vCPU)、一微處理器(MPU)、一微控制器(MCU)、一應用處理器(AP)、一嵌入式處理器、一特殊應用積體電路(ASIC)、一張量處理器(TPU)或一圖形處理器(GPU)等,但不以此為限。Among them, as an example, the processor referred to in the present invention may have functions such as logic operations, temporarily storing operation results, and saving execution instruction positions to run the
其中,作為示例,本發明所稱的安全模組、金流模組、智能合約模組皆可為一伺服器或一軟體模組,且本發明所稱的伺服器可為實體的伺服器、或以虛擬機器(VM)形式運行的伺服器、或以虛擬專屬主機(Virtual Private Server)形式運行的伺服器、或一公有雲、或一私有雲,但皆不以此為限。Among them, as an example, the security module, cash flow module, and smart contract module referred to in the present invention can all be a server or a software module, and the server referred to in the present invention can be a physical server, or A server running in the form of a virtual machine (VM), or a server running in the form of a virtual private server, or a public cloud, or a private cloud, but not limited to this.
其中,作為示例,本發明所稱的網際網路可為公眾或私人網路,如無線網路(例如3G、4G LTE、Wi-Fi、藍芽)、有線網路、區域網路(LAN)、廣域網路(WAN)等,但均不以此為限。Among them, as an example, the Internet referred to in the present invention may be a public or private network, such as a wireless network (such as 3G, 4G LTE, Wi-Fi, Bluetooth), wired network, and local area network (LAN) , Wide Area Network (WAN), etc., but are not limited to this.
其中,作為示例,本發明所稱的各電子裝置,係可為一個人電腦、一筆記型電腦、一智慧型手機、一平板電腦之其中一種,但並不以此為限。Among them, as an example, each electronic device referred to in the present invention may be one of a personal computer, a notebook computer, a smart phone, and a tablet computer, but it is not limited to this.
綜上可知,本發明據以實施後,由於整個團購交易過程,均可記錄在可信度較高且具有去中心化特性的區塊鏈網路,而不會固定保存在某一方的手上,故可為互不信任的交易雙方在法律上更加平等,同時能確保團購相關資訊均不會被竄改、隱藏或銷毀,同時可讓儲存於區塊鏈的團購資訊與其交易過程均不可逆改,更能達成不可被平台端或交易雙方否認團購資訊及交易過程的有益功效。In summary, after the present invention is implemented, since the entire group buying transaction process can be recorded on the blockchain network with high credibility and decentralization characteristics, it will not be stored in the hands of a certain party. , So it can be more equal in law between the two parties who do not trust each other, and at the same time, it can ensure that the group-buying related information will not be tampered with, hidden or destroyed, and at the same time, the group-buying information stored on the blockchain and its transaction process can be irreversibly changed. It can also achieve the beneficial effects of group buying information and the transaction process that cannot be denied by the platform or both parties to the transaction.
以上所述者,僅為本發明之較佳之實施例而已,並非用以限定本發明實施之範圍;任何熟習此技藝者,在不脫離本發明之精神與範圍下所作之均等變化與修飾,皆應涵蓋於本發明之專利範圍內。The above are only preferred embodiments of the present invention, and are not intended to limit the scope of implementation of the present invention; anyone who is familiar with this technique can make equal changes and modifications without departing from the spirit and scope of the present invention. Should be covered within the scope of the patent of the present invention.
綜上所述,本發明係具有「產業利用性」、「新穎性」與「進步性」等專利要件;申請人爰依專利法之規定,向 鈞局提起發明專利之申請。To sum up, the present invention has patent requirements such as "industrial applicability", "novelty" and "advancedness"; the applicant filed an application for a patent for invention with the Bureau in accordance with the provisions of the Patent Law.
10:團購平台系統 D1:團購資訊 G1:第一團購群組 T1:團購交易 D1’:團購資訊 G2:第二團購群組 T2:團購交易 D2:團購資訊 G3:第三團購群組 202:交易伺服器 2021:處理器 2022:安全模組 2023:金流模組 2024:智能合約模組 SC:模組化智能合約 203:資料庫 En(T):加密團購交易資訊 N1:網際網路 N2:區塊鏈網路 301:網路節點 302:網路節點 303:網路節點 B:合法區塊 C:區塊鏈 S:團購平台系統的實施方法 S1:產生團購交易 S2:團購資訊雜湊與加密 S3:團購資訊共識驗證 S4:觸發智能合約執行 S4’:觸發智能合約執行10: Group buying platform system D1: Group purchase information G1: The first group buying group T1: Group purchase transaction D1’: Group buying information G2: The second group buying group T2: Group purchase transaction D2: Group purchase information G3: The third group buying group 202: Transaction Server 2021: processor 2022: Security Module 2023: Gold Flow Module 2024: Smart Contract Module SC: Modular smart contract 203: Database En(T): Encrypted group buying transaction information N1: Internet N2: Blockchain network 301: network node 302: network node 303: network node B: legal block C: Blockchain S: Implementation method of group buying platform system S1: Generate group purchase transactions S2: Group buying information hash and encryption S3: Group buying information consensus verification S4: Trigger smart contract execution S4’: Trigger smart contract execution
第1圖,為本發明之系統架構圖。 第2圖,為本發明之方法流程圖。 第3圖,為本發明之實施示意圖。 第4圖,為本發明之資訊流示意圖(一)。 第5圖,為本發明之資訊流示意圖(二)。 第6圖,為本發明之資訊流示意圖(三)。 第7圖,為本發明之另一實施例(一)。 第8圖,為本發明之另一實施例(二)。 第9圖,為本發明之另一實施例(三)。Figure 1 is a system architecture diagram of the present invention. Figure 2 is a flow chart of the method of the present invention. Figure 3 is a schematic diagram of the implementation of the present invention. Figure 4 is a schematic diagram (1) of the information flow of the present invention. Figure 5 is a schematic diagram (2) of the information flow of the present invention. Figure 6 is a schematic diagram (3) of the information flow of the present invention. Figure 7 shows another embodiment (1) of the present invention. Figure 8 shows another embodiment (2) of the present invention. Figure 9 shows another embodiment (3) of the present invention.
10:團購平台系統10: Group buying platform system
101:第一電子裝置101: The first electronic device
102:第二電子裝置102: second electronic device
103:第三電子裝置103: third electronic device
201:團購平台201: Group buying platform
G1:第一團購群組G1: The first group buying group
G2:第二團購群組G2: The second group buying group
202:交易伺服器202: Transaction Server
2021:處理器2021: processor
2022:安全模組2022: Security Module
203:資料庫203: Database
N1:網際網路N1: Internet
N2:區塊鏈網路N2: Blockchain network
301:網路節點301: network node
302:網路節點302: network node
303:網路節點303: network node
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW109106441A TW202133078A (en) | 2020-02-27 | 2020-02-27 | Group-Buying Platform System and Implementation Method Thereof Based on Blockchain Network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW109106441A TW202133078A (en) | 2020-02-27 | 2020-02-27 | Group-Buying Platform System and Implementation Method Thereof Based on Blockchain Network |
Publications (1)
Publication Number | Publication Date |
---|---|
TW202133078A true TW202133078A (en) | 2021-09-01 |
Family
ID=78777447
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW109106441A TW202133078A (en) | 2020-02-27 | 2020-02-27 | Group-Buying Platform System and Implementation Method Thereof Based on Blockchain Network |
Country Status (1)
Country | Link |
---|---|
TW (1) | TW202133078A (en) |
-
2020
- 2020-02-27 TW TW109106441A patent/TW202133078A/en unknown
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Asgaonkar et al. | Solving the buyer and seller’s dilemma: A dual-deposit escrow smart contract for provably cheat-proof delivery and payment for a digital good without a trusted mediator | |
Hasan et al. | Blockchain-based proof of delivery of physical assets with single and multiple transporters | |
JP7316392B2 (en) | Methods and systems in which blockchain is realized | |
US11694207B2 (en) | Securing an exchange item associated with fraud | |
US20220253914A1 (en) | Use verification code for validating an exchange item use request | |
US20230015356A1 (en) | No point-of-sale terminal exchange item redemption | |
US20230034907A1 (en) | Systems and methods for math-based currency escrow transactions | |
US11436595B2 (en) | Method for issuing, using, refunding, settling and revoking electronic voucher using updated status of balance database by respective blocks in blockchain, and server using the same | |
US20210133700A1 (en) | Blockchain Cross-Chain Non-Fungible Token Exchange | |
JP6364132B2 (en) | Blockchain transaction recording system and method | |
US20230015136A1 (en) | Decentralized computer systems and methods for using a debit network as an intermediary between distributed ledgers | |
CN110135819B (en) | Block chain-based third-party trusted data transaction system and method | |
WO2020155789A1 (en) | Blockchain-based certificate storage method and apparatus | |
TW202034249A (en) | Methods and devices for protecting sensitive data of transaction activity based on smart contract in blockchain | |
TWM543413U (en) | Web lending platform using technology of blockchain for deal | |
KR20190000747A (en) | System and method for e-commerce using block-chain technology | |
CN111899101A (en) | Data asset transaction method based on block chain | |
CN110163744A (en) | A kind of method of payment and device based on block chain | |
TW201935299A (en) | Blockchain system, node server and method for processing strategy model scripts of financial assets | |
KR20200010905A (en) | Method and system for connecting chain based on dynamic time delay in proof of population based blockchain | |
US20220215418A1 (en) | Decentralized computer systems and methods for loyalty points payments using distributed ledgers | |
WO2022022928A1 (en) | Blockchain based tax mechanism | |
JP5084746B2 (en) | Method and apparatus for establishing peer-to-peer karma and trust | |
US20210334794A1 (en) | Resolving a parameter error associated with a primary blockchain | |
Singh et al. | Performance comparison of executing fast transactions in bitcoin network using verifiable code execution |