[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

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 PDF

Info

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
Application number
TW109106441A
Other languages
Chinese (zh)
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 TW109106441A priority Critical patent/TW202133078A/en
Publication of TW202133078A publication Critical patent/TW202133078A/en

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

Group-buying platform system and implementation method thereof based on blockchain network are disclosed. The system comprises a transaction server configured to generate a group-buying transaction between at least two electronic devices, wherein, the group-buying transaction includes group-buying information, identifying information, and transaction process information. The transaction server is also configured to execute hash function and encryption algorithms for each group-buying transaction, so as to generate an encrypted group-buying transaction which needs to be broadcasted to the blockchain network, wherein, the encrypted group-buying transaction received by one of the blockchain nodes will be distributed to the rest of the blockchain nodes, so as to let all blockchain nodes agree on a certain value or transaction(encrypted group-buying transaction) through the consensus protocol. In this way, the present invention can prevent the transaction data from being improperly changed, can reduce the disputes between consumer and merchant, can ensure data integrity, non-repudiation, non-forgery and irreversible of transaction data.

Description

基於區塊鏈的團購平台系統及其實施方法Block chain-based group buying platform system and its implementation method

本發明涉及網際網路技術領域,尤指一種應用區塊鏈技術(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 platform system 10 of the present invention allows multiple electronic devices (101, 102, 103...) to be connected to a group-buying platform via an Internet N1 201 for group buying. The group buying platform system 10 includes a group buying platform 201, a transaction server 20, a database 203, and multiple network nodes (301, 302, 303...) in a blockchain network N2, among which : (1) The group buying platform 201 and the database 203 can respectively communicate with the transaction server 202, and the transaction server 202 can use the group buying platform 201 to use services such as Web Service, Web API or WCF and electronic devices (101, 102, 103...) Perform data exchange so that the transaction server 202 generates a group buying transaction T1; (2) Among them, the aforementioned database 203 can be a database host, a cloud database, or multiple database files (such as Microsoft SQL Server database files) stored in the transaction server 202, and each database The file can contain multiple tables (Table) separately; (3) The transaction server 202 has a processor 2021, and a security module 2022 coupled to the processor 2021, which stores hash calculations, encryption and decryption calculations, and digital signatures (Digital Signature, also called digital signature). Signature) required program instructions for the processor 2021 to be executed after being loaded from a memory; (4) Among them, the aforementioned hash algorithm can be one-way hash algorithms such as SHA-0, SHA-1, SHA-2, SHA-3, MD5, BLAKE2, or encryption hash functions of MD5 and SHA (cryptographic hash function), but not limited to this. Any algorithm that can convert any length of data into an irreversible hash string (or message digest: Message Digest) composed of numbers and letters is all The hash calculation referred to in the present invention; (5) Among them, the aforementioned electronic signature mainly includes the mechanism of "signing" and "verification". For example, if A (first electronic device 101) wants to send a piece of data (such as information on confirmed purchase) to B ( For the second electronic device 102), the data can be hashed first, and then encrypted with A's private key to send an encrypted data to B. Then, B can hash the plaintext data it receives Calculate, at the same time use A’s public key to decrypt the received encrypted data, and then compare the two hash values. If they are the same, it can prove that the data is indeed sent by A and the data is being transmitted. There was no tampering during the process; in addition, the electronic signature can also be used to prove the ownership of a cryptocurrency wallet. If the user loses his private key, he will not be able to withdraw the cryptocurrency from the wallet; (6) The transaction server 202 can define a first electronic device 101 as an initiator and a second electronic device 102 as a participant in the database 203 to form a first group buying group G1, and Stored in the database 203; (7) The transaction server 202 can generate a group purchase between at least two electronic devices (101, 102...) based on the first group buying group G1, and the first electronic device 101 as the initiator. Transaction T1, the group purchase transaction T1 includes the aforementioned group purchase information, a transaction party identification information, and a transaction process information, and the group purchase information includes a group purchase product name, a group purchase price, and a group purchase quantity; (8) Among them, the aforementioned transaction party identification information may be a device identification code (ICCID code, IMEI code, etc.), a telephone number, and a User ID, etc., but not limited to this; (9) Among them, the aforementioned transaction process information can be a combination of a transaction detail information, an order establishment time, a payment time, a shipment time, an arrival time, a pickup time, a return time, and an order completion time. One of them or any combination thereof, but not limited to this; (10) Among them, the transaction server 202 of this embodiment may also allow the second electronic device 102 to act as another initiator to invite a third electronic device 103 that has not yet joined the first group buying group G1. Group-buying information, create another group-buying information and join a second group-buying group G2 to generate another group-buying transaction T2, thereby avoiding the third electronic device 103 from being unwilling to participate in group-buying after joining the first group-buying group G1 Case; (11) Continuing, in other words, even if the third electronic device 103 accepts the invitation of the first electronic device 101 or the second electronic device 102 and joins the first group buying group G1, it may be because the initiator (the first electronic device) is not familiar with it. 101), is only familiar with the second electronic device 102, which affects its willingness to participate in group buying. As a result, the first electronic device 101 in the first group buying group G1 sends to the first group buying group G1 through the transaction server 202 If the group-buying information of the third electronic device 103 of the third electronic device 103 is not allowed to generate a group-buying transaction in the transaction server 202, it is a waste of network traffic, causing the group-buying platform 201 to push unnecessary group-buying information; (12) The security module 2022 of the transaction server 202 can hash and encrypt each group purchase transaction (such as group purchase transactions T1, T2..., etc.) to generate an encrypted group purchase transaction information and publish it to the blockchain network Multiple network nodes (301, 302, 303...) of road N2; each network node (301, 302, 303...) communicates with each other, which can determine one of the networks based on a consensus algorithm The encrypted group buying transaction information received by node 301 can be accepted by all network nodes (301, 302, 303...) as a legal block, and the legal block can be broadcast to other network nodes (302, 303.) ..), so that all network nodes (301, 302, 303...) maintain the same version of a blockchain that contains encrypted group buying transaction information; (13) Continuing with the description of legal blocks, if Proof of Work (PoW) is used as the consensus algorithm of this embodiment, when one of the network nodes 301 preferentially calculates a numerical solution that meets the requirements (for example, calculates When the hash value of is less than a difficulty index), a block can be successfully established, and this block can be packaged (block, or blocked) to obtain a corresponding virtual currency reward (for example, 10 units of cryptocurrency) ), and broadcast the transaction to the blockchain network N2 for verification. If it passes the consensus verification of other network nodes (302, 303...), other network nodes (302, 303...) are calculating the same numerical solution. ...) The calculation will be abandoned, and this newly generated block will be regarded as a legal block and included in the latest block of a main chain to create a link with the previous block on the chain; (14) Among them, the aforementioned consensus algorithm can be, for example, a proof of work (Proof of Work), a proof of stake (PoS, Proof of Stake), a proof of authority (PoA, Proof-of-Authority), or a proxy Delegated Proof of Stake (DPoS, Delegated Proof of Stake) consensus mechanism, but not limited to this.

請參閱「第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 electronic device 101 can first connect to a transaction server 202 through a group buying platform 201, and as an initiator, input a group buying information D1 into the first electronic device 101 to create a first group buying group G1, and a second electronic device 102 forming an invitation relationship with the first electronic device 101 can view a group buying group list on the group buying platform 201, and the group buying group list can display the first group buying to which the second electronic device 102 has been invited to join The information of group G1, the group buying group list can also display the second electronic device 102 as another initiator, and the second group buying group G2 created based on another group buying information D1' similar to the group buying information D1, the group buying group The group list can also show that the second electronic device 102 is invited by a third electronic device 103 to join a third group buying group G3 based on another group buying information D2, and then the following steps can be performed: (1) Generate a group buying transaction (Step S1): Please refer to the information flow diagrams in "Figure 4" ~ "Figure 5". The transaction server 202 is based on the first group buying group G1 of the second electronic device 102 that forms an invitation relationship with the first electronic device 101 , And based on the group buying information D1 created by the first electronic device 101 as the initiator, a group buying transaction T1 is generated, wherein the transaction server 202 can define the group buying transaction T1 in a database 203 including the group buying information D1 and a transaction party identification Information and transaction process information. The group-buying information D1 includes a group-buying product name, a group-buying price, and a group-buying quantity; (2) As above, when step S1 is executed, the transaction server 202 also allows the second electronic device 102 to act as another initiator Or, invite a third electronic device 103 that has not joined the first group buying group G1 to join a second group buying group G2 to generate another group buying transaction T2 based on another group buying information D1' similar to the group buying information D1, Preferably, the transaction server 202 of this embodiment can also restrict the second electronic device 102 to only invite a third electronic device 103 that has not joined the first group buying group G1 to join the second group buying group G2; (3) ) Group buying information hashing and encryption (step S2): As shown in the information flow diagram (1) of "Figure 4", a security module 2022 of the transaction server 202 performs one or more group buying transactions (T1, T2..) .) Perform hashing and encryption calculations to generate an encrypted group buying transaction information En(T), and publish it to multiple network nodes (301, 302, 303...) of a blockchain network N2; (4) Group buying information consensus verification (step S3): Each network node (301, 302, 303...) can determine the encrypted group buying transaction information En(T) received by one of the network nodes 301 based on a consensus algorithm, which can be All network nodes (301, 302, 303...) are accepted as a legal Block B, after completing the consensus verification, make the legal block B broadcast to other network nodes (302, 303...), so that all network nodes (301, 302, 303...) are maintained to include encrypted group purchases A block chain C of the transaction information En(T) is as shown in the information flow diagram (3) of "Figure 6"; (5) Succeeding, the "root node encryption hash value" illustrated in "Figure 6""Refers to "encrypted group purchase transaction information En(T)", which serves as the transaction record data assembly of legal block B. This embodiment uses Merkle trees (also known as Hash Tree) structure as the encrypted group purchase transaction For the data structure of information En(T), if the consensus algorithm of "Proof of Work (PoW)" is taken as an example, it can be seen from the "block #6" shown in the figure that each legal block B can include multiple mediums. Following the data (Block Metadata) and a block body (Block Body), the aforementioned metadata can include a parent block (for example, block #5), a block header hash value (Previous Block Header Hash), and a timestamp (Timestamp). ), a Nonce value (random value), and a node encryption hash value (Merkle Tree Root); the aforementioned block body may contain a transaction record (Transactions), and the transaction record can be represented by a Merkle tree structure to generate "block# 6" All transaction data to record transaction data including the hash value of each intermediate node including "group buying information", "transaction party identification information", and "transaction process information", and the encrypted hash value of the root node can be quoted as an intermediate node. The hash value of "group purchase information", "transaction party identification information", and "transaction process information", and use this as a basis to generate a unified "root node encrypted hash value"; (6) Continue, one of the intermediate nodes "group purchase The hash value of “Information” can be quoted from the hash value of “group purchase goods”, “group purchase price”, “group purchase quantity” and “group purchase conditions” as leaf nodes, so that each block can be compared with the previous block. Intangible links are generated from the data to ensure the correctness of the block sequence and historical group purchase transaction records. At the same time, the data calculation amount of the blockchain network N2 can be greatly reduced through the Merkle tree structure, but the above is only an example, not Such data structure and consensus algorithm are limited.

