CN112990811B - Block chain-based warehouse receipt processing method and warehouse receipt processing system - Google Patents

Block chain-based warehouse receipt processing method and warehouse receipt processing system Download PDF

Info

Publication number
CN112990811B
CN112990811B CN202110164586.5A CN202110164586A CN112990811B CN 112990811 B CN112990811 B CN 112990811B CN 202110164586 A CN202110164586 A CN 202110164586A CN 112990811 B CN112990811 B CN 112990811B
Authority
CN
China
Prior art keywords
manifest
replacement
target
party
warehouse
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN202110164586.5A
Other languages
Chinese (zh)
Other versions
CN112990811A (en
Inventor
闫二风
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alipay Hangzhou Information Technology Co Ltd
Ant Blockchain Technology Shanghai Co Ltd
Original Assignee
Alipay Hangzhou Information Technology Co Ltd
Ant Blockchain Technology Shanghai Co Ltd
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 Alipay Hangzhou Information Technology Co Ltd, Ant Blockchain Technology Shanghai Co Ltd filed Critical Alipay Hangzhou Information Technology Co Ltd
Priority to CN202110164586.5A priority Critical patent/CN112990811B/en
Publication of CN112990811A publication Critical patent/CN112990811A/en
Priority to PCT/CN2022/071811 priority patent/WO2022166557A1/en
Application granted granted Critical
Publication of CN112990811B publication Critical patent/CN112990811B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • G06Q10/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • G06Q10/087Inventory or stock management, e.g. order filling, procurement or balancing against orders
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor

Abstract

The specification provides a warehouse slip processing method and a warehouse slip processing system based on a block chain, wherein the warehouse slip processing system comprises a block chain network and an inventory side client, the block chain network is provided with a warehouse slip replacement contract for processing a transaction representing a warehouse slip replacement application event, and a processing result is stored in the block chain network. The warehousing party client submits the transaction for invoking the inventory replacement contract to the blockchain network, and the transaction initiated by the warehousing party client specifies the service input information required when the inventory replacement contract is invoked: target manifest identification, replacement manifest identification; the blockchain network executes the manifest replacement contract, matches the manifest information identified by the inventory party target manifest, and uses the rights of the replacement manifest to exchange for the rights of at least a portion of the matched target manifest.

Description

Block chain-based warehouse receipt processing method and warehouse receipt processing system
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method and a system for processing a manifest based on a block chain.
Background
Currently, some entity goods may be temporarily stored in a warehouse of a warehousing party, and a storage certificate returned by the warehousing party is obtained, and the storage certificate may be regarded as a code number of the entity goods. For convenience of the following description, such a storage certificate is referred to as a manifest, and an organization or an individual storing physical goods at a warehousing party is referred to as a depositor.
The depositor can transfer the warehouse slip to the resource depositor to exchange the resource matched with the value of the warehouse slip, and then the acquired resource is subjected to some business processing. The subsequent stocking party needs to return the acquired resources to the resource party and retrieve the warehouse bill according to the agreement with the resource party.
Disclosure of Invention
In order to solve the above technical problems, the present specification provides a method and a system for processing a manifest based on a block chain, where the technical scheme is as follows:
according to a first aspect of the present specification, there is provided a block chain-based method for processing a manifest, which is applied to a manifest processing system, the manifest processing system includes a block chain network and an inventory party client, the block chain network is deployed with a manifest replacement contract for processing a transaction representing a manifest replacement application event, and the processing result is stored in the block chain network;
the method comprises the following steps:
the warehousing party client submits the transaction for invoking the stock exchange contract to the blockchain network, and the transaction initiated by the warehousing party client specifies the service input information required when the stock exchange contract is invoked: target manifest identification, replacement manifest identification;
the block chain network executes the warehouse slip replacement contract, matches warehouse slip information identified by the stock side target warehouse slip, and uses the rights of the replacement warehouse slip to replace at least part of the rights of the matched target warehouse slip.
According to a second aspect of the present specification, there is provided a manifest processing system comprising a blockchain network, an inventory side client; the block chain network is provided with a warehouse receipt replacement contract for processing a transaction representing a warehouse receipt replacement application event, and the processing result is stored in the block chain network;
the inventory side client is used for submitting the transaction for invoking the inventory replacement contract through the blockchain network, and business input information required when the inventory replacement contract is invoked is specified in the transaction initiated by the inventory side client: target manifest identification, replacement manifest identification;
the block chain network is used for executing the warehouse bill replacement contract, matching the warehouse bill information identified by the stock target warehouse bill and exchanging the right of the replacement warehouse bill for the right of at least part of the matched target warehouse bill.
By adopting the technical scheme, the block chain network processes the transaction representing the warehouse receipt replacement application event based on the deployed intelligent contract, namely the whole process of warehouse receipt replacement is recorded in the block chain network, so that the interactive data among the stock party, the storage party and the resource party can be credible, and the trust problem among the three parties is further solved; meanwhile, since the stocking side can exchange the ownership of the target inventory with the ownership of the replacement inventory, the stocking side can be made available to exchange the physical goods in the target inventory with other physical goods.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the specification.
Drawings
In order to more clearly illustrate the embodiments of the present specification or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in the embodiments of the present specification, and other drawings can be obtained by those skilled in the art according to the drawings.
FIG. 1a is a schematic diagram illustrating an interaction flow of exchanging a policy for a resource according to an embodiment of the present disclosure;
fig. 1b is a schematic diagram illustrating an interaction flow of exchanging a target policy with a replacement policy according to an embodiment of the present disclosure;
FIG. 2 is a block diagram of a system framework for processing bills of lading according to an embodiment of the present disclosure;
FIG. 3 is a schematic diagram of another system framework for processing orders in accordance with an embodiment of the present disclosure;
fig. 4 is an interaction flow diagram of a block chain-based warehouse receipt processing method according to an embodiment of the present disclosure;
FIG. 5 is a schematic interaction flow diagram illustrating another method for processing a blockchain-based manifest in an embodiment of the present disclosure;
FIG. 6 is a schematic diagram of a further system framework for processing a manifest according to an embodiment of the present disclosure;
FIG. 7 is a schematic interaction flow diagram illustrating another method for blockchain-based warehouse receipt processing according to an embodiment of the present disclosure;
fig. 8 is a schematic structural diagram of an apparatus for configuring a device according to an embodiment of the present disclosure.
Detailed Description
In order to make those skilled in the art better understand the technical solutions in the embodiments of the present specification, the technical solutions in the embodiments of the present specification will be described in detail below with reference to the drawings in the embodiments of the present specification, and it is obvious that the described embodiments are only a part of the embodiments of the present specification, and not all the embodiments. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of protection.
The terminology used in the description herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the description. As used in this specification and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It should be understood that although the terms first, second, third, etc. may be used herein to describe various information, these information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present description. The word "if," as used herein, may be interpreted as "at … …" or "when … …" or "in response to a determination," depending on the context.
Currently, some physical goods may be temporarily stored in the warehouse of the warehousing party, and a storage certificate returned by the warehousing party is obtained, and the storage certificate may be regarded as the code number of the physical goods. For convenience of the following description, such a storage certificate is referred to as a manifest, and an organization or an individual storing physical goods at a warehousing party is referred to as a depositor. The information of the stock party identifier, the storage party identifier, the type of the stored physical goods, the quantity of the stored physical goods, the value and the like can be recorded in the warehouse bill.
The depositor may transfer the inventory to the resource side in exchange for the resource matching the value of the inventory, and it is understood that the transfer of the inventory to the resource side in exchange for the resource matching the value of the inventory may be a transfer of some right to the resource side to obtain some right to the resource matching the value of the inventory. E.g., ownership, etc. The right of the depositor to the resource is only temporarily owned and is not permanently owned, and the right of the depositor to the warehouse is also temporarily owned. If certain conditions are met, the right of the resource needs to be returned to the resource side, and the right of the warehouse bill is retrieved, for example, if the time length agreed by the two sides is reached, the right of the resource is returned to the resource side by the stock side.
In general, the stocking party needs to return the acquired right of the resource to the resource party according to the agreement with the resource party, wherein the agreement can also agree with the return time and the number of the resource needing to be returned more, namely the stocking party usually needs to return a part of the resource when returning the right of the resource. After returning the resource rights, the inventory party may retrieve the right to the manifest and use the manifest to retrieve the physical goods stored at the warehousing party from the warehousing party.
Fig. 1a is an interactive flowchart between the three parties, in which the process of exchanging the right of the warehousing party for the right of the resource by using the right of the warehouse slip in the diagram may be slightly different from that shown in the diagram, for example, after the warehousing party generates the warehouse slip, the warehousing party directly sends the right of the warehouse slip to the resource party, and the resource party provides the right of the resource to the warehousing party, that is, the right of the resource matching the value of the warehouse slip is issued to the warehousing party.
Wherein, there are multiple interactive processes in the above-mentioned course, if any one is done badly, will cause the serious influence to the whole business process, for example after the depositor gets the resource, does not admit to reach the exchange consensus with the resource side, refuse to transfer the bill right to the resource side; for another example, the resource party refuses to return the originally agreed right of the resource to the stocking party after obtaining the right of the warehouse of the stocking party, and the like, and the warehousing party does not return the right of the corresponding warehouse after storing the physical goods of the stocking party. I.e. there is a potential for any one party to do harm and no one party can fully trust each other.
In order to solve the above problem, the event that the inventory side uses the warehouse right to replace the resource right from the resource side can be stored in the block chain network, so that the problems of repudiation and repudiation of any one of the three sides can be avoided.
The above events may be recorded by recording each warehouse slip with the tenant transition on the blockchain network. In addition, each bin may be recorded, i.e., the bin whether or not the tenant switch has occurred is recorded on the blockchain, e.g., events characterizing each bin generation process may also be recorded in the blockchain network.
For more detailed management of each warehouse slip, the blockchain network may also manage each warehouse slip based on the intelligent contract, for example, when the warehousing party generates a warehouse slip, the warehousing party may also send a request to the blockchain network, the blockchain network may invoke the intelligent contract to issue a warehouse slip, the issued slip is an asset in the blockchain network, and the issued slip may include various information of the slip, for example, information of an possessor, a current state, whether the slip has been exchanged for a resource, and the like.
By adopting the mode, the trust problem among the stocking party, the warehousing party and the resource party can be solved, namely, the interactive data among the three parties are recorded on the block chain network, so that any party can be prevented from doing repudiation or repudiation.
In some cases, the inventory party may need to use the physical goods corresponding to the manifest before the time for the appointment to return the resources comes, but may not return sufficient resources to the resource party due to insufficient resources.
For example, the physical goods corresponding to the manifest have a shelf life, and the inventory party needs to take the physical goods corresponding to the manifest out of the warehousing party and process them as soon as possible, but not enough resources are returned to the resource party in exchange for the right to take the manifest.
For another example, in a case where the current value of the physical good corresponding to the manifest is greatly different from the value of the physical good when the resource is exchanged for the physical good, the stocking party usually wants to retrieve the physical good corresponding to the manifest as soon as possible.
On the other hand, in a situation where the current value of the physical goods is increased more, it is generally desirable for the depositor to replace the physical goods corresponding to the invoice as soon as possible, so as to obtain more resources by using the physical goods as soon as possible, for example, the physical goods corresponding to the invoice can be sold or replaced with the invoice with higher value after being replaced.
On the other hand, when the current value of the physical goods is much reduced and there is a continuous trend of decline, it is generally desired that the depositor replace the physical goods corresponding to the manifest and sell the physical goods as soon as possible to stop damage as soon as possible.
In the above scenarios, the warehousing party needs to obtain the entity goods corresponding to the manifest before the time for agreeing to return the resources comes, but in these scenarios, if the warehousing party does not have enough resources to return to the resource party, the right of the manifest cannot be exchanged, and further the entity goods corresponding to the manifest cannot be obtained from the warehousing party.
To address this problem, a "swap" approach is currently proposed that allows the inventory party to swap orders with the rights of other orders. For example, the stocking party stores some physical goods in the warehouse of the warehousing party, and obtains a target manifest with which the stocking party replaces the resource from the resource party for a resource that matches the value of the target manifest, and contracts the date on which the resource is returned.
Before the predetermined return date, the stocking side needs to acquire the physical goods corresponding to the target manifest for some reason, and thus needs to return the resource to the resource side. However, since the stocking party does not have enough resource elements to return, the stocking party can store some physical goods to the warehousing party to obtain a new warehouse slip, which is referred to as a replacement warehouse slip for convenience of description. The depositor can replace the target manifest by using the replacement manifest, that is, the corresponding entity goods in the target manifest are replaced by using the entity goods corresponding to the replacement manifest, so as to obtain the entity goods of the target manifest for processing.
The specific interactive process may be as shown in fig. 1b, where the category of the first physical goods stored by the inventory party may be the same as or different from that of the second physical goods, and this specification does not limit this. In the process of replacing the target inventory by using the replacement inventory, the resource side needs to check whether the value of the replacement inventory is matched with the value of the target inventory, and it can be understood that the matching means that the value of the replacement inventory is not lower than the value of the target inventory, so that the stocking side is allowed to replace the right of ownership of the target inventory by using the right of ownership of the replacement inventory.
In this scenario, there is still a trust issue between the inventory, warehousing, and resource parties described above, so the interaction flow of replacing the target manifest with the replacement manifest can be recorded in the blockchain website to avoid any party's repudiation or repudiation.
Based on the above description, the present specification proposes a block chain-based warehouse slip processing method applied to a warehouse slip processing system, as shown in fig. 2, the warehouse slip processing system at least includes a block chain network 210 and an inventory side client 220.
The block chain network is a distributed shared account book and a database, and has the characteristics of decentralization, no tampering, whole-course trace marking, traceability, collective maintenance, openness and transparency and the like, so that the data is stored in the block chain network, and the safety of the data can be effectively ensured. Specifically, the network may be a public link network or a alliance link network, which is not limited in this specification. When the blockchain network is an alliance-chain network, the warehousing party and the resource party may be nodes in the alliance-chain network or users of the nodes in the alliance-chain network, and the description does not limit the nodes.
The block chain network is deployed with a warehouse receipt replacement contract, the warehouse receipt replacement contract is used for processing a transaction representing a warehouse receipt replacement application event, and a processing result is stored in the block chain network; the intelligent contract can be understood as a computer program which is agreed by each party and can execute a certain transaction, and the intelligent contract is stored and deployed in the block chain network, so that the intelligent contract is not tampered and is completely trusted.
As shown in fig. 4, an interactive flowchart for executing a policy replacement proposed in the present specification specifically includes the following process steps:
s301, the inventory side client submits a transaction for calling the inventory replacement contract to the block chain network;
wherein the transaction specifies the business input information required when invoking the manifest replacement contract: target manifest identification, replacement manifest identification;
the transaction may be submitted to the blockchain network when the inventory party needs to apply for the right to replace the manifest in exchange for the target manifest right. Since the smart contract corresponds to a program that can be executed based on input information, the inventory party can add target manifest identifications and substitute manifest identifications in the transaction to invoke the smart contract to process based on the input information. Namely, the inventory side client side constructs the warehouse slip replacement application event as a transaction and submits the transaction to the block chain network to call the intelligent contract for processing each time the warehouse slip replacement application is required.
In addition, in this specification, when a warehousing party creates a bill, a unique identifier is assigned to each bill to identify and distinguish different bills. For example, the warehousing party may generate a number of each warehouse slip according to the generation sequence of each warehouse slip, and the number is used as the identifier of each warehouse slip to distinguish different warehouse slips. That is, the above replacement manifest identifier is information for identifying a replacement manifest, and the above target manifest identifier is information for identifying a target manifest.
Of course, in the case where the block chain network issues the manifest based on the intelligent contract, the intelligent contract may write the manifest identifier in the information of the issued manifest according to the manifest identifier provided by the warehousing party.
S303, the block chain network executes the warehouse bill replacement contract, matches the warehouse bill information identified by the stock square target warehouse bill, and uses the right of the replacement warehouse bill to replace the right of at least part of the matched target warehouse bill;
in this step, after receiving the transaction, the blockchain network executes a policy replacement contract to process, where the matching generally refers to searching for a target policy issued or stored in advance in the blockchain network, that is, searching for pre-stored policy information of the target policy according to a target policy identifier. Further using the right of the replacement manifest to exchange at least part of the right of the matched target manifest, specifically, removing the association relationship between the resource party and the target manifest, removing the association relationship between the stock party and the replacement manifest, and establishing the association relationship between the resource party and the replacement manifest; meanwhile, under the condition of replacing the right of all the matched target inventory, establishing the incidence relation between the depositor and the target inventory; and under the condition of exchanging partial rights of the matched target warehouse slip, splitting the target warehouse slip into a exchanged partial warehouse slip and an undischanged partial warehouse slip, establishing an association relationship between the depositor and the exchanged partial warehouse slip, and establishing an association relationship between the resource supplier and the undischanged partial warehouse slip.
As can be seen from the above description, when an inventory party submits a transaction that invokes the manifest replacement contract, it is generally because and the inventory party has replaced the rights of the target manifest to the resource party for the rights of the corresponding resource. In order to make the process credible, the process may be stored in the blockchain, and a specific way may be that the intelligent contract for exchanging the warehouse list is also used for processing the transaction representing the event of applying for transferring the warehouse list, and a specific way may be that the inventory side submits the transaction representing the event of applying for transferring the warehouse list to the blockchain network, and the transaction also calls the intelligent contract for exchanging the warehouse list. The transaction may include an identification of the target inventory. A blockchain network that can transfer the right of the target manifest of the depositor to a resource side; here, the association relationship between the depositor and the target manifest may be released, and the association relationship between the resource depositor and the target manifest may be established. Meanwhile, the resource side can transfer the right of the resource matched with the value of the target warehouse slip to the stocking side, and upload the resource quantity and the transfer result to the block chain network for storage, and the corresponding intelligent contract can record the corresponding resource and the exchanged state in the target warehouse slip.
In the above process, it is understood that the stocking party has negotiated with the resource party in advance, and the resource party and the agreement that the stocking party can use the right of the replacement manifest to replace the target manifest, so that the blockchain network can execute the said manifest replacement contract to implement the above process of directly using the right of the replacement manifest to replace at least part of the right of the matched target manifest.
However, in the event that the inventory party does not have pre-negotiated with the resource party, an audit is typically required by the resource party, i.e., it is required to determine whether to agree that the inventory party may use the rights to replace the manifest to replace the target manifest.
Thus, as shown in fig. 3, a resource side client 230 may also be included in the manifest processing system; as shown in fig. 5, before trading rights for at least part of the matched target manifest in executing the intelligent contract in the blockchain network, the method may further include:
s302a, after monitoring the policy replacement application event, the resource side client acquires the target policy identifier and the replacement policy identifier from the block chain network, and provides the target policy identifier and the replacement policy identifier to the resource side to check whether the target policy and the replacement policy are matched in value;
in this case, the inventory party actively contacts the resource party outside the blockchain network, so that the resource party acquires the target manifest identification and the replacement manifest identification from the blockchain network by using the resource party client.
The client of the resource side may also obtain the target policy identifier and the replacement policy identifier from the blockchain network when monitoring that the blockchain network executes the policy replacement contract.
After obtaining the target manifest identification and the replacement manifest identification, the resource side client can display the obtained target manifest identification information and the replacement manifest identification information to the resource side user, and the resource side user obtains the corresponding target manifest and the replacement manifest information according to the obtained two manifest identifications, and further verifies whether the target manifest and the replacement manifest are matched in value according to the manifest replacement application event, the obtained target manifest and the replacement manifest information. When the stocking side needs to replace all rights of the target warehouse slip by using the replacement warehouse slip right, whether the value of the replacement warehouse slip is larger than or equal to the value of the target warehouse slip can be audited, if so, the audited result is passed, and if not, the audited result is not passed if the value of the replacement warehouse slip is determined to be not enough to replace the target warehouse slip.
If the stock side needs to use the replacement policy to replace the partial ownership of the target policy, whether the value of the replacement policy is greater than or equal to the value of the partial ownership of the target policy which needs to be replaced or not can be checked, if so, the checking result is passed, and if not, the checking result is not passed.
Of course, it is to be understood that information as to whether an inventory party has full or partial ownership of a replacement inventory replacement target inventory using the replacement inventory rights may also be recorded in the transaction characterizing the inventory replacement application event. After the resource side completes the audit, the resource side can input the audit result through the client of the resource side, that is, the resource side client can receive the audit result input by the resource side.
S302b, responding to the operation of the resource side, the client side of the resource side submits the trade for calling the stock exchange contract to the block chain network, and the first checking result of the resource side is appointed in the trade initiated by the client side of the resource side;
after receiving the audit result of the resource party, the resource party client can construct the audit result as a first audit transaction and submit the first audit transaction to the block chain network, so that the audit result can be stored in the block chain network, and the resource party is prevented from doing harm, for example, the audit result is not admitted.
Correspondingly, S303, the right of the matched target policy can be replaced with the right of the replacement policy based on the first examination result of the resource side for the blockchain network.
In addition, in this step, the intelligent contract may be called by the block chain network, and according to the first audit transaction, under the condition that the resource party audit result representation is determined to pass, the association relationship between the resource party and the target manifest is released, the association relationship between the depositor and the replacement manifest is released, and the association relationship between the resource party and the replacement manifest is established. In addition, if the resource side does not verify the result representation, recording a record of which the verification is not passed for the target warehouse slip.
In this embodiment, when the inventory party and the resource party do not negotiate in advance, the auditing and the auditing results are stored in the blockchain network, so as to further improve the overall credibility.
By adopting the mode, the block chain network processes the transaction representing the warehouse receipt replacement application event based on the deployed intelligent contract, namely the whole process of warehouse receipt replacement is recorded in the block chain network, so that the interactive data among the stock party, the storage party and the resource party can be credible, and the trust problem among the three parties is further solved; meanwhile, since the stocking side can exchange the ownership of the target inventory with the ownership of the replacement inventory, the stocking side can be made available to exchange the physical goods in the target inventory with other physical goods.
It can be understood that the blockchain network may receive the transactions for characterizing the policy replacement event at the same time, where the above manner may be performed for the processing flow of each transaction, and in addition, in order to distinguish and characterize the transactions of different policy replacement events, the different transactions may be distinguished by using corresponding identifiers, for example, the identifiers of the target policy and the replacement policy corresponding to the different policy replacement events may be used as the identifiers of the different transactions for distinguishing, or a predefined identifier generation rule may be used to generate the identifier of each transaction for distinguishing the different policy replacement transactions, and the identifier of the policy replacement transaction is not limited in this specification.
In addition, there may be a plurality of stocking parties and a plurality of warehousing parties in the system, and the description of the business processes of a single stocking party and a single warehousing party is provided herein, it will be understood that the processes therein may be applied to each stocking or warehousing party in the system.
In order to improve the auditing rigor in the manifest replacement process, an auditing link of the warehousing party may also be added in the auditing process, that is, as shown in fig. 6, the manifest processing system further includes a warehousing party client 240.
And after monitoring the manifest replacement application event, the client of the warehousing party acquires the target manifest identifier and the replacement manifest identifier from the block chain network and provides the target manifest identifier and the replacement manifest identifier for the warehousing party for auditing, wherein the auditing can be in various modes.
Wherein, a storage side's auditing mode can be:
the storage party client acquires a target manifest identifier and a replacement manifest identifier and provides the target manifest identifier and the replacement manifest identifier to the storage party so that the storage party can check whether the target manifest and the replacement manifest are matched in value or not;
the warehousing party client submits a second examination result to the block chain network; and the second auditing result comprises a warehouse party auditing result.
The auditing manner, i.e. the specific judgment principle, may refer to the auditing process of the resource side, and is not described in detail here. The client of the storage party checks the value matching of the two bills, so that the storage party can also participate in the checking link, and the checking result can be referred to the resource party.
In addition, the warehousing party is used as a party for storing the physical goods of the stock storing party, and the storage condition of the physical goods corresponding to the warehouse slip can be checked at any time. Therefore, another auditing mode of the warehousing party can also be as follows:
the client of the warehousing party acquires the replacement manifest identification and provides the replacement manifest identification for the warehousing party so that the warehousing party can check whether the replacement manifest is real or not; the warehousing party client submits a second checking result to the block chain network; the second auditing result comprises a warehousing party auditing result. Namely, the client of the warehousing party provides the replacement manifest identification in the manifest replacement transaction to the warehousing party, and the warehousing party checks whether the entity goods corresponding to the replacement manifest exist in the warehouse or not according to the identification, if so, the audit is passed, and if not, the audit is not passed. Meanwhile, the client of the warehousing party can also provide the target manifest identification in the manifest replacement transaction for the warehousing party, and the warehousing party checks whether the entity goods corresponding to the target manifest exist in the warehouse or not according to the identification, if so, the audit is passed, and if not, the audit is not passed, namely, the authenticity of the target manifest is also audited.
In addition, if other detailed information about the manifest is stored in the manifest replacement transaction, for example, information such as the storage location, the stock quantity, the value of the physical goods corresponding to the replacement manifest, the storage location, the stock quantity, the value of the physical goods corresponding to the target manifest, and the like, the warehousing party can also perform authenticity verification on the detailed information about the target manifest and the replacement manifest stored in the replacement transaction according to the actual situation in this link.
The mode of verifying the authenticity of the warehouse bill by the warehousing party is added, so that the safety of the whole process can be further improved.
It is contemplated that if a replacement manifest succeeds in replacing the target manifest, it may involve transferring the physical goods corresponding to the replacement manifest to the actual storage location. For example, from one warehouse to another. In this process, additional costs may arise due to the need to transfer storage locations. While the transfer of storage locations is typically managed and handled by the warehousing party.
The warehousing party may not transfer the physical goods corresponding to the replacement manifest to the actual storage location for some objective reasons, for example, the physical goods may not be transferred to the actual storage location temporarily due to reasons such as traffic, weather, etc., or the warehousing party may not be able to transfer the physical goods to the actual storage location due to the extra cost generated by transportation and the expense generated by transportation due to the fact that the warehousing party cannot bear the cost.
Therefore, the auditing mode of the warehousing party can also be that the warehousing party is added to audit whether the replacement of the storage position of the entity goods corresponding to the replacement manifest is allowed.
Specifically, the client of the warehousing party acquires the replacement manifest identifier and provides the replacement manifest identifier to the warehousing party, so that the warehousing party can check whether the warehousing position of the entity goods corresponding to the replacement manifest is allowed to be transferred or not;
the warehousing party client can submit a second examination result to the block chain network; the second examination result comprises a warehouse party examination result.
When the warehousing party actually checks, it can be determined whether the current objective condition supports the transfer of the warehousing position of the entity goods corresponding to the change manifest.
For example, it may be determined that the audit is passed when the stock direction itself pays the cost of transferring the physical goods corresponding to the replacement manifest to the actual storage location, and the factors such as traffic and weather allow, otherwise the audit is not passed.
Or the warehousing party can determine whether to be willing to pay the cost according to the number of the actual cost although the cost is produced, if the warehousing party is willing, and under the condition that factors such as traffic, weather and the like also allow, the auditing is passed, if the warehousing party is unwilling, and under the condition that the warehousing party does not pay the cost, the auditing is determined not to be passed, and the like. The present specification does not limit the auditing conditions for auditing whether the transfer of the storage location is permitted.
It is understood that the warehousing party may perform all or part of the above auditing methods, and the specification should not be limited thereto.
The warehousing party client can respond to the operation of the warehousing party and submit the transaction for calling the warehousing party replacement contract to the block chain network, and the second auditing result of the warehousing party is appointed in the transaction initiated by the resource party client.
Accordingly, the blockchain network may replace at least a portion of the rights of the matched target manifest with the rights of the replacement manifest based on the first review result of the resource side and the second review result of the warehousing side.
The audit executed by the storage party can be performed before the audit of the resource party, after the audit of the resource party, or can be performed in parallel with the resource party, that is, the audit is performed by the storage party and the resource party respectively, and the two parties do not affect each other.
Finally, the warehouse policy replacement request provided by the current warehouse side can be forbidden under the condition that the audit of either the warehouse side or the resource side is not passed.
In addition, considering that the resource side is the side which finally transfers the right of ownership of the resource to the depositor, the auditing result can be the final confirmation result, namely, the auditing of the depositor can be performed before the auditing of the resource side.
As shown in fig. 7, one possible way may be that a blockchain network invokes the intelligent contract, and notifies the resource side client of a policy replacement application event when it is determined that the storage side audit result representation passes according to the second audit transaction.
The block chain network calls an intelligent contract, the warehousing party client is informed of the warehouse replacement application event, the warehousing party performs audit, the resource party client is informed after the audit of the warehousing party is passed, and the resource party performs audit again.
And the resource party is used as a party with the right of ownership of the target warehouse slip, is a final auditing party of the warehouse slip replacement application event, and further audits after the auditing of the warehouse party is determined to be passed, and if the auditing of the warehouse party is not passed, the auditing is not required. By adopting the mode, the system resource is saved, and meanwhile, the auditing efficiency is also improved.
In the case where the stocking party does not want to replace all the physical goods corresponding to the target manifest with the replacement manifest, that is, does not want all the ownership of the target manifest, the transaction-specific business information submitted by the stocking party may further include the replacement quantity, that is, the quantity of the goods that need to be replaced from the physical goods corresponding to the target manifest with the replacement manifest.
In this way, the intelligent contract is called in the block chain network, after the bill replacement application event is notified to the resource side client according to the bill replacement transaction, the resource side client can acquire the quantity of the replacement goods from the block chain network and provide the quantity of the replacement goods to the resource side, the resource side can judge whether the goods of the quantity of the replacement goods in all the goods corresponding to the target bill are matched with the value of the replacement bill, if so, the audit is passed, if not, the audit is not passed, the matching principle can be that the value of the replacement bill is greater than or equal to the value of the goods of the quantity of the replacement goods in all the goods corresponding to the target bill, the matching is performed, and if not, the matching is not performed.
In addition, in order to avoid performing the above replacement process, other process flows may also process each target inventory and replacement inventory at the same time, for example, the process flow of returning the resource to the resource side to change the ownership of the target inventory may be processed at the same time.
Therefore, when receiving the inventory replacement transaction submitted by the inventory side client, the blockchain network can put the target inventory identification and the replacement inventory corresponding to the replacement inventory identification in the inventory replacement transaction into the frozen state based on the intelligent contract, and in the case of putting the target inventory and the replacement inventory into the frozen state, the blockchain network refuses to call the inventory replacement intelligent contract for other transactions of the target inventory, wherein the other transactions are transactions unrelated to the inventory replacement application event. That is, when the intelligent contract executes the replacement transaction, other processing is not executed on the target inventory or the replacement inventory at the same time, so that the problem of data confusion caused by the simultaneous multi-service processing of each inventory is avoided.
After the target warehouse slip is frozen, the frozen state of the target warehouse slip can be released under the condition that the block chain network receives a first checking result, namely a resource party checking result, and the resource party checking result representation is determined not to pass based on the intelligent contract. That is, in the case where the audit is not passed, it is determined that the current replacement audit process is ended, and therefore the frozen state of the target manifest can be released. If the audit is passed, the ownership of the target inventory is returned to the depositor, so that the target inventory can be directly placed in the failure state.
For the replacement manifest, after the block chain network receives the first audit result, whether the audit is passed or not, the frozen state of the replacement manifest can be released based on the intelligent contract, that is, the frozen state of the target manifest is released under the condition that the replacement is determined to be successful or failed. Since it will also exist for replacement orders whether audited or not, only the possessor may have changed.
In addition, the blockchain network can also record the appointed time length of the resource occupation of each storage party by an intelligent contract and record the occupied time length of the resource of the storage party, wherein, the two time lengths can be recorded when a target event is recorded, and the right of the resource party to the target warehouse bill is determined to be expired, the right of replacing the warehouse bill is refused to replace at least part of the right of the matched target warehouse bill. And refusing to replace at least part of the matched right of the target warehouse by using the right of the replacement warehouse when the right of the resource party to the target warehouse is determined to be expired. I.e., in the event that the inventory party needs to return the resource to the resource party, the storage party is no longer allowed to replace the target inventory with the replacement inventory. And, the processing result can be automatically generated so that the resource side client and the stocking side client provide the processing result to the resource side and the stocking side in a case where the resource side client and the stocking side client detect the processing result, so that the stocking side returns the corresponding resource to the resource side as soon as possible in exchange for the right of the objective manifest.
As can be seen from the above-mentioned scenario, in the case that the current value of the physical goods corresponding to the manifest is greatly different from the value of the physical goods in exchange for the resource, the inventory party usually has a need to obtain the physical goods corresponding to the manifest again.
For the depositor, it is not always concerned about the value change of the physical goods corresponding to the bills, and for a depositor, it is possible to simultaneously give ownership of a plurality of bills to the resource side in exchange for the resource, so it is not convenient for such depositor to be concerned about the value of the physical goods corresponding to each bill.
In order to solve the above problem, the present embodiment proposes the following:
in the warehouse receipt processing system, a freight rate monitoring client is added, and the freight rate monitoring client can be a certain node on the blockchain network or a user of the certain node on the blockchain network, namely the freight rate monitoring client can perform data interaction with the blockchain network.
The client of the freight rate monitoring party can submit the transaction for calling the freight rate replacement contract to the block chain network when the freight rate evidence storage condition of the entity freight corresponding to the target freight rate is met; the transaction initiated by the goods price deposit certificate transaction specifies the service input information required when the inventory replacement contract is called: the current unit price of the entity goods corresponding to the target manifest;
for example, when the stored entity goods are entity goods with value fluctuation attributes such as gold, silver and the like, the goods price monitoring party client may be a device corresponding to the trading exchange price equivalent monitoring mechanism. The method can monitor the value fluctuation condition of each entity goods, and the monitored value is the unit price of each type of entity goods in the general case, and the unit price can be the price of unit weight, the price of unit quantity and the like.
The aforementioned price deposit condition may be that a preset price deposit period is reached, for example, the price deposit period may be a period of one day, one week or one month, for example, the price monitoring side client may submit the current unit price of the entity goods corresponding to the target manifest to the block chain network at 9 am every day.
The goods price evidence condition can also be the sending change of the unit price of the physical goods, namely once the sending change of the unit price of the physical goods, the unit price of the physical goods is submitted to the block chain network;
the freight price evidence storing condition may be that the unit price of the entity goods corresponding to the target manifest is submitted to the blockchain network when the unit price change of the entity goods is detected to be large, for example, the unit price difference uploaded to the blockchain network last time is large.
The manner of obtaining the type of the entity goods corresponding to the target manifest by the freight monitoring party client may be by obtaining a manifest transfer transaction stored on the block chain network, that is, the identifier of each target manifest may be determined, and further, the type of the entity goods corresponding to each target manifest may be determined.
In addition, the client of the freight rate monitoring party does not need to know the type of the entity goods corresponding to the target warehouse slip, and only needs to submit the current unit prices of all the monitored entity goods to the block chain network.
After the goods price deposit evidence transaction is submitted to the block chain network by the goods price monitoring party client, the block chain network executes the warehouse receipt replacement contract, and compares the current unit price with the historical unit price to obtain a comparison result; the historical unit price is the unit price of the entity goods corresponding to the target bill when the bill transfer application event occurs; when the depositor transfers the right of the target warehouse slip to the resource depositor to exchange the right of the resource with the value matched, the unit price of the entity goods corresponding to the target warehouse slip;
and if the client of the stocking party monitors that the comparison result meets the preset condition from the block chain network, inquiring whether the stocking party triggers a warehouse receipt replacement application event or not.
The preset condition may be that the comparison result indicates that the current unit price of the entity goods is higher than the historical unit price, and the difference price is greater than a preset value; the comparison result may also indicate that the current unit price of the entity goods is lower than the historical unit price, and the difference price is greater than the preset value.
When inquiring, the client of the stock side can display the current unit price, the historical unit price, the difference between the two unit prices of the entity goods and the total quantity difference calculated based on the total quantity of the entity goods to the stock side, and the stock side can decide whether to trigger the stock replacement application event according to the information displayed by the client of the stock side.
For example, when it is determined that the value of the physical goods corresponding to the target manifest is increased more, the inventory side may trigger the manifest replacement application event, and may replace the target manifest with a replacement manifest of other physical goods with relatively stable value fluctuation, so as to obtain the physical goods corresponding to the target manifest, so as to obtain more resources by using the physical goods as soon as possible, for example, selling the physical goods or replacing the physical goods with a higher value manifest.
For example, when the value is low and the trend is continuously decreasing, the inventory side may trigger the inventory replacement application event in order to quickly replace the physical goods corresponding to the inventory for sale and stop the loss as soon as possible.
In the embodiment, the stocking party does not need to monitor the value fluctuation condition of the entity goods corresponding to each target warehouse receipt by himself, but the stocking party is based on the unit price data submitted to the block chain network by the stocking party client side and is checked based on the intelligent contract processing result in the block chain network, so that the overall intelligence is improved.
It is to be understood that the resources mentioned above may be resources such as funds, points, etc., and the description is not limited thereto.
When the resource is fund, the corresponding resource party can be each financial institution, such as a bank, a third-party payment institution and the like, the corresponding stocking party can be a party which has a fund borrowing demand for the financial institution, the corresponding stocking party can store the entity goods in the warehousing party and obtain the fund provided by the financial institution and matched with the value of the entity goods, and when the stocking party does not have sufficient fund to pay back to the financial institution but needs to obtain the entity goods stored in the warehousing party, the data generated by the auditing process of the warehouse slip and the warehouse slip replacement warehouse slip can be recorded on the block chain network in the above manner, so that the trust problem among the stocking party, the warehousing party and the financial institution is solved.
As shown in fig. 2, corresponding to the aforementioned method for processing a warehouse bill based on a blockchain, the present specification further provides a warehouse bill processing system, which includes a blockchain network 210, an inventory side client 220; the block chain network 210 is deployed with a policy replacement contract for processing a transaction representing a policy replacement application event, and the processing result is stored in the block chain network;
the warehousing party client 220 is configured to submit a transaction invoking the inventory replacement contract via the blockchain network, where the transaction initiated by the warehousing party client specifies the service input information required to invoke the inventory replacement contract: target manifest identification, replacement manifest identification;
the blockchain network 210 is configured to execute the inventory replacement contract, match the inventory information identified by the stock target inventory, and exchange the right of the replacement inventory for the right of at least a portion of the matched target inventory.
In one embodiment, the manifest replacement intelligent contract is further for processing a transaction characterizing a manifest transfer application event; the blockchain network 210 is specifically configured to transfer the right of the target manifest of the depositor to a resource side; wherein a resource side transfers rights to resources matching the target manifest value to the depositor.
As shown in fig. 3, in one embodiment, the system further comprises: resource side client 230;
the resource side client 230 is further configured to, after monitoring the policy replacement application event, obtain the target policy identifier and the replacement policy identifier from the block chain network, and provide the target policy identifier and the replacement policy identifier to the resource side to check whether the target policy and the replacement policy have a value matching;
submitting a transaction invoking the manifest replacement contract to the blockchain network 210 in response to an operation of a resource party, wherein a first audit result of the resource party is specified in the transaction initiated by the resource party client;
the blockchain network 210 is further configured to replace at least part of the rights of the matched target manifest with the rights of the replacement manifest based on the first review result of the resource side.
In an embodiment, the block chain network 210 is specifically configured to release the association relationship between the depositor and the target manifest, and establish the association relationship between the resource depositor and the target manifest;
the block chain network 210 is specifically configured to release an association relationship between the resource party and the target manifest, release an association relationship between the stock party and the replacement manifest, and establish an association relationship between the resource party and the replacement manifest;
under the condition of exchanging the right of all the matched target inventory, establishing the incidence relation between the depositor and the target inventory;
and under the condition of exchanging part of the matched target manifest, splitting the target manifest into a exchanged part of the manifest and an undischanged part of the manifest, establishing an association relationship between the stocking party and the exchanged part of the manifest, and establishing an association relationship between the resource party and the undischanged part of the manifest.
In one embodiment, as shown in fig. 6, the manifest processing system further comprises a warehousing side client 240;
the warehousing party client 240 is configured to obtain the target warehouse slip identifier and the replacement warehouse slip identifier from the block chain network after monitoring the warehouse slip replacement application event, and provide the target warehouse slip identifier and the replacement warehouse slip identifier to the warehousing party for auditing; the audit of the warehousing party includes at least one of: checking whether the target warehouse bill is matched with the value of the replacement warehouse bill; checking whether the replacement bill is true; checking whether the storage position of the entity goods corresponding to the replacement manifest is allowed to be transferred or not;
the warehousing party client 240 is further configured to submit a transaction for invoking the inventory replacement contract to the block chain network in response to an operation of a warehousing party, where a second approval result of the warehousing party is specified in the transaction initiated by the resource party client;
the blockchain network 210 is further configured to replace at least a part of the rights of the matched target manifest with the rights of the replacement manifest based on the first review result of the resource side and the second review result of the warehousing side.
In an embodiment, the resource side client 230 is specifically configured to provide the target manifest identifier and the replacement manifest identifier to the resource side when it is determined that the second review result representation of the warehousing side passes.
In one embodiment, the blockchain network 210 is further configured to place the target manifest in a frozen state if the manifest information identified by the stock side target manifest is matched; and under the condition that the target manifest is in a frozen state, the block chain network refuses to call the manifest replacement intelligent contract aiming at other transactions of the target manifest, wherein the other transactions are transactions irrelevant to the manifest replacement application event.
In one embodiment, the blockchain network 210 is further configured to unfreeze the target manifest if it is determined that the replacement is successful or fails.
In one embodiment, the blockchain network 210 is further configured to refuse to trade rights of the replacement manifest for at least a portion of rights of the matched target manifest if it is determined that the rights of the resource party to the target manifest expire.
In one embodiment, the manifest processing system further comprises: a price monitoring client 250;
the freight rate monitoring client 250 is configured to submit a transaction for invoking the manifest replacement contract to the blockchain network when a freight rate evidence condition of the entity goods corresponding to the target manifest is met; the transaction initiated by the goods price deposit certificate transaction specifies the service input information required when the inventory replacement contract is called: the current unit price of the entity goods corresponding to the target manifest;
the block chain network 210 is configured to execute the warehouse policy replacement contract, compare the current unit price with the historical unit price, and obtain a comparison result; the historical unit price is the unit price of the entity goods corresponding to the target manifest when the manifest transfer application event occurs;
the depositor client 220 is configured to, when it is monitored that the comparison result meets a preset condition, inquire whether the depositor triggers a policy replacement application event.
In one embodiment, the right to target the manifest includes: ownership of the target inventory; the right to replace the manifest comprising: ownership of the replacement inventory.
The implementation process of the functions and actions of each component in the above device is specifically described in the implementation process of the corresponding step in the above method, and is not described herein again.
For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described apparatus embodiments are merely illustrative. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution in the specification. One of ordinary skill in the art can understand and implement without inventive effort.
Embodiments of the present specification also provide a computer device, which at least includes a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the aforementioned method when executing the program. The method at least comprises the following steps: a method performed by the inventory side client or the resource side client.
Fig. 8 is a schematic diagram illustrating a more specific hardware structure of a computing device according to an embodiment of the present disclosure, where the computing device may include: a processor 1010, a memory 1020, an input/output interface 1030, a communication interface 1040, and a bus 1050. Wherein the processor 1010, memory 1020, input/output interface 1030, and communication interface 1040 are communicatively coupled to each other within the device via bus 1050.
The processor 1010 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits, and is configured to execute related programs to implement the technical solutions provided in the embodiments of the present disclosure.
The Memory 1020 may be implemented in the form of a ROM (Read Only Memory), a RAM (Random Access Memory), a static storage device, a dynamic storage device, or the like. The memory 1020 may store an operating system and other application programs, and when the technical solution provided by the embodiments of the present specification is implemented by software or firmware, the relevant program codes are stored in the memory 1020 and called to be executed by the processor 1010.
The input/output interface 1030 is used for connecting an input/output module to input and output information. The i/o module may be configured as a component in a device (not shown) or may be external to the device to provide a corresponding function. The input devices may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output devices may include a display, a speaker, a vibrator, an indicator light, etc.
The communication interface 1040 is used for connecting a communication module (not shown in the drawings) to implement communication interaction between the present apparatus and other apparatuses. The communication module can realize communication in a wired mode (such as USB, network cable and the like) and also can realize communication in a wireless mode (such as mobile network, WIFI, Bluetooth and the like).
Bus 1050 includes a path that transfers information between various components of the device, such as processor 1010, memory 1020, input/output interface 1030, and communication interface 1040.
It should be noted that although the above-mentioned device only shows the processor 1010, the memory 1020, the input/output interface 1030, the communication interface 1040 and the bus 1050, in a specific implementation, the device may also include other components necessary for normal operation. In addition, those skilled in the art will appreciate that the above-described apparatus may also include only those components necessary to implement the embodiments of the present description, and not necessarily all of the components shown in the figures.
Embodiments of the present specification also provide a computer-readable storage medium on which a computer program is stored, which when executed by a processor implements the foregoing method. The method at least comprises the following steps: a method performed by the inventory side client or the resource side client.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, 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), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
From the above description of the embodiments, it is clear to those skilled in the art that the embodiments of the present disclosure can be implemented by software plus necessary general hardware platform. Based on such understanding, the technical solutions of the embodiments of the present specification may be essentially or partially implemented in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments of the present specification.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. A typical implementation device is a computer, which may take the form of a personal computer, laptop computer, cellular telephone, camera phone, smart phone, personal digital assistant, media player, navigation device, email messaging device, game console, tablet computer, wearable device, or a combination of any of these devices.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, the apparatus embodiments are substantially similar to the method embodiments and therefore are described in a relatively simple manner, and reference may be made to some of the description of the method embodiments for relevant points. The above-described apparatus embodiments are merely illustrative, and the modules described as separate components may or may not be physically separate, and the functions of the modules may be implemented in one or more software and/or hardware when implementing the embodiments of the present disclosure. And part or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of the embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
The foregoing is only a specific embodiment of the embodiments of the present disclosure, and it should be noted that, for those skilled in the art, a plurality of modifications and decorations can be made without departing from the principle of the embodiments of the present disclosure, and these modifications and decorations should also be regarded as the protection scope of the embodiments of the present disclosure.

