A blockchain-based electronic evidence storage electronic signature method and system

Through the blockchain-based electronic evidence storage and electronic signature method, the consensus mechanism, hash algorithm and time stamp technology are used to realize the classification and encrypted storage of electronic evidence, solving the problem of insufficient evidence viewing complexity and security in the existing technology. issues, improving the security and efficiency of evidence management.

CN118631591BActive Publication Date: 2024-10-25BEIJING JINZHENG MUTUAL CAPITAL SERVICES CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411095715.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-12
Publication Date
2024-10-25
Estimated Expiration
2044-08-12

AI Technical Summary

Technical Problem

Existing electronic evidence storage signature methods cannot classify and process evidence according to its importance or privacy, resulting in high complexity of evidence viewing, poor flexibility, and difficulty in effectively preventing unauthorized modification and access.

Method used

Adopt a blockchain-based electronic evidence storage and electronic signature method, and build a classification framework and grading model for electronic evidence through consensus mechanisms, hash algorithms, hybrid classification methods and timestamp technology to achieve encrypted storage and non-repudiation signatures of evidence to ensure Integrity and security of evidence.

Benefits of technology

It improves the management security and efficiency of electronic evidence, realizes secure communication and transmission of evidence through the blockchain network, ensures the integrity and non-tamperability of evidence, and prevents unauthorized access and modification through hierarchical technology and encryption technology.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118631591B_ABST
    Figure CN118631591B_ABST
Patent Text Reader

Abstract

The present invention discloses a method and system for electronic evidence storage and electronic signature based on blockchain, and relates to the technical field of electronic evidence storage, which includes the following steps: filing the electronic evidence of the case acquired by the acquisition device through a consensus mechanism, and packaging and uploading the filed electronic evidence to an evidence server for pre-storage; building a consistency mechanism based on blockchain technology and auditing the degree of tampering of the electronic evidence before and after storage in combination with a hash algorithm, and encrypting and storing the electronic evidence in the evidence server using the audit results; building a classification framework using a hybrid classification method combining surface and line, and building an evidence classification model using a classification technology of security analysis to classify the electronic evidence; building a non-repudiation mechanism for time attributes and signature attributes using timestamp technology and encryption algorithms, and combining the non-repudiation mechanism with the classification results to implement electronic signatures on the electronic evidence. The present invention improves the security, efficiency and reliability of electronic evidence management.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of electronic evidence storage, and in particular to a blockchain-based electronic evidence storage electronic signature method and system. Background Art

[0002] Electronic evidence is evidence in digital format, which is often used in legal proceedings and other investigations, including but not limited to emails, text messages, social media records, electronic documents, database contents, and web history. Electronic evidence is different from traditional paper evidence. Electronic evidence exists entirely in digital format, which makes it easy to transfer and copy. At the same time, electronic evidence can be easily modified or deleted, so it is very important to protect its integrity.

[0003] Since electronic evidence may contain sensitive secrets, it is necessary to ensure that the electronic evidence is not tampered with during the storage process when storing electronic evidence. At the same time, access to the storage location of the electronic evidence must be restricted so that only authorized personnel can access the evidence. This prevents unauthorized modification or access, which is an important means to prevent sensitive evidence from being illegally obtained.

[0004] However, the electronic evidence storage signature method in the prior art can often only encrypt and store all the evidence uniformly, but cannot classify and process the electronic evidence according to its importance or privacy. If there is data that can be shared in the electronic evidence, and it is in a completely private state, the user has no right to view it, which makes the viewing of evidence complicated and reduces flexibility. Summary of the invention

[0005] In order to solve the above problems, the present invention proposes a method and system for storing electronic signatures of electronic evidence based on blockchain to achieve the purpose of classified encrypted storage of signatures.

[0006] In order to achieve the above object, the present invention adopts the following technical solution:

[0007] In a first aspect, the present invention provides an electronic evidence storage and electronic signature method based on blockchain, and the electronic evidence storage and electronic signature method based on blockchain comprises the following steps:

[0008] S1. The electronic evidence of the case acquired by the collection device is filed through the consensus mechanism, and the filed electronic evidence is packaged and uploaded to the evidence server for pre-storage;

[0009] S2. Build a consistency mechanism based on blockchain technology and combine it with a hash algorithm to audit the degree of tampering of electronic evidence before and after storage, and use the audit results to encrypt and store the electronic evidence in the evidence server;

[0010] S3. Use a hybrid classification method combining surface and line to build an electronic evidence classification framework, and use the classification technology of security analysis to build an evidence classification model to classify the electronic evidence in the evidence server;

[0011] S4. Use timestamp technology and encryption algorithms to build a non-repudiation mechanism for time attributes and signature attributes, and combine the non-repudiation mechanism with the classification results to implement electronic signatures on electronic evidence.

[0012] Furthermore, building a consistency mechanism based on blockchain technology and combining it with a hash algorithm to audit the degree of tampering of electronic evidence before and after storage, and using the audit results to encrypt and store the electronic evidence in an evidence server includes the following steps:

[0013] S21. Build a blockchain network based on blockchain technology to complete the communication and transmission mechanism between electronic evidence, and set up a content consistency mechanism before and after storage in the blockchain network;

[0014] S22, transferring the electronic evidence before and after storage to the blockchain network, and performing overlapping block operations to perform digital transformation to obtain transformation coefficients;

[0015] S23, calculating the average value of the transformation coefficients corresponding to the overlapping blocks at the same position before and after storage, and comparing the average value with the transformation coefficients;

[0016] S24, obtaining the hash features of the electronic evidence of each group of overlapping blocks according to the comparison results to form a feature matrix, and performing field sorting on the hash feature matrix to determine the similarity of two adjacent groups of hash feature vectors;

[0017] S25. If the similarity result is equal to 1, it means that the overlapping blocks corresponding to the two sets of hash feature vectors before and after storage have not been tampered with, and the corresponding electronic evidence continues to be placed in the blockchain network;

[0018] S26. If the similarity result is less than 1, it means that the overlapping blocks corresponding to the two sets of hash feature vectors before and after storage have been tampered with, and the corresponding electronic evidence is removed from the blockchain network;

[0019] S27. Traverse the hash features of all electronic evidence to determine the similarity value of the feature vectors before and after storage, and use the hash algorithm to calculate the electronic evidence finally placed in the blockchain to generate a message digest, which is encrypted and stored in the evidence server.

[0020] Furthermore, a hybrid classification method combining surface and line is used to build an electronic evidence classification framework, and a classification model of evidence is constructed using the classification technology of security analysis to classify the electronic evidence in the evidence server, including the following steps:

[0021] S31. Determine the classification standard according to the type of electronic evidence, and set a classification framework based on the classification standard, with the type of evidence and the content of evidence as the planes, and the case name and chain of evidence as the lines;

[0022] S32, select a preset number of electronic evidences and use the classifier to perform preliminary classification, and use the classification technology of security analysis to expand the classifier into a hybrid classification method to build an evidence classification model;

[0023] S33. Input the remaining electronic data into the evidence classification model in sequence, and use the classification results to classify and store the electronic evidence according to the evidence type, evidence content, case name and evidence chain.

[0024] Furthermore, selecting a preset number of electronic evidences and performing preliminary classification using a classifier, and using the classification technology of security analysis to expand the classifier into a hybrid classification method to construct an evidence classification model includes the following steps:

[0025] S321, selecting a preset number of electronic evidences based on the evidence server, and dividing the electronic evidences into classification samples and training samples according to the evidence types;

[0026] S322, training weak classifiers according to the training samples, and determining weighted error rates of the weak classifiers of all training samples, arranging the error rates in order and selecting the weak classifier with the lowest error rate;

[0027] S323, adjusting the weight of the weak classifier to set the strong classifier, and inputting the classified samples into the strong classifier to determine the error rate of the classification result. If the error rate is greater than the preset value, return to step S322 to retrain the classifier;

[0028] S324, if the error rate is less than a preset value, the strong classifier is combined with the classification framework, and the evidence content, case name and evidence chain are added to the strong classifier;

[0029] S325. Expand the classifier into a hybrid classification method by using bidirectional recursive technology and security analysis classification technology, and then construct an evidence classification model, and input the training samples into the evidence classification model for training;

[0030] S326. Determine the error rate of the evidence grading model based on the training results. If the error rate is less than a preset value, define the evidence grading model. If the error rate is greater than the preset value, return to step S325 for re-expansion.

[0031] Furthermore, the classifier is expanded into a hybrid classification method by using the bidirectional recursive technology and the classification technology of security analysis to construct an evidence classification model, and the training samples are input into the evidence classification model for training, which includes the following steps:

[0032] S3251, selecting classified samples for preprocessing, and using a preset component model to generate a dynamic vector containing evidence type and evidence content and a static vector containing a case name and evidence chain;

[0033] S3252, stacking and embedding the two vectors as input vectors of the classifier, and using the attention mechanism to process the input vectors to obtain the internal correlation relationship of the electronic evidence, and distinguishing the dynamic vector and the static vector into important vectors and general vectors according to the internal correlation relationship results;

[0034] S3253, using a bidirectional recursive algorithm to extract features of important vectors and general vectors respectively, and performing a splicing operation on the two sets of features and inputting them into a classifier;

[0035] S3254. Use security analysis technology to evaluate the sensitivity of the classifier's input data and tolerance to abnormal data to determine whether the classifier has security risks. If the security does not meet the preset indicators, modify the classifier until it meets the preset indicators.

[0036] S3255. If the security reaches the preset indicator, the classifier is directly defined as an evidence grading model, and the training samples are input into the evidence grading model for training and output of classification results.

[0037] Furthermore, the bidirectional recursive technology is used to extract the features of the important vector and the general vector respectively, and the two sets of features are spliced ​​and processed and input into the classifier, which includes the following steps:

[0038] S32531. Divide the bidirectional recursive technology into an important vector extraction channel and a general vector extraction channel, and use a convolution layer in the important vector extraction channel to convert the dynamic vector into a one-dimensional vector to extract a feature map;

[0039] S32532, using the maximum pooling method to extract the maximum eigenvalue of the pooling area in the feature map and performing a dimensionality reduction operation on the eigenvalue to set it as a feature of an important vector;

[0040] S32533, extracting the characteristics of the general vector from the static vector input value in the general vector extraction channel to obtain the hidden layer representation of the static vector in the channel;

[0041] S32534. Put the important vectors and general vector extraction channels into the feature data for splicing and input into the classifier to classify the electronic evidence.

[0042] Furthermore, using the timestamp technology and encryption algorithm to construct a non-repudiation mechanism for time attributes and signature attributes, and combining the non-repudiation mechanism with the classification results to implement electronic signatures on electronic evidence includes the following steps:

[0043] S41, dividing the electronic evidence into important vectors and general vectors according to the classification results, and setting the important vectors as private evidence and the general vectors as shareable evidence;

[0044] S42, using an asymmetric encryption algorithm to generate a key, selecting a timestamp technology to provide a time mark for the electronic evidence, and combining the key and the time mark to construct a non-repudiation mechanism for time attributes and signature attributes;

[0045] S43, applying the non-repudiation mechanism to private evidence, and obtaining the public key and private key according to the key, feeding back the private key information to the designated user, and the user uses the private key to perform a signing operation on the private evidence to obtain an electronic signature;

[0046] S44. Build a data sharing library based on shareable evidence and sharing algorithms, limit the attributes and access times of data users based on the data sharing library, and introduce a payment mechanism in the data sharing library;

[0047] S45. Combine the data sharing library with the ciphertext attribute strategy and use the verifiable random function and synchronous aggregate signature to sign the sharable class evidence in the data sharing library.

[0048] Furthermore, a data sharing library is constructed based on the sharable class evidence and the sharing algorithm, the attributes and access times of data users are limited based on the data sharing library, and a payment mechanism is introduced in the data sharing library, including the following steps:

[0049] S441. Use the Internet of Things to establish a database sharing structure including the collection layer, platform layer and application layer, and set the collection layer as the basis for remote sharing of the data sharing library for collecting sharable evidence;

[0050] S442, setting the platform layer as the user end of the data sharing library to provide users with permission query and information feedback, and introducing permissions to limit user attributes and access times in the platform layer;

[0051] S443, constructing a semantic mapping between evidence types and evidence field names in the shareable class evidence using a semantic knowledge base, and establishing constraint mapping and data type mapping based on the evidence types and evidence fields;

[0052] S444, using the sharable class evidence, user attributes and access times as optimization targets to set a multi-objective optimization function to optimize the element identifiers, data types and constraints in the database sharing structure, and introduce a preset payment mechanism to limit the user's access frequency;

[0053] S445. Put the optimized and introduced database sharing structure into the application layer to complete the construction of the data sharing library.

[0054] Furthermore, the expression of the objective optimization function is:

[0055] ;

[0056] in,

[0057] ;

[0058] In the formula, min T Represents the optimal goal of the database sharing structure; T 1 indicates the total category of sharable class evidence; T 2 represents the total number of attributes of the user attributes; T 3 indicates the total number of access restrictions; M Indicates the total number of element identifiers in the database shared structure; N Indicates the total number of data types in the database shared structure; α ij Indicates i Classes can share class evidence and j The number of semantic mappings between evidence field names; β ij Indicates i Classes can share class evidence and j The number of data type mappings between evidence field names; δ ij Indicates i Classes can share class evidence and j The number of constraint mappings between evidence field names.

[0059] In a second aspect, the present invention also provides an electronic evidence storage and electronic signature system based on blockchain, which includes an evidence filing storage module, an evidence tampering audit module, an evidence security classification module, and an evidence classification signature module;

[0060] The evidence filing and storage module is used to file the electronic evidence of the case acquired by the collection device through the consensus mechanism, and to package and upload the filed electronic evidence to the evidence server for pre-storage;

[0061] The evidence tampering degree audit module is used to build a consistency mechanism based on blockchain technology and combine it with the hash algorithm to audit the tampering degree of electronic evidence before and after storage. The electronic evidence is encrypted and stored in the evidence server using the audit results.

[0062] The evidence security classification module is used to build an electronic evidence classification framework by adopting a hybrid classification method combining surface and line, and to build an evidence classification model by using the classification technology of security analysis to classify the electronic evidence in the evidence server;

[0063] The evidence classification signature module is used to use time stamp technology and encryption algorithm to build a non-repudiation mechanism for time attributes and signature attributes, and combine the non-repudiation mechanism with the classification results to implement electronic signatures on electronic evidence.

[0064] The beneficial effects of the present invention are:

[0065] 1. The present invention first ensures that the filing of electronic evidence is verified based on a consensus mechanism, thereby improving the reliability and transparency of the evidence, and uses blockchain and hash algorithms to audit the authenticity of electronic evidence to avoid inconsistencies before and after filing and storage, ensuring the consistency of electronic evidence before and after storage, and effectively preventing and detecting tampering with evidence. The security of electronic evidence is enhanced through encryption technology to prevent unauthorized access and modification. At the same time, a hybrid classification method is used to process and classify different types of electronic evidence to improve the efficiency and accuracy of classification. The electronic evidence is divided into private and shareable categories through grading technology, and a non-repudiation mechanism is constructed for private electronic evidence and an electronic signature is implemented. Shareable evidence can be shared within a restricted range, thereby improving the security, efficiency and reliability of electronic evidence management.

[0066] 2. The present invention realizes the secure communication and transmission of electronic evidence through the blockchain network, ensures the integrity and non-tamperability of the evidence, utilizes the set content consistency mechanism to ensure the consistency of electronic evidence at different time points, improves the reliability of data, and simultaneously adopts block operation and digital transformation to effectively process a large amount of data, calculates the average value to obtain an overall index of the data before and after storage, which helps to determine whether the electronic evidence has been tampered with. By utilizing the non-tamperability of the blockchain, the security, reliability and audit efficiency of electronic evidence are greatly improved.

[0067] 3. The present invention adopts a hybrid classification method that combines surface and line to build an electronic evidence classification framework, and uses the grading technology of security analysis to classify the electronic evidence in the evidence server. Through clear classification standards, it ensures that the classification of electronic evidence is more systematic and standardized. The grading technology of security analysis is used to classify the evidence according to its sensitivity and importance, and the electronic evidence is divided into private and shareable categories, and they are controlled and signed separately.

[0068] 4. The present invention utilizes timestamp technology and encryption algorithm to construct a non-repudiation mechanism of time attributes and signature attributes, and combines the mechanism with classification results to implement the process of electronic signature on electronic evidence. By dividing electronic evidence into important vectors and general vectors, different processing strategies are implemented according to different security levels and sharing requirements. Signature operations are performed on important vectors to improve the confidentiality and security of evidence. For the data sharing library constructed for general vectors and sharing algorithms, the attributes and access times of data users are limited on the basis of data sharing, and a payment mechanism is introduced to promote the rational use and management of electronic evidence resources. BRIEF DESCRIPTION OF THE DRAWINGS

[0069] The accompanying drawings in the specification, which constitute a part of the present invention, are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations on the present invention.

[0070] Figure 1 This is a flow chart of a method for storing electronic evidence and electronic signature based on blockchain according to an embodiment of the present invention;

[0071] Figure 2 It is a principle block diagram of an electronic evidence storage and electronic signature system based on blockchain according to an embodiment of the present invention.

[0072] In the figure:

[0073] 1. Evidence filing and storage module; 2. Evidence tampering audit module; 3. Evidence security classification module; 4. Evidence classification signature module. DETAILED DESCRIPTION

[0074] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.

[0075] It should be noted that the following detailed descriptions are exemplary and are intended to provide further explanation of the present invention. Unless otherwise specified, all technical and scientific terms used in the present invention have the same meanings as those commonly understood by those skilled in the art to which the present invention belongs.

[0076] It should be noted that the terms used herein are only for describing specific embodiments, and are not intended to limit exemplary embodiments according to the present invention. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that the terms "include" and "have" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0077] In the absence of conflict, the embodiments of the present invention and the features of the embodiments may be combined with each other.

[0078] See also Figure 1 The present invention provides an electronic evidence storage and electronic signature method based on blockchain, and the electronic evidence storage and electronic signature method based on blockchain includes the following steps:

[0079] S1. The electronic evidence of the case obtained by the collection device is filed through the consensus mechanism, and the filed electronic evidence is packaged and uploaded to the evidence server for pre-storage.

[0080] In this embodiment, the electronic evidence of the case acquired by the collection device is filed through a consensus mechanism, and the filed electronic evidence is packaged and uploaded to the evidence server for pre-storage, including the following steps:

[0081] Use collection equipment (such as digital cameras, computers, mobile phones, etc.) to collect electronic evidence related to the case, and ensure that the evidence collection process complies with legal provisions during the collection process to ensure its effectiveness in legal proceedings.

[0082] A consensus mechanism is applied to verify and confirm the authenticity and integrity of the collected electronic evidence. The verified electronic evidence should be classified and marked and then filed for storage. At the same time, relevant metadata should be recorded during the filing process, such as collection time, location, equipment information, operator, etc.

[0083] The electronic evidence after filing will be packaged, which may include compression and encryption processing, to facilitate transmission and storage, and the packaged electronic evidence will be uploaded to a dedicated evidence server for pre-storage.

[0084] S2. Build a consistency mechanism based on blockchain technology and combine it with a hash algorithm to audit the degree of tampering of electronic evidence before and after storage, and use the audit results to encrypt and store the electronic evidence on the evidence server.

[0085] In this embodiment, a consistency mechanism is constructed based on blockchain technology and a hash algorithm is used to audit the degree of tampering of electronic evidence before and after storage. The electronic evidence is encrypted and stored in the evidence server using the audit results, including the following steps:

[0086] S21. Build a blockchain network based on blockchain technology to complete the communication and transmission mechanism between electronic evidence, and set up a content consistency mechanism before and after storage within the blockchain network.

[0087] Specifically, building a blockchain network based on blockchain technology to complete the communication and transmission mechanism between electronic evidence, and setting a content consistency mechanism before and after storage in the blockchain network includes the following steps:

[0088] To build a blockchain network, the specific blockchain network needs to support the storage, verification and transmission of electronic evidence, and select the appropriate blockchain architecture (such as public chain, private chain or alliance chain) and consensus mechanism to configure each node in the blockchain network.

[0089] Set up corresponding permission management rules to ensure that only authorized participants can access or modify data in the network, standardize electronic evidence, and ensure that evidence from different sources can be compatible and interoperable in the blockchain network.

[0090] The integrity and authenticity of evidence is ensured through the tamper-proof nature of blockchain, and a content consistency verification mechanism is set up before and after evidence storage to ensure that the evidence has not been tampered with during the storage process.

[0091] S22. The electronic evidence before and after storage is transferred to the blockchain network, and overlapping block operations are performed to perform digital transformation to obtain transformation coefficients.

[0092] Specifically, transferring the electronic evidence before and after storage to the blockchain network, and performing overlapping block operations to perform digital transformation to obtain transformation coefficients include the following steps:

[0093] Upload electronic evidence to the blockchain network, record relevant metadata of the evidence, such as timestamp, source, hash value, etc., on the blockchain, and divide the electronic evidence into multiple overlapping blocks. The use of overlapping blocks can enhance the ability to analyze the content of the evidence and improve the security of the processing process.

[0094] Perform digital transformation on each block, including Fourier transform or wavelet transform to extract key features and patterns of the evidence content, extract transformation coefficients based on the results of digital transformation to represent specific features of electronic evidence, and record the results and transformation coefficients of each step on the blockchain to ensure the immutability and traceability of the data.

[0095] S23, calculating the average value of the transformation coefficients corresponding to the overlapping blocks at the same position before and after storage, and comparing the average value with the transformation coefficients.

[0096] Specifically, solving the average value of the transformation coefficients corresponding to the overlapping blocks at the same position before and after storage, and comparing the average value with the transformation coefficients includes the following steps:

[0097] The transformation coefficients of the overlapping blocks at corresponding positions are extracted from the electronic evidence before and after storage, and the average values ​​of the transformation coefficients of the overlapping blocks at the same positions before and after storage are calculated respectively.

[0098] The transform coefficient of each overlapping block is compared with its corresponding average value, and the comparison result is analyzed and identified.

[0099] S24. Obtain the hash features of the electronic evidence of each group of overlapping blocks according to the comparison results to form a feature matrix, and perform field sorting on the hash feature matrix to determine the similarity between two adjacent groups of hash feature vectors.

[0100] Specifically, obtaining the hash features of each group of overlapping blocks of electronic evidence to form a feature matrix according to the comparison results, and performing field sorting on the hash feature matrix to determine the similarity of two adjacent groups of hash feature vectors includes the following steps:

[0101] Extracting hash features from each set of overlapping blocks in the electronic evidence before and after storage reflects the key content and characteristics of the electronic evidence, and sequentially combining the hash features of all overlapping blocks into a feature matrix, where each row in the feature matrix represents a hash feature vector of a set of overlapping blocks.

[0102] The hash feature vectors in the feature matrix are sorted by field, adjacent hash feature vectors in the sorted feature matrix are compared, and the similarity of adjacent hash feature vectors is analyzed to determine the consistency of the electronic evidence before and after storage.

[0103] S25. If the similarity result is equal to 1, it means that the overlapping blocks corresponding to the two sets of hash feature vectors before and after storage have not been tampered with, and the corresponding electronic evidence will continue to be placed in the blockchain network.

[0104] S26. If the similarity result is less than 1, it means that the overlapping blocks corresponding to the two sets of hash feature vectors before and after storage have been tampered with, and the corresponding electronic evidence is removed from the blockchain network.

[0105] S27. Traverse the hash features of all electronic evidence to determine the similarity value of the feature vectors before and after storage, and use the hash algorithm to calculate the electronic evidence finally placed in the blockchain to generate a message digest, which is encrypted and stored in the evidence server.

[0106] Specifically, traversing the hash features of all electronic evidence to determine the similarity value of the feature vectors before and after storage, and using the hash algorithm to calculate the electronic evidence finally placed in the blockchain to generate a message digest, encrypt it and store it in the evidence server, including the following steps:

[0107] The hash feature vectors of each set of electronic evidence stored in the blockchain are traversed, and the similarity values ​​of the hash feature vectors before and after storage are calculated for each set of overlapping blocks. The calculated similarity values ​​are analyzed to determine the consistency of the evidence before and after storage.

[0108] For electronic evidence that is consistent, a hash algorithm is used to generate a message digest. The message digest is a unique representation of the content of the electronic evidence and is used for rapid verification and identification. The generated message digest is encrypted.

[0109] The encrypted message digest is stored on a dedicated evidence server, and the details of the relevant operations are recorded on the blockchain, including the similarity analysis results of the hash features and the encryption information of the message digest.

[0110] Therefore, the secure communication and transmission of electronic evidence through the blockchain network can ensure the integrity and non-tamperability of the evidence, and use the set content consistency mechanism to ensure the consistency of electronic evidence at different time points, thereby improving the reliability of the data.

[0111] S3. Use a hybrid classification method that combines surface and line classification to build an electronic evidence classification framework, and use the grading technology of security analysis to build an evidence grading model to classify the electronic evidence in the evidence server.

[0112] In this embodiment, a hybrid classification method combining surface and line is used to build an electronic evidence classification framework, and a classification model is constructed using the classification technology of security analysis to classify the electronic evidence in the evidence server, including the following steps:

[0113] S31. Determine the classification standards according to the type of electronic evidence, and based on the classification standards, set up a classification framework with the type of evidence and content of evidence as the planes, and the case name and chain of evidence as the lines.

[0114] Specifically, the classification standard is determined according to the type of electronic evidence. Based on the classification standard, a classification framework is set with evidence type and evidence content as the plane and case name and evidence chain as the line, including the following steps:

