Warehouse receipt transaction method and device based on blockchain
By storing and processing warehouse receipt data on the blockchain, the complex warehouse receipt access process and repeated financing risks are solved, efficient warehouse receipt management and risk control are achieved, and financial risks are reduced.
Patent Information
- Application Number
- CN202110592649.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-05-28
- Publication Date
- 2024-12-17
- Estimated Expiration
- 2041-05-28
AI Technical Summary
In the traditional online transaction method based on financial institutions, markets and financing parties, the warehouse receipt access process is complicated, and it is difficult for financial institutions to supervise whether warehouse receipts are repeatedly raised in multiple markets. There is a risk of repeated financing and relies on human resources background checks. It is susceptible to subjective factors, leading to financial risks.
By obtaining the basic elements of financial institutions and uploading them to all market nodes on the blockchain, receiving the full amount of data from the financing party and storing it to the operating market node that meets the basic elements of the market, calculating the amount of financing, and completing the transaction processing at the target market node. Synchronize financing tags to ensure data encryption and verification.
It improves the efficiency of warehouse receipt access, reduces the cost of risk assessment, avoids the influence of subjective factors of manual assessment, and reduces financial risks.
Smart Images

Figure CN113191903B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of blockchain technology, and in particular to a warehouse receipt transaction method and device based on blockchain. Background Art
[0002] With the increasing maturity of blockchain technology, many commercial financial institutions have applied blockchain technology to financing business and provided a financing business access model based on blockchain technology. In the traditional transaction chain business (an online transaction method based on financial institutions, markets, and financing parties, with warehouse receipts as collateral), the warehouse receipt (goods information placed in the warehouse) access process is relatively complicated. After the financial institutions, markets, and financing parties reach an agreement, the three parties need to maintain it. When applying for financing, each field needs to be checked for mandatory input, validity, and anti-tampering. The warehouse receipt information used for financing is sent to financial institutions by third-party financing parties through the market. Financial institutions cannot effectively supervise whether a warehouse receipt is repeatedly financed in multiple markets, and there is a risk that a collateral is repeatedly financed in multiple markets. At this time, the warehouse receipt access management of the transaction chain business is the first threshold for financial institutions to control financing risks, and it controls the financing risks of financial business from the source.
[0003] At present, warehouse receipt access is generally conducted by the financing party manager for background investigation, and combined with warehouse receipt data sent by the market, historical warehouse receipt information, etc. for investigation and evaluation. The entire background investigation process relies on manpower, and it is difficult to investigate the situation where a warehouse receipt is financed in multiple markets. It is also greatly affected by the subjective factors of the financing party manager, which is easy to lead to financial risks. Summary of the invention
[0004] In view of the problems in the prior art, the present invention provides a warehouse receipt transaction method and device based on blockchain, which specifically includes the following technical solutions:
[0005] In a first aspect, the present invention provides a warehouse receipt transaction method based on blockchain, comprising:
[0006] Obtaining basic elements pre-stored in financial institutions and uploading the basic elements to all market nodes on the blockchain; wherein the basic elements include: warehouse receipt basic elements, financing party basic elements and market basic elements;
[0007] Receive the full data of the warehouse receipt uploaded by the financing party. If the full data contains the warehouse receipt data corresponding to the basic elements of the warehouse receipt and the financing party data corresponding to the basic elements of the financing party, store the full data in the account book of the operating market node on the blockchain; the operating market node is the node that meets the requirements of the basic elements of the market among all the market nodes;
[0008] Sending the basic data of each market node in the operating market node to the financing party, and sending each of the basic data and the full data to the financial institution and receiving the financing amount calculated by the financial institution; wherein the financing amount is the financing amount corresponding to the warehouse receipt calculated by the financial institution based on each of the basic data and the full data;
[0009] Receive the target market node selected by the financing party uploaded by the financing party, send the financing amount to the target market node, so that the transaction processing between the warehouse receipt corresponding to the full data and the financing amount can be completed at the target market node; and mark the warehouse receipt corresponding to the full data as funded and synchronize the warehouse receipt with the financing mark in other operating market nodes.
[0010] Furthermore, before obtaining the basic elements pre-stored in the financial institution, the method further includes:
[0011] Obtain the registration information of the financing party and the market node respectively, and verify the registration information respectively;
[0012] Generate a symmetric key based on the registration information of the financing party and send the symmetric key to the financing party, so that the financing party encrypts the sent and received data with the symmetric key;
[0013] The verified market node is added to the blockchain.
[0014] Furthermore, after synchronizing the warehouse receipts that have been marked with financing at other operational market nodes, the method further includes:
[0015] Receive the repayment data corresponding to the warehouse receipts with financing mark uploaded by the financing party;
[0016] After determining that the financing party has repaid the financing based on the repayment data, the warehouse receipts that have been marked as financed are marked as redeemed and synchronized between the operating market nodes.
[0017] The basic elements of the warehouse receipt include at least one of the following: voucher number, cargo code, cargo name, cargo unit, cargo specification, cargo quantity and cargo expiration date;
[0018] The basic elements of the financing party at least include the financing party code and the financing party name;
[0019] The basic market elements include at least one of market code, market name, market expiration date and market rating.
[0020] In a second aspect, the present invention provides a warehouse receipt transaction device based on blockchain, comprising:
[0021] The basic elements module is used to obtain the basic elements pre-stored in the financial institution and upload the basic elements to all market nodes on the blockchain; wherein the basic elements include: warehouse receipt basic elements, financing party basic elements and market basic elements;
[0022] An access module is used to receive the full data of the warehouse receipt uploaded by the financing party. If the full data contains the warehouse receipt data corresponding to the basic elements of the warehouse receipt and the financing party data corresponding to the basic elements of the financing party, the full data is stored in the account book of the operating market node on the blockchain; wherein the operating market node is a node among all market nodes that meets the requirements of the market basic elements;
[0023] A transceiver module, used to send the basic data of each market node in the operating market node to the financing party, and send each of the basic data and the full data to the financial institution and receive the financing amount calculated by the financial institution; wherein the financing amount is the financing amount corresponding to the warehouse receipt calculated by the financial institution based on each of the basic data and the full data;
[0024] The transaction module is used to receive the target market node selected by the financing party uploaded by the financing party, send the financing amount to the target market node, so as to complete the transaction processing between the warehouse receipt corresponding to the full data and the financing amount at the target market node; and mark the warehouse receipt corresponding to the full data as funded and synchronize the warehouse receipt with the financing mark in other operating market nodes.
[0025] Furthermore, it also includes:
[0026] The registration module is used to obtain the registration information of the financing party and the market node respectively, and verify the registration information respectively;
[0027] A key module, used to generate a symmetric key based on the registration information of the financing party and send the symmetric key to the financing party, so that the financing party encrypts the received and sent data with the symmetric key;
[0028] The node module is used to add the verified market node to the blockchain.
[0029] Furthermore, it also includes:
[0030] The repayment hook module is used to receive the repayment data corresponding to the warehouse receipts that have been processed with financing marks uploaded by the financing party;
[0031] The processing module is used to mark the warehouse receipts marked as financed as redeemed and synchronize the warehouse receipts marked as redeemed between the operation market nodes after determining that the financing party has repaid the financing based on the repayment data.
[0032] The basic elements of the warehouse receipt include: at least one of the following: voucher number, cargo code, cargo name, cargo unit, cargo specification, cargo quantity and cargo expiration date;
[0033] The basic elements of the financing party at least include the financing party code and the financing party name;
[0034] The basic market elements include at least one of market code, market name, market expiration date and market rating.
[0035] In a third aspect, the present invention provides an electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the blockchain-based warehouse receipt transaction method when executing the program.
[0036] In a fourth aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the blockchain-based warehouse receipt trading method.
[0037] It can be seen from the above technical solution that the present invention provides a warehouse receipt transaction method and device based on blockchain, which obtains the basic elements pre-stored in the financial institution and uploads the basic elements to all market nodes on the blockchain; wherein the basic elements include: warehouse receipt basic elements, financing party basic elements and market basic elements; receives the full data of the warehouse receipt uploaded by the financing party, and if the full data contains the warehouse receipt data corresponding to the warehouse receipt basic elements and the financing party data corresponding to the financing party basic elements, then stores the full data in the account book of the operating market node on the blockchain; wherein the operating market node is a node among all market nodes that meets the requirements of the market basic elements; The basic data of each market node in the operating market node is sent to the financing party, and each of the basic data and the full data are sent to the financial institution and the financing amount calculated by the financial institution is received; wherein the financing amount is the financing amount corresponding to the warehouse receipt calculated by the financial institution based on each basic data and the full data; the target market node selected by the financing party uploaded by the financing party is received, and the financing amount is sent to the target market node, so that the transaction processing between the warehouse receipt corresponding to the full data and the financing amount is completed at the target market node; and the warehouse receipt corresponding to the full data is marked as financed and the warehouse receipt marked as financed is synchronized in other operating market nodes. It can improve the efficiency of warehouse receipt access, reduce the cost of risk assessment, avoid the influence of subjective factors in manual assessment, and reduce financial risks. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0039] Figure 1 This is a first flow chart of a warehouse receipt transaction method based on blockchain in an embodiment of the present invention.
[0040] Figure 2 This is a second flow chart of the blockchain-based warehouse receipt transaction method in an embodiment of the present invention.
[0041] Figure 3 This is a third flow chart of the blockchain-based warehouse receipt transaction method in an embodiment of the present invention.
[0042] Figure 4 It is a schematic diagram of the process of the full process embodiment of the present invention.
[0043] Figure 5 This is a first structural schematic diagram of a blockchain-based warehouse receipt trading device in an embodiment of the present invention.
[0044] Figure 6 This is a second structural diagram of a blockchain-based warehouse receipt trading device in an embodiment of the present invention.
[0045] Figure 7 This is a third structural schematic diagram of the blockchain-based warehouse receipt trading device in an embodiment of the present invention.
[0046] Figure 8 Schematic diagram of the structure of an electronic device in an embodiment of the present invention. DETAILED DESCRIPTION
[0047] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0048] The present invention provides an embodiment of a warehouse receipt transaction method based on blockchain, see Figure 1 The blockchain-based warehouse receipt transaction method specifically includes the following contents:
[0049] S101: Obtain basic elements pre-stored in a financial institution and upload the basic elements to all market nodes on the blockchain; wherein the basic elements include: warehouse receipt basic elements, financing party basic elements and market basic elements;
[0050] In this step, the data rules that need to be verified during the calculation process are obtained in advance from the financial institution's system and loaded into each node on the blockchain. Taking advantage of the shared storage and tamper-proof characteristics of the blockchain, the warehouse receipts used by the financing party for financing are stored in the respective ledgers of each node on the blockchain.
[0051] In this example, the basic elements of the warehouse receipt include: at least one of the following: voucher number, commodity code, commodity name, commodity unit, commodity specification, commodity quantity and commodity expiration date;
[0052] The basic elements of the financing party shall at least include the financing party code and the financing party name;
[0053] The basic elements of the market include at least one of: market code, market name, market expiration date and market rating.
[0054] In specific implementation, the basic elements of warehouse receipts are shown in Table 1:
[0055] Table 1 Basic elements of warehouse receipt
[0056] Index value meaning Is it necessary Data Source <![CDATA[R 1 ]]> Voucher Number yes Financing party sends <![CDATA[R 2 ]]> Cargo Code yes Financing party sends <![CDATA[R 3 ]]> Product Name yes Financing party sends <![CDATA[R 4 ]]> Cargo Unit yes Financing party sends <![CDATA[R 5 ]]> Cargo Specifications yes Financing party sends <![CDATA[R 6 ]]> Quantity of goods yes Financing party sends <![CDATA[R 7 ]]> Goods expiry date yes Financing party sends
[0057] The basic elements of the financing party are shown in Table 2:
[0058] Table 2 Basic elements of financing party
[0059] Index value meaning Is it necessary Data Source <![CDATA[K 1 ]]> Financing Party Code yes Financing party sends <![CDATA[K 2 ]]> Name of Financing Party yes Financing party sends
[0060] The basic elements of the market are shown in Table 3:
[0061] Table 3 Market Basics
[0062] Index value meaning Is it necessary Data Source <![CDATA[M 1 ]]> Market Code yes Market and financial institution agreements <![CDATA[M 2 ]]> Market Name yes Market and financial institution agreements <![CDATA[M 3 ]]> Market Expiration Date yes Market and financial institution agreements <![CDATA[M 4 ]]> Market Rating yes Financial institution assessment
[0063] S102: receiving the full data of the warehouse receipt uploaded by the financing party, and if the full data contains the warehouse receipt data corresponding to the basic elements of the warehouse receipt and the financing party data corresponding to the basic elements of the financing party, storing the full data in the account book of the operating market node on the blockchain; wherein the operating market node is a node among all market nodes that meets the requirements of the market basic elements;
[0064] In this step, the full data of the warehouse receipt uploaded by the financing party is verified according to the basic elements of the warehouse receipt and the basic elements of the financing party.
[0065] During the specific verification: judge the cargo code information, R2 (cargo code) needs to be in the list of approved commodities, if so, continue, otherwise, do not allow entry; judge the cargo unit information, R4 (cargo unit) needs to be in the list of approved units, if so, continue, otherwise, do not allow entry; judge the cargo specifications, R5 (cargo specifications) must be in the list of approved specifications, if so, continue, otherwise, do not allow entry; judge the cargo expiration date, R7 (cargo expiration date) needs to be later than the current time, if so, continue, otherwise, do not allow entry; judge the financing party information, K1 (financing party code) needs to have been registered with a financial institution, if so, continue, otherwise, do not allow entry.
[0066] After the above-mentioned verifications are passed, the full amount of data will be stored in the ledger of the operational market node on the blockchain; the operational market node is the node among all market nodes that meets the requirements of the basic market elements.
[0067] It should be noted that an operational market node is a node that includes all elements of market code, market name, market expiration date and market rating. When determining an operational market node, if the market node has a market code, market name, is before the market expiration date and has a market rating, then the market node is an operational market node.
[0068] S103: Sending the basic data of each market node in the operating market node to the financing party, and sending each of the basic data and the full data to the financial institution and receiving the financing amount calculated by the financial institution; wherein the financing amount is the financing amount corresponding to the warehouse receipt calculated by the financial institution based on each of the basic data and the full data;
[0069] In this step, the financial institution calculates the financing amount L of the financing party based on the full data (data corresponding to the warehouse receipt currently applying for financing) and the price information of the current warehouse receipt in each market node in the basic data. The formula is as follows:
[0070] The weighted average price P of a certain trading product in n market nodes on the dth day d :
[0071]
[0072] Among them, p i is the price of the ith market node, f i is the weight of the ith market node, and n is the number of operating market nodes.
[0073] The weighted average price of the previous d days is weighted again to obtain the price of a certain trading product:
[0074]
[0075] Among them, f d is the weight of the price on day d.
[0076] The calculated price becomes the internal valuation of the commodity, where the market weight is maintained by financial institutions based on market rating and activity;
[0077] L=P·R 5 ·R 6 ;
[0078] Among them, L is the amount of financing available, R 5 is the cargo specification, R 6 The quantity of goods.
[0079] S104: Receive the target market node selected by the financing party uploaded by the financing party, and send the financing amount to the target market node, so that the transaction processing between the warehouse receipt corresponding to the full data and the financing amount is completed at the target market node; and mark the warehouse receipt corresponding to the full data as funded and synchronize the warehouse receipt marked as funded in other operating market nodes.
[0080] In this step, after the warehouse receipt access is completed, the financing party can choose one of the market nodes to apply for financing from the financial institution, and each market node records the financing situation. The information corresponding to the market node has been verified when it was uploaded to the blockchain, and no re-access is required. Each account book on the blockchain records the warehouse receipt information of this financing and marks it as financed.
[0081] From the above description, it can be seen that the warehouse receipt transaction method based on blockchain provided by the embodiment of the present invention obtains the basic elements pre-stored in the financial institution and uploads the basic elements to all market nodes on the blockchain; wherein the basic elements include: warehouse receipt basic elements, financing party basic elements and market basic elements; receives the full data of the warehouse receipt uploaded by the financing party, and if the full data includes the warehouse receipt data corresponding to the warehouse receipt basic elements and the financing party data corresponding to the financing party basic elements, then stores the full data in the account book of the operating market node on the blockchain; wherein the operating market node is a node among all market nodes that meets the requirements of the market basic elements; The basic data of each market node in the operation market node is sent to the financing party, and each of the basic data and the full data are sent to the financial institution and the financing amount calculated by the financial institution is received; wherein the financing amount is the financing amount corresponding to the warehouse receipt calculated by the financial institution based on each basic data and the full data; the target market node selected by the financing party uploaded by the financing party is received, and the financing amount is sent to the target market node, so that the transaction processing between the warehouse receipt corresponding to the full data and the financing amount is completed at the target market node; and the warehouse receipt corresponding to the full data is marked as financed and the warehouse receipt marked as financed is synchronized in other operation market nodes. It can improve the efficiency of warehouse receipt access, reduce the cost of risk assessment, avoid the influence of subjective factors in manual assessment, and reduce financial risks.
[0082] In one embodiment of the present invention, see Figure 2 , before step S101 of the warehouse receipt transaction method based on blockchain, specifically includes the following contents:
[0083] S10: Obtain the registration information of the financing party and the market node respectively, and verify the registration information respectively;
[0084] S11: Generate a symmetric key based on the registration information of the financing party and send the symmetric key to the financing party, so that the financing party encrypts the received and sent data with the symmetric key;
[0085] S12: Add the verified market node to the blockchain.
[0086] In this embodiment, before conducting a warehouse receipt transaction based on blockchain, both parties to the transaction need to be verified. When verifying, the financing party needs to verify based on the registration information of the financing party, and after the verification is passed, the symmetric key generated based on the registration information will be sent to the financing party. The symmetric key can encrypt the data sent and received on the financing party, thereby improving the security of the financing party's communication.
[0087] When verifying, the market node will verify based on the registration information of the market node, and edit the verified market node into the blockchain.
[0088] In one embodiment of the present invention, see Figure 3 After step S104 of the warehouse receipt transaction method based on blockchain, the following contents are specifically included:
[0089] S105: Receive the repayment data corresponding to the warehouse receipt with financing mark uploaded by the financing party;
[0090] S106 After determining that the financing party has repaid the financing based on the repayment data, the warehouse receipts that have been marked as financed are marked as redeemed and the warehouse receipts marked as redeemed are synchronized between the operation market nodes.
[0091] In this embodiment, when the financing party repays the financing contract, each account book on the chain records the warehouse receipt information linked to this repayment and marks the warehouse receipt as redeemed. The corresponding warehouse receipt can be refinanced.
[0092] To further illustrate this solution, the present invention provides a full-process implementation of a warehouse receipt transaction method based on blockchain, see Figure 4 , specifically including the following contents:
[0093] Obtain basic elements from the financial institution's system in advance, including warehouse receipt basic elements, financing party basic elements and market basic elements, and upload the full amount of data including warehouse receipt basic elements submitted by the financing party to the blockchain for the following processing:
[0094] Step S1: Determine the commodity code information. If R2 (commodity code) is in the list of commodities that have been allowed to enter, continue. Otherwise, do not allow entry.
[0095] Step S2: Determine the cargo unit information. R4 (cargo unit) needs to be in the list of allowed units. If yes, continue. Otherwise, do not allow entry.
[0096] Step S3: Determine the specifications of the goods. R5 (goods specifications) must be in the list of specifications that have been approved. If yes, continue. Otherwise, do not approve.
[0097] Step S4: Determine the expiration date of the goods. R7 (the expiration date of the goods) needs to be later than the current time. If yes, continue. Otherwise, do not allow entry.
[0098] Step S5: Determine the financing party information. K1 (financing party code) needs to have been registered in a financial institution. If yes, continue. Otherwise, do not allow access.
[0099] After the warehouse receipt information is accessed, the financing party can choose one of the markets for financing. The market information has been verified when it was uploaded to the blockchain, and no re-access is required. Each ledger on the chain records the warehouse receipt information of this financing and marks it as having been financed.
[0100] Step S6: The financial institution calculates the financing amount L that the financing party can obtain based on the warehouse receipt information currently applying for financing and the price information of the current warehouse receipt in various markets.
[0101] Furthermore, when the financing party repays the financing contract, each ledger on the chain records the warehouse receipt information linked to this repayment and marks it as redeemed. The corresponding warehouse receipt can be refinanced;
[0102] From the above description, we can know that through the shared storage and tamper-proof characteristics of blockchain, the warehouse receipts used by the financing party for financing are stored in various ledgers of the blockchain. When the financing party applies for financing from a financial institution through a certain market node, each market node records the financing situation. Each time the financing party redeems the receipt (repays the loan), the information will be recorded in the ledgers of each market, marking the release of the corresponding warehouse receipt. It can improve the efficiency of warehouse receipt access and reduce the cost of risk assessment; it avoids the influence of subjective factors in manual assessment and reduces financial risks.
[0103] The embodiment of the present invention provides a specific implementation of a blockchain-based warehouse receipt transaction device that can implement all the contents of the blockchain-based warehouse receipt transaction method, see Figure 5 The blockchain-based warehouse receipt transaction device specifically includes the following contents:
[0104] The basic element module 10 is used to obtain the basic elements pre-stored in the financial institution and upload the basic elements to all market nodes on the blockchain; wherein the basic elements include: warehouse receipt basic elements, financing party basic elements and market basic elements;
[0105] The access module 20 is used to receive the full data of the warehouse receipt uploaded by the financing party. If the full data contains the warehouse receipt data corresponding to the basic elements of the warehouse receipt and the financing party data corresponding to the basic elements of the financing party, the full data is stored in the account book of the operating market node on the blockchain; wherein the operating market node is a node that meets the requirements of the market basic elements among all market nodes;
[0106] The transceiver module 30 is used to send the basic data of each market node in the operating market node to the financing party, and send each of the basic data and the full data to the financial institution and receive the financing amount calculated by the financial institution; wherein the financing amount is the financing amount corresponding to the warehouse receipt calculated by the financial institution based on each of the basic data and the full data;
[0107] The transaction module 40 is used to receive the target market node selected by the financing party uploaded by the financing party, and send the financing amount to the target market node so as to complete the transaction processing between the warehouse receipt corresponding to the full data and the financing amount at the target market node; and mark the warehouse receipt corresponding to the full data as having been financed and synchronize the warehouse receipt with the financing mark in other operating market nodes.
[0108] The basic elements of a warehouse receipt include at least one of the following: voucher number, cargo code, cargo name, cargo unit, cargo specification, cargo quantity and cargo expiry date;
[0109] The basic elements of the financing party at least include the financing party code and the financing party name;
[0110] The basic market elements include at least one of market code, market name, market expiration date and market rating.
[0111] In one embodiment of the present invention, see Figure 6 The blockchain-based warehouse receipt transaction device specifically includes the following contents:
[0112] The registration module 101 is used to obtain the registration information of the financing party and the market node respectively, and verify the registration information respectively;
[0113] The key module 102 is used to generate a symmetric key based on the registration information of the financing party and send the symmetric key to the financing party, so that the financing party encrypts the received and sent data with the symmetric key;
[0114] The node module 103 is used to add the verified market node to the blockchain.
[0115] In one embodiment of the present invention, see Figure 7 The blockchain-based warehouse receipt transaction device specifically includes the following contents:
[0116] The repayment hooking module 50 is used to receive the repayment data corresponding to the warehouse receipt with financing mark uploaded by the financing party;
[0117] The processing module 60 is used to mark the warehouse receipts marked as financed as redeemed and synchronize the warehouse receipts marked as redeemed between the operation market nodes after determining that the financing party has repaid the financing based on the repayment data.
[0118] The embodiment of the blockchain-based warehouse receipt transaction device provided by the present invention can be specifically used to execute the processing flow of the embodiment of the blockchain-based warehouse receipt transaction method in the above-mentioned embodiment. Its functions will not be repeated here, and reference can be made to the detailed description of the above-mentioned method embodiment.
[0119] From the above description, it can be seen that the blockchain-based warehouse receipt transaction device provided by the embodiment of the present invention obtains the basic elements pre-stored in the financial institution and uploads the basic elements to all market nodes on the blockchain; wherein the basic elements include: warehouse receipt basic elements, financing party basic elements and market basic elements; receives the full data of the warehouse receipt uploaded by the financing party, and if the full data contains the warehouse receipt data corresponding to the warehouse receipt basic elements and the financing party data corresponding to the financing party basic elements, then stores the full data in the account book of the operating market node on the blockchain; wherein the operating market node is a node among all market nodes that meets the requirements of the market basic elements; The basic data of each market node in the operation market node is sent to the financing party, and each of the basic data and the full data are sent to the financial institution and the financing amount calculated by the financial institution is received; wherein the financing amount is the financing amount corresponding to the warehouse receipt calculated by the financial institution based on each basic data and the full data; the target market node selected by the financing party uploaded by the financing party is received, and the financing amount is sent to the target market node, so that the transaction processing between the warehouse receipt corresponding to the full data and the financing amount is completed at the target market node; and the warehouse receipt corresponding to the full data is marked as financed and the warehouse receipt marked as financed is synchronized in other operation market nodes. It can improve the efficiency of warehouse receipt access, reduce the cost of risk assessment, avoid the influence of subjective factors in manual assessment, and reduce financial risks.
[0120] The present application provides an embodiment of an electronic device for implementing all or part of the contents of the warehouse receipt transaction method based on blockchain. The electronic device specifically includes the following contents:
[0121] Processor, memory, communication interface and bus; wherein the processor, memory and communication interface communicate with each other through the bus; the communication interface is used to realize information transmission between related devices; the electronic device can be a desktop computer, a tablet computer and a mobile terminal, etc., but the present embodiment is not limited thereto. In this embodiment, the electronic device can be implemented with reference to the embodiment for realizing the warehouse receipt transaction method based on blockchain and the embodiment for realizing the warehouse receipt transaction device based on blockchain, and the contents thereof are incorporated herein, and the repeated parts are not repeated.
[0122] Figure 8 FIG. 9 is a schematic block diagram of the system structure of the electronic device 9600 according to an embodiment of the present application. Figure 8As shown, the electronic device 9600 may include a central processor 9100 and a memory 9140; the memory 9140 is coupled to the central processor 9100. It is worth noting that Figure 8 is exemplary; other types of structures may also be used to supplement or replace this structure to implement telecommunication functions or other functions.
[0123] In one embodiment, the warehouse receipt transaction function based on blockchain can be integrated into the central processor 9100. The central processor 9100 can be configured to perform the following control:
[0124] Obtain the basic elements pre-stored in the financial institution and upload the basic elements to all market nodes on the blockchain; wherein the basic elements include: warehouse receipt basic elements, financing party basic elements and market basic elements; receive the full data of the warehouse receipt uploaded by the financing party, if the full data includes the warehouse receipt data corresponding to the warehouse receipt basic elements and the financing party data corresponding to the financing party basic elements, then store the full data in the account book of the operating market node on the blockchain; wherein the operating market node is the node among all market nodes that meets the requirements of the market basic elements; store the basic elements of each market node in the operating market node The data is sent to the financing party, and each of the basic data and the full data is sent to the financial institution and the financing amount calculated by the financial institution is received; wherein the financing amount is the financing amount corresponding to the warehouse receipt calculated by the financial institution based on the basic data and the full data; the target market node selected by the financing party uploaded by the financing party is received, and the financing amount is sent to the target market node, so that the transaction processing between the warehouse receipt corresponding to the full data and the financing amount is completed at the target market node; and the warehouse receipt corresponding to the full data is marked as financed and the warehouse receipt marked with financing is synchronized in other operating market nodes.
[0125] From the above description, it can be seen that the electronic device provided in the embodiment of the present application obtains the basic elements pre-stored in the financial institution and uploads the basic elements to all market nodes on the blockchain; wherein the basic elements include: warehouse receipt basic elements, financing party basic elements and market basic elements; receives the full data of the warehouse receipt uploaded by the financing party, and if the full data contains the warehouse receipt data corresponding to the warehouse receipt basic elements and the financing party data corresponding to the financing party basic elements, then stores the full data in the account book of the operating market node on the blockchain; wherein the operating market node is a node among all market nodes that meets the requirements of the market basic elements; The basic data of each market node in the node is sent to the financing party, and each of the basic data and the full data are sent to the financial institution and the financing amount calculated by the financial institution is received; wherein the financing amount is the financing amount corresponding to the warehouse receipt calculated by the financial institution based on each basic data and the full data; the target market node selected by the financing party uploaded by the financing party is received, and the financing amount is sent to the target market node, so that the transaction processing between the warehouse receipt corresponding to the full data and the financing amount is completed at the target market node; and the warehouse receipt corresponding to the full data is marked as financed and the warehouse receipt with the financing mark is synchronized in other operating market nodes. It can improve the efficiency of warehouse receipt access, reduce the cost of risk assessment, avoid the influence of subjective factors in manual assessment, and reduce financial risks.
[0126] In another embodiment, the blockchain-based warehouse receipt transaction device can be configured separately from the central processor 9100. For example, the blockchain-based warehouse receipt transaction can be configured as a chip connected to the central processor 9100, and the blockchain-based warehouse receipt transaction function can be realized through the control of the central processor.
[0127] like Figure 8 As shown, the electronic device 9600 may also include: a communication module 9110, an input unit 9120, an audio processor 9130, a display 9160, and a power supply 9170. It is worth noting that the electronic device 9600 does not necessarily have to include Figure 8 In addition, the electronic device 9600 may also include Figure 8 For components not shown, reference may be made to the prior art.
[0128] like Figure 8 As shown, the central processing unit 9100 is sometimes also referred to as a controller or an operation control, and may include a microprocessor or other processor device and / or logic device. The central processing unit 9100 receives input and controls the operation of various components of the electronic device 9600.
[0129] The memory 9140 may be, for example, one or more of a cache, a flash memory, a hard drive, a removable medium, a volatile memory, a non-volatile memory or other suitable devices. The above-mentioned information related to the failure may be stored, and a program for executing the relevant information may also be stored. The CPU 9100 may execute the program stored in the memory 9140 to implement information storage or processing, etc.
[0130] The input unit 9120 provides input to the central processing unit 9100. The input unit 9120 is, for example, a key or a touch input device. The power supply 9170 is used to provide power to the electronic device 9600. The display 9160 is used to display display objects such as images and texts. The display may be, for example, an LCD display, but is not limited thereto.
[0131] The memory 9140 may be a solid-state memory, such as a read-only memory (ROM), a random access memory (RAM), a SIM card, etc. It may also be a memory that saves information even when the power is off, can be selectively erased, and is provided with more data, examples of which are sometimes referred to as EPROMs, etc. The memory 9140 may also be some other type of device. The memory 9140 includes a buffer memory 9141 (sometimes referred to as a buffer). The memory 9140 may include an application / function storage unit 9142, which is used to store application programs and function programs or processes for executing the operation of the electronic device 9600 through the central processor 9100.
[0132] The memory 9140 may also include a data storage unit 9143 for storing data, such as contacts, digital data, pictures, sounds, and / or any other data used by the electronic device. The driver storage unit 9144 of the memory 9140 may include various drivers for communication functions of the electronic device and / or for executing other functions of the electronic device (such as messaging applications, address book applications, etc.).
[0133] The communication module 9110 is a transmitter / receiver 9110 that sends and receives signals via an antenna 9111. The communication module (transmitter / receiver) 9110 is coupled to the central processor 9100 to provide input signals and receive output signals, which may be the same as the case of a conventional mobile communication terminal.
[0134] Based on different communication technologies, multiple communication modules 9110 may be provided in the same electronic device, such as a cellular network module, a Bluetooth module and / or a wireless LAN module, etc. The communication module (transmitter / receiver) 9110 is also coupled to a speaker 9131 and a microphone 9132 via an audio processor 9130 to provide an audio output via the speaker 9131 and receive an audio input from the microphone 9132, thereby realizing a common telecommunication function. The audio processor 9130 may include any suitable buffer, decoder, amplifier, etc. In addition, the audio processor 9130 is also coupled to the central processor 9100, so that recording can be performed on the local machine through the microphone 9132, and the sound stored on the local machine can be played through the speaker 9131.
[0135] The embodiment of the present invention also provides a computer-readable storage medium capable of implementing all the steps in the warehouse receipt transaction method based on blockchain in the above embodiment. The computer-readable storage medium stores a computer program. When the computer program is executed by a processor, all the steps of the warehouse receipt transaction method based on blockchain in the above embodiment are implemented. For example, when the processor executes the computer program, the following steps are implemented:
[0136] Obtain the basic elements pre-stored in the financial institution and upload the basic elements to all market nodes on the blockchain; wherein the basic elements include: warehouse receipt basic elements, financing party basic elements and market basic elements; receive the full data of the warehouse receipt uploaded by the financing party, if the full data includes the warehouse receipt data corresponding to the warehouse receipt basic elements and the financing party data corresponding to the financing party basic elements, then store the full data in the account book of the operating market node on the blockchain; wherein the operating market node is the node among all market nodes that meets the requirements of the market basic elements; store the basic elements of each market node in the operating market node The data is sent to the financing party, and each of the basic data and the full data is sent to the financial institution and the financing amount calculated by the financial institution is received; wherein the financing amount is the financing amount corresponding to the warehouse receipt calculated by the financial institution based on the basic data and the full data; the target market node selected by the financing party uploaded by the financing party is received, and the financing amount is sent to the target market node, so that the transaction processing between the warehouse receipt corresponding to the full data and the financing amount is completed at the target market node; and the warehouse receipt corresponding to the full data is marked as financed and the warehouse receipt marked with financing is synchronized in other operating market nodes.
[0137] From the above description, it can be seen that the computer-readable storage medium provided in the embodiment of the present invention obtains the basic elements pre-stored in the financial institution and uploads the basic elements to all market nodes on the blockchain; wherein the basic elements include: warehouse receipt basic elements, financing party basic elements and market basic elements; receives the full data of the warehouse receipt uploaded by the financing party, and if the full data includes the warehouse receipt data corresponding to the warehouse receipt basic elements and the financing party data corresponding to the financing party basic elements, then stores the full data in the account book of the operating market node on the blockchain; wherein the operating market node is a node among all market nodes that meets the requirements of the market basic elements; and stores the operating market node in the account book of the operating market node on the blockchain. The basic data of each market node in the market node is sent to the financing party, and each of the basic data and the full data are sent to the financial institution and the financing amount calculated by the financial institution is received; wherein the financing amount is the financing amount corresponding to the warehouse receipt calculated by the financial institution based on each basic data and the full data; the target market node selected by the financing party uploaded by the financing party is received, and the financing amount is sent to the target market node, so that the transaction processing between the warehouse receipt corresponding to the full data and the financing amount is completed at the target market node; and the warehouse receipt corresponding to the full data is marked as financed and the warehouse receipt with the financing mark is synchronized in other operating market nodes. It can improve the efficiency of warehouse receipt access, reduce the cost of risk assessment, avoid the influence of subjective factors in manual assessment, and reduce financial risks.
[0138] Although the present invention provides method operation steps as described in the embodiments or flowcharts, more or fewer operation steps may be included based on conventional or non-creative labor. The order of steps listed in the embodiments is only one way of executing the order of many steps and does not represent the only execution order. When the actual device or financing product is executed, it can be executed in the order of the method shown in the embodiments or the drawings or in parallel (for example, in a parallel processor or multi-threaded processing environment).
[0139] It should be understood by those skilled in the art that the embodiments of this specification may be provided as methods, devices (systems) or computer program products. Therefore, the embodiments of this specification may take the form of complete hardware embodiments, complete software embodiments or embodiments combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
[0140] The present invention is described with reference to flowcharts and / or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as a combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0141] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0142] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0143] Each embodiment in this specification is described in a progressive manner, and the same and similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. It should be noted that the embodiments of the present invention and the features in the embodiments can be combined with each other without conflict. The present invention is not limited to any single aspect, any single embodiment, or any combination and / or replacement of these aspects and / or embodiments. Moreover, each aspect and / or embodiment of the present invention can be used alone or in combination with one or more other aspects and / or embodiments thereof.
[0144] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein by equivalents. These modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present invention, and they should all be included in the scope of the claims and specification of the present invention.
Claims
1. A warehouse receipt transaction method based on blockchain, characterized in that: include: Obtain the basic elements pre-stored in the financial institution and upload the basic elements to all market nodes on the blockchain; wherein the basic elements include: warehouse receipt basic elements, financing party basic elements and market basic elements; the warehouse receipt basic elements include: at least one of voucher number, commodity code, commodity name, commodity unit, commodity specification, commodity quantity and commodity expiration date; the financing party basic elements include at least the financing party code and financing party name; the market basic elements include: at least one of market code, market name, market expiration date and market rating; Receive the full data of the warehouse receipt uploaded by the financing party, and verify the full data according to the warehouse receipt basic elements and the financing party basic elements. If the full data contains the warehouse receipt data corresponding to the warehouse receipt basic elements and the financing party data corresponding to the financing party basic elements, then store the full data in the account book of the operating market node on the blockchain; wherein the operating market node is a node that meets the requirements of the market basic elements among all market nodes; Sending the basic data of each market node in the operating market node to the financing party, and sending each of the basic data and the full data to the financial institution and receiving the financing amount calculated by the financial institution; wherein the financing amount is the financing amount corresponding to the warehouse receipt calculated by the financial institution based on each of the basic data and the full data; Receive the target market node selected by the financing party uploaded by the financing party, send the financing amount to the target market node, so that the transaction processing between the warehouse receipt corresponding to the full data and the financing amount is completed at the target market node; and mark the warehouse receipt corresponding to the full data as having been financed and synchronize the warehouse receipt with the financing mark in other operating market nodes; The full amount of data is checked according to the warehouse receipt basic elements and the financing party basic elements. If the full amount of data contains the warehouse receipt data corresponding to the warehouse receipt basic elements and the financing party data corresponding to the financing party basic elements, the full amount of data is stored in the account book of the operating market node on the blockchain, including: The goods code information is judged. The goods code needs to be in the list of commodities that have been approved. If so, continue, otherwise, do not allow entry; the goods unit information is judged. The goods unit needs to be in the list of units that have been approved. If so, continue, otherwise, do not allow entry; the goods specifications are judged. The goods specifications must be in the list of specifications that have been approved. If so, continue, otherwise, do not allow entry; the goods expiration date is judged. The goods expiration date needs to be later than the current time. If so, continue, otherwise, do not allow entry; the financing party information is judged. The financing party code needs to have been registered with a financial institution. If so, continue, otherwise, do not allow entry; after the above checks are all approved, the full amount of data is stored in the ledger of the operating market node on the blockchain.
2. The blockchain-based warehouse receipt transaction method according to claim 1, characterized in that: Before obtaining the basic elements pre-stored in the financial institution, it also includes: Obtain the registration information of the financing party and the market node respectively, and verify the registration information respectively; Generate a symmetric key based on the registration information of the financing party and send the symmetric key to the financing party, so that the financing party encrypts the sent and received data with the symmetric key; The verified market node is added to the blockchain.
3. The warehouse receipt transaction method based on blockchain according to claim 1 is characterized in that: After synchronizing the warehouse receipts that have been marked as financed with other operational market nodes, the process also includes: Receive the repayment data corresponding to the warehouse receipts with financing mark uploaded by the financing party; After determining that the financing party has repaid the financing based on the repayment data, the warehouse receipts that have been marked as financed are marked as redeemed and synchronized between the operating market nodes.
4. A warehouse receipt transaction device based on blockchain, characterized in that: include: The basic elements module is used to obtain the basic elements pre-stored in the financial institution and upload the basic elements to all market nodes on the blockchain; wherein the basic elements include: warehouse receipt basic elements, financing party basic elements and market basic elements; the warehouse receipt basic elements include: at least one of the voucher number, goods code, goods name, goods unit, goods specification, goods quantity and goods expiration date; the financing party basic elements include at least the financing party code and the financing party name; the market basic elements include: at least one of the market code, market name, market expiration date and market rating; The access module is used to receive the full data of the warehouse receipt uploaded by the financing party, and to verify the full data according to the warehouse receipt basic elements and the financing party basic elements. If the full data contains the warehouse receipt data corresponding to the warehouse receipt basic elements and the financing party data corresponding to the financing party basic elements, the full data is stored in the account book of the operating market node on the blockchain; wherein the operating market node is a node among all market nodes that meets the requirements of the market basic elements; A transceiver module, used to send the basic data of each market node in the operating market node to the financing party, and send each of the basic data and the full data to the financial institution and receive the financing amount calculated by the financial institution; wherein the financing amount is the financing amount corresponding to the warehouse receipt calculated by the financial institution based on each of the basic data and the full data; The transaction module is used to receive the target market node selected by the financing party uploaded by the financing party, send the financing amount to the target market node, so as to complete the transaction processing between the warehouse receipt corresponding to the full data and the financing amount at the target market node; and mark the warehouse receipt corresponding to the full data as having been financed and synchronize the warehouse receipt with the financing mark in other operating market nodes; The full amount of data is checked according to the warehouse receipt basic elements and the financing party basic elements. If the full amount of data contains the warehouse receipt data corresponding to the warehouse receipt basic elements and the financing party data corresponding to the financing party basic elements, the full amount of data is stored in the account book of the operating market node on the blockchain, including: The goods code information is judged. The goods code needs to be in the list of commodities that have been approved. If so, continue, otherwise, do not allow entry; the goods unit information is judged. The goods unit needs to be in the list of units that have been approved. If so, continue, otherwise, do not allow entry; the goods specifications are judged. The goods specifications must be in the list of specifications that have been approved. If so, continue, otherwise, do not allow entry; the goods expiration date is judged. The goods expiration date needs to be later than the current time. If so, continue, otherwise, do not allow entry; the financing party information is judged. The financing party code needs to have been registered with a financial institution. If so, continue, otherwise, do not allow entry; after the above checks are all approved, the full amount of data is stored in the ledger of the operating market node on the blockchain.
5. The blockchain-based warehouse receipt transaction device according to claim 4 is characterized in that: Also includes: The registration module is used to obtain the registration information of the financing party and the market node respectively, and verify the registration information respectively; A key module, used to generate a symmetric key based on the registration information of the financing party and send the symmetric key to the financing party, so that the financing party encrypts the received and sent data with the symmetric key; The node module is used to add the verified market node to the blockchain.
6. The blockchain-based warehouse receipt transaction device according to claim 4 is characterized in that: Also includes: The repayment hook module is used to receive the repayment data corresponding to the warehouse receipts that have been processed with financing marks uploaded by the financing party; The processing module is used to mark the warehouse receipts marked as financed as redeemed and synchronize the warehouse receipts marked as redeemed between the operation market nodes after determining that the financing party has repaid the financing based on the repayment data.
7. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the steps of the blockchain-based warehouse receipt trading method described in any one of claims 1 to 3 are implemented.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the blockchain-based warehouse receipt trading method described in any one of claims 1 to 3 are implemented.