請參閱「第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 transaction server 202 of the platform system 10 further has a cash flow module 2023 coupled to the processor 2021, which stores program instructions for the user to perform online payments and bank transfers for the processor 2021 to transfer from a memory It is executed after being loaded. In other words, the cash flow module 2023 can be used by the second electronic device 102 on the group buying platform 201 to use, for example, an electronic currency (or electronic ticket), a virtual currency, a cryptocurrency, or execution during step S1. An electronic payment function. After paying the transaction amount equivalent to the group purchase price, a payment time information defined as a change feature of the transaction process information is generated to be used by each network node (301, 302) of the blockchain network N2 , 303...) conduct consensus verification; among them, the aforementioned electronic money can be, for example, currency pre-stored in a smart chip card. Among the chip cards with signal encryption by the private key, such as existing leisure cards and all-in-one cards, the virtual currency mentioned above can be, for example, an electromagnetic record issued by the group buying platform 201, and it can be exchanged with legal currency according to whether it can be exchanged with legal currency. Whether or not it is divided into closed type (such as Dinar coins) and open type (such as Amazon coins); the aforementioned cryptocurrency can be, for example, Bitcoin (BTC), Ether (ETH), etc.; the aforementioned electronic payment function can be, for example, Through financial electronic data interchange (Financial Electronic Data Interchange, FEDI) technology, it can connect to financial institutions for financial services such as fund transfer and transfer. The transaction server 202, as a third party, collects and pays (similar to the existing Pi mobile wallet) funds for group purchase initiators and participants, and has the function of an online stored value account, but the above are only examples and none of them Limited by this.

