A consortium chain slimming method and system based on smart contracts

Through smart contract technology, the unique index of the identity public key certificate is used to refer to redundant data, which solves the problems of data redundancy and slow reading speed in the blockchain network, and realizes the slimming and performance improvement of the ledger.

CN118585518BActive Publication Date: 2024-10-15北京网藤科技有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411073865.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-07
Publication Date
2024-10-15
Estimated Expiration
2044-08-07

AI Technical Summary

Technical Problem

Due to the rapid growth of data in the blockchain network, especially when it comes to high frequency, large transaction volume, and large platforms, data redundancy and slow reading speeds result, which drags down the work efficiency of the entire blockchain network.

Method used

Using smart contract technology, the unique index of the identity public key certificate refers to the user's identity public key certificate information, achieving slimming down of the blockchain account book, reducing redundant data storage, and improving reading speed and communication efficiency.

Benefits of technology

It achieves real-time slimming of blockchain ledger data, reduces storage space waste, improves reading speed and communication efficiency, reduces hardware expenses, and improves the performance of the blockchain network.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118585518B_ABST
    Figure CN118585518B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of blockchain ledger data storage technology, and in particular to a consortium chain slimming method and system based on smart contracts, the method comprising: recording the consortium chain block ledger according to a preset data structure; using smart contract technology to process user identity public key certificate information on the chain to obtain a corresponding identity public key certificate unique index; using the identity public key certificate unique index to refer to the user identity public key certificate information for communication; using the identity public key certificate unique index to obtain the corresponding user identity public key certificate information, and verifying the signature through the user identity public key certificate information; using the identity public key certificate unique index to refer to the user identity public key certificate information, and generating a slimmed-down consortium chain block ledger. The present invention adopts smart contract technology, and uses the identity public key certificate unique index to refer to the repeated and redundant user identity public key certificate information, so as to reduce the redundant data of the ledger, thereby realizing real-time slimming of blockchain ledger data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of blockchain ledger data storage technology, and in particular to a smart contract-based alliance chain slimming method and system. Background Art

[0002] Blockchain has been widely used in the fields of Internet of Things, finance, government affairs, supply chain, electricity, etc. In addition to transaction data, a lot of contract information such as contracts, assets, logistics, etc. is also on the chain, resulting in a sharp increase in the data recorded on the chain. Due to the characteristics of blockchain chain ledger data that can only increase but not decrease, especially when high frequency, large transaction volume, large platform, and huge amount of data are stored on the blockchain, the data recorded by blockchain nodes shows explosive growth, and the ledger is distributed storage. The storage space occupied by a piece of data increases many times, and there is a lot of "redundant data" mixed in it. There are problems such as huge ledger data and slow reading and retrieval speed, which drags down the entire blockchain network and makes it unable to work.

[0003] To this end, the present invention provides a consortium chain slimming method and system based on smart contracts. Summary of the invention

[0004] Based on this, it is necessary to provide a consortium chain slimming method and system based on smart contracts to address the above technical issues.

[0005] In order to achieve the above object, the technical solution of the present invention is as follows.

[0006] According to a first aspect of the present invention, a consortium chain slimming method based on a smart contract is provided, comprising the following steps: recording a consortium chain block ledger according to a preset data structure; based on the preset data structure, using smart contract technology to process user identity public key certificate information on the chain, and obtaining a corresponding identity public key certificate unique index; in the process of communication between consortium chain nodes, using the identity public key certificate unique index to refer to the user identity public key certificate information for communication; in the process of signature verification, using the identity public key certificate unique index to obtain the corresponding user identity public key certificate information, and verifying the signature through the user identity public key certificate information; using the identity public key certificate unique index to refer to the user identity public key certificate information, and generating a slimmed-down consortium chain block ledger.

[0007] Optionally, recording the alliance chain block ledger according to a preset data structure specifically includes: using a user identity public key certificate block structure and an identity public key certificate unique index block structure that maps the user identity public key certificate to record the alliance chain block ledger, the user identity public key certificate block structure includes user identity public key certificate information, the user identity public key certificate information includes the user identity public key certificate, and a mapping relationship is formed between the user identity public key certificate and the identity public key certificate unique index.

[0008] Optionally, based on the preset data structure, the user identity public key certificate information is processed on the chain using smart contract technology, and the corresponding identity public key certificate unique index is obtained, specifically including: the endorsement node holder processes the user identity public key certificate information on the chain through smart contract technology, and obtains the corresponding identity public key certificate unique index based on the user identity public key certificate block structure and the corresponding identity public key certificate unique index block structure.

