A transaction information processing method, device and electronic device based on blockchain

By directly or indirectly reducing communication steps after the initiating node in the blockchain is confirmed according to the transaction proposal type, the problem of low transaction information processing performance in the alliance chain is solved, and the efficiency of transaction information processing of the blockchain is improved.

CN114463121BActive Publication Date: 2024-12-31CHINA MOBILE M2M +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011246191.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-11-10
Publication Date
2024-12-31
Estimated Expiration
2040-11-10

AI Technical Summary

Technical Problem

In the alliance chain, a large number of inter-node communications in the existing transaction information on the chain process have become a bottleneck in the performance of blockchain transaction information processing, making it difficult to improve performance.

Method used

In the blockchain, the initiator node confirms the transaction proposal type based on the local ledger data. If it is a verifiable transaction, it will be sent directly to the sorting node to avoid the endorsement authorization process. If it is a non-verifiable transaction, it will be sent to all endorsement nodes for signature. The number of signatures is After the threshold is reached, it is sent to the sorting node.

Benefits of technology

By reducing unnecessary communication steps, the blockchain's processing performance of transaction information is improved, especially for verifiable transactions to be sent directly to the sorting node, which significantly improves processing efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114463121B_ABST
    Figure CN114463121B_ABST
Patent Text Reader

Abstract

The embodiment of the present invention provides a transaction information processing method, device and electronic device based on blockchain, and the method applied to the initiating node in the blockchain includes: receiving a transaction proposal; confirming the proposal type of the transaction proposal according to local account data; and sending the transaction proposal to the sorting node in the blockchain when confirming that the proposal type of the transaction proposal is a verifiable transaction. The solution of the present invention can improve the processing performance of blockchain for transaction information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of information processing technology, and in particular to a transaction information processing method, device and electronic device based on blockchain. Background Art

[0002] In the alliance chain, in order to ensure that all transactions have enough endorsements when they are written into the blockchain, so as to ensure that the transaction itself is recognized by all nodes. The existing alliance chain transaction information chain process involves a large number of initiating nodes-endorsing nodes-sorting nodes. The large amount of communication has become a bottleneck for improving the performance of blockchain transaction information processing. Summary of the invention

[0003] The present invention provides a transaction information processing method, device and electronic device based on blockchain, which improve the processing performance of blockchain on transaction information.

[0004] To solve the above technical problems, the embodiments of the present invention provide the following solutions:

[0005] A transaction information processing method based on blockchain, applied to an initiating node in the blockchain, comprising:

[0006] Receive transaction proposals;

[0007] Confirm the proposal type of the transaction proposal based on the local ledger data;

[0008] After confirming that the proposal type of the transaction proposal is a verifiable transaction, the transaction proposal is sent to the sorting node in the blockchain.

[0009] Optionally, after confirming the proposal type of the transaction proposal according to the local ledger data, the method further includes:

[0010] Update local ledger data based on transaction proposals.

[0011] Optionally, after confirming the proposal type of the transaction proposal according to the local ledger data, the method further includes:

[0012] When the proposal type of the transaction proposal is confirmed to be a non-verifiable transaction, the proposal transaction is sent to all endorsing nodes in the blockchain.

[0013] Optionally, after sending the proposal transaction to all endorsing nodes in the blockchain according to the local ledger data, the method further includes:

[0014] Receive the endorsement signature returned by the endorsing node in the blockchain;

[0015] When the number of endorsement signatures is greater than the threshold, the transaction proposal and all received endorsement signatures are sent to the sorting node.

[0016] The embodiment of the present invention also provides a transaction information processing method based on blockchain, which is applied to an ordering node in the blockchain, including:

[0017] Receive transaction proposals sent by the initiating node;

[0018] After sorting the transaction proposals, a target block is generated and sent to all nodes in the blockchain, where the transaction proposals are recorded.

[0019] Optionally, after receiving the transaction proposal sent by the initiating node, it also includes:

[0020] Obtain the smart contract of the blockchain when the initiating node does not send the endorsement signature;

[0021] When the smart contract allows the initiating node to send the transaction proposal directly to the sorting node, the step of sorting the transaction proposal and generating the target block is performed.

[0022] The embodiment of the present invention further provides a transaction information processing device based on blockchain, which is applied to an initiating node in blockchain, including:

[0023] A first receiving module, used to receive a transaction proposal;

[0024] The first confirmation module is used to confirm the proposal type of the transaction proposal based on the local ledger data;

[0025] The first sending module is used to send the transaction proposal to the sorting node in the blockchain when confirming that the proposal type of the transaction proposal is a verifiable transaction.

[0026] The embodiment of the present invention further provides a transaction information processing device based on blockchain, which is applied to an ordering node in the blockchain, including:

[0027] The second receiving module is used to receive the transaction proposal sent by the initiating node;

[0028] The processing module is used to sort the transaction proposals and generate a target block, which is sent to all nodes in the blockchain. The target block records the transaction proposals.

[0029] An embodiment of the present invention further provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to execute the above method through the computer program.

[0030] An embodiment of the present invention further provides a processor-readable storage medium, wherein the processor-readable storage medium stores processor-executable instructions, and the processor-executable instructions are used to enable the processor to execute the method as described above.

[0031] The above solution of the present invention includes at least the following beneficial effects:

[0032] In the above solution of the present invention, the initiating node in the blockchain receives the transaction proposal, and confirms the proposal type of the transaction proposal according to the local account data; when the proposal type of the transaction proposal is confirmed to be a verifiable transaction, the transaction proposal is sent to the sorting node in the blockchain. In the embodiment of the present invention, for the proposal type of a verifiable transaction, the transaction proposal is directly sent to the sorting node, thereby eliminating the need for an endorsement authorization process, reducing communications, and improving the blockchain's processing performance for transaction information. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Figure 1 This is a flowchart of a transaction information processing method based on blockchain according to an embodiment of the present invention;

[0034] Figure 2 This is a flowchart of a transaction information processing method based on blockchain according to another embodiment of the present invention;

[0035] Figure 3 This is a module schematic diagram of a transaction information processing device based on blockchain according to an embodiment of the present invention;

[0036] Figure 4 This is a module diagram of a transaction information processing device based on blockchain according to another embodiment of the present invention. DETAILED DESCRIPTION

[0037] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present invention and to fully convey the scope of the present invention to those skilled in the art.

[0038] Blockchain is a distributed ledger technology, which is a collection of computer information technologies such as distributed data storage, peer-to-peer transmission, consensus mechanism, encryption algorithm, etc. It has the advantages of decentralized trust, tamper-proof traceability, and open and transparent ledgers. The method of the embodiment of the present invention is based on blockchain and also has these advantages.

[0039] Hyperledger Fabric is a mature alliance chain underlying framework that implements alliance chain basic components such as blockchain nodes, smart contracts, transaction processing, and certificate management. The method of the embodiment of the present invention can be applied to Hyperledger Fabric.

[0040] The following is an explanation of the Fabric framework process. The Fabric framework only provides a fixed transaction process, namely:

[0041] 1. The initiating node submits the transaction proposal to all endorsing nodes;

[0042] 2. The endorsing node receives the transaction proposal and verifies it;

[0043] 3. The endorsing node uses its own private key to digitally sign the verified proposal and sends it back to the initiating node;

[0044] 4. The initiating node waits and collects enough signatures from endorsing nodes;

[0045] 5. The initiating node submits the transaction and all endorsement signatures to the sorting node;

[0046] 6. The sorting node sorts the transactions and generates a new block, which is then sent to all nodes;

[0047] 7. All nodes accept the new block, verify the transactions in the block one by one according to the local ledger data, mark success / failure, and update the local ledger data based on the results.

[0048] The performance of the existing alliance chain implemented using the Fabric framework is still far behind that of traditional centralized applications, and it is difficult to adapt to high-frequency calls. The following embodiments of the present invention are illustrated by taking the Fabric framework of the alliance chain as an example, but it is understood that the present invention is not limited to this.

[0049] like Figure 1 As shown, an embodiment of the present invention provides a transaction information processing method based on blockchain, which is applied to an initiating node in a blockchain, including:

[0050] Step 11, receiving transaction proposal;

[0051] Step 12: Confirm the proposal type of the transaction proposal based on the local ledger data;

[0052] Step 13, when confirming that the proposal type of the transaction proposal is a verifiable transaction, the transaction proposal is sent to the sorting node in the blockchain.

[0053] Among them, transaction proposal types can be divided into two categories, which are defined as follows:

[0054] 1. Unverifiable transactions. This type of transaction refers to the consortium chain members writing new data into the ledger through transaction proposals. All members cannot effectively verify the legitimacy of the transaction data based on the existing data in the local ledger.

[0055] 2. Verifiable transactions. This type of transaction refers to the consortium chain members making verifiable changes to the ledger data through transaction proposals. That is, all members can effectively verify the legitimacy of the transaction based on the existing data in the local ledger.

[0056] In the above scheme of the present invention, the initiating node in the blockchain receives the transaction proposal, and confirms the proposal type of the transaction proposal based on the local account book data; when the proposal type of the transaction proposal is confirmed to be a verifiable transaction, the transaction proposal is sent to the sorting node in the blockchain. In the embodiment of the present invention, for the proposal type of a verifiable transaction, the transaction proposal is directly sent to the sorting node, thereby eliminating the need for an endorsement authorization process, reducing communications, and improving the blockchain's processing performance for transaction information. The embodiment of the present invention provides a new set of transaction processes, allowing some transactions that do not require endorsement authorization to use new processes with less communication and higher performance, thereby greatly improving the performance of the blockchain when processing such transactions.

[0057] Optionally, after confirming the proposal type of the transaction proposal according to the local ledger data, the above method also includes: updating the local ledger data according to the transaction proposal.

[0058] In an embodiment of the present invention, the initiating node submits a transaction proposal to the sorting node, which sorts the transactions and generates a new block, which is then distributed to all nodes; all nodes accept the new block, verify the transactions in the block one by one according to the local ledger data, mark success / failure, and update the local ledger data based on the results.

[0059] Optionally, after confirming the proposal type of the transaction proposal according to the local ledger data, the method further includes:

[0060] When the proposal type of the transaction proposal is confirmed to be a non-verifiable transaction, the proposal transaction is sent to all endorsing nodes in the blockchain.

[0061] Optionally, after sending the proposal transaction to all endorsing nodes in the blockchain according to the local ledger data, the method further includes:

[0062] Receive the endorsement signature returned by the endorsing node in the blockchain;

[0063] When the number of endorsement signatures is greater than the threshold, the transaction proposal and all received endorsement signatures are sent to the sorting node.

[0064] In an embodiment of the present invention, when the proposal type of the transaction proposal is a non-verifiable transaction, the proposed transaction is sent to all endorsing nodes in the blockchain. The endorsing node receives the transaction proposal and verifies it; the endorsing node uses its own private key to digitally sign the verified proposal and sends it back to the initiating node; after the initiating node waits for and collects enough signatures from the endorsing nodes, it submits the transaction and all endorsement signatures to the sorting node; the sorting node sorts the transactions and generates a new block, which is sent to all nodes; all nodes accept the new block, verify the transactions in the block one by one according to the local ledger data, mark success / failure, and update the local ledger data according to the results.

[0065] like Figure 2 As shown, an embodiment of the present invention further provides a transaction information processing method based on blockchain, which is applied to an ordering node in a blockchain, comprising:

[0066] Step 21, receiving the transaction proposal sent by the initiating node;

[0067] Step 22, after sorting the transaction proposals, a target block is generated and sent to all nodes in the blockchain, wherein the target block records the transaction proposals.

[0068] In the embodiment of the present invention, the sorting node sorts the transaction and generates a new block, which is sent to all nodes to complete the recording of transaction information. In the embodiment of the present invention, for the proposal type of verifiable transaction, the initiating node can directly send the transaction proposal to the sorting node. After receiving the transaction proposal sent by the initiating node and without sending the endorsement signature, the sorting node still sorts the transaction proposal and generates a block, thereby eliminating the need for an endorsement authorization process, reducing communication, and improving the blockchain's processing performance for transaction information.

[0069] Optionally, after receiving the transaction proposal sent by the initiating node, it also includes:

[0070] Obtain the smart contract of the blockchain when the initiating node does not send the endorsement signature;

[0071] When the smart contract allows the initiating node to send the transaction proposal directly to the sorting node, the step of sorting the transaction proposal and generating the target block is performed.

[0072] In the embodiment of the present invention, a new configuration item can be added to the smart contract to control whether to enable the function of the above method flow. Therefore, in the case where all transactions require endorsement, the user can turn off the above method flow through the configuration item of the smart contract. If the smart contract is not configured to enable this item, the sorting node will refuse to accept transaction proposals without the signature of the endorsing node.

[0073] The present invention is described below by way of examples.

[0074] 1. Banks B1, B2 and B3 form a consortium chain, each with its own peer node, and implement an inter-bank transfer business through a smart contract C that opens a new process. The initial ledger is empty:

[0075] {}

[0076] 2. User P1 opens an account for this service at counter B1 and deposits 100 yuan. At this time, B1 constructs a transaction proposal pointing to smart contract C, including data:

[0077] {P1 has a deposit of 100 yuan in B1, account number is P1A}

[0078] And submit it to the peer node of B1. The peer node judges based on the existing ledger data:

[0079] {}

[0080] The legality of the transaction is judged to be unverifiable, and the transaction is directed to the original process, that is, requesting endorsement signatures from nodes B2 and B3 and then submitting it to the sorting node.

[0081] 3. User P2 opens the business account at counter B2 without depositing money. At this time, B1 constructs a transaction proposal pointing to smart contract C, including data:

[0082] {P2 has a deposit of 0 yuan in B2, account number is P2A}

[0083] And submit it to B2's peer node. The peer node determines based on the existing ledger data:

[0084] {P1 has a deposit of 100 yuan in B1, account number is P1A}

[0085] The legality of the transaction is judged to be unverifiable, and the transaction is directed to the original process, that is, requesting endorsement signatures from nodes B1 and B3 and then submitting it to the sorting node.

[0086] 4. User P1 initiates a transfer transaction through B1 and transfers 50 yuan to P2. At this time, B1 constructs a transaction proposal pointing to smart contract C, including data:

[0087] {P1 transfers 50 yuan to P2}

[0088] And submit it to the peer node of B1. The peer node judges based on the existing ledger data:

[0089] {P1 has a deposit of 100 yuan in B1, account number is P1A}

[0090] {P2 has a deposit of 0 yuan in B2, account number is P2A}

[0091] It is determined that the legitimacy of the transaction can be verified, and the transaction is directed to a new process, that is, directly submitting it to the sorting node and writing it into a new block.

[0092] When all nodes receive the new block, the existing local ledger data is:

[0093] {P1 has a deposit of 100 yuan in B1, account number is P1A}

[0094] {P2 has a deposit of 0 yuan in B2, account number is P2A}

[0095] The legitimacy of the transaction can be verified, the transaction is confirmed, and the local ledger is updated as follows:

[0096] {P1 has a deposit of 50 yuan in B1, account number is P1A}

[0097] {P2 has a deposit of 50 yuan in B2, account number is P2A}

[0098] 5. User P1 initiates a transfer transaction through B1 again, transferring 150 yuan to P2. Based on the local ledger data, B1 node:

[0099] {P1 has a deposit of 50 yuan in B1, account number is P1A}

[0100] {P2 has a deposit of 50 yuan in B2, account number is P2A}

[0101] The transaction is judged to be illegal and rejected directly.

[0102] like Figure 3 As shown, the embodiment of the present invention further provides a transaction information processing device 30 based on blockchain, which is applied to an initiating node in the blockchain, including:

[0103] A first receiving module 31, configured to receive a transaction proposal;

[0104] A first confirmation module 32 is used to confirm the proposal type of the transaction proposal according to the local account book data;

[0105] The first sending module 33 is used to send the transaction proposal to the sorting node in the blockchain when confirming that the proposal type of the transaction proposal is a verifiable transaction.

[0106] Optionally, the device 30 may further include:

[0107] The update module is used to update the local ledger data according to the transaction proposal.

[0108] Optionally, the device 30 may further include:

[0109] The second sending module is used to send the proposed transaction to all endorsing nodes in the blockchain when confirming that the proposal type of the transaction proposal is a non-verifiable transaction.

[0110] Optionally, the device 30 may further include:

[0111] The third receiving module is used to receive the endorsement signature returned by the endorsement node in the blockchain;

[0112] The third sending module is used to send the transaction proposal and all received endorsement signatures to the sorting node when the number of endorsement signatures is greater than a threshold.

[0113] It should be noted that the device is a device corresponding to the above-mentioned method embodiment applied to the initiating node, and all implementation methods in the above-mentioned method embodiment are applicable to the embodiment of the device and can achieve the same technical effect.

[0114] like Figure 4 As shown, the embodiment of the present invention further provides a transaction information processing device 40 based on blockchain, which is applied to an ordering node in the blockchain, including:

[0115] The second receiving module 41 is used to receive the transaction proposal sent by the initiating node;

[0116] The processing module 42 is used to sort the transaction proposals, generate a target block, and send it to all nodes in the blockchain, wherein the target block records the transaction proposals.

[0117] Optionally, the device 40 may further include:

[0118] The acquisition module is used to obtain the smart contract of the blockchain when the initiating node does not send the endorsement signature; when the smart contract allows the initiating node to send the transaction proposal directly to the sorting node, the processing module executes the step of sorting the transaction proposal and generating the target block.

[0119] It should be noted that the device is a device corresponding to the above-mentioned method embodiment applied to the sorting node. All implementation methods in the above-mentioned method embodiment are applicable to the embodiment of the device and can achieve the same technical effect.

[0120] The embodiment of the present invention further provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to execute the above method through the computer program. All implementations in the above method embodiment are applicable to the embodiment of the device, and can also achieve the same technical effect.

[0121] The embodiment of the present invention further provides a processor-readable storage medium, wherein the processor-readable storage medium stores processor-executable instructions, wherein the processor-executable instructions are used to cause the processor to execute the method described above. All implementations in the above method embodiment are applicable to this embodiment and can achieve the same technical effect.

[0122] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0123] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0124] In the embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0125] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0126] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0127] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard disks, ROM, RAM, magnetic disks, or optical disks.

[0128] In addition, it should be noted that in the apparatus and method of the present invention, it is obvious that each component or each step can be decomposed and / or recombined. These decompositions and / or recombinations should be regarded as equivalent schemes of the present invention. Moreover, the steps of performing the above-mentioned series of processing can naturally be performed in chronological order according to the order of description, but it is not necessary to perform them in chronological order, and some steps can be performed in parallel or independently of each other. For those of ordinary skill in the art, it is understood that all or any steps or components of the method and apparatus of the present invention can be implemented in any computing device (including processors, storage media, etc.) or a network of computing devices in hardware, firmware, software or a combination thereof, which can be achieved by those of ordinary skill in the art using their basic programming skills after reading the description of the present invention.

[0129] Therefore, the purpose of the present invention can also be achieved by running a program or a group of programs on any computing device. The computing device can be a well-known general device. Therefore, the purpose of the present invention can also be achieved by simply providing a program product containing a program code that implements the method or device. That is to say, such a program product also constitutes the present invention, and the storage medium storing such a program product also constitutes the present invention. Obviously, the storage medium can be any well-known storage medium or any storage medium developed in the future. It should also be pointed out that in the device and method of the present invention, it is obvious that each component or each step can be decomposed and / or recombined. These decompositions and / or recombinations should be regarded as equivalent schemes of the present invention. In addition, the steps of performing the above-mentioned series of processing can naturally be performed in chronological order according to the order of description, but it is not necessary to perform them in chronological order. Some steps can be performed in parallel or independently of each other.

[0130] The above is a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A transaction information processing method based on blockchain, applied to an initiating node in a blockchain, characterized in that: include: Receive transaction proposals; Confirm the proposal type of the transaction proposal based on the local ledger data; When confirming that the proposal type of the transaction proposal is a verifiable transaction, the transaction proposal is sent to the sorting node in the blockchain; the verifiable transaction refers to a verifiable modification of the ledger data by the alliance chain members through the transaction proposal; After confirming the proposal type of the transaction proposal according to the local ledger data, the method further includes: When it is confirmed that the proposal type of the transaction proposal is a non-verifiable transaction, the transaction proposal is sent to all endorsing nodes in the blockchain; the non-verifiable transaction refers to the alliance chain members writing new data into the ledger through the transaction proposal; Receiving an endorsement signature returned by an endorsement node in the blockchain; When the number of the endorsement signatures is greater than a threshold, the transaction proposal and all the received endorsement signatures are sent to the sorting node.

2. The method according to claim 1, characterized in that: After confirming the proposal type of the transaction proposal according to the local ledger data, the method further includes: According to the transaction proposal, the local ledger data is updated.

3. A transaction information processing method based on blockchain, applied to an ordering node in a blockchain, characterized in that: include: When the initiating node confirms that the proposal type of the transaction proposal is a verifiable transaction based on the local ledger data, the sorting node receives the transaction proposal sent by the initiating node. The verifiable transaction refers to the alliance chain member making a verifiable modification to the ledger data through the transaction proposal; when the initiating node confirms that the proposal type of the transaction proposal is a non-verifiable transaction based on the local ledger data, the sorting node receives the transaction proposal and endorsement signature sent by the initiating node. The endorsement signature is returned to the initiating node by the endorsement node in the blockchain after receiving the non-verifiable transaction sent by the initiating node according to the local ledger data, and the number of the endorsement signatures is greater than the threshold. The non-verifiable transaction refers to the alliance chain member writing new data into the ledger through the transaction proposal; After the transaction proposals are sorted, a target block is generated and sent to all nodes in the blockchain, wherein the transaction proposals are recorded in the target block.

4. The method according to claim 3, characterized in that After receiving the transaction proposal sent by the initiating node, it also includes: In the case where the initiating node does not send an endorsement signature, obtaining a smart contract of the blockchain; In the case where the smart contract allows the initiating node that has not sent the endorsement signature to send the transaction proposal directly to the sorting node, the transaction proposal is sorted and then the target block is generated.

5. A transaction information processing device based on blockchain, applied to the initiating node in the blockchain, characterized in that: include: A first receiving module, used to receive a transaction proposal; A first confirmation module, used to confirm the proposal type of the transaction proposal according to local account book data; A first sending module is used to send the transaction proposal to the sorting node in the blockchain when confirming that the proposal type of the transaction proposal is a verifiable transaction; the verifiable transaction refers to a verifiable modification made by the alliance chain member to the ledger data through the transaction proposal; The device also includes: The second sending module is used to send the transaction proposal to all endorsing nodes in the blockchain when confirming that the proposal type of the transaction proposal is a non-verifiable transaction; the non-verifiable transaction refers to the alliance chain members writing new data into the ledger through the transaction proposal; The third receiving module is used to receive the endorsement signature returned by the endorsement node in the blockchain; The third sending module is used to send the transaction proposal and all received endorsement signatures to the sorting node when the number of endorsement signatures is greater than a threshold.

6. A transaction information processing device based on blockchain, applied to an ordering node in a blockchain, characterized in that: include: The second receiving module is used to receive the transaction proposal sent by the initiating node when the initiating node confirms that the proposal type of the transaction proposal is a verifiable transaction based on the local ledger data. The verifiable transaction refers to the alliance chain member making a verifiable modification to the ledger data through the transaction proposal; When the initiating node confirms that the proposal type of the transaction proposal is a non-verifiable transaction based on the local ledger data, the transaction proposal and endorsement signature sent by the initiating node are received. The endorsement signature is returned to the initiating node by the endorsement node in the blockchain after receiving the non-verifiable transaction sent by the initiating node according to the local ledger data, and the number of the endorsement signatures is greater than the threshold. The non-verifiable transaction refers to the alliance chain member writing new data into the ledger through the transaction proposal; A processing module is used to sort the transaction proposals to generate a target block, and send it to all nodes in the blockchain, wherein the target block records the transaction proposals.

7. An electronic device comprising a memory and a processor, characterized in that: A computer program is stored in the memory, and the processor is configured to execute the method according to any one of claims 1 to 2 or the method according to any one of claims 3 to 4 through the computer program.

8. A processor-readable storage medium, characterized in that: The processor-readable storage medium stores processor-executable instructions, and the processor-executable instructions are used to enable the processor to execute the method according to any one of claims 1 to 2 or the method according to any one of claims 3 to 4.