請參閱「第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 transaction server 202 of the platform system 10 further has a smart contract module 2024 coupled to the processor 2021, which can continue to execute "trigger smart contract execution" after the execution of step S3 (ie step S4): transaction server 202 According to a predefined modular smart contract SC, it is judged whether the update of transaction process information triggers a contract terms and conditions. If so, each network node (301, 302, 303...) of the blockchain network N2 can be After the verification of the change characteristic value of the transaction process information is completed, a contract state transition is performed on the first electronic device 101 or the second electronic device 102.

承「第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 smart contract module 2024 performs a contract state transition on the first electronic device 101 and the second electronic device 102, which means block The blockchain of the chain network N2 will record that the second electronic device 102 is the owner of the transferred group purchase product T-Shirt, and the initiator account of the first electronic device 101 obtains the cryptocurrency equivalent to the group purchase price of 500 TWD, The participant account of the second electronic device 102 is reduced by the cryptocurrency equivalent to the group purchase price of 500 TWD. After that, the first electronic device 101 can use a shipment number generated by the transaction server 202 in the block chain network N2 The network node of the network node performs the shipment operation during a specified period of the certificate deposit. In addition, when the server of the logistics industry is connected to the transaction server 202 of the present invention to read the blockchain data of the blockchain network N2, It enables logistics companies, suppliers, transportation companies, and other units to share information with each other In addition, through the smart contract module 2024 of the present invention, the labor cost of logistics order confirmation and tracking can be avoided, the error rate can be reduced, and the overall operating efficiency of the logistics industry and the group buying platform 201 can be improved.