[0009] Optionally, during the communication between the alliance chain nodes, the communication is carried out by referring to the user identity public key certificate information through the unique index of the identity public key certificate, specifically including: during the communication between the alliance chain nodes, the communication content includes the unique index of the identity public key certificate, and based on the mapping relationship formed between the user identity public key certificate and the unique index of the identity public key certificate, the communication is carried out by referring to the user identity public key certificate information through the unique index of the identity public key certificate.

[0010] Optionally, during the signature verification process, the identity public key certificate unique index is used to obtain the corresponding user identity public key certificate information, and the signature is verified through the user identity public key certificate information, specifically including: during the signature verification process, based on the mapping relationship formed between the user identity public key certificate and the identity public key certificate unique index, the smart contract technology is used to query and obtain the corresponding user identity public key certificate information according to the identity public key certificate unique index, and the user identity public key certificate is obtained according to the user identity public key certificate information, and the user identity public key certificate is used to determine whether the digital signature is correct and whether it complies with the endorsement rules.

[0011] According to a second aspect of the present invention, a consortium chain slimming system based on a smart contract is provided, comprising: a recording module, used to record the consortium chain block ledger according to a preset data structure; an acquisition module, used to process the user identity public key certificate information on the chain based on the preset data structure using the smart contract technology, and obtain the corresponding identity public key certificate unique index; a digital signature module, used to communicate between consortium chain nodes by referring to the user identity public key certificate information through the identity public key certificate unique index; a signature verification module, used to obtain the corresponding user identity public key certificate information by using the identity public key certificate unique index during the signature verification process, and perform signature verification through the user identity public key certificate information; a generation module, used to refer to the user identity public key certificate information by using the identity public key certificate unique index to generate a slimmed-down consortium chain block ledger.

[0012] Optionally, the recording module includes: a user identity public key certificate recording submodule, which is used to record the alliance chain block ledger using a user identity public key certificate block structure, the user identity public key certificate block structure contains user identity public key certificate information, and the user identity public key certificate information contains the user identity public key certificate; an identity public key certificate unique index recording submodule, which is used to record the alliance chain block ledger using an identity public key certificate unique index block structure that maps the user identity public key certificate, and a mapping relationship is formed between the user identity public key certificate and the identity public key certificate unique index.

[0013] Optionally, the acquisition module includes: an on-chain processing sub-module, used for the endorsement node holder to perform on-chain processing of the user identity public key certificate information through smart contract technology; an identity public key certificate unique index acquisition sub-module, used to obtain the corresponding identity public key certificate unique index based on the user identity public key certificate block structure and the corresponding identity public key certificate unique index block structure.

[0014] Optionally, the digital signature module includes: a communication sub-module, which is used to communicate during the communication between alliance chain nodes, based on the mapping relationship formed between the user identity public key certificate and the identity public key certificate unique index, by referring to the user identity public key certificate information through the identity public key certificate unique index; a communication content template sub-module, which is used to communicate during the communication between alliance chain nodes, using communication content containing the identity public key certificate unique index.

[0015] Optionally, the signature verification module includes: a user identity public key certificate information acquisition sub-module, which is used to query and obtain the corresponding user identity public key certificate information according to the unique index of the identity public key certificate based on the mapping relationship formed between the user identity public key certificate and the unique index of the identity public key certificate during the signature verification process, using smart contract technology; a user identity public key certificate acquisition sub-module, which is used to obtain the user identity public key certificate according to the user identity public key certificate information; and a judgment sub-module, which is used to use the user identity public key certificate to judge whether the digital signature is correct and whether it complies with the endorsement rules.

[0016] The advantages and beneficial effects of the present invention are as follows: the present invention provides a consortium chain slimming method and system based on smart contracts, which adopts smart contract technology and uses the identity public key certificate unique index to refer to repeated and redundant user identity public key certificate information, so as to reduce the redundant data of the account book, thereby realizing real-time slimming of blockchain account book data, which can streamline the database, reduce the waste of storage space, improve the reading speed, and reduce hardware expenses; at the same time, using the identity public key certificate unique index to refer to the user identity public key certificate information for communication can effectively reduce communication data, so as to improve communication efficiency and the working performance of the blockchain. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 The present invention is a flowchart of a consortium chain slimming method based on smart contracts in an embodiment of the present invention.

[0018] Figure 2 This is a structural diagram of a consortium chain slimming system based on smart contracts in an embodiment of the present invention. DETAILED DESCRIPTION

[0019] The principles and features of the present invention are described below in conjunction with the accompanying drawings. The examples given are only used to explain the present invention and are not used to limit the scope of the present invention.

[0020] In order to more clearly understand the above-mentioned purpose, features and advantages of the present application, the present application is further described in detail below in conjunction with the accompanying drawings and examples. It is to be understood that the described embodiments are part of the embodiments of the present application, rather than all of the embodiments. The specific embodiments described herein are merely used to explain the present application, rather than to limit the present application. Based on the described embodiments of the present application, all other embodiments obtained by those of ordinary skill in the art belong to the scope of protection of the present application.

[0021] Embodiment 1

[0022] Figure 1 The present invention is a flowchart of a consortium chain slimming method based on smart contracts in an embodiment of the present invention.

[0023] A consortium chain slimming method based on smart contracts, combined with Figure 1 , including the following steps.

[0024] S1. Record the alliance chain block ledger according to the preset data structure.

[0025] In some optional implementation methods of some embodiments, the alliance chain block ledger involved in the present invention uses two preset data structures for recording, and the two data structures include a user identity public key certificate block structure and an identity public key certificate unique index block structure that maps the user identity public key certificate.

[0026] In some optional implementation methods of some embodiments, step S1 specifically includes: using a user identity public key certificate block structure and an identity public key certificate unique index block structure that maps the user identity public key certificate to record the alliance chain block ledger, the user identity public key certificate block structure contains user identity public key certificate information, the user identity public key certificate information contains the user identity public key certificate, and a mapping relationship is formed between the user identity public key certificate and the identity public key certificate unique index.

[0027] In some optional implementations of some embodiments, Table 1 represents the user identity public key certificate block structure, Table 2 represents the user identity public key certificate, and Table 3 represents the identity public key certificate unique index block structure. It can be seen from Table 1 that the existing alliance chain block ledger (i.e., the user identity public key certificate block structure) contains a user identity public key certificate used to represent user identity information. It can be seen from Table 2 that the user identity public key certificate contains a version number, serial number, identity information (i.e., organization information), issuer information, validity period, public key information (letter algorithm information, etc.), issuer signature and extension information, etc., wherein the public key information adopts a large-byte binary public key certificate. It should be understood here that the large-byte binary public key certificate means that the byte length of the binary public key certificate is longer, and the large-byte binary public key certificate is in the block The byte length occupied is about 1024 bytes. Therefore, when using a large-byte binary public key certificate for communication or signature verification, there is a problem that the retrieval speed is slowed down, and eventually the entire blockchain network cannot work; at the same time, the alliance chain block ledger also stores user identity public key certificate information such as transaction signatures, endorsement signatures, sorting signatures, and block packaging signatures. The alliance chain block ledger involved in the present invention not only supports the original user identity public key certificate information to represent the user identity information, but also supports the identity public key certificate unique index to refer to the user identity public key certificate information, that is, supports the identity public key certificate unique index block structure (the identity public key certificate unique index block structure is shown in Table 3 below), so that the alliance user can query and use the corresponding user identity public key certificate information through the identity public key certificate unique index.

[0028] Table 1 User identity public key certificate block structure

[0029]

[0030] Table 2 User identity public key certificate

[0031]

[0032] Table 3 Identity public key certificate unique index block structure

[0033]

[0034] S2. Based on the preset data structure, the user's identity public key certificate information is processed on the chain using smart contract technology, and the corresponding identity public key certificate unique index is obtained.

[0035] In some optional implementations of some embodiments, the user identity public key certificate information involved in the present invention is uploaded to the chain through a smart contract and returns a unique index of the identity public key certificate.

[0036] In some optional implementation methods of some embodiments, step S2 specifically includes: the endorsement node holder processes the user identity public key certificate information on the chain through smart contract technology, and obtains the corresponding identity public key certificate unique index based on the user identity public key certificate block structure and the corresponding identity public key certificate unique index block structure.

[0037] Furthermore, smart contract technology is used to process the user identity public key certificate information on the chain. The user can execute the system intelligent request to perform the user identity public key certificate information upload operation. Through the system smart contract processing, the user identity public key certificate information is uploaded to the chain and configured in the configuration block of the alliance chain. Each node of the alliance chain can synchronize the configuration block and configure the configuration block content on each node. Each node can obtain the user identity public key certificate information from its own node and obtain the corresponding identity public key certificate unique index.

[0038] S3. During the communication between alliance chain nodes, the unique index of the identity public key certificate is used to refer to the user's identity public key certificate information for communication.

[0039] In some optional implementation methods of some embodiments, step S3 specifically includes: during communication between alliance chain nodes, the communication content includes the unique index of the identity public key certificate, and based on the mapping relationship formed between the user identity public key certificate and the unique index of the identity public key certificate, communication is performed by referring to the user identity public key certificate information through the unique index of the identity public key certificate.

[0040] In some optional implementation methods of some embodiments, through the above-mentioned step S3, it can be achieved that all on-chain signing behaviors can use the identity public key certificate unique index to refer to the corresponding user identity public key certificate information, that is, the corresponding identity public key certificate unique index can be queried through the user identity public key certificate information, and the corresponding user identity public key certificate information can be referred to through the identity public key certificate unique index.

[0041] In some optional implementation methods of some embodiments, for example: the transaction initiator refers to his own user identity public key certificate information through his own identity public key certificate unique index to initiate a transaction request; the endorser endorses the transaction by referring to his own user identity public key certificate information through his own identity public key certificate unique index; the transaction initiator refers to his own user identity public key certificate information through his own identity public key certificate unique index, packages the transaction request and the endorsement result into an envelope, and sends the envelope to the sorting node; the sorting node refers to its own user identity public key certificate information through its own identity public key certificate unique index, sorts the alliance chain block ledger, and packages its own identity public key certificate unique index and signature information into the alliance chain block ledger.

[0042] S4. During the signature verification process, the unique index of the identity public key certificate is used to obtain the corresponding user identity public key certificate information, and the signature is verified through the user identity public key certificate information.

[0043] In some optional implementation methods of some embodiments, step S4 specifically includes: during the signature verification process, based on the mapping relationship formed between the user identity public key certificate and the unique index of the identity public key certificate, using smart contract technology, querying and obtaining the corresponding user identity public key certificate information according to the unique index of the identity public key certificate, and obtaining the user identity public key certificate based on the user identity public key certificate information, using the user identity public key certificate to determine whether the digital signature is correct, and whether it complies with the endorsement rules.

[0044] Furthermore, by adopting smart contract technology, each node of the alliance chain can synchronize the configuration block information synchronized by the system smart contract to the world state of each node. Each node can query and obtain the corresponding user identity public key certificate information from the world state of each node according to the unique index of the identity public key certificate, and obtain the user identity public key certificate based on the user identity public key certificate information, and use the user identity public key certificate to determine whether the digital signature is correct and whether it complies with the endorsement rules.

[0045] In some optional implementation methods of some embodiments, each link of the alliance chain needs to verify the integrity of the electronic signature based on the public key. In the present application, for the transmission process of transactions and alliance chain block ledgers, the transmission content only includes the unique index of the identity public key certificate. Each signature verification link can use smart contract technology to query and obtain the corresponding user identity public key certificate information based on the unique index of the identity public key certificate, and obtain the user identity public key certificate containing version number, serial number, identity information (ie, organization information), issuer information, validity period, public key information (letter algorithm information, etc.), issuer signature and extended information based on the user identity public key certificate information (see Table 2 for details), and then verify whether the electronic signature is correct based on the public key information, and determine whether it complies with the endorsement rules based on the identity information.

[0046] S5. Use the unique index of the identity public key certificate to refer to the user's identity public key certificate information and generate a slimmed-down alliance chain block ledger.

[0047] In some optional implementation methods of some embodiments, the identity public key certificate unique index is used to refer to the user identity public key certificate information, specifically including: in the slimmed down alliance chain block ledger, the identity public key certificate unique index is used to refer to the user identity public key certificate information containing the user identity public key certificate (see Table 2 for details). Since the alliance chain block ledger contains user identity public key certificate information for electronic signatures required for multiple transactions and transmission processes, there is a lot of redundant data. After using the identity public key certificate unique index to refer to this information, real-time slimming of each alliance chain block ledger can be achieved, reducing the waste of storage space.

[0048] The present invention provides a consortium chain slimming method based on smart contracts. The method adopts smart contract technology and uses the identity public key certificate unique index to refer to repeated and redundant user identity public key certificate information, so as to reduce the redundant data of the account book, thereby realizing real-time slimming of blockchain account book data, streamlining the database, reducing the waste of storage space, improving the reading speed, and reducing hardware expenses; at the same time, using the identity public key certificate unique index to refer to the user identity public key certificate information for communication can effectively reduce communication data, so as to improve communication efficiency and the working performance of the blockchain.

[0049] Embodiment 2

[0050] This embodiment provides a smart contract-based alliance chain slimming system 100 based on the above embodiment 1. Figure 2 , implementing a smart contract-based alliance chain slimming method described in Example 1, the system includes a recording module 110, an acquisition module 120, a digital signature module 130, a signature verification module 140 and a generation module 150.

[0051] In some optional implementations of some embodiments, the recording module 110 is used to record the alliance chain block ledger according to a preset data structure.

[0052] In some optional implementations of some embodiments, the recording module 110 includes: a user identity public key certificate recording sub-module, which is used to record the alliance chain block ledger using a user identity public key certificate block structure, and the user identity public key certificate block structure contains user identity public key certificate information, and the user identity public key certificate information contains the user identity public key certificate; an identity public key certificate unique index recording sub-module, which is used to record the alliance chain block ledger using an identity public key certificate unique index block structure that maps the user identity public key certificate, and a mapping relationship is formed between the user identity public key certificate and the identity public key certificate unique index.

[0053] In some optional implementations of some embodiments, the acquisition module 120 is used to process the user identity public key certificate information on the chain based on a preset data structure using smart contract technology, and obtain the corresponding identity public key certificate unique index.

[0054] In some optional implementations of some embodiments, the acquisition module 120 includes: an on-chain processing sub-module, which is used for the endorsement node holder to perform on-chain processing of the user identity public key certificate information through smart contract technology; an identity public key certificate unique index acquisition sub-module, which is used to obtain the corresponding identity public key certificate unique index based on the user identity public key certificate block structure and the corresponding identity public key certificate unique index block structure.

[0055] In some optional implementations of some embodiments, the digital signature module 130 is used to communicate by referring to the user identity public key certificate information through the unique index of the identity public key certificate during communication between alliance chain nodes.

[0056] In some optional implementations of some embodiments, the digital signature module 130 includes: a communication sub-module, which is used to communicate during the communication between alliance chain nodes, based on the mapping relationship formed between the user identity public key certificate and the identity public key certificate unique index, by referring to the user identity public key certificate information through the identity public key certificate unique index; a communication content template sub-module, which is used to communicate during the communication between alliance chain nodes, using communication content containing the identity public key certificate unique index.

[0057] In some optional implementations of some embodiments, the signature verification module 140 is used to use the unique index of the identity public key certificate to obtain the corresponding user identity public key certificate information during the signature verification process, and perform signature verification through the user identity public key certificate information.

[0058] In some optional implementations of some embodiments, the signature verification module 140 includes: a user identity public key certificate information acquisition sub-module, which is used to query and obtain the corresponding user identity public key certificate information according to the unique index of the identity public key certificate based on the mapping relationship formed between the user identity public key certificate and the unique index of the identity public key certificate during the signature verification process, using smart contract technology; a user identity public key certificate acquisition sub-module, which is used to obtain the user identity public key certificate according to the user identity public key certificate information; and a judgment sub-module, which is used to use the user identity public key certificate to judge whether the digital signature is correct and whether it complies with the endorsement rules.

[0059] In some optional implementations of some embodiments, the generation module 150 is used to use the identity public key certificate unique index to refer to the user identity public key certificate information to generate a slimmed-down alliance chain block ledger.

[0060] Those skilled in the art will appreciate that although some embodiments described herein include certain features included in other embodiments but not other features, the combination of features from different embodiments is meant to be within the scope of the present application and to form different embodiments.

[0061] Those skilled in the art will appreciate that the description of each embodiment has its own emphasis, and for parts not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0062] Although the embodiments of the present application are described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present application, and such modifications and variations all fall within the scope defined by the attached claims. The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or substitutions within the technical scope disclosed by the present invention, and these modifications or substitutions should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims

1. A consortium chain slimming method based on smart contracts. It is characterized in that The following steps are involved: Record the consortium chain block ledger according to the preset data structure; Based on the preset data structure, the user's identity public key certificate information is processed on the chain using smart contract technology, and the corresponding identity public key certificate unique index is obtained; During the communication between alliance chain nodes, the unique index of the identity public key certificate is used to refer to the user's identity public key certificate information for communication; During the signature verification process, the unique index of the identity public key certificate is used to obtain the corresponding user identity public key certificate information, and the signature is verified through the user identity public key certificate information; The unique index of the identity public key certificate is used to refer to the user's identity public key certificate information to generate a slimmed-down alliance chain block ledger; The recording of the alliance chain block ledger according to the preset data structure specifically includes: using a user identity public key certificate block structure and an identity public key certificate unique index block structure mapping the user identity public key certificate to record the alliance chain block ledger, the user identity public key certificate block structure includes user identity public key certificate information, the user identity public key certificate information includes the user identity public key certificate, and a mapping relationship is formed between the user identity public key certificate and the identity public key certificate unique index; Based on the preset data structure, the user identity public key certificate information is processed on the chain using smart contract technology, and the corresponding identity public key certificate unique index is obtained, specifically including: the endorsement node holder processes the user identity public key certificate information on the chain through smart contract technology, and obtains the corresponding identity public key certificate unique index based on the user identity public key certificate block structure and the corresponding identity public key certificate unique index block structure.

2. According to the smart contract-based alliance chain slimming method of claim 1, It is characterized in that The communication between alliance chain nodes is carried out by referring to the user identity public key certificate information through the unique index of the identity public key certificate, which specifically includes: during the communication between alliance chain nodes, the communication content includes the unique index of the identity public key certificate, and based on the mapping relationship formed between the user identity public key certificate and the unique index of the identity public key certificate, the user identity public key certificate information is referred to by the unique index of the identity public key certificate for communication.

3. According to the smart contract-based alliance chain slimming method of claim 1, It is characterized in that In the signature verification process, the unique index of the identity public key certificate is used to obtain the corresponding user identity public key certificate information, and the signature is verified through the user identity public key certificate information, specifically including: in the signature verification process, based on the mapping relationship formed between the user identity public key certificate and the unique index of the identity public key certificate, the smart contract technology is used to query and obtain the corresponding user identity public key certificate information according to the unique index of the identity public key certificate, and the user identity public key certificate is obtained according to the user identity public key certificate information, and the user identity public key certificate is used to determine whether the digital signature is correct and whether it complies with the endorsement rules.

4. A consortium chain slimming system based on smart contracts, It is characterized in that include: The recording module is used to record the alliance chain block ledger according to the preset data structure; The acquisition module is used to process the user's identity public key certificate information on the chain based on the preset data structure using smart contract technology, and obtain the corresponding identity public key certificate unique index; The digital signature module is used to communicate between alliance chain nodes by referring to the user's identity public key certificate information through the unique index of the identity public key certificate; The signature verification module is used to obtain the corresponding user identity public key certificate information using the unique index of the identity public key certificate during the signature verification process, and verify the signature through the user identity public key certificate information; A generation module is used to use the unique index of the identity public key certificate to refer to the user's identity public key certificate information and generate a slimmed-down alliance chain block ledger; The recording module includes: a user identity public key certificate recording submodule, which is used to record the alliance chain block ledger using the user identity public key certificate block structure, the user identity public key certificate block structure includes the user identity public key certificate information, and the user identity public key certificate information includes the user identity public key certificate; an identity public key certificate unique index recording submodule, which is used to record the alliance chain block ledger using the identity public key certificate unique index block structure that maps the user identity public key certificate, and a mapping relationship is formed between the user identity public key certificate and the identity public key certificate unique index; The acquisition module includes: an on-chain processing submodule, which is used for the endorsement node holder to process the user identity public key certificate information on the chain through smart contract technology; an identity public key certificate unique index acquisition submodule, which is used to obtain the corresponding identity public key certificate unique index based on the user identity public key certificate block structure and the corresponding identity public key certificate unique index block structure.

5. According to the smart contract-based alliance chain slimming system of claim 4, It is characterized in that The digital signature module includes: a communication sub-module, which is used to communicate during the communication between alliance chain nodes, based on the mapping relationship formed between the user identity public key certificate and the unique index of the identity public key certificate, by referring to the user identity public key certificate information through the unique index of the identity public key certificate; a communication content template sub-module, which is used to communicate during the communication between alliance chain nodes using communication content containing the unique index of the identity public key certificate.

6. According to claim 4, a smart contract-based alliance chain slimming system, It is characterized in that The signature verification module includes: a user identity public key certificate information acquisition submodule, which is used to query and obtain the corresponding user identity public key certificate information according to the unique index of the identity public key certificate based on the mapping relationship formed between the user identity public key certificate and the unique index of the identity public key certificate during the signature verification process using smart contract technology; a user identity public key certificate acquisition submodule, which is used to obtain the user identity public key certificate according to the user identity public key certificate information; and a judgment submodule, which is used to use the user identity public key certificate to judge whether the digital signature is correct and whether it complies with the endorsement rules.