Resource distribution method and device, computer equipment, readable storage medium and program product

By using smart contract technology on the blockchain platform, we search and connect the contract parties to the resource issuance relationship, and solve the problems of chaos and human errors in the resource issuance process, and the security and reliability of resource issuance are achieved.

CN119067383APending Publication Date: 2024-12-03CHINA CONSTRUCTION BANK +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411150427.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-21
Publication Date
2024-12-03

AI Technical Summary

Technical Problem

In the prior art, the resource distribution process is complicated and there are operational confusion and human errors, resulting in unreliable resource distribution.

Method used

Using smart contract technology on the blockchain platform, smart contracts are used to find contract parties to the indirect resource issuance relationship, and the contract parties are connected according to hierarchical relationships to realize resource issuance requests and confirmations, ensuring the security and reliability of resource transfer.

Benefits of technology

It improves the security and clarity of the resource distribution process, avoids operational chaos, ensures accurate monitoring and management of resource distribution, and enhances the reliability of resource distribution.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119067383A_ABST
    Figure CN119067383A_ABST
Patent Text Reader

Abstract

The invention relates to a resource distribution method and device, computer equipment, a readable storage medium and a program product, and relates to the technical field of big data. The method comprises the following steps: in response to a resource issuing instruction of a target object, obtaining an intelligent contract matched with the resource issuing instruction; searching a first contract party having an indirect resource distribution relationship with the target object through the smart contract, and connecting the target object and at least one second contract party of the first contract party in series according to a hierarchical relationship; sending a first resource issuing request to a first contract party; under the condition that first resource distribution confirmation information returned by the first contract party based on the first resource distribution request is received, sequentially sending a second resource distribution request to each second contract party according to the hierarchical relationship; and under the condition that second resource issuing confirmation information returned by each second contract party based on the second resource issuing request is received, sending prompt information of resource issuing success to the target object. By adopting the method, the resource distribution reliability can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of big data technology, and in particular to a resource distribution method, apparatus, computer equipment, readable storage medium and program product. Background Art

[0002] In the current era of rapid development of big data, there is often resource interaction between enterprises and user objects. For example, enterprises need to release certain resources to user objects based on their work conditions. Therefore, how to release resources to user objects in a timely manner has become a key issue for all enterprises.

[0003] At present, enterprises usually have specific personnel to distribute resources. However, in actual applications, the process of resource distribution is relatively cumbersome, and the use of specific personnel is prone to operational confusion. On the other hand, manual resource distribution is also prone to problems such as artificial changes in resource quotas or even artificial misappropriation of resources, which will lead to the lack of guarantee of resource distribution to user objects. Therefore, the current method of resource distribution is not reliable. Summary of the invention

[0004] Based on this, it is necessary to provide a resource distribution method, apparatus, computer equipment, computer-readable storage medium and computer program product that can improve the reliability of resource distribution in response to the above technical problems.

[0005] In a first aspect, the present application provides a resource issuance method, comprising: in response to a resource issuance instruction for a target object, obtaining a smart contract that matches the resource issuance instruction; searching through the smart contract for a first contract party that has an indirect resource issuance relationship with the target object, and at least one second contract party that connects the target object and the first contract party in a hierarchical relationship; sending a first resource issuance request to the first contract party; upon receiving first resource issuance confirmation information returned by the first contract party based on the first resource issuance request, sending a second resource issuance request to each second contract party in sequence according to the hierarchical relationship; upon receiving second resource issuance confirmation information returned by each second contract party based on the second resource issuance request, sending a prompt message of successful resource issuance to the target object.

[0006] In one of the embodiments, the method further includes: in response to an evidence instruction for resource issuance information of a target object, performing a normative check on the resource issuance information to obtain a normative check result of the resource issuance information; when the normative check result indicates that the check has passed, creating a smart contract matching the evidence instruction based on the resource issuance information; in response to the resource issuance instruction for the target object, obtaining a smart contract matching the resource issuance instruction, including: in response to a resource issuance instruction matching the evidence instruction, obtaining a smart contract matching the evidence instruction.

[0007] In one of the embodiments, in response to an instruction to store evidence of resource issuance information for a target object, a normative check is performed on the resource issuance information to obtain a normative check result of the resource issuance information, including: in response to an instruction to store evidence of resource issuance information for a target object, the resource issuance information is decrypted to obtain target issuance information; information splitting is performed on the target issuance information to obtain object information of the target object and issuance resource information of the target object; normative checks are performed on the object information and the issuance resource information respectively to obtain a first normative check result of the object information and a second normative check result of the issuance resource information; the first normative check result and the second normative check result are used together as the normative check result.

[0008] In one of the embodiments, upon receiving first resource issuance confirmation information returned by the first contract party based on the first resource issuance request, sending a second resource issuance request to each second contract party in sequence according to a hierarchical relationship, including: if the first resource issuance confirmation information returned by the first contract party based on the first resource issuance request is received within a preset resource issuance time, sending the second resource issuance request to each second contract party in sequence according to a hierarchical relationship; if the first resource issuance confirmation information returned by the first contract party based on the first resource issuance request is not received within the preset resource issuance time, executing the resource issuance confirmation operation indicated by the first resource issuance request to obtain a resource issuance confirmation result; when the resource issuance confirmation result indicates that the resource issuance has been confirmed, sending the second resource issuance request to each second contract party in sequence according to the hierarchical relationship.

[0009] In one of the embodiments, the method also includes: obtaining the contract identifier of the smart contract when there is no repeated execution of the smart contract; searching for the first contract party that has an indirect resource issuance relationship with the target object through the smart contract, including: querying and obtaining the first contract party that has an indirect resource issuance relationship with the target object through the contract identifier of the smart contract.

[0010] In one of the embodiments, the method further includes: if first resource issuance suspension information returned by the first contract party based on the first resource issuance request is received, a prompt message of stopping resource issuance is sent to the target object; the first resource issuance suspension information is determined by the first contract party based on the project requirements of the project processed by the target object; if second resource issuance suspension information returned by the second contract party based on the second resource issuance request is received, an inquiry request for the second resource issuance suspension information is sent to the first contract party; when a confirmation instruction returned by the first contract party based on the inquiry request is received, a prompt message of stopping resource issuance is sent to the target object.

[0011] In the second aspect, the present application also provides a resource issuance device, including: a smart contract acquisition module, which is used to respond to a resource issuance instruction for a target object and obtain a smart contract that matches the resource issuance instruction; a contract party query module, which is used to find a first contract party that has an indirect resource issuance relationship with the target object through a smart contract, and at least one second contract party that connects the target object and the first contract party in a hierarchical relationship; a first resource issuance request module, which is used to send a first resource issuance request to the first contract party; a second resource issuance request module, which is used to send a second resource issuance request to each second contract party in sequence according to the hierarchical relationship upon receiving first resource issuance confirmation information returned by the first contract party based on the first resource issuance request; and a prompt module, which is used to send a prompt message of successful resource issuance to the target object upon receiving second resource issuance confirmation information returned by each second contract party based on the second resource issuance request.

[0012] In one of the embodiments, the device also includes: a normative verification module, which is used to respond to the evidence instruction of the resource issuance information for the target object, perform normative verification on the resource issuance information, and obtain the normative verification result of the resource issuance information; a smart contract creation module, which is used to create a smart contract matching the evidence instruction based on the resource issuance information when the normative verification result indicates that the verification has passed; the smart contract acquisition module is also used to: respond to the resource issuance instruction that matches the evidence instruction, and obtain the smart contract matching the evidence instruction.

[0013] In one of the embodiments, the compliance verification module is also used to: in response to a certification instruction for resource issuance information of a target object, decrypt the resource issuance information to obtain target issuance information; split the target issuance information to obtain object information of the target object and issuance resource information of the target object; perform compliance verification on the object information and issuance resource information respectively to obtain a first compliance verification result of the object information and a second compliance verification result of the issuance resource information; and use the first compliance verification result and the second compliance verification result together as the compliance verification result.

[0014] In one of the embodiments, the second resource issuance request module is further used to: if first resource issuance confirmation information returned by the first contract party based on the first resource issuance request is received within the preset resource issuance time, send the second resource issuance request to each second contract party in sequence according to the hierarchical relationship; if first resource issuance confirmation information returned by the first contract party based on the first resource issuance request is not received within the preset resource issuance time, execute the resource issuance confirmation operation indicated by the first resource issuance request to obtain a resource issuance confirmation result; when the resource issuance confirmation result indicates that the resource issuance has been confirmed, send the second resource issuance request to each second contract party in sequence according to the hierarchical relationship.

[0015] In one of the embodiments, the device is also used to: obtain the contract identifier of the smart contract when there is no repeated execution of the smart contract; the contract party query module is also used to: query the first contract party that has an indirect resource issuance relationship with the target object through the contract identifier of the smart contract.

[0016] In one of the embodiments, the device is further used for: if first resource issuance suspension information returned by the first contract party based on the first resource issuance request is received, sending a prompt message of stopping resource issuance to the target object; the first resource issuance suspension information is determined by the first contract party based on the project requirements of the project processed by the target object; if second resource issuance suspension information returned by the second contract party based on the second resource issuance request is received, sending an inquiry request for the second resource issuance suspension information to the first contract party; when a confirmation instruction returned by the first contract party based on the inquiry request is received, sending a prompt message of stopping resource issuance to the target object.

[0017] In a third aspect, the present application also provides a computer device, comprising a memory and a processor, the memory storing a computer program, and the processor implementing the following steps when executing the computer program: in response to a resource issuance instruction for a target object, obtaining a smart contract matching the resource issuance instruction; searching through the smart contract for a first contract party that has an indirect resource issuance relationship with the target object, and at least one second contract party that connects the target object and the first contract party in a hierarchical relationship; sending a first resource issuance request to the first contract party; upon receiving first resource issuance confirmation information returned by the first contract party based on the first resource issuance request, sending a second resource issuance request to each second contract party in sequence according to the hierarchical relationship; upon receiving second resource issuance confirmation information returned by each second contract party based on the second resource issuance request, sending a prompt message of successful resource issuance to the target object.

[0018] In a fourth aspect, the present application also provides a computer-readable storage medium having a computer program stored thereon, which implements the following steps when the computer program is executed by a processor: in response to a resource issuance instruction for a target object, obtain a smart contract that matches the resource issuance instruction; search through the smart contract for a first contract party that has an indirect resource issuance relationship with the target object, and at least one second contract party that connects the target object and the first contract party in a hierarchical relationship; send a first resource issuance request to the first contract party; upon receiving first resource issuance confirmation information returned by the first contract party based on the first resource issuance request, send a second resource issuance request to each second contract party in sequence according to the hierarchical relationship; upon receiving second resource issuance confirmation information returned by each second contract party based on the second resource issuance request, send a prompt message of successful resource issuance to the target object.

[0019] In a fifth aspect, the present application also provides a computer program product, including a computer program, which implements the following steps when executed by a processor: in response to a resource issuance instruction for a target object, obtain a smart contract that matches the resource issuance instruction; search through the smart contract for a first contract party that has an indirect resource issuance relationship with the target object, and at least one second contract party that connects the target object and the first contract party in a hierarchical relationship; send a first resource issuance request to the first contract party; upon receiving first resource issuance confirmation information returned by the first contract party based on the first resource issuance request, send a second resource issuance request to each second contract party in sequence according to the hierarchical relationship; upon receiving second resource issuance confirmation information returned by each second contract party based on the second resource issuance request, send a prompt message of successful resource issuance to the target object.

[0020] The above-mentioned resource issuance method, device, computer equipment, computer-readable storage medium and computer program product are applied to a blockchain platform. In response to a resource issuance instruction for a target object, the blockchain platform first obtains a smart contract that matches the resource issuance instruction. It can be understood that the smart contract relies on the blockchain to run and has the characteristics of de-trust, non-tamperability, and economic efficiency. Therefore, the smart contract technology is introduced in this application. On the basis of ensuring accurate query and search for the first contract party that has an indirect resource issuance relationship with the target object, and at least one second contract party that connects the target object and the first contract party in a hierarchical relationship, it can also ensure that each contract party cannot arbitrarily tamper with the resource transfer information, thereby improving the security of resource issuance. Then the blockchain platform sends a first resource issuance request to the first contract party to request the first contract party to perform resource issuance processing, and after receiving the first resource issuance confirmation information returned by the first contract party based on the first resource issuance request, the second resource issuance request is sent to each second contract party in sequence according to the hierarchical relationship to request each second contract party to perform resource issuance processing. By configuring a multi-level resource issuance architecture, only after the contract party at the previous level has completed the resource issuance processing, the contract party at the next level can perform resource issuance processing, which effectively avoids the current operational confusion problem, makes the entire resource issuance processing flow clearer, and is conducive to accurate monitoring and management of resource issuance. Finally, after receiving the second resource issuance confirmation information returned by each second contract party based on the second resource issuance request, the resource issuance process is completed, and a prompt message of successful resource issuance is sent to the target object. In this way, this application introduces the smart contract technology in the blockchain platform and the multi-level resource issuance architecture to make the resource issuance process safer and clearer, thereby improving the reliability of resource issuance. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0022] Figure 1 An application environment diagram of a resource distribution method in an embodiment;

[0023] Figure 2 A schematic diagram of a flow chart of a resource distribution method in an embodiment;

[0024] Figure 3 A schematic diagram of the association relationship between various contracts in an embodiment;

[0025] Figure 4 is a schematic diagram of the hierarchical relationship between various contract parties in one embodiment;

[0026] Figure 5 A schematic diagram of a process for creating a smart contract in one embodiment;

[0027] Figure 6 A schematic diagram of a flow chart of information verification in an embodiment;

[0028] Figure 7 A schematic diagram of an application architecture of a resource distribution method in a specific embodiment;

[0029] Figure 8 A schematic diagram of resource distribution details of each party in a specific embodiment;

[0030] Fig. 9 is a structural block diagram of a resource distribution device in an embodiment;

[0031] Fig.10 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0032] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application. It should be noted that in the embodiments of the present application, certain software, groups, models and other existing solutions in the industry may be mentioned, which should be considered as exemplary, and their purpose is only to illustrate the feasibility of the implementation of the technical solution of the present application, but it does not mean that the applicant has or will necessarily use the solution.

[0033] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations. The acquisition, storage, use, and processing of data in the technical solution of this application are in compliance with relevant provisions of national laws and regulations.

[0034] The resource distribution method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown. Among them, the blockchain platform 102 communicates with the resource management system 104. In response to the resource issuance instruction for the target object sent by the resource management system 104, the blockchain platform 102 obtains a smart contract that matches the resource issuance instruction; searches for a first contract party that has an indirect resource issuance relationship with the target object through the smart contract, and at least one second contract party that connects the target object and the first contract party in a hierarchical relationship; sends a first resource issuance request to the first contract party; upon receiving the first resource issuance confirmation information returned by the first contract party based on the first resource issuance request, sends a second resource issuance request to each second contract party in sequence according to the hierarchical relationship; upon receiving the second resource issuance confirmation information returned by each second contract party based on the second resource issuance request, sends a prompt message of successful resource issuance to the target object.

[0035] In an exemplary embodiment, Figure 2 As shown, a resource distribution method is provided, which is applied to Figure 1 Taking the blockchain platform 102 in the example as an example, the following steps are included:

[0036] Step S202, in response to a resource release instruction for a target object, obtain a smart contract that matches the resource release instruction.

[0037] Among them, the target object may refer to the user object to which resources need to be issued. It can be understood that resource issuance refers to issuing a certain amount of resources such as salary or bonus to the user object based on the work situation or performance of the user object. The resource issuance instruction refers to the instruction to issue resources to the target object, which is initiated by the resource management system. The smart contract may refer to the smart contract for the resource issuance instruction pre-stored in the blockchain platform. It should be noted that the smart contract can be pre-created and stored in the blockchain platform before the resource issuance instruction is initiated.

[0038] Exemplarily, when the blockchain platform receives a resource release instruction for a target object sent by the resource management system, it queries for a smart contract that matches the resource release instruction, and executes a resource release operation for the target object based on the smart contract.

[0039] Step S204, searching through the smart contract for a first contract party that has an indirect resource distribution relationship with the target object, and at least one second contract party that connects the target object and the first contract party in a hierarchical relationship.

[0040] It should be noted that the smart contract records each process node for confirming the resource release to the target object. Each process node corresponds to a contract party, which refers to the user object that confirms the resource release to the target object. In one example, the contract party can be a user object such as an enterprise, a contractor, or a foreman. Each contract party has a corresponding smart contract, and there is an association between the smart contract corresponding to the contract party and the smart contract that matches the resource release instruction, such as Figure 3 As shown, the middle is a smart contract, which can record the smart contract number, the name of the target object, the resource distribution account, the resource distribution amount, the resource distribution time, the business association number, etc., and the surrounding are all related contracts that have a relationship with the smart contract. Figure 4 , Figure 4 The hierarchical relationship between the various contracts is shown in FIG. 1 , including contract 1 corresponding to the first contract party, contract 2 corresponding to the second contract party, contract 3 corresponding to the second contract party, and the smart contract matching the resource release instruction. Contract 1, contract 2, and contract 3 are all associated contracts of the smart contract. The first contract party is the highest-level resource release confirmation party. The first contract party has an indirect resource release relationship with the target object, that is, the first contract party needs to be confirmed by the resource release of each second contract party before it can release the resources to the target object. Contract 2 and contract 3 both belong to the second contract party, that is, the resource release confirmation party with a lower level than the first contract party. In other words, the second contract party has a hierarchical relationship with the first contract party and the target object, respectively, and the level of the first contract party is greater than that of the second contract party, and the level is greater than that of the target object. Of course, in actual applications, there is also a hierarchical relationship between contract 2 and contract 3, that is, the level of contract 2 is greater than that of contract 3, so contract 3 can be further divided into the third contract party. For ease of understanding, this embodiment is only described based on the first contract party and the second contract party.

[0041] Exemplarily, after acquiring the smart contract, the blockchain platform can query the first contract party that has an indirect resource issuance relationship with the smart contract, and then based on the hierarchical relationship table of the first contract party, query at least one candidate contract party that has a hierarchical relationship with the first contract party, and determine whether each candidate contract party also has a hierarchical relationship with the target object based on the hierarchical relationship table of the target object. If so, it will be used as the second contract party, if not, it will not be used as the second contract party.

[0042] In actual applications, a smart contract can only execute a resource issuance request once. Therefore, in one embodiment, it also includes: when the smart contract is not executed repeatedly, obtaining the contract identifier of the smart contract; searching for the first contract party that has an indirect resource issuance relationship with the target object through the smart contract, including: querying and obtaining the first contract party that has an indirect resource issuance relationship with the target object through the contract identifier of the smart contract.

[0043] The contract identifier may refer to a unique identifier of a smart contract, such as a contract number or a contract code.

[0044] Exemplarily, before querying the first contract party, the blockchain platform needs to first perform a repeatability test on the smart contract, that is, to detect whether the smart contract has executed the resource release operation. Specifically, it can be judged by the contract log of the smart contract, such as querying whether there is a historical execution record in the contract log. If it exists, it is considered that the smart contract has executed the resource release operation. If it does not exist, it is considered that the smart contract has not executed the resource release operation. It is also possible to directly obtain the contract name corresponding to the resource release record of the target object. If the contract name is consistent with the name of the smart contract in this embodiment, it is considered that the smart contract has executed the resource release operation. If it is inconsistent, it is considered that the smart contract has not executed the resource release operation. Of course, in actual applications, other methods can also be used to detect whether the smart contract is repeatedly executed, and the specific detection method is not limited here. In the case that the smart contract does not have repeated execution, the blockchain platform further obtains the contract identifier of the smart contract, and then, based on the contract identifier, queries the first contract party that has an indirect resource release relationship with the target object.

[0045] Step S206: Send a first resource release request to the first contract party.

[0046] The first resource issuance request may refer to a request instruction for requesting the first contract party to confirm the resource issuance.

[0047] For example, after querying the first contract party and the second contract party, the blockchain platform may first issue a resource release request to the first contract party, and update the contract status of the contract corresponding to the first contract party, such as adjusting the contract status to pending confirmation. After the first contract party completes the resource release confirmation, the blockchain platform may synchronously update the contract status to confirmed.

[0048] Step S208: upon receiving the first resource issuance confirmation information returned by the first contract party based on the first resource issuance request, sending the second resource issuance request to each second contract party in sequence according to the hierarchical relationship.

[0049] The first resource release confirmation information may refer to information that the first contract party completes the resource release confirmation, such as a receipt signal of the resource release confirmation. The second resource release request may refer to a request instruction for requesting the second contract party to perform resource release confirmation.

[0050] Exemplarily, after receiving the first resource issuance confirmation information returned by the first contract party based on the first resource issuance request, the blockchain platform sends the second resource issuance request to each second contract party in sequence according to the hierarchical relationship. It can be understood that if there is a third contract party, then after receiving the second resource issuance confirmation information returned by the second contract party, the third resource issuance confirmation request will be sent to the third contract party.

[0051] Step S210: upon receiving the second resource issuance confirmation information returned by each second contract party based on the second resource issuance request, a prompt message indicating successful resource issuance is sent to the target object.

[0052] The second resource release confirmation information may refer to information indicating that the second contract party has completed the resource release confirmation. The prompt information is used to inform the target object that the resource release is successful.

[0053] Exemplarily, after the blockchain platform receives the confirmation information returned by each second contract party based on the second resource issuance request, it indicates that all contract parties have completed the resource issuance confirmation at this time, and the resources will flow from the resource issuance account of the first contract party to the resource issuance account of the second contract party, and finally reach the resource issuance account of the target object. At this point, the entire resource method process ends, and the blockchain platform can prompt the target object with information about the successful resource issuance in the form of text messages or emails.

[0054] In one example, the business association number in the smart contract is associated with the business number when the resource management system initiates the resource release instruction. In this way, during the resource release process, the resource management system can query the resource release confirmation status of each contract party based on the business number, so that the resource management system can supervise it.

[0055] In this embodiment, the blockchain platform responds to the resource issuance instruction for the target object and first obtains the smart contract that matches the resource issuance instruction. It can be understood that the smart contract relies on the blockchain to run and has the characteristics of de-trust, non-tamperability, economic efficiency, etc. Therefore, the smart contract technology is introduced in this application. On the basis of ensuring accurate query and search for the first contract party that has an indirect resource issuance relationship with the target object, and at least one second contract party that connects the target object and the first contract party in a hierarchical relationship, it can also ensure that each contract party cannot arbitrarily tamper with the resource transfer information, thereby improving the security of resource issuance. Then the blockchain platform sends a first resource issuance request to the first contract party to request the first contract party to perform resource issuance processing, and after receiving the first resource issuance confirmation information returned by the first contract party based on the first resource issuance request, the second resource issuance request is sent to each second contract party in sequence according to the hierarchical relationship to request each second contract party to perform resource issuance processing. By configuring a multi-level resource issuance architecture, only after the contract party at the previous level has completed the resource issuance processing, the contract party at the next level can perform resource issuance processing, which effectively avoids the current operational confusion problem, makes the entire resource issuance processing flow clearer, and is conducive to accurate monitoring and management of resource issuance. Finally, after receiving the second resource issuance confirmation information returned by each second contract party based on the second resource issuance request, the resource issuance process is completed, and a prompt message of successful resource issuance is sent to the target object. In this way, this application introduces the smart contract technology in the blockchain platform and the multi-level resource issuance architecture to make the resource issuance process safer and clearer, thereby improving the reliability of resource issuance.

[0056] In an exemplary embodiment, Figure 5 As shown, the creation process of a smart contract also includes:

[0057] Step S502, in response to the instruction to store the resource issuance information of the target object, perform a standardization check on the resource issuance information to obtain a standardization check result of the resource issuance information.

[0058] It should be noted that before resources are issued, the resource issuance information of the target object needs to be stored on the chain. The evidence instruction refers to the instruction to store the resource issuance information on the chain. The resource issuance information may include the object information of the target object and the issuance resource information. The object information may refer to the basic attribute information of the target object, including but not limited to name, gender, work content, position, department, etc. The issuance resource information includes but is not limited to the resource issuance amount, resource issuance account, resource issuance time, etc. The normative verification result can be used to characterize whether the information format of the resource issuance information is standardized.

[0059] For example, when the blockchain platform receives a notarization instruction for resource distribution information of a target object sent by a resource management system, it can first perform a normative check on the resource distribution information, that is, check whether the information format of the resource distribution information meets the preset specification requirements, thereby obtaining a normative check result for the resource distribution information.

[0060] Step S504, when the normative verification result indicates that the verification has passed, a smart contract matching the evidence storage instruction is created based on the resource issuance information.

[0061] For example, when the normative verification result indicates that the resource release information verification has passed, it means that the information format of the resource release information complies with the specification. At this time, the blockchain platform can create a smart contract containing the resource release information, and the smart contract matches the evidence storage instruction.

[0062] In one embodiment, in response to a resource issuance instruction for a target object, obtaining a smart contract that matches the resource issuance instruction includes: in response to a resource issuance instruction that matches a proof instruction, obtaining a smart contract that matches the proof instruction.

[0063] It can be understood that a proof storage instruction can have a corresponding resource issuance instruction.

[0064] Exemplarily, when the blockchain platform receives a resource issuance instruction that matches the evidence instruction of the resource issuance information of the target object, it obtains a smart contract that is pre-created based on the evidence instruction.

[0065] In this embodiment, the resource issuance information is checked for standardization to ensure its accuracy and standardization, thereby ensuring the accuracy of the smart contract and further ensuring the reliability of resource issuance.

[0066] In an exemplary embodiment, Figure 6 As shown, in response to the instruction to store the resource issuance information of the target object, the resource issuance information is subjected to a normative verification, and a normative verification result of the resource issuance information is obtained, including:

[0067] Step S602, in response to the instruction to store the resource issuance information of the target object, decrypt the resource issuance information to obtain the target issuance information.

[0068] The target release information refers to the information obtained after decrypting the resource release information.

[0069] For example, when the blockchain platform receives a notarization instruction for resource distribution information for a target object from a resource management system, the resource management system will encrypt the resource distribution information to ensure the security of the resource distribution information. Therefore, the blockchain platform needs to first decrypt the resource distribution information to obtain the decrypted target distribution information.

[0070] Step S604: split the target distribution information to obtain the object information of the target object and the distribution resource information of the target object.

[0071] It should be noted that the resource distribution information is information obtained by the resource management system after combining the object information of the target object and the distribution resource information of the target object.

[0072] Exemplarily, after obtaining the decrypted target distribution information, the blockchain platform needs to further split the target distribution information. Specifically, according to the information tag, the object information of the target object and the distribution resource information of the target object can be split from the target distribution information.

[0073] Step S606, respectively perform normative verification on the object information and the distribution resource information to obtain a first normative verification result of the object information and a second normative verification result of the distribution resource information.

[0074] Step S608, taking the first normative verification result and the second normative verification result together as the normative verification result.

[0075] Among them, the first normativeness check result can be used to indicate whether the object information complies with the norms, and the second normativeness check result can be used to indicate whether the released resource information complies with the norms.

[0076] For example, since different types of information have different attributes and format requirements, in order to ensure the accuracy of the normative verification, after completing the information splitting, the blockchain platform can perform normative verification on the split object information and the issued resource information respectively, and obtain the first normative verification result of the object information and the second normative verification result of the issued resource information. The two results are used together as the normative verification result.

[0077] In this embodiment, information is split to obtain the object information and the issued resource information of the target object, so that the object information and the issued resource information are respectively subjected to normative verification, thereby improving the accuracy of the normative verification, thereby improving the accuracy of the smart contract, and further improving the reliability of resource issuance.

[0078] In one embodiment, when first resource issuance confirmation information returned by the first contract party based on the first resource issuance request is received, a second resource issuance request is sent to each of the second contract parties in sequence according to a hierarchical relationship, including: if the first resource issuance confirmation information returned by the first contract party based on the first resource issuance request is received within a preset resource issuance time, the second resource issuance request is sent to each of the second contract parties in sequence according to a hierarchical relationship; if the first resource issuance confirmation information returned by the first contract party based on the first resource issuance request is not received within the preset resource issuance time, the resource issuance confirmation operation indicated by the first resource issuance request is executed to obtain a resource issuance confirmation result; when the resource issuance confirmation result indicates that the resource issuance has been confirmed, the second resource issuance request is sent to each of the second contract parties in sequence according to the hierarchical relationship.

[0079] The preset resource release time may refer to a preset time period for resource release, such as a week in which the first contracting party or the second contracting party needs to complete resource release confirmation.

[0080] Exemplarily, if within the preset resource release time, the blockchain platform receives the first resource release confirmation information returned by the first contract party based on the first resource release request, then the second resource release request is sent to each second contract party in sequence according to the hierarchical relationship, and the second contract party is monitored in real time to see whether it returns the second resource release confirmation information within the preset resource release time. If within the preset resource release time, the blockchain platform does not receive the first resource release confirmation information returned by the first contract party based on the first resource release request, indicating that the resource release confirmation of the first contract party has timed out. In order to ensure that resources can be released to the target object on time, the blockchain platform can automatically execute the resource release confirmation operation indicated by the first resource release request, obtain the resource release confirmation result, and if the resource release confirmation result indicates that the resource release has been confirmed, the second resource release request is sent to each second contract party in sequence according to the hierarchical relationship. If the resource release confirmation result indicates that the resource release is not confirmed, the reason for the non-confirmation needs to be investigated.

[0081] In this embodiment, by specifying the resource release time, if the contract party fails to perform resource release confirmation within the time limit, the resource release confirmation is automatically performed to ensure that the resources can be released to the target object on time, thereby improving the reliability of resource release.

[0082] In one embodiment, if first resource issuance suspension information is returned by the first contract party based on the first resource issuance request, a prompt message of stopping resource issuance is sent to the target object; the first resource issuance suspension information is determined by the first contract party based on the project requirements of the project processed by the target object; if second resource issuance suspension information is returned by the second contract party based on the second resource issuance request, an inquiry request for the second resource issuance suspension information is sent to the first contract party; when a confirmation instruction is returned by the first contract party based on the inquiry request, a prompt message of stopping resource issuance is sent to the target object.

[0083] The first resource issuance suspension information may refer to the request information for suspending resource issuance initiated by the first contract party, that is, the first contract party requests to suspend the issuance of resources to the target object. Project requirements may refer to the business requirements of the project handled by the target object, including but not limited to business completion status, business payment status, business progress, etc. The second resource issuance suspension information may refer to the request information for suspending resource issuance initiated by the second contract party, that is, the second contract party requests to suspend the issuance of resources to the target object.

[0084] Exemplarily, if the blockchain platform receives a request message for suspending resource issuance initiated by the first contract party according to business needs, that is, the first contract party requests to suspend the issuance of resources to the target object, the blockchain platform can suspend the resource issuance process and send a prompt message to the target object that the resource issuance has been stopped. If the blockchain platform receives a request message for suspending resource issuance initiated by the second contract party, that is, the second contract party requests to suspend the issuance of resources to the target object, the blockchain platform needs to reconfirm with the first contract party, that is, send an inquiry request for the second resource issuance suspension information to the first contract party to inquire whether the first contract party confirms to suspend resource issuance. When receiving the confirmation instruction returned by the first contract party based on the inquiry request, that is, the first contract party also confirms to suspend resource issuance, a prompt message of stopping resource issuance is sent to the target object. If receiving a rejection instruction returned by the first contract party based on the inquiry request, the second resource issuance request is sent to the second contract party again.

[0085] In this embodiment, the contract parties can choose to suspend resource issuance according to actual business conditions. When the second contract party requests to suspend resource issuance, the consent of the first contract party is required, thereby improving the reliability of resource issuance.

[0086] In a specific embodiment, the application architecture diagram of the resource distribution method is as follows: Figure 7As shown, it includes a resource management system, a blockchain platform and a bank end. Specifically, the resource management system may first review the resource issuance information of the target object. If the review is passed, the resource management system encrypts the resource issuance information and then sends a certificate instruction to the blockchain platform to request that the resource issuance information be stored on the chain. The blockchain platform may first decrypt the resource issuance information to obtain the target issuance information. Then the target issuance information is split to obtain the object information of the target object and the issuance resource information of the target object. The object information and the issuance resource information are respectively subjected to normative verification to obtain a first normative verification result of the object information and a second normative verification result of the issuance resource information. The first normative verification result and the second normative verification result are used together as the normative verification result. If the normative verification result indicates that the verification is passed, the blockchain platform creates a smart contract that contains the resource issuance information and matches the certificate instruction.

[0087] In this way, when the blockchain platform receives the resource release instruction that matches the evidence storage instruction sent by the resource management system, it can obtain the smart contract that matches the evidence storage instruction. In the case that the smart contract does not have repeated execution, the contract identifier of the smart contract is obtained. Through the contract identifier, the first contract party that has an indirect resource release relationship with the target object and at least one second contract party that connects the target object and the first contract party in series according to the hierarchical relationship are queried. At this time, the bank side can release the resources to the account of the first contract party, and then send a first resource release request to the first contract party. If the first resource release confirmation information returned by the first contract party based on the first resource release request is received within the preset resource release time, the second resource release request is sent to each second contract party in turn according to the hierarchical relationship, and the resources in the first contract party account are released to the second contract party's account. If the first resource release confirmation information returned by the first contract party based on the first resource release request is not received within the preset resource release time, the resource release confirmation operation indicated by the first resource release request is automatically executed to obtain a resource release confirmation result. In the case where the resource release confirmation result indicates that the resource release has been confirmed, the second resource release request is sent to each second contract party in turn according to the hierarchical relationship. When receiving the second resource issuance confirmation information returned by each second contract party based on the second resource issuance request, a prompt message of successful resource issuance is sent to the target object through the resource management system, and the resource is transferred from the second contract party's account to the target object's resource issuance account. If the blockchain platform receives the first resource issuance suspension information returned by the first contract party based on the first resource issuance request, a prompt message of stopping resource issuance is sent to the target object. The first resource issuance suspension information is determined by the first contract party based on the project requirements of the project processed by the target object. If the second resource issuance suspension information returned by the second contract party based on the second resource issuance request is received, an inquiry request for the second resource issuance suspension information is sent to the first contract party, and when the confirmation instruction returned by the first contract party based on the inquiry request is received, a prompt message of stopping resource issuance is sent to the target object.

[0088] like Figure 8As shown in the figure, after the resource issuance is completed, the resource management system generates the corresponding resource issuance business record, which mainly includes the business number, resource issuance bank, resource issuance account, resource issuance quota, payment type, resource issuance date, etc. At the same time, the resource issuance confirmation of each contract party can be seen in real time. The bank side can also generate actual resource issuance details, and the resource flow from the resource issuance account on the bank side to the first contract party account mainly includes the resource issuance account, resource issuance quota, resource issuance date, business association number, first contract party account information, etc. The account of each contract party will generate corresponding resource in and out details for each contract, including business identification, contract number, resource issuance quota, resource issuance date, etc. The transparency of resource issuance is guaranteed.

[0089] In this embodiment, the blockchain platform responds to the resource issuance instruction for the target object and first obtains the smart contract that matches the resource issuance instruction. It can be understood that the smart contract relies on the blockchain to run and has the characteristics of de-trust, non-tamperability, economic efficiency, etc. Therefore, the smart contract technology is introduced in this application. On the basis of ensuring accurate query and search for the first contract party that has an indirect resource issuance relationship with the target object, and at least one second contract party that connects the target object and the first contract party in a hierarchical relationship, it can also ensure that each contract party cannot arbitrarily tamper with the resource transfer information, thereby improving the security of resource issuance. Then the blockchain platform sends a first resource issuance request to the first contract party to request the first contract party to perform resource issuance processing, and after receiving the first resource issuance confirmation information returned by the first contract party based on the first resource issuance request, the second resource issuance request is sent to each second contract party in sequence according to the hierarchical relationship to request each second contract party to perform resource issuance processing. By configuring a multi-level resource issuance architecture, only after the contract party at the previous level has completed the resource issuance processing, the contract party at the next level can perform resource issuance processing, which effectively avoids the current operational confusion problem, makes the entire resource issuance processing flow clearer, and is conducive to accurate monitoring and management of resource issuance. Finally, after receiving the second resource issuance confirmation information returned by each second contract party based on the second resource issuance request, the resource issuance process is completed, and a prompt message of successful resource issuance is sent to the target object. In this way, this application introduces the smart contract technology in the blockchain platform and the multi-level resource issuance architecture to make the resource issuance process safer and clearer, thereby improving the reliability of resource issuance.

[0090] It should be understood that, although the steps in the flowcharts involved in the above embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0091] Based on the same inventive concept, the embodiment of the present application also provides a resource distribution device for implementing the resource distribution method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more resource distribution device embodiments provided below can refer to the limitations on the resource distribution method above, and will not be repeated here.

[0092] In an exemplary embodiment, Fig. 9 As shown, a resource issuance device is provided, including: a smart contract acquisition module 902, which is used to respond to a resource issuance instruction for a target object and obtain a smart contract that matches the resource issuance instruction; a contract party query module 904, which is used to search for a first contract party that has an indirect resource issuance relationship with the target object and at least one second contract party that connects the target object and the first contract party in a hierarchical relationship through a smart contract; a first resource issuance request module 906, which is used to send a first resource issuance request to the first contract party; a second resource issuance request module 908, which is used to send a second resource issuance request to each second contract party in sequence according to the hierarchical relationship when receiving first resource issuance confirmation information returned by the first contract party based on the first resource issuance request; and a prompt module 910, which is used to send a prompt message of successful resource issuance to the target object when receiving second resource issuance confirmation information returned by each second contract party based on the second resource issuance request.

[0093] In one of the embodiments, the device also includes: a normative verification module, which is used to respond to the evidence instruction of the resource issuance information for the target object, perform normative verification on the resource issuance information, and obtain the normative verification result of the resource issuance information; a smart contract creation module, which is used to create a smart contract matching the evidence instruction based on the resource issuance information when the normative verification result indicates that the verification has passed; the smart contract acquisition module 902 is also used to: respond to the resource issuance instruction matching the evidence instruction, and obtain the smart contract matching the evidence instruction.

[0094] In one of the embodiments, the compliance verification module is also used to: in response to a certification instruction for resource issuance information of a target object, decrypt the resource issuance information to obtain target issuance information; split the target issuance information to obtain object information of the target object and issuance resource information of the target object; perform compliance verification on the object information and issuance resource information respectively to obtain a first compliance verification result of the object information and a second compliance verification result of the issuance resource information; and use the first compliance verification result and the second compliance verification result together as the compliance verification result.

[0095] In one of the embodiments, the second resource issuance request module 908 is further used to: if first resource issuance confirmation information returned by the first contract party based on the first resource issuance request is received within the preset resource issuance time, send the second resource issuance request to each second contract party in sequence according to the hierarchical relationship; if first resource issuance confirmation information returned by the first contract party based on the first resource issuance request is not received within the preset resource issuance time, execute the resource issuance confirmation operation indicated by the first resource issuance request to obtain a resource issuance confirmation result; when the resource issuance confirmation result indicates that the resource issuance has been confirmed, send the second resource issuance request to each second contract party in sequence according to the hierarchical relationship.

[0096] In one of the embodiments, the device is also used to: obtain the contract identifier of the smart contract when there is no repeated execution of the smart contract; the contract party query module 904 is also used to: query the first contract party that has an indirect resource issuance relationship with the target object through the contract identifier of the smart contract.

[0097] In one of the embodiments, the device is further used for: if first resource issuance suspension information returned by the first contract party based on the first resource issuance request is received, sending a prompt message of stopping resource issuance to the target object; the first resource issuance suspension information is determined by the first contract party based on the project requirements of the project processed by the target object; if second resource issuance suspension information returned by the second contract party based on the second resource issuance request is received, sending an inquiry request for the second resource issuance suspension information to the first contract party; when a confirmation instruction returned by the first contract party based on the inquiry request is received, sending a prompt message of stopping resource issuance to the target object.

[0098] Each module in the resource distribution device can be implemented in whole or in part by software, hardware or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each module.

[0099] In an exemplary embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as shown in FIG. Fig.10 As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store resource issuance data. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a resource issuance method is implemented.

[0100] Those skilled in the art will understand that Fig.10 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0101] In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the following steps when executing the computer program: in response to a resource release instruction for a target object, obtaining a smart contract matching the resource release instruction; searching through the smart contract for a first contract party that has an indirect resource release relationship with the target object, and at least one second contract party that connects the target object and the first contract party in a hierarchical relationship; sending a first resource release request to the first contract party; upon receiving first resource release confirmation information returned by the first contract party based on the first resource release request, sending a second resource release request to each second contract party in sequence according to the hierarchical relationship; upon receiving second resource release confirmation information returned by each second contract party based on the second resource release request, sending a prompt message of successful resource release to the target object.

[0102] In one embodiment, the processor also implements the following steps when executing the computer program: in response to the evidence instruction for the resource issuance information of the target object, perform a normative check on the resource issuance information to obtain a normative check result of the resource issuance information; when the normative check result indicates that the check has passed, create a smart contract matching the evidence instruction based on the resource issuance information; in response to the resource issuance instruction for the target object, obtain a smart contract matching the resource issuance instruction, including: in response to the resource issuance instruction matching the evidence instruction, obtain a smart contract matching the evidence instruction.

[0103] In one embodiment, when the processor executes the computer program, the following steps are also implemented: in response to the evidence instruction for the resource issuance information of the target object, the resource issuance information is decrypted to obtain the target issuance information; the target issuance information is split to obtain the object information of the target object and the issuance resource information of the target object; the object information and the issuance resource information are respectively subjected to normative verification to obtain a first normative verification result of the object information and a second normative verification result of the issuance resource information; the first normative verification result and the second normative verification result are used together as the normative verification result.

[0104] In one embodiment, when the processor executes the computer program, the following steps are also implemented: if within a preset resource release time, first resource release confirmation information returned by the first contract party based on the first resource release request is received, a second resource release request is sent to each second contract party in sequence according to the hierarchical relationship; if within the preset resource release time, first resource release confirmation information returned by the first contract party based on the first resource release request is not received, a resource release confirmation operation indicated by the first resource release request is executed to obtain a resource release confirmation result; when the resource release confirmation result indicates that the resource release has been confirmed, a second resource release request is sent to each second contract party in sequence according to the hierarchical relationship.

[0105] In one embodiment, when the processor executes the computer program, the following steps are also implemented: when there is no repeated execution of the smart contract, the contract identifier of the smart contract is obtained; and the first contract party that has an indirect resource issuance relationship with the target object is searched through the smart contract, including: querying and obtaining the first contract party that has an indirect resource issuance relationship with the target object through the contract identifier of the smart contract.

[0106] In one embodiment, the processor further implements the following steps when executing the computer program: if first resource issuance suspension information returned by the first contract party based on the first resource issuance request is received, a prompt message of stopping resource issuance is sent to the target object; the first resource issuance suspension information is determined by the first contract party based on the project requirements of the project processed by the target object; if second resource issuance suspension information returned by the second contract party based on the second resource issuance request is received, an inquiry request for the second resource issuance suspension information is sent to the first contract party; when a confirmation instruction returned by the first contract party based on the inquiry request is received, a prompt message of stopping resource issuance is sent to the target object.

[0107] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented: in response to a resource release instruction for a target object, a smart contract matching the resource release instruction is obtained; through the smart contract, a first contract party that has an indirect resource release relationship with the target object, and at least one second contract party that connects the target object and the first contract party in a hierarchical relationship are searched; a first resource release request is sent to the first contract party; upon receiving first resource release confirmation information returned by the first contract party based on the first resource release request, a second resource release request is sent to each second contract party in sequence according to the hierarchical relationship; upon receiving second resource release confirmation information returned by each second contract party based on the second resource release request, a prompt message of successful resource release is sent to the target object.

[0108] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: in response to the evidence instruction for the resource issuance information of the target object, the resource issuance information is subjected to a normative check to obtain the normative check result of the resource issuance information; when the normative check result indicates that the check has passed, a smart contract matching the evidence instruction is created based on the resource issuance information; in response to the resource issuance instruction for the target object, a smart contract matching the resource issuance instruction is obtained, including: in response to the resource issuance instruction matching the evidence instruction, a smart contract matching the evidence instruction is obtained.

[0109] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: in response to the evidence instruction for the resource issuance information of the target object, the resource issuance information is decrypted to obtain the target issuance information; the target issuance information is split to obtain the object information of the target object and the issuance resource information of the target object; the object information and the issuance resource information are respectively subjected to normative verification to obtain a first normative verification result of the object information and a second normative verification result of the issuance resource information; the first normative verification result and the second normative verification result are used together as the normative verification result.

[0110] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: if within a preset resource release time, first resource release confirmation information returned by the first contract party based on the first resource release request is received, a second resource release request is sent to each second contract party in sequence according to the hierarchical relationship; if within the preset resource release time, first resource release confirmation information returned by the first contract party based on the first resource release request is not received, a resource release confirmation operation indicated by the first resource release request is executed to obtain a resource release confirmation result; when the resource release confirmation result indicates that the resource release has been confirmed, a second resource release request is sent to each second contract party in sequence according to the hierarchical relationship.

[0111] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: in the case where there is no repeated execution of the smart contract, the contract identifier of the smart contract is obtained; and the first contract party that has an indirect resource issuance relationship with the target object is searched through the smart contract, including: querying and obtaining the first contract party that has an indirect resource issuance relationship with the target object through the contract identifier of the smart contract.

[0112] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: if first resource issuance suspension information returned by the first contract party based on the first resource issuance request is received, a prompt message of stopping resource issuance is sent to the target object; the first resource issuance suspension information is determined by the first contract party based on the project requirements of the project processed by the target object; if second resource issuance suspension information returned by the second contract party based on the second resource issuance request is received, an inquiry request for the second resource issuance suspension information is sent to the first contract party; when a confirmation instruction returned by the first contract party based on the inquiry request is received, a prompt message of stopping resource issuance is sent to the target object.

[0113] In one embodiment, a computer program product is provided, including a computer program, which implements the following steps when executed by a processor: in response to a resource release instruction for a target object, obtaining a smart contract that matches the resource release instruction; searching through the smart contract for a first contract party that has an indirect resource release relationship with the target object, and at least one second contract party that connects the target object and the first contract party in a hierarchical relationship; sending a first resource release request to the first contract party; upon receiving first resource release confirmation information returned by the first contract party based on the first resource release request, sending a second resource release request to each second contract party in sequence according to the hierarchical relationship; upon receiving second resource release confirmation information returned by each second contract party based on the second resource release request, sending a prompt message of successful resource release to the target object.

[0114] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: in response to the evidence instruction for the resource issuance information of the target object, the resource issuance information is subjected to a normative check to obtain the normative check result of the resource issuance information; when the normative check result indicates that the check has passed, a smart contract matching the evidence instruction is created based on the resource issuance information; in response to the resource issuance instruction for the target object, a smart contract matching the resource issuance instruction is obtained, including: in response to the resource issuance instruction matching the evidence instruction, a smart contract matching the evidence instruction is obtained.

[0115] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: in response to the evidence instruction for the resource issuance information of the target object, the resource issuance information is decrypted to obtain the target issuance information; the target issuance information is split to obtain the object information of the target object and the issuance resource information of the target object; the object information and the issuance resource information are respectively subjected to normative verification to obtain a first normative verification result of the object information and a second normative verification result of the issuance resource information; the first normative verification result and the second normative verification result are used together as the normative verification result.

[0116] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: if within a preset resource release time, first resource release confirmation information returned by the first contract party based on the first resource release request is received, a second resource release request is sent to each second contract party in sequence according to the hierarchical relationship; if within the preset resource release time, first resource release confirmation information returned by the first contract party based on the first resource release request is not received, a resource release confirmation operation indicated by the first resource release request is executed to obtain a resource release confirmation result; when the resource release confirmation result indicates that the resource release has been confirmed, a second resource release request is sent to each second contract party in sequence according to the hierarchical relationship.

[0117] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: in the case where there is no repeated execution of the smart contract, the contract identifier of the smart contract is obtained; and the first contract party that has an indirect resource issuance relationship with the target object is searched through the smart contract, including: querying and obtaining the first contract party that has an indirect resource issuance relationship with the target object through the contract identifier of the smart contract.

[0118] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: if first resource issuance suspension information returned by the first contract party based on the first resource issuance request is received, a prompt message of stopping resource issuance is sent to the target object; the first resource issuance suspension information is determined by the first contract party based on the project requirements of the project processed by the target object; if second resource issuance suspension information returned by the second contract party based on the second resource issuance request is received, an inquiry request for the second resource issuance suspension information is sent to the first contract party; when a confirmation instruction returned by the first contract party based on the inquiry request is received, a prompt message of stopping resource issuance is sent to the target object.

[0119] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.

[0120] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0121] The above embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A resource distribution method, characterized in that: The method comprises: In response to a resource release instruction for a target object, obtaining a smart contract matching the resource release instruction; Searching, through the smart contract, for a first party to a contract that has an indirect resource distribution relationship with the target object, and for at least one second party to a contract that connects the target object and the first party to a contract in a hierarchical relationship; Sending a first resource release request to the first contract party; Upon receiving first resource issuance confirmation information returned by the first contract party based on the first resource issuance request, sending a second resource issuance request to each of the second contract parties in sequence according to the hierarchical relationship; When receiving the second resource issuance confirmation information returned by each of the second contract parties based on the second resource issuance request, a prompt message indicating successful resource issuance is sent to the target object.

2. The method according to claim 1, characterized in that The method further comprises: In response to a storage instruction for resource distribution information of a target object, performing a normative verification on the resource distribution information to obtain a normative verification result of the resource distribution information; When the normative verification result indicates that the verification is passed, a smart contract matching the evidence storage instruction is created based on the resource issuance information; The step of obtaining, in response to a resource distribution instruction for a target object, a smart contract matching the resource distribution instruction comprises: In response to a resource issuance instruction that matches the evidence storage instruction, a smart contract that matches the evidence storage instruction is obtained.

3. The method according to claim 2, characterized in that The step of performing a normative check on the resource issuance information in response to the instruction for storing the resource issuance information of the target object to obtain a normative check result of the resource issuance information includes: In response to a storage instruction for resource issuance information of a target object, decrypt the resource issuance information to obtain target issuance information; Splitting the target distribution information to obtain object information of the target object and distribution resource information of the target object; Performing a normative check on the object information and the distribution resource information respectively, and obtaining a first normative check result of the object information and a second normative check result of the distribution resource information; The first normative verification result and the second normative verification result are taken together as the normative verification result.

4. The method according to claim 1, characterized in that: The sending of the second resource issuance request to each of the second contract parties in sequence according to the hierarchical relationship upon receiving the first resource issuance confirmation information returned by the first contract party based on the first resource issuance request comprises: If within the preset resource release time, first resource release confirmation information returned by the first contract party based on the first resource release request is received, second resource release requests are sent to each of the second contract parties in sequence according to the hierarchical relationship; If the first resource issuance confirmation information returned by the first contract party based on the first resource issuance request is not received within the preset resource issuance time, the resource issuance confirmation operation indicated by the first resource issuance request is executed to obtain a resource issuance confirmation result; When the resource issuance confirmation result indicates that the resource issuance has been confirmed, a second resource issuance request is sent to each of the second contract parties in sequence according to the hierarchical relationship.

5. The method according to claim 1, characterized in that The method further comprises: In the case where there is no repeated execution of the smart contract, obtaining a contract identifier of the smart contract; The searching, through the smart contract, for a first contract party having an indirect resource distribution relationship with the target object includes: Through the contract identifier of the smart contract, the first contract party that has an indirect resource issuance relationship with the target object is queried and obtained.

6. The method according to claim 1, characterized in that The method further comprises: If first resource issuance suspension information returned by the first contract party based on the first resource issuance request is received, a prompt message of stopping resource issuance is sent to the target object; the first resource issuance suspension information is determined by the first contract party based on the project requirements of the project processed by the target object; If second resource issuance suspension information returned by the second contract party based on the second resource issuance request is received, sending a query request for the second resource issuance suspension information to the first contract party; When receiving a confirmation instruction returned by the first contract party based on the query request, a prompt message of stopping resource issuance is sent to the target object.

7. A resource distribution device, characterized in that: The device comprises: A smart contract acquisition module, configured to respond to a resource release instruction for a target object and acquire a smart contract matching the resource release instruction; A contract party query module, used to search through the smart contract for a first contract party that has an indirect resource distribution relationship with the target object, and at least one second contract party that is hierarchically connected to the target object and the first contract party; A first resource issuance request module, configured to send a first resource issuance request to the first contract party; A second resource issuance request module is used to send a second resource issuance request to each of the second contract parties in sequence according to the hierarchical relationship when receiving the first resource issuance confirmation information returned by the first contract party based on the first resource issuance request; The prompt module is used to send a prompt message of successful resource issuance to the target object when receiving the second resource issuance confirmation message returned by each of the second contract parties based on the second resource issuance request.

8. The device according to claim 7, characterized in that The device also includes: A standardization verification module, configured to respond to a certificate storage instruction for resource issuance information of a target object, perform standardization verification on the resource issuance information, and obtain a standardization verification result of the resource issuance information; A smart contract creation module, configured to create a smart contract matching the evidence storage instruction based on the resource issuance information when the normative verification result indicates that the verification has passed; The smart contract acquisition module is also used to: in response to a resource issuance instruction that matches the evidence storage instruction, acquire a smart contract that matches the evidence storage instruction.

9. The device according to claim 8, characterized in that The normative verification module is also used to: in response to the evidence storage instruction for the resource issuance information of the target object, decrypt the resource issuance information to obtain the target issuance information; split the target issuance information to obtain the object information of the target object and the issuance resource information of the target object; perform normative verification on the object information and the issuance resource information respectively to obtain a first normative verification result of the object information and a second normative verification result of the issuance resource information; The first normative verification result and the second normative verification result are taken together as the normative verification result.

10. The device according to claim 7, characterized in that The second resource issuance request module is further used for: if the first resource issuance confirmation information returned by the first contract party based on the first resource issuance request is received within the preset resource issuance time, sending the second resource issuance request to each of the second contract parties in sequence according to the hierarchical relationship; if the first resource issuance confirmation information returned by the first contract party based on the first resource issuance request is not received within the preset resource issuance time, executing the resource issuance confirmation operation indicated by the first resource issuance request to obtain a resource issuance confirmation result; and if the resource issuance confirmation result indicates that the resource issuance has been confirmed, sending the second resource issuance request to each of the second contract parties in sequence according to the hierarchical relationship.

11. The device according to claim 7, characterized in that The device is also used to: obtain a contract identifier of the smart contract when there is no repeated execution of the smart contract; The contract party query module is also used to: query and obtain the first contract party that has an indirect resource issuance relationship with the target object through the contract identifier of the smart contract.

12. The device according to claim 7, characterized in that The device is also used for: if first resource issuance suspension information returned by the first contract party based on the first resource issuance request is received, sending a prompt message of stopping resource issuance to the target object; the first resource issuance suspension information is determined by the first contract party based on the project requirements of the project processed by the target object; if second resource issuance suspension information returned by the second contract party based on the second resource issuance request is received, sending an inquiry request for the second resource issuance suspension information to the first contract party; when a confirmation instruction returned by the first contract party based on the inquiry request is received, sending a prompt message of stopping resource issuance to the target object.

13. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.

14. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

15. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.