惟,前述「第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 smart contract module 2024 of this embodiment can continue to execute "trigger smart contract execution" (ie step S4') after the execution of step S3 is completed: the transaction server 202 follows a predefined one Modular smart contract SC determines whether the group purchase quantity of group purchase transactions (T1, T2...) can trigger a target condition, if so, the group purchase price is updated to a second group purchase price, and the second group purchase price and group purchase The information of the total number of people in the group can be verified by consensus on each network node (301, 302, 303...) of the blockchain network N2.

承「第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 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 the smart contract module 2024, so that the first electronic device 101 can sign with a private key containing " If an electronic device joins the first group buying group G1, and the number of participants in the first group buying group G1 is greater than or equal to 3 people, the group buying price of the group buying product T-Shirt is reduced to 400 yuan, and the group buying information D1 is updated." The modular smart contract SC with the terms of the smart contract will be published on the Internet N1 and the blockchain network N2. If there is a third electronic device 103 (participant) at that time, join the first group purchase group with a total of 2 people Group G1 (the second electronic device 102 is the participant who has joined previously), the third electronic device 103 can sign the modular smart contract SC with its private key, and then automatically trigger the modular smart contract SC A target condition (the number of people reaches 3), so that the group purchase price (500 yuan) is updated to a second group purchase price (400 yuan), and each network node of the blockchain network N2 (301, 302, 303... ) Consensus verification can be performed on the updated second group purchase price and the total number of people in the group purchase group to confirm that the triggered target conditions are true.

其中,作為示例,本發明所稱的處理器可具備邏輯運算、暫存運算結果、保存執行指令位置等功能,以運行交易伺服器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 transaction server 202, and the processor may be, for example, a central processing unit (CPU), One virtual processor (vCPU), one microprocessor (MPU), one microcontroller (MCU), one application processor (AP), one embedded processor, one special application integrated circuit (ASIC), one A mass processor (TPU) or a graphics processing unit (GPU), but not limited to this.

其中,作為示例,本發明所稱的安全模組、金流模組、智能合約模組皆可為一伺服器或一軟體模組,且本發明所稱的伺服器可為實體的伺服器、或以虛擬機器(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)

一種基於區塊鏈的團購平台系統,包含: 一交易伺服器,另有一資料庫及一團購平台分別通訊連接於該交易伺服器; 該交易伺服器供以於該資料庫定義作為一發起者的一第一電子裝置,與作為一參與者的一第二電子裝置之間,形成一第一團購群組,並儲存於該資料庫; 該交易伺服器亦供以基於該第一團購群組、以及該第一電子裝置創建的一團購資訊,產生一團購交易,該團購交易包含該團購資訊、一交易方識別資訊及一交易過程資訊,該團購資訊包含一團購商品名稱、一團購價格及一團購數量; 該交易伺服器亦允許該第二電子裝置作為另一發起者,邀請尚未加入該第一團購群組的一第三電子裝置,基於該團購資訊而加入一第二團購群組,以產生另一團購交易; 該交易伺服器亦供以對各該團購交易進行雜湊與加密演算,以產生一加密團購交易資訊,並發佈至一區塊鏈網路的多個網路節點,各該網路節點彼此通訊連接;以及 各該網路節點供以基於一共識演算法,決定其中一該網路節點接收的該加密團購交易資訊,可被所有的該網路節點接受為一合法區塊,該合法區塊供以廣播給其它的該網路節點,使所有的該網路節點維護包含該加密團購交易資訊的一區塊鏈。A block chain-based group buying platform system, including: A transaction server, another database and a group buying platform are respectively communicatively connected to the transaction server; The transaction server is used in the database to define a first electronic device as an initiator and a second electronic device as a participant to form a first group buying group and store it in the database ; The transaction server is also used to generate a group buying transaction based on the first group buying group and a group buying information created by the first electronic device. The group buying transaction includes the group buying information, a transaction party identification information, and a transaction process information , The group purchase information includes a group purchase product name, a group purchase price and a group purchase quantity; The transaction server also allows the second electronic device to act as another initiator, inviting a third electronic device that has not yet joined the first group buying group to join a second group buying group based on the group buying information to generate another Group purchase transaction; The transaction server is also used to 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, and each network node is connected to each other in communication ;as well as Each network node is provided with a consensus algorithm to determine that the encrypted group purchase transaction information received by one of the network nodes can be accepted by all the network nodes as a legal block, and the legal block is available for broadcasting For the other network nodes, all the network nodes maintain a block chain containing the encrypted group buying transaction information. 如請求項1的基於區塊鏈的團購平台系統,其中,該交易過程資訊為一交易明細資訊、一訂單成立時間、一付款時間、一出貨時間、一到貨時間、一取貨時間、一退貨時間、一訂單完成時間之其中一種或其任意組合。For example, the block chain-based group buying platform system of claim 1, wherein the transaction process information is a transaction detail information, an order establishment time, a payment time, a shipment time, an arrival time, a pickup time, One of a return time, an order completion time, or any combination thereof. 如請求項2的基於區塊鏈的團購平台系統,其中,該交易伺服器具有一金流模組,其供該第二電子裝置於該團購平台以一電子貨幣、一虛擬貨幣或一加密貨幣,支付等值於該團購價格之交易金額後,產生該付款時間資訊,以由該區塊鏈網路的各該網路節點進行驗證。For example, the block chain-based group buying platform system of claim 2, wherein the transaction server has a cash flow module for the second electronic device to pay with an electronic currency, a virtual currency or a cryptocurrency on the group buying platform After the transaction amount equal to the group purchase price, the payment time information is generated to be verified by each network node of the blockchain network. 如請求項1或請求項3的基於區塊鏈的團購平台系統,其中,該交易伺服器具有一智能合約模組,其供以依據預定義的一模組化智能合約,判斷該交易過程資訊的更新是否觸發一合約條款條件,以由該區塊鏈網路的各該網路節點,對該交易過程資訊的變化特徵值完成驗證後,對該第一電子裝置或該第二電子裝置執行一合約狀態轉換。For example, the block chain-based group buying platform system of claim 1 or claim 3, wherein the transaction server has a smart contract module for judging the transaction process information based on a predefined modular smart contract Does the update trigger a contract term and conditions, so that each network node of the blockchain network will perform verification on the first electronic device or the second electronic device after verifying the change characteristic value of the transaction process information A contract state transition. 如請求項1的基於區塊鏈的團購平台系統,其中,該交易伺服器具有一智能合約模組,其供以依據預定義的一模組化智能合約,判斷該團購交易的該團購數量是否觸發一目標條件,以由該區塊鏈網路的各該網路節點完成驗證後,使該團購價格更新為一第二團購價格。For example, the block chain-based group purchase platform system of claim 1, wherein the transaction server has a smart contract module for determining whether the group purchase quantity of the group purchase transaction is based on a predefined modular smart contract A target condition is triggered to update the group purchase price to a second group purchase price after verification by each network node of the blockchain network. 一種基於區塊鏈的團購平台系統的實施方法,包含: (A) 一產生團購交易步驟:一交易伺服器基於與一第一電子裝置形成邀請關係的一第二電子裝置而組成的一第一團購群組,以及基於該第一電子裝置創建的一團購資訊,產生一團購交易,且該交易伺服器於一資料庫定義該團購交易包含該團購資訊、一交易方識別資訊及一交易過程資訊,該團購資訊包含一團購商品名稱、一團購價格及一團購數量,其中,該交易伺服器亦允許該第二電子裝置作為另一發起者,邀請尚未加入該第一團購群組的一第三電子裝置,加入一第二團購群組,以基於該團購資訊產生另一團購交易; (B) 一團購資訊雜湊與加密步驟:該交易伺服器對該團購交易進行雜湊與加密演算,以產生一加密團購交易資訊,並發佈至一區塊鏈網路的多個該網路節點;以及 (C) 一團購資訊共識驗證步驟:各該網路節點基於一共識演算法,決定其中一該網路節點接收的該加密團購交易資訊,可被所有的該網路節點接受為一合法區塊,完成共識驗證後,該合法區塊可廣播給其它的該網路節點,使所有的該網路節點維護包含該加密團購交易資訊的一區塊鏈。A method for implementing a block chain-based group buying platform system, including: (A) Step of generating a group buying transaction: a first group buying group formed by a transaction server based on a second electronic device forming an invitation relationship with a first electronic device, and a group buying created based on the first electronic device Information, a group purchase transaction is generated, and the transaction server defines in a database that the group purchase transaction includes the group purchase information, a transaction party identification information, and a transaction process information. The group purchase information includes a group purchase product name, a group purchase price, and a group purchase information. Group purchase quantity, where the transaction server also allows the second electronic device to act as another initiator to invite a third electronic device that has not joined the first group purchase group to join a second group purchase group based on the group purchase The information generates another group purchase transaction; (B) A group buying information hashing and encryption step: the transaction server hashes and encrypts the group buying transaction to generate an encrypted group buying transaction information and publish it to multiple nodes of a blockchain network; as well as (C) A group buying information consensus verification step: each network node determines that the encrypted group buying transaction information received by one of the network nodes can be accepted as a legal block by all the network nodes based on a consensus algorithm After the consensus verification is completed, the legal block can be broadcast to other network nodes, so that all network nodes maintain a block chain containing the encrypted group purchase transaction information. 如請求項6的基於區塊鏈的團購平台系統的實施方法,其中,當該交易伺服器於(A)步驟產生一交易明細資訊、一訂單成立時間、一付款時間、一出貨時間、一到貨時間、一取貨時間、一退貨時間、一訂單完成時間之其中一種或其任意組合的該交易過程資訊後,皆由該區塊鏈網路的各該網路節點進行驗證。For example, the implementation method of the block chain-based group buying platform system of claim 6, wherein, when the transaction server generates a transaction detail information, an order establishment time, a payment time, a shipment time, and a After the transaction process information of one of the arrival time, a pickup time, a return time, and an order completion time, or any combination thereof, all the network nodes of the blockchain network are verified. 如請求項7的基於區塊鏈的團購平台系統的實施方法,其中,該交易伺服器於(A)步驟提供該第二電子裝置一金流模組,使該第二電子裝置以一電子貨幣、一虛擬貨幣或一加密貨幣,支付等值於該團購價格之交易金額後,產生該付款時間資訊,以由該區塊鏈網路的各該網路節點進行驗證。For example, the implementation method of the block chain-based group buying platform system of claim 7, wherein the transaction server provides the second electronic device with a cash flow module in step (A), so that the second electronic device uses an electronic currency, a After paying the transaction amount equivalent to the group purchase price in virtual currency or a cryptocurrency, the payment time information is generated to be verified by each network node of the blockchain network. 如請求項5或請求項8的基於區塊鏈的團購平台系統的實施方法,更包括一觸發智能合約執行步驟:該交易伺服器依據一模組化智能合約,判斷該交易過程資訊的更新是否觸發一合約條款條件,由該區塊鏈網路的各該網路節點,對該交易過程資訊的變化特徵值完成驗證,以對該第一電子裝置或該第二電子裝置執行一合約狀態轉換。For example, the implementation method of the block chain-based group buying platform system of claim 5 or claim 8 further includes a triggering smart contract execution step: the transaction server determines whether the transaction process information is updated according to a modular smart contract Trigger a contract terms and conditions, and each of the network nodes of the blockchain network will verify the change characteristic value of the transaction process information to perform a contract state transition on the first electronic device or the second electronic device . 如請求項5的基於區塊鏈的團購平台系統的實施方法,更包括一觸發智能合約執行步驟:該交易伺服器依據一模組化智能合約,判斷該團購交易的該團購數量觸發一目標條件時,由該區塊鏈網路的各該網路節點完成驗證,並將該團購價格更新為一第二團購價格。For example, the implementation method of the block chain-based group purchase platform system of claim 5 further includes a triggering smart contract execution step: the transaction server determines that the group purchase quantity of the group purchase transaction triggers a target condition according to a modular smart contract At the time, the verification is completed by each network node of the blockchain network, and the group purchase price is updated to a second group purchase price.
TW109106441A 2020-02-27 2020-02-27 Group-Buying Platform System and Implementation Method Thereof Based on Blockchain Network TW202133078A (en)

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)

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