A blockchain signature processing method and system
By constructing a plaintext information matrix and calculating redundant features, combined with grid clustering and encryption algorithms, the problem of low security in blockchain signature processing is solved and the security and accuracy of data signatures are improved.
Patent Information
- Application Number
- CN202411087696.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-09
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2044-08-09
AI Technical Summary
Blockchain signature processing has low security in wireless communication environments, and the output of traditional information digest algorithms such as MD5 is unstable, leading to increased risks of information leakage and data tampering.
Construct a plaintext information matrix by obtaining the plaintext information of user data, calculate the local information synchronization coefficient and redundancy characteristic curve of the sliding window, obtain the plaintext information redundancy index, adjust the density threshold parameters, use the grid clustering algorithm to group the data, and combine it with MD5 and RES encryption algorithm to generate information digest for digital signature.
It improves the security and accuracy of data signatures, reduces the risk of information leakage and tampering, and enhances the protection capabilities of blockchain data.
Smart Images

Figure CN118590246B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of digital signatures, and in particular to a blockchain signature processing method and system. Background Art
[0002] With the development of the Internet and digital technology, blockchain has gradually become a field of concern and research. Blockchain technology has the advantages of decentralization and high security. It can be used not only in digital currency and finance, but also in supply chain management, Internet of Things, government services, health care and other fields. Blockchain is a decentralized distributed ledger technology that uses cryptography to ensure the security and credibility of data exchange and records. Blockchain connects multiple blocks to form a chain structure and uses a consensus algorithm to ensure that each node has the same records and updates, thereby improving the security and traceability of data.
[0003] In blockchain technology, encryption technology is the foundation of blockchain security, mainly including public key cryptography, hash functions, digital signatures, etc. Digital signatures use public key cryptography to ensure the authenticity and non-repudiation of data and prevent data from being tampered with or forged. However, private key leakage cannot be avoided in wireless communication network environments. Digital signatures in blockchain technology include the encryption process and the information digest acquisition process. The output of the traditional information digest MD5 (Message-Digest Algorithm 5) encryption algorithm is a fixed-length byte, and the encryption effect on different data is unstable. In the process of digital signature, the encryption process and the information digest acquisition process are less secure, which may lead to information leakage and reduce security. Summary of the invention
[0004] The present invention provides a blockchain signature processing method and system to solve the problem of low security of blockchain signature processing. The technical solutions adopted are as follows:
[0005] In a first aspect, an embodiment of the present invention provides a blockchain signature processing method, the method comprising the following steps:
[0006] Obtain plaintext information of user data, and obtain a plaintext information matrix according to the plaintext information of the user data;
[0007] A sliding window is constructed according to a plaintext information matrix, and a local information feature sequence, a local information feature curve, and a row vector of the sliding window are obtained based on the sliding window; a local information synchronization coefficient of the sliding window is calculated according to the local information feature sequence of the sliding window in the plaintext information matrix and the row vector of the sliding window; a sequence of local information synchronization coefficients of all sliding windows in the plaintext information matrix is sorted in ascending order as a plaintext information synchronization feature sequence of the plaintext information matrix, and a normalization result of the plaintext information synchronization feature sequence is obtained by using a normalization algorithm; a redundant feature curve of the plaintext information matrix is obtained according to the plaintext information synchronization feature sequence of the plaintext information matrix; a plaintext information redundant feature coefficient is obtained according to the redundant feature curve of the plaintext information matrix; a plaintext information redundancy index is calculated according to the plaintext information redundant feature coefficient of the plaintext information matrix, the plaintext information synchronization feature sequence, and the local information feature curve;
[0008] The density threshold parameter is calculated according to the plaintext information redundancy index of the plaintext information matrix, and the plaintext information grouping result is obtained by using the grid clustering algorithm based on the density threshold parameter; the information summary of the plaintext information is obtained according to the grouping result of the plaintext information, and the digital signature result of the information in the blockchain is obtained according to the information summary of the plaintext information.
[0009] Preferably, the method of obtaining the plaintext information of the user data and obtaining the plaintext information matrix according to the plaintext information of the user data is:
[0010] A mobile terminal is used to obtain original data that a user needs to store, wherein the original data includes but is not limited to transaction data, files, contract data, etc. An encoding technology is used to obtain an encoding result of the original data, and padding and length addition processing are performed on the encoding result according to the padding and length addition processing in the MD5 algorithm. A sequence composed of the processed encoding results is used as a plaintext information sequence, and the plaintext information sequence is divided into 8-bit binary numbers from left to right. Each 8-bit binary number is converted into a decimal number, and a result of the plaintext information sequence conversion is used as a plaintext data sequence, and a plaintext information matrix is constructed according to the plaintext data sequence.
[0011] Preferably, the method of obtaining the plaintext information of the user data and obtaining the plaintext information matrix according to the plaintext information of the user data is:
[0012] A sliding window of a preset size is constructed in a plaintext information matrix, the number of elements with the same value in the sliding window is counted, the ratio of the number of elements with each same value to the number in the sliding window is used as the probability distribution value of the elements with the same value, and a sequence composed of all the probability distribution values arranged from small to large is used as the local information feature sequence of the sliding window; the size of each element with the same value is used as the abscissa, the probability distribution value of each element with the same value is used as the ordinate, and a curve formed by the abscissa and the ordinate is used as the local information feature curve of the sliding window;
[0013] The vector formed by the elements in each row of the sliding window is used as the row vector of the sliding window, the vector formed by the elements in each column of the sliding window is used as the column vector of the sliding window, and the result of transposing all the column vectors is used as the row vector of the sliding window.
[0014] Preferably, the method for calculating the local information synchronization coefficient of the sliding window according to the local information feature sequence of the sliding window in the plaintext information matrix and the row vector of the sliding window is:
[0015]
[0016] In the formula, Indicates the first The local information synchronization coefficient of the sliding window; Indicates the first The local information feature sequence of a sliding window, express The standard deviation of all elements in ; and They represent the first The sliding window and row vectors, Representation calculation and The cosine similarity of Indicates the first The number of row vectors in the sliding window; Indicates the adjustment parameter.
[0017] Preferably, the method for obtaining the redundancy characteristic curve of the plaintext information matrix according to the plaintext information synchronization characteristic sequence of the plaintext information matrix is:
[0018] A Bayesian mutation point detection algorithm is used to obtain the probability of mutation of each element in the plaintext information synchronization feature sequence, the position of the element in the plaintext information synchronization feature sequence is used as the horizontal coordinate, the probability of mutation of the element in the plaintext information synchronization feature sequence is used as the vertical coordinate, and the curve formed by the horizontal coordinate and the vertical coordinate is used as the redundant characteristic curve of the plaintext information matrix.
[0019] Preferably, the method for obtaining the redundancy characteristic coefficient of the plaintext information according to the redundancy characteristic curve of the plaintext information matrix is:
[0020] The difference between the maximum value and the minimum value of the redundant characteristic curve of the plaintext information matrix is used as the numerator, the product of the minimum value of the redundant characteristic curve of the plaintext information matrix and the number of extreme points in the redundant characteristic curve is used as the first characteristic coefficient, the sum of the first characteristic coefficient and a preset parameter is used as the denominator, and the ratio of the numerator to the denominator is used as the plaintext information redundant characteristic coefficient of the plaintext information matrix.
[0021] Preferably, the method for calculating the plaintext information redundancy index according to the plaintext information redundancy characteristic coefficient of the plaintext information matrix, the plaintext information synchronization characteristic sequence, and the local information characteristic curve is:
[0022]
[0023] In the formula, The plaintext information redundancy index representing the plaintext information matrix; Represents the redundant characteristic coefficient of the plaintext information matrix; and They represent the normalized results of the plaintext information synchronization feature sequence Middle and values; and They represent the normalized results of the plaintext information synchronization feature sequence Middle and The value corresponds to the local information characteristic curve of the sliding window, express and The KL divergence between Represents the normalized result of the plaintext information synchronization feature sequence The amount of data in .
[0024] Preferably, the method of calculating the density threshold parameter according to the plaintext information redundancy index of the plaintext information matrix and obtaining the plaintext information grouping result by using the grid clustering algorithm based on the density threshold parameter is:
[0025] The result of rounding up the product of the initial density threshold parameter and the plaintext information redundancy index of the plaintext information matrix is taken as the first adjustment coefficient, and the sum of the first adjustment coefficient and the initial density threshold parameter is taken as the density threshold parameter; a grid clustering algorithm is used based on the density threshold parameter to obtain the clustering result of the plaintext information, and a grouping result of the plaintext information is obtained according to the clustering result of the plaintext information.
[0026] Preferably, the method of obtaining the information summary of the plaintext information according to the grouping result of the plaintext information, and obtaining the digital signature result of the information in the blockchain according to the information summary of the plaintext information is:
[0027] Based on the grouping result of the plaintext information, the MD5 algorithm is used to obtain the information summary of the plaintext information, and the RES encryption algorithm is used to obtain the digital signature result of the information summary of the plaintext information.
[0028] In a second aspect, an embodiment of the present invention further provides a blockchain signature processing system, comprising a memory, a processor, and a computer program stored in the memory and running on the processor, wherein the processor implements the steps of any one of the above-mentioned blockchain signature processing methods when executing the computer program.
[0029] The beneficial effects of the present invention are as follows: the present invention encodes the original data that the user needs to store after filling and adding data, obtains the user's plaintext information according to the encoding result, constructs a plaintext information matrix based on the user's plaintext information, constructs a sliding window based on the plaintext information matrix, obtains the local information synchronization coefficient based on the sliding window, calculates the plaintext information synchronization feature sequence based on the local information synchronization coefficient, obtains the redundant feature curve based on the plaintext information synchronization feature sequence, and calculates the plaintext information redundancy index based on the redundant feature curve. The density threshold parameter is obtained based on the plaintext information redundancy index, and its beneficial effect is that the density threshold parameter is adjusted according to the characteristics of the original data that the user needs to store, the accuracy of the STING (Statistical Information Grid algorithm) algorithm clustering process is improved, the user's plaintext information is grouped according to the clustering result, the correlation between the plaintext information groups is reduced, and the security of digitally signing the data is improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0031] Figure 1A flowchart of a blockchain signature processing method provided by an embodiment of the present invention;
[0032] Figure 2 A schematic diagram of the sliding direction of a sliding window in a plaintext information matrix provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0033] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0034] See also Figure 1 , which shows a flowchart of a blockchain signature processing method provided by an embodiment of the present invention, the method comprising the following steps:
[0035] Step S001, obtaining plaintext information of user data, and obtaining a plaintext information matrix according to the plaintext information of the user data.
[0036] Use a mobile terminal to obtain the original data that the user needs to store, the original data includes but is not limited to transaction data, files, contract data, etc., encode the original data using UTF-8 (Unicode Transformation Format-8) encoding, convert the original data into binary data, pad and add length processing to the binary data according to the padding and length addition processing in the MD5 algorithm, use the sequence of processed binary numbers as a plaintext information sequence, divide the plaintext information sequence into 8-bit binary numbers from left to right, convert each 8-bit binary number into a decimal number, use the result of the plaintext information sequence conversion as a plaintext data sequence, and obtain the number of data in the plaintext data sequence , the size of the plaintext information matrix is obtained according to the number of data in the plaintext data sequence. The specific calculation formula is as follows:
[0037]
[0038] In the formula, Represents the number of elements in any row or column in the plaintext information matrix; Indicates the number of data in the plaintext data sequence; Express The calculation result of is rounded up. The plaintext information matrix is filled with the elements in the plaintext data sequence from left to right and from top to bottom. After the filling is completed, the positions of the unfilled elements in the matrix are filled with 0, and the filling result is used as the user's plaintext information matrix. Specifically, for example, the plaintext data sequence is , then construct a 3×3 plaintext information matrix :
[0039]
[0040] At this point, the user's plaintext information matrix is obtained.
[0041] Step S002, construct a sliding window according to the plaintext information matrix, obtain a local feature information sequence and a local information feature curve according to the sliding window of the plaintext information matrix, obtain a row vector in the sliding window, and calculate a local information synchronization coefficient according to the local feature information sequence and the row vector in the sliding window.
[0042] When using blockchain technology for data storage, data encryption and digital signature are required to ensure the security of data storage and the accuracy of information. Since each user needs to store different original data, when performing digital signatures, high repetitiveness of the original data will affect the security of the information signature.
[0043] Furthermore, since the repeatability of the data to be stored by the user needs to be analyzed by combining global features and local features, a 5×5 sliding window is constructed in the user's plaintext information matrix. The sliding step of the sliding window is 1, and the sliding order is from left to right and from top to bottom. The specific sliding direction of the sliding window in the plaintext information matrix is as follows: Figure 2 The number of elements with the same value in any one kind in the sliding window is counted, and the ratio of the number of elements with the same value to the number in the sliding window is used as the probability distribution value of the elements with the same value, and the sequence composed of all the probability distribution values sorted from small to large is used as the local information feature sequence of the sliding window. ; Further, the size of each element with the same value is used as the horizontal coordinate, the probability distribution value of each element with the same value is used as the vertical coordinate, and the curve formed by the horizontal coordinate and the vertical coordinate is used as the local information characteristic curve of the sliding window .
[0044] The vector composed of each row element in the sliding window is used as the row vector of the sliding window. The row vectors in the sliding window are ; The vector composed of each column element in the sliding window is used as the column vector of the sliding window, and the result of transposing all column vectors is used as the row vector of the sliding window, which are respectively , so the row vectors in the sliding window are The local information characteristics of the user's plaintext information are analyzed by comparing the horizontal characteristics and the vertical characteristics of the information in the sliding window. The local information synchronization coefficient of the sliding window is calculated according to the row vector, column vector and local information characteristic curve in the sliding window. The local information synchronization coefficient reflects the local information characteristics of the user's plaintext information. The specific calculation formula is as follows:
[0045]
[0046] In the formula, Indicates the first The local information synchronization coefficient of the sliding window; Indicates the first The local information feature sequence of a sliding window, express The standard deviation of all elements in ; and They represent the first The sliding window and row vectors, Representation calculation and The cosine similarity of Indicates the first The number of row vectors in the sliding window; Represents the adjustment parameter, and the empirical value is 0.01.
[0047] If the plaintext information matrix The value range of the elements in the sliding window is large, and the value distribution of the elements in the sliding window is chaotic, then the calculated and The larger the value of The local information synchronization coefficient of the sliding window The larger the value of The information synchronization of elements within a sliding window is low, and the possibility of local information duplication is low.
[0048] At this point, the local information synchronization coefficient is obtained.
[0049] Step S003, obtaining a plaintext information synchronization feature sequence according to a local information synchronization coefficient, obtaining a redundant feature curve according to the plaintext information synchronization feature sequence, obtaining a redundant feature coefficient according to the redundant feature curve, and calculating a plaintext information redundancy index according to the redundant feature coefficient, the plaintext information synchronization feature sequence and the local information feature curve.
[0050] Each sliding window in the plaintext information matrix can represent a local synchronization feature, and the global plaintext information redundancy index of the plaintext information matrix is analyzed based on the local synchronization feature. Specifically, the local information synchronization coefficients of all sliding windows in the plaintext information matrix are sorted in order from small to large as a sequence of plaintext information synchronization feature sequences of the plaintext information matrix, and the sequence is input as the plaintext information synchronization feature sequence, and the normalization result of the plaintext information synchronization feature sequence is obtained by using the maximum and minimum value normalization algorithm. The specific implementation process of the maximum and minimum value normalization algorithm is a well-known technology and will not be described in detail.
[0051] Furthermore, the plaintext information synchronization feature sequence of the plaintext information matrix is input, and the probability of mutation of each element in the plaintext information synchronization feature sequence is obtained by using the Bayesian mutation point detection algorithm, the position of the element in the plaintext information synchronization feature sequence is used as the horizontal coordinate, the probability of mutation of the element in the plaintext information synchronization feature sequence is used as the vertical coordinate, and the curve formed by the horizontal coordinate and the vertical coordinate is used as the redundant feature curve of the plaintext information matrix The specific implementation process of the Bayesian mutation point detection algorithm is a well-known technology and will not be described in detail.
[0052] Furthermore, if the repetitive characteristics of the elements in the plaintext information matrix are obvious, the distribution of the redundancy characteristic curve of the plaintext information matrix may present a unimodal distribution, and the variation range of the redundancy characteristic curve is large. Therefore, the plaintext information redundancy index can be calculated based on the difference between the redundancy characteristic curve and the local characteristics of the plaintext information matrix. The specific calculation formula is as follows:
[0053]
[0054]
[0055] In the formula, The plaintext information redundancy index representing the plaintext information matrix; Represents the redundant characteristic coefficient of the plaintext information matrix, Represents the redundant characteristic curve of the plaintext information matrix, and Respectively The maximum and minimum values of express The number of extreme points in the and They represent the normalized results of the plaintext information synchronization feature sequence Middle and values; and They represent the normalized results of the plaintext information synchronization feature sequence Middle and The value corresponds to the local information characteristic curve of the sliding window, express and The KL divergence between Represents the normalized result of the plaintext information synchronization feature sequence The amount of data in Represents the adjustment parameter, and the empirical value is 0.1.
[0056] If the repetitive characteristics of the elements in the plaintext information matrix are obvious, the calculated The larger the value of is, and the local features between different sliding windows in the plaintext information matrix are obvious, the calculated The larger the value of is, the plaintext information redundancy index of the plaintext information matrix is. The larger the value is, the more prominent the repetitive features of the elements in the plaintext information matrix are, that is, the information that the user needs to store has repetitive features.
[0057] At this point, the plaintext information redundancy index is obtained.
[0058] Step S004, calculate the density threshold parameter according to the plaintext information redundancy index, use the grid clustering algorithm based on the density threshold parameter to obtain the plaintext information grouping result, obtain the data summary according to the plaintext information grouping result, and obtain the data signature result according to the data summary.
[0059] The density threshold parameter in the STING (Statistical Information Grid algorithm) algorithm is calculated according to the plaintext information redundancy index of the plaintext information matrix. The specific calculation formula is as follows:
[0060]
[0061] In the formula, represents the density threshold parameter of the user information matrix; Represents the plaintext information redundancy index of the user information matrix; Represents the initial density threshold parameter, and its empirical value is 5; Express The calculation result is rounded up.
[0062] The input is the density threshold parameter and the plaintext information matrix. The STING algorithm is used to obtain the clustering result of the plaintext information matrix, and the user's plaintext data sequence is divided according to the clustering result of the plaintext information matrix. Specifically, each 512-bit array composed of data is selected in each cluster of the plaintext information matrix in turn as a plaintext grouping result of the plaintext information; specifically, for example, if the number of clusters divided by the plaintext information matrix is 5, one data is selected from each cluster in turn until the length of the array composed of the selected data is 512 bits, and the 512-bit array is used as a plaintext grouping result of the data that the user needs to store. The specific implementation process of the STING algorithm is a well-known technology and will not be repeated here.
[0063] Further, according to the characteristics of the original data that the user needs to store, the plaintext information blocks are adjusted in the information summary calculation process of the original data that the user needs to store. Specifically, the above-obtained plaintext grouping result of the data that the user needs to store is used as a block result of the plaintext information in the information summary calculation process, wherein the process of adjusting the plaintext information blocks is the plaintext grouping process of the original data that the user needs to store in steps S001-S004; based on the adjustment result of the plaintext information blocks, the MD5 algorithm is used to obtain the information summary of the user's original data. The specific implementation process of the MD5 algorithm is a well-known technology and will not be repeated. The information is digitally signed using the user's private key, and the result of the digital signature, the information summary and the original data that the user needs to store are stored in the blockchain network. Specifically, the RSA (Rivest-Shamir-Adleman) encryption algorithm is used to obtain the public key and private key of the user's storage data, and the information summary is signed according to the obtained private key to obtain the digital signature of the original data that the user needs to store. The specific implementation process of the RSA encryption algorithm is a well-known technology and will not be repeated.
[0064] The information summary and digital signature of the original data that the user needs to store are added to the end of the original data, and the added original data is stored in the corresponding block in the blockchain network.
[0065] Based on the same inventive concept as the above method, an embodiment of the present invention also provides a blockchain signature processing system, including a memory, a processor, and a computer program stored in the memory and running on the processor, and when the processor executes the computer program, the steps of any one of the above-mentioned blockchain signature processing methods are implemented.
[0066] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modification, equivalent replacement, improvement, etc. made within the principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A blockchain signature processing method, characterized in that: The method comprises the following steps: Obtain plaintext information of user data, and obtain a plaintext information matrix according to the plaintext information of the user data; A sliding window is constructed according to a plaintext information matrix, and a local information feature sequence, a local information feature curve, and a row vector of the sliding window are obtained based on the sliding window; a local information synchronization coefficient of the sliding window is calculated according to the local information feature sequence of the sliding window in the plaintext information matrix and the row vector of the sliding window; a sequence of local information synchronization coefficients of all sliding windows in the plaintext information matrix is sorted in ascending order as a plaintext information synchronization feature sequence of the plaintext information matrix; a redundancy feature curve of the plaintext information matrix is obtained according to the plaintext information synchronization feature sequence of the plaintext information matrix; a plaintext information redundancy feature coefficient is obtained according to the redundancy feature curve of the plaintext information matrix; a plaintext information redundancy index is calculated according to the plaintext information redundancy feature coefficient of the plaintext information matrix, the plaintext information synchronization feature sequence, and the local information feature curve; The density threshold parameter is calculated according to the plaintext information redundancy index of the plaintext information matrix, and the plaintext information grouping result is obtained by using the grid clustering algorithm based on the density threshold parameter; the information summary of the plaintext information is obtained according to the grouping result of the plaintext information, and the digital signature result of the information in the blockchain is obtained according to the information summary of the plaintext information.
2. A blockchain signature processing method according to claim 1, characterized in that: The method of obtaining the plaintext information of the user data and obtaining the plaintext information matrix according to the plaintext information of the user data is: A mobile terminal is used to obtain original data that a user needs to store, wherein the original data includes transaction data, files and contract data. An encoding technology is used to obtain an encoding result of the original data. The encoding result is padded and length-added according to the padding and length-adding processing in the MD5 algorithm. A sequence composed of the processed encoding results is used as a plaintext information sequence. The plaintext information sequence is divided into 8-bit binary numbers from left to right, each 8-bit binary number is converted into a decimal number, and a result of the plaintext information sequence conversion is used as a plaintext data sequence. A plaintext information matrix is constructed according to the plaintext data sequence.
3. A blockchain signature processing method according to claim 1, characterized in that: The method of constructing a sliding window according to the plaintext information matrix and obtaining a local information feature sequence, a local information feature curve, and a row vector of the sliding window based on the sliding window is: A sliding window of a preset size is constructed in a plaintext information matrix, the number of elements with the same value in the sliding window is counted, the ratio of the number of elements with each same value to the number in the sliding window is used as the probability distribution value of the elements with the same value, and a sequence composed of all the probability distribution values arranged from small to large is used as the local information feature sequence of the sliding window; the size of each element with the same value is used as the abscissa, the probability distribution value of each element with the same value is used as the ordinate, and a curve formed by the abscissa and the ordinate is used as the local information feature curve of the sliding window; The vector formed by the elements in each row of the sliding window is used as a row vector of the sliding window, the vector formed by the elements in each column of the sliding window is used as a column vector of the sliding window, and the result of transposing each column vector is used as a row vector of the sliding window.
4. A blockchain signature processing method according to claim 1, characterized in that: The method for calculating the local information synchronization coefficient of the sliding window according to the local information feature sequence of the sliding window in the plaintext information matrix and the row vector of the sliding window is: In the formula, Indicates the first The local information synchronization coefficient of the sliding window; Indicates the first The local information feature sequence of sliding windows, express The standard deviation of all elements in ; and They represent the first The sliding window and row vectors, Representation calculation and The cosine similarity of Indicates the first The number of row vectors in the sliding window; Indicates the adjustment parameter.
5. A blockchain signature processing method according to claim 1, characterized in that: The method for obtaining the redundant characteristic curve of the plaintext information matrix according to the plaintext information synchronization characteristic sequence of the plaintext information matrix is: A Bayesian mutation point detection algorithm is used to obtain the probability of mutation of each element in the plaintext information synchronization feature sequence, the position of the element in the plaintext information synchronization feature sequence is used as the horizontal coordinate, the probability of mutation of the element in the plaintext information synchronization feature sequence is used as the vertical coordinate, and the curve formed by the horizontal coordinate and the vertical coordinate is used as the redundant characteristic curve of the plaintext information matrix.
6. A blockchain signature processing method according to claim 1, characterized in that: The method for obtaining the redundant characteristic coefficient of the plaintext information according to the redundant characteristic curve of the plaintext information matrix is: The difference between the maximum value and the minimum value of the redundant characteristic curve of the plaintext information matrix is used as the numerator, the product of the minimum value of the redundant characteristic curve of the plaintext information matrix and the number of extreme points in the redundant characteristic curve is used as the first characteristic coefficient, the sum of the first characteristic coefficient and a preset parameter is used as the denominator, and the ratio of the numerator to the denominator is used as the plaintext information redundant characteristic coefficient of the plaintext information matrix.
7. A blockchain signature processing method according to claim 1, characterized in that: The method for calculating the plaintext information redundancy index according to the plaintext information redundancy characteristic coefficient of the plaintext information matrix, the plaintext information synchronization characteristic sequence, and the local information characteristic curve is: In the formula, The plaintext information redundancy index representing the plaintext information matrix; Represents the redundant characteristic coefficient of the plaintext information matrix; and They represent the normalized results of the plaintext information synchronization feature sequence Middle and values; and They represent the normalized results of the plaintext information synchronization feature sequence Middle and The value corresponds to the local information characteristic curve of the sliding window, express and The KL divergence between Represents the normalized result of the plaintext information synchronization feature sequence The amount of data in .
8. A blockchain signature processing method according to claim 1, characterized in that: The method of calculating the density threshold parameter according to the plaintext information redundancy index of the plaintext information matrix and obtaining the plaintext information grouping result by using the grid clustering algorithm based on the density threshold parameter is as follows: The result of rounding up the product of the initial density threshold parameter and the plaintext information redundancy index of the plaintext information matrix is used as the first adjustment coefficient, and the sum of the first adjustment coefficient and the initial density threshold parameter is used as the density threshold parameter; A grid clustering algorithm is used based on a density threshold parameter to obtain a clustering result of the plaintext information, and a grouping result of the plaintext information is obtained according to the clustering result of the plaintext information.
9. A blockchain signature processing method according to claim 1, characterized in that: The method of obtaining the information summary of the plaintext information according to the grouping result of the plaintext information and obtaining the digital signature result of the information in the blockchain according to the information summary of the plaintext information is: Based on the grouping result of the plaintext information, the MD5 algorithm is used to obtain the information summary of the plaintext information, and the RES encryption algorithm is used to obtain the digital signature result of the information summary of the plaintext information.
10. A blockchain signature processing system, comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that: When the processor executes the computer program, the steps of a blockchain signature processing method as described in any one of claims 1 to 9 are implemented.
