CN115328996A - Transaction document uplink method, device, terminal and storage medium - Google Patents

Transaction document uplink method, device, terminal and storage medium Download PDF

Info

Publication number
CN115328996A
CN115328996A CN202210837428.6A CN202210837428A CN115328996A CN 115328996 A CN115328996 A CN 115328996A CN 202210837428 A CN202210837428 A CN 202210837428A CN 115328996 A CN115328996 A CN 115328996A
Authority
CN
China
Prior art keywords
transaction
endorsement
node
document
result
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210837428.6A
Other languages
Chinese (zh)
Inventor
李丰
洪佳南
邱敏
吴彬
石幸英
王文超
俞致远
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Du Xiaoman Technology Beijing Co Ltd
Original Assignee
Du Xiaoman Technology Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Du Xiaoman Technology Beijing Co Ltd filed Critical Du Xiaoman Technology Beijing Co Ltd
Priority to CN202210837428.6A priority Critical patent/CN115328996A/en
Publication of CN115328996A publication Critical patent/CN115328996A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3825Use of electronic signatures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3829Payment protocols; Details thereof insuring higher security of transaction involving key management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0609Buyer or seller confidence or verification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Abstract

The application discloses a transaction document chaining method, a device, a terminal and a storage medium, wherein the method comprises the following steps: the proposal node receives a transaction request sent by a participant, and verifies the participant based on the transaction request to obtain a first verification result; generating a transaction receipt based on the first verification result and the transaction request; and sending the transaction document to the endorsement node, verifying the transaction document by the endorsement node to obtain a second verification result, and uploading the transaction document to the block chain network if the second verification result and the confidence value corresponding to the endorsement node meet the preset condition. The invention improves the difficulty of uploading fake documents by enterprises by means of manual verification, ensures the authenticity and credibility of the uplink data, introduces a Token incentive means after manual verification and establishes a corresponding punishment mechanism so as to create a credible supply chain financial block chain network.

Description