[0115] Identify and list all possible types of electronic evidence, analyze the characteristics and relevance of each type of evidence, and develop classification standards based on the characteristics of electronic evidence.

[0116] Create a classification framework based on the classification standards, in which the "surface" represents the type and content of evidence, and the "line" represents the case name and chain of evidence. Use the classification framework to show the relationship and classification between different evidences, and link different evidences according to the case name and chain of evidence to ensure that the connection between the evidence is clear and easy to track and reference.

[0117] S32. Select a preset number of electronic evidences and use the classifier to perform preliminary classification, and use the classification technology of security analysis to expand the classifier into a hybrid classification method to construct an evidence classification model.

[0118] Specifically, selecting a preset number of electronic evidences and performing preliminary classification using a classifier, and using the classification technology of security analysis to expand the classifier into a hybrid classification method to construct an evidence classification model includes the following steps:

[0119] S321, selecting a preset number of electronic evidences based on the evidence server, and dividing the electronic evidences into classification samples and training samples according to the evidence types;

[0120] S322, training weak classifiers according to the training samples, and determining weighted error rates of the weak classifiers of all training samples, arranging the error rates in order and selecting the weak classifier with the lowest error rate;

[0121] S323, adjusting the weight of the weak classifier to set the strong classifier, and inputting the classified samples into the strong classifier to determine the error rate of the classification result. If the error rate is greater than the preset value, return to step S322 to retrain the classifier;

[0122] S324, if the error rate is less than a preset value, the strong classifier is combined with the classification framework, and the evidence content, case name and evidence chain are added to the strong classifier;

[0123] S325. Use bidirectional recursive technology and security analysis grading technology to expand the classifier into a hybrid classification method to build an evidence grading model, and input the training samples into the evidence grading model for training.

[0124] Among them, the classifier is expanded into a hybrid classification method by using the bidirectional recursive technology and the classification technology of security analysis to construct an evidence classification model, and the training samples are input into the evidence classification model for training, which includes the following steps:

[0125] S3251, selecting classified samples for preprocessing, and using a preset component model to generate a dynamic vector containing evidence type and evidence content and a static vector containing a case name and evidence chain;

[0126] S3252, stacking and embedding the two vectors as input vectors of the classifier, and using the attention mechanism to process the input vectors to obtain the internal correlation relationship of the electronic evidence, and distinguishing the dynamic vector and the static vector into important vectors and general vectors according to the internal correlation relationship results;

[0127] S3253. Use a bidirectional recursive algorithm to extract features of important vectors and general vectors respectively, and perform a splicing operation on the two sets of features and input them into the classifier.

[0128] The bidirectional recursive technique is used to extract the features of important vectors and general vectors respectively, and the two sets of features are spliced ​​and processed and input into the classifier, which includes the following steps:

[0129] S32531. Divide the bidirectional recursive technology into an important vector extraction channel and a general vector extraction channel, and use a convolution layer in the important vector extraction channel to convert the dynamic vector into a one-dimensional vector to extract a feature map;

[0130] S32532, using the maximum pooling method to extract the maximum eigenvalue of the pooling area in the feature map and performing a dimensionality reduction operation on the eigenvalue to set it as a feature of an important vector;

[0131] S32533, extracting the characteristics of the general vector from the static vector input value in the general vector extraction channel to obtain the hidden layer representation of the static vector in the channel;

[0132] S32534. Put the important vectors and general vector extraction channels into the feature data for splicing and input into the classifier to classify the electronic evidence.

[0133] S3254. Use security analysis technology to evaluate the sensitivity of the classifier's input data and tolerance to abnormal data to determine whether the classifier has security risks. If the security does not meet the preset indicators, modify the classifier until it meets the preset indicators.

[0134] S3255. If the security reaches the preset indicator, the classifier is directly defined as an evidence grading model, and the training samples are input into the evidence grading model for training and output of classification results.

[0135] S326. Determine the error rate of the evidence grading model based on the training results. If the error rate is less than a preset value, define the evidence grading model. If the error rate is greater than the preset value, return to step S325 for re-expansion.

[0136] S33. Input the remaining electronic data into the evidence classification model in sequence, and use the classification results to classify and store the electronic evidence according to the evidence type, evidence content, case name and evidence chain.

[0137] Specifically, the remaining electronic data is sequentially input into the evidence classification model, and the electronic evidence is classified and stored according to the evidence type, evidence content, case name and evidence chain using the classification results, including the following steps:

[0138] The remaining electronic data were preprocessed, including cleaning, formatting and standardizing the data, and the preprocessed electronic data were sequentially input into the evidence grading model.

[0139] The model is used to classify electronic evidence, and the classification results include information such as evidence type, evidence content, case name and evidence chain.

[0140] Therefore, a hybrid classification method combining surface and line is adopted to build an electronic evidence classification framework, and the electronic evidence in the evidence server is classified using the grading technology of security analysis. Through clear classification standards, the classification of electronic evidence is ensured to be more systematic and standardized. The grading technology of security analysis is used to grade the evidence according to its sensitivity and importance, and the electronic evidence is divided into private and shareable categories, which are controlled and signed separately.

[0141] S4. Use timestamp technology and encryption algorithms to build a non-repudiation mechanism for time attributes and signature attributes, and combine the non-repudiation mechanism with the classification results to implement electronic signatures on electronic evidence.

[0142] In this embodiment, the time stamp technology and encryption algorithm are used to construct a non-repudiation mechanism for time attributes and signature attributes, and the non-repudiation mechanism is combined with the classification result to implement an electronic signature on the electronic evidence, including the following steps:

[0143] S41. Divide the electronic evidence into important vectors and general vectors according to the classification results, and set the important vectors as private evidence and the general vectors as shareable evidence.

[0144] Specifically, the electronic evidence is divided into important vectors and general vectors according to the classification results, and the important vectors are set as private evidence and the general vectors are set as shareable evidence, including the following steps:

[0145] The classified electronic evidence is analyzed and judged, and evaluated based on its importance, sensitivity, and relevance. The analysis results are used to divide the electronic evidence into two categories: important vectors and general vectors. Important vectors contain evidence that is critical, sensitive, or has a decisive impact on the case.

[0146] Important vectors are set as private evidence to provide additional protection for subsequent evidence and prevent unauthorized access and use.

[0147] General vectors are set as shareable evidence, which can be shared and used within the scope of authorization.

[0148] S42. Generate a key using an asymmetric encryption algorithm, select a timestamp technology to provide a time mark for electronic evidence, and combine the key and the time mark to construct a non-repudiation mechanism for time attributes and signature attributes.

[0149] Specifically, using an asymmetric encryption algorithm to generate a key, selecting a timestamp technology to provide a time mark for electronic evidence, and combining the key and the time mark to construct a non-repudiation mechanism of time attributes and signature attributes includes the following steps:

[0150] Select an asymmetric encryption algorithm, including RSA and ECC (elliptic curve cryptography), and generate a pair of keys, namely a public key and a private key. Use an asymmetric encryption algorithm to generate a key pair. The private key is used to sign electronic evidence, and the public key is used to verify the authenticity of the signature.

[0151] Use timestamp technology to provide an exact time mark for electronic evidence, use the time mark to prove the existence of evidence at a specific point in time, and combine the generated key and timestamp to build a comprehensive non-repudiation mechanism.

[0152] Use a private key to sign electronic evidence and its timestamp. The signature should include the content of the evidence and the timestamp to ensure its non-repudiation.

[0153] S43. Apply the non-repudiation mechanism to private evidence, and obtain the public key and private key based on the secret key. Feedback the private key information to the designated user, and the user uses the private key to sign the private evidence to obtain an electronic signature.

[0154] Specifically, the non-repudiation mechanism is applied to private evidence, and the public key and private key are obtained according to the key, and the private key information is fed back to the designated user. The user uses the private key to perform a signing operation on the private evidence to obtain an electronic signature, which includes the following steps:

[0155] The constructed non-repudiation mechanism is applied to the electronic evidence classified as private to ensure that the security and authenticity of such evidence are enhanced, and the generated private key is securely transmitted to the designated user.

[0156] The designated user uses the received private key to sign private electronic evidence. The confidentiality and security of the private key are ensured during the signing process. An electronic signature is generated through the private key signing operation and attached to the corresponding electronic evidence. The specific electronic signature should include the evidence content, timestamp and signer information.

[0157] S44. Build a data sharing library based on shareable evidence and sharing algorithms, limit the attributes and access times of data users based on the data sharing library, and introduce a payment mechanism in the data sharing library.

[0158] Specifically, building a data sharing library based on sharable evidence and sharing algorithms, limiting the attributes and access times of data users based on the data sharing library, and introducing a payment mechanism in the data sharing library include the following steps:

[0159] S441. Use the Internet of Things to establish a database sharing structure including the collection layer, platform layer and application layer, and set the collection layer as the basis for remote sharing of the data sharing library for collecting sharable evidence;

[0160] S442, setting the platform layer as the user end of the data sharing library to provide users with permission query and information feedback, and introducing permissions to limit user attributes and access times in the platform layer;

[0161] S443, constructing a semantic mapping between evidence types and evidence field names in the shareable class evidence using a semantic knowledge base, and establishing constraint mapping and data type mapping based on the evidence types and evidence fields;

[0162] S444, using the sharable class evidence, user attributes and access times as optimization targets to set a multi-objective optimization function to optimize the element identifiers, data types and constraints in the database sharing structure, and introduce a preset payment mechanism to limit the user's access frequency;

[0163] S445. Put the optimized and introduced database sharing structure into the application layer to complete the construction of the data sharing library.

[0164] Among them, the expression of the objective optimization function is:

[0165] ;

[0166] ;

[0167] In the formula, min T Represents the optimal goal of the database sharing structure; T 1 indicates the total category of sharable class evidence; T 2 represents the total number of attributes of the user attributes; T 3 indicates the total number of access restrictions; M Indicates the total number of element identifiers in the database shared structure; N Indicates the total number of data types in the database shared structure; α ij Indicates i Classes can share class evidence and j The number of semantic mappings between evidence field names; β ij Indicates i Classes can share class evidence and j The number of data type mappings between evidence field names; δ ij Indicates i Classes can share class evidence and j The number of constraint mappings between evidence field names.

[0168] S45. Combine the data sharing library with the ciphertext attribute strategy and use the verifiable random function and synchronous aggregate signature to sign the sharable class evidence in the data sharing library.

[0169] Specifically, combining the data sharing library with the ciphertext attribute strategy and using the verifiable random function and the synchronous aggregate signature to sign the sharable class evidence in the data sharing library includes the following steps:

[0170] The ciphertext attribute policy is used to control the access and use of sharable evidence. Users are allowed to access specific evidence based on attribute conditions, and a unique identifier is generated for each evidence using a verifiable random function (VRF), which can be used in subsequent verification and signing processes.

[0171] Synchronous aggregate signature technology is used to apply an aggregate signature to each shareable class of evidence to ensure its authenticity and integrity.

[0172] Therefore, timestamp technology and encryption algorithm are used to construct a non-repudiation mechanism of time attributes and signature attributes, and this mechanism is combined with the classification results to implement the electronic signature process of electronic evidence. By dividing electronic evidence into important vectors and general vectors, different processing strategies are implemented according to different security levels and sharing requirements, and signing operations are performed on important vectors to improve the confidentiality and security of evidence.

[0173] See also Figure 2 The present invention also provides an electronic evidence storage and electronic signature system based on blockchain, which includes an evidence filing storage module 1, an evidence tampering audit module 2, an evidence security classification module 3 and an evidence classification signature module 4;

[0174] The evidence filing and storage module 1 is used to file the electronic evidence of the case acquired by the collection device through a consensus mechanism, and to package and upload the filed electronic evidence to the evidence server for pre-storage;

[0175] Evidence tampering degree audit module 2 is used to build a consistency mechanism based on blockchain technology and combine it with the hash algorithm to audit the tampering degree of electronic evidence before and after storage, and use the audit results to encrypt and store the electronic evidence in the evidence server;

[0176] Evidence security classification module 3 is used to build an electronic evidence classification framework by adopting a hybrid classification method combining surface and line, and to build an evidence classification model by using the classification technology of security analysis to classify the electronic evidence in the evidence server;

[0177] The evidence classification signature module 4 is used to construct a non-repudiation mechanism of time attributes and signature attributes by using time stamp technology and encryption algorithm, and to combine the non-repudiation mechanism with the classification result to implement electronic signature on electronic evidence.

[0178] To sum up, with the help of the above-mentioned technical scheme of the present invention, the present invention first ensures that the filing of electronic evidence is verified based on the consensus mechanism, thereby improving the reliability and transparency of the evidence, and uses blockchain and hash algorithms to audit the authenticity of electronic evidence to avoid inconsistencies before and after filing and storage, ensuring the consistency of electronic evidence before and after storage, and effectively preventing and detecting tampering of evidence. The security of electronic evidence is enhanced through encryption technology to prevent unauthorized access and modification. At the same time, a hybrid classification method is used to process and classify different types of electronic evidence to improve the efficiency and accuracy of classification. The electronic evidence is divided into private and shareable categories through grading technology, and a non-repudiation mechanism is constructed for private electronic evidence and an electronic signature is implemented. Shareable evidence can be shared within a restricted range, thereby improving the security, efficiency and reliability of electronic evidence management. The present invention realizes the secure communication and transmission of electronic evidence through the blockchain network, ensures the integrity and non-tamperability of the evidence, utilizes the set content consistency mechanism to ensure the consistency of electronic evidence at different time points, improves the reliability of data, and simultaneously adopts block operation and digital transformation to effectively process large amounts of data, calculates the average value to obtain an overall index of the data before and after storage, which helps to determine whether the electronic evidence has been tampered with. By utilizing the non-tamperability of the blockchain, the security, reliability and audit efficiency of electronic evidence are greatly improved.

[0179] The present invention adopts a hybrid classification method combining surface and line to build an electronic evidence classification framework, and uses the classification technology of security analysis to classify the electronic evidence in the evidence server, ensures that the classification of electronic evidence is more systematic and standardized through clear classification standards, and uses the classification technology of security analysis to classify according to the sensitivity and importance of evidence, and divides the electronic evidence into private and shareable categories and controls and signs them separately. The present invention uses timestamp technology and encryption algorithm to construct a non-repudiation mechanism of time attributes and signature attributes, and combines this mechanism with the classification result to implement the process of electronic signature on electronic evidence, divides electronic evidence into important vectors and general vectors, implements different processing strategies for different security levels and sharing requirements, and implements signature operations on important vectors to improve the confidentiality and security of evidence. For the data sharing library constructed for general vectors and sharing algorithms, the attributes and access times of data users are limited on the basis of data sharing, and a payment mechanism is introduced to promote the rational use and management of electronic evidence resources.

[0180] Those skilled in the art will appreciate that the units, i.e., algorithm steps, of the various examples described in conjunction with this embodiment can be implemented in electronic hardware or in 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 this application.

[0181] Although the above describes the specific implementation mode of the present invention in conjunction with the accompanying drawings, it is not intended to limit the scope of protection of the present invention. Those skilled in the art should understand that various modifications or variations that can be made by those skilled in the art on the basis of the technical solution of the present invention without creative work are still within the scope of protection of the present invention.

Claims

1. A blockchain-based electronic evidence storage electronic signature method, It is characterized in that The electronic evidence storage electronic signature method based on blockchain includes the following steps: S1. The electronic evidence of the case acquired by the collection device is filed through the consensus mechanism, and the filed electronic evidence is packaged and uploaded to the evidence server for pre-storage; S2. Build a consistency mechanism based on blockchain technology and combine it with a hash algorithm to audit the degree of tampering of electronic evidence before and after storage, and use the audit results to encrypt and store the electronic evidence in the evidence server; S3. Use a hybrid classification method combining surface and line to build an electronic evidence classification framework, and use the classification technology of security analysis to build an evidence classification model to classify the electronic evidence in the evidence server; S4. Use time stamp technology and encryption algorithm to build a non-repudiation mechanism for time attributes and signature attributes, and combine the non-repudiation mechanism with the classification results to implement electronic signatures on electronic evidence; The method of building a consistency mechanism based on blockchain technology and combining it with a hash algorithm to audit the degree of tampering of electronic evidence before and after storage, and using the audit results to encrypt and store the electronic evidence in an evidence server includes the following steps: S21. Build a blockchain network based on blockchain technology to complete the communication and transmission mechanism between electronic evidence, and set up a content consistency mechanism before and after storage in the blockchain network; S22, transferring the electronic evidence before and after storage to the blockchain network, and performing overlapping block operations to perform digital transformation to obtain transformation coefficients; S23, calculating the average value of the transformation coefficients corresponding to the overlapping blocks at the same position before and after storage, and comparing the average value with the transformation coefficients; S24, obtaining the hash features of the electronic evidence of each group of overlapping blocks according to the comparison results to form a feature matrix, and performing field sorting on the hash feature matrix to determine the similarity of two adjacent groups of hash feature vectors; S25. If the similarity result is equal to 1, it means that the overlapping blocks corresponding to the two sets of hash feature vectors before and after storage have not been tampered with, and the corresponding electronic evidence continues to be placed in the blockchain network; S26. If the similarity result is less than 1, it means that the overlapping blocks corresponding to the two sets of hash feature vectors before and after storage have been tampered with, and the corresponding electronic evidence is removed from the blockchain network; S27, traverse the hash features of all electronic evidence to determine the similarity value of the feature vectors before and after storage, and use the hash algorithm to calculate the electronic evidence finally placed in the blockchain to generate a message digest, which is encrypted and stored in the evidence server; The method of using a hybrid classification method combining surface and line to build an electronic evidence classification framework and using the classification technology of security analysis to build an evidence classification model to classify the electronic evidence in the evidence server includes the following steps: S31. Determine the classification standard according to the type of electronic evidence, and set a classification framework based on the classification standard, with the type of evidence and the content of evidence as the planes, and the case name and chain of evidence as the lines; S32, select a preset number of electronic evidences and use the classifier to perform preliminary classification, and use the classification technology of security analysis to expand the classifier into a hybrid classification method to build an evidence classification model; S33. Input the remaining electronic data into the evidence classification model in sequence, and use the classification results to classify and store the electronic evidence according to the evidence type, evidence content, case name and evidence chain.

2. According to the electronic signature method for electronic evidence storage based on blockchain according to claim 1, It is characterized in that The method of selecting a preset number of electronic evidences and performing preliminary classification using a classifier, and using the classification technology of security analysis to expand the classifier into a hybrid classification method to construct an evidence classification model includes the following steps: S321, selecting a preset number of electronic evidences based on the evidence server, and dividing the electronic evidences into classification samples and training samples according to the evidence types; S322, training weak classifiers according to the training samples, and determining weighted error rates of the weak classifiers of all training samples, arranging the error rates in order and selecting the weak classifier with the lowest error rate; S323, adjusting the weight of the weak classifier to set the strong classifier, and inputting the classified samples into the strong classifier to determine the error rate of the classification result. If the error rate is greater than the preset value, return to step S322 to retrain the classifier; S324, if the error rate is less than a preset value, the strong classifier is combined with the classification framework, and the evidence content, case name and evidence chain are added to the strong classifier; S325. Expand the classifier into a hybrid classification method by using bidirectional recursive technology and security analysis classification technology, and then construct an evidence classification model, and input the training samples into the evidence classification model for training; S326. Determine the error rate of the evidence grading model based on the training results. If the error rate is less than a preset value, define the evidence grading model. If the error rate is greater than the preset value, return to step S325 for re-expansion.

3. According to the electronic signature method for electronic evidence storage based on blockchain according to claim 2, It is characterized in that The method of using the bidirectional recursive technology and the classification technology of security analysis to expand the classifier into a hybrid classification method to construct an evidence classification model, and inputting the training samples into the evidence classification model for training includes the following steps: S3251, selecting classified samples for preprocessing, and using a preset component model to generate a dynamic vector containing evidence type and evidence content and a static vector containing a case name and evidence chain; S3252, stacking and embedding the two vectors as input vectors of the classifier, and using the attention mechanism to process the input vectors to obtain the internal correlation relationship of the electronic evidence, and distinguishing the dynamic vector and the static vector into important vectors and general vectors according to the internal correlation relationship results; S3253, using a bidirectional recursive algorithm to extract features of important vectors and general vectors respectively, and performing a splicing operation on the two sets of features and inputting them into a classifier; S3254. Use security analysis technology to evaluate the sensitivity of the classifier's input data and tolerance to abnormal data to determine whether the classifier has security risks. If the security does not meet the preset indicators, modify the classifier until it meets the preset indicators. S3255. If the security reaches the preset indicator, the classifier is directly defined as an evidence grading model, and the training samples are input into the evidence grading model for training and output of classification results.

4. According to the electronic signature method for electronic evidence storage based on blockchain according to claim 3, It is characterized in that The method of extracting the features of important vectors and general vectors respectively by using the bidirectional recursive technology and performing a splicing operation on the two sets of features and inputting them into the classifier includes the following steps: S32531. Divide the bidirectional recursive technology into an important vector extraction channel and a general vector extraction channel, and use a convolution layer in the important vector extraction channel to convert the dynamic vector into a one-dimensional vector to extract a feature map; S32532, using the maximum pooling method to extract the maximum eigenvalue of the pooling area in the feature map and performing a dimensionality reduction operation on the eigenvalue to set it as a feature of an important vector; S32533, extracting the characteristics of the general vector from the static vector input value in the general vector extraction channel to obtain the hidden layer representation of the static vector in the channel; S32534. Put the important vectors and general vector extraction channels into the feature data for splicing and input into the classifier to classify the electronic evidence.

5. According to the electronic signature method for electronic evidence storage based on blockchain according to claim 1, It is characterized in that The method of using the time stamp technology and encryption algorithm to construct a non-repudiation mechanism for time attributes and signature attributes, and combining the non-repudiation mechanism with the classification result to implement an electronic signature on the electronic evidence includes the following steps: S41, dividing the electronic evidence into important vectors and general vectors according to the classification results, and setting the important vectors as private evidence and the general vectors as shareable evidence; S42, using an asymmetric encryption algorithm to generate a key, selecting a timestamp technology to provide a time mark for the electronic evidence, and combining the key and the time mark to construct a non-repudiation mechanism for time attributes and signature attributes; S43, applying the non-repudiation mechanism to private evidence, and obtaining the public key and private key according to the key, feeding back the private key information to the designated user, and the user uses the private key to perform a signing operation on the private evidence to obtain an electronic signature; S44. Build a data sharing library based on shareable evidence and sharing algorithms, limit the attributes and access times of data users based on the data sharing library, and introduce a payment mechanism in the data sharing library; S45. Combine the data sharing library with the ciphertext attribute strategy and use the verifiable random function and synchronous aggregate signature to sign the sharable class evidence in the data sharing library.

6. According to the electronic signature method for electronic evidence storage based on blockchain according to claim 5, It is characterized in that The method of constructing a data sharing library based on sharable class evidence and a sharing algorithm, limiting the attributes and access times of data users based on the data sharing library, and introducing a payment mechanism in the data sharing library includes the following steps: S441. Use the Internet of Things to establish a database sharing structure including the collection layer, platform layer and application layer, and set the collection layer as the basis for remote sharing of the data sharing library for collecting sharable evidence; S442, setting the platform layer as the user end of the data sharing library to provide users with permission query and information feedback, and introducing permissions to limit user attributes and access times in the platform layer; S443, constructing a semantic mapping between evidence types and evidence field names in the shareable class evidence using a semantic knowledge base, and establishing constraint mapping and data type mapping based on the evidence types and evidence fields; S444, using the sharable class evidence, user attributes and access times as optimization targets to set a multi-objective optimization function to optimize the element identifiers, data types and constraints in the database sharing structure, and introduce a preset payment mechanism to limit the user's access frequency; S445. Put the optimized and introduced database sharing structure into the application layer to complete the construction of the data sharing library.

7. According to claim 6, a blockchain-based electronic evidence storage electronic signature method, It is characterized in that The expression of the objective optimization function is: ; in, ; In the formula, min T Represents the optimal goal of the database sharing structure; T 1 represents the total category of sharable class evidence; T 2 The total number of attributes representing user attributes; T 3 Indicates the total number of access restrictions; M Indicates the total number of element identifiers in the database shared structure; N Indicates the total number of data types in the database shared structure; α ij Indicates i Classes can share class evidence and j The number of semantic mappings between evidence field names; β ij Indicates i Classes can share class evidence and j The number of data type mappings between evidence field names; δ ij Indicates i Classes can share class evidence and j The number of constraint mappings between evidence field names.

8. A blockchain-based electronic evidence storage electronic signature system, used to implement the blockchain-based electronic evidence storage electronic signature method according to any one of claims 1 to 7, It is characterized in that The electronic evidence storage and electronic signature system based on blockchain includes an evidence filing and storage module, an evidence tampering audit module, an evidence security classification module and an evidence classification signature module; The evidence filing and storage module is used to file the electronic evidence of the case acquired by the collection device through a consensus mechanism, and to package and upload the filed electronic evidence to the evidence server for pre-storage; The evidence tampering degree audit module is used to build a consistency mechanism based on blockchain technology and audit the tampering degree of electronic evidence before and after storage in combination with a hash algorithm, and use the audit results to encrypt and store the electronic evidence in an evidence server; The evidence security classification module is used to build an electronic evidence classification framework by adopting a hybrid classification method combining surface and line, and to build an evidence classification model by using the classification technology of security analysis to classify the electronic evidence in the evidence server; The evidence classification signature module is used to construct a non-repudiation mechanism of time attributes and signature attributes by using time stamp technology and encryption algorithm, and to combine the non-repudiation mechanism with the classification result to implement electronic signature on electronic evidence.