TWI751553B - Method and system for paying digital currency - Google Patents
Method and system for paying digital currency Download PDFInfo
- Publication number
- TWI751553B TWI751553B TW109115646A TW109115646A TWI751553B TW I751553 B TWI751553 B TW I751553B TW 109115646 A TW109115646 A TW 109115646A TW 109115646 A TW109115646 A TW 109115646A TW I751553 B TWI751553 B TW I751553B
- Authority
- TW
- Taiwan
- Prior art keywords
- digital currency
- data
- key
- digital
- electronic device
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 26
- 238000012545 processing Methods 0.000 claims description 56
- 238000012546 transfer Methods 0.000 description 12
- 238000013475 authorization Methods 0.000 description 8
- 238000010586 diagram Methods 0.000 description 5
- 230000005540 biological transmission Effects 0.000 description 4
- 102220495430 Glutaredoxin-like protein C5orf63_S12A_mutation Human genes 0.000 description 2
- 102220471249 M-phase inducer phosphatase 1_S82A_mutation Human genes 0.000 description 2
- 230000002708 enhancing effect Effects 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 238000012795 verification Methods 0.000 description 2
- 238000012550 audit Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000008520 organization Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
Images
Landscapes
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
本發明係有關一種支付數位貨幣之方法及其系統,其提供數位貨幣資料,使民眾可利用行動裝置透過電子裝置連結至數位貨幣伺服器,而使用對應貨幣金額之數位貨幣資料。藉由系統平台提供經數位驗證之數位貨幣資料,提供民眾使用可信賴之數位貨幣資料。The present invention relates to a method and system for paying digital currency, which provide digital currency data, so that people can use mobile devices to connect to a digital currency server through an electronic device, and use the digital currency data corresponding to the currency amount. Provide digital currency data verified by the system platform, and provide the public with reliable digital currency data.
Description
本發明係有關一種支付之方法及其系統,尤其是一種支付數位貨幣之方法及其系統。The present invention relates to a payment method and system, especially a payment method and system for digital currency.
近年來,利用數位資產(例如:電子貨幣)進行交易已逐漸成為目前社會的趨勢,讓消費者出門時不需要攜帶現金就能搭乘大眾運輸工具、在各式店家進行購物消費…等交易。目前市面上常使用數位資產的電子化交易裝置有如電子錢包、信用卡、儲值卡、悠遊卡…等。In recent years, the use of digital assets (for example: electronic money) for transactions has gradually become a trend in the current society, allowing consumers to take public transportation, shopping at various stores and other transactions without carrying cash when they go out. At present, electronic transaction devices that often use digital assets on the market include electronic wallets, credit cards, stored-value cards, and EasyCards.
而,現在的法定貨幣,例如新台幣,其應用至電子貨幣支付系統主要為一對多的關係,亦即在銀行建立一電子貨幣的銀行帳戶,即可以接受來自多筆訂單相對應金額的電子貨幣轉帳,因為所有電子貨幣的轉帳,都需透過銀行做為電子貨幣之中介單位,且銀行帳戶間的轉帳為透過多個伺服器及多個資料庫相互連結,甚至是跨行轉帳,亦是如此連結方式,因而對於銀行帳戶間的轉帳會有相對應的轉帳記錄(例如備註欄位/訂單號碼)儲存於伺服器或資料庫中,因此民眾可以藉由轉帳記錄進行查帳,而進一步得知轉帳的來源帳戶的使用者為何者,因此在轉帳後,民眾可以很簡單的從銀行帳戶中的對帳,知道匯款來自哪個人或哪一筆訂單。However, the current legal currency, such as the New Taiwan dollar, is mainly applied to the electronic currency payment system in a one-to-many relationship, that is, to establish an electronic currency bank account in a bank, it can accept electronic payments from multiple orders corresponding to the amount. Currency transfer, because all electronic currency transfers need to go through the bank as the intermediary unit of electronic currency, and the transfer between bank accounts is interconnected through multiple servers and multiple databases, even inter-bank transfers. Therefore, for the transfer between bank accounts, there will be a corresponding transfer record (such as the remarks field/order number) stored in the server or database, so the public can check the account through the transfer record, and further know Who is the user of the source account of the transfer, so after the transfer, the public can easily reconcile the bank account to know which person or which order the transfer came from.
而,區塊鏈上的每個數據塊適用各種安全與公平需求的應用,例如貨幣、股權、債券等的交易,交易資訊由獨立的節點(電腦)維護、更新和核查,可確保記帳結果的公平、公正和公開透明,並無需任何中心化機構的審核和維護。在區塊鏈上運行的智能合約(Smart Contract),例如:以太坊(Ethereum)是其中一個編寫智能合約功能的公共區塊鏈平台,在此以太坊平台下,完成合約撰寫後,程式碼(如Solidity程式碼)將經編譯成規範好的二進位碼才能部署到以太坊的區塊鏈上執行,部署到區塊鏈上的合約會有一個和錢包地址(Address)一樣格式的合約地址(Contract Address)。因此,使用者可使用此一錢包地址存取虛擬貨幣資料,用以存取尚未消費的虛擬貨幣資料。However, each data block on the blockchain is suitable for applications with various security and fairness requirements, such as transactions of currency, equity, bonds, etc. The transaction information is maintained, updated and verified by independent nodes (computers), which can ensure the accuracy of the accounting results. Fair, impartial and open and transparent, and does not require the audit and maintenance of any centralized organization. Smart contracts running on the blockchain, for example: Ethereum (Ethereum) is one of the public blockchain platforms for writing smart contract functions. Under this Ethereum platform, after completing the contract writing, the code ( Such as Solidity code) will be compiled into a standard binary code before it can be deployed on the Ethereum blockchain for execution. The contract deployed on the blockchain will have a contract address in the same format as the wallet address (Address). Contract Address). Therefore, the user can use this wallet address to access the virtual currency data for accessing the virtual currency data that has not been consumed.
然而,現今並未出現央行提供驗證的機制,且未出現央行發行之數位貨幣資料,以供民眾用於生活中之交易機制。且,數位貨幣資料的發行或轉移並未經過央行驗證,易造成一般民眾的信賴度不足,因而造成數位貨幣資料的推廣困難。又,現今虛擬貨幣交易為雙方皆需要連結網路However, there is no mechanism for the central bank to provide verification, and there is no digital currency data issued by the central bank for the public to use in the transaction mechanism in life. Moreover, the issuance or transfer of digital currency data has not been verified by the central bank, which may easily lead to insufficient trust among the general public, thus making it difficult to promote digital currency data. In addition, the current virtual currency transaction requires both parties to connect to the Internet
基於上述之問題,本發明提供一種支付數位貨幣之方法及其系統,其依據數位貨幣伺服器提供驗證機制並使用,以提供信賴度較佳並貼近於法定貨幣之數位貨幣資料,方便民眾使用。Based on the above problems, the present invention provides a method and system for paying digital currency, which provides a verification mechanism based on a digital currency server and uses it, so as to provide digital currency data with better reliability and close to legal currency, which is convenient for the public to use.
本發明之主要目的,提供一種支付數位貨幣之方法及其系統,其藉由數位貨幣伺服器依據一第一金額與一識別金鑰而產生數位貨幣資料,以供使用者可在交易雙方之其中一方與數位貨幣伺服器離線的情況下使用經驗證之數位貨幣,讓數位貨幣具較佳之信賴度與交易安全性。The main purpose of the present invention is to provide a method and system for paying digital currency, wherein the digital currency server generates digital currency data according to a first amount and an identification key, so that the user can use the transaction between the two parties. One party uses the verified digital currency when the digital currency server is offline, so that the digital currency has better reliability and transaction security.
為了達成上述之目的,本發明揭示了一種支付數位貨幣之方法,其應用於一數位貨幣伺服器依據一第一金額與一第一識別金鑰新增一第一數位貨幣資料,該數位貨幣伺服器存有該第一識別金鑰、一數位貨幣識別金鑰與一數位貨幣金鑰,該第一識別金鑰、該數位貨幣識別金鑰與一第一金鑰存於一第一電子裝置,本發明之方法先由該數位貨幣伺服器依據該數位貨幣金鑰與該第一數位貨幣資料而產生一第一識別碼,以推播該第一數位貨幣資料與該第一識別碼至該第一電子裝置;該第一電子裝置依據該數位貨幣識別金鑰與該第一識別金鑰識別該第一識別碼驗證,以取得該第一數位貨幣資料之使用授權,因此該第一電子裝置依據該第一金鑰對一第一支付金額資料與一第一收付者資料進行加密而產生一第一支付碼,且該第一收付者資料對應於一第二電子裝置;該第一電子裝置傳送該第一支付碼至該數位貨幣伺服器,以依據該第一識別金鑰識別第一支付碼而獲得該第一支付金額資料與該第一收付者資料;該數位貨幣伺服器依據該第一支付金額資料、該第一數位貨幣資料對應之第一識別金鑰與該第一收付者資料對應之該第二識別金鑰產生一第二數位貨幣資料與一第三數位貨幣資料,其中,該第二數位貨幣資料對應於該第一支付金額,該第三數位貨幣之金額等於或大於0;該數位貨幣伺服器依據該數位貨幣金鑰與該第二數位貨幣資料產生一第二識別碼並依據該數位貨幣金鑰與該第三數位貨幣資料產生一第三識別碼,以推播該第二數位貨幣資料、該第三數位貨幣資料、該第二識別碼與該第三識別碼至該第一電子裝置;及,該第一電子裝置傳送該第二數位貨幣資料與該第二識別碼至該第二電子裝置。藉此,本發明讓一般民眾透過該電子裝置使用數位錢包即可藉由該數位貨幣資料於數位貨幣伺服器拆分而推播至一般民眾所使用之電子裝置,因而普及化數位貨幣資料之使用,並透過數位貨幣伺服器發行經金鑰驗證之數位貨幣資料可提升民眾對於數位貨幣的信賴度。In order to achieve the above object, the present invention discloses a method for paying digital currency, which is applied to a digital currency server to add a first digital currency data according to a first amount and a first identification key, and the digital currency server adds a first digital currency data. The device stores the first identification key, a digital currency identification key and a digital currency key, the first identification key, the digital currency identification key and a first key are stored in a first electronic device, In the method of the present invention, the digital currency server first generates a first identification code according to the digital currency key and the first digital currency data, so as to push the first digital currency data and the first identification code to the first digital currency data. An electronic device; the first electronic device recognizes the first identification code according to the digital currency identification key and the first identification key, so as to obtain the authorization to use the first digital currency data, so the first electronic device according to The first key encrypts a first payment amount data and a first payee data to generate a first payment code, and the first payee data corresponds to a second electronic device; the first electronic device The device transmits the first payment code to the digital money server to identify the first payment code according to the first identification key to obtain the first payment amount data and the first payee data; the digital money server identifies the first payment code according to the first identification key. The first payment amount data, the first identification key corresponding to the first digital currency data, and the second identification key corresponding to the first payee data generate a second digital currency data and a third digital currency data , wherein the second digital currency data corresponds to the first payment amount, and the third digital currency amount is equal to or greater than 0; the digital currency server generates a first digital currency data according to the digital currency key and the second digital currency data. Two identification codes and a third identification code is generated according to the digital currency key and the third digital currency data, so as to broadcast the second digital currency data, the third digital currency data, the second identification code and the third digital currency data The identification code is sent to the first electronic device; and the first electronic device transmits the second digital currency data and the second identification code to the second electronic device. Therefore, the present invention allows the general public to use the digital wallet through the electronic device, and the digital currency data can be split in the digital currency server and broadcast to the electronic devices used by the general public, thereby popularizing the use of the digital currency data. , and issuing the digital currency data verified by the key through the digital currency server can enhance the public's trust in the digital currency.
本發明提供一實施例,其在於該數位貨幣伺服器依據該第一數位貨幣資料與該數位貨幣金鑰加密而產生一第一識別碼之步驟前,更進一步讓該數位貨幣伺服器依據該第一金額與該第一識別金鑰產生該第一數位貨幣資料;然後該數位貨幣伺服器於一記帳資料新增該第一數位貨幣資料之記錄。The present invention provides an embodiment, wherein before the step of generating a first identification code according to the encryption of the first digital currency data and the digital currency key by the digital currency server, the digital currency server further causes the digital currency server to generate a first identification code according to the first digital currency data. An amount and the first identification key generate the first digital currency data; then the digital currency server adds a record of the first digital currency data to a billing data.
本發明提供一實施例,其在於該數位貨幣伺服器依據該第一支付金額資料、該第一數位貨幣資料對應之該第一識別金鑰與該第一收付者資料對應之該第二識別金鑰產生一第二數位貨幣資料、一第三數位貨幣資料之步驟中,該數位貨幣伺服器進一步於一記帳資料刪除該第一數位貨幣資料之記錄並新增該第二數位貨幣資料與該第三數位貨幣資料之記錄。The present invention provides an embodiment wherein the digital currency server is based on the first payment amount data, the first identification key corresponding to the first digital currency data, and the second identification corresponding to the first payee data In the step of generating a second digital currency data and a third digital currency data by the key, the digital currency server further deletes the record of the first digital currency data in a billing data and adds the second digital currency data and the The third digital currency data record.
本發明另揭示了一種支付數位貨幣之系統,其包含一數位貨幣伺服器、一第一電子裝置與一第二電子裝置,其中,該數位貨幣伺服器設有一貨幣處理模組,該貨幣處理模組依據一第一金額與一第一識別金鑰產生一第一數位貨幣資料,該數位貨幣伺服器存有一第一識別金鑰、一數位貨幣金鑰與一數位貨幣識別金鑰,該貨幣處理模組依據該數位貨幣金鑰對該第一數位貨幣資料加密而產生一第一識別碼;該第一電子裝置設有一第一處理單元,以執行一第一貨幣程式並連結該貨幣處理模組,該貨幣處理模組推播該第一數位貨幣資料與該第一識別碼至該第一貨幣程式,該第一貨幣程式依據一第一金鑰、一第一支付金額資料與一第一收付者資料加密而產生一第一支付碼,以傳送至該數位貨幣伺服器,該數位貨幣伺服器依據該第一識別金鑰識別該第一支付碼而取得該第一支付金額資料與該第一收付者資料,該數位貨幣伺服器依據該第一支付金額資料、該第一數位貨幣資料對應之該第一識別金鑰與該第一收付者資料對應之該第二識別金鑰產生一第二數位貨幣資料與一第三數位貨幣資料,該數位貨幣伺服器依據該數位貨幣金鑰與該第二數位貨幣資料產生一第二識別碼並依據該數位貨幣金鑰與該第三數位貨幣資料產生一第三識別碼,該數位貨幣伺服器推播該第二數位貨幣資料、該第三數位貨幣資料、該第二識別碼與該第三識別碼至該第一電子裝置,該第二數位貨幣資料對應於該第一支付金額,該第三數位貨幣之金額等於或大於0;該第二電子裝置設有一第二處理單元,該第二處理單元執行一第二貨幣程式,該第一電子裝置傳送該第二數位貨幣資料與該第二識別碼至該第二電子裝置,該第一收付者資料對應於該第二電子裝置。因此本發明之支付數位貨幣之系統可透過該數位貨幣伺服器提供數位貨幣且經該數位貨幣伺服器統一提供之各種金鑰識別數位貨幣相關資料,可提升民眾對於數位貨幣資料的信賴度。The present invention further discloses a system for paying digital money, which includes a digital money server, a first electronic device and a second electronic device, wherein the digital money server is provided with a money processing module, the money processing module The group generates a first digital currency data according to a first amount and a first identification key, the digital currency server stores a first identification key, a digital currency key and a digital currency identification key, the currency processing The module encrypts the first digital currency data according to the digital currency key to generate a first identification code; the first electronic device is provided with a first processing unit to execute a first currency program and connect to the currency processing module , the money processing module pushes the first digital money data and the first identification code to the first money program, the first money program is based on a first key, a first payment amount data and a first receipt The payer data is encrypted to generate a first payment code, which is sent to the digital currency server. The digital currency server identifies the first payment code according to the first identification key and obtains the first payment amount data and the first payment amount. a payee data, the digital currency server generates according to the first payment amount data, the first identification key corresponding to the first digital currency data and the second identification key corresponding to the first payee data a second digital currency data and a third digital currency data, the digital currency server generates a second identification code according to the digital currency key and the second digital currency data, and generates a second identification code according to the digital currency key and the third digital currency Currency data generates a third identification code, the digital currency server pushes and broadcasts the second digital currency data, the third digital currency data, the second identification code and the third identification code to the first electronic device, the first electronic device The two digital currency data correspond to the first payment amount, the third digital currency amount is equal to or greater than 0; the second electronic device is provided with a second processing unit, the second processing unit executes a second currency program, the first An electronic device transmits the second digital currency data and the second identification code to the second electronic device, and the first payee data corresponds to the second electronic device. Therefore, the system for paying digital currency of the present invention can provide digital currency through the digital currency server and identify digital currency-related data with various keys uniformly provided by the digital currency server, thereby enhancing the public's trust in digital currency data.
本發明提供另一實施例,其在於該數位貨幣伺服器進一步於一資料庫依據該第一金額對應產生該第一數位貨幣資料,且於一記帳資料新增該第一數位貨幣資料之記錄。Another embodiment of the present invention is that the digital currency server further generates the first digital currency data in a database according to the first amount, and adds a record of the first digital currency data to a billing data.
本發明提供另一實施例,其在於該數位貨幣伺服器依據該第一支付金額資料、該第一數位貨幣資料對應之該第一識別金鑰與該第一收付者資料對應之該第二識別金鑰產生該第二數位貨幣資料與該第三數位貨幣資料並進一步於一記帳資料刪除該第一數位貨幣資料之記錄並新增該第二數位貨幣資料與該第三數位貨幣資料之記錄。The present invention provides another embodiment, wherein the digital money server is based on the first payment amount data, the first identification key corresponding to the first digital money data, and the second payee data corresponding to the first payee data. The identification key generates the second digital currency data and the third digital currency data and further deletes the record of the first digital currency data in a billing data and adds a record of the second digital currency data and the third digital currency data .
本發明揭示了一種支付數位貨幣之方法,其應用於一第一電子裝置儲存有一第一數位貨幣資料、一數位貨幣識別金鑰、一第一識別金鑰與一第一金鑰,一數位貨幣伺服器具有一數位貨幣金鑰、該數位貨幣識別金鑰與該第一識別金鑰,本發明之方法先由該第一電子裝置依據該第一金鑰對一第一支付金額與一第一收付者資料加密而產生一第一支付碼,該第一收付者資料對應於一第二電子裝置;該第一電子裝置傳送該第一數位貨幣資料與該第一支付碼至該第二電子裝置,以經由該第二電子裝置上傳該第一支付碼至該數位貨幣伺服器;該數位貨幣伺服器依據該第一識別金鑰識別該第一支付碼而獲得該第一支付金額資料與該第一收付者資料;該數位貨幣伺服器依據該第一支付金額資料、該第一數位貨幣資料對應之該第一識別金鑰與該第一收付者資料對應之該第二識別金鑰產生一第二數位貨幣資料與一第三數位貨幣資料,該第二數位貨幣資料對應於該第一支付金額,該第三數位貨幣資料之金額等於或大於0;該數位貨幣伺服器依據該數位貨幣金鑰與該第二數位貨幣資料產生一第二識別碼,並依據該數位貨幣金鑰與該第三數位貨幣資料產生一第三識別碼,以推播該第二數位貨幣資料、該第三數位貨幣資料、該第二識別碼與該第三識別碼至該第二電子裝置;及該第二電子裝置傳送該第三數位貨幣資料與該第三識別碼至該第一電子裝置並更新。藉此,本發明讓一般民眾透過該電子裝置使用數位錢包即可藉由該數位貨幣資料於數位貨幣伺服器拆分而推播至一般民眾所使用之電子裝置,因而普及化數位貨幣資料之使用,並透過數位貨幣伺服器發行經金鑰驗證之數位貨幣資料可提升民眾對於數位貨幣的信賴度。The invention discloses a method for paying digital currency, which is applied to a first electronic device to store a first digital currency data, a digital currency identification key, a first identification key and a first key, a digital currency The server has a digital currency key, the digital currency identification key and the first identification key. In the method of the present invention, the first electronic device first pairs a first payment amount and a first payment amount according to the first key. The payee data is encrypted to generate a first payment code, the first payee data corresponds to a second electronic device; the first electronic device transmits the first digital currency data and the first payment code to the second an electronic device for uploading the first payment code to the digital currency server via the second electronic device; the digital currency server identifies the first payment code according to the first identification key to obtain the first payment amount data and the the first payee data; the digital currency server according to the first payment amount data, the first identification key corresponding to the first digital currency data and the second identification key corresponding to the first payee data The key generates a second digital currency data and a third digital currency data, the second digital currency data corresponds to the first payment amount, the amount of the third digital currency data is equal to or greater than 0; the digital currency server according to the The digital currency key and the second digital currency data generate a second identification code, and generate a third identification code according to the digital currency key and the third digital currency data, so as to push and broadcast the second digital currency data, the third digital currency data, the second identification code and the third identification code to the second electronic device; and the second electronic device transmits the third digital currency data and the third identification code to the first electronic device and renew. Therefore, the present invention allows the general public to use the digital wallet through the electronic device, and the digital currency data can be split in the digital currency server and broadcast to the electronic devices used by the general public, thereby popularizing the use of the digital currency data. , and issuing the digital currency data verified by the key through the digital currency server can enhance the public's trust in the digital currency.
本發明提供另一實施例,其在於該第一電子裝置依據該第一金鑰對一第一支付金額與一第一收付者資料加密而產生一第一支付碼之步驟前,更進一步讓該數位貨幣伺服器依據一第一金額與該第一識別金鑰產生該第一數位貨幣資料;然後該數位貨幣伺服器於一記帳資料新增該第一數位貨幣資料之記錄;該數位貨幣伺服器依據該數位貨幣金鑰與該第一數位貨幣資料而產生一第一識別碼,以讓該第一電子裝置下載該第一數位貨幣資料;該第一電子裝置依據該數位貨幣識別金鑰與該第一識別金鑰識別該第一識別碼。Another embodiment of the present invention is that before the first electronic device encrypts a first payment amount and a first payee data according to the first key to generate a first payment code, the first electronic device further allows The digital currency server generates the first digital currency data according to a first amount and the first identification key; then the digital currency server adds a record of the first digital currency data in a billing data; the digital currency server The device generates a first identification code according to the digital currency key and the first digital currency data, so that the first electronic device can download the first digital currency data; the first electronic device identifies the digital currency according to the key and the first digital currency data. The first identification key identifies the first identification code.
本發明提供一實施例,其在於該數位貨幣伺服器依據該第一支付金額資料、該第一數位貨幣資料對應之該第一識別金鑰與該第一收付者資料對應之該第二識別金額產生一第二數位貨幣資料、一第三數位貨幣資料之步驟中,該數位貨幣伺服器進一步於一記帳資料刪除該第一數位貨幣資料之記錄並新增該第二數位貨幣資料與該第三數位貨幣資料之記錄。The present invention provides an embodiment wherein the digital currency server is based on the first payment amount data, the first identification key corresponding to the first digital currency data, and the second identification corresponding to the first payee data In the step of generating a second digital currency data and a third digital currency data, the digital currency server further deletes the record of the first digital currency data in a billing data and adds the second digital currency data and the third digital currency data. Three-digit currency data records.
本發明另揭示了一種支付數位貨幣之系統,其包含一數位貨幣伺服器、一第一電子裝置與一第二電子裝置,其中,該數位貨幣伺服器設有一貨幣處理模組,該數位貨幣伺服器存有一數位貨幣識別金鑰、一數位貨幣金鑰與一第一識別金鑰;該第一電子裝置,設有一第一處理單元與一第一儲存單元,該第一處理單元執行一第一貨幣程式,該第一儲存單元儲存有一第一數位貨幣資料、該數位貨幣識別金鑰、該第一識別金鑰與一第一金鑰,該第一貨幣程式依據該第一金鑰對一第一支付金額資料與一第一收付者資料進行加密而產生一第一支付碼;該第二電子裝置設有一第二處理單元與一第二儲存單元,該第二處理單元執行一第二貨幣程式,該第二電子裝置接收該第一電子裝置所傳送之該第一數位貨幣資料與該第一支付碼,以經由該第二電子裝置上傳至該數位貨幣伺服器,該數位貨幣伺服器依據該第一識別金鑰對該第一支付碼識別而取得該第一支付金額資料與該第一收付者資料,該數位貨幣伺服器依據該第一支付金額資料、該第一數位貨幣資料對應之該第一識別金鑰與該第一收付者資料對應之該第二識別金鑰產生一第二數位貨幣資料與一第三數位貨幣資料,該數位貨幣伺服器依據該數位貨幣金鑰與該第二數位貨幣資料產生一第二識別碼並依據該數位貨幣金鑰與該第三數位貨幣資料產生一第三識別碼,以推播該第二數位貨幣資料、該第三數位貨幣資料、該第二識別碼與該第三識別碼至該第二電子裝置,該第二電子裝置傳送該第三數位貨幣資料與該第三識別碼至該第一電子裝置,其中該第二數位貨幣資料對應於該第一支付資料,該第三數位貨幣資料之金額等於或大於0。因此本發明之支付數位貨幣之系統可透過該數位貨幣伺服器發行數位貨幣且經該數位貨幣伺服器統一提供之各種金鑰識別數位貨幣相關資料,可提升民眾對於數位貨幣資料的信賴度。The present invention further discloses a system for paying digital money, which includes a digital money server, a first electronic device and a second electronic device, wherein the digital money server is provided with a money processing module, the digital money server The device stores a digital currency identification key, a digital currency key and a first identification key; the first electronic device is provided with a first processing unit and a first storage unit, the first processing unit executes a first a money program, the first storage unit stores a first digital money data, the digital money identification key, the first identification key and a first key, the first money program pairs a first key according to the first key A payment amount data and a first payee data are encrypted to generate a first payment code; the second electronic device is provided with a second processing unit and a second storage unit, the second processing unit executes a second currency a program, wherein the second electronic device receives the first digital currency data and the first payment code sent by the first electronic device, and uploads it to the digital currency server through the second electronic device, and the digital currency server according to The first identification key identifies the first payment code to obtain the first payment amount data and the first payee data, and the digital currency server corresponds to the first payment amount data and the first digital currency data according to the first identification key The first identification key and the second identification key corresponding to the first payee data generate a second digital currency data and a third digital currency data, the digital currency server according to the digital currency key and The second digital currency data generates a second identification code and generates a third identification code according to the digital currency key and the third digital currency data, so as to broadcast the second digital currency data, the third digital currency data, The second identification code and the third identification code are sent to the second electronic device, and the second electronic device transmits the third digital currency data and the third identification code to the first electronic device, wherein the second digital currency data Corresponding to the first payment data, the amount of the third digital currency data is equal to or greater than 0. Therefore, the system for paying digital currency of the present invention can issue digital currency through the digital currency server and identify digital currency-related data with various keys uniformly provided by the digital currency server, thereby enhancing the public's trust in digital currency data.
本發明提供另一實施例,其在於該數位貨幣伺服器進一步於一資料庫依據該第一金額與該第一識別金鑰對應產生該第一數位貨幣資料,且於一記帳資料新增該第一數位貨幣資料之記錄。The present invention provides another embodiment, wherein the digital currency server further generates the first digital currency data in a database according to the first amount and the first identification key, and adds the first digital currency data to a
本發明提供另一實施例,其在於該數位貨幣伺服器依據該第一支付金額資料、該第一數位貨幣資料對應之該第一識別金鑰與該第一收付者資料對應之該第二識別金鑰產生該第二數位貨幣資料、該第三數位貨幣資料並進一步於一記帳資料刪除該第一數位貨幣資料之記錄並新增該第二數位貨幣資料、該第三數位貨幣資料之記錄。The present invention provides another embodiment, wherein the digital money server is based on the first payment amount data, the first identification key corresponding to the first digital money data, and the second payee data corresponding to the first payee data. The identification key generates the second digital currency data and the third digital currency data and further deletes the record of the first digital currency data in a billing data and adds the second digital currency data and the third digital currency data. .
為使 貴審查委員對本發明之特徵及所達成之功效有更進一步之瞭解與認識,謹佐以實施例及配合說明,說明如後:In order to make your examiners have a further understanding and understanding of the features of the present invention and the effects achieved, I would like to assist with the examples and cooperation descriptions, and the descriptions are as follows:
首先,請參閱第1A圖,其為本發明之一實施例之數位貨幣支付之流程圖。如圖所示,本發明之支付數位貨幣之方法的步驟包含:First, please refer to FIG. 1A , which is a flow chart of digital currency payment according to an embodiment of the present invention. As shown in the figure, the steps of the method for paying digital currency of the present invention include:
步驟S10:依據第一數位貨幣資料與數位貨幣金鑰產生第一識別碼,以推播第一數位貨幣資料與第一識別碼至第一電子裝置;Step S10: generating a first identification code according to the first digital currency data and the digital currency key, so as to push and broadcast the first digital currency data and the first identification code to the first electronic device;
步驟S20: 第一電子裝置依據數位貨幣識別金鑰與第一識別金鑰識別第一識別碼;Step S20: the first electronic device identifies the first identification code according to the digital currency identification key and the first identification key;
步驟S30: 第一電子裝置依據第一金鑰對第一支付金額資料與第一收付者資料進行加密而產生第一支付碼;Step S30: the first electronic device encrypts the first payment amount data and the first payee data according to the first key to generate a first payment code;
步驟S40: 第一電子裝置傳送第一支付碼至數位貨幣伺服器;Step S40: the first electronic device transmits the first payment code to the digital money server;
步驟S50:數位貨幣伺服器依據第一識別金鑰識別第一支付碼而獲得第一支付金額資料與第一收付者資料;Step S50: the digital money server identifies the first payment code according to the first identification key to obtain the first payment amount data and the first payee data;
步驟S60: 數位貨幣伺服器依據第一支付金額資料、第一數位貨幣資料對應之第一識別金鑰與第一收付者資料對應之第二識別金鑰產生第二數位貨幣資料與第三數位貨幣資料;Step S60: The digital currency server generates the second digital currency data and the third digital currency according to the first payment amount data, the first identification key corresponding to the first digital currency data, and the second identification key corresponding to the first payee data currency information;
步驟S70: 數位貨幣伺服器依據數位貨幣金鑰對第二數位貨幣資料加密而產生第二識別碼並依據數位貨幣金鑰對第三數位貨幣資料加密而產生第三識別碼;Step S70: the digital currency server encrypts the second digital currency data according to the digital currency key to generate a second identification code, and encrypts the third digital currency data according to the digital currency key to generate a third identification code;
步驟S80: 數位貨幣伺服器推播第二數位貨幣資料、第三數位貨幣資料、第二識別碼與第三識別碼至第一電子裝置;Step S80: the digital money server pushes and broadcasts the second digital money data, the third digital money data, the second identification code and the third identification code to the first electronic device;
步驟S90: 第一電子裝置傳送第二數位貨幣資料與第二識別碼至第二電子裝置。Step S90: The first electronic device transmits the second digital currency data and the second identification code to the second electronic device.
請一併參閱第2A圖至第2H圖,其為本發明之一實施例之部分步驟之示意圖;如第2A圖至第2H圖所示,本發明之支付數位貨幣之方法所搭配之支付數位貨幣之系統1,其包含一數位貨幣伺服器10、一第一電子裝置20與一第二電子裝置30,其中,數位貨幣伺服器10設有一貨幣處理模組12,第一電子裝置20設有一第一處理單元22與一第一儲存單元24,第二電子裝置30設有一第二處理單元32與一第二儲存單元34,第一處理單元22執行一第一貨幣程式P1,第二處理單元32執行一第二貨幣程式P2。數位貨幣伺服器10存有一第一識別金鑰KVC1、一第二識別金鑰KVC2、一數位貨幣識別金鑰KVDC與一數位貨幣金鑰KDC,第一儲存單元24中存有一第一數位錢包W1,第二儲存單元34中存有一第二數位錢包W2,第一電子裝置20儲存有一數位貨幣識別金鑰KVDC、第一識別金鑰KVC1、一第一金鑰KEY1於第一數位錢包W1中,第二電子裝置30儲存有一數位貨幣識別金鑰KVDC、第二識別金鑰KVC2、一第二金鑰KEY2於第二數位錢包W2中,第一電子裝置20與第二電子裝置30於申裝第一數位錢包W1與第二數位錢包W2後皆具有數位貨幣識別金鑰KVDC。Please also refer to Figures 2A to 2H, which are schematic diagrams of some steps of an embodiment of the present invention; as shown in Figures 2A to 2H, the payment digital currency matched with the method of paying digital currency of the present invention is shown in Figures 2A to 2H The
於步驟S10之前,如第1B圖所示,本發明之支付數位貨幣之方法進一步包含:Before step S10, as shown in FIG. 1B, the method for paying digital currency of the present invention further includes:
步驟S1: 數位貨幣伺服器依據第一金額與第一識別金鑰產生第一數位貨幣資料;以及Step S1: the digital currency server generates the first digital currency data according to the first amount and the first identification key; and
步驟S3:數位貨幣伺服器於記帳資料新增第一數位貨幣資料之記錄。Step S3: The digital currency server adds a record of the first digital currency data to the billing data.
其中,於步驟S1中,並參閱第2A圖,數位貨幣伺服器10依據該第一金額422與第一識別金鑰KVC1產生第一數位貨幣資料DC1,同時,且數位貨幣伺服器10之貨幣處理模組12依據第一金額422核對第一數位貨幣資料DC1;於步驟S3中,並參閱第2A圖,數位貨幣伺服器10中設有一記帳資料ACC,貨幣處理模組12於步驟S1完成後,在記帳資料ACC中新增第一數位貨幣資料DC1之記錄,例如:新增面額2萬之數位貨幣及對應之金鑰於記帳資料ACC中。Wherein, in step S1, referring to FIG. 2A, the
於步驟S10中,復參閱第2A圖,在數位貨幣伺服器10中,貨幣處理模組12依據數位貨幣金鑰KDC與第一數位貨幣資料DC1產生第一識別碼VC1,藉此,數位貨幣伺服器10將第一數位貨幣資料DC1與第一識別碼VC1推播至第一電子裝置20,第一電子裝置20即由第一數位錢包W1中的數位貨幣識別金鑰KVDC與第一識別金鑰KVC1識別第一識別碼VC1,因而獲取第一數位貨幣資料DC1之使用授權,由於第一金鑰KEY1為綁定第一電子裝置20,而第一識別金鑰KVC1與第一識別碼VC1即為對應於第一電子裝置20,倘若由其他電子裝置讀取,則無法識別第一識別碼VC1,因而無法使用第一數位貨幣資料DC1。請進一步參閱第3A圖與第3B圖,其為本發明之一實施例之第一電子裝置接收數位貨幣之示意圖;如第3A圖所示,並參閱第2A圖,第一電子裝置20為同步操作且具有第一金鑰KEY1的情況下,步驟S10中進一步包含如下:In step S10, referring to FIG. 2A again, in the
步驟S12A:第一電子裝置接收第一數位貨幣資料與第一識別碼之同步資料。Step S12A: The first electronic device receives the synchronization data of the first digital currency data and the first identification code.
於步驟S10中之第一數位貨幣資料DC1與第一識別碼VC1推播完成後,接續於步驟S12A中,由第一電子裝置10接收第一數位貨幣資料DC1與第一識別碼VC1之同步資料並儲存於第一儲存單元24之第一數位錢包W1中。After the push broadcast of the first digital currency data DC1 and the first identification code VC1 in step S10 is completed, in step S12A, the first
如第3B圖所示,並參閱第2A圖,第一電子裝置20為下載方式操作,因而步驟S10中進一步包含如下:As shown in FIG. 3B, and referring to FIG. 2A, the first
步驟S12B:第一電子裝置下載第一數位貨幣資料與第一識別碼;以及Step S12B: the first electronic device downloads the first digital currency data and the first identification code; and
步驟S14B:儲存並記錄。Step S14B: Store and record.
於步驟S10中之第一數位貨幣資料DC1與第一識別碼VC1推播完成後,接續於步驟S12B中,由第一電子裝置10將數位貨幣伺服器10中的第一數位貨幣資料DC1與第一識別碼VC1下載至第一貨幣程式P1,並接續於步驟S14B中儲存第一數位貨幣資料DC1與第一識別碼VC1於第一儲存單元24中的第一數位錢包W1,例如:面額2萬之數位貨幣及對應之識別碼由第一電子裝置20之第一貨幣程式P1自數位貨幣伺服器10下載至第一儲存單元24。After the broadcast of the first digital currency data DC1 and the first identification code VC1 in step S10 is completed, in step S12B, the first
復參閱第1A圖並一併參閱第2B圖,於步驟S20中,第一電子裝置20經由第一處理單元22所執行之第一貨幣程式P1依據數位貨幣識別金鑰KVDC與第一識別金鑰KVC1識別第一數位錢包W1內的第一識別碼VC1,因而獲得第一數位貨幣資料DC1之授權,或者接收到第一識別碼VC1即獲得第一數位貨幣資料DC1之授權。於步驟S30中,如第2C圖所示,第一電子裝置20於使用第一數位貨幣資料DC1進行支付時,第一電子裝置20之第一貨幣程式P1依據第一金鑰KEY1對第一支付金額資料D11與第一收付者資料D12進行加密,因而對應產生一第一支付碼PC1,其中,第一支付金額資料D11為第一電子裝置20之使用者所欲支付之第一支付金額,第一收付者資料D12為對應於第二電子裝置30,第一電子裝置20為掃描第二電子裝置30對應之數位條碼(例如:QRcode)或經由無線傳輸方式自第二電子裝置30傳送至第一電子裝置20,例如:藍芽或Wi-Fi直連(Wi-Fi Direct)或近端傳輸(Near Field Communication,NFC),本實施例係以數位條碼掃描之方式作為舉例說明,因而讓第一電子裝置20掃描第二電子裝置30提供之數位條碼CODE,以連結至一條碼伺服器50,而下載預先儲存之第一支付金額資料D11與第一收付者資料D12,供第一電子裝置20依據第一金鑰KEY1進行加密。Referring back to FIG. 1A and FIG. 2B, in step S20, the first
於步驟S40中,如第2D圖所示,第一電子裝置20為上傳資料至數位貨幣伺服器10,本實施例中,以第一電子裝置20同步數位貨幣伺服器10,因而讓第一電子裝置20僅需上傳第一支付碼PC1,更可為第一電子裝置10一併將第一數位貨幣資料DC1與第一支付碼PC1一併上傳至數位貨幣伺服器10,接續於步驟S50中,數位貨幣伺服器10之貨幣處理模組12依據第一識別金鑰KVC1識別第一支付碼PC1,如第2D圖所示,因而獲得第一支付金額資料D11與第一收付者資料D12,然後於步驟S60中,如第2E圖所示,貨幣處理模組12依據第一支付金額資料D11、第一數位貨幣資料DC1對應之第一識別金鑰KVC1與第一收付者資料D12對應之第二識別金鑰KVC2產生一第二數位貨幣資料DC2與一第三數位貨幣資料DC3,其中貨幣處理模組12依據第一數位貨幣資料DC1取出對應之第一識別金鑰KVC1並依據第一收付者資料D12而取出對應第二識別金鑰KVC2,且貨幣處理模組12依據第一支付金額資料D11對應產生第二數位貨幣資料DC2,同時對應產生第三數位貨幣資料DC3,特別是該第三數位貨幣資料對應之金額等於或大於0,同時,貨幣處理模組12進一步於記帳資料ACC中刪除第一數位貨幣資料DC1之記錄並新增第二數位貨幣資料DC2、第三數位貨幣資料DC3之記錄。In step S40, as shown in FIG. 2D, the first
接續上述,於步驟S70中,如第2F圖所示,數位貨幣伺服器10透過貨幣處理模組12依據數位貨幣金鑰KDC對第二數位貨幣資料DC2加密而產生一第二識別碼VC2並依據數位貨幣金鑰KDC對第三數位貨幣資料DC3加密而產生一第三識別碼VC3,於步驟S80中,如第2G圖所示,數位貨幣伺服器10透過貨幣處理模組12推播第二數位貨幣資料DC2、第三數位貨幣資料DC3、第二識別碼VC2與第三識別碼VC3至第一電子裝置20之第一處理單元22,其中,由於第二金鑰KEY2綁定於第二電子裝置30,因此當第一電子裝置20接收到第二數位貨幣資料DC2與第二識別碼VC2時,第一處理單元22無法使用或讀取出第二數位貨幣資料DC2與第二識別碼VC2之內容;如第4A圖所示,並參閱第2G圖,第一電子裝置20為同步操作且具有第一金鑰KEY1的情況下,步驟S80中進一步包含如下:Continuing the above, in step S70, as shown in FIG. 2F, the
步驟S82A:第一電子裝置接收第三數位貨幣資料與第三識別碼之同步資料。Step S82A: The first electronic device receives the synchronization data of the third digital currency data and the third identification code.
於步驟S80中之第三數位貨幣資料DC3與三識別碼VC3推播完成後,接續於步驟S82A中,由第一電子裝置10接收第三數位貨幣資料DC3與第三識別碼VC3之同步資料並儲存於第一儲存單元24。After the push broadcast of the third digital currency data DC3 and the third identification code VC3 in step S80 is completed, in step S82A, the first
如第4B圖所示,並參閱第2G圖,第一電子裝置20為下載方式操作,因而步驟S80中進一步包含如下:As shown in FIG. 4B, and referring to FIG. 2G, the first
步驟S82B:第一電子裝置下載第三數位貨幣資料與第三識別碼;以及Step S82B: the first electronic device downloads the third digital currency data and the third identification code; and
步驟S84B:儲存並記錄。Step S84B: Store and record.
於步驟S80中之第三數位貨幣資料DC3與三識別碼VC3推播完成後,接續於步驟S82B中,由第一電子裝置10將數位貨幣伺服器10中的第三數位貨幣資料DC3與第三識別碼VC3下載至第一貨幣程式P1,並接續於步驟S84中儲存第三數位貨幣資料DC3與三識別碼VC3於第一儲存單元24中的第一數位錢包W1,例如:面額2萬之數位貨幣拆解為面額19800與200之數位貨幣及對應之識別碼由第一電子裝置20之第一貨幣程式P1自數位貨幣伺服器10下載並將面額19800之數位貨幣及其識別碼儲存至第一儲存單元24的第一數位錢包W1,而面額200之數位貨幣及其識別碼即為傳送並支付至第二電子裝置30的第二數位錢包W2。After the push and broadcasting of the third digital currency data DC3 and the three identification codes VC3 in step S80 is completed, in step S82B, the first
復參閱第1A圖,接續於步驟S90中,如第2H圖所示,本實施例係以第一電子裝置20之第一貨幣程式P1自數位貨幣伺服器10下載第二數位貨幣資料DC2、第三數位貨幣資料DC3、第二識別碼VC2與第三識別碼VC3作為舉例,以清楚表示第二數位貨幣資料DC2與第三數位貨幣資料DC3之差異,第一電子裝置20將第二數位貨幣資料DC2與第二識別碼VC2傳送至第二電子裝置30,同時,將第三數位貨幣資料DC3及其第三識別碼VC3儲存至第一數位錢包W1;如第5圖所示,並參閱第2H圖,第二電子裝置30為相對於數位貨幣伺服器10為離線狀態下,因而步驟S90中進一步包含如下:Referring back to FIG. 1A , and continuing in step S90 , as shown in FIG. 2H , in this embodiment, the first money program P1 of the first
步驟S92:第二電子裝置儲存第二數位貨幣資料與第二識別碼。Step S92: The second electronic device stores the second digital currency data and the second identification code.
於步驟S80中之第一電子裝置20將第二數位貨幣資料DC2與第二識別碼VC2傳送至第二電子裝置30之動作完成後,接續於步驟S92中,由第二電子裝置30將第二數位貨幣資料DC2與第二識別碼VC2儲存於第二儲存單元34中的第二數位錢包W2,例如:第一電子裝置20之第一貨幣程式P1將面額200之數位貨幣及其識別碼即為傳送並支付至第二電子裝置30後,第二電子裝置30之第二貨幣程式P2將面額200之數位貨幣及其識別碼儲存於第二數位錢包W2中,並由第二貨幣程式P2依據數位貨幣識別金鑰KVDC與第二識別金鑰KVC2識別第二識別碼VC2而取得第二數位貨幣資料DC2之使用授權。After the first
以上實施例為擔任收付方角色之第二電子裝置30相對於數位貨幣伺服器10為離線狀態下,因而暫時無法對數位貨幣伺服器10進行同步或更新或下載。除此之外,本發明更可應用於擔任支付方角色之第一電子裝置20相對於數位貨幣伺服器10為離線狀態下,其實施方式如下:In the above embodiment, the second
請參閱第6A圖,其為本發明之另一實施例之流程圖。其中第1A圖與第6A圖之差異在於第1A圖為第二電子裝置30直接傳輸資料至數位貨幣伺服器10,第6圖之第一電子裝置20透過第二電子裝置30中轉資料至數位貨幣伺服器10。本發明之支付數位貨幣之方法之步驟包含下:Please refer to FIG. 6A , which is a flowchart of another embodiment of the present invention. The difference between Fig. 1A and Fig. 6A is that Fig. 1A shows that the second
步驟S110: 第一電子裝置依據第一金鑰對第一支付金額與第一收付者資料加密而產生第一支付碼;Step S110: the first electronic device encrypts the first payment amount and the first payee data according to the first key to generate a first payment code;
步驟S120: 第一電子裝置傳送第一支付碼至第二電子裝置,以經由第二電子裝置上傳第一數位貨幣資料與第一支付碼至數位貨幣伺服器;Step S120: the first electronic device transmits the first payment code to the second electronic device, so as to upload the first digital currency data and the first payment code to the digital currency server via the second electronic device;
步驟S130: 數位貨幣伺服器依據第一識別金鑰識別第一支付碼而獲得第一支付金額資料與第一收付者資料;Step S130: The digital money server identifies the first payment code according to the first identification key to obtain the first payment amount data and the first payee data;
步驟S140: 數位貨幣伺服器依據第一支付金額資料、第一數位貨幣資料對應之第一識別金鑰與第一收付者資料對應之第二識別金鑰產生第二數位貨幣資料、第三數位貨幣資料;Step S140: The digital currency server generates the second digital currency data and the third digital currency according to the first payment amount data, the first identification key corresponding to the first digital currency data, and the second identification key corresponding to the first payee data currency information;
步驟S150: 數位貨幣伺服器依據數位貨幣金鑰對第二數位貨幣資料加密而產生第二識別碼,並依據數位貨幣金鑰對第三數位貨幣資料加密而產生第三識別碼;Step S150: the digital currency server encrypts the second digital currency data according to the digital currency key to generate a second identification code, and encrypts the third digital currency data according to the digital currency key to generate a third identification code;
步驟S160: 數位貨幣伺服器推播第二數位貨幣資料、第三數位貨幣資料、第二識別碼與第三識別碼至第二電子裝置;Step S160: the digital money server pushes and broadcasts the second digital money data, the third digital money data, the second identification code and the third identification code to the second electronic device;
步驟S170: 第二電子裝置傳送第三數位貨幣資料與第三識別碼至第一電子裝置並更新。Step S170: The second electronic device transmits the third digital currency data and the third identification code to the first electronic device and updates.
其中步驟S110、步驟S130至步驟S150同於上述之步驟S30、步驟S50至步驟S70,因此不再贅述。The steps S110 , S130 to S150 are the same as the above-mentioned steps S30 , S50 to S70 , and thus will not be described again.
請一併參閱第7A圖至第7G圖,其為本發明之一實施例之部分步驟之示意圖;如第7A圖至第7G圖所示,本發明之支付數位貨幣之方法所搭配之支付數位貨幣之系統1,其包含一數位貨幣伺服器10、一第一電子裝置20與一第二電子裝置30,其中,數位貨幣伺服器10設有一貨幣處理模組12,第一電子裝置20設有一第一處理單元22與一第一儲存單元24,第二電子裝置30設有一第二處理單元32與一第二儲存單元34,第一處理單元22執行一第一貨幣程式P1,第二處理單元32執行一第二貨幣程式P2。Please also refer to Figures 7A to 7G, which are schematic diagrams of some steps of an embodiment of the present invention; as shown in Figures 7A to 7G, the payment digital currency matched with the method of paying digital currency of the present invention The
於步驟S110之前,如第6B圖所示,本發明之支付數位貨幣之方法進一步包含:Before step S110, as shown in FIG. 6B, the method for paying digital currency of the present invention further includes:
步驟S101: 數位貨幣伺服器依據第一金額與第一識別金鑰產生第一數位貨幣資料;以及Step S101: The digital currency server generates first digital currency data according to the first amount and the first identification key; and
步驟S103:數位貨幣伺服器於記帳資料新增第一數位貨幣資料之記錄。Step S103: The digital currency server adds a record of the first digital currency data to the billing data.
步驟S105: 數位貨幣伺服器依據數位貨幣識別金鑰加密第一數位貨幣資料而產生第一識別碼,以讓第一電子裝置下載第一數位貨幣資料與第一金鑰;Step S105: the digital currency server encrypts the first digital currency data according to the digital currency identification key to generate a first identification code, so that the first electronic device can download the first digital currency data and the first key;
步驟S107: 第一電子裝置依據數位貨幣識別金鑰與第一識別金鑰識別第一識別碼。Step S107: The first electronic device identifies the first identification code according to the digital currency identification key and the first identification key.
步驟S101至步驟S103同於上述步驟S1至步驟S3,因此不再贅述。Steps S101 to S103 are the same as the above-mentioned steps S1 to S3, and thus will not be described again.
於步驟S105中,如第7A圖所示,數位貨幣伺服器10透過貨幣處理模組12依據數位貨幣識別金鑰KVDC加密第一數位貨幣資料DC1而產生第一識別碼VC1,第一電子裝置20藉由第一處理單元22所執行之第一貨幣程式P1向數位貨幣伺服器10下載第一數位貨幣資料DC1與第一識別碼VC1,接續於步驟S107中,如第7B圖所示,第一貨幣程式P1依據數位貨幣識別金鑰KVDC與第一識別金鑰KVC1識別第一識別碼VC1,因而讓第一數位錢包W1獲得第一數位貨幣資料DC1的使用授權。In step S105, as shown in FIG. 7A, the
復參閱第6A圖,於步驟S120中,於步驟S40中,如第7D圖所示,第一電子裝置20將第一支付碼PC1與第一數位貨幣資料DC1傳送至第二電子裝置30,因而透過第二處理單元32所執行之第二貨幣程式P2資料至數位貨幣伺服器10,本實施例中,以第一電子裝置20經由無線傳輸方式(例如:藍芽或Wi-Fi直連(Wi-Fi Direct)或近端傳輸(NFC))將第一支付碼PC1與第一數位貨幣資料DC船送至第二電子裝置30,第二電子裝置30一併將第一數位貨幣資料DC1與第一支付碼PC1一併上傳至數位貨幣伺服器10。Referring back to FIG. 6A, in step S120, in step S40, as shown in FIG. 7D, the first
接續上述,於步驟S160中,如第7G圖所示,數位貨幣伺服器10推播第二數位貨幣資料DC2、第三數位貨幣資料DC3、第二識別碼VC2與第三識別碼VC3至第二電子裝置30;如第8A圖所示,並參閱第7G圖,第一電子裝置20為同步操作且具有第一金鑰KEY1的情況下,步驟S160中進一步包含如下:Continuing the above, in step S160, as shown in FIG. 7G, the
步驟S162A:第二電子裝置接收第二數位貨幣資料、第三數位貨幣資料、第二識別碼與第三識別碼之同步資料。Step S162A: The second electronic device receives the second digital currency data, the third digital currency data, the synchronization data of the second identification code and the third identification code.
於步驟S160中之第二數位貨幣資料DC2、第三數位貨幣資料DC3、第二識別碼VC2與第三識別碼VC3推播完成後,接續於步驟S162A中,由第二電子裝置30接收第二數位貨幣資料DC2與第二識別碼VC2之同步資料並儲存於第一儲存單元24。After the second digital currency data DC2, the third digital currency data DC3, the second identification code VC2 and the third identification code VC3 in step S160 are pushed and broadcasted, the second
如第8B圖所示,並參閱第7G圖,第一電子裝置20為下載方式操作,因而步驟S80中進一步包含如下:As shown in FIG. 8B, and referring to FIG. 7G, the first
步驟S162B:第一電子裝置下載第二數位貨幣資料、第三數位貨幣資料、第二識別碼與第三識別碼;以及Step S162B: the first electronic device downloads the second digital currency data, the third digital currency data, the second identification code and the third identification code; and
步驟S164B:儲存並記錄第二數位貨幣資料與第二識別碼。Step S164B: Store and record the second digital currency data and the second identification code.
於步驟S160中之第二數位貨幣資料DC2、第三數位貨幣資料DC3、第二識別碼VC2與第三識別碼VC3後,接續於步驟S162B中,由第二電子裝置30將數位貨幣伺服器10中的第二數位貨幣資料DC2、第三數位貨幣資料DC3、第二識別碼VC2與第三識別碼VC3下載至第二貨幣程式P2,並接續於步驟S164B中,如第7H圖所示,儲存第二數位貨幣資料DC2與第二識別碼VC2於第二儲存單元34中的第二數位錢包W2,例如:面額2萬之數位貨幣拆解為面額19800與200之數位貨幣及對應之識別碼由第二電子裝置30之第二貨幣程式P2自數位貨幣伺服器10下載並將面額19800與200之數位貨幣及其識別碼儲存至第一儲存單元24,而面額200之數位貨幣及其識別碼即儲存至第二電子裝置30之第二儲存單元34中。After the second digital currency data DC2, the third digital currency data DC3, the second identification code VC2 and the third identification code VC3 in step S160, in step S162B, the second
於步驟S170中,如第7H圖所示,第二電子裝置30透過無線傳輸方式傳送第三數位貨幣資料DC3與第三識別碼VC3至第一電子裝置20,第一電子裝置20透過第一貨幣程式P1依據數位貨幣識別金鑰KVDC與第一識別金鑰KVC1識別第三識別碼VC3,而獲得第三數位貨幣資料DC3之授權,並依據數位貨幣識別金鑰KVDC更新第一數位錢包W1之第一數位貨幣DC1為第三數位貨幣DC3。In step S170, as shown in FIG. 7H, the second
如此本發明之支付數位貨幣之方法及其系統,不僅可由第一電子裝置20直接連接數位貨幣伺服器10,因而傳輸第一數位貨幣資料DC1或其相關資料,亦可由第一電子裝置20透過第二電子裝置30中轉至數位貨幣伺服器10,因而讓第二電子裝置30代為上傳資料至數位貨幣伺服器10,如此不論是第一電子裝置20或者第二電子裝置30相對於數位貨幣伺服器10呈現離線狀態,皆可完成數位貨幣支付。In this way, the method and system for paying digital money of the present invention can not only directly connect the
綜上所述,本發明之支付數位貨幣之方法及其系統,其提供數位貨幣伺服器產生對應之金鑰與數位貨幣資料,以便於下載或收到推播之電子裝置可獲得數位貨幣之授權,以用於數位貨幣支付,並讓數位貨幣伺服器統一拆分記帳,因而讓數位貨幣之交易避免竄改風險,同時讓數位貨幣之信賴度增強。To sum up, the method and system for paying digital currency of the present invention provide the digital currency server to generate the corresponding key and digital currency data, so that the electronic device that downloads or receives the push broadcast can obtain the authorization of the digital currency , to be used for digital currency payment, and to allow the digital currency server to split the accounting uniformly, so that the transaction of digital currency can avoid the risk of tampering, and at the same time, the reliability of digital currency is enhanced.
故本發明實為一具有新穎性、進步性及可供產業上利用者,應符合我國專利法專利申請要件無疑,爰依法提出發明專利申請,祈 鈞局早日賜准專利,至感為禱。Therefore, the present invention is indeed novel, progressive and available for industrial use, and it should meet the requirements of patent application in my country's patent law.
惟以上所述者,僅為本發明之較佳實施例而已,並非用來限定本發明實施之範圍,舉凡依本發明申請專利範圍所述之形狀、構造、特徵及精神所為之均等變化與修飾,均應包括於本發明之申請專利範圍內。However, the above descriptions are only preferred embodiments of the present invention, and are not intended to limit the scope of implementation of the present invention. All changes and modifications made in accordance with the shape, structure, features and spirit described in the scope of the patent application of the present invention are equivalent. , shall be included in the scope of the patent application of the present invention.
1系統
10數位貨幣伺服器
12貨幣處理模組
20第一電子裝置
22第一處理單元
24第一儲存單元
30第二電子裝置
32第二處理單元
34第二儲存單元
40金融仲介伺服器
42銀行帳戶
422第一金額
ACC記帳資料
D11第一支付金額資料
D12第一收付者資料
DC1第一數位貨幣資料
DC2第二數位貨幣資料
DC3第三數位貨幣資料
KDC數位貨幣金鑰
KEY1第一金鑰
KEY2第二金鑰
KVC1第一識別金鑰
KVC2第二識別金鑰
KVDC數位貨幣識別金鑰
P1第一貨幣程式
P2第二貨幣程式
PC1第一支付碼
VC1第一識別碼
VC2第二識別碼
VC3第三識別碼
W1第一數位錢包
W2第二數位錢包
S1至S92 步驟
S101至S170 步驟
1
第1A圖:其為本發明之一實施例之支付數位貨幣資料之流程圖; 第1B圖:其為本發明之一實施例之支付數位貨幣資料之流程圖; 第2A圖至第2H圖:其為本發明之一實施例之部分步驟之示意圖; 第3A圖至第3B圖:其為本發明之一實施例之接收數位貨幣資料之流程圖; 第4A圖至第4B圖:其為本發明之一實施例之接收數位貨幣資料之流程圖; 第5圖:其為本發明之一實施例之接收數位貨幣資料之流程圖; 第6A圖:其為本發明之另一實施例之支付數位貨幣資料之流程圖; 第6B圖:其為本發明之另一實施例之支付數位貨幣資料之流程圖; 第7A圖至第7H圖:其為本發明之另一實施例之部分步驟示意圖;以及 第8A圖至第8B圖:其為本發明之另一實施例之接收數位貨幣資料之流程圖。 Figure 1A: It is a flow chart of paying digital currency data according to an embodiment of the present invention; Figure 1B: It is a flow chart of paying digital currency data according to an embodiment of the present invention; 2A to 2H: they are schematic diagrams of some steps of an embodiment of the present invention; Fig. 3A to Fig. 3B: it is a flow chart of receiving digital currency data according to an embodiment of the present invention; 4A to 4B: it is a flow chart of receiving digital currency data according to an embodiment of the present invention; Figure 5: It is a flow chart of receiving digital currency data according to an embodiment of the present invention; Figure 6A: It is a flow chart of paying digital currency data according to another embodiment of the present invention; Figure 6B: It is a flow chart of paying digital currency data according to another embodiment of the present invention; FIGS. 7A to 7H : they are schematic diagrams of some steps of another embodiment of the present invention; and Fig. 8A to Fig. 8B: It is a flow chart of receiving digital currency data according to another embodiment of the present invention.
S10至S90 步驟Steps from S10 to S90
Claims (9)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW109115646A TWI751553B (en) | 2020-05-11 | 2020-05-11 | Method and system for paying digital currency |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW109115646A TWI751553B (en) | 2020-05-11 | 2020-05-11 | Method and system for paying digital currency |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| TW202143138A TW202143138A (en) | 2021-11-16 |
| TWI751553B true TWI751553B (en) | 2022-01-01 |
Family
ID=80783117
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| TW109115646A TWI751553B (en) | 2020-05-11 | 2020-05-11 | Method and system for paying digital currency |
Country Status (1)
| Country | Link |
|---|---|
| TW (1) | TWI751553B (en) |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TW201546729A (en) * | 2014-06-03 | 2015-12-16 | Alibaba Group Services Ltd | Secure identity verification |
| TWI529640B (en) * | 2015-02-16 | 2016-04-11 | jian-gang Yang | Action payment method and action payment equipment |
| US20160210626A1 (en) * | 2015-01-19 | 2016-07-21 | Royal Bank Of Canada | Secure processing of electronic payments |
| CN107230070A (en) * | 2016-03-25 | 2017-10-03 | 中国人民银行印制科学技术研究所 | Digital coin systems |
| TWI648680B (en) * | 2017-12-01 | 2019-01-21 | 鯨鏈科技股份有限公司 | System of smart contract, method for making the contract and computer-readable storage device |
| TWM600866U (en) * | 2020-05-11 | 2020-09-01 | 財金資訊股份有限公司 | System for paying digital currency |
-
2020
- 2020-05-11 TW TW109115646A patent/TWI751553B/en active
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TW201546729A (en) * | 2014-06-03 | 2015-12-16 | Alibaba Group Services Ltd | Secure identity verification |
| US20160210626A1 (en) * | 2015-01-19 | 2016-07-21 | Royal Bank Of Canada | Secure processing of electronic payments |
| TWI529640B (en) * | 2015-02-16 | 2016-04-11 | jian-gang Yang | Action payment method and action payment equipment |
| CN107230070A (en) * | 2016-03-25 | 2017-10-03 | 中国人民银行印制科学技术研究所 | Digital coin systems |
| TWI648680B (en) * | 2017-12-01 | 2019-01-21 | 鯨鏈科技股份有限公司 | System of smart contract, method for making the contract and computer-readable storage device |
| TWM600866U (en) * | 2020-05-11 | 2020-09-01 | 財金資訊股份有限公司 | System for paying digital currency |
Also Published As
| Publication number | Publication date |
|---|---|
| TW202143138A (en) | 2021-11-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN110612546B (en) | Methods and devices for digital asset account management | |
| US11030608B2 (en) | Recordation of electronic payment transaction information | |
| CN112368729B (en) | Token state synchronization | |
| RU2530696C2 (en) | Mobile device, method and system for performing payment transactions | |
| US20170221053A1 (en) | Digital asset conversion | |
| AU2018236802A1 (en) | Over the air update of payment transaction data stored in secure memory | |
| US20110320347A1 (en) | Mobile Networked Payment System | |
| CN109478287A (en) | Methods for distributing tokens and managing token relationships | |
| US20070266131A1 (en) | Obtaining and Using Primary Access Numbers Utilizing a Mobile Wireless Device | |
| US20230120485A1 (en) | Token-For-Token Provisioning | |
| CN108256841A (en) | Actively turn the method, apparatus and system of coin | |
| JP2022071174A (en) | Terminal type identification in interaction processing | |
| KR102075956B1 (en) | Method for paying based on blockchain and payment server using the same | |
| TWM600866U (en) | System for paying digital currency | |
| KR101984620B1 (en) | Electronic Payment System | |
| TWI751553B (en) | Method and system for paying digital currency | |
| CN116802662A (en) | Interactive channel balancing | |
| EP3489875A1 (en) | Device for payment of vehicle based costs, a respective vehicle and a respective method | |
| TWI226562B (en) | Financial information input method using symmetrical key security algorithm and commercial transaction system for mobile communications | |
| US12289411B2 (en) | Comprehensive storage application provisioning using a provisioning software development kit (SDK) | |
| US20230325820A1 (en) | System and method for tokenization | |
| KR102395870B1 (en) | A payment terminal apparatus for providing payment services using a distributed management network of encryption key based on block chains | |
| CN117999553A (en) | Multiple interaction processing | |
| KR100869133B1 (en) | Method and system of variable account (or card) authentication means and program recording medium therefor | |
| CN112655008A (en) | System for payment of centre cast digital currency |