Claims (23)

1. A warehouse receipt processing method based on a block chain is applied to a warehouse receipt processing system, the warehouse receipt processing system comprises a block chain network and an inventory side client, the block chain network is deployed with a warehouse receipt replacement contract used for processing a transaction representing a warehouse receipt replacement application event, and a processing result is stored in the block chain network;
the method comprises the following steps:
the warehousing party client submits the transaction for invoking the inventory replacement contract to the blockchain network, and the transaction initiated by the warehousing party client specifies the service input information required when the inventory replacement contract is invoked: target manifest identification, replacement manifest identification;
the blockchain network executes the manifest replacement contract, matches the manifest information identified by the inventory party target manifest, and uses the rights of the replacement manifest to exchange for the rights of at least a portion of the matched target manifest.
2. The method of claim 1, further comprising: the intelligent contract for the warehouse receipt replacement is also used for processing the transaction representing the warehouse receipt transfer application event;
the processing a transaction characterizing a manifest transfer application event, comprising:
transferring rights to the target manifest of the depositor to a resource; wherein a resource side transfers rights to resources matching the target manifest value to the depositor.
3. The method of claim 2, the blockchain network further comprising: a resource side client;
during the process of executing the inventory replacement contract, before trading for at least part of the matched target inventory, the block chain network further includes:
after monitoring the policy replacement application event, the resource side client acquires the target policy identification and the replacement policy identification from the block chain network, and provides the target policy identification and the replacement policy identification for the resource side to check whether the target policy and the replacement policy are matched in value;
in response to the operation of a resource party, the resource party client submits a transaction for calling the inventory replacement contract to the block chain network, and a first auditing result of the resource party is specified in the transaction initiated by the resource party client;
accordingly, the blockchain network replaces at least a portion of the rights of the matched target manifest with the rights of the replacement manifest based on the first review result of the resource side.
4. The method of claim 3, transferring the right of the target manifest of the depositor to a resource, comprising:
releasing the association relationship between the stocking party and the target manifest, and establishing the association relationship between the resource party and the target manifest;
trading rights to the replacement manifest for at least a portion of the matched target manifest, comprising:
removing the association relation between the resource party and the target warehouse bill, removing the association relation between the stock party and the replacement warehouse bill, and establishing the association relation between the resource party and the replacement warehouse bill;
under the condition of exchanging the right of all the matched target inventory, establishing the incidence relation between the depositor and the target inventory;
and under the condition of exchanging part of the matched target manifest, splitting the target manifest into a exchanged part of the manifest and an undischanged part of the manifest, establishing an association relationship between the stocking party and the exchanged part of the manifest, and establishing an association relationship between the resource party and the undischanged part of the manifest.
5. The method of claim 3, the manifest processing system further comprising a warehousing party client;
during the execution of the intelligent contract by the blockchain network, before trading rights for at least part of the matched target manifest, the method further comprises:
after monitoring the manifest replacement application event, the warehousing party client acquires the target manifest identifier and the replacement manifest identifier from the block chain network and provides the target manifest identifier and the replacement manifest identifier for the warehousing party for auditing; the audit of the warehousing party includes at least one of: checking whether the target warehouse bill is matched with the value of the replacement warehouse bill; checking whether the replacement bill is true; checking whether the storage position of the entity goods corresponding to the replacement manifest is allowed to be transferred or not;
in response to the operation of the warehousing party, submitting a transaction for calling the warehousing party replacement contract to the block chain network by the warehousing party client, wherein a second auditing result of the warehousing party is specified in the transaction initiated by the resource party client;
correspondingly, the blockchain network replaces at least part of the rights of the matched target warehouse bills by the rights of the replacement warehouse bills based on the first examination results of the resource side and the second examination results of the warehousing side.
6. The method of claim 5, said resource side client providing said target manifest identification and said replacement manifest identification to a resource side, comprising:
and the resource side client provides the target warehouse bill identification and the replacement warehouse bill identification to the resource side under the condition that the second examination result representation of the warehouse side is passed.
7. The method of claim 1, further comprising:
the block chain network places the target warehouse slip in a frozen state under the condition that the warehouse slip information of the stock target warehouse slip identifier is matched; and under the condition that the target manifest is in a frozen state, the block chain network refuses to call the manifest replacement intelligent contract aiming at other transactions of the target manifest, wherein the other transactions are transactions irrelevant to the manifest replacement application event.
8. The method of claim 7, further comprising:
and under the condition that the block chain network determines that the replacement is successful or fails, the frozen state of the target warehouse list is released.
9. The method of claim 2, further comprising:
and if the block chain network determines that the right of the resource party to the target warehouse bill is expired, refusing to replace at least part of the right of the matched target warehouse bill by using the right of the replacement warehouse bill.
10. The method of claim 2, the manifest processing system further comprising: a freight price monitoring client;
the method further comprises the following steps:
when the freight price storage condition of the entity goods corresponding to the target manifest is met, the freight price monitoring client submits a transaction for calling the manifest replacement contract to the block chain network; the transaction initiated by the goods price deposit certificate transaction specifies the service input information required when the inventory replacement contract is called: the current unit price of the entity goods corresponding to the target manifest;
the block chain network executes the warehouse receipt replacement contract, and compares the current unit price with the historical unit price to obtain a comparison result; the historical unit price is the unit price of the entity goods corresponding to the target bill when the bill transfer application event occurs;
and if the client of the stocking party monitors that the comparison result meets the preset condition from the block chain network, inquiring whether the stocking party triggers a warehouse receipt replacement application event or not.
11. The method of claim 1, the right to target the manifest, comprising: ownership of the target inventory; the right to permute the list, comprising: ownership of the replacement inventory.
12. A manifest processing system comprising a blockchain network, an inventory side client; the block chain network is provided with a warehouse receipt replacement contract for processing a transaction representing a warehouse receipt replacement application event, and a processing result is stored in the block chain network;
the inventory side client is used for submitting the transaction for invoking the inventory replacement contract through the blockchain network, and business input information required when the inventory replacement contract is invoked is specified in the transaction initiated by the inventory side client: target manifest identification, replacement manifest identification;
the block chain network is used for executing the inventory replacement contract, matching the inventory information identified by the stock target inventory and exchanging at least part of the right of the matched target inventory by using the right of the replacement inventory.
13. The system of claim 12, wherein the manifest replacement intelligent contract is further for processing a transaction characterizing a manifest transfer application event;
the block chain network is specifically used for transferring the right of the target warehouse bill of the stocking party to a resource party; wherein a resource side transfers rights to resources matching the target manifest value to the depositor.
14. The system of claim 13, further comprising: a resource side client;
the resource side client is further configured to obtain the target manifest identifier and the replacement manifest identifier from the block chain network after monitoring the manifest replacement application event, and provide the target manifest identifier and the replacement manifest identifier to the resource side to check whether the target manifest and the replacement manifest are matched in value;
submitting a transaction for calling the inventory replacement contract to the blockchain network in response to the operation of a resource party, wherein a first auditing result of the resource party is specified in the transaction initiated by the client of the resource party;
the block chain network is further used for replacing at least part of the right of the matched target warehouse bill with the right of the replacement warehouse bill based on the first examination result of the resource side.
15. The system of claim 14, wherein the first and second sensors are arranged in a single unit,
the block chain network is specifically used for removing the association relationship between the stocking party and the target manifest and establishing the association relationship between the resource party and the target manifest;
the block chain network is specifically configured to release an association relationship between the resource party and the target manifest, release an association relationship between the depositor and the replacement manifest, and establish an association relationship between the resource party and the replacement manifest;
under the condition of exchanging the right of all the matched target inventory, establishing the incidence relation between the depositor and the target inventory;
and under the condition of exchanging partial rights of the matched target warehouse slip, splitting the target warehouse slip into a exchanged partial warehouse slip and an undischanged partial warehouse slip, establishing an association relationship between the depositor and the exchanged partial warehouse slip, and establishing an association relationship between the resource supplier and the undischanged partial warehouse slip.
16. The system of claim 14, the manifest processing system further comprising a warehousing party client;
the warehousing party client is used for acquiring the target warehouse slip identifier and the replacement warehouse slip identifier from the block chain network after monitoring the warehouse slip replacement application event and providing the target warehouse slip identifier and the replacement warehouse slip identifier for the warehousing party for auditing; the audit of the warehousing party comprises at least one of: checking whether the target warehouse bill is matched with the value of the replacement warehouse bill; checking whether the replacement bill is true; checking whether the storage position of the entity goods corresponding to the replacement manifest is allowed to be transferred or not;
the warehousing party client is also used for submitting a transaction for calling the warehousing party replacement contract to the block chain network in response to the operation of a warehousing party, and a second approval result of the warehousing party is specified in the transaction initiated by the resource party client;
and the block chain network is further used for replacing at least part of the rights of the matched target warehouse bills by using the rights of the replacement warehouse bills based on the first checking results of the resource side and the second checking results of the warehousing side.
17. The system of claim 16, wherein the first and second sensors are arranged in a single unit,
the resource side client is specifically configured to provide the target manifest identifier and the replacement manifest identifier to the resource side when it is determined that the second review result representation of the warehousing side passes.
18. The system of claim 12, wherein the first and second sensors are arranged in a single unit,
the block chain network is further used for placing the target warehouse bill in a frozen state under the condition that the warehouse bill information of the stock target warehouse bill identification is matched; and under the condition that the target manifest is in a frozen state, the block chain network refuses to call the manifest replacement intelligent contract aiming at other transactions of the target manifest, wherein the other transactions are transactions irrelevant to the manifest replacement application event.
19. The system of claim 18, wherein the system further comprises,
and the block chain network is also used for releasing the frozen state of the target bin list under the condition of determining that the replacement is successful or failed.
20. The system of claim 13, wherein the first and second optical elements are selected from the group consisting of a laser, and a laser,
the blockchain network is further configured to refuse to trade the right of the replacement manifest for at least part of the right of the matched target manifest if it is determined that the right of the resource party for the target manifest expires.
21. The system of claim 13, the order processing system further comprising: a freight price monitoring client;
the freight rate monitoring client is used for submitting a transaction for calling the manifest replacement contract to the block chain network when the freight rate evidence storage condition of the entity goods corresponding to the target manifest is met; the transaction initiated by the goods price deposit transaction specifies the service input information required when the stock exchange contract is called: the current unit price of the entity goods corresponding to the target manifest;
the block chain network is used for executing the warehouse bill replacement contract, comparing the current unit price with the historical unit price and obtaining a comparison result; the historical unit price is the unit price of the entity goods corresponding to the target bill when the bill transfer application event occurs;
and the stocking party client is used for inquiring whether the stocking party triggers a warehouse receipt replacement application event or not when monitoring that the comparison result meets the preset condition.
22. The system of claim 12, the right to target a manifest, comprising: ownership of the target inventory; the right to permute the list, comprising: ownership of the replacement inventory.
23. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method as claimed in any one of claims 1 to 11 when executing the program.
CN202110164586.5A 2021-02-05 2021-02-05 Block chain-based warehouse receipt processing method and warehouse receipt processing system Active CN112990811B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110164586.5A CN112990811B (en) 2021-02-05 2021-02-05 Block chain-based warehouse receipt processing method and warehouse receipt processing system
PCT/CN2022/071811 WO2022166557A1 (en) 2021-02-05 2022-01-13 Warehouse receipt processing method based on blockchain, and warehouse receipt processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110164586.5A CN112990811B (en) 2021-02-05 2021-02-05 Block chain-based warehouse receipt processing method and warehouse receipt processing system

Publications (2)

Publication Number Publication Date
CN112990811A CN112990811A (en) 2021-06-18
CN112990811B true CN112990811B (en) 2022-05-31

Family

ID=76348441

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110164586.5A Active CN112990811B (en) 2021-02-05 2021-02-05 Block chain-based warehouse receipt processing method and warehouse receipt processing system

Country Status (2)

Country Link
CN (1) CN112990811B (en)
WO (1) WO2022166557A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112990811B (en) * 2021-02-05 2022-05-31 支付宝(杭州)信息技术有限公司 Block chain-based warehouse receipt processing method and warehouse receipt processing system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107705203A (en) * 2017-08-08 2018-02-16 迅鳐成都科技有限公司 Financial Information sharing method in a kind of steel transaction based on block chain
CN111429057A (en) * 2020-03-19 2020-07-17 中国建设银行股份有限公司 Digital warehouse bill management method and device
CN111640002A (en) * 2020-05-12 2020-09-08 普洛斯科技(重庆)有限公司 Block chain-based mortgage loan method and device
CN111930754A (en) * 2020-09-15 2020-11-13 支付宝(杭州)信息技术有限公司 Method, device and equipment for generating and updating block chain warehouse list

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107844978A (en) * 2017-11-30 2018-03-27 中链科技有限公司 A kind of staple commodities transaction processing method and system based on block chain
CN110060056A (en) * 2019-03-18 2019-07-26 阿里巴巴集团控股有限公司 A kind of business confirmation method and system based on block chain intelligence contract
US10936581B2 (en) * 2019-08-30 2021-03-02 Advanced New Technologies Co., Ltd. Blockchain transaction processing method and apparatus
CN112990811B (en) * 2021-02-05 2022-05-31 支付宝(杭州)信息技术有限公司 Block chain-based warehouse receipt processing method and warehouse receipt processing system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107705203A (en) * 2017-08-08 2018-02-16 迅鳐成都科技有限公司 Financial Information sharing method in a kind of steel transaction based on block chain
CN111429057A (en) * 2020-03-19 2020-07-17 中国建设银行股份有限公司 Digital warehouse bill management method and device
CN111640002A (en) * 2020-05-12 2020-09-08 普洛斯科技(重庆)有限公司 Block chain-based mortgage loan method and device
CN111930754A (en) * 2020-09-15 2020-11-13 支付宝(杭州)信息技术有限公司 Method, device and equipment for generating and updating block chain warehouse list

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
段伟常.区块链架构下标准仓单融资机理研究.《金融理论与实践》.2018, *
蒋东东.基于区块链的电子仓单流转平台建设.《西安工程大学学报》.2017, *

Also Published As

Publication number Publication date
WO2022166557A1 (en) 2022-08-11
CN112990811A (en) 2021-06-18

Similar Documents

Publication Publication Date Title
CN108876380B (en) Transaction method and system based on centralized settlement and block chain deposit certificate
CN109242453B (en) Transaction method and system based on centralized settlement and block chain deposit certificate
US8473316B1 (en) System and method for order processing state management
CN109377216B (en) Transaction method and system based on centralized settlement and block chain deposit certificate
CN107836003B (en) Method and system for establishing message routing path through computer network
US20170236188A1 (en) System and method for automating business processes throughout the life cycle of an order by using a publish-subscriber pattern
CN109961365A (en) A kind of receipt on account record processing method and system based on block chain intelligence contract
CN112767163B (en) Block chain-based digital commodity transaction method and device
CN111539803B (en) Mortgage financing monitoring method, system and computer readable storage medium
CN110148046A (en) A kind of payment management method and device
CN110992162A (en) Resource processing method, device, equipment and system
CN112766854B (en) Block chain-based digital commodity transaction method and device
CN104376452A (en) System and method for managing payment success rate on basis of international card payment channel
US10708384B2 (en) Data processing method and system
CN112990811B (en) Block chain-based warehouse receipt processing method and warehouse receipt processing system
US8489436B1 (en) System and method for an order handling data model with item-level granularity
JP2023521215A (en) Method, device and system for outbound control
US20230289692A1 (en) Risk management system interface
CN111882436B (en) Data processing method, device and equipment based on block chain
US11301850B2 (en) System and method for transferring an anonymized transaction between nodes of a computer network
CN114155091A (en) Financing method, device and system based on block chain
CN113222701A (en) Order state query method, device and storage medium
KR20220153145A (en) Device for signing insurance contract and method thereof
CN112950181A (en) Asset management method, electronic device and readable storage medium
CN110910154A (en) Tobacco monopoly license management method, equipment and medium based on block chain

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant