TW202025661A - Method and device for uploading electronic certificate - Google Patents

Method and device for uploading electronic certificate Download PDF

Info

Publication number
TW202025661A
TW202025661A TW108142263A TW108142263A TW202025661A TW 202025661 A TW202025661 A TW 202025661A TW 108142263 A TW108142263 A TW 108142263A TW 108142263 A TW108142263 A TW 108142263A TW 202025661 A TW202025661 A TW 202025661A
Authority
TW
Taiwan
Prior art keywords
terminal
electronic certificate
hash value
signature information
end terminal
Prior art date
Application number
TW108142263A
Other languages
Chinese (zh)
Other versions
TWI714359B (en
Inventor
許玉壯
周鈺
Original Assignee
大陸商中國銀聯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 大陸商中國銀聯股份有限公司 filed Critical 大陸商中國銀聯股份有限公司
Publication of TW202025661A publication Critical patent/TW202025661A/en
Application granted granted Critical
Publication of TWI714359B publication Critical patent/TWI714359B/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • Theoretical Computer Science (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Technology Law (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

Disclosed are a method and device for uploading an electronic certificate. The method comprises: a front-end terminal acquiring an electronic certificate, hashing the electronic certificate and determining a hash value of the electronic certificate; determining signature information according to a private key, a merchant number and a terminal number of the front-end terminal and the hash value of the electronic certificate; and uploading the merchant number and the terminal number of the front-end terminal, the hash value of the electronic certificate and the signature information to a blockchain node, so that the blockchain node verifies the signature information and then registers same to a blockchain network. The front-end terminal processes the electronic certificate and then directly uploads same to a blockchain network, thereby solving the problem of tampering with an electronic certificate when a front-end terminal uploads the electronic certificate to a blockchain through a background terminal in the prior art.

Description

一種電子憑證上傳的方法及裝置 Method and device for uploading electronic certificates

本發明實施例屬於區塊鏈技術領域,尤其是關於一種電子憑證上傳的方法及裝置。 The embodiment of the present invention belongs to the field of blockchain technology, and particularly relates to a method and device for uploading an electronic certificate.

在基於區塊鏈的電子憑證專案中,各個收單機構把電子簽購單進行雜湊,把雜湊值存儲與分散式帳本上進行存證,其他機構從分散式帳本獲取電子票據的雜湊,與電子票據進行比較,確定電子簽購單的真實性和完整性。但對於非銀行的收單機構,可能存在資料造假的情況。 In the blockchain-based electronic voucher project, each acquiring institution hashes the electronic purchase order, stores the hash value on the distributed ledger for certification, and other institutions obtain the hash of the electronic bill from the distributed ledger. Compare with electronic bills to determine the authenticity and integrity of electronic purchase orders. But for non-bank acquirers, there may be data fraud.

本發明實施例提供一種電子憑證上傳的方法及裝置,用以解決協力廠商收單機構上傳資訊造假的問題。 The embodiment of the present invention provides a method and device for uploading an electronic certificate to solve the problem of falsifying information uploaded by third-party acquirers.

本發明實施例提供的一種電子憑證上傳的方法,包括: An embodiment of the present invention provides a method for uploading an electronic certificate, including:

前置終端獲取電子憑證; The front terminal obtains the electronic certificate;

該前置終端對該電子憑證進行雜湊處理,確定出該電子憑證的雜湊值; The front-end terminal performs hash processing on the electronic certificate to determine the hash value of the electronic certificate;

該前置終端根據該前置終端的私密金鑰、商戶號、終端號和該電子憑證的雜湊值,確定出簽名資訊; The front-end terminal determines the signature information according to the front-end terminal's private key, merchant number, terminal number and the hash value of the electronic certificate;

該前置終端將該前置終端的商戶號和終端號、該電子憑證的雜湊值和該簽名資訊上傳至區塊鏈節點,以使該區塊鏈節點在對該簽名資訊進行驗證後,登記到區塊鏈網路中。 The front-end terminal uploads the merchant number and terminal number of the front-end terminal, the hash value of the electronic certificate and the signature information to the blockchain node, so that the blockchain node can register after verifying the signature information To the blockchain network.

上述技術方案中,前置終端通過對電子憑證進行處理後直接上傳到區塊鏈網路中,解決了現有技術中前置終端將電子憑證通過後臺終端上傳至區塊鏈時會產生電子憑證篡改的問題。 In the above technical solution, the front-end terminal processes the electronic certificate and uploads it directly to the blockchain network, which solves the problem of tampering with the electronic certificate when the front-end terminal uploads the electronic certificate to the blockchain through the back-end terminal in the prior art The problem.

可選的,該前置終端根據該前置終端的私密金鑰、商戶號、終端號和該電子憑證的雜湊值,確定出簽名資訊,包括: Optionally, the front-end terminal determines the signature information based on the front-end terminal's private key, merchant number, terminal number, and the hash value of the electronic certificate, including:

該前置終端使用該前置終端的私密金鑰,對該前置終端的商戶號和終端號以及該電子憑證的雜湊值進行簽名,確定出該簽名資訊。 The front terminal uses the private key of the front terminal to sign the merchant number and terminal number of the front terminal and the hash value of the electronic certificate to determine the signature information.

可選的,該前置終端根據該前置終端的私密金鑰、商戶號、終端號和該電子憑證的雜湊值,確定出簽名資訊,包括: Optionally, the front-end terminal determines the signature information based on the front-end terminal's private key, merchant number, terminal number, and the hash value of the electronic certificate, including:

該前置終端通過該前置終端的私密金鑰使用橢圓曲線數位簽章ECDSA演算法對該前置終端的商戶號和終端號以及該電子憑證的雜湊值進行簽名,確定出該簽名資訊。 The front-end terminal uses the elliptic curve digital signature ECDSA algorithm to sign the front-end terminal's merchant number and terminal number and the hash value of the electronic certificate by using the front-end terminal's private key to determine the signature information.

相應的,本發明實施例還提供了一種電子憑證上傳的方法,包括: Correspondingly, an embodiment of the present invention also provides a method for uploading an electronic certificate, including:

區塊鏈節點獲取前置終端發送的交易資訊,該交易資訊包括電子憑證的雜湊值、該前置終端的商戶號和終端號、簽名資訊;該電子憑證的雜湊值是該前置終端對該電子憑證進行雜湊處理後確定的;該簽名資訊是該前置終端根據該前置終端的私密金鑰對該電子憑證的雜湊值、該前置終端的商戶號和終端號進行處理後確定的; The blockchain node obtains the transaction information sent by the front-end terminal. The transaction information includes the hash value of the electronic certificate, the merchant number and terminal number of the front-end terminal, and signature information; the hash value of the electronic certificate is the hash value of the front-end terminal. The electronic certificate is determined after hash processing; the signature information is determined by the front-end terminal after processing the hash value of the electronic certificate, the merchant number and the terminal number of the front-end terminal according to the private key of the front-end terminal;

該區塊鏈節點根據該前置終端的商戶號和終端號,確定出該前置終端的公開金鑰; The blockchain node determines the public key of the front terminal according to the merchant number and terminal number of the front terminal;

該區塊鏈節點根據該前置終端的公開金鑰對該簽名資訊進行驗證,並在驗證通過以及其它區塊鏈節點共識之後將該電子憑證的雜湊值登記到區塊鏈網路中。 The blockchain node verifies the signature information according to the public key of the front terminal, and registers the hash value of the electronic certificate in the blockchain network after the verification is passed and the consensus of other blockchain nodes.

相應的,本發明實施例還提供了一種電子憑證上傳的裝置,包括: Correspondingly, an embodiment of the present invention also provides a device for uploading an electronic certificate, including:

通信模組,用於獲取電子憑證; Communication module for obtaining electronic certificates;

上傳預處理模組,用於對該電子憑證進行雜湊處理,確定出該電子憑證的雜湊值;根據該前置終端的私密金鑰、商戶號、終端號和該電子憑證的雜湊值,確定出簽名資訊;將該前置終端的商戶號和終端號、該電子憑證的雜湊值和該簽名資訊上傳至區塊鏈節點,以使該區塊鏈節點在對該簽名資訊進行驗證後,登記到區塊鏈網路中。 Upload the pre-processing module for hashing the electronic certificate to determine the hash value of the electronic certificate; according to the front-end terminal’s private key, merchant number, terminal number, and the hash value of the electronic certificate, determine Signature information; the merchant number and terminal number of the front-end terminal, the hash value of the electronic certificate and the signature information are uploaded to the blockchain node so that the blockchain node can register to the blockchain node after verifying the signature information In the blockchain network.

可選的,該上傳預處理模組具體用於: Optionally, the upload preprocessing module is specifically used for:

使用該前置終端的私密金鑰,對該前置終端的商戶號和終端號以及該電子憑證的雜湊值進行簽名,確定出該簽名資訊。 Use the private key of the front terminal to sign the merchant number and terminal number of the front terminal and the hash value of the electronic certificate to determine the signature information.

可選的,該上傳預處理模組具體用於: Optionally, the upload preprocessing module is specifically used for:

通過該前置終端的私密金鑰使用橢圓曲線數位簽章ECDSA演算法對該前置終端的商戶號和終端號以及該電子憑證的雜湊值進行簽名,確定出該簽名資訊。 The elliptic curve digital signature ECDSA algorithm is used to sign the merchant number and terminal number of the front terminal and the hash value of the electronic certificate by using the private key of the front terminal to determine the signature information.

相應的,本發明實施例還提供了一種電子憑證上傳的裝置,包括: Correspondingly, an embodiment of the present invention also provides a device for uploading an electronic certificate, including:

獲取模組,用於獲取前置終端發送的交易資訊,該交易資訊包括電子憑證的雜湊值、該前置終端的商戶號和終端號、簽名資訊;該電子憑證的雜湊值是該前置終端對該電子憑證進行雜湊處理後確定的;該簽名資訊是該前置終端根據該前置終端的私密金鑰對該電子憑證的雜湊值、該前置終端的商戶號和終端號進行處理後確定的; The acquisition module is used to acquire transaction information sent by the front terminal. The transaction information includes the hash value of the electronic certificate, the merchant number and terminal number of the front terminal, and signature information; the hash value of the electronic certificate is the front terminal Confirmed after hashing the electronic certificate; the signature information is determined by the front-end terminal after processing the hash value of the electronic certificate, the merchant number and the terminal number of the front-end terminal according to the private key of the front-end terminal of;

處理模組,用於根據該前置終端的商戶號和終端號,確定出該前置終端的公開金鑰;以及根據該前置終端的公開金鑰對該簽名資訊進行驗證,並在驗證通過以及其它區塊鏈節點共識之後將該電子憑證的雜湊值登記到區塊鏈網路中。 The processing module is used to determine the public key of the front-end terminal according to the merchant number and terminal number of the front-end terminal; and verify the signature information according to the public key of the front-end terminal, and when the verification passes After consensus with other blockchain nodes, the hash value of the electronic certificate is registered in the blockchain network.

相應的,本發明實施例還提供了一種電腦可讀存儲介質,該電腦可讀存儲介質存儲有電腦可執行指令,該電腦可執行指令用於使該電腦執行上述電子憑證上傳的方法。 Correspondingly, an embodiment of the present invention also provides a computer-readable storage medium, the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to make the computer execute the above-mentioned electronic credential upload method.

相應的,本發明實施例還提供了一種計算設備,包括: Correspondingly, an embodiment of the present invention also provides a computing device, including:

記憶體,用於存儲程式指令; Memory, used to store program instructions;

處理器,用於調用該記憶體中存儲的程式指令,按照獲得的程式執行上述電子憑證上傳的方法。 The processor is used to call the program instructions stored in the memory and execute the above electronic certificate uploading method according to the obtained program.

相應的,本發明實施例還提供了一種前置終端,包括:處理器、記憶體、收發機、匯流排介面,其中處理器、記憶體與收發機之間通過匯流排介面連接; Correspondingly, an embodiment of the present invention also provides a front-end terminal, including: a processor, a memory, a transceiver, and a bus interface, wherein the processor, the memory, and the transceiver are connected through the bus interface;

該處理器,用於讀取該記憶體中的程式,執行下列方法:獲取電子憑證;對該電子憑證進行雜湊處理,確定出該電子憑證的雜湊值;根據該前置終端的私密金鑰、商戶號、終端號和該電子憑證的雜湊值,確定出簽名 資訊; The processor is used to read the program in the memory and execute the following methods: obtain an electronic certificate; perform hash processing on the electronic certificate to determine the hash value of the electronic certificate; according to the private key of the front terminal, The merchant number, terminal number and the hash value of the electronic certificate determine the signature News;

該記憶體,用於存儲一個或多個可執行程式,可以存儲該處理器在執行操作時所使用的資料; The memory is used to store one or more executable programs, which can store data used by the processor when performing operations;

該收發機,用於在該處理器的控制下將該前置終端的商戶號和終端號、該電子憑證的雜湊值和該簽名資訊上傳至區塊鏈節點,以使該區塊鏈節點在對該簽名資訊進行驗證後,登記到區塊鏈網路中; The transceiver is used to upload the merchant number and terminal number of the front terminal, the hash value of the electronic certificate, and the signature information to the blockchain node under the control of the processor, so that the blockchain node is After verifying the signature information, register it in the blockchain network;

該匯流排介面,用於提供介面。 The bus interface is used to provide an interface.

相應的,本發明實施例還提供了一種區塊鏈節點,包括:處理器、記憶體、收發機、匯流排介面,其中處理器、記憶體與收發機之間通過匯流排介面連接; Correspondingly, an embodiment of the present invention also provides a blockchain node, including: a processor, a memory, a transceiver, and a bus interface, wherein the processor, the memory, and the transceiver are connected through the bus interface;

該收發機,用於在該處理器的控制下獲取前置終端發送的交易資訊,該交易資訊包括電子憑證的雜湊值、該前置終端的商戶號和終端號、簽名資訊;該電子憑證的雜湊值是該前置終端對該電子憑證進行雜湊處理後確定的;該簽名資訊是該前置終端根據該前置終端的私密金鑰對該電子憑證的雜湊值、該前置終端的商戶號和終端號進行處理後確定的; The transceiver is used to obtain transaction information sent by the front-end terminal under the control of the processor. The transaction information includes the hash value of the electronic certificate, the merchant number and terminal number of the front-end terminal, and signature information; The hash value is determined by the front-end terminal after hashing the electronic certificate; the signature information is the hash value of the electronic certificate by the front-end terminal according to the private key of the front-end terminal, and the merchant number of the front-end terminal Determined after processing and terminal number;

該處理器,用於讀取該記憶體中的程式,執行下列方法:根據該前置終端的商戶號和終端號,確定出該前置終端的公開金鑰;以及根據該前置終端的公開金鑰對該簽名資訊進行驗證,並在驗證通過以及其它區塊鏈節點共識之後將該電子憑證的雜湊值登記到區塊鏈網路中; The processor is used to read the program in the memory and execute the following methods: determine the public key of the front terminal according to the merchant number and terminal number of the front terminal; and according to the public key of the front terminal The key verifies the signature information, and registers the hash value of the electronic certificate in the blockchain network after the verification is passed and the consensus of other blockchain nodes is reached;

該記憶體,用於存儲一個或多個可執行程式,可以存儲該處理器在執行操作時所使用的資料; The memory is used to store one or more executable programs, which can store data used by the processor when performing operations;

該匯流排介面,用於提供介面。 The bus interface is used to provide an interface.

201~204‧‧‧步驟 201~204‧‧‧Step

100‧‧‧前置終端 100‧‧‧Front terminal

110‧‧‧通信模組 110‧‧‧Communication Module

111、121‧‧‧處理器 111, 121‧‧‧ processor

112、122‧‧‧記憶體 112, 122‧‧‧Memory

113、123‧‧‧收發機 113、123‧‧‧Transceiver

114、124‧‧‧匯流排介面 114, 124‧‧‧Bus interface

120‧‧‧上傳預處理模組 120‧‧‧Upload preprocessing module

200‧‧‧區塊鏈網路系統 200‧‧‧Blockchain Network System

210‧‧‧區塊鏈節點 210‧‧‧Blockchain Node

801‧‧‧通信模組 801‧‧‧Communication Module

802‧‧‧上傳預處理模組 802‧‧‧Upload preprocessing module

901‧‧‧獲取模組 901‧‧‧Get Module

902‧‧‧處理模組 902‧‧‧Processing Module

為了更清楚地說明本發明實施例中的技術方案,下面將對實施例描述中所需要使用的附圖作簡要介紹,顯而易見地,下面描述中的附圖僅僅是本發明的一些實施例,對於本領域的普通技術人員來講,在不付出進步性勞動的前提下,還可以根據這些附圖獲得其他的附圖。 In order to more clearly describe the technical solutions in the embodiments of the present invention, the following will briefly introduce the drawings needed in the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present invention. A person of ordinary skill in the art can obtain other drawings based on these drawings without making progressive labor.

圖1為本發明實施例提供的一種系統架構的示意圖; FIG. 1 is a schematic diagram of a system architecture provided by an embodiment of the present invention;

圖2為本發明實施例提供的一種電子憑證上傳的方法的流程示意圖; 2 is a schematic flowchart of a method for uploading an electronic certificate according to an embodiment of the present invention;

圖3為本發明實施例提供的一種系統架構的示意圖; FIG. 3 is a schematic diagram of a system architecture provided by an embodiment of the present invention;

圖4為本發明實施例提供的一種系統架構的示意圖; 4 is a schematic diagram of a system architecture provided by an embodiment of the present invention;

圖5為本發明實施例提供的一種系統架構的示意圖; Figure 5 is a schematic diagram of a system architecture provided by an embodiment of the present invention;

圖6為本發明實施例提供的一種區塊鏈網路中智慧合約的示意圖; 6 is a schematic diagram of a smart contract in a blockchain network provided by an embodiment of the present invention;

圖7為本發明實施例提供的一種系統架構的示意圖; FIG. 7 is a schematic diagram of a system architecture provided by an embodiment of the present invention;

圖8為本發明實施例提供的一種電子憑證上傳的裝置的結構示意圖; FIG. 8 is a schematic structural diagram of an apparatus for uploading an electronic certificate according to an embodiment of the present invention;

圖9為本發明實施例提供的一種電子憑證上傳的裝置的結構示意圖; FIG. 9 is a schematic structural diagram of an electronic certificate uploading device provided by an embodiment of the present invention;

圖10為本發明實施例提供的一種前置終端的結構示意圖; FIG. 10 is a schematic structural diagram of a front terminal according to an embodiment of the present invention;

圖11為本發明實施例提供的一種區塊鏈節點的結構示意圖。 FIG. 11 is a schematic structural diagram of a blockchain node provided by an embodiment of the present invention.

為了使本發明的目的、技術方案和優點更加清楚,下面將結合附圖對本發明作進一步地詳細描述,顯然,所描述的實施例僅僅是本發 明一部分實施例,而不是全部的實施例。基於本發明中的實施例,本領域普通技術人員在沒有做出進步性勞動前提下所獲得的所有其它實施例,都屬於本發明保護的範圍。 In order to make the objectives, technical solutions, and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only the present invention. A part of the embodiments is explained, but not all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without making progressive work fall within the protection scope of the present invention.

圖1為本發明實施例所適用的系統架構。參考圖1所示,該系統架構可以包括前置終端100和區塊鏈網路系統200。 FIG. 1 is a system architecture applicable to an embodiment of the present invention. Referring to FIG. 1, the system architecture may include a front terminal 100 and a blockchain network system 200.

該前置終端100可以為收款終端,也可以稱為銀行卡受理終端,如POS機。也可以為其它的手持終端,如稅務部門的稅控收銀機、快遞員的手持終端等。其可以包括通信模組110和上傳預處理模組120,其中,通信模組110用於將產生的電子憑證發送給後臺收單終端。上傳預處理模組120用於對電子憑證進行處理後上傳至區塊鏈網路系統200。 The front-end terminal 100 may be a payment terminal or a bank card acceptance terminal, such as a POS machine. It can also be other hand-held terminals, such as tax-controlled cash registers of taxation departments, and hand-held terminals of couriers. It may include a communication module 110 and an upload preprocessing module 120, where the communication module 110 is used to send the generated electronic certificate to the background acquiring terminal. The upload preprocessing module 120 is used to process the electronic certificate and upload it to the blockchain network system 200.

該區塊鏈網路系統200由多個區塊鏈節點210組成,區塊鏈節點210在接收到前置終端100發送的電子憑證後要對其進行驗證,並在驗證通過後登記到區塊鏈網路中。 The blockchain network system 200 is composed of multiple blockchain nodes 210. After receiving the electronic certificate sent by the front terminal 100, the blockchain node 210 will verify it, and register it in the block after the verification is passed. Chain network.

需要說明的是,上述圖1所示的結構僅是一種示例,本發明實施例對此不做限定。 It should be noted that the structure shown in FIG. 1 is only an example, which is not limited in the embodiment of the present invention.

基於上述描述,圖2示例性的示出了本發明實施例提供的一種電子憑證上傳的方法的流程,該流程可以由電子憑證上傳的裝置執行。下面將通過前置終端與區塊鏈節點交互的方式來描述該電子憑證上傳的流程。 Based on the foregoing description, FIG. 2 exemplarily shows the flow of an electronic credential uploading method provided by an embodiment of the present invention, and the flow can be executed by an electronic credential uploading device. The process of uploading the electronic credential will be described below through the interaction between the front terminal and the blockchain node.

如圖2所示,該流程具體包括: As shown in Figure 2, the process specifically includes:

步驟201,前置終端獲取電子憑證,對該電子憑證進行雜湊處理,確定出該電子憑證的雜湊值。 Step 201: The front-end terminal obtains an electronic certificate, performs hash processing on the electronic certificate, and determines the hash value of the electronic certificate.

在步驟201之前,前置終端和需要先在區塊鏈網路平臺上進行註冊,即為將前置終端的商戶號、終端號和公開金鑰登記到區塊鏈網路平臺上。 Before step 201, the front-end terminal needs to be registered on the blockchain network platform first, that is, the merchant number, terminal number and public key of the front-end terminal are registered on the blockchain network platform.

然後,前置終端生成電子憑證,在本發明實施例中,電子憑證可以為電子簽購單、電子發票、電子運單等,對此不做限制,一切電子單據都可以作為電子憑證應用在本發明實施例中。 Then, the front-end terminal generates electronic vouchers. In the embodiment of the present invention, the electronic vouchers can be electronic purchase orders, electronic invoices, electronic waybills, etc. There is no restriction on this, and all electronic documents can be used as electronic vouchers in the present invention. In the embodiment.

前置終端生成電子憑證後,可以調用通信模組先將該電子憑證發送到後臺系統,以供後臺系統進行存儲。 After the front-end terminal generates the electronic voucher, the communication module can be called to send the electronic voucher to the back-end system for storage.

然後調用上傳預處理模組對該電子憑證進行雜湊處理,得到該電子憑證的雜湊值,也就是該電子屏的散列值。 Then call the upload pre-processing module to hash the electronic certificate, and obtain the hash value of the electronic certificate, that is, the hash value of the electronic screen.

步驟202,前置終端根據該前置終端的私密金鑰、商戶號、終端號和該電子憑證的雜湊值,確定出簽名資訊。 Step 202: The front-end terminal determines the signature information according to the front-end terminal's private key, merchant number, terminal number and the hash value of the electronic certificate.

前置終端可以對使用自身的私密金鑰,對前置終端的商戶號和終端號以及電子憑證的雜湊值進行簽名,確定出簽名資訊。具體的,可以使用ECDSA演算法進行簽名。 The front terminal can use its own private key to sign the merchant number and terminal number of the front terminal and the hash value of the electronic certificate to determine the signature information. Specifically, the ECDSA algorithm can be used to sign.

步驟203,前置終端向區塊鏈節點發送交易資訊。 Step 203: The front-end terminal sends transaction information to the blockchain node.

前置終端將該電子憑證的雜湊值、商戶號、終端號以及簽名資訊作為交易資訊發送給區塊鏈節點,以供區塊鏈節點進行驗證。 The front-end terminal sends the hash value, merchant number, terminal number, and signature information of the electronic certificate as transaction information to the blockchain node for verification by the blockchain node.

前置終端在將交易資訊進行上傳時,可以通過上傳預處理模組直接上傳,也可以通過區塊鏈中介軟體服務進行上傳,例如web-service服務。 When the front-end terminal uploads transaction information, it can be uploaded directly through the upload pre-processing module, or through blockchain intermediary software services, such as web-service services.

步驟204,區塊鏈節點根據該前置終端的商戶號和終端號, 確定出該前置終端的公開金鑰,根據該前置終端的公開金鑰對該簽名資訊進行驗證,並在驗證通過以及其它區塊鏈節點共識之後將該電子憑證的雜湊值登記到區塊鏈網路中。 Step 204, the blockchain node according to the merchant number and terminal number of the front terminal, Determine the public key of the front terminal, verify the signature information according to the public key of the front terminal, and register the hash value of the electronic certificate in the block after the verification is passed and the consensus of other blockchain nodes Chain network.

區塊鏈節點在接收到前置終端發送的電子憑證的雜湊值、前置終端的商戶號和終端號、簽名資訊之後,就可以根據前置終端的商戶號和終端號,確定出前置終端的公開金鑰。該前置終端的公開金鑰已經在區塊鏈網路平臺上進行了註冊,因此,區塊鏈節點可以根據前置終端的商戶號和終端號從區塊鏈網路平臺中進行查詢。 After the blockchain node receives the hash value of the electronic certificate sent by the front terminal, the merchant number and terminal number of the front terminal, and the signature information, it can determine the front terminal according to the merchant number and terminal number of the front terminal 'S public key. The public key of the front terminal has been registered on the blockchain network platform. Therefore, the blockchain node can query from the blockchain network platform according to the merchant number and terminal number of the front terminal.

查詢到前置終端的公開金鑰之後,就可以根據前置終端的公開金鑰對簽名資訊進行驗證,並在驗證通過以及其它區塊鏈節點共識之後將電子憑證的雜湊值登記到區塊鏈網路中。區塊鏈網站中的各個區塊鏈節點上運行的智慧合約對上傳的電子憑證的相關資訊進行驗證,主要是通過商戶號和終端號找到前置終端對應的公開金鑰,然後用公開金鑰對簽名資訊驗簽。驗簽通過,則將電子憑證的雜湊值登記到區塊鏈網路中。 After querying the public key of the front terminal, the signature information can be verified according to the public key of the front terminal, and the hash value of the electronic certificate is registered in the blockchain after the verification is passed and the consensus of other blockchain nodes In the network. The smart contract running on each blockchain node in the blockchain website verifies the relevant information of the uploaded electronic certificate, mainly by finding the public key corresponding to the front terminal through the merchant number and terminal number, and then using the public key Check the signature information. If the verification is passed, the hash value of the electronic certificate is registered in the blockchain network.

為了更好的解釋本發明實施例,下面將通過具體的實施場景來描述電子憑證上傳的流程。 In order to better explain the embodiments of the present invention, the following will describe the process of uploading electronic credentials through specific implementation scenarios.

場景一 scene one

前置終端為POS機時,此時POS機的結構可以如圖3和圖4所示的結構。其中,圖3為基於傳統POS機的電子簽購單上傳裝置的系統架構,該系統架構可以包括通訊模組、收單應用、安全內核、讀卡器介面模組、上傳預處理模組和證書管理。圖4為基於智慧POS機的電子簽購單上傳裝置的系統架構,該系統架構可以包括應用處理系統和安全處理系統,其中, 應用處理系統包括通訊層、收單應用、上傳預處理模組和介面層;安全處理系統包括介面層、安全內核、證書管理和讀卡器介面模組。該POS機也可以稱為銀行卡受理終端。相比於現有的POS機,圖3和圖4所示結構多出了上傳預處理模組,該上傳預處理模組可以實現雜湊計算和簽名處理,以及上傳區塊鏈的功能。雜湊是對POS終端收單應用生成的電子簽購單進行雜湊,簽名是調用POS終端系統服務層的證書管理模組獲取私密金鑰對上傳資訊進行簽名。 When the front terminal is a POS machine, the structure of the POS machine at this time can be as shown in Figure 3 and Figure 4. Among them, Figure 3 is the system architecture of the electronic purchase order upload device based on the traditional POS machine. The system architecture can include a communication module, an acquiring application, a security kernel, a card reader interface module, an upload preprocessing module, and a certificate. management. Figure 4 is a system architecture of an electronic purchase order uploading device based on a smart POS machine. The system architecture may include an application processing system and a security processing system. The application processing system includes a communication layer, an acquiring application, an upload preprocessing module, and an interface layer; the security processing system includes an interface layer, a security kernel, a certificate management, and a card reader interface module. The POS machine can also be called a bank card acceptance terminal. Compared with the existing POS machine, the structure shown in Figure 3 and Figure 4 has an additional upload pre-processing module, which can implement hash calculation and signature processing, as well as the function of uploading the blockchain. The hash is to hash the electronic purchase order generated by the POS terminal acquiring application. The signature is to call the certificate management module of the POS terminal system service layer to obtain the private key to sign the uploaded information.

本發明實施例的資訊交互流程可以如圖5所示,具體的: The information interaction process of the embodiment of the present invention may be as shown in Figure 5, specifically:

本發明實施例採用乙太坊作為電子憑證的區塊鏈網路平臺,其上部署電子憑證的智慧合約,採用solidity語言實現登記POS機資訊、電子簽購單雜湊值驗簽、上鏈等功能。 The embodiment of the present invention uses Ethereum as the blockchain network platform of the electronic certificate, deploys the smart contract of the electronic certificate on it, and uses the solidity language to realize functions such as registration of POS machine information, electronic purchase order hash value verification, and chaining. .

POS機採用智慧POS終端,對其進行改造,在其安全處理系統的證書管理模組添加一對公私密金鑰,並在POS機的應用處理系統上添加上傳預處理模組,模組實現SHA-256雜湊演算法,以及ECDSA簽名演算法。 The POS machine adopts a smart POS terminal to transform it, adding a pair of public and private keys to the certificate management module of its security processing system, and adding an upload preprocessing module to the application processing system of the POS machine. The module realizes SHA -256 hash algorithm, and ECDSA signature algorithm.

電子簽購單資訊上傳的步驟如下: The steps for uploading electronic purchase order information are as follows:

1、收單機構首先調用POS機資訊登記合約,將POS機的商戶號、終端號、公開金鑰登記到電子憑證區塊鏈平臺上; 1. The acquirer first calls the POS machine information registration contract to register the POS machine's merchant number, terminal number, and public key on the electronic certificate blockchain platform;

2、POS機的收單應用模組生成一個電子簽購單,調用通信模組發送到收單機構的收單後臺系統; 2. The acquiring application module of the POS machine generates an electronic purchase order, and calls the communication module to send it to the acquiring background system of the acquiring institution;

3、同時,上傳預處理模組從收單應用模組獲取電子簽購單,採用SHA-256演算法對電子簽購單進行雜湊,得到雜湊值; 3. At the same time, upload the preprocessing module to obtain the electronic purchase order from the acquiring application module, and use the SHA-256 algorithm to hash the electronic purchase order to obtain the hash value;

4、上傳預處理模組從安全處理系統中調用私密金鑰採用ECDSA演算法對電子簽購單散列值、商戶號、終端號進行簽名; 4. Upload the preprocessing module to call the private key from the security processing system and use the ECDSA algorithm to sign the electronic purchase order hash value, merchant number, and terminal number;

5、上傳預處理模組調用通信模組將電子簽購單散列值、商戶號、終端號、簽名資訊以grpc格式發送到乙太坊網路; 5. Upload the preprocessing module and call the communication module to send the electronic purchase order hash value, merchant number, terminal number, and signature information to the Ethernet network in grpc format;

6、乙太坊網路中的記帳節點執行電子憑證智慧合約,合約通過商戶號和終端號從POS機資訊登記合約中查到此POS機的公開金鑰,然後公開金鑰對簽名進行驗證; 6. The billing node in the Ethereum network executes the electronic certificate smart contract. The contract uses the merchant number and terminal number to find the public key of the POS machine from the POS machine information registration contract, and then publish the key to verify the signature;

7、如果簽名驗證通過,則將電子簽購單的散列值登記到乙太坊的狀態中; 7. If the signature verification is passed, the hash value of the electronic purchase order will be registered in the state of Ethereum;

8、其他節點採用6、7步相同的操作執行智慧合約,如果結果一致,則共識完成,電子簽購單的散列值則登記到區塊鏈上; 8. Other nodes use the same operation of steps 6 and 7 to execute the smart contract. If the results are consistent, the consensus is completed, and the hash value of the electronic purchase order is registered on the blockchain;

9、電子憑證區塊鏈平臺的使用者可以通過調用電子簽購單的雜湊值對電子簽購單進行驗證。 9. Users of the electronic voucher blockchain platform can verify the electronic purchase order by calling the hash value of the electronic purchase order.

需要說明的是,圖6示出了場景一中區塊鏈平臺側執行的步驟,其中,包括POS機登記合約和電子憑證合約。在POS機登記合約中,首先要從交易中獲取商戶號、終端號、公開金鑰等登記資訊。然後將登記資訊寫入狀態,最後公式完成。 It should be noted that Fig. 6 shows the steps executed on the blockchain platform side in scenario 1, which includes the POS machine registration contract and the electronic voucher contract. In the POS machine registration contract, the merchant number, terminal number, public key and other registration information must first be obtained from the transaction. Then write the registration information into the status, and finally the formula is completed.

在電子憑證合約中,首先是從交易中獲取電子簽購單散列值、商戶號、終端號和簽名,然後根據商戶號、終端號獲取POS機公開金鑰,採用ECDSA演算法對簽名進行驗證,若驗證通過,則將電子簽購單的散列值寫入狀態,最後共識完成。 In the electronic certificate contract, first obtain the electronic purchase order hash value, merchant number, terminal number and signature from the transaction, and then obtain the public key of the POS machine according to the merchant number and terminal number, and use the ECDSA algorithm to verify the signature If the verification is passed, the hash value of the electronic purchase order will be written into the state, and finally the consensus will be completed.

需要說明的是,對實施例的以下修改也屬於本發明實施例保 護的範圍: It should be noted that the following modifications to the embodiments are also guaranteed by the embodiments of the present invention. The scope of protection:

1、採用其他區塊鏈平臺,或將POS登記智慧合約與電子憑證合約合併; 1. Use other blockchain platforms, or merge the POS registration smart contract with the electronic certificate contract;

2、採用其他雜湊方法或簽名方法; 2. Use other hash methods or signature methods;

3、上傳預處理模組採用軟體實現或硬體實現,通信協定採用其他通信協定,在傳輸過程中進行加密; 3. The upload pre-processing module is realized by software or hardware, the communication protocol adopts other communication protocols, and encryption is performed during transmission;

4、上鏈是通過調用中介軟體服務; 4. On the chain is by calling intermediary software services;

5、POS機的公私密金鑰對不是有證書管理模組管理,而是預處理模組自己管理; 5. The public and private key pair of the POS machine is not managed by the certificate management module, but managed by the preprocessing module itself;

6、不是通過商戶號和終端號確定一台POS機,而是通過POS的標識。 6. A POS machine is not determined by the merchant number and terminal number, but by the POS logo.

場景二 Scene two

前置終端為稅控收銀機,電子憑證為電子發票。 The front terminal is a tax-controlled cash register, and the electronic voucher is an electronic invoice.

本發明實施例採用乙太坊作為電子憑證區塊鏈平臺,其上部署電子憑證的智慧合約,採用solidity語言實現登記稅控收銀機資訊、電子發票雜湊值驗簽、上鏈等功能。 The embodiment of the present invention uses Ethereum as the electronic certificate blockchain platform, deploys the smart contract of the electronic certificate on it, and uses the solidity language to realize functions such as registration of tax-controlled cash register information, electronic invoice hash value verification, and chaining.

稅控收銀機採用符合國家標準的稅控收銀機,其架構圖如圖7所示。在稅控收銀機的MCU模組添加電子發票資訊上傳預處理邏輯,上傳預處理邏輯具備以下功能: The tax-controlled cash register adopts a tax-controlled cash register that meets the national standards, and its structure is shown in Figure 7. Add pre-processing logic for uploading electronic invoice information to the MCU module of the tax-controlled cash register. The pre-processing logic for uploading has the following functions:

1、雜湊:對生成的電子發票進行雜湊; 1. Hash: hash the generated electronic invoice;

2、簽名:通過私密金鑰對上傳的資訊進行簽名。 2. Signature: Sign the uploaded information with a private key.

其核心流程包括: Its core processes include:

第一步:需要上傳資訊到基於區塊鏈的電子憑證平臺的稅控收銀機, 先在電子憑證平臺上進行註冊,即將稅控收銀機的銷方納稅號、終端號和公開金鑰等資訊登記到電子憑證平臺上; Step 1: You need to upload information to the tax-controlled cash register of the blockchain-based electronic voucher platform, Register on the electronic certificate platform first, that is, register the tax-controlled cash register's tax number, terminal number and public key information on the electronic certificate platform;

第二步:稅控收銀機生成電子發票,調用外部通信擴展介面發送到稅控收銀機管理系統; Step 2: The tax-controlled cash register generates an electronic invoice, which calls the external communication extension interface and sends it to the tax-controlled cash register management system;

第三步:稅控收銀機的上傳預處理模組對電子發票進行雜湊生成散列值; Step 3: The upload pre-processing module of the tax-controlled cash register hashes the electronic invoice to generate a hash value;

第四步:稅控收銀機的上傳預處理模組調用稅控卡的私密金鑰對上一步生成的散列值連同銷方稅號、終端號、時間戳記進行簽名; Step 4: The upload pre-processing module of the tax control cash register calls the private key of the tax control card to sign the hash value generated in the previous step together with the seller's tax number, terminal number, and time stamp;

第五步:上傳預處理模組調用通信模組將散列值、銷方稅號、終端號、時間戳記和簽名資訊直接上傳或者通過區塊鏈中介軟體服務上傳到電子憑證區塊鏈平臺上; Step 5: Upload the preprocessing module and call the communication module to upload the hash value, sales tax ID, terminal number, time stamp and signature information directly or upload it to the electronic certificate blockchain platform through the blockchain intermediary software service ;

第六步:電子憑證區塊鏈平臺進行共識,即各個節點上運行的智慧合約對上傳的電子發票相關資訊進行驗證:通過銷方稅號和終端號找到稅控收銀機對應的公開金鑰,然後用公開金鑰對簽名資訊驗簽; Step 6: The electronic certificate blockchain platform has a consensus, that is, the smart contract running on each node verifies the uploaded electronic invoice related information: find the public key corresponding to the tax-controlled cash register through the tax number and terminal number of the seller. Then use the public key to verify the signature information;

第七步:驗簽通過,則將電子發票的散列值登記到區塊鏈狀態中。 Step 7: After the verification is passed, the hash value of the electronic invoice is registered in the blockchain state.

場景三 Scene three

前置終端為快遞員的手持終端,電子憑證為電子運單。 The front terminal is the hand-held terminal of the courier, and the electronic voucher is the electronic waybill.

本發明實施例採用乙太坊作為電子憑證區塊鏈平臺,其上部署電子憑證的智慧合約,採用solidity語言實現收件手持終端資訊、電子運單雜湊值驗簽、上鏈等功能。 The embodiment of the present invention adopts Ethereum as the electronic certificate blockchain platform, deploys the smart contract of the electronic certificate on it, and adopts the solidity language to realize functions such as receiving handheld terminal information, electronic waybill hash value verification, and chaining.

終端採用快遞收件的手持終端。在稅控收銀機的添加電子運單資訊上傳預處理邏輯並在底層安全模組灌入私密金鑰,上傳預處理邏輯 具備以下功能: The terminal adopts a handheld terminal for express delivery. Add the pre-processing logic for uploading electronic waybill information in the tax-controlled cash register and fill the private key in the underlying security module to upload the pre-processing logic It has the following functions:

1.雜湊:對生成的電子運單進行雜湊; 1. Hash: hash the generated electronic waybill;

2.簽名:通過私密金鑰對上傳的資訊進行簽名。 2. Signature: Sign the uploaded information with a private key.

其核心流程包括: Its core processes include:

第一步:需要上傳資訊到基於區塊鏈的電子憑證平臺的電子運單的手持終端,先在電子憑證平臺上進行註冊,即將手持終端的快遞公司資訊、終端號和公開金鑰等資訊登記到電子憑證平臺上; Step 1: You need to upload information to the handheld terminal of the electronic waybill based on the blockchain-based electronic voucher platform. Register on the electronic voucher platform first, that is, register the information such as the express company information, terminal number and public key of the handheld terminal to On the electronic certificate platform;

第二步:快遞手持終端掃描快遞單生成電子運單,調用通信模組發送到快遞公司後臺系統; Step 2: The express handheld terminal scans the express note to generate an electronic waybill, and calls the communication module to send it to the express company's back-end system;

第三步:快遞手持終端的上傳預處理模組對電子運單進行雜湊生成散列值; Step 3: The upload pre-processing module of the express handheld terminal hashes the electronic waybill to generate a hash value;

第四步:快遞手持終端的上傳預處理模組調用底層安全模組的私密金鑰對上一步生成的散列值連同快遞公司資訊、終端號、時間戳記進行簽名; Step 4: The upload pre-processing module of the express handheld terminal calls the private key of the underlying security module to sign the hash value generated in the previous step together with the express company information, terminal number, and time stamp;

第五步:上傳預處理模組調用通信模組將散列值、快遞公司資訊、終端號、時間戳記和簽名資訊直接上傳或者通過區塊鏈中介軟體服務上傳到電子憑證區塊鏈平臺上; Step 5: Upload the preprocessing module and call the communication module to upload the hash value, courier company information, terminal number, time stamp and signature information directly or upload it to the electronic certificate blockchain platform through blockchain intermediary software services;

第六步:電子憑證區塊鏈平臺進行共識,即各個節點上運行的智慧合約對上傳的電子運單相關資訊進行驗證:通過快遞公司資訊和終端號找到快遞手持終端對應的公開金鑰,然後用公開金鑰對簽名資訊驗簽; Step 6: The electronic certificate blockchain platform carries out a consensus, that is, the smart contract running on each node verifies the uploaded electronic waybill related information: find the public key corresponding to the express handheld terminal through the express company information and terminal number, and then use The public key verifies the signature information;

第七步:驗簽通過,則將電子簽運單的散列值登記到區塊鏈狀態中。 Step 7: After verification is passed, the hash value of the electronic waybill will be registered in the blockchain state.

上述實施例表明,前置終端獲取電子憑證,對電子憑證進行雜湊處理,確定出電子憑證的雜湊值,根據該前置終端的私密金鑰、商戶 號、終端號和電子憑證的雜湊值,確定出簽名資訊,將前置終端的商戶號和終端號、電子憑證的雜湊值和簽名資訊上傳至區塊鏈節點,以使區塊鏈節點在對簽名資訊進行驗證後,登記到區塊鏈網路中。前置終端通過對電子憑證進行處理後直接上傳到區塊鏈網路中,解決了現有技術中前置終端將電子憑證通過後臺終端上傳至區塊鏈時會產生電子憑證篡改的問題。 The foregoing embodiment shows that the front-end terminal obtains the electronic certificate, performs hash processing on the electronic certificate, and determines the hash value of the electronic certificate. According to the private key of the front-end terminal, the merchant The hash value of the number, terminal number and electronic certificate is used to determine the signature information, and the merchant number and terminal number of the front terminal, the hash value of the electronic certificate and the signature information are uploaded to the blockchain node, so that the blockchain node is After the signature information is verified, it is registered in the blockchain network. The front-end terminal processes the electronic certificate and directly uploads it to the blockchain network, which solves the problem of electronic certificate tampering when the front-end terminal uploads the electronic certificate to the blockchain through the back-end terminal in the prior art.

基於相同的技術構思,圖8示例性的示出了本發明實施例提供的一種電子憑證上傳的裝置,該裝置可以執行電子憑證上傳的流程。該裝置可以為上述前置終端。 Based on the same technical concept, FIG. 8 exemplarily shows an electronic certificate uploading device provided by an embodiment of the present invention, and the device can execute the electronic certificate uploading process. The device may be the aforementioned front terminal.

如圖8所示,該裝置具體包括: As shown in Figure 8, the device specifically includes:

通信模組801,用於獲取電子憑證; The communication module 801 is used to obtain an electronic certificate;

上傳預處理模組802,用於對該電子憑證進行雜湊處理,確定出該電子憑證的雜湊值;根據該前置終端的私密金鑰、商戶號、終端號和該電子憑證的雜湊值,確定出簽名資訊;將該前置終端的商戶號和終端號、該電子憑證的雜湊值和該簽名資訊上傳至區塊鏈節點,以使該區塊鏈節點在對該簽名資訊進行驗證後,登記到區塊鏈網路中。 The upload preprocessing module 802 is used to hash the electronic certificate to determine the hash value of the electronic certificate; according to the private key, merchant number, terminal number of the front-end terminal, and the hash value of the electronic certificate, determine Signature information; upload the merchant number and terminal number of the front-end terminal, the hash value of the electronic certificate, and the signature information to the blockchain node, so that the blockchain node can register after verifying the signature information To the blockchain network.

可選的,該上傳預處理模組802具體用於: Optionally, the upload preprocessing module 802 is specifically used for:

使用該前置終端的私密金鑰,對該前置終端的商戶號和終端號以及該電子憑證的雜湊值進行簽名,確定出該簽名資訊。 Use the private key of the front terminal to sign the merchant number and terminal number of the front terminal and the hash value of the electronic certificate to determine the signature information.

可選的,該上傳預處理模組802具體用於: Optionally, the upload preprocessing module 802 is specifically used for:

通過該前置終端的私密金鑰使用橢圓曲線數位簽章ECDSA演算法對該前置終端的商戶號和終端號以及該電子憑證的雜湊值進行簽名,確定出該簽名資訊。 The elliptic curve digital signature ECDSA algorithm is used to sign the merchant number and terminal number of the front terminal and the hash value of the electronic certificate by using the private key of the front terminal to determine the signature information.

基於相同的技術構思,圖9示例性的示出了本發明實施例提供的一種電子憑證上傳的裝置,該裝置可以執行電子憑證上傳的流程。該裝置可以為上述區塊鏈節點。 Based on the same technical concept, FIG. 9 exemplarily shows an electronic certificate uploading device provided by an embodiment of the present invention, and the device can execute the electronic certificate uploading process. The device can be the aforementioned blockchain node.

如圖9所示,該裝置具體包括: As shown in Figure 9, the device specifically includes:

獲取模組901,用於獲取前置終端發送的交易資訊,該交易資訊包括電子憑證的雜湊值、該前置終端的商戶號和終端號、簽名資訊;該電子憑證的雜湊值是該前置終端對該電子憑證進行雜湊處理後確定的;該簽名資訊是該前置終端根據該前置終端的私密金鑰對該電子憑證的雜湊值、該前置終端的商戶號和終端號進行處理後確定的; The obtaining module 901 is used to obtain transaction information sent by the front-end terminal. The transaction information includes the hash value of the electronic certificate, the merchant number and terminal number of the front-end terminal, and signature information; the hash value of the electronic certificate is the front-end terminal The terminal is determined after hashing the electronic certificate; the signature information is after the front-end terminal processes the hash value of the electronic certificate, the merchant number and the terminal number of the front-end terminal according to the private key of the front-end terminal definite;

處理模組902,用於根據該前置終端的商戶號和終端號,確定出該前置終端的公開金鑰;以及根據該前置終端的公開金鑰對該簽名資訊進行驗證,並在驗證通過以及其它區塊鏈節點共識之後將該電子憑證的雜湊值登記到區塊鏈網路中。 The processing module 902 is used for determining the public key of the front terminal according to the merchant number and terminal number of the front terminal; and verifying the signature information according to the public key of the front terminal, and verifying After passing consensus with other blockchain nodes, the hash value of the electronic certificate is registered in the blockchain network.

基於相同的技術構思,本發明實施例還提供了一種電腦可讀存儲介質,該電腦可讀存儲介質存儲有電腦可執行指令,該電腦可執行指令用於使該電腦執行上述電子憑證上傳的方法。 Based on the same technical concept, the embodiment of the present invention also provides a computer-readable storage medium, the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to make the computer execute the above-mentioned electronic certificate uploading method .

基於相同的技術構思,本發明實施例還提供了一種計算設備,包括: Based on the same technical concept, an embodiment of the present invention also provides a computing device, including:

記憶體,用於存儲程式指令; Memory, used to store program instructions;

處理器,用於調用該記憶體中存儲的程式指令,按照獲得的程式執行上述電子憑證上傳的方法。 The processor is used to call the program instructions stored in the memory and execute the above electronic certificate uploading method according to the obtained program.

基於相同的原理,本發明實施例還提供了一種前置終端,如 圖10所示,該前置終端主要包括:處理器111、記憶體112,收發機113、匯流排介面114,其中處理器111、記憶體112與收發機113之間通過匯流排介面114連接; Based on the same principle, the embodiment of the present invention also provides a front-end terminal, such as As shown in FIG. 10, the front terminal mainly includes: a processor 111, a memory 112, a transceiver 113, and a bus interface 114, wherein the processor 111, the memory 112 and the transceiver 113 are connected through the bus interface 114;

處理器111,用於讀取記憶體112中的程式,執行下列方法:獲取電子憑證;對該電子憑證進行雜湊處理,確定出該電子憑證的雜湊值;根據該前置終端的私密金鑰、商戶號、終端號和該電子憑證的雜湊值,確定出簽名資訊; The processor 111 is configured to read the program in the memory 112 and execute the following methods: obtain an electronic certificate; perform hash processing on the electronic certificate to determine the hash value of the electronic certificate; according to the private key of the front terminal, The merchant number, terminal number, and the hash value of the electronic certificate determine the signature information;

記憶體112,用於存儲一個或多個可執行程式,可以存儲處理器111在執行操作時所使用的資料; The memory 112 is used to store one or more executable programs, and can store data used by the processor 111 when performing operations;

收發機113,用於在處理器111的控制下將該前置終端的商戶號和終端號、該電子憑證的雜湊值和該簽名資訊上傳至區塊鏈節點,以使該區塊鏈節點在對該簽名資訊進行驗證後,登記到區塊鏈網路中; The transceiver 113 is used to upload the merchant number and terminal number of the front terminal, the hash value of the electronic certificate, and the signature information to the blockchain node under the control of the processor 111, so that the blockchain node is After verifying the signature information, register it in the blockchain network;

匯流排介面114提供介面,處理器負責管理匯流排架構和通常的處理。 The bus interface 114 provides an interface, and the processor is responsible for managing the bus architecture and general processing.

其中,在圖10中,匯流排構架可以包括任意數量的互聯的匯流排和橋,具體由處理器111代表的一個或多個處理器和記憶體112代表的記憶體的各種電路連結在一起。匯流排架構還可以將諸如週邊設備、穩壓器和功率管理電路等之類的各種其他電路連結在一起,這些都是本領域所公知的,因此,本文不再對其進行進一步描述。 Wherein, in FIG. 10, the busbar architecture may include any number of interconnected busbars and bridges, specifically one or more processors represented by the processor 111 and various circuits of the memory represented by the memory 112 are connected together. The busbar architecture can also connect various other circuits such as peripheral devices, voltage regulators, and power management circuits, etc., which are all known in the art, and therefore, no further description will be given here.

優選地,處理器111具體用於:使用該前置終端的私密金鑰,對該前置終端的商戶號和終端號以及該電子憑證的雜湊值進行簽名,確定出該簽名資訊。 Preferably, the processor 111 is specifically configured to: use the private key of the front terminal to sign the merchant number and terminal number of the front terminal and the hash value of the electronic certificate to determine the signature information.

優選地,處理器111具體用於:通過該前置終端的私密金鑰 使用橢圓曲線數位簽章ECDSA演算法對該前置終端的商戶號和終端號以及該電子憑證的雜湊值進行簽名,確定出該簽名資訊。 Preferably, the processor 111 is specifically configured to: pass the private key of the front terminal The elliptic curve digital signature ECDSA algorithm is used to sign the merchant number and terminal number of the front-end terminal and the hash value of the electronic certificate to determine the signature information.

本發明實施例還提供了一種區塊鏈節點,如圖11所示,該區塊鏈節點主要包括:處理器121、記憶體122,收發機123、匯流排介面124,其中處理器121、記憶體122與收發機123之間通過匯流排介面124連接; The embodiment of the present invention also provides a blockchain node. As shown in FIG. 11, the blockchain node mainly includes: a processor 121, a memory 122, a transceiver 123, and a bus interface 124. The processor 121, the memory The body 122 and the transceiver 123 are connected through a bus interface 124;

收發機123,用於在處理器121的控制下獲取前置終端發送的交易資訊,該交易資訊包括電子憑證的雜湊值、該前置終端的商戶號和終端號、簽名資訊;該電子憑證的雜湊值是該前置終端對該電子憑證進行雜湊處理後確定的;該簽名資訊是該前置終端根據該前置終端的私密金鑰對該電子憑證的雜湊值、該前置終端的商戶號和終端號進行處理後確定的; The transceiver 123 is used to obtain transaction information sent by the front-end terminal under the control of the processor 121. The transaction information includes the hash value of the electronic certificate, the merchant number and terminal number of the front-end terminal, and signature information; The hash value is determined by the front-end terminal after hashing the electronic certificate; the signature information is the hash value of the electronic certificate by the front-end terminal according to the private key of the front-end terminal, and the merchant number of the front-end terminal Determined after processing and terminal number;

處理器121,用於讀取記憶體122中的程式,執行下列方法:讀取記憶體122中的程式,執行下列方法:根據該前置終端的商戶號和終端號,確定出該前置終端的公開金鑰;以及根據該前置終端的公開金鑰對該簽名資訊進行驗證,並在驗證通過以及其它區塊鏈節點共識之後將該電子憑證的雜湊值登記到區塊鏈網路中; The processor 121 is configured to read the program in the memory 122 and execute the following method: read the program in the memory 122 and execute the following method: determine the front-end terminal according to the merchant number and terminal number of the front-end terminal And verify the signature information according to the public key of the front-end terminal, and register the hash value of the electronic certificate in the blockchain network after the verification is passed and the consensus of other blockchain nodes is passed;

記憶體122,用於存儲一個或多個可執行程式,可以存儲處理器121在執行操作時所使用的資料; The memory 122 is used to store one or more executable programs, and can store data used by the processor 121 when performing operations;

匯流排介面124提供介面,處理器負責管理匯流排架構和通常的處理。 The bus interface 124 provides an interface, and the processor is responsible for managing the bus architecture and general processing.

其中,在圖11中,匯流排構架可以包括任意數量的互聯的匯流排和橋,具體由處理器121代表的一個或多個處理器和記憶體122代表的記憶體的各種電路連結在一起。匯流排架構還可以將諸如週邊設備、穩 壓器和功率管理電路等之類的各種其他電路連結在一起,這些都是本領域所公知的,因此,本文不再對其進行進一步描述。 Wherein, in FIG. 11, the busbar structure may include any number of interconnected busbars and bridges. Specifically, one or more processors represented by the processor 121 and various circuits of the memory represented by the memory 122 are connected together. The busbar architecture can also integrate peripheral equipment, stable Various other circuits, such as a voltage converter and a power management circuit, are connected together. These are all known in the art, and therefore, no further description will be given here.

本發明是參照根據本發明實施例的方法、設備(系統)、和電腦程式產品的流程圖和/或方框圖來描述的。應理解可由電腦程式指令實現流程圖和/或方框圖中的每一流程和/或方框、以及流程圖和/或方框圖中的流程和/或方框的結合。可提供這些電腦程式指令到通用電腦、專用電腦、嵌入式處理機或其他可程式設計資料處理設備的處理器以產生一個機器,使得通過電腦或其他可程式設計資料處理設備的處理器執行的指令產生用於實現在流程圖一個流程或多個流程和/或方框圖一個方框或多個方框中指定的功能的裝置。 The present invention is described with reference to flowcharts and/or block diagrams of methods, equipment (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and/or block in the flowchart and/or block diagram, and the combination of processes and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions can be provided to the processors of general-purpose computers, dedicated computers, embedded processors, or other programmable data processing equipment to generate a machine that can be executed by the processor of the computer or other programmable data processing equipment A device for realizing the functions specified in one flow or multiple flows in the flowchart and/or one block or multiple blocks in the block diagram is generated.

這些電腦程式指令也可存儲在能引導電腦或其他可程式設計資料處理設備以特定方式工作的電腦可讀記憶體中,使得存儲在該電腦可讀記憶體中的指令產生包括指令裝置的製造品,該指令裝置實現在流程圖一個流程或多個流程和/或方框圖一個方框或多個方框中指定的功能。 These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing equipment to work in a specific manner, so that the instructions stored in the computer-readable memory generate a manufactured product including the instruction device , The instruction device realizes the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.

這些電腦程式指令也可裝載到電腦或其他可程式設計資料處理設備上,使得在電腦或其他可程式設計設備上執行一系列操作步驟以產生電腦實現的處理,從而在電腦或其他可程式設計設備上執行的指令提供用於實現在流程圖一個流程或多個流程和/或方框圖一個方框或多個方框中指定的功能的步驟。 These computer program instructions can also be loaded on a computer or other programmable data processing equipment, so that a series of operation steps are executed on the computer or other programmable equipment to produce computer-implemented processing, so that the computer or other programmable equipment The instructions executed above provide steps for implementing functions specified in a flow or multiple flows in the flowchart and/or a block or multiple blocks in the block diagram.

儘管已描述了本發明的優選實施例,但本領域內的技術人員一旦得知了基本進步性概念,則可對這些實施例作出另外的變更和修改。所以,所附申請專利範圍意欲解釋為包括優選實施例以及落入本發明範圍 的所有變更和修改。 Although the preferred embodiments of the present invention have been described, those skilled in the art can make additional changes and modifications to these embodiments once they learn the basic progressive concepts. Therefore, the scope of the attached patent application is intended to be interpreted as including the preferred embodiments and falling within the scope of the present invention All changes and modifications.

顯然,本領域的技術人員可以對本發明進行各種改動和變型而不脫離本發明的精神和範圍。這樣,倘若本發明的這些修改和變型屬於本發明申請專利範圍及其等同技術的範圍之內,則本發明也意圖包含這些改動和變型在內。 Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. In this way, if these modifications and variations of the present invention fall within the scope of the patent application of the present invention and equivalent technologies, the present invention is also intended to include these modifications and variations.

201~204‧‧‧步驟 201~204‧‧‧Step

Claims (14)

一種電子憑證上傳的方法,其特徵在於,包括: A method for uploading an electronic certificate, characterized in that it includes: 前置終端獲取電子憑證; The front terminal obtains the electronic certificate; 該前置終端對該電子憑證進行雜湊處理,確定出該電子憑證的雜湊值; The front-end terminal performs hash processing on the electronic certificate to determine the hash value of the electronic certificate; 該前置終端根據該前置終端的私密金鑰、商戶號、終端號和該電子憑證的雜湊值,確定出簽名資訊; The front-end terminal determines the signature information according to the front-end terminal's private key, merchant number, terminal number and the hash value of the electronic certificate; 該前置終端將該前置終端的商戶號和終端號、該電子憑證的雜湊值和該簽名資訊上傳至區塊鏈節點,以使該區塊鏈節點在對該簽名資訊進行驗證後,登記到區塊鏈網路中。 The front-end terminal uploads the merchant number and terminal number of the front-end terminal, the hash value of the electronic certificate and the signature information to the blockchain node, so that the blockchain node can register after verifying the signature information To the blockchain network. 如請求項1所述的電子憑證上傳的方法,其中,該前置終端根據該前置終端的私密金鑰、商戶號、終端號和該電子憑證的雜湊值,確定出簽名資訊,包括: The method for uploading an electronic certificate according to claim 1, wherein the front-end terminal determines the signature information based on the front-end terminal's private key, merchant number, terminal number, and hash value of the electronic certificate, including: 該前置終端使用該前置終端的私密金鑰,對該前置終端的商戶號和終端號以及該電子憑證的雜湊值進行簽名,確定出該簽名資訊。 The front terminal uses the private key of the front terminal to sign the merchant number and terminal number of the front terminal and the hash value of the electronic certificate to determine the signature information. 如請求項2所述的電子憑證上傳的方法,其中,該前置終端根據該前置終端的私密金鑰、商戶號、終端號和該電子憑證的雜湊值,確定出簽名資訊,包括: The method for uploading an electronic certificate according to claim 2, wherein the front-end terminal determines the signature information based on the front-end terminal's private key, merchant number, terminal number, and the hash value of the electronic certificate, including: 該前置終端通過該前置終端的私密金鑰使用橢圓曲線數位簽章ECDSA演算法對該前置終端的商戶號和終端號以及該電子憑證的雜湊值進行簽名,確定出該簽名資訊。 The front-end terminal uses the elliptic curve digital signature ECDSA algorithm to sign the front-end terminal's merchant number and terminal number and the hash value of the electronic certificate by using the front-end terminal's private key to determine the signature information. 一種電子憑證上傳的方法,其特徵在於,包括: A method for uploading an electronic certificate, characterized in that it includes: 區塊鏈節點獲取前置終端發送的交易資訊,該交易資訊包括電子憑證的雜湊值、該前置終端的商戶號和終端號、簽名資訊;該電子憑證的雜湊 值是該前置終端對該電子憑證進行雜湊處理後確定的;該簽名資訊是該前置終端根據該前置終端的私密金鑰對該電子憑證的雜湊值、該前置終端的商戶號和終端號進行處理後確定的; The blockchain node obtains the transaction information sent by the front-end terminal. The transaction information includes the hash value of the electronic certificate, the merchant number and terminal number of the front-end terminal, and signature information; the hash of the electronic certificate The value is determined after the front-end terminal hashes the electronic certificate; the signature information is the hash value of the front-end terminal to the electronic certificate according to the front-end terminal's private key, the merchant number of the front-end terminal and The terminal number is determined after processing; 該區塊鏈節點根據該前置終端的商戶號和終端號,確定出該前置終端的公開金鑰; The blockchain node determines the public key of the front terminal according to the merchant number and terminal number of the front terminal; 該區塊鏈節點根據該前置終端的公開金鑰對該簽名資訊進行驗證,並在驗證通過以及其它區塊鏈節點共識之後將該電子憑證的雜湊值登記到區塊鏈網路中。 The blockchain node verifies the signature information according to the public key of the front terminal, and registers the hash value of the electronic certificate in the blockchain network after the verification is passed and the consensus of other blockchain nodes. 一種電子憑證上傳的裝置,其特徵在於,包括: A device for uploading an electronic certificate, characterized in that it comprises: 通信模組,用於獲取電子憑證; Communication module for obtaining electronic certificates; 上傳預處理模組,用於對該電子憑證進行雜湊處理,確定出該電子憑證的雜湊值;根據該前置終端的私密金鑰、商戶號、終端號和該電子憑證的雜湊值,確定出簽名資訊;將該前置終端的商戶號和終端號、該電子憑證的雜湊值和該簽名資訊上傳至區塊鏈節點,以使該區塊鏈節點在對該簽名資訊進行驗證後,登記到區塊鏈網路中。 Upload the pre-processing module for hashing the electronic certificate to determine the hash value of the electronic certificate; according to the front-end terminal’s private key, merchant number, terminal number, and the hash value of the electronic certificate, determine Signature information; the merchant number and terminal number of the front-end terminal, the hash value of the electronic certificate and the signature information are uploaded to the blockchain node so that the blockchain node can register to the blockchain node after verifying the signature information In the blockchain network. 如請求項5所述的電子憑證上傳的裝置,其中,該上傳預處理模組具體用於: The device for uploading an electronic certificate according to claim 5, wherein the upload preprocessing module is specifically used for: 使用該前置終端的私密金鑰,對該前置終端的商戶號和終端號以及該電子憑證的雜湊值進行簽名,確定出該簽名資訊。 Use the private key of the front terminal to sign the merchant number and terminal number of the front terminal and the hash value of the electronic certificate to determine the signature information. 如請求項6所述的電子憑證上傳的裝置,其中,該上傳預處理模組具體用於: The device for uploading an electronic certificate according to claim 6, wherein the upload preprocessing module is specifically used for: 通過該前置終端的私密金鑰使用橢圓曲線數位簽章ECDSA演算法對該前置終端的商戶號和終端號以及該電子憑證的雜湊值進行簽名,確定出該簽名資訊。 The elliptic curve digital signature ECDSA algorithm is used to sign the merchant number and terminal number of the front terminal and the hash value of the electronic certificate by using the private key of the front terminal to determine the signature information. 一種電子憑證上傳的裝置,其特徵在於,包括: A device for uploading an electronic certificate, characterized in that it comprises: 獲取模組,用於獲取前置終端發送的交易資訊,該交易資訊包括電子憑證的雜湊值、該前置終端的商戶號和終端號、簽名資訊;該電子憑證的雜湊值是該前置終端對該電子憑證進行雜湊處理後確定的;該簽名資訊是該前置終端根據該前置終端的私密金鑰對該電子憑證的雜湊值、該前置終端的商戶號和終端號進行處理後確定的; The acquisition module is used to acquire transaction information sent by the front terminal. The transaction information includes the hash value of the electronic certificate, the merchant number and terminal number of the front terminal, and signature information; the hash value of the electronic certificate is the front terminal Confirmed after hashing the electronic certificate; the signature information is determined by the front-end terminal after processing the hash value of the electronic certificate, the merchant number and the terminal number of the front-end terminal according to the private key of the front-end terminal of; 處理模組,用於根據該前置終端的商戶號和終端號,確定出該前置終端的公開金鑰;以及根據該前置終端的公開金鑰對該簽名資訊進行驗證,並在驗證通過以及其它區塊鏈節點共識之後將該電子憑證的雜湊值登記到區塊鏈網路中。 The processing module is used to determine the public key of the front-end terminal according to the merchant number and terminal number of the front-end terminal; and verify the signature information according to the public key of the front-end terminal, and when the verification passes After consensus with other blockchain nodes, the hash value of the electronic certificate is registered in the blockchain network. 一種電腦可讀存儲介質,其特徵在於,該電腦可讀存儲介質存儲有電腦可執行指令,該電腦可執行指令用於使該電腦執行如請求項1至4中任一項所述的電子憑證上傳的方法。 A computer-readable storage medium, characterized in that the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to make the computer execute the electronic certificate as described in any one of claim items 1 to 4 Upload method. 一種計算設備,其特徵在於,包括: A computing device, characterized by comprising: 記憶體,用於存儲程式指令; Memory, used to store program instructions; 處理器,用於調用該記憶體中存儲的程式指令,按照獲得的程式執行如請求項1至4中任一項所述的電子憑證上傳的方法。 The processor is used to call the program instructions stored in the memory, and execute the method for uploading the electronic certificate as described in any one of request items 1 to 4 according to the obtained program. 一種前置終端,其特徵在於,包括:處理器、記憶體、收發機、匯流排介面,其中處理器、記憶體與收發機之間通過匯流排介面連接; A front-end terminal, characterized by comprising: a processor, a memory, a transceiver, and a bus interface, wherein the processor, the memory and the transceiver are connected through the bus interface; 該處理器,用於讀取該記憶體中的程式,執行下列方法:獲取電子憑證; The processor is used to read the program in the memory and execute the following method: obtain an electronic certificate; 對該電子憑證進行雜湊處理,確定出該電子憑證的雜湊值;根據該前置終端的私密金鑰、商戶號、終端號和該電子憑證的雜湊值,確定出簽名資訊; Perform hash processing on the electronic certificate to determine the hash value of the electronic certificate; determine the signature information according to the private key, merchant number, terminal number of the front terminal, and the hash value of the electronic certificate; 該記憶體,用於存儲一個或多個可執行程式,可以存儲該處理器在執行 操作時所使用的資料; The memory is used to store one or more executable programs, which can store the Data used in operation; 該收發機,用於在該處理器的控制下將該前置終端的商戶號和終端號、該電子憑證的雜湊值和該簽名資訊上傳至區塊鏈節點,以使該區塊鏈節點在對該簽名資訊進行驗證後,登記到區塊鏈網路中; The transceiver is used to upload the merchant number and terminal number of the front terminal, the hash value of the electronic certificate, and the signature information to the blockchain node under the control of the processor, so that the blockchain node is After verifying the signature information, register it in the blockchain network; 該匯流排介面,用於提供介面。 The bus interface is used to provide an interface. 如請求項11所述的前置終端,其中,該處理器,用於: The front-end terminal according to claim 11, wherein the processor is configured to: 使用該前置終端的私密金鑰,對該前置終端的商戶號和終端號以及該電子憑證的雜湊值進行簽名,確定出該簽名資訊。 Use the private key of the front terminal to sign the merchant number and terminal number of the front terminal and the hash value of the electronic certificate to determine the signature information. 如請求項12所述的前置終端,其中,該處理器,用於: The front-end terminal according to claim 12, wherein the processor is configured to: 通過該前置終端的私密金鑰使用橢圓曲線數位簽章ECDSA演算法對該前置終端的商戶號和終端號以及該電子憑證的雜湊值進行簽名,確定出該簽名資訊。 The elliptic curve digital signature ECDSA algorithm is used to sign the merchant number and terminal number of the front terminal and the hash value of the electronic certificate by using the private key of the front terminal to determine the signature information. 一種區塊鏈節點,其特徵在於,包括:處理器、記憶體、收發機、匯流排介面,其中處理器、記憶體與收發機之間通過匯流排介面連接; A block chain node is characterized by comprising: a processor, a memory, a transceiver, and a bus interface, wherein the processor, the memory and the transceiver are connected through the bus interface; 該收發機,用於在該處理器的控制下獲取前置終端發送的交易資訊,該交易資訊包括電子憑證的雜湊值、該前置終端的商戶號和終端號、簽名資訊;該電子憑證的雜湊值是該前置終端對該電子憑證進行雜湊處理後確定的;該簽名資訊是該前置終端根據該前置終端的私密金鑰對該電子憑證的雜湊值、該前置終端的商戶號和終端號進行處理後確定的; The transceiver is used to obtain transaction information sent by the front-end terminal under the control of the processor. The transaction information includes the hash value of the electronic certificate, the merchant number and terminal number of the front-end terminal, and signature information; The hash value is determined by the front-end terminal after hashing the electronic certificate; the signature information is the hash value of the electronic certificate by the front-end terminal according to the private key of the front-end terminal, and the merchant number of the front-end terminal Determined after processing and terminal number; 該處理器,用於讀取該記憶體中的程式,執行下列方法:根據該前置終端的商戶號和終端號,確定出該前置終端的公開金鑰;以及根據該前置終端的公開金鑰對該簽名資訊進行驗證,並在驗證通過以及其它區塊鏈節點共識之後將該電子憑證的雜湊值登記到區塊鏈網路中; The processor is used to read the program in the memory and execute the following methods: determine the public key of the front terminal according to the merchant number and terminal number of the front terminal; and according to the public key of the front terminal The key verifies the signature information, and registers the hash value of the electronic certificate in the blockchain network after the verification is passed and the consensus of other blockchain nodes is reached; 該記憶體,用於存儲一個或多個可執行程式,可以存儲該處理器在執行 操作時所使用的資料; The memory is used to store one or more executable programs, which can store the Data used in operation; 該匯流排介面,用於提供介面。 The bus interface is used to provide an interface.
TW108142263A 2018-12-26 2019-11-21 Method and device for uploading electronic certificates TWI714359B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811604746.8 2018-12-26
CN201811604746.8A CN109741056B (en) 2018-12-26 2018-12-26 Method and device for uploading electronic certificate

Publications (2)

Publication Number Publication Date
TW202025661A true TW202025661A (en) 2020-07-01
TWI714359B TWI714359B (en) 2020-12-21

Family

ID=66361363

Family Applications (1)

Application Number Title Priority Date Filing Date
TW108142263A TWI714359B (en) 2018-12-26 2019-11-21 Method and device for uploading electronic certificates

Country Status (3)

Country Link
CN (1) CN109741056B (en)
TW (1) TWI714359B (en)
WO (1) WO2020134653A1 (en)

Families Citing this family (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109741056B (en) * 2018-12-26 2023-06-16 中国银联股份有限公司 Method and device for uploading electronic certificate
CN110599176B (en) * 2019-09-24 2024-05-17 腾讯科技(深圳)有限公司 Block chain-based data processing method and device, storage medium and node equipment
CN110766579B (en) * 2019-10-22 2022-08-02 深圳技术大学 Online education management verification system and method based on block chain platform
CN111355592B (en) * 2020-03-03 2022-06-10 泰华智慧产业集团股份有限公司 Ethernet intelligent contract electronic signature system and method based on block chain
CN111680324B (en) * 2020-05-28 2023-09-22 中国工商银行股份有限公司 Credential verification method, management method and issuing method for blockchain
CN112035893A (en) * 2020-07-20 2020-12-04 江苏傲为控股有限公司 Block chain electronic contract management system
CN112035896B (en) * 2020-07-20 2024-03-29 傲为有限公司 Electronic contract evidence-storing system based on transaction mode
CN112100142A (en) * 2020-08-13 2020-12-18 广州汇才创智科技有限公司 Block chain-based digital asset processing method and system
CN112787808B (en) * 2020-12-31 2023-05-02 能链物流科技有限公司 Service data processing method and device for common management account
CN112765622B (en) * 2021-01-13 2024-04-16 中国外运股份有限公司 Digital certificate management method, device, equipment and medium for electronic bill of lading
CN113468549A (en) * 2021-04-29 2021-10-01 深圳前海移联科技有限公司 Retrieval method and system for encrypted information evidence based on block chain and electronic equipment
CN113570194B (en) * 2021-06-28 2024-06-25 北京电链科技有限公司 Power construction business data processing method and system based on block chain
CN114172890B (en) * 2021-11-03 2024-02-27 阿里巴巴(中国)有限公司 File second transmission processing method and device, storage medium and electronic equipment
CN114547641B (en) * 2022-01-05 2024-04-26 浪潮工业互联网股份有限公司 Industrial data tracking method, device, equipment and medium based on block chain
CN114666353A (en) * 2022-03-16 2022-06-24 南京邮电大学 Electronic access evidence obtaining system and method based on block chain
CN114884672A (en) * 2022-04-29 2022-08-09 华控清交信息科技(北京)有限公司 Data flow network system, data flow message transmission method and device
CN115277716A (en) * 2022-06-21 2022-11-01 芯安微众(上海)微电子技术有限公司 Vehicle networking terminal supporting block chain

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009001855A1 (en) * 2007-06-27 2008-12-31 Globalsign K.K. Server certificate issuing system
CN102916811B (en) * 2012-10-18 2015-04-15 中国科学院信息工程研究所 Multielement entity identity certificate information storage method
TW201510764A (en) * 2013-09-05 2015-03-16 Trade Van Information Services Co Method and system for generating a digital signature and authenticating the same on a document
KR101666374B1 (en) * 2015-02-13 2016-10-14 크루셜텍 (주) Method, apparatus and computer program for issuing user certificate and verifying user
KR101661933B1 (en) * 2015-12-16 2016-10-05 주식회사 코인플러그 Ccertificate authentication system and method based on block chain
WO2018057829A1 (en) * 2016-09-22 2018-03-29 Google Llc Methods and systems of performing tamper-evident logging using block lattices
KR101841566B1 (en) * 2016-10-11 2018-05-04 주식회사 코인플러그 Method for issuing, using, refunding, settling and revocating electric voucher using updated status of balance database by respective blocks in blockchain, and server using the same
CN107396360B (en) * 2017-08-15 2020-04-07 中国联合网络通信集团有限公司 Block verification method and device
CN107888375A (en) * 2017-11-08 2018-04-06 深圳市携网科技有限公司 A kind of electronic evidence safety system and method based on block chain technology
CN109034921A (en) * 2018-07-13 2018-12-18 江苏恒宝智能系统技术有限公司 A kind of electronic certificate management method and system based on block chain
CN108964905A (en) * 2018-07-18 2018-12-07 胡祥义 A kind of safe and efficient block chain implementation method
CN109035024A (en) * 2018-08-15 2018-12-18 杭州链汇通区块链科技有限公司 Method, system and the storage medium of electronic signature
CN109741056B (en) * 2018-12-26 2023-06-16 中国银联股份有限公司 Method and device for uploading electronic certificate

Also Published As

Publication number Publication date
WO2020134653A1 (en) 2020-07-02
CN109741056A (en) 2019-05-10
CN109741056B (en) 2023-06-16
TWI714359B (en) 2020-12-21

Similar Documents

Publication Publication Date Title
TWI714359B (en) Method and device for uploading electronic certificates
US10977632B2 (en) Electronic bill management method, apparatus, and storage medium
US20210256510A1 (en) Computer implemented method for processing a financial transaction and a system therefor
WO2020024968A1 (en) Resource transfer data management method and apparatus, and storage medium
US20160203477A1 (en) Cryptographic security for electronic transactions
CN110659906B (en) Bill information processing method, related device and medium
CN111178894B (en) Asset type registration and transaction record verification method and system
CN111325585A (en) Asset transfer method, device and computer readable storage medium
US20230368136A1 (en) Distributed ledger system for automated claim adjudication
CN111311259A (en) Bill processing method, device, terminal and computer readable storage medium
KR102333811B1 (en) System and method for processing card payment based on block-chain
CN111325533A (en) Decentralized transaction method, decentralized transaction system and computer equipment
CN111681141B (en) File authentication method, file authentication device and terminal equipment
CN110766403A (en) Data processing device and method based on block chain and storage medium
WO2021120760A1 (en) Method and device for issuing electronic invoice employing blockchain
CN102609842B (en) A kind of payment cipher device based on hardware signature equipment and application process thereof
CN112184216A (en) Digital currency transaction method, device, digital currency transaction system and storage medium
CN109978683B (en) Supply chain management method, system, storage medium and electronic device
CN111242785A (en) Bill processing method and device, electronic equipment and storage medium
WO2021121030A1 (en) Resource transfer method, settlement terminal, and server node
CN117333184B (en) Supply chain reconciliation method, system and storage medium based on blockchain
US20240171399A1 (en) Using secondary blockchain addresses to prevent malicious transfers
CN116562882A (en) Directional payment method, device, equipment and storage medium
CN117557360A (en) Digital creditor certificate generation method and device, computer equipment and storage medium
CN115953241A (en) Block chain-based fund management method and device