TW202025024A - Resource transfer event recording method and apparatus, and electronic device - Google Patents

Resource transfer event recording method and apparatus, and electronic device Download PDF

Info

Publication number
TW202025024A
TW202025024A TW108131639A TW108131639A TW202025024A TW 202025024 A TW202025024 A TW 202025024A TW 108131639 A TW108131639 A TW 108131639A TW 108131639 A TW108131639 A TW 108131639A TW 202025024 A TW202025024 A TW 202025024A
Authority
TW
Taiwan
Prior art keywords
blockchain
resource
record
hash value
hand goods
Prior art date
Application number
TW108131639A
Other languages
Chinese (zh)
Inventor
李敏
Original Assignee
香港商阿里巴巴集團服務有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 香港商阿里巴巴集團服務有限公司 filed Critical 香港商阿里巴巴集團服務有限公司
Publication of TW202025024A publication Critical patent/TW202025024A/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
    • G06Q20/389Keeping log of transactions for guaranteeing non-repudiation of a transaction

Abstract

Disclosed are a resource transfer event recording method and apparatus, a resource transfer event querying method and apparatus, and an electronic device. The methods are applicable to a transaction server. The recording method comprises: uploading, by means of a preset interface of a blockchain, a payment record of a target resource to a blockchain on the basis of a payment event of a target resource by a resource receiver; acquiring and recording a first hash value returned by the blockchain, the first hash value being obtained by the blockchain on the basis of the payment record processing of the target resource; uploading a transfer record of the target resource to the blockchain by means of the preset interface of the blockchain on the basis of a transfer event of the target resource provided by a resource transferor; and acquiring and recording a second hash value returned by the blockchain, the second hash value being obtained on the basis of the transfer record processing of the target resource by the blockchain.

Description

資源轉移事件的記錄方法、裝置及電子設備Method, device and electronic equipment for recording resource transfer events

本發明涉及電腦技術領域,尤其涉及一種資源轉移事件的記錄方法、裝置及電子設備。The present invention relates to the field of computer technology, in particular to a method, device and electronic equipment for recording resource transfer events.

隨著資源回收利用觀念的越來越普及,二手貨物交易市場也隨之快速發展壯大。為了便於用戶及時發佈和接收到二手貨物的交易資訊,越來越多的二手貨物線上交易伺服器應運而生。 目前,二手貨物的線上回收交易,如果採用基於信用的模式,買賣雙方往往要在信用等級大於或等於某個預設等級時,才能進行二手貨物的線上交易;如果採用無信用的模式,回收模式是先貨後款。 然而,對於很多沒有信用積累的用戶而言,比如對於沒有線上交易記錄的新用戶,或者信用等級較低的用戶來說,現有基於信用模式的線上貨物的回收方法的使用門檻較高,這些沒有信用積累的用戶則不能使用;而基於無信用模式,其交易效率則較低。As the concept of resource recycling becomes more and more popular, the second-hand goods trading market also develops rapidly. In order to facilitate users to release and receive transaction information of second-hand goods in a timely manner, more and more online transaction servers for second-hand goods have emerged. At present, if the online recycling transaction of second-hand goods adopts a credit-based model, buyers and sellers often have to conduct online transactions of second-hand goods only when the credit rating is greater than or equal to a certain preset level; if the non-credit model is adopted, the recycling model It's the goods first and then the payment. However, for many users who do not have credit accumulation, such as new users without online transaction records, or users with low credit ratings, the existing credit-based online goods recovery methods have higher thresholds. Users who have accumulated credit cannot use it; and based on the no-credit model, its transaction efficiency is lower.

本發明實施例提供了一種資源轉移事件的記錄方法、裝置及電子設備,以解決現有的線上貨物的回收方法中,基於信用模式的使用門檻較高和基於無信用模式的交易效率低的問題。 為解決上述技術問題,本發明實施例是這樣實現的: 第一態樣,提出了一種資源轉移事件的記錄方法,所述方法應用於交易伺服器,所述方法包括: 基於資源接收方對標的資源的支付事件,透過區塊鏈的預設介面上傳所述標的資源的支付記錄到所述區塊鏈中; 獲取並記錄所述區塊鏈返回的第一雜湊值,所述第一雜湊值為所述區塊鏈基於所述標的資源的支付記錄處理得到的,以便所述區塊鏈的公證節點能夠查詢到與所述第一雜湊值相對應的所述標的資源的支付記錄; 基於資源轉出方提供的所述標的資源的轉移事件,透過所述區塊鏈的預設介面上傳所述標的資源的轉移記錄到所述區塊鏈中; 獲取並記錄所述區塊鏈返回的第二雜湊值,所述第二雜湊值為所述區塊鏈基於所述標的資源的轉移記錄處理得到的,以便所述區塊鏈的公證節點能夠查詢到與所述第二雜湊值相對應的所述標的資源的轉移記錄。 第二態樣,提出了一種資源轉移事件的查詢方法,所述方法應用於區塊鏈中的公證節點,所述方法包括: 透過區塊鏈的預設介面獲取資源接收方和/或資源轉出方針對標的資源的資源轉移記錄的查詢請求; 基於所述資源接收方和/或所述資源轉出方針對標的資源的資源轉移記錄的查詢請求,從所述區塊鏈中下載並讀取與所述查詢請求攜帶的雜湊值相對應的資源轉移記錄。 第三態樣,提出了一種二手貨物交易的記錄方法,所述方法應用於二手貨物交易伺服器,所述方法包括: 基於二手貨物回收方對待回收二手貨物的支付事件,透過區塊鏈的預設介面上傳所述待回收二手貨物的支付記錄到所述區塊鏈中; 獲取並記錄所述區塊鏈返回的第一雜湊值,所述第一雜湊值為所述區塊鏈基於所述待回收二手貨物的支付記錄處理得到的,以便所述區塊鏈的公證節點能夠查詢到與所述第一雜湊值相對應的所述待回收二手貨物的支付記錄; 基於二手貨物提供方提供的所述待回收二手貨物的發貨事件,透過所述區塊鏈的預設介面上傳所述待回收二手貨物的發貨記錄到所述區塊鏈中; 獲取並記錄所述區塊鏈返回的第二雜湊值,所述第二雜湊值為所述區塊鏈基於所述待回收二手貨物的轉移記錄處理得到的,以便所述區塊鏈的公證節點能夠查詢到與所述第二雜湊值相對應的所述待回收二手貨物的轉移記錄。 第四態樣,提出了一種二手貨物回收交易的查詢方法,所述方法應用於區塊鏈中的公證節點,所述方法包括: 透過區塊鏈的預設介面獲取二手貨物回收方和/或二手貨物提供方針對待回收二手貨物的回收交易記錄的查詢請求; 基於二手貨物回收方和/或二手貨物提供方針對待回收二手貨物的回收交易記錄的查詢請求,從所述區塊鏈中下載並讀取與所述查詢請求攜帶的雜湊值相對應的回收交易記錄。 第五態樣,提出了一種資源轉移事件的記錄裝置,包括: 第一上傳單元,基於資源接收方對標的資源的支付事件,透過區塊鏈的預設介面上傳所述標的資源的支付記錄到所述區塊鏈中; 第一獲取單元,獲取並記錄所述區塊鏈返回的第一雜湊值,所述第一雜湊值為所述區塊鏈基於所述標的資源的支付記錄處理得到的,以便所述區塊鏈的公證節點能夠查詢到與所述第一雜湊值相對應的所述標的資源的支付記錄; 第二上傳單元,基於資源轉出方提供的所述標的資源的轉移事件,透過所述區塊鏈的預設介面上傳所述標的資源的轉移記錄到所述區塊鏈中; 第二獲取單元,獲取並記錄所述區塊鏈返回的第二雜湊值,所述第二雜湊值為所述區塊鏈基於所述標的資源的轉移記錄處理得到的,以便所述區塊鏈的公證節點能夠查詢到與所述第二雜湊值相對應的所述標的資源的轉移記錄。 第六態樣,提出了一種資源轉移事件的查詢裝置,包括: 獲取單元,透過區塊鏈的預設介面獲取資源接收方和/或資源轉出方針對標的資源的資源轉移記錄的查詢請求; 下載單元,基於所述資源接收方和/或所述資源轉出方針對標的資源的資源轉移記錄的查詢請求,從所述區塊鏈中下載並讀取與所述查詢請求攜帶的雜湊值相對應的資源轉移記錄。 第七態樣,提出了一種二手貨物回收交易的記錄裝置,包括: 第一上傳單元,基於二手貨物回收方對待回收二手貨物的支付事件,透過區塊鏈的預設介面上傳所述待回收二手貨物的支付記錄到所述區塊鏈中; 第一獲取單元,獲取並記錄所述區塊鏈返回的第一雜湊值,所述第一雜湊值為所述區塊鏈基於所述待回收二手貨物的支付記錄處理得到的,以便所述區塊鏈的公證節點能夠查詢到與所述第一雜湊值相對應的所述待回收二手貨物的支付記錄; 第二上傳單元,基於二手貨物提供方提供的所述待回收二手貨物的發貨事件,透過所述區塊鏈的預設介面上傳所述待回收二手貨物的發貨記錄到所述區塊鏈中; 第二獲取單元,獲取並記錄所述區塊鏈返回的第二雜湊值,所述第二雜湊值為所述區塊鏈基於所述待回收二手貨物的轉移記錄處理得到的,以便所述區塊鏈的公證節點能夠查詢到與所述第二雜湊值相對應的所述待回收二手貨物的轉移記錄。 第八態樣,提出了一種二手貨物回收交易的查詢裝置,包括: 獲取單元,透過區塊鏈的預設介面獲取二手貨物回收方和/或二手貨物提供方針對待回收二手貨物的回收交易記錄的查詢請求; 下載單元,基於二手貨物回收方和/或二手貨物提供方針對待回收二手貨物的回收交易記錄的查詢請求,從所述區塊鏈中下載並讀取與所述查詢請求攜帶的雜湊值相對應的回收交易記錄。 第九態樣,提出了一種電子設備,該電子設備包括: 處理器;以及 被安排成儲存電腦可執行指令的記憶體,所述可執行指令在被執行時使所述處理器執行以下操作: 基於資源接收方對標的資源的支付事件,透過區塊鏈的預設介面上傳所述標的資源的支付記錄到所述區塊鏈中; 獲取並記錄所述區塊鏈返回的第一雜湊值,所述第一雜湊值為所述區塊鏈基於所述標的資源的支付記錄處理得到的,以便所述區塊鏈的公證節點能夠查詢到與所述第一雜湊值相對應的所述標的資源的支付記錄; 基於資源轉出方提供的所述標的資源的轉移事件,透過所述區塊鏈的預設介面上傳所述標的資源的轉移記錄到所述區塊鏈中; 獲取並記錄所述區塊鏈返回的第二雜湊值,所述第二雜湊值為所述區塊鏈基於所述標的資源的轉移記錄處理得到的,以便所述區塊鏈的公證節點能夠查詢到與所述第二雜湊值相對應的所述標的資源的轉移記錄。 第十態樣,提出了一種電腦可讀儲存介質,所述電腦可讀儲存介質儲存一個或多個程式,所述一個或多個程式當被包括多個應用程式的電子設備執行時,使得所述電子設備執行以下操作: 基於資源接收方對標的資源的支付事件,透過區塊鏈的預設介面上傳所述標的資源的支付記錄到所述區塊鏈中; 獲取並記錄所述區塊鏈返回的第一雜湊值,所述第一雜湊值為所述區塊鏈基於所述標的資源的支付記錄處理得到的,以便所述區塊鏈的公證節點能夠查詢到與所述第一雜湊值相對應的所述標的資源的支付記錄; 基於資源轉出方提供的所述標的資源的轉移事件,透過所述區塊鏈的預設介面上傳所述標的資源的轉移記錄到所述區塊鏈中; 獲取並記錄所述區塊鏈返回的第二雜湊值,所述第二雜湊值為所述區塊鏈基於所述標的資源的轉移記錄處理得到的,以便所述區塊鏈的公證節點能夠查詢到與所述第二雜湊值相對應的所述標的資源的轉移記錄。 第十一態樣,提出了一種電子設備,該電子設備包括: 處理器;以及 被安排成儲存電腦可執行指令的記憶體,所述可執行指令在被執行時使所述處理器執行以下操作: 透過區塊鏈的預設介面獲取資源接收方和/或資源轉出方針對標的資源的資源轉移記錄的查詢請求; 基於所述資源接收方和/或所述資源轉出方針對標的資源的資源轉移記錄的查詢請求,從所述區塊鏈中下載並讀取與所述查詢請求攜帶的雜湊值相對應的資源轉移記錄。 第十二態樣,提出了一種電腦可讀儲存介質,所述電腦可讀儲存介質儲存一個或多個程式,所述一個或多個程式當被包括多個應用程式的電子設備執行時,使得所述電子設備執行以下操作: 透過區塊鏈的預設介面獲取資源接收方和/或資源轉出方針對標的資源的資源轉移記錄的查詢請求; 基於所述資源接收方和/或所述資源轉出方針對標的資源的資源轉移記錄的查詢請求,從所述區塊鏈中下載並讀取與所述查詢請求攜帶的雜湊值相對應的資源轉移記錄。 第十三態樣,提出了一種電子設備,該電子設備包括: 處理器;以及 被安排成儲存電腦可執行指令的記憶體,所述可執行指令在被執行時使所述處理器執行以下操作: 基於二手貨物回收方對待回收二手貨物的支付事件,透過區塊鏈的預設介面上傳所述待回收二手貨物的支付記錄到所述區塊鏈中; 獲取並記錄所述區塊鏈返回的第一雜湊值,所述第一雜湊值為所述區塊鏈基於所述待回收二手貨物的支付記錄處理得到的,以便所述區塊鏈的公證節點能夠查詢到與所述第一雜湊值相對應的所述待回收二手貨物的支付記錄; 基於二手貨物提供方提供的所述待回收二手貨物的發貨事件,透過所述區塊鏈的預設介面上傳所述待回收二手貨物的發貨記錄到所述區塊鏈中; 獲取並記錄所述區塊鏈返回的第二雜湊值,所述第二雜湊值為所述區塊鏈基於所述待回收二手貨物的轉移記錄處理得到的,以便所述區塊鏈的公證節點能夠查詢到與所述第二雜湊值相對應的所述待回收二手貨物的轉移記錄。 第十四態樣,提出了一種電腦可讀儲存介質,所述電腦可讀儲存介質儲存一個或多個程式,所述一個或多個程式當被包括多個應用程式的電子設備執行時,使得所述電子設備執行以下操作: 基於二手貨物回收方對待回收二手貨物的支付事件,透過區塊鏈的預設介面上傳所述待回收二手貨物的支付記錄到所述區塊鏈中; 獲取並記錄所述區塊鏈返回的第一雜湊值,所述第一雜湊值為所述區塊鏈基於所述待回收二手貨物的支付記錄處理得到的,以便所述區塊鏈的公證節點能夠查詢到與所述第一雜湊值相對應的所述待回收二手貨物的支付記錄; 基於二手貨物提供方提供的所述待回收二手貨物的發貨事件,透過所述區塊鏈的預設介面上傳所述待回收二手貨物的發貨記錄到所述區塊鏈中; 獲取並記錄所述區塊鏈返回的第二雜湊值,所述第二雜湊值為所述區塊鏈基於所述待回收二手貨物的轉移記錄處理得到的,以便所述區塊鏈的公證節點能夠查詢到與所述第二雜湊值相對應的所述待回收二手貨物的轉移記錄。 第十五態樣,提出了一種電子設備,該電子設備包括: 處理器;以及 被安排成儲存電腦可執行指令的記憶體,所述可執行指令在被執行時使所述處理器執行以下操作: 透過區塊鏈的預設介面獲取二手貨物回收方和/或二手貨物提供方針對待回收二手貨物的回收交易記錄的查詢請求; 基於二手貨物回收方和/或二手貨物提供方針對待回收二手貨物的回收交易記錄的查詢請求,從所述區塊鏈中下載並讀取與所述查詢請求攜帶的雜湊值相對應的回收交易記錄。 第十六態樣,提出了一種電腦可讀儲存介質,所述電腦可讀儲存介質儲存一個或多個程式,所述一個或多個程式當被包括多個應用程式的電子設備執行時,使得所述電子設備執行以下操作: 透過區塊鏈的預設介面獲取二手貨物回收方和/或二手貨物提供方針對待回收二手貨物的回收交易記錄的查詢請求; 基於二手貨物回收方和/或二手貨物提供方針對待回收二手貨物的回收交易記錄的查詢請求,從所述區塊鏈中下載並讀取與所述查詢請求攜帶的雜湊值相對應的回收交易記錄。 本發明實施例採用上述技術方案至少可以達到下述技術效果: 在資源轉移過程中,能夠基於資源接收方對標的資源的支付事件,透過區塊鏈的預設介面上傳該標的資源的支付記錄到區塊鏈中,並能夠獲取並記錄區塊鏈基於該標的資源的支付記錄返回的第一雜湊值,以便區塊鏈的公證節點能夠查詢到與該第一雜湊值相對應的標的資源的支付記錄;還能夠基於資源轉出方提供的標的資源的轉移事件,透過區塊鏈的預設介面上傳該標的資源的轉移記錄到區塊鏈中,並能夠獲取並記錄區塊鏈基於該標的資源的轉移記錄返回的第二雜湊值,以便區塊鏈的公證節點能夠查詢到與該第二雜湊值相對應的標的資源的轉移記錄,從而能夠減小了交易發生糾紛的取證難度。同時,由於資源接收方和資源轉入方之間可以直接進行交易,無需第三方信用託管,也降低了交易雙方的交易門檻。The embodiments of the present invention provide a method, device, and electronic equipment for recording resource transfer events to solve the problems of high use threshold based on credit mode and low transaction efficiency based on no-credit mode in the existing online goods recovery methods. To solve the above technical problems, the embodiments of the present invention are implemented as follows: In the first aspect, a method for recording resource transfer events is proposed. The method is applied to a transaction server, and the method includes: Based on the payment event of the target resource by the resource receiver, upload the payment record of the target resource to the blockchain through the preset interface of the blockchain; Acquire and record the first hash value returned by the blockchain, the first hash value is obtained by the blockchain based on the payment record processing of the target resource, so that the notary node of the blockchain can query To the payment record of the target resource corresponding to the first hash value; Based on the transfer event of the target resource provided by the resource transferor, upload the transfer record of the target resource to the blockchain through the preset interface of the blockchain; Acquire and record the second hash value returned by the blockchain, the second hash value is obtained by the blockchain based on the transfer record processing of the target resource, so that the notary node of the blockchain can query A transfer record to the target resource corresponding to the second hash value. In the second aspect, a method for querying resource transfer events is proposed. The method is applied to notary nodes in the blockchain, and the method includes: Obtain the query request of the resource receiver and/or resource transferer for the resource transfer record of the target resource through the preset interface of the blockchain; Based on the query request of the resource receiver and/or the resource transferer for the resource transfer record of the target resource, download and read the resource corresponding to the hash value carried in the query request from the blockchain Transfer records. In the third aspect, a method for recording second-hand goods transactions is proposed. The method is applied to a second-hand goods transaction server, and the method includes: Based on the payment event for the second-hand goods to be recycled by the second-hand goods reclaimer, upload the payment record of the second-hand goods to be recycled to the blockchain through the preset interface of the blockchain; Obtain and record the first hash value returned by the blockchain. The first hash value is obtained by the blockchain based on the payment records of the second-hand goods to be recovered, so that the notary node of the blockchain The payment record of the second-hand goods to be recovered corresponding to the first hash value can be inquired; Based on the delivery event of the second-hand goods to be recycled provided by the second-hand goods provider, upload the delivery record of the second-hand goods to be recycled to the blockchain through the preset interface of the blockchain; Obtain and record the second hash value returned by the blockchain. The second hash value is obtained by the blockchain based on the transfer record of the second-hand goods to be recovered, so that the notary node of the blockchain The transfer record of the second-hand goods to be recovered corresponding to the second hash value can be queried. In the fourth aspect, a method for querying second-hand goods recovery transactions is proposed. The method is applied to a notary node in the blockchain, and the method includes: Obtain the second-hand goods reclaimer and/or the second-hand goods provision policy through the preset interface of the blockchain to query requests for the recovery transaction records of the second-hand goods; Based on the second-hand goods reclaimer and/or the second-hand goods providing policy, download and read the recycling transaction record corresponding to the hash value carried in the query request from the blockchain . In the fifth aspect, a device for recording resource transfer events is proposed, including: The first uploading unit uploads the payment record of the target resource to the blockchain through the preset interface of the blockchain based on the payment event of the resource receiver for the target resource; The first acquiring unit acquires and records the first hash value returned by the blockchain, where the first hash value is obtained by the blockchain based on the payment record processing of the target resource, so that the blockchain The notary node of can query the payment record of the subject resource corresponding to the first hash value; The second uploading unit, based on the transfer event of the target resource provided by the resource transferor, uploads the transfer record of the target resource to the blockchain through the preset interface of the blockchain; The second acquiring unit acquires and records a second hash value returned by the blockchain, where the second hash value is obtained by the blockchain based on the transfer record processing of the target resource, so that the blockchain The notary node of can query the transfer record of the target resource corresponding to the second hash value. In the sixth aspect, a device for querying resource transfer events is proposed, including: The acquiring unit acquires the query request of the resource transfer record of the target resource from the resource receiver and/or the resource transferer through the preset interface of the blockchain; The downloading unit, based on the query request of the resource receiver and/or the resource transferer for the resource transfer record of the target resource, downloads from the blockchain and reads the hash value corresponding to the query request The corresponding resource transfer record. The seventh aspect proposes a recording device for second-hand goods recovery transactions, including: The first uploading unit uploads the payment record of the second-hand goods to be recycled to the blockchain through the preset interface of the blockchain based on the payment event of the second-hand goods reclaimer to be recycled; The first obtaining unit obtains and records the first hash value returned by the blockchain, where the first hash value is obtained by the blockchain based on the payment record of the second-hand goods to be recovered, so that the district The notary node of the block chain can query the payment record of the second-hand goods to be recovered corresponding to the first hash value; The second uploading unit, based on the delivery event of the second-hand goods to be recycled provided by the second-hand goods provider, uploads the delivery records of the second-hand goods to be recycled to the blockchain through the preset interface of the blockchain in; The second acquiring unit acquires and records the second hash value returned by the blockchain, where the second hash value is obtained by the blockchain based on the transfer record of the second-hand goods to be recovered, so that the zone The notary node of the block chain can inquire about the transfer record of the second-hand goods to be recovered corresponding to the second hash value. The eighth aspect proposes a query device for second-hand goods recovery transactions, including: The acquisition unit, through the preset interface of the blockchain, obtains the query request of the second-hand goods reclaimer and/or the second-hand goods provision policy for the recovery transaction records of the second-hand goods; The download unit, based on the second-hand goods reclaimer and/or the second-hand goods provision policy, downloads and reads the hash value corresponding to the hash value carried by the second-hand goods from the blockchain. Recover transaction records. In a ninth aspect, an electronic device is proposed, which includes: Processor; and A memory arranged to store computer-executable instructions, which when executed, cause the processor to perform the following operations: Based on the payment event of the target resource by the resource receiver, upload the payment record of the target resource to the blockchain through the preset interface of the blockchain; Acquire and record the first hash value returned by the blockchain, the first hash value is obtained by the blockchain based on the payment record processing of the target resource, so that the notary node of the blockchain can query To the payment record of the target resource corresponding to the first hash value; Based on the transfer event of the target resource provided by the resource transferor, upload the transfer record of the target resource to the blockchain through the preset interface of the blockchain; Acquire and record the second hash value returned by the blockchain, the second hash value is obtained by the blockchain based on the transfer record processing of the target resource, so that the notary node of the blockchain can query A transfer record to the target resource corresponding to the second hash value. In a tenth aspect, a computer-readable storage medium is provided. The computer-readable storage medium stores one or more programs that, when executed by an electronic device including multiple application programs, cause all The electronic device performs the following operations: Based on the payment event of the target resource by the resource receiver, upload the payment record of the target resource to the blockchain through the preset interface of the blockchain; Acquire and record the first hash value returned by the blockchain, the first hash value is obtained by the blockchain based on the payment record processing of the target resource, so that the notary node of the blockchain can query To the payment record of the target resource corresponding to the first hash value; Based on the transfer event of the target resource provided by the resource transferor, upload the transfer record of the target resource to the blockchain through the preset interface of the blockchain; Acquire and record the second hash value returned by the blockchain, the second hash value is obtained by the blockchain based on the transfer record processing of the target resource, so that the notary node of the blockchain can query A transfer record to the target resource corresponding to the second hash value. In an eleventh aspect, an electronic device is proposed, which includes: Processor; and A memory arranged to store computer-executable instructions, which when executed, cause the processor to perform the following operations: Obtain the query request of the resource receiver and/or resource transferer for the resource transfer record of the target resource through the preset interface of the blockchain; Based on the query request of the resource receiver and/or the resource transferer for the resource transfer record of the target resource, download and read the resource corresponding to the hash value carried in the query request from the blockchain Transfer records. In a twelfth aspect, a computer-readable storage medium is provided. The computer-readable storage medium stores one or more programs that, when executed by an electronic device including multiple application programs, make The electronic device performs the following operations: Obtain the query request of the resource receiver and/or resource transferer for the resource transfer record of the target resource through the preset interface of the blockchain; Based on the query request of the resource receiver and/or the resource transferer for the resource transfer record of the target resource, download and read the resource corresponding to the hash value carried in the query request from the blockchain Transfer records. In the thirteenth aspect, an electronic device is proposed, which includes: Processor; and A memory arranged to store computer-executable instructions, which when executed, cause the processor to perform the following operations: Based on the payment event for the second-hand goods to be recycled by the second-hand goods reclaimer, upload the payment record of the second-hand goods to be recycled to the blockchain through the preset interface of the blockchain; Obtain and record the first hash value returned by the blockchain. The first hash value is obtained by the blockchain based on the payment records of the second-hand goods to be recovered, so that the notary node of the blockchain The payment record of the second-hand goods to be recovered corresponding to the first hash value can be inquired; Based on the delivery event of the second-hand goods to be recycled provided by the second-hand goods provider, upload the delivery record of the second-hand goods to be recycled to the blockchain through the preset interface of the blockchain; Obtain and record the second hash value returned by the blockchain. The second hash value is obtained by the blockchain based on the transfer record of the second-hand goods to be recovered, so that the notary node of the blockchain The transfer record of the second-hand goods to be recovered corresponding to the second hash value can be queried. In a fourteenth aspect, a computer-readable storage medium is proposed. The computer-readable storage medium stores one or more programs that, when executed by an electronic device including multiple application programs, make The electronic device performs the following operations: Based on the payment event for the second-hand goods to be recycled by the second-hand goods reclaimer, upload the payment record of the second-hand goods to be recycled to the blockchain through the preset interface of the blockchain; Obtain and record the first hash value returned by the blockchain. The first hash value is obtained by the blockchain based on the payment records of the second-hand goods to be recovered, so that the notary node of the blockchain The payment record of the second-hand goods to be recovered corresponding to the first hash value can be inquired; Based on the delivery event of the second-hand goods to be recycled provided by the second-hand goods provider, upload the delivery record of the second-hand goods to be recycled to the blockchain through the preset interface of the blockchain; Obtain and record the second hash value returned by the blockchain. The second hash value is obtained by the blockchain based on the transfer record of the second-hand goods to be recovered, so that the notary node of the blockchain The transfer record of the second-hand goods to be recovered corresponding to the second hash value can be queried. In the fifteenth aspect, an electronic device is proposed, which includes: Processor; and A memory arranged to store computer-executable instructions, which when executed, cause the processor to perform the following operations: Obtain the second-hand goods reclaimer and/or the second-hand goods provision policy through the preset interface of the blockchain to query requests for the recovery transaction records of the second-hand goods; Based on the second-hand goods reclaimer and/or the second-hand goods providing policy, download and read the recycling transaction record corresponding to the hash value carried in the query request from the blockchain . In a sixteenth aspect, a computer-readable storage medium is proposed. The computer-readable storage medium stores one or more programs that, when executed by an electronic device including multiple application programs, make The electronic device performs the following operations: Obtain the second-hand goods reclaimer and/or the second-hand goods provision policy through the preset interface of the blockchain to query requests for the recovery transaction records of the second-hand goods; Based on the second-hand goods reclaimer and/or the second-hand goods providing policy, download and read the recycling transaction record corresponding to the hash value carried in the query request from the blockchain . The embodiments of the present invention adopt the above technical solutions to at least achieve the following technical effects: In the process of resource transfer, based on the payment event of the target resource by the resource receiver, the payment record of the target resource can be uploaded to the blockchain through the preset interface of the blockchain, and the blockchain can be obtained and recorded based on the target resource. The first hash value returned by the payment record of the resource, so that the notary node of the blockchain can query the payment record of the target resource corresponding to the first hash value; it can also be based on the transfer event of the target resource provided by the resource transferor , Upload the transfer record of the target resource to the blockchain through the default interface of the blockchain, and be able to obtain and record the second hash value returned by the blockchain based on the transfer record of the target resource for the notarization of the blockchain The node can query the transfer record of the target resource corresponding to the second hash value, thereby reducing the difficulty of obtaining evidence for transaction disputes. At the same time, since the resource receiver and the resource transferer can directly conduct transactions, there is no need for third-party credit custody, which also reduces the transaction threshold for both parties.

為使本發明的目的、技術方案和優點更加清楚,下面將結合本發明具體實施例及相應的圖式對本發明技術方案進行清楚、完整地描述。顯然,所描述的實施例僅是本發明一部分實施例,而不是全部的實施例。基於本發明中的實施例,本領域中具有通常知識者在無須過度實驗的前提下所獲得的所有其他實施例,都屬於本發明保護的範圍。 以下結合圖式,詳細說明本發明各實施例提供的技術方案。 為解決現有的線上貨物的回收方法中,基於信用模式的使用門檻較高和基於無信用模式的交易效率低的問題,本說明書實施例提供一種資源轉移事件的記錄方法。本說明書實施例提供的方法的執行主體可以但不限於交易伺服器等能夠被配置為執行本發明實施例提供的該方法裝置中的至少一種。 為便於描述,下文以該方法的執行主體為能夠執行該方法的交易伺服器為例,對該方法的實施方式進行介紹。可以理解,該方法的執行主體為交易伺服器只是一種示例性的說明,並不應理解為對該方法的限定。 具體地,本說明書一個或多個實施例提供的一種資源轉移事件的記錄方法的實現流程示意圖如圖1所示,包括: 步驟110,基於資源接收方對標的資源的支付事件,透過區塊鏈的預設介面上傳標的資源的支付記錄到區塊鏈中。 應理解,為便於資源接收方和資源轉出方進行交易,標的資源的估值可變,也就是說,標的資源的估值可以依據資源接收方和資源轉出方商議來確定,且為了便於後期出現交易糾紛時取證,標的資源的支付記錄中可以攜帶資源接收方和資源轉出方對標的資源的估值確認資訊。其中,該估值確認資訊可以包括資源接收方和資源轉出方對標的資源最終的交易價格的確認資訊,以及具體的議價過程。 可選地,為了提高標的資源的支付記錄的安全性,基於資源接收方對標的資源的支付事件,透過區塊鏈的預設介面上傳標的資源的支付記錄到區塊鏈中,具體可以包括下述步驟: 基於資源接收方對標的資源的支付事件,獲取標的資源的支付記錄; 對標的資源的支付記錄進行加密處理,以獲取加密處理後的標的資源的支付記錄; 透過區塊鏈的預設介面上傳加密處理後的標的資源的支付記錄到區塊鏈中。 其中,對標的資源的支付記錄進行加密處理,具體可以將標的資源的支付記錄透過MD5等雜湊演算法來加密。 步驟120,獲取並記錄區塊鏈返回的第一雜湊值,第一雜湊值為區塊鏈基於標的資源的支付記錄處理得到的,以便區塊鏈的公證節點能夠查詢到與第一雜湊值相對應的標的資源的支付記錄。 應理解,為便於查詢區塊鏈中記錄的標的資源的支付記錄,交易伺服器中可以記錄第一雜湊值與標的資源的支付記錄之間的對應關係,比如可以在有關標的資源的訂單狀態的資料表中設置一個支付記錄欄位用於儲存該第一雜湊值,或者還可以透過其他方式來儲存該第一雜湊值,只要能夠體現該第一雜湊值與標的資源的支付記錄的對應關係即可。 其中,該第一雜湊值可以是區塊鏈基於標的資源的支付記錄透過雜湊演算法處理得到的。 步驟130,基於資源轉出方提供的標的資源的轉移事件,透過區塊鏈的預設介面上傳標的資源的轉移記錄到區塊鏈中。 可選地,為了提高標的資源的轉移記錄的安全性,基於資源轉出方提供的標的資源的轉移事件,透過區塊鏈的預設介面上傳標的資源的轉移記錄到區塊鏈中,具體可以包括下述步驟: 基於資源轉出方提供的標的資源的轉移事件,獲取標的資源的轉移記錄; 對標的資源的轉移記錄進行加密處理,以獲取加密處理後的標的資源的轉移記錄; 透過區塊鏈的預設介面上傳加密處理後的所述標的資源的轉移記錄到區塊鏈中。 其中,對標的資源的轉移記錄進行加密處理,具體可以將標的資源的轉移記錄透過MD5等雜湊演算法來加密。 應理解,為便於後期出現交易糾紛時,獲取交易雙方的資訊,本說明書一個或多個實施例中的資源支付記錄和資源轉移記錄中至少攜帶下述至少一種內容:標的資源的標識、資源接收方的標識和資源轉出方的標識。其中,資源接收方的標識和資源轉出方的標識具體可以是資源接收方和資源轉出方的實名認證標識。比如,資源接收方的標識可以是與資源接收方的身份證號相對應的身份標識,資源轉出方的標識可以是與資源轉出方的身份證號相對應的身份標識。 可選地,由於資源接收方和資源轉出方在針對標的資源進行交易時,資源接收方的支付記錄以及資源轉出方的轉移記錄均被上傳至區塊鏈中,因此,整個交易過程中所涉及的資訊都能透過區塊鏈的公證節點從區塊鏈中下載查詢到,因此,該交易伺服器可以採用資源接收方先支付,資源轉出方在接收到支付款項之後再發貨(即轉移標的資源)的交易模式,也可以採用資源轉出方發貨,資源接收方在接收到貨物之後再支付的交易模式。 因此,本說明書一個或多個實施例中對標的資源的支付事件以及標的資源的轉移事件的發生順序可以不作具體限定,即標的資源的支付事件可以在標的資源的轉移事件之前;或者,標的資源的轉移事件也可以在標的資源的支付事件之前。 步驟140,獲取並記錄區塊鏈返回的第二雜湊值,第二雜湊值為區塊鏈基於標的資源的轉移記錄處理得到的,以便區塊鏈的公證節點能夠查詢到與第二雜湊值相對應的標的資源的轉移記錄。 應理解,為便於查詢區塊鏈中記錄的標的資源的轉移記錄,交易伺服器中可以記錄第二雜湊值與標的資源的轉移記錄之間的對應關係,比如可以在有關標的資源的訂單狀態的資料表中設置一個轉移記錄欄位用於儲存該第二雜湊值,或者還可以透過其他方式來儲存該第二雜湊值,只要能夠體現該第二雜湊值與標的資源的轉移記錄的對應關係即可。 其中,該第二雜湊值可以是區塊鏈基於標的資源的轉移記錄透過雜湊演算法處理得到的。 下面以圖2所示的交易伺服器用於二手貨物的交易為例,對本說明書提供的資源轉移事件的記錄方法進行詳細介紹,如圖2所示,包括下述主要步驟: 步驟21,二手貨物回收方與二手貨物提供方針對待回收的二手貨物進行議價,以確定該待回收的二手貨物的價格; 步驟22,二手貨物回收方基於確定的待回收的二手貨物的價格,向二手貨物提供方支付該待回收的二手貨物; 步驟23,二手貨物的交易伺服器透過區塊鏈的預設介面向區塊鏈上傳該二手貨物回收方的支付記錄,該支付記錄中可以包括二手貨物回收方的標識、二手貨物提供方的標識、支付方向、支付金額、以及二手貨物回收方和二手貨物提供方對待回收的二手貨物的價格確認資訊等資訊; 其中,二手貨物回收方的標識和二手貨物提供方的標識,具體可以在該二手貨物回收方和該二手貨物提供方在該二手貨物的交易伺服器上註冊帳號時獲取。為便於後期出現交易糾紛時進行取證,該二手貨物回收方的標識可以是該二手貨物回收方的實名身份資訊,比如可以是與身份證號等唯一的標識相對應的身份標識,同樣地,該二手貨物提供方的標識可以是該二手貨物回收方的實名身份資訊,比如也可以是與身份證號等唯一的標識相對應的身份標識。 步驟24,區塊鏈向二手貨物的交易伺服器返回第一雜湊值,該第一雜湊值為區塊鏈基於待回收的二手貨物的支付記錄雜湊處理得到的,以便區塊鏈中的公證節點能夠基於該第一雜湊值,獲取與該第一雜湊值對應的支付記錄; 步驟25,二手貨物回收方在收到二手貨物提供方針對該待回收的二手貨物的支付資訊之後,將該待回收的二手貨物按照二手貨物回收方提供的位址進行寄送發貨,並將該待回收的二手貨物的物流資訊,比如物流單號、物流公司等資訊提供給二手貨物的交易伺服器; 步驟26,二手貨物的交易伺服器透過區塊鏈的預設介面向區塊鏈上傳該待回收的二手貨物的物流資訊記錄,該物流資訊記錄中可以包括二手貨物回收方的標識、二手貨物提供方的標識、發貨方向、發貨位址以及收貨位址等資訊; 步驟27,區塊鏈向二手貨物的交易伺服器返回第二雜湊值,該第二雜湊值為區塊鏈基於待回收的二手貨物的物流資訊記錄雜湊處理得到的,以便區塊鏈中的公證節點能夠基於該第二雜湊值,獲取與該第二雜湊值對應的物流資訊記錄。 在資源轉移過程中,能夠基於資源接收方對標的資源的支付事件,透過區塊鏈的預設介面上傳該標的資源的支付記錄到區塊鏈中,並能夠獲取並記錄區塊鏈基於該標的資源的支付記錄返回的第一雜湊值,以便區塊鏈的公證節點能夠查詢到與該第一雜湊值相對應的標的資源的支付記錄;還能夠基於資源轉出方提供的標的資源的轉移事件,透過區塊鏈的預設介面上傳該標的資源的轉移記錄到區塊鏈中,並能夠獲取並記錄區塊鏈基於該標的資源的轉移記錄返回的第二雜湊值,以便區塊鏈的公證節點能夠查詢到與該第二雜湊值相對應的標的資源的轉移記錄,從而能夠減小了交易發生糾紛的取證難度。同時,由於資源接收方和資源轉入方之間可以直接進行交易,無需第三方信用託管,也降低了交易雙方的交易門檻。 圖3是本說明書提供的資源轉移事件的查詢方法的實現流程示意圖。請參考圖3,該資源轉移事件的查詢方法應用於區塊鏈中的公證節點,包括: 步驟310,透過區塊鏈的預設介面獲取資源接收方和/或資源轉出方針對標的資源的資源轉移記錄的查詢請求。 應理解,為便於基於該查詢請求從區塊鏈中獲取到對應的資訊,該查詢請求中可以攜帶雜湊值,該雜湊值可以是區塊鏈基於資源轉移記錄雜湊處理得到的。 若上傳到區塊鏈中的標的資源的資源轉移記錄是經過加密處理後的資源轉移記錄,為了能夠對上傳到區塊鏈中的標的資源的資源轉移記錄進行驗證,該查詢請求中還可以攜帶該標的資源的資源轉移記錄的原始資料,即該標的資源的資源轉移記錄加密之前的資料。 步驟320,基於查詢請求,從區塊鏈中下載並讀取與查詢請求攜帶的雜湊值相對應的資源轉移記錄。 可選地,與上述查詢請求攜帶的雜湊值相對應的資源轉移記錄包括下述至少一種資源轉移記錄: 標的資源的支付記錄; 標的資源的轉移記錄。 若上傳到區塊鏈中的標的資源的資源轉移記錄是經過加密處理後的資源轉移記錄,為了能夠對上傳到區塊鏈中的標的資源的資源轉移記錄進行驗證,區塊鏈中的公證節點可以透過對查詢請求中攜帶的標的資源的資源轉移記錄的原始資料進行雜湊處理,以獲取經過雜湊處理後的字串,並將該字串與區塊鏈中儲存的與該標的資源的資源轉移記錄相對應的字串進行對比;若兩者一致,則查詢請求中攜帶的標的資源的資源轉移記錄的原始資料透過驗證,而若兩者不一致,則表明查詢請求中攜帶的標的資源的資源轉移記錄的原始資料經過後期篡改,即不能透過驗證。 由於能夠透過區塊鏈的預設介面獲取資源接收方和/或資源轉出方針對標的資源的資源轉移記錄的查詢請求,並基於該查詢請求,從區塊鏈中下載並讀取與查詢請求攜帶的雜湊值相對應的資源轉移記錄,從而能夠減小了交易發生糾紛的取證難度。 圖4是本說明書提供的二手貨物交易的記錄方法的實現流程示意圖。請參考圖4,該二手貨物交易的記錄方法應用於二手貨物交易伺服器,包括: 步驟410,基於二手貨物回收方對待回收二手貨物的支付事件,透過區塊鏈的預設介面上傳待回收二手貨物的支付記錄到區塊鏈中。 可選地,基於二手貨物回收方對待回收二手貨物的支付事件,透過區塊鏈的預設介面上傳待回收二手貨物的支付記錄到區塊鏈中,包括: 基於二手貨物回收方對待回收二手貨物的支付事件,獲取待回收二手貨物的支付記錄; 對待回收二手貨物的支付記錄進行加密處理,以獲取加密處理後的待回收二手貨物的支付記錄; 透過區塊鏈的預設介面上傳加密處理後的待回收二手貨物的支付記錄到區塊鏈中。 可選地,待回收二手貨物的估值可變,待回收二手貨物的支付記錄中攜帶二手貨物回收方和二手貨物提供方對待回收二手貨物的估值確認資訊。 步驟420,獲取並記錄區塊鏈返回的第一雜湊值,第一雜湊值為區塊鏈基於待回收二手貨物的支付記錄處理得到的,以便區塊鏈的公證節點能夠查詢到與第一雜湊值相對應的待回收二手貨物的支付記錄。 步驟430,基於二手貨物提供方提供的待回收二手貨物的發貨事件,透過區塊鏈的預設介面上傳待回收二手貨物的發貨記錄到區塊鏈中。 可選地,基於二手貨物提供方提供的待回收二手貨物的發貨事件,透過區塊鏈的預設介面上傳待回收二手貨物的發貨記錄到區塊鏈中,包括: 基於二手貨物提供方提供的所述待回收二手貨物的發貨事件,獲取待回收二手貨物的發貨記錄; 對待回收二手貨物的發貨記錄進行加密處理,以獲取加密處理後的待回收二手貨物的發貨記錄; 透過所述區塊鏈的預設介面上傳所述加密處理後的待回收二手貨物的發貨記錄到所述區塊鏈中。 步驟440,獲取並記錄區塊鏈返回的第二雜湊值,第二雜湊值為區塊鏈基於待回收二手貨物的轉移記錄處理得到的,以便區塊鏈的公證節點能夠查詢到與第二雜湊值相對應的待回收二手貨物的轉移記錄。 可選地,上述待回收二手貨物的支付事件在待回收二手貨物的發貨事件之前; 或者,待回收二手貨物的發貨事件在待回收二手貨物的支付事件之前。 圖4所示實施例相關步驟的具體實現可參考圖1~圖2所示實施例中對應的步驟的具體實現,本說明書一個或多個實施例在此不再贅述。 在二手貨物交易的過程中,能夠基於二手貨物回收方對待回收二手貨物的支付事件,透過區塊鏈的預設介面上傳該待回收二手貨物的支付記錄到區塊鏈中,並能夠獲取並記錄區塊鏈基於該待回收二手貨物的支付記錄返回的第一雜湊值,以便區塊鏈的公證節點能夠查詢到與該第一雜湊值相對應的待回收二手貨物的支付記錄;還能夠基於二手貨物提供方提供的待回收二手貨物的發貨事件,透過區塊鏈的預設介面上傳該待回收二手貨物的發貨記錄到區塊鏈中,並能夠獲取並記錄區塊鏈基於該待回收二手貨物的發貨記錄返回的第二雜湊值,以便區塊鏈的公證節點能夠查詢到與該第二雜湊值相對應的待回收二手貨物的發貨記錄,從而能夠減小了交易發生糾紛的取證難度。同時,由於二手貨物回收方和二手貨物提供方之間可以直接進行交易,無需第三方信用託管,也降低了二手貨物回收交易的門檻。 圖5是本說明書提供的二手貨物回收交易的查詢方法的實現流程示意圖。請參考圖5,該二手貨物回收交易的查詢方法應用於區塊鏈中的公證節點,包括: 步驟510,透過區塊鏈的預設介面獲取二手貨物回收方和/或二手貨物提供方針對待回收二手貨物的回收交易記錄的查詢請求。 步驟520,基於查詢請求,從區塊鏈中下載並讀取與查詢請求攜帶的雜湊值相對應的回收交易記錄。 可選地,與查詢請求攜帶的雜湊值相對應的回收交易記錄包括下述至少一種記錄: 待回收二手貨物的支付記錄; 待回收二手貨物的轉移記錄。 圖5所示實施例相關步驟的具體實現可參考圖3所示實施例中對應的步驟的具體實現,本說明書一個或多個實施例在此不再贅述。 由於能夠透過區塊鏈的預設介面獲取二手貨物回收方和/或二手貨物提供方針對待回收二手貨物的回收交易記錄的查詢請求,並基於該查詢請求,從區塊鏈中下載並讀取與查詢請求攜帶的雜湊值相對應的回收交易記錄,從而能夠減小了交易發生糾紛的取證難度。 圖6是本說明書提供的資源轉移事件的記錄裝置600的結構示意圖。請參考圖6,在一種軟體實施方式中,資源轉移事件的記錄裝置600可包括第一上傳單元601、第一獲取單元602、第二上傳單元603和第二獲取單元604,其中: 第一上傳單元601,基於資源接收方對標的資源的支付事件,透過區塊鏈的預設介面上傳所述標的資源的支付記錄到所述區塊鏈中; 第一獲取單元602,獲取並記錄所述區塊鏈返回的第一雜湊值,所述第一雜湊值為所述區塊鏈基於所述標的資源的支付記錄處理得到的,以便所述區塊鏈的公證節點能夠查詢到與所述第一雜湊值相對應的所述標的資源的支付記錄; 第二上傳單元603,基於資源轉出方提供的所述標的資源的轉移事件,透過所述區塊鏈的預設介面上傳所述標的資源的轉移記錄到所述區塊鏈中; 第二獲取單元604,獲取並記錄所述區塊鏈返回的第二雜湊值,所述第二雜湊值為所述區塊鏈基於所述標的資源的轉移記錄處理得到的,以便所述區塊鏈的公證節點能夠查詢到與所述第二雜湊值相對應的所述標的資源的轉移記錄。 可選地,在一種實施方式中,所述第一上傳單元601,用於: 基於資源接收方對所述標的資源的支付事件,獲取所述標的資源的支付記錄; 對所述標的資源的支付記錄進行加密處理,以獲取所述加密處理後的所述標的資源的支付記錄; 透過所述區塊鏈的預設介面上傳所述加密處理後的所述標的資源的支付記錄到區塊鏈中。 可選地,在一種實施方式中,所第二上傳單元603,用於: 基於資源轉出方提供的所述標的資源的轉移事件,獲取所述標的資源的轉移記錄; 對所述標的資源的轉移記錄進行加密處理,以獲取所述加密處理後的所述標的資源的轉移記錄; 透過所述區塊鏈的預設介面上傳所述加密處理後的所述標的資源的轉移記錄到所述區塊鏈中。 可選地,在一種實施方式中,所述標的資源的估值可變,所述標的資源的支付記錄中攜帶所述資源接收方和所述資源轉出方對所述標的資源的估值確認資訊。 可選地,在一種實施方式中,所述標的資源的支付事件在所述標的資源的轉移事件之前; 或者,所述標的資源的轉移事件在所述標的資源的支付事件之前。 資源轉移事件的記錄裝置600能夠實現圖1~圖2的方法實施例的方法,具體可參考圖1~圖2所示實施例的資源轉移事件的記錄方法,不再贅述。 圖7是本說明書提供的資源轉移事件的查詢裝置700的結構示意圖。請參考圖7,在一種軟體實施方式中,資源轉移事件的查詢裝置700可包括獲取單元701和下載單元702,其中: 獲取單元701,透過區塊鏈的預設介面獲取資源接收方和/或資源轉出方針對標的資源的資源轉移記錄的查詢請求; 下載單元702,基於所述查詢請求,從所述區塊鏈中下載並讀取與所述查詢請求攜帶的雜湊值相對應的資源轉移記錄。 可選地,在一種實施方式中,與所述查詢請求攜帶的雜湊值相對應的資源轉移記錄包括下述至少一種資源轉移記錄: 所述標的資源的支付記錄; 所述標的資源的轉移記錄。 資源轉移事件的查詢裝置700能夠實現圖3的方法實施例的方法,具體可參考圖3所示實施例的資源轉移事件的查詢方法,不再贅述。 圖8是本說明書提供的二手貨物回收交易的記錄裝置800的結構示意圖。請參考圖8,在一種軟體實施方式中,二手貨物回收交易的記錄裝置800可包括第一上傳單元801、第一獲取單元802、第二上傳單元803和第二獲取單元804,其中: 第一上傳單元801,基於二手貨物回收方對待回收二手貨物的支付事件,透過區塊鏈的預設介面上傳所述待回收二手貨物的支付記錄到所述區塊鏈中; 第一獲取單元802,獲取並記錄所述區塊鏈返回的第一雜湊值,所述第一雜湊值為所述區塊鏈基於所述待回收二手貨物的支付記錄處理得到的,以便所述區塊鏈的公證節點能夠查詢到與所述第一雜湊值相對應的所述待回收二手貨物的支付記錄; 第二上傳單元803,基於二手貨物提供方提供的所述待回收二手貨物的發貨事件,透過所述區塊鏈的預設介面上傳所述待回收二手貨物的發貨記錄到所述區塊鏈中; 第二獲取單元804,獲取並記錄所述區塊鏈返回的第二雜湊值,所述第二雜湊值為所述區塊鏈基於所述待回收二手貨物的轉移記錄處理得到的,以便所述區塊鏈的公證節點能夠查詢到與所述第二雜湊值相對應的所述待回收二手貨物的轉移記錄。 可選地,在一種實施方式中,所述第一上傳單元801,用於: 基於二手貨物回收方對所述待回收二手貨物的支付事件,獲取所述待回收二手貨物的支付記錄; 對所述待回收二手貨物的支付記錄進行加密處理,以獲取所述加密處理後的所述待回收二手貨物的支付記錄; 透過所述區塊鏈的預設介面上傳所述加密處理後的所述待回收二手貨物的支付記錄到區塊鏈中。 可選地,在一種實施方式中,所述第二上傳單元803,用於: 基於二手貨物提供方提供的所述待回收二手貨物的轉移事件,獲取所述待回收二手貨物的發貨記錄; 對所述待回收二手貨物的發貨記錄進行加密處理,以獲取所述加密處理後的所述待回收二手貨物的發貨記錄; 透過所述區塊鏈的預設介面上傳所述加密處理後的所述待回收二手貨物的發貨記錄到所述區塊鏈中。 可選地,在一種實施方式中,所述待回收二手貨物的價格可變,所述待回收二手貨物的支付記錄中攜帶所述二手貨物提供方和所述二手貨物回收方對所述待回收二手貨物的價格確認資訊。 可選地,在一種實施方式中,所述待回收二手貨物的支付事件在所待回收二手貨物的發貨事件之前; 或者,所述待回收二手貨物的發貨事件在所述待回收二手貨物的支付事件之前。 二手貨物回收交易的記錄裝置800能夠實現圖4的方法實施例的方法,具體可參考圖4所示實施例的二手貨物回收交易的記錄方法,不再贅述。 圖9是本說明書提供的二手貨物回收交易的查詢裝置900的結構示意圖。請參考圖9,在一種軟體實施方式中,二手貨物回收交易的查詢裝置900可包括獲取單元901和下載單元902,其中: 獲取單元901,透過區塊鏈的預設介面獲取二手貨物回收方和/或二手貨物提供方針對待回收二手貨物的回收交易記錄的查詢請求; 下載單元902,基於二手貨物回收方和/或二手貨物提供方針對待回收二手貨物的回收交易記錄的查詢請求,從所述區塊鏈中下載並讀取與所述查詢請求攜帶的雜湊值相對應的回收交易記錄。 可選地,在一種實施方式中,與所述查詢請求攜帶的雜湊值相對應的回收交易記錄包括下述至少一種記錄: 所述待回收二手貨物的支付記錄; 所述待回收二手貨物的發貨記錄。 二手貨物回收交易的查詢裝置900能夠實現圖5的方法實施例的方法,具體可參考圖5所示實施例的二手貨物回收交易的查詢方法,不再贅述。 圖10是本說明書的一個實施例提供的電子設備的結構示意圖。請參考圖10,在硬體層面,該電子設備包括處理器,可選地還包括內部匯流排、網路介面、記憶體。其中,記憶體可能包含記憶體,例如高速隨機存取記憶體(Random-Access Memory,RAM),也可能還包括非揮發性記憶體(non-volatile memory),例如至少1個磁碟記憶體等。當然,該電子設備還可能包括其他業務所需要的硬體。 處理器、網路介面和記憶體可以透過內部匯流排相互連接,該內部匯流排可以是ISA(Industry Standard Architecture,工業標準架構)匯流排、PCI(Peripheral Component Interconnect,外設部件互連標準)匯流排或EISA(Extended Industry Standard Architecture,延伸工業標準架構)匯流排等。所述匯流排可以分為位址匯流排、資料匯流排、控制匯流排等。為便於表示,圖10中僅用一個雙向箭頭表示,但並不表示僅有一根匯流排或一種類型的匯流排。 記憶體,用於存放程式。具體地,程式可以包括程式碼,所述程式碼包括電腦操作指令。記憶體可以包括記憶體和非揮發性記憶體,並向處理器提供指令和資料。 處理器從非揮發性記憶體中讀取對應的電腦程式到記憶體中然後運行,在邏輯層面上形成資源轉移事件的記錄裝置。處理器,執行記憶體所存放的程式,並具體用於執行以下操作: 基於資源接收方對標的資源的支付事件,透過區塊鏈的預設介面上傳所述標的資源的支付記錄到所述區塊鏈中; 獲取並記錄所述區塊鏈返回的第一雜湊值,所述第一雜湊值為所述區塊鏈基於所述標的資源的支付記錄處理得到的,以便所述區塊鏈的公證節點能夠查詢到與所述第一雜湊值相對應的所述標的資源的支付記錄; 基於資源轉出方提供的所述標的資源的轉移事件,透過所述區塊鏈的預設介面上傳所述標的資源的轉移記錄到所述區塊鏈中; 獲取並記錄所述區塊鏈返回的第二雜湊值,所述第二雜湊值為所述區塊鏈基於所述標的資源的轉移記錄處理得到的,以便所述區塊鏈的公證節點能夠查詢到與所述第二雜湊值相對應的所述標的資源的轉移記錄。 上述如本說明書圖1~圖2所示實施例揭示的資源轉移事件的記錄方法可以應用於處理器中,或者由處理器實現。處理器可能是一種積體電路晶片,具有信號的處理能力。在實現過程中,上述方法的各步驟可以透過處理器中的硬體的集成邏輯電路或者軟體形式的指令完成。上述的處理器可以是通用處理器,包括中央處理器(Central Processing Unit,CPU)、網路處理器(Network Processor,NP)等;還可以是數位訊號處理器(Digital Signal Processor,DSP)、專用積體電路(Application Specific Integrated Circuit,ASIC)、現場可程式化閘陣列(Field-Programmable Gate Array,FPGA)或者其他可程式化邏輯裝置、分立門或者電晶體邏輯裝置、分立硬體元件。可以實現或者執行本說明書一個或多個實施例中的公開的各方法、步驟及邏輯方塊圖。通用處理器可以是微處理器或者該處理器也可以是任何常規的處理器等。結合本說明書一個或多個實施例所公開的方法的步驟可以直接體現為硬體解碼處理器執行完成,或者用解碼處理器中的硬體及軟體模組組合執行完成。軟體模組可以位於隨機記憶體,快閃記憶體、唯讀記憶體,可程式化唯讀記憶體或者電可讀寫可程式化記憶體、暫存器等本領域成熟的儲存介質中。該儲存介質位於記憶體,處理器讀取記憶體中的資訊,結合其硬體完成上述方法的步驟。 該電子設備還可執行圖1~圖2的資源轉移事件的記錄方法,本說明書在此不再贅述。 當然,除了軟體實現方式之外,本說明書的電子設備並不排除其他實現方式,比如邏輯裝置抑或軟硬體結合的方式等等,也就是說以下處理流程的執行主體並不限定於各個邏輯單元,也可以是硬體或邏輯裝置。 圖9是本說明書提供的二手貨物回收交易的查詢裝置900的結構示意圖。請參考圖9,在一種軟體實施方式中,二手貨物回收交易的查詢裝置900可包括獲取單元901和下載單元902,其中: 獲取單元901,透過區塊鏈的預設介面獲取二手貨物回收方和/或二手貨物提供方針對待回收二手貨物的回收交易記錄的查詢請求; 下載單元902,基於二手貨物回收方和/或二手貨物提供方針對待回收二手貨物的回收交易記錄的查詢請求,從所述區塊鏈中下載並讀取與所述查詢請求攜帶的雜湊值相對應的回收交易記錄。 可選地,在一種實施方式中,與所述查詢請求攜帶的雜湊值相對應的回收交易記錄包括下述至少一種記錄: 所述待回收二手貨物的支付記錄; 所述待回收二手貨物的發貨記錄。 二手貨物回收交易的查詢裝置900能夠實現圖5的方法實施例的方法,具體可參考圖5所示實施例的二手貨物回收交易的查詢方法,不再贅述。 圖11是本說明書的一個實施例提供的電子設備的結構示意圖。請參考圖11,在硬體層面,該電子設備包括處理器,可選地還包括內部匯流排、網路介面、記憶體。其中,記憶體可能包含記憶體,例如高速隨機存取記憶體(Random-Access Memory,RAM),也可能還包括非揮發性記憶體(non-volatile memory),例如至少1個磁碟記憶體等。當然,該電子設備還可能包括其他業務所需要的硬體。 處理器、網路介面和記憶體可以透過內部匯流排相互連接,該內部匯流排可以是ISA(Industry Standard Architecture,工業標準架構)匯流排、PCI(Peripheral Component Interconnect,外設部件互連標準)匯流排或EISA(Extended Industry Standard Architecture,延伸工業標準架構)匯流排等。所述匯流排可以分為位址匯流排、資料匯流排、控制匯流排等。為便於表示,圖11中僅用一個雙向箭頭表示,但並不表示僅有一根匯流排或一種類型的匯流排。 記憶體,用於存放程式。具體地,程式可以包括程式碼,所述程式碼包括電腦操作指令。記憶體可以包括記憶體和非揮發性記憶體,並向處理器提供指令和資料。 處理器從非揮發性記憶體中讀取對應的電腦程式到記憶體中然後運行,在邏輯層面上形成資源轉移事件的查詢裝置。處理器,執行記憶體所存放的程式,並具體用於執行以下操作: 透過區塊鏈的預設介面獲取資源接收方和/或資源轉出方針對標的資源的資源轉移記錄的查詢請求; 基於所述查詢請求,從所述區塊鏈中下載並讀取與所述查詢請求攜帶的雜湊值相對應的資源轉移記錄。 上述如本說明書圖3所示實施例揭示的資源轉移事件的查詢方法可以應用於處理器中,或者由處理器實現。處理器可能是一種積體電路晶片,具有信號的處理能力。在實現過程中,上述方法的各步驟可以透過處理器中的硬體的集成邏輯電路或者軟體形式的指令完成。上述的處理器可以是通用處理器,包括中央處理器(Central Processing Unit,CPU)、網路處理器(Network Processor,NP)等;還可以是數位訊號處理器(Digital Signal Processor,DSP)、專用積體電路(Application Specific Integrated Circuit,ASIC)、現場可程式化閘陣列(Field-Programmable Gate Array,FPGA)或者其他可程式化邏輯裝置、分立門或者電晶體邏輯裝置、分立硬體元件。可以實現或者執行本說明書一個或多個實施例中的公開的各方法、步驟及邏輯方塊圖。通用處理器可以是微處理器或者該處理器也可以是任何常規的處理器等。結合本說明書一個或多個實施例所公開的方法的步驟可以直接體現為硬體解碼處理器執行完成,或者用解碼處理器中的硬體及軟體模組組合執行完成。軟體模組可以位於隨機記憶體,快閃記憶體、唯讀記憶體,可程式化唯讀記憶體或者電可讀寫可程式化記憶體、暫存器等本領域成熟的儲存介質中。該儲存介質位於記憶體,處理器讀取記憶體中的資訊,結合其硬體完成上述方法的步驟。 該電子設備還可執行圖3的資源轉移事件的查詢方法,本說明書在此不再贅述。 當然,除了軟體實現方式之外,本說明書的電子設備並不排除其他實現方式,比如邏輯裝置抑或軟硬體結合的方式等等,也就是說以下處理流程的執行主體並不限定於各個邏輯單元,也可以是硬體或邏輯裝置。 圖12是本說明書的一個實施例提供的電子設備的結構示意圖。請參考圖12,在硬體層面,該電子設備包括處理器,可選地還包括內部匯流排、網路介面、記憶體。其中,記憶體可能包含記憶體,例如高速隨機存取記憶體(Random-Access Memory,RAM),也可能還包括非揮發性記憶體(non-volatile memory),例如至少1個磁碟記憶體等。當然,該電子設備還可能包括其他業務所需要的硬體。 處理器、網路介面和記憶體可以透過內部匯流排相互連接,該內部匯流排可以是ISA(Industry Standard Architecture,工業標準架構)匯流排、PCI(Peripheral Component Interconnect,外設部件互連標準)匯流排或EISA(Extended Industry Standard Architecture,延伸工業標準架構)匯流排等。所述匯流排可以分為位址匯流排、資料匯流排、控制匯流排等。為便於表示,圖12中僅用一個雙向箭頭表示,但並不表示僅有一根匯流排或一種類型的匯流排。 記憶體,用於存放程式。具體地,程式可以包括程式碼,所述程式碼包括電腦操作指令。記憶體可以包括記憶體和非揮發性記憶體,並向處理器提供指令和資料。 處理器從非揮發性記憶體中讀取對應的電腦程式到記憶體中然後運行,在邏輯層面上形成二手貨物回收交易的記錄裝置。處理器,執行記憶體所存放的程式,並具體用於執行以下操作: 基於二手貨物回收方對待回收二手貨物的支付事件,透過區塊鏈的預設介面上傳所述待回收二手貨物的支付記錄到所述區塊鏈中; 獲取並記錄所述區塊鏈返回的第一雜湊值,所述第一雜湊值為所述區塊鏈基於所述待回收二手貨物的支付記錄處理得到的,以便所述區塊鏈的公證節點能夠查詢到與所述第一雜湊值相對應的所述待回收二手貨物的支付記錄; 基於二手貨物提供方提供的所述待回收二手貨物的發貨事件,透過所述區塊鏈的預設介面上傳所述待回收二手貨物的發貨記錄到所述區塊鏈中; 獲取並記錄所述區塊鏈返回的第二雜湊值,所述第二雜湊值為所述區塊鏈基於所述待回收二手貨物的轉移記錄處理得到的,以便所述區塊鏈的公證節點能夠查詢到與所述第二雜湊值相對應的所述待回收二手貨物的轉移記錄。 上述如本說明書圖4所示實施例揭示的二手貨物回收交易的記錄方法可以應用於處理器中,或者由處理器實現。處理器可能是一種積體電路晶片,具有信號的處理能力。在實現過程中,上述方法的各步驟可以透過處理器中的硬體的集成邏輯電路或者軟體形式的指令完成。上述的處理器可以是通用處理器,包括中央處理器(Central Processing Unit,CPU)、網路處理器(Network Processor,NP)等;還可以是數位訊號處理器(Digital Signal Processor,DSP)、專用積體電路(Application Specific Integrated Circuit,ASIC)、現場可程式化閘陣列(Field-Programmable Gate Array,FPGA)或者其他可程式化邏輯裝置、分立門或者電晶體邏輯裝置、分立硬體元件。可以實現或者執行本說明書一個或多個實施例中的公開的各方法、步驟及邏輯方塊圖。通用處理器可以是微處理器或者該處理器也可以是任何常規的處理器等。結合本說明書一個或多個實施例所公開的方法的步驟可以直接體現為硬體解碼處理器執行完成,或者用解碼處理器中的硬體及軟體模組組合執行完成。軟體模組可以位於隨機記憶體,快閃記憶體、唯讀記憶體,可程式化唯讀記憶體或者電可讀寫可程式化記憶體、暫存器等本領域成熟的儲存介質中。該儲存介質位於記憶體,處理器讀取記憶體中的資訊,結合其硬體完成上述方法的步驟。 該電子設備還可執行圖4的二手貨物回收交易的記錄方法,本說明書在此不再贅述。 當然,除了軟體實現方式之外,本說明書的電子設備並不排除其他實現方式,比如邏輯裝置抑或軟硬體結合的方式等等,也就是說以下處理流程的執行主體並不限定於各個邏輯單元,也可以是硬體或邏輯裝置。 圖13是本說明書的一個實施例提供的電子設備的結構示意圖。請參考圖13,在硬體層面,該電子設備包括處理器,可選地還包括內部匯流排、網路介面、記憶體。其中,記憶體可能包含記憶體,例如高速隨機存取記憶體(Random-Access Memory,RAM),也可能還包括非揮發性記憶體(non-volatile memory),例如至少1個磁碟記憶體等。當然,該電子設備還可能包括其他業務所需要的硬體。 處理器、網路介面和記憶體可以透過內部匯流排相互連接,該內部匯流排可以是ISA(Industry Standard Architecture,工業標準架構)匯流排、PCI(Peripheral Component Interconnect,外設部件互連標準)匯流排或EISA(Extended Industry Standard Architecture,延伸工業標準架構)匯流排等。所述匯流排可以分為位址匯流排、資料匯流排、控制匯流排等。為便於表示,圖13中僅用一個雙向箭頭表示,但並不表示僅有一根匯流排或一種類型的匯流排。 記憶體,用於存放程式。具體地,程式可以包括程式碼,所述程式碼包括電腦操作指令。記憶體可以包括記憶體和非揮發性記憶體,並向處理器提供指令和資料。 處理器從非揮發性記憶體中讀取對應的電腦程式到記憶體中然後運行,在邏輯層面上形成二手貨物回收交易的查詢裝置。處理器,執行記憶體所存放的程式,並具體用於執行以下操作: 透過區塊鏈的預設介面獲取二手貨物回收方和/或二手貨物提供方針對待回收二手貨物的回收交易記錄的查詢請求; 基於所述查詢請求,從所述區塊鏈中下載並讀取與所述查詢請求攜帶的雜湊值相對應的回收交易記錄。 上述如本說明書圖5所示實施例揭示的二手貨物回收交易的查詢方法可以應用於處理器中,或者由處理器實現。處理器可能是一種積體電路晶片,具有信號的處理能力。在實現過程中,上述方法的各步驟可以透過處理器中的硬體的集成邏輯電路或者軟體形式的指令完成。上述的處理器可以是通用處理器,包括中央處理器(Central Processing Unit,CPU)、網路處理器(Network Processor,NP)等;還可以是數位訊號處理器(Digital Signal Processor,DSP)、專用積體電路(Application Specific Integrated Circuit,ASIC)、現場可程式化閘陣列(Field-Programmable Gate Array,FPGA)或者其他可程式化邏輯裝置、分立門或者電晶體邏輯裝置、分立硬體元件。可以實現或者執行本說明書一個或多個實施例中的公開的各方法、步驟及邏輯方塊圖。通用處理器可以是微處理器或者該處理器也可以是任何常規的處理器等。結合本說明書一個或多個實施例所公開的方法的步驟可以直接體現為硬體解碼處理器執行完成,或者用解碼處理器中的硬體及軟體模組組合執行完成。軟體模組可以位於隨機記憶體,快閃記憶體、唯讀記憶體,可程式化唯讀記憶體或者電可讀寫可程式化記憶體、暫存器等本領域成熟的儲存介質中。該儲存介質位於記憶體,處理器讀取記憶體中的資訊,結合其硬體完成上述方法的步驟。 該電子設備還可執行圖5的二手貨物回收交易的查詢方法,本說明書在此不再贅述。 當然,除了軟體實現方式之外,本說明書的電子設備並不排除其他實現方式,比如邏輯裝置抑或軟硬體結合的方式等等,也就是說以下處理流程的執行主體並不限定於各個邏輯單元,也可以是硬體或邏輯裝置。 總之,以上所述僅為本說明書的較佳實施例而已,並非用於限定本說明書的保護範圍。凡在本說明書一個或多個實施例的精神和原則之內,所作的任何修改、等同替換、改進等,均應包含在本說明書一個或多個實施例的保護範圍之內。 上述實施例闡明的系統、裝置、模組或單元,具體可以由電腦晶片或實體實現,或者由具有某種功能的產品來實現。一種典型的實現設備為電腦。具體的,電腦例如可以為個人電腦、筆記型電腦、蜂巢式電話、相機電話、智慧型電話、個人數位助理、媒體播放機、導航設備、電子郵件設備、遊戲控制台、平板電腦、可穿戴設備或者這些設備中的任何設備的組合。 電腦可讀介質包括永久性和非永久性、可移動和非可移動媒體可以由任何方法或技術來實現資訊儲存。資訊可以是電腦可讀指令、資料結構、程式的模組或其他資料。電腦的儲存介質的例子包括,但不限於相變記憶體(PRAM)、靜態隨機存取記憶體(SRAM)、動態隨機存取記憶體(DRAM)、其他類型的隨機存取記憶體(RAM)、唯讀記憶體(ROM)、電可擦除可程式化唯讀記憶體(EEPROM)、快閃記憶體或其他記憶體技術、唯讀光碟唯讀記憶體(CD-ROM)、數位多功能光碟(DVD)或其他光學儲存、磁盒式磁帶,磁帶磁磁片儲存或其他磁性存放裝置或任何其他非傳輸介質,可用於儲存可以被計算設備存取的資訊。按照本文中的界定,電腦可讀介質不包括暫存電腦可讀媒體(transitory media),如調變的資料信號和載波。 還需要說明的是,術語“包括”、“包含”或者其任何其他變體意在涵蓋非排他性的包含,從而使得包括一系列要素的過程、方法、商品或者設備不僅包括那些要素,而且還包括沒有明確列出的其他要素,或者是還包括為這種過程、方法、商品或者設備所固有的要素。在沒有更多限制的情況下,由語句“包括一個……”限定的要素,並不排除在包括所述要素的過程、方法、商品或者設備中還存在另外的相同要素。 本說明書中的各個實施例均採用遞進的方式描述,各個實施例之間相同相似的部分互相參見即可,每個實施例重點說明的都是與其他實施例的不同之處。尤其,對於系統實施例而言,由於其基本相似於方法實施例,所以描述的比較簡單,相關之處參見方法實施例的部分說明即可。In order to make the objectives, technical solutions, and advantages of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below in conjunction with specific embodiments of the present invention and corresponding drawings. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by a person with ordinary knowledge in the field without excessive experimentation shall fall within the protection scope of the present invention. The technical solutions provided by the embodiments of the present invention will be described in detail below in conjunction with the drawings. In order to solve the problems of high threshold for use based on the credit model and low transaction efficiency based on the no-credit model in the existing online goods recovery methods, embodiments of this specification provide a method for recording resource transfer events. The execution subject of the method provided in the embodiment of the present specification may, but is not limited to, a transaction server or the like that can be configured to execute at least one of the method and apparatus provided in the embodiment of the present invention. For ease of description, the implementation of the method is described below by taking the execution subject of the method as an example of a transaction server capable of executing the method. It can be understood that the execution subject of the method is the transaction server is only an exemplary description, and should not be understood as a limitation of the method. Specifically, the implementation flow diagram of a method for recording resource transfer events provided by one or more embodiments of the present specification is shown in FIG. 1, and includes: Step 110: Based on the payment event of the resource receiver for the target resource, upload the payment record of the target resource to the blockchain through the preset interface of the blockchain. It should be understood that, in order to facilitate the transaction between the resource receiver and the resource transferer, the valuation of the target resource is variable, that is, the valuation of the target resource can be determined by negotiation between the resource receiver and the resource transferer, and for convenience Obtain evidence when transaction disputes occur later, and the payment record of the target resource can carry the valuation confirmation information of the resource receiver and the resource transferer on the target resource. Among them, the valuation confirmation information may include confirmation information on the final transaction price of the target resource by the resource receiver and the resource transferer, and the specific negotiation process. Optionally, in order to improve the security of the payment record of the target resource, based on the payment event of the resource receiver to the target resource, upload the payment record of the target resource to the blockchain through the preset interface of the blockchain, which can specifically include the following The steps described: Obtain the payment record of the target resource based on the payment event of the resource receiver for the target resource; Encrypt the payment record of the target resource to obtain the encrypted payment record of the target resource; Upload the encrypted payment record of the target resource to the blockchain through the default interface of the blockchain. Among them, the payment record of the target resource is encrypted. Specifically, the payment record of the target resource can be encrypted through a hash algorithm such as MD5. Step 120: Obtain and record the first hash value returned by the blockchain. The first hash value is obtained from the payment record processing of the blockchain based on the underlying resource, so that the notary node of the blockchain can query the first hash value. The payment record of the corresponding underlying resource. It should be understood that, in order to facilitate the query of the payment record of the target resource recorded in the blockchain, the transaction server can record the correspondence between the first hash value and the payment record of the target resource, for example, it can be in the order status of the target resource. A payment record field is set in the data table to store the first hash value, or the first hash value can also be stored in other ways, as long as the corresponding relationship between the first hash value and the payment record of the underlying resource can be reflected. can. Wherein, the first hash value may be obtained by processing the payment record of the blockchain based on the target resource through a hash algorithm. Step 130: Based on the transfer event of the target resource provided by the resource transferer, upload the transfer record of the target resource to the blockchain through the preset interface of the blockchain. Optionally, in order to improve the security of the transfer record of the target resource, based on the transfer event of the target resource provided by the resource transferor, upload the transfer record of the target resource to the blockchain through the preset interface of the blockchain. It includes the following steps: Obtain the transfer record of the target resource based on the transfer event of the target resource provided by the resource transferor; Encrypt the transfer record of the target resource to obtain the encrypted transfer record of the target resource; Upload the encrypted transfer record of the target resource to the blockchain through the preset interface of the blockchain. Among them, the transfer record of the target resource is encrypted. Specifically, the transfer record of the target resource can be encrypted through a hash algorithm such as MD5. It should be understood that, in order to facilitate the acquisition of information of both parties to the transaction when a transaction dispute occurs later, the resource payment record and resource transfer record in one or more embodiments of this specification carry at least one of the following content: identification of the target resource, and resource reception The identity of the party and the identity of the resource transferring party. Wherein, the identifier of the resource receiver and the identifier of the resource transferer may specifically be real-name authentication identifiers of the resource receiver and the resource transferer. For example, the identifier of the resource receiver may be an identifier corresponding to the ID number of the resource receiver, and the identifier of the resource transferer may be an identifier corresponding to the ID number of the resource transferer. Optionally, since the resource receiver and the resource transferer are transacting with the target resource, the payment record of the resource receiver and the transfer record of the resource transferor are uploaded to the blockchain, therefore, the entire transaction process The information involved can be downloaded and queried from the blockchain through the notary node of the blockchain. Therefore, the transaction server can use the resource receiver to pay first, and the resource transferor to ship after receiving the payment ( That is, the transaction mode of transferring the target resource) can also be the transaction mode in which the resource transferer delivers goods and the resource receiver pays after receiving the goods. Therefore, in one or more embodiments of this specification, the order of occurrence of the payment event of the target resource and the transfer event of the target resource may not be specifically limited, that is, the payment event of the target resource may be before the transfer event of the target resource; or, the target resource The transfer event can also precede the payment event of the underlying resource. Step 140: Obtain and record the second hash value returned by the blockchain. The second hash value is obtained from the transfer record processing of the blockchain based on the target resource, so that the notary node of the blockchain can query the second hash value. The transfer record of the corresponding target resource. It should be understood that, in order to facilitate the query of the transfer record of the target resource recorded in the blockchain, the transaction server may record the correspondence between the second hash value and the transfer record of the target resource, for example, it may be in the order status of the target resource. A transfer record field is set in the data table to store the second hash value, or the second hash value can also be stored in other ways, as long as the corresponding relationship between the second hash value and the transfer record of the target resource can be reflected. can. Wherein, the second hash value may be obtained through hash algorithm processing based on the transfer record of the blockchain based on the target resource. The following takes the transaction server shown in Figure 2 for the transaction of second-hand goods as an example to introduce the method for recording resource transfer events provided in this manual in detail, as shown in Figure 2, including the following main steps: Step 21: The second-hand goods reclaimer negotiates the price of the second-hand goods to be recycled with the second-hand goods provider policy to determine the price of the second-hand goods to be recycled; Step 22: The second-hand goods recovery party pays the second-hand goods provider to the second-hand goods provider based on the determined price of the second-hand goods to be recovered; Step 23: The second-hand goods transaction server uploads the payment record of the second-hand goods reclaimer to the blockchain through the preset interface of the block chain. The payment record may include the identity of the second-hand goods reclaimer and the second-hand goods provider. , Payment direction, payment amount, and information on the price confirmation of the second-hand goods to be recycled by the second-hand goods reclaimer and the second-hand goods provider; Among them, the identification of the second-hand goods reclaimer and the identification of the second-hand goods provider can be specifically obtained when the second-hand goods reclaimer and the second-hand goods provider register an account on the second-hand goods transaction server. In order to facilitate the collection of evidence in the event of a later transaction dispute, the identity of the second-hand goods reclaimer may be the real-name identity information of the second-hand goods reclaimer, for example, it may be an identity corresponding to a unique identifier such as an ID number. Similarly, the The identifier of the second-hand goods provider may be the real-name identity information of the second-hand goods reclaimer, for example, it may also be an identity identifier corresponding to a unique identifier such as an ID number. Step 24, the blockchain returns the first hash value to the transaction server of the second-hand goods. The first hash value is obtained by the blockchain based on the payment record of the second-hand goods to be recovered, so that the notary node in the blockchain The payment record corresponding to the first hash value can be obtained based on the first hash value; Step 25: After receiving the payment information of the second-hand goods supply policy for the second-hand goods to be recycled, the second-hand goods reclaimer will send and ship the second-hand goods to the address provided by the second-hand goods reclaimer. The logistics information of the second-hand goods to be recycled, such as the logistics order number, logistics company and other information, is provided to the transaction server of the second-hand goods; Step 26, the second-hand goods transaction server uploads the logistics information record of the second-hand goods to be recycled to the blockchain through the preset interface of the blockchain. The logistics information record may include the identification of the second-hand goods reclaimer and the second-hand goods provider. Information such as the party’s identification, shipping direction, shipping address, and receiving address; Step 27: The blockchain returns a second hash value to the transaction server of the second-hand goods. The second hash value is obtained by the blockchain based on the logistic information record of the second-hand goods to be recovered for notarization in the blockchain. The node can obtain the logistics information record corresponding to the second hash value based on the second hash value. In the process of resource transfer, based on the payment event of the target resource by the resource receiver, the payment record of the target resource can be uploaded to the blockchain through the preset interface of the blockchain, and the blockchain can be obtained and recorded based on the target resource. The first hash value returned by the payment record of the resource, so that the notary node of the blockchain can query the payment record of the target resource corresponding to the first hash value; it can also be based on the transfer event of the target resource provided by the resource transferor , Upload the transfer record of the target resource to the blockchain through the default interface of the blockchain, and be able to obtain and record the second hash value returned by the blockchain based on the transfer record of the target resource for the notarization of the blockchain The node can query the transfer record of the target resource corresponding to the second hash value, thereby reducing the difficulty of obtaining evidence for transaction disputes. At the same time, since the resource receiver and the resource transferer can directly conduct transactions, there is no need for third-party credit custody, which also reduces the transaction threshold for both parties. Figure 3 is a schematic diagram of the implementation process of the query method for resource transfer events provided in this specification. Please refer to Figure 3. The query method for resource transfer events is applied to notary nodes in the blockchain, including: Step 310: Obtain a query request for the resource transfer record of the target resource from the resource receiver and/or the resource transferer through the preset interface of the blockchain. It should be understood that, in order to facilitate obtaining corresponding information from the blockchain based on the query request, the query request may carry a hash value, and the hash value may be obtained by the blockchain based on the resource transfer record hash processing. If the resource transfer record of the target resource uploaded to the blockchain is an encrypted resource transfer record, in order to be able to verify the resource transfer record of the target resource uploaded to the blockchain, the query request can also carry The original data of the resource transfer record of the target resource, that is, the data before the encryption of the resource transfer record of the target resource. Step 320: Based on the query request, download and read the resource transfer record corresponding to the hash value carried in the query request from the blockchain. Optionally, the resource transfer record corresponding to the hash value carried in the query request includes at least one of the following resource transfer records: Payment records of the target resource; The transfer record of the target resource. If the resource transfer record of the target resource uploaded to the blockchain is an encrypted resource transfer record, in order to be able to verify the resource transfer record of the target resource uploaded to the blockchain, the notary node in the blockchain It is possible to hash the original data of the resource transfer record of the target resource carried in the query request to obtain the hashed string, and transfer the string to the resource stored in the blockchain with the target resource The corresponding string of the record is compared; if the two are consistent, the original data of the resource transfer record of the target resource carried in the query request is verified, and if the two are inconsistent, it indicates the resource transfer of the target resource carried in the query request The recorded original data has been tampered with later, that is, it cannot be verified. Because the query request of the resource receiver and/or the resource transferer for the resource transfer record of the target resource can be obtained through the preset interface of the blockchain, and based on the query request, download and read the query request from the blockchain The resource transfer record corresponding to the hash value carried, thereby reducing the difficulty of obtaining evidence for transaction disputes. Figure 4 is a schematic diagram of the implementation process of the recording method of second-hand goods transactions provided in this manual. Please refer to Figure 4, this second-hand goods transaction recording method is applied to the second-hand goods transaction server, including: Step 410: Based on the payment event of the second-hand goods reclaimer for the second-hand goods to be recycled, upload the payment record of the second-hand goods to be recycled into the blockchain through the preset interface of the blockchain. Optionally, based on the payment event of the second-hand goods to be recycled by the second-hand goods reclaimer, upload the payment records of the second-hand goods to be recycled to the blockchain through the preset interface of the blockchain, including: Obtain the payment record of the second-hand goods to be recycled based on the payment event of the second-hand goods reclaimer; Encrypt the payment records of the second-hand goods to be recycled to obtain the encrypted payment records of the second-hand goods to be recycled; Upload the encrypted payment records of the second-hand goods to be recovered to the blockchain through the preset interface of the blockchain. Optionally, the valuation of the second-hand goods to be recycled is variable, and the payment record of the second-hand goods to be recycled carries the valuation confirmation information of the second-hand goods reclaimer and the second-hand goods provider. Step 420: Obtain and record the first hash value returned by the block chain. The first hash value is obtained by the block chain based on the payment records of the second-hand goods to be recovered, so that the notary node of the block chain can query the first hash value. The payment record of the second-hand goods to be recycled corresponding to the value. Step 430, based on the delivery event of the second-hand goods to be recycled provided by the second-hand goods provider, upload the delivery records of the second-hand goods to be recycled to the blockchain through the preset interface of the blockchain. Optionally, based on the delivery event of the second-hand goods to be recycled provided by the second-hand goods provider, upload the delivery records of the second-hand goods to be recycled to the blockchain through the preset interface of the blockchain, including: Obtain the delivery record of the second-hand goods to be recycled based on the delivery event of the second-hand goods to be recycled provided by the second-hand goods provider; Encrypt the delivery records of the second-hand goods to be recycled to obtain the encrypted delivery records of the second-hand goods to be recycled; Upload the encrypted delivery record of the second-hand goods to be recovered to the blockchain through the preset interface of the blockchain. Step 440: Obtain and record the second hash value returned by the block chain. The second hash value is obtained by the block chain based on the transfer record of the second-hand goods to be recovered, so that the notary node of the block chain can query the second hash value. The transfer record of the second-hand goods to be recycled corresponding to the value. Optionally, the payment event of the second-hand goods to be recovered is before the delivery event of the second-hand goods to be recovered; Or, the delivery event of the second-hand goods to be recycled precedes the payment event of the second-hand goods to be recycled. For the specific implementation of the relevant steps of the embodiment shown in FIG. 4, reference may be made to the specific implementation of the corresponding steps in the embodiment shown in FIG. 1 to FIG. 2, and one or more embodiments of this specification will not be repeated here. In the process of second-hand goods transactions, it is possible to upload the payment records of the second-hand goods to be recycled to the blockchain through the preset interface of the block chain based on the payment event of the second-hand goods reclaimer to be recycled, and it can be obtained and recorded The blockchain is based on the first hash value returned from the payment record of the second-hand goods to be recycled, so that the notary node of the blockchain can query the payment record of the second-hand goods to be recycled corresponding to the first hash value; it can also be based on second-hand The delivery event of the second-hand goods to be recycled provided by the goods provider is uploaded to the blockchain through the preset interface of the blockchain, and the blockchain can be obtained and recorded based on the to-be recycled The second hash value returned from the delivery record of second-hand goods, so that the notary node of the blockchain can inquire the delivery record of the second-hand goods to be recycled corresponding to the second hash value, thereby reducing transaction disputes Difficulty in obtaining evidence. At the same time, since the second-hand goods recovery party and the second-hand goods provider can directly conduct transactions, there is no need for third-party credit escrow, which also lowers the threshold for second-hand goods recovery transactions. Figure 5 is a schematic diagram of the implementation process of the query method for second-hand goods recovery transactions provided in this manual. Please refer to Figure 5. The query method for the second-hand goods recovery transaction is applied to the notary node in the blockchain, including: Step 510: Obtain the second-hand goods reclaimer and/or the second-hand goods provider's query request for the recovery transaction record of the second-hand goods to be recycled through the preset interface of the blockchain. Step 520, based on the query request, download and read the recovery transaction record corresponding to the hash value carried in the query request from the blockchain. Optionally, the recovery transaction record corresponding to the hash value carried in the query request includes at least one of the following records: Payment records of second-hand goods to be recycled; Transfer records of second-hand goods to be recovered. For the specific implementation of the relevant steps of the embodiment shown in FIG. 5, reference may be made to the specific implementation of the corresponding steps in the embodiment shown in FIG. 3, and one or more embodiments of this specification will not be repeated here. Since the second-hand goods reclaimer and/or the second-hand goods provider policy can be obtained through the preset interface of the blockchain, the query request for the recovery transaction record of the second-hand goods is to be retrieved, and based on the query request, download and read from the blockchain The recovery transaction record corresponding to the hash value carried in the query request can reduce the difficulty of obtaining evidence for transaction disputes. FIG. 6 is a schematic structural diagram of a device 600 for recording resource transfer events provided in this specification. Referring to FIG. 6, in a software implementation, the device 600 for recording resource transfer events may include a first uploading unit 601, a first acquiring unit 602, a second uploading unit 603, and a second acquiring unit 604, where: The first uploading unit 601 uploads the payment record of the target resource to the blockchain through the preset interface of the blockchain based on the payment event of the resource receiver for the target resource; The first acquiring unit 602 acquires and records a first hash value returned by the blockchain, where the first hash value is obtained by the blockchain based on the payment record processing of the target resource, so that the block The notary node of the chain can query the payment record of the target resource corresponding to the first hash value; The second uploading unit 603, based on the transfer event of the target resource provided by the resource transferer, uploads the transfer record of the target resource to the blockchain through the preset interface of the blockchain; The second acquiring unit 604 acquires and records a second hash value returned by the blockchain, where the second hash value is obtained by the blockchain based on the transfer record processing of the target resource, so that the block The notary node of the chain can query the transfer record of the target resource corresponding to the second hash value. Optionally, in an implementation manner, the first uploading unit 601 is configured to: Acquiring the payment record of the target resource based on the payment event of the resource receiver for the target resource; Encrypting the payment record of the target resource to obtain the payment record of the target resource after the encryption processing; Upload the encrypted payment record of the target resource to the blockchain through the preset interface of the blockchain. Optionally, in an implementation manner, the second uploading unit 603 is configured to: Acquiring the transfer record of the target resource based on the transfer event of the target resource provided by the resource transferor; Encrypting the transfer record of the target resource to obtain the transfer record of the target resource after the encryption processing; Upload the encrypted transfer record of the target resource to the blockchain through the preset interface of the blockchain. Optionally, in an embodiment, the valuation of the target resource is variable, and the payment record of the target resource carries the valuation confirmation of the target resource by the resource receiver and the resource transferer News. Optionally, in an implementation manner, the payment event of the target resource precedes the transfer event of the target resource; Alternatively, the transfer event of the target resource precedes the payment event of the target resource. The device 600 for recording resource transfer events can implement the method of the method embodiment shown in FIGS. 1 to 2. For details, please refer to the method of recording resource transfer events in the embodiment shown in FIG. 1 to FIG. 2, which will not be repeated. FIG. 7 is a schematic structural diagram of a device 700 for querying resource transfer events provided in this specification. Referring to FIG. 7, in a software implementation manner, the device 700 for querying resource transfer events may include an acquiring unit 701 and a downloading unit 702, where: The obtaining unit 701 obtains the query request of the resource transfer record of the target resource from the resource receiver and/or the resource transferer through the preset interface of the blockchain; The downloading unit 702 downloads and reads the resource transfer record corresponding to the hash value carried in the query request from the blockchain based on the query request. Optionally, in an implementation manner, the resource transfer record corresponding to the hash value carried in the query request includes at least one of the following resource transfer records: The payment record of the target resource; The transfer record of the target resource. The device 700 for querying resource transfer events can implement the method of the method embodiment shown in FIG. 3, and for details, refer to the method for querying resource transfer events in the embodiment shown in FIG. 3, which will not be repeated. FIG. 8 is a schematic structural diagram of a recording device 800 for second-hand goods recovery transactions provided in this specification. Referring to Fig. 8, in a software implementation, the recording device 800 for second-hand goods recovery transactions may include a first uploading unit 801, a first obtaining unit 802, a second uploading unit 803, and a second obtaining unit 804, in which: The first uploading unit 801 uploads the payment record of the second-hand goods to be recycled to the blockchain through the preset interface of the blockchain based on the payment event of the second-hand goods reclaimer to be recycled; The first acquiring unit 802 acquires and records a first hash value returned by the blockchain, where the first hash value is obtained by the blockchain based on the payment record of the second-hand goods to be recovered, so that the The notary node of the blockchain can query the payment record of the second-hand goods to be recovered corresponding to the first hash value; The second uploading unit 803, based on the delivery event of the second-hand goods to be recycled provided by the second-hand goods provider, uploads the delivery record of the second-hand goods to be recycled to the block through the preset interface of the block chain In the chain The second acquiring unit 804 acquires and records a second hash value returned by the blockchain, where the second hash value is obtained by the blockchain based on the transfer record of the second-hand goods to be recovered, so that the The notary node of the blockchain can query the transfer record of the second-hand goods to be recovered corresponding to the second hash value. Optionally, in an implementation manner, the first uploading unit 801 is configured to: Obtain the payment record of the second-hand goods to be recycled based on the payment event of the second-hand goods reclaimer; Encrypting the payment record of the second-hand goods to be recycled to obtain the payment record of the second-hand goods to be recycled after the encryption processing; Upload the encrypted payment record of the second-hand goods to be recovered to the blockchain through the preset interface of the blockchain. Optionally, in an implementation manner, the second uploading unit 803 is configured to: Obtain the delivery record of the second-hand goods to be recycled based on the transfer event of the second-hand goods to be recycled provided by the second-hand goods provider; Encryption processing on the delivery record of the second-hand goods to be recovered to obtain the encrypted delivery record of the second-hand goods to be recovered; Uploading the encrypted shipment record of the second-hand goods to be recovered to the blockchain through the preset interface of the blockchain. Optionally, in an embodiment, the price of the second-hand goods to be recovered is variable, and the payment record of the second-hand goods to be recovered carries the second-hand goods provider and the second-hand goods recovery party to the Price confirmation information for second-hand goods. Optionally, in an implementation manner, the payment event of the second-hand goods to be recycled precedes the delivery event of the second-hand goods to be recycled; Alternatively, the delivery event of the second-hand goods to be recovered is before the payment event of the second-hand goods to be recovered. The recording device 800 for second-hand goods recovery transactions can implement the method of the method embodiment in FIG. 4, and for details, please refer to the recording method of second-hand goods recovery transactions in the embodiment shown in FIG. 4, which will not be repeated. FIG. 9 is a schematic structural diagram of a second-hand goods recovery transaction query device 900 provided in this specification. Please refer to Fig. 9, in a software implementation, the second-hand goods recovery transaction query device 900 may include an acquiring unit 901 and a downloading unit 902, wherein: The obtaining unit 901 obtains the second-hand goods reclaimer and/or the second-hand goods provision policy through the preset interface of the blockchain to obtain the query request of the recycling transaction record of the second-hand goods to be recycled; The downloading unit 902, based on the second-hand goods reclaimer and/or the second-hand goods provision policy, downloads and reads the hash value corresponding to the query request from the blockchain Of recovery transactions. Optionally, in an implementation manner, the recovery transaction record corresponding to the hash value carried in the query request includes at least one of the following records: Payment records of the second-hand goods to be recovered; The delivery record of the second-hand goods to be recovered. The second-hand goods recovery transaction query device 900 can implement the method of the method embodiment in FIG. 5, and for details, please refer to the second-hand goods recovery transaction query method of the embodiment shown in FIG. 5, which will not be repeated. Fig. 10 is a schematic structural diagram of an electronic device provided by an embodiment of the present specification. Please refer to FIG. 10, at the hardware level, the electronic device includes a processor and optionally an internal bus, a network interface, and a memory. Among them, the memory may include memory, such as high-speed random-access memory (Random-Access Memory, RAM), and may also include non-volatile memory (non-volatile memory), such as at least one disk memory, etc. . Of course, the electronic equipment may also include hardware required by other businesses. The processor, network interface, and memory can be connected to each other through an internal bus, which can be an ISA (Industry Standard Architecture) bus or a PCI (Peripheral Component Interconnect) bus Row or EISA (Extended Industry Standard Architecture, Extended Industry Standard Architecture) bus, etc. The bus can be divided into address bus, data bus, control bus, etc. For ease of presentation, only one double-headed arrow is used to indicate in FIG. 10, but it does not mean that there is only one busbar or one type of busbar. Memory, used to store programs. Specifically, the program may include program code, and the program code includes computer operation instructions. The memory may include memory and non-volatile memory, and provide instructions and data to the processor. The processor reads the corresponding computer program from the non-volatile memory to the memory and then runs it to form a recording device for resource transfer events on a logical level. The processor executes the programs stored in the memory, and is specifically used to perform the following operations: Based on the payment event of the target resource by the resource receiver, upload the payment record of the target resource to the blockchain through the preset interface of the blockchain; Acquire and record the first hash value returned by the blockchain, the first hash value is obtained by the blockchain based on the payment record processing of the target resource, so that the notary node of the blockchain can query To the payment record of the target resource corresponding to the first hash value; Based on the transfer event of the target resource provided by the resource transferor, upload the transfer record of the target resource to the blockchain through the preset interface of the blockchain; Acquire and record the second hash value returned by the blockchain, the second hash value is obtained by the blockchain based on the transfer record processing of the target resource, so that the notary node of the blockchain can query A transfer record to the target resource corresponding to the second hash value. The foregoing method for recording resource transfer events disclosed in the embodiments shown in FIGS. 1 to 2 of this specification may be applied to a processor or implemented by the processor. The processor may be an integrated circuit chip with signal processing capabilities. In the implementation process, the steps of the above method can be completed through the integrated logic circuit of the hardware in the processor or the instructions in the form of software. The aforementioned processor can be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU), a network processor (Network Processor, NP), etc.; it can also be a digital signal processor (DSP), a dedicated Application Specific Integrated Circuit (ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in one or more embodiments of this specification can be implemented or executed. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor or the like. The steps of the method disclosed in combination with one or more embodiments of this specification can be directly embodied as being executed by a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a mature storage medium in the field, such as random memory, flash memory, read-only memory, programmable read-only memory, or electrically readable, writable and programmable memory, register. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware. The electronic device can also execute the method for recording resource transfer events shown in Figs. 1 to 2, which will not be repeated in this specification. Of course, in addition to the software implementation, the electronic equipment in this specification does not exclude other implementations, such as logic devices or a combination of software and hardware, etc., which means that the execution body of the following processing flow is not limited to each logic unit , It can also be a hardware or logic device. FIG. 9 is a schematic structural diagram of a second-hand goods recovery transaction query device 900 provided in this specification. Please refer to Fig. 9, in a software implementation, the second-hand goods recovery transaction query device 900 may include an acquiring unit 901 and a downloading unit 902, wherein: The obtaining unit 901 obtains the second-hand goods reclaimer and/or the second-hand goods provision policy through the preset interface of the blockchain to obtain the query request of the recycling transaction record of the second-hand goods to be recycled; The downloading unit 902, based on the second-hand goods reclaimer and/or the second-hand goods provision policy, downloads and reads the hash value corresponding to the query request from the blockchain Of recovery transactions. Optionally, in an implementation manner, the recovery transaction record corresponding to the hash value carried in the query request includes at least one of the following records: Payment records of the second-hand goods to be recovered; The delivery record of the second-hand goods to be recovered. The second-hand goods recovery transaction query device 900 can implement the method of the method embodiment in FIG. 5, and for details, please refer to the second-hand goods recovery transaction query method of the embodiment shown in FIG. 5, which will not be repeated. FIG. 11 is a schematic structural diagram of an electronic device provided by an embodiment of this specification. Please refer to FIG. 11, at the hardware level, the electronic device includes a processor, optionally an internal bus, a network interface, and a memory. Among them, the memory may include memory, such as high-speed random-access memory (Random-Access Memory, RAM), and may also include non-volatile memory (non-volatile memory), such as at least one disk memory, etc. . Of course, the electronic equipment may also include hardware required by other businesses. The processor, network interface, and memory can be connected to each other through an internal bus, which can be an ISA (Industry Standard Architecture) bus or a PCI (Peripheral Component Interconnect) bus Row or EISA (Extended Industry Standard Architecture, Extended Industry Standard Architecture) bus, etc. The bus can be divided into address bus, data bus, control bus, etc. For ease of presentation, only one double-headed arrow is used to indicate in FIG. 11, but it does not mean that there is only one busbar or one type of busbar. Memory, used to store programs. Specifically, the program may include program code, and the program code includes computer operation instructions. The memory may include memory and non-volatile memory, and provide instructions and data to the processor. The processor reads the corresponding computer program from the non-volatile memory to the memory and then runs it to form a query device for resource transfer events on a logical level. The processor executes the programs stored in the memory, and is specifically used to perform the following operations: Obtain the query request of the resource receiver and/or resource transferer for the resource transfer record of the target resource through the preset interface of the blockchain; Based on the query request, download and read the resource transfer record corresponding to the hash value carried in the query request from the blockchain. The above-mentioned method for querying resource transfer events disclosed in the embodiment shown in FIG. 3 of this specification may be applied to or implemented by the processor. The processor may be an integrated circuit chip with signal processing capabilities. In the implementation process, the steps of the above method can be completed through the integrated logic circuit of the hardware in the processor or the instructions in the form of software. The aforementioned processor can be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU), a network processor (Network Processor, NP), etc.; it can also be a digital signal processor (DSP), a dedicated Application Specific Integrated Circuit (ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in one or more embodiments of this specification can be implemented or executed. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor or the like. The steps of the method disclosed in combination with one or more embodiments of this specification can be directly embodied as being executed by a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a mature storage medium in the field, such as random memory, flash memory, read-only memory, programmable read-only memory, or electrically readable, writable and programmable memory, register. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware. The electronic device can also execute the query method of the resource transfer event of FIG. 3, which will not be repeated in this specification. Of course, in addition to the software implementation, the electronic equipment in this specification does not exclude other implementations, such as logic devices or a combination of software and hardware, etc., which means that the execution body of the following processing flow is not limited to each logic unit , It can also be a hardware or logic device. FIG. 12 is a schematic structural diagram of an electronic device provided by an embodiment of this specification. Please refer to FIG. 12, at the hardware level, the electronic device includes a processor, optionally an internal bus, a network interface, and a memory. Among them, the memory may include memory, such as high-speed random-access memory (Random-Access Memory, RAM), and may also include non-volatile memory (non-volatile memory), such as at least one disk memory, etc. . Of course, the electronic equipment may also include hardware required by other businesses. The processor, network interface, and memory can be connected to each other through an internal bus, which can be an ISA (Industry Standard Architecture) bus or a PCI (Peripheral Component Interconnect) bus Row or EISA (Extended Industry Standard Architecture, Extended Industry Standard Architecture) bus, etc. The bus can be divided into address bus, data bus, control bus, etc. For ease of representation, only one double-headed arrow is used to indicate in FIG. 12, but it does not mean that there is only one busbar or one type of busbar. Memory, used to store programs. Specifically, the program may include program code, and the program code includes computer operation instructions. The memory may include memory and non-volatile memory, and provide instructions and data to the processor. The processor reads the corresponding computer program from the non-volatile memory to the memory and then runs it to form a recording device for second-hand goods recovery transactions on the logical level. The processor executes the programs stored in the memory, and is specifically used to perform the following operations: Based on the payment event for the second-hand goods to be recycled by the second-hand goods reclaimer, upload the payment record of the second-hand goods to be recycled to the blockchain through the preset interface of the blockchain; Obtain and record the first hash value returned by the blockchain. The first hash value is obtained by the blockchain based on the payment records of the second-hand goods to be recovered, so that the notary node of the blockchain The payment record of the second-hand goods to be recovered corresponding to the first hash value can be inquired; Based on the delivery event of the second-hand goods to be recycled provided by the second-hand goods provider, upload the delivery record of the second-hand goods to be recycled to the blockchain through the preset interface of the blockchain; Obtain and record the second hash value returned by the blockchain. The second hash value is obtained by the blockchain based on the transfer record of the second-hand goods to be recovered, so that the notary node of the blockchain The transfer record of the second-hand goods to be recovered corresponding to the second hash value can be queried. The foregoing recording method of second-hand goods recovery transactions disclosed in the embodiment shown in FIG. 4 of this specification can be applied to a processor or implemented by the processor. The processor may be an integrated circuit chip with signal processing capabilities. In the implementation process, the steps of the above method can be completed through the integrated logic circuit of the hardware in the processor or the instructions in the form of software. The aforementioned processor can be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU), a network processor (Network Processor, NP), etc.; it can also be a digital signal processor (DSP), a dedicated Application Specific Integrated Circuit (ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in one or more embodiments of this specification can be implemented or executed. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor or the like. The steps of the method disclosed in combination with one or more embodiments of this specification can be directly embodied as being executed by a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a mature storage medium in the field, such as random memory, flash memory, read-only memory, programmable read-only memory, or electrically readable, writable and programmable memory, register. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware. The electronic device can also perform the recording method of the second-hand goods recovery transaction shown in FIG. 4, which will not be repeated in this specification. Of course, in addition to the software implementation, the electronic equipment in this specification does not exclude other implementations, such as logic devices or a combination of software and hardware, etc., which means that the execution body of the following processing flow is not limited to each logic unit , It can also be a hardware or logic device. FIG. 13 is a schematic structural diagram of an electronic device provided by an embodiment of this specification. Please refer to FIG. 13, at the hardware level, the electronic device includes a processor, and optionally an internal bus, a network interface, and a memory. Among them, the memory may include memory, such as high-speed random-access memory (Random-Access Memory, RAM), and may also include non-volatile memory (non-volatile memory), such as at least one disk memory, etc. . Of course, the electronic equipment may also include hardware required by other businesses. The processor, network interface, and memory can be connected to each other through an internal bus, which can be an ISA (Industry Standard Architecture) bus or a PCI (Peripheral Component Interconnect) bus Row or EISA (Extended Industry Standard Architecture, Extended Industry Standard Architecture) bus, etc. The bus can be divided into address bus, data bus, control bus, etc. For ease of presentation, only one double-headed arrow is used in FIG. 13, but it does not mean that there is only one busbar or one type of busbar. Memory, used to store programs. Specifically, the program may include program code, and the program code includes computer operation instructions. The memory may include memory and non-volatile memory, and provide instructions and data to the processor. The processor reads the corresponding computer program from the non-volatile memory to the memory and then runs it, forming a query device for the second-hand goods recovery transaction at the logical level. The processor executes the programs stored in the memory, and is specifically used to perform the following operations: Obtain the second-hand goods reclaimer and/or the second-hand goods provision policy through the preset interface of the blockchain to query requests for the recovery transaction records of the second-hand goods; Based on the query request, download and read the recovery transaction record corresponding to the hash value carried in the query request from the blockchain. The above-mentioned method for querying second-hand goods recovery transactions disclosed in the embodiment shown in FIG. 5 of this specification can be applied to a processor or implemented by the processor. The processor may be an integrated circuit chip with signal processing capabilities. In the implementation process, the steps of the above method can be completed through the integrated logic circuit of the hardware in the processor or the instructions in the form of software. The aforementioned processor can be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU), a network processor (Network Processor, NP), etc.; it can also be a digital signal processor (DSP), a dedicated Application Specific Integrated Circuit (ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in one or more embodiments of this specification can be implemented or executed. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor or the like. The steps of the method disclosed in combination with one or more embodiments of this specification can be directly embodied as being executed by a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a mature storage medium in the field, such as random memory, flash memory, read-only memory, programmable read-only memory, or electrically readable, writable and programmable memory, register. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware. The electronic device can also execute the query method of the second-hand goods recovery transaction shown in FIG. 5, which will not be repeated in this specification. Of course, in addition to the software implementation, the electronic equipment in this specification does not exclude other implementations, such as logic devices or a combination of software and hardware, etc., which means that the execution body of the following processing flow is not limited to each logic unit , It can also be a hardware or logic device. In short, the above descriptions are only preferred embodiments of this specification, and are not used to limit the protection scope of this specification. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of one or more embodiments of this specification shall be included in the protection scope of one or more embodiments of this specification. The systems, devices, modules, or units explained in the above embodiments may be implemented by computer chips or entities, or implemented by products with certain functions. A typical implementation device is a computer. Specifically, the computer can be, for example, a personal computer, a notebook computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device Or any combination of these devices. Computer-readable media include permanent and non-permanent, removable and non-removable media, and information storage can be realized by any method or technology. Information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), and other types of random access memory (RAM) , Read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, CD-ROM, digital multi-function Optical discs (DVD) or other optical storage, magnetic cassettes, magnetic tape storage or other magnetic storage devices, or any other non-transmission media, can be used to store information that can be accessed by computing devices. According to the definition in this article, computer-readable media does not include transitory media, such as modulated data signals and carrier waves. It should also be noted that the terms "including", "including" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or equipment including a series of elements not only includes those elements, but also includes Other elements that are not explicitly listed, or also include elements inherent to such processes, methods, commodities, or equipment. If there are no more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other identical elements in the process, method, commodity, or equipment that includes the element. The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the part of the description of the method embodiment.

110-140:步驟 21-27:步驟 310-520:步驟 600:資源轉移事件的記錄裝置 601:第一上傳單元 602:第一獲取單元 603:第二上傳單元 604:第二獲取單元 700:資源轉移事件的查詢裝置 701:獲取單元 702:下載單元 800:二手貨物回收交易的記錄裝置 801:第一上傳單元 802:第一獲取單元 803:第二上傳單元 804:第二獲取單元 900:二手貨物回收交易的查詢裝置 901:獲取單元 902:下載單元110-140: steps 21-27: Step 310-520: steps 600: Recording device for resource transfer events 601: The first upload unit 602: The first acquisition unit 603: The second upload unit 604: second acquisition unit 700: Query device for resource transfer events 701: get unit 702: download unit 800: Recording device for second-hand goods recovery transactions 801: The first upload unit 802: The first acquisition unit 803: second upload unit 804: second acquisition unit 900: Query device for second-hand goods recycling transactions 901: get unit 902: download unit

此處所說明的圖式用來提供對本發明的進一步理解,構成本發明的一部分,本發明的示意性實施例及其說明用於解釋本發明,並不構成對本發明的不當限定。在圖式中: [圖1] 為本說明書一個實施例提供的一種資源轉移事件的記錄方法的實現流程示意圖; [圖2] 為本說明書一個實施例提供的資源轉移事件的記錄方法應用在實際場景中的示意圖; [圖3] 為本說明書一個實施例提供的一種資源轉移事件的查詢方法的實現流程示意圖; [圖4] 為本說明書一個實施例提供的一種二手貨物回收交易的記錄方法的實現流程示意圖; [圖5] 為本說明書一個實施例提供的一種二手貨物回收交易的查詢方法的實現流程示意圖; [圖6] 為本說明書一個實施例提供的一種資源轉移事件的記錄裝置的結構示意圖; [圖7] 為本說明書一個實施例提供的一種資源轉移事件的查詢裝置的結構示意圖; [圖8] 為本說明書一個實施例提供的一種二手貨物回收交易的記錄裝置的結構示意圖; [圖9] 為本說明書一個實施例提供的一種二手貨物回收交易的查詢裝置的結構示意圖; [圖10] 為本說明書一個實施例提供的第一種電子設備的結構示意圖; [圖11] 為本說明書一個實施例提供的第二種電子設備的結構示意圖; [圖12] 為本說明書一個實施例提供的第三種電子設備的結構示意圖; [圖13] 為本說明書一個實施例提供的第四種電子設備的結構示意圖。The drawings described here are used to provide a further understanding of the present invention and constitute a part of the present invention. The exemplary embodiments and descriptions of the present invention are used to explain the present invention, and do not constitute an improper limitation of the present invention. In the schema: [Figure 1] A schematic diagram of the implementation process of a method for recording resource transfer events provided by an embodiment of this specification; [Figure 2] A schematic diagram of the application of the method for recording resource transfer events provided by an embodiment of this specification in an actual scenario; [Figure 3] A schematic diagram of the implementation process of a method for querying resource transfer events provided by an embodiment of this specification; [Figure 4] A schematic diagram of the implementation process of a method for recording a second-hand goods recovery transaction provided by an embodiment of this specification; [Figure 5] A schematic diagram of the implementation process of a method for querying second-hand goods recovery transactions provided by an embodiment of this specification; [Figure 6] is a schematic structural diagram of a device for recording resource transfer events provided by an embodiment of this specification; [Figure 7] is a schematic structural diagram of a device for querying resource transfer events provided by an embodiment of this specification; [Figure 8] A schematic structural diagram of a recording device for second-hand goods recovery transactions provided by an embodiment of this specification; [Figure 9] A schematic structural diagram of a second-hand goods recovery transaction query device provided in an embodiment of this specification; [Figure 10] is a schematic diagram of the structure of the first electronic device provided by an embodiment of this specification; [Figure 11] is a schematic diagram of the structure of a second type of electronic device provided by an embodiment of this specification; [Figure 12] is a schematic diagram of the structure of a third electronic device provided by an embodiment of this specification; [Figure 13] is a schematic structural diagram of a fourth type of electronic device provided by an embodiment of this specification.

Claims (21)

一種資源轉移事件的記錄方法,該方法應用於交易伺服器,該方法包括: 基於資源接收方對標的資源的支付事件,透過區塊鏈的預設介面上傳該標的資源的支付記錄到該區塊鏈中; 獲取並記錄該區塊鏈返回的第一雜湊值,該第一雜湊值為該區塊鏈基於該標的資源的支付記錄處理得到的,以便該區塊鏈的公證節點能夠查詢到與該第一雜湊值相對應的該標的資源的支付記錄; 基於資源轉出方提供的該標的資源的轉移事件,透過該區塊鏈的預設介面上傳該標的資源的轉移記錄到該區塊鏈中; 獲取並記錄該區塊鏈返回的第二雜湊值,該第二雜湊值為該區塊鏈基於該標的資源的轉移記錄處理得到的,以便該區塊鏈的公證節點能夠查詢到與該第二雜湊值相對應的該標的資源的轉移記錄。A method for recording resource transfer events, which is applied to a transaction server, and includes: Based on the payment event of the target resource by the resource receiver, upload the payment record of the target resource to the blockchain through the preset interface of the blockchain; Obtain and record the first hash value returned by the blockchain. The first hash value is obtained by the blockchain based on the payment record processing of the underlying resource, so that the notary node of the blockchain can query the first hash value. The payment record of the underlying resource corresponding to the hash value; Based on the transfer event of the target resource provided by the resource transferor, upload the transfer record of the target resource to the blockchain through the preset interface of the blockchain; Obtain and record the second hash value returned by the blockchain. The second hash value is obtained by the blockchain based on the transfer record of the target resource, so that the notary node of the blockchain can query the second hash value. The transfer record of the target resource corresponding to the hash value. 如請求項1所述的方法,基於資源接收方對標的資源的支付事件,透過區塊鏈的預設介面上傳該標的資源的支付記錄到區塊鏈中,包括: 基於資源接收方對該標的資源的支付事件,獲取該標的資源的支付記錄; 對該標的資源的支付記錄進行加密處理,以獲取該加密處理後的該標的資源的支付記錄; 透過該區塊鏈的預設介面上傳該加密處理後的該標的資源的支付記錄到區塊鏈中。According to the method described in claim 1, based on the payment event of the resource receiver for the target resource, uploading the payment record of the target resource to the blockchain through the preset interface of the blockchain includes: Obtain the payment record of the target resource based on the payment event of the resource receiver for the target resource; Encrypt the payment record of the target resource to obtain the encrypted payment record of the target resource; Upload the encrypted payment record of the target resource to the blockchain through the preset interface of the blockchain. 如請求項1所述的方法,基於資源轉出方提供的該標的資源的轉移事件,透過該區塊鏈的預設介面上傳該標的資源的轉移記錄到該區塊鏈中,包括: 基於資源轉出方提供的該標的資源的轉移事件,獲取該標的資源的轉移記錄; 對該標的資源的轉移記錄進行加密處理,以獲取該加密處理後的該標的資源的轉移記錄; 透過該區塊鏈的預設介面上傳該加密處理後的該標的資源的轉移記錄到該區塊鏈中。According to the method described in claim 1, based on the transfer event of the target resource provided by the resource transferor, uploading the transfer record of the target resource to the blockchain through the preset interface of the blockchain includes: Obtain the transfer record of the target resource based on the transfer event of the target resource provided by the resource transferor; Encrypt the transfer record of the target resource to obtain the transfer record of the target resource after the encryption process; Upload the encrypted transfer record of the target resource to the blockchain through the preset interface of the blockchain. 如請求項1所述的方法, 該標的資源的估值可變,該標的資源的支付記錄中攜帶該資源接收方和該資源轉出方對該標的資源的估值確認資訊。The method described in claim 1, The valuation of the target resource is variable, and the payment record of the target resource carries the valuation confirmation information of the resource receiver and the resource transferer for the target resource. 如請求項1~4中任一項所述的方法, 該標的資源的支付事件在該標的資源的轉移事件之前; 或者,該標的資源的轉移事件在該標的資源的支付事件之前。The method described in any one of claims 1 to 4, The payment event of the target resource precedes the transfer event of the target resource; Or, the transfer event of the target resource precedes the payment event of the target resource. 一種資源轉移事件的查詢方法,該方法應用於區塊鏈中的公證節點,該方法包括: 透過區塊鏈的預設介面獲取資源接收方和/或資源轉出方針對標的資源的資源轉移記錄的查詢請求; 基於該查詢請求,從該區塊鏈中下載並讀取與該查詢請求攜帶的雜湊值相對應的資源轉移記錄。A method for querying resource transfer events, which is applied to notary nodes in a blockchain, and includes: Obtain the query request of the resource receiver and/or resource transferer for the resource transfer record of the target resource through the preset interface of the blockchain; Based on the query request, download and read the resource transfer record corresponding to the hash value carried in the query request from the blockchain. 如請求項6所述的方法, 與該查詢請求攜帶的雜湊值相對應的資源轉移記錄包括下述至少一種資源轉移記錄: 該標的資源的支付記錄; 該標的資源的轉移記錄。The method described in claim 6, The resource transfer record corresponding to the hash value carried in the query request includes at least one of the following resource transfer records: Payment records of the target resource; The transfer record of the target resource. 一種二手貨物回收交易的記錄方法,該方法應用於二手貨物交易伺服器,該方法包括: 基於二手貨物回收方對待回收二手貨物的支付事件,透過區塊鏈的預設介面上傳該待回收二手貨物的支付記錄到該區塊鏈中; 獲取並記錄該區塊鏈返回的第一雜湊值,該第一雜湊值為該區塊鏈基於該待回收二手貨物的支付記錄處理得到的,以便該區塊鏈的公證節點能夠查詢到與該第一雜湊值相對應的該待回收二手貨物的支付記錄; 基於二手貨物提供方提供的該待回收二手貨物的發貨事件,透過該區塊鏈的預設介面上傳該待回收二手貨物的發貨記錄到該區塊鏈中; 獲取並記錄該區塊鏈返回的第二雜湊值,該第二雜湊值為該區塊鏈基於該待回收二手貨物的轉移記錄處理得到的,以便該區塊鏈的公證節點能夠查詢到與該第二雜湊值相對應的該待回收二手貨物的轉移記錄。A recording method for second-hand goods recovery transactions, which method is applied to a second-hand goods transaction server, the method includes: Based on the payment event of the second-hand goods to be recycled by the reclaimer of second-hand goods, upload the payment record of the second-hand goods to be recycled to the blockchain through the preset interface of the blockchain; Obtain and record the first hash value returned by the blockchain. The first hash value is obtained by the blockchain based on the payment record of the second-hand goods to be recovered, so that the notary node of the blockchain can query the The payment record of the second-hand goods to be recycled corresponding to the first hash value; Based on the delivery event of the second-hand goods to be recycled provided by the second-hand goods provider, upload the shipment record of the second-hand goods to be recycled to the blockchain through the preset interface of the blockchain; Obtain and record the second hash value returned by the blockchain. The second hash value is obtained by the blockchain based on the transfer records of the second-hand goods to be recovered, so that the notary node of the blockchain can query the The transfer record of the second-hand goods to be recycled corresponding to the second hash value. 一種二手貨物回收交易的查詢方法,該方法應用於區塊鏈中的公證節點,該方法包括: 透過區塊鏈的預設介面獲取二手貨物回收方和/或二手貨物提供方針對待回收二手貨物的回收交易記錄的查詢請求; 基於該查詢請求,從該區塊鏈中下載並讀取與該查詢請求攜帶的雜湊值相對應的回收交易記錄。A query method for second-hand goods recovery transactions, which is applied to notary nodes in the blockchain, and includes: Obtain the second-hand goods reclaimer and/or the second-hand goods provision policy through the preset interface of the blockchain to query requests for the recovery transaction records of the second-hand goods; Based on the query request, download and read the recovery transaction record corresponding to the hash value carried in the query request from the blockchain. 一種資源轉移事件的記錄裝置,包括: 第一上傳單元,基於資源接收方對標的資源的支付事件,透過區塊鏈的預設介面上傳該標的資源的支付記錄到該區塊鏈中; 第一獲取單元,獲取並記錄該區塊鏈返回的第一雜湊值,該第一雜湊值為該區塊鏈基於該標的資源的支付記錄處理得到的,以便該區塊鏈的公證節點能夠查詢到與該第一雜湊值相對應的該標的資源的支付記錄; 第二上傳單元,基於資源轉出方提供的該標的資源的轉移事件,透過該區塊鏈的預設介面上傳該標的資源的轉移記錄到該區塊鏈中; 第二獲取單元,獲取並記錄該區塊鏈返回的第二雜湊值,該第二雜湊值為該區塊鏈基於該標的資源的轉移記錄處理得到的,以便該區塊鏈的公證節點能夠查詢到與該第二雜湊值相對應的該標的資源的轉移記錄。A recording device for resource transfer events, including: The first uploading unit uploads the payment record of the target resource to the blockchain through the preset interface of the blockchain based on the payment event of the resource receiver for the target resource; The first obtaining unit obtains and records the first hash value returned by the block chain. The first hash value is obtained by the block chain based on the payment record of the target resource, so that the notary node of the block chain can query To the payment record of the target resource corresponding to the first hash value; The second upload unit, based on the transfer event of the target resource provided by the resource transferor, uploads the transfer record of the target resource to the blockchain through the preset interface of the blockchain; The second acquiring unit acquires and records the second hash value returned by the blockchain, the second hash value is obtained by the blockchain based on the transfer record of the target resource, so that the notary node of the blockchain can query The transfer record to the target resource corresponding to the second hash value. 一種資源轉移事件的查詢裝置,包括: 獲取單元,透過區塊鏈的預設介面獲取資源接收方和/或資源轉出方針對標的資源的資源轉移記錄的查詢請求; 下載單元,基於該資源接收方和/或該資源轉出方針對標的資源的資源轉移記錄的查詢請求,從該區塊鏈中下載並讀取與該查詢請求攜帶的雜湊值相對應的資源轉移記錄。A query device for resource transfer events, including: The acquiring unit acquires the query request of the resource transfer record of the target resource from the resource receiver and/or the resource transferer through the preset interface of the blockchain; The downloading unit downloads and reads the resource transfer corresponding to the hash value carried by the query request from the blockchain based on the query request of the resource receiver and/or the resource transferer for the resource transfer record of the target resource recording. 一種二手貨物回收交易的記錄裝置,包括: 第一上傳單元,基於二手貨物回收方對待回收二手貨物的支付事件,透過區塊鏈的預設介面上傳該待回收二手貨物的支付記錄到該區塊鏈中; 第一獲取單元,獲取並記錄該區塊鏈返回的第一雜湊值,該第一雜湊值為該區塊鏈基於該待回收二手貨物的支付記錄處理得到的,以便該區塊鏈的公證節點能夠查詢到與該第一雜湊值相對應的該待回收二手貨物的支付記錄; 第二上傳單元,基於二手貨物提供方提供的該待回收二手貨物的發貨事件,透過該區塊鏈的預設介面上傳該待回收二手貨物的發貨記錄到該區塊鏈中; 第二獲取單元,獲取並記錄該區塊鏈返回的第二雜湊值,該第二雜湊值為該區塊鏈基於該待回收二手貨物的轉移記錄處理得到的,以便該區塊鏈的公證節點能夠查詢到與該第二雜湊值相對應的該待回收二手貨物的轉移記錄。A recording device for second-hand goods recovery transactions, including: The first uploading unit, based on the payment event of the second-hand goods to be recycled by the second-hand goods reclaimer, uploads the payment record of the second-hand goods to be recycled to the blockchain through the preset interface of the blockchain; The first obtaining unit obtains and records the first hash value returned by the block chain, the first hash value is obtained by the block chain based on the payment record of the second-hand goods to be recovered, so that the notary node of the block chain The payment record of the second-hand goods to be recovered corresponding to the first hash value can be queried; The second uploading unit, based on the delivery event of the second-hand goods to be recycled provided by the second-hand goods provider, uploads the delivery records of the second-hand goods to be recycled to the blockchain through the preset interface of the blockchain; The second obtaining unit obtains and records the second hash value returned by the block chain. The second hash value is obtained by the block chain based on the transfer record of the second-hand goods to be recovered, so that the notarization node of the block chain The transfer record of the second-hand goods to be recovered corresponding to the second hash value can be queried. 一種二手貨物回收交易的查詢裝置,包括: 獲取單元,透過區塊鏈的預設介面獲取二手貨物回收方和/或二手貨物提供方針對待回收二手貨物的回收交易記錄的查詢請求; 下載單元,基於二手貨物回收方和/或二手貨物提供方針對待回收二手貨物的回收交易記錄的查詢請求,從該區塊鏈中下載並讀取與該查詢請求攜帶的雜湊值相對應的回收交易記錄。A query device for second-hand goods recovery transactions, including: The acquisition unit, through the preset interface of the blockchain, obtains the query request of the second-hand goods reclaimer and/or the second-hand goods provision policy for the recovery transaction records of the second-hand goods; The download unit, based on the second-hand goods reclaimer and/or the second-hand goods supply policy, is to download and read the recycling transaction corresponding to the hash value carried by the query request from the blockchain. recording. 一種電子設備,該電子設備包括: 處理器;以及 被安排成儲存電腦可執行指令的記憶體,該可執行指令在被執行時使該處理器執行以下操作: 基於資源接收方對標的資源的支付事件,透過區塊鏈的預設介面上傳該標的資源的支付記錄到該區塊鏈中; 獲取並記錄該區塊鏈返回的第一雜湊值,該第一雜湊值為該區塊鏈基於該標的資源的支付記錄處理得到的,以便該區塊鏈的公證節點能夠查詢到與該第一雜湊值相對應的該標的資源的支付記錄; 基於資源轉出方提供的該標的資源的轉移事件,透過該區塊鏈的預設介面上傳該標的資源的轉移記錄到該區塊鏈中; 獲取並記錄該區塊鏈返回的第二雜湊值,該第二雜湊值為該區塊鏈基於該標的資源的轉移記錄處理得到的,以便該區塊鏈的公證節點能夠查詢到與該第二雜湊值相對應的該標的資源的轉移記錄。An electronic device, which includes: Processor; and The memory is arranged to store computer-executable instructions that when executed cause the processor to perform the following operations: Based on the payment event of the target resource by the resource receiver, upload the payment record of the target resource to the blockchain through the preset interface of the blockchain; Obtain and record the first hash value returned by the blockchain. The first hash value is obtained by the blockchain based on the payment record processing of the underlying resource, so that the notary node of the blockchain can query the first hash value. The payment record of the underlying resource corresponding to the hash value; Based on the transfer event of the target resource provided by the resource transferor, upload the transfer record of the target resource to the blockchain through the preset interface of the blockchain; Obtain and record the second hash value returned by the blockchain. The second hash value is obtained by the blockchain based on the transfer record of the target resource, so that the notary node of the blockchain can query the second hash value. The transfer record of the target resource corresponding to the hash value. 一種電腦可讀儲存介質,該電腦可讀儲存介質儲存一個或多個程式,該一個或多個程式當被包括多個應用程式的電子設備執行時,使得該電子設備執行以下操作: 基於資源接收方對標的資源的支付事件,透過區塊鏈的預設介面上傳該標的資源的支付記錄到該區塊鏈中; 獲取並記錄該區塊鏈返回的第一雜湊值,該第一雜湊值為該區塊鏈基於該標的資源的支付記錄處理得到的,以便該區塊鏈的公證節點能夠查詢到與該第一雜湊值相對應的該標的資源的支付記錄; 基於資源轉出方提供的該標的資源的轉移事件,透過該區塊鏈的預設介面上傳該標的資源的轉移記錄到該區塊鏈中; 獲取並記錄該區塊鏈返回的第二雜湊值,該第二雜湊值為該區塊鏈基於該標的資源的轉移記錄處理得到的,以便該區塊鏈的公證節點能夠查詢到與該第二雜湊值相對應的該標的資源的轉移記錄。A computer-readable storage medium that stores one or more programs. When the one or more programs are executed by an electronic device including multiple application programs, the electronic device performs the following operations: Based on the payment event of the target resource by the resource receiver, upload the payment record of the target resource to the blockchain through the preset interface of the blockchain; Obtain and record the first hash value returned by the blockchain. The first hash value is obtained by the blockchain based on the payment record processing of the underlying resource, so that the notary node of the blockchain can query the first hash value. The payment record of the underlying resource corresponding to the hash value; Based on the transfer event of the target resource provided by the resource transferor, upload the transfer record of the target resource to the blockchain through the preset interface of the blockchain; Obtain and record the second hash value returned by the blockchain. The second hash value is obtained by the blockchain based on the transfer record of the target resource, so that the notary node of the blockchain can query the second hash value. The transfer record of the target resource corresponding to the hash value. 一種電子設備,該電子設備包括: 處理器;以及 被安排成儲存電腦可執行指令的記憶體,該可執行指令在被執行時使該處理器執行以下操作: 透過區塊鏈的預設介面獲取資源接收方和/或資源轉出方針對標的資源的資源轉移記錄的查詢請求; 基於該資源接收方和/或該資源轉出方針對標的資源的資源轉移記錄的查詢請求,從該區塊鏈中下載並讀取與該查詢請求攜帶的雜湊值相對應的資源轉移記錄。An electronic device, which includes: Processor; and The memory is arranged to store computer-executable instructions that when executed cause the processor to perform the following operations: Obtain the query request of the resource receiver and/or resource transferer for the resource transfer record of the target resource through the preset interface of the blockchain; Based on the query request of the resource receiver and/or the resource transferer for the resource transfer record of the target resource, download and read the resource transfer record corresponding to the hash value carried in the query request from the blockchain. 一種電腦可讀儲存介質,該電腦可讀儲存介質儲存一個或多個程式,該一個或多個程式當被包括多個應用程式的電子設備執行時,使得該電子設備執行以下操作: 透過區塊鏈的預設介面獲取資源接收方和/或資源轉出方針對標的資源的資源轉移記錄的查詢請求; 基於該資源接收方和/或該資源轉出方針對標的資源的資源轉移記錄的查詢請求,從該區塊鏈中下載並讀取與該查詢請求攜帶的雜湊值相對應的資源轉移記錄。A computer-readable storage medium that stores one or more programs. When the one or more programs are executed by an electronic device including multiple application programs, the electronic device performs the following operations: Obtain the query request of the resource receiver and/or resource transferer for the resource transfer record of the target resource through the preset interface of the blockchain; Based on the query request of the resource receiver and/or the resource transferer for the resource transfer record of the target resource, download and read the resource transfer record corresponding to the hash value carried in the query request from the blockchain. 一種電子設備,該電子設備包括: 處理器;以及 被安排成儲存電腦可執行指令的記憶體,該可執行指令在被執行時使該處理器執行以下操作: 基於二手貨物回收方對待回收二手貨物的支付事件,透過區塊鏈的預設介面上傳該待回收二手貨物的支付記錄到該區塊鏈中; 獲取並記錄該區塊鏈返回的第一雜湊值,該第一雜湊值為該區塊鏈基於該待回收二手貨物的支付記錄處理得到的,以便該區塊鏈的公證節點能夠查詢到與該第一雜湊值相對應的該待回收二手貨物的支付記錄; 基於二手貨物提供方提供的該待回收二手貨物的發貨事件,透過該區塊鏈的預設介面上傳該待回收二手貨物的發貨記錄到該區塊鏈中; 獲取並記錄該區塊鏈返回的第二雜湊值,該第二雜湊值為該區塊鏈基於該待回收二手貨物的轉移記錄處理得到的,以便該區塊鏈的公證節點能夠查詢到與該第二雜湊值相對應的該待回收二手貨物的轉移記錄。An electronic device, which includes: Processor; and The memory is arranged to store computer-executable instructions that when executed cause the processor to perform the following operations: Based on the payment event of the second-hand goods to be recycled by the reclaimer of second-hand goods, upload the payment record of the second-hand goods to be recycled to the blockchain through the preset interface of the blockchain; Obtain and record the first hash value returned by the blockchain. The first hash value is obtained by the blockchain based on the payment record of the second-hand goods to be recovered, so that the notary node of the blockchain can query the The payment record of the second-hand goods to be recycled corresponding to the first hash value; Based on the delivery event of the second-hand goods to be recycled provided by the second-hand goods provider, upload the shipment record of the second-hand goods to be recycled to the blockchain through the preset interface of the blockchain; Obtain and record the second hash value returned by the blockchain. The second hash value is obtained by the blockchain based on the transfer records of the second-hand goods to be recovered, so that the notary node of the blockchain can query the The transfer record of the second-hand goods to be recycled corresponding to the second hash value. 一種電腦可讀儲存介質,該電腦可讀儲存介質儲存一個或多個程式,該一個或多個程式當被包括多個應用程式的電子設備執行時,使得該電子設備執行以下操作: 基於二手貨物回收方對待回收二手貨物的支付事件,透過區塊鏈的預設介面上傳該待回收二手貨物的支付記錄到該區塊鏈中; 獲取並記錄該區塊鏈返回的第一雜湊值,該第一雜湊值為該區塊鏈基於該待回收二手貨物的支付記錄處理得到的,以便該區塊鏈的公證節點能夠查詢到與該第一雜湊值相對應的該待回收二手貨物的支付記錄; 基於二手貨物提供方提供的該待回收二手貨物的發貨事件,透過該區塊鏈的預設介面上傳該待回收二手貨物的發貨記錄到該區塊鏈中; 獲取並記錄該區塊鏈返回的第二雜湊值,該第二雜湊值為該區塊鏈基於該待回收二手貨物的轉移記錄處理得到的,以便該區塊鏈的公證節點能夠查詢到與該第二雜湊值相對應的該待回收二手貨物的轉移記錄。A computer-readable storage medium that stores one or more programs. When the one or more programs are executed by an electronic device including multiple application programs, the electronic device performs the following operations: Based on the payment event of the second-hand goods to be recycled by the reclaimer of second-hand goods, upload the payment record of the second-hand goods to be recycled to the blockchain through the preset interface of the blockchain; Obtain and record the first hash value returned by the blockchain. The first hash value is obtained by the blockchain based on the payment record of the second-hand goods to be recovered, so that the notary node of the blockchain can query the The payment record of the second-hand goods to be recycled corresponding to the first hash value; Based on the delivery event of the second-hand goods to be recycled provided by the second-hand goods provider, upload the shipment record of the second-hand goods to be recycled to the blockchain through the preset interface of the blockchain; Obtain and record the second hash value returned by the blockchain. The second hash value is obtained by the blockchain based on the transfer records of the second-hand goods to be recovered, so that the notary node of the blockchain can query the The transfer record of the second-hand goods to be recycled corresponding to the second hash value. 一種電子設備,該電子設備包括: 處理器;以及 被安排成儲存電腦可執行指令的記憶體,該可執行指令在被執行時使該處理器執行以下操作: 透過區塊鏈的預設介面獲取二手貨物回收方和/或二手貨物提供方針對待回收二手貨物的回收交易記錄的查詢請求; 基於二手貨物回收方和/或二手貨物提供方針對待回收二手貨物的回收交易記錄的查詢請求,從該區塊鏈中下載並讀取與該查詢請求攜帶的雜湊值相對應的回收交易記錄。An electronic device, which includes: Processor; and The memory is arranged to store computer-executable instructions that when executed cause the processor to perform the following operations: Obtain the second-hand goods reclaimer and/or the second-hand goods provision policy through the preset interface of the blockchain to query requests for the recovery transaction records of the second-hand goods; Based on the second-hand goods reclaimer and/or the second-hand goods provider policy, download and read the recovery transaction record corresponding to the hash value carried in the query request from the blockchain. 一種電腦可讀儲存介質,該電腦可讀儲存介質儲存一個或多個程式,該一個或多個程式當被包括多個應用程式的電子設備執行時,使得該電子設備執行以下操作: 透過區塊鏈的預設介面獲取二手貨物回收方和/或二手貨物提供方針對待回收二手貨物的回收交易記錄的查詢請求; 基於二手貨物回收方和/或二手貨物提供方針對待回收二手貨物的回收交易記錄的查詢請求,從該區塊鏈中下載並讀取與該查詢請求攜帶的雜湊值相對應的回收交易記錄。A computer-readable storage medium that stores one or more programs. When the one or more programs are executed by an electronic device including multiple application programs, the electronic device performs the following operations: Obtain the second-hand goods reclaimer and/or the second-hand goods provision policy through the preset interface of the blockchain to query requests for the recovery transaction records of the second-hand goods; Based on the second-hand goods reclaimer and/or the second-hand goods provider policy, download and read the recovery transaction record corresponding to the hash value carried in the query request from the blockchain.
TW108131639A 2018-11-28 2019-09-03 Resource transfer event recording method and apparatus, and electronic device TW202025024A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811431168.2A CN109582673A (en) 2018-11-28 2018-11-28 A kind of recording method, device and the electronic equipment of resource transfers event
CN201811431168.2 2018-11-28

Publications (1)

Publication Number Publication Date
TW202025024A true TW202025024A (en) 2020-07-01

Family

ID=65925073

Family Applications (1)

Application Number Title Priority Date Filing Date
TW108131639A TW202025024A (en) 2018-11-28 2019-09-03 Resource transfer event recording method and apparatus, and electronic device

Country Status (3)

Country Link
CN (1) CN109582673A (en)
TW (1) TW202025024A (en)
WO (1) WO2020108126A1 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109582673A (en) * 2018-11-28 2019-04-05 阿里巴巴集团控股有限公司 A kind of recording method, device and the electronic equipment of resource transfers event
CN110175831B (en) * 2019-04-23 2023-09-29 创新先进技术有限公司 Credit transfer method and device based on blockchain and electronic equipment
CN110163594A (en) * 2019-04-29 2019-08-23 阿里巴巴集团控股有限公司 Fee payment method and device and electronic equipment based on block chain
CN110599170B (en) * 2019-09-16 2021-06-25 腾讯科技(深圳)有限公司 Transaction information processing method and system based on block chain and storage medium
CN110930151A (en) * 2019-11-29 2020-03-27 中国工商银行股份有限公司 Transaction processing method and device based on block chain, computing equipment and medium
CN110751448B (en) * 2019-12-20 2020-06-05 北京京邦达贸易有限公司 Block chain based sign-off return method, device, equipment and readable storage medium
CN112783971B (en) * 2020-12-30 2023-03-24 杭州趣链科技有限公司 Transaction recording method, transaction query method, electronic device and storage medium

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105956923B (en) * 2016-04-20 2022-04-29 上海如鸽投资有限公司 Asset transaction system and digital authentication and transaction method of assets
WO2018119587A1 (en) * 2016-12-26 2018-07-05 深圳前海达闼云端智能科技有限公司 Data processing method, device, and system, and information acquisition apparatus
WO2018189597A1 (en) * 2017-04-12 2018-10-18 Akuon Peter Mobile bank account management systems
CN107273556A (en) * 2017-08-23 2017-10-20 上海点融信息科技有限责任公司 Block chain data index method and equipment
CN108183959B (en) * 2017-12-29 2021-09-07 深圳市轱辘车联数据技术有限公司 Vehicle sharing method based on block chain, server and readable storage medium
CN108615195B (en) * 2018-04-28 2021-12-07 腾讯科技(深圳)有限公司 Resource transfer information transmission method and device, storage medium and electronic device
CN108876610A (en) * 2018-05-31 2018-11-23 深圳市零度智控科技有限公司 Intelligent contract implementation method, user equipment, storage medium and device
CN109582673A (en) * 2018-11-28 2019-04-05 阿里巴巴集团控股有限公司 A kind of recording method, device and the electronic equipment of resource transfers event

Also Published As

Publication number Publication date
WO2020108126A1 (en) 2020-06-04
CN109582673A (en) 2019-04-05

Similar Documents

Publication Publication Date Title
TW202025024A (en) Resource transfer event recording method and apparatus, and electronic device
WO2020233140A1 (en) Infringement evidence storage method and apparatus based on blockchain, and electronic device
WO2020211462A1 (en) Blockchain-based service data chaining method and system
TWI715217B (en) Screen recording and evidence collection method, system and electronic equipment based on blockchain
WO2020215827A1 (en) Block chain-based advertisement playback monitoring method and apparatus, and electronic device
US11138345B2 (en) Method, apparatus, and electronic device for blockchain-based infringement evidence storage
WO2020001105A1 (en) Blockchain-based data verification method and apparatus, and electronic device
CN108711051B (en) Intellectual property trading sharing platform and method based on block chain
TW202024944A (en) Data sharing method, apparatus, and system, and electronic device
JP6300305B2 (en) Protection of user information
CN109391480A (en) A kind of date storage method, device and electronic equipment
US20180137507A1 (en) Performing verification on the blockchain for non-blockchain transactions
WO2020108110A1 (en) Blockchain-based logistics information tracing method and apparatus, and electronic device
WO2020108105A1 (en) Method and apparatus for recording and querying bill installment event, and electronic device
WO2020228365A1 (en) Reconciliation method and device employing consortium chain, and electronic apparatus
TW202022591A (en) Screen recording evidence obtaining method and system based on block chain and electronic device
US11265146B2 (en) Electronic apparatus managing data based on block chain and method for managing data
TWI727170B (en) Method, device, client, server and computer readable medium for verifying the legality of multimedia files
WO2020108050A1 (en) Data evidence preservation method and system based on multiple blockchain networks
WO2020108052A1 (en) Data reading method based on a plurality of block chain networks and system
WO2022042255A1 (en) Item information management method and network, and item circulation method, platform and system
US9378338B1 (en) System, method, and computer program for validating receipt of digital content by a client device
WO2023056249A1 (en) Custodial systems for non-fungible tokens
TWI721548B (en) Business execution method and device
WO2020108055A1 (en) Multiple blockchain network-based data reading method and system