Transaction document uplink method, device, terminal and storage medium
Technical Field
The application relates to the technical field of supply chains, in particular to a method, a device, a terminal and a storage medium for chaining of transaction documents.
Background
The blockchain is essentially a distributed ledger system, and like other distributed systems, the most central problem is how to agree on all nodes in a system with a weak trust, i.e. a consensus problem. In the process of chain linking documents, consensus is widely applied.
At present, in the technology of supply chain finance, a block chain network formed by supply chain enterprises considers that manually collected data is credible in advance, and common identification and other modules only perform basic identity authentication and other verification on documents to be linked.
However, the above method cannot guarantee the authenticity and reliability of the data in the document.
Disclosure of Invention
The application mainly aims to provide a transaction document uplink method, a transaction document uplink device, a transaction document uplink terminal and a transaction document uplink storage medium, so as to solve the problems of low authenticity and reliability of data in documents in the related technology.
In order to achieve the above object, in a first aspect, the present application provides a method for making an uplink transaction document, including:
the proposal node receives a transaction request sent by a participant, and verifies the participant based on the transaction request to obtain a first verification result;
generating a transaction receipt based on the first verification result and the transaction request;
the transaction document is sent to an endorsement node, and the endorsement node verifies the transaction document to obtain a second verification result;
and if the second check result and the confidence value corresponding to the endorsement node meet the preset condition, uploading the transaction document to the block chain network.
In one possible implementation, the transaction request includes transaction parameters, and the transaction parameters at least include: the public key address to which the node belongs, the random number, the transaction type to which the uploaded data belongs, the data content of the uploaded data, the transaction signature, the number of tokens agreed to be paid in the transaction uplink and the identification of the manually uploaded data.
In one possible implementation manner, verifying the participant based on the transaction request to obtain a first verification result includes:
verifying whether the transaction signature in the transaction request is correct;
and if the transaction signature is correct, sequentially checking the transaction authority corresponding to the participant and the authority of the proposal node to obtain a first checking result.
In one possible implementation, generating the transaction document based on the first verification result and the transaction request includes:
if the first verification result is yes, executing transaction content corresponding to the transaction request;
and generating a transaction document based on the transaction content.
In a possible implementation manner, the sending the transaction document to the endorsement node, and the endorsement node verifying the transaction document to obtain a second verification result includes:
if the transaction document is successfully verified;
and verifying the authority of the proposal node and the proposal signature in sequence to obtain a second verification result.
In a possible implementation manner, if the second verification result and the confidence value corresponding to the endorsement node satisfy the preset condition, uploading the transaction document to the block chain network, including:
if the second check result is yes, acquiring an endorsement result determined after the endorsement node carries out the endorsement on the transaction document;
and if the endorsement result meets the first preset threshold and the confidence value corresponding to the endorsement node meets the second preset threshold, uploading the transaction document to the block chain network.
In a possible implementation manner, after the uploading the transaction document to the block chain network if the second verification result and the confidence value corresponding to the endorsement node satisfy the preset condition, the method further includes:
and exciting endorsement nodes and participants marked as true by manual verification, and punishing endorsement nodes which are not subjected to manual verification.
In a second aspect, an embodiment of the present invention provides a transaction document chain linking apparatus, including:
the first verification module is used for receiving the transaction request sent by the participant by the proposal node and verifying the participant based on the transaction request to obtain a first verification result;
the bill generating module is used for generating a transaction bill based on the first inspection result and the transaction request;
the second checking module is used for sending the transaction document to the endorsement node, and the endorsement node checks the transaction document to obtain a second checking result;
and the document chaining module is used for uploading the transaction document to the block chain network if the second check result and the confidence value corresponding to the endorsement node meet the preset condition.
In a third aspect, an embodiment of the present invention provides a terminal, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the computer program to implement the steps of any of the above methods for uplink transaction documents.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored, and the computer program, when executed by a processor, implements the steps of any of the above methods for uplink transaction of documents.
The embodiment of the invention provides a method, a device, a terminal and a storage medium for chaining transaction documents, wherein the method comprises the following steps: the proposal node receives a transaction request sent by a participant, checks the participant based on the transaction request to obtain a first check result, then generates a transaction receipt based on the first check result and the transaction request, and sends the transaction receipt to the endorsement node, the endorsement node checks the transaction receipt to obtain a second check result, and if the second check result and the confidence value corresponding to the endorsement node meet the preset condition, the transaction receipt is uploaded to the block chain network. By means of manual verification, the difficulty of uploading false documents by enterprises is improved, and the authenticity and credibility of the uplink data are ensured; a Token incentive means after manual verification is introduced, so that all member enterprises are encouraged to carry out data verification, and an effort is made for creating a credible supply chain financial block chain network; meanwhile, a corresponding punishment mechanism is established, the right of the nodes which do not carry out manual verification for many times is reduced or the endorsement qualification of the nodes is deprived, and the credit value of the nodes which do not upload the documents for many times is gradually reduced until the nodes can not initiate a transaction.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this application, serve to provide a further understanding of the application and to enable other features, objects, and advantages of the application to be more apparent. The drawings and their description illustrate the embodiments of the invention and do not limit it. In the drawings:
fig. 1 is a flowchart illustrating an implementation of a method for uplink transaction of documents according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating an implementation of a method for uplink transaction of documents according to another embodiment of the present invention;
fig. 3 is a schematic structural diagram of an apparatus for linking transaction documents according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a terminal according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in other sequences than those illustrated or described herein.
It should be understood that, in various embodiments of the present invention, the sequence numbers of the processes do not mean the execution sequence, and the execution sequence of the processes should be determined by the functions and the internal logic of the processes, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
It should be understood that in the present application, "comprising" and "having" and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be understood that, in the present invention, "a plurality" means two or more. "and/or" is merely an association describing an associated object, meaning that three relationships may exist, for example, and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. "comprises A, B and C" and "comprises A, B, C" means that all three of A, B, C comprise, "comprises A, B or C" means that one of three of A, B, C is comprised, "comprises A, B and/or C" means that any 1 or any 2 or 3 of the three of A, B, C is comprised.
It should be understood that in the present invention, "B corresponding to a", "a corresponds to B", or "B corresponds to a" means that B is associated with a, and B can be determined from a. Determining B from a does not mean determining B from a alone, but may be determined from a and/or other information. And the matching of A and B means that the similarity of A and B is greater than or equal to a preset threshold value.
As used herein, "if" can be interpreted as "at … …" or "at … …" or "in response to a determination" or "in response to a detection", depending on context.
The technical solution of the present invention will be described in detail below with specific examples. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments.
Before describing the method for making up the chain of transaction documents provided by the present invention, the related technical terms need to be explained, which are as follows:
participant (Participant): the specific business party, i.e. each member enterprise of the supply chain, manages the affiliated node and can initiate transactions, documents and contract invocations.
Endorsement (Endorse): the method refers to a process of applying for signing endorsements by other participants, and is specifically realized by endorsement nodes.
Proposal (dispose): refers to an application for transaction data chaining. The proposal node can process the transaction proposal, and has the right to initiate endorsements and submit proposals.
Commit (Commit): the method refers to the confirmation and subsequent processing of a proposal according to an endorsement strategy after the transaction is finished.
To make the objects, technical solutions and advantages of the present invention clearer, the following description will be made of specific embodiments with reference to the accompanying drawings.
The application background of the invention is a block chain network under the background of supply chain financial business, namely a block chain network is formed among supply chain enterprises and adopts a form of a union chain. The block chain supply chain financial solution is an efficient, credible and low-cost financing platform which is created for capital parties and suppliers based on electronic credit certificates and accounts payable of core enterprises. The block chain is taken as a technical means, the trade background is depicted, and the trade link is penetrated, so that the credit of a core enterprise can be quickly and reliably transferred on a platform, and more suppliers (small and medium-sized micro enterprises) on the upstream and downstream of a supply chain can obtain equal, efficient and low-cost popular financial services. The credibility of manually uploading documents by enterprises has the deepest influence on a credit system of the whole supply chain network. Therefore, a method for chaining transaction documents is provided to ensure the credibility of the documents.
The consensus algorithm used in the blockchain network is not limited, and the main change point is in the endorsement link of the consensus algorithm. The whole consensus algorithm can be roughly divided into the following procedures:
a proposal stage: and after receiving the transaction (including the receipt) request, the proposal node verifies the request, executes the transaction after completing the verification, applies for endorsement to the endorsement node after packaging into a proposal and collects the endorsement result.
And (3) an endorsement stage: and after receiving the proposal, the endorsement node checks the label of the proposal, performs endorsement signature after the completion, and returns the result to the proposal node.
A submission stage: and after receiving the endorsement result, the proposal node checks whether the endorsement is successful according to the endorsement strategy, and if the endorsement is successful, the proposal node performs block entering and transaction playback operation.
In order to improve the credibility of manually uploading documents, a manual verification mechanism is introduced in an endorsement stage, all endorsement nodes (corresponding to core member enterprises in a supply chain) confirm the authenticity of the manually uploaded documents, and a confidence coefficient (0-100%) is set. At the commit stage, after a certain percentage (e.g., 2/3 nodes) of the authenticity checks are exceeded and the average confidence level meets a certain fraction (e.g., 80% or more), then a block posting operation may be performed.
In one embodiment, as shown in fig. 1, the present invention provides a method for making an uplink transaction document, comprising the following steps:
step S101: the proposal node receives a transaction request sent by a participant, and verifies the participant based on the transaction request to obtain a first verification result.
Wherein, the transaction request includes transaction parameters, and the transaction parameters at least include: the public key address of the node, the random number, the transaction type of the uploaded data, the data content of the uploaded data, the transaction signature, the number of tokens (tokens or tokens) approved to be paid in the transaction chain and the identification of the manually uploaded data.
Further, the participant is verified based on the transaction request to obtain a first verification result, whether the transaction signature in the transaction request is correct needs to be verified first, and if the transaction signature is correct, the transaction right corresponding to the participant and the right of the proposal node are sequentially verified to obtain the first verification result.
Specifically, referring to fig. 2, before the proposal node verifies the participant, the participant needs to find a corresponding proposal node through the routing table and initiate a transaction request (including a transaction document) to the corresponding proposal node, and the proposal node evaluates whether the participant has sufficient credit according to the credit score (i.e. confidence) on the chain, and then performs corresponding subsequent operations. That is, after receiving the transaction request sent by the participant, the proposal node performs the following operations according to the credit score of the participant node stored on the chain: if the credit score of the participant node is greater than or equal to the passing score (such as 80 points), the proposal stage is entered. If the node credit score of the participant is smaller than the passing score (such as 80 scores), the participant purchases the credit score through token to reach the passing score, and packages the credit score into an upper transaction chain, and then conducts the transaction of uploading the documents again after the upper chain operation is completed; if the participant does not purchase credit, the transaction is ended.
In addition, after the proposal node receives the transaction uploaded by the participant node, the proposal node not only checks the credit score, but also checks the transaction in other aspects, and the specific check points are as follows: verifying whether the participant has the transaction authority, verifying whether the signature of the participant is correct and verifying whether the proposal node has the authority to initiate the proposal.
Step S102: and generating a transaction receipt based on the first verification result and the transaction request.
And after the participants are verified, a first verification result is obtained. If the first verification result is yes, executing the transaction content corresponding to the transaction request, and then generating a transaction receipt based on the transaction content. If the first check result is negative, that is, the check fails, an error message is returned, and the procedure is terminated.
Step S103: and sending the transaction document to the endorsement node, and verifying the transaction document by the endorsement node to obtain a second verification result.
Specifically, after the transaction document is generated, the authority of the proposal node and the proposal signature are sequentially verified to obtain a second verification result.
Step S104: and if the second check result and the confidence value corresponding to the endorsement node meet the preset condition, uploading the transaction document to the block chain network.
Before the transaction document is uploaded, if the second check result is yes, obtaining an endorsement result determined after the endorsement node carries out the endorsement on the transaction document; and if the endorsement result meets the first preset threshold value and the confidence value corresponding to the endorsement node meets the second preset threshold value, uploading the transaction document to the block chain network. Specifically, if the endorsement node verifies the participating party and the transaction document and confirms that no problem exists, all nodes of the endorsement node need to endorse the transaction document to obtain endorsement results corresponding to all endorsement nodes. If the endorsement results in all endorsement results exceed a certain proportion, for example, two thirds of the endorsement results are correct, and the confidence degrees of the nodes exceeding the certain proportion in all endorsement nodes meet a second threshold or the average confidence degrees of all endorsement nodes meet a certain threshold, the transaction document is uploaded to the block chain network.
In an embodiment, after the uploading the transaction document to the block chain network if the second verification result and the confidence value corresponding to the endorsement node satisfy the preset condition, the method further includes: and exciting endorsement nodes and participants marked as true by manual verification, and punishing endorsement nodes which are not subjected to manual verification.
Wherein, the excitation specifically refers to Token excitation: token is stored in the block chain ledger and can be used for the transaction initiation procedures and if the node is in the role level (consensus node, main node, out-of-block node, etc.), it needs to freeze a certain fee, and these incentives can represent its value. Thus, depending on whether the commit phase is eventually successful in entering the ledger, a Token award is provided to endorsement nodes that give the correct manual check to motivate their checking aggressiveness. Credit points are: the credit score is stored in the account of the block chain and is the sum of the credits of the historical behaviors of all the nodes (for example, the set base score is 100), if the member with the credit score lower than the passing score (for example, 80) is judged as a lost member, the participant can not initiate a transaction, the endorsement node recovers the endorsement authority, and the lost member can purchase the credit score through Token to reach the passing score.
Specifically, if the endorsement result is successful: adding a token to the endorsement node with a true manual check identifier (manual verify), exciting the check behavior, adding a certain credit score (such as 0.5 score) to the participant node, and inquiring all endorsement nodes which are not manually checked, if the number of times of the manual checks which are not performed since the history reaches a certain value (such as 5 times), and deducting the token value.
If the endorsement result is failure: adding token to all endorsement nodes with false setting identification to stimulate the verification behavior, deducting a certain credit score (such as 0.5 score) to the participator nodes, and inquiring all endorsement nodes which are not subjected to manual verification, if the number of times of the non-manual verification from the history reaches a certain value (such as 5 times), deducting the token value. At this point, the subsequent commit phase continues.
The embodiment of the invention provides a transaction document uplink method, which comprises the following steps: the proposal node receives a transaction request sent by a participant, checks the participant based on the transaction request to obtain a first check result, then generates a transaction receipt based on the first check result and the transaction request, and sends the transaction receipt to the endorsement node, the endorsement node checks the transaction receipt to obtain a second check result, and if the second check result and the confidence value corresponding to the endorsement node meet the preset condition, the transaction receipt is uploaded to the block chain network. By means of manual verification, the difficulty of uploading false documents by enterprises is improved, and the authenticity and credibility of the uplink data are ensured; a Token incentive means after manual verification is introduced, so that all member enterprises are encouraged to carry out data verification, and an effort is made for creating a credible supply chain financial block chain network; meanwhile, a corresponding punishment mechanism is established, the authority of the nodes which do not carry out manual verification for many times is reduced or the endorsement qualification of the nodes is deprived, and the credit value of the nodes which do not upload documents for many times is gradually reduced until the nodes can not initiate transactions.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
The following are embodiments of the apparatus of the invention, reference being made to the corresponding method embodiments described above for details which are not described in detail therein.
Fig. 3 shows a schematic structural diagram of an uplink apparatus for transaction documents according to an embodiment of the present invention, and for convenience of description, only parts related to the embodiment of the present invention are shown, the uplink apparatus for transaction documents includes a first checking module 31, a document generating module 32, a second checking module 33, and a document uplink module 34, which are as follows:
the first verification module 31 is configured to receive, by the proposal node, a transaction request sent by a participant, and verify the participant based on the transaction request to obtain a first verification result;
a document generation module 32, configured to generate a transaction document based on the first inspection result and the transaction request;
the second checking module 33 is used for sending the transaction document to the endorsement node, and the endorsement node checks the transaction document to obtain a second checking result;
and the document uplink module 34 is configured to upload the transaction document to the block chain network if the second check result and the confidence value corresponding to the endorsement node satisfy the preset condition.
In one possible implementation, the transaction request includes transaction parameters, and the transaction parameters at least include: the public key address to which the node belongs, the random number, the transaction type to which the uploaded data belongs, the data content of the uploaded data, the transaction signature, the number of tokens agreed to be paid in the transaction uplink and the identification of the manually uploaded data.
In one possible implementation, the first checking module 31 includes:
a signature verification sub-module for verifying whether the transaction signature in the transaction request is correct;
and the first verification sub-module is used for sequentially verifying the transaction authority corresponding to the participant and the authority of the proposal node if the transaction signature is correct, so as to obtain a first verification result.
In one possible implementation, the document generation module 32 includes:
the transaction execution sub-module is used for executing the transaction content corresponding to the transaction request if the first verification result is positive;
and the receipt generation submodule is used for generating a transaction receipt based on the transaction content.
In one possible implementation, the second check module 33 includes:
the document checking submodule is used for checking the transaction document if the transaction document is successfully checked;
and the second checking submodule is used for checking the authority of the proposal node and the proposal signature in sequence to obtain a second checking result.
In one possible implementation, the document winding module 34 includes:
the endorsement result acquisition submodule is used for acquiring an endorsement result determined after the endorsement node carries out the endorsement on the transaction document if the second check result is positive;
and the document chaining sub-module is used for uploading the transaction document to the block chain network if the endorsement result meets the first preset threshold and the confidence value corresponding to the endorsement node meets the second preset threshold.
In a possible implementation manner, after the document chain module 34, the method further includes:
and the excitation module is used for exciting endorsement nodes and participants with the manual verification marks as true, and punishing endorsement nodes which are not subjected to manual verification.
Fig. 4 is a schematic diagram of a terminal according to an embodiment of the present invention. As shown in fig. 4, the terminal 4 of this embodiment includes: a processor 41, a memory 42, and a computer program 43 stored in the memory 42 and executable on the processor 41. The processor 41 executes the computer program 43 to implement the steps of the above-mentioned various method embodiments for uplink transaction document, such as the steps 101 to 104 shown in fig. 1. Alternatively, the processor 41 executes the computer program 43 to implement the functions of the modules/units in the above-mentioned embodiments of the apparatus for linking transaction documents, such as the modules/units 31 to 34 shown in fig. 3.
The invention further provides a readable storage medium, in which a computer program is stored, and the computer program is used for implementing the trade receipt chain method provided by the various embodiments described above when being executed by a processor.
The readable storage medium may be a computer storage medium or a communication medium. Communication media includes any medium that facilitates transfer of a computer program from one place to another. Computer storage media may be any available media that can be accessed by a general purpose or special purpose computer. For example, a readable storage medium is coupled to the processor such that the processor can read information from, and write information to, the readable storage medium. Of course, the readable storage medium may also be an integral part of the processor. The processor and the readable storage medium may reside in an Application Specific Integrated Circuits (ASIC). Additionally, the ASIC may reside in user equipment. Of course, the processor and the readable storage medium may also reside as discrete components in a communication device. The readable storage medium may be a read-only memory (ROM), a random-access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
The present invention also provides a program product comprising execution instructions stored in a readable storage medium. The at least one processor of the apparatus may read the execution instructions from the readable storage medium, and the execution of the execution instructions by the at least one processor causes the apparatus to implement the trade document uplink method provided by the various embodiments described above.
In the above embodiments of the apparatus, it should be understood that the Processor may be a Central Processing Unit (CPU), other general purpose processors, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present invention may be embodied directly in a hardware processor, or in a combination of the hardware and software modules within the processor.
The above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.

Claims (10)

1. A method for making an uplink transaction document, comprising:
the proposal node receives a transaction request sent by a participant, and verifies the participant based on the transaction request to obtain a first verification result;
generating a transaction receipt based on the first verification result and the transaction request;
the transaction receipt is sent to an endorsement node, and the endorsement node verifies the transaction receipt to obtain a second verification result;
and if the second check result and the confidence value corresponding to the endorsement node meet the preset condition, uploading the transaction document to a block chain network.
2. The method of claim 1, wherein the transaction request includes transaction parameters, the transaction parameters including at least: the method comprises the steps of public key address of a node, random number, transaction type of uploaded data, data content of the uploaded data, transaction signature, number of tokens agreed to pay in a transaction uplink and identification of manually uploaded data.
3. The method for uplink transaction receipt of claim 2 wherein said verifying said party based on said transaction request to obtain a first verification result comprises:
verifying whether the transaction signature in the transaction request is correct;
and if the transaction signature is correct, sequentially checking the transaction authority corresponding to the participant and the authority of the proposal node to obtain a first checking result.
4. The method for uplink transmission of transaction documents according to claim 3, wherein the generating of transaction documents based on the first verification result and the transaction request comprises:
if the first verification result is yes, executing the transaction content corresponding to the transaction request;
and generating the transaction receipt based on the transaction content.
5. The method for uplink transmission of transaction documents according to claim 4, wherein said sending of said transaction document to an endorsement node, said endorsement node verifying said transaction document to obtain a second verification result comprises:
if the transaction document is successfully verified;
and verifying the authority of the proposal node and the proposal signature in sequence to obtain a second verification result.
6. The method for uplink transmission of transaction documents according to claim 5, wherein the uploading the transaction document to a blockchain network if the second verification result and the confidence value corresponding to the endorsement node satisfy a predetermined condition comprises:
if the second check result is yes, acquiring an endorsement result determined after the endorsement node carries out the endorsement on the transaction document;
and if the endorsement result meets a first preset threshold value and the confidence value corresponding to the endorsement node meets a second preset threshold value, uploading the transaction document to a block chain network.
7. The method for uplink transmission of transaction documents according to claim 6, wherein after uploading the transaction document to the blockchain network if the second verification result and the confidence value corresponding to the endorsement node satisfy a predetermined condition, the method further comprises:
and exciting endorsement nodes and participants marked as true by manual verification, and punishing endorsement nodes which are not subjected to manual verification.
8. An apparatus for chaining transaction documents, comprising:
the system comprises a first checking module, a second checking module and a third checking module, wherein the first checking module is used for receiving a transaction request sent by a participant by a proposal node and checking the participant based on the transaction request to obtain a first checking result;
the bill generating module is used for generating a transaction bill based on the first inspection result and the transaction request;
the second checking module is used for sending the transaction receipt to an endorsement node, and the endorsement node checks the transaction receipt to obtain a second checking result;
and the receipt chaining module is used for uploading the transaction receipt to a block chain network if the second check result and the confidence value corresponding to the endorsement node meet the preset condition.
9. A terminal comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor when executing the computer program performs the steps of the method for uplink transmission of transaction documents according to any of claims 1 to 7.
10. A computer-readable storage medium having a computer program stored thereon, the computer program, when being executed by a processor, performing the steps of the method for uplink transaction receipt according to any one of claims 1 to 7.
CN202210837428.6A 2022-07-15 2022-07-15 Transaction document uplink method, device, terminal and storage medium Pending CN115328996A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210837428.6A CN115328996A (en) 2022-07-15 2022-07-15 Transaction document uplink method, device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210837428.6A CN115328996A (en) 2022-07-15 2022-07-15 Transaction document uplink method, device, terminal and storage medium

Publications (1)

Publication Number Publication Date
CN115328996A true CN115328996A (en) 2022-11-11

Family

ID=83918074

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210837428.6A Pending CN115328996A (en) 2022-07-15 2022-07-15 Transaction document uplink method, device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN115328996A (en)

Similar Documents

Publication Publication Date Title
CN109767212B (en) Asset exchange method, system, terminal and storage medium based on blockchain
CN107301600B (en) Core construction method of block chain Internet model for cross-chain transaction
CN106780025B (en) Method, device and system for transferring digital assets in block chain
KR101952498B1 (en) Loan service providing method using black chain and system performing the same
CN113179168B (en) Cross-chain interaction method of block chain
US9460430B1 (en) System, method and apparatus for conducting secure transaction over a call
CN112132558A (en) Digital currency transaction method and device based on intelligent contract and electronic equipment
AU2011210690A1 (en) Electronic payment processing method and system with smart/authenticate fields and definitions
CN114282956A (en) Energy transaction method, device, electronic equipment and storage medium
CN113064759A (en) Block chain data rollback processing method and processing system thereof
WO2022206433A1 (en) Method and apparatus for pre-executing chaincode in fabric blockchain
CN110796531A (en) Web-based accounting voucher generation method and system
CN113011879B (en) Associated transaction data processing method, device and server
CN113706302A (en) Cross-chain-based block chain financial data generation method and system
CN112053232B (en) Self-service equipment business accounting consistency processing method and device
CN112132669A (en) Online auction system, method, device and electronic equipment
CN112116482A (en) Financing data processing method and device based on block chain
CN115328996A (en) Transaction document uplink method, device, terminal and storage medium
CN112200670A (en) Event-driven intelligent contract platform design
CN110633328A (en) Information processing method and device and computer readable storage medium
CN114154980B (en) Multi-party bidding digital asset transaction system and method based on intelligent contract
CN113469820A (en) Asset management method, device and system based on block chain
JP3401198B2 (en) Method of exchanging symbols of different types of electronic value and program recording medium
CN113112257A (en) Remittance system based on settlement network
CN111583002A (en) Data processing method, data processing device, electronic equipment and storage medium

Legal Events

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