An electronic evidence storage and tracing method, system and device
By generating unique identifiers and trusted spatiotemporal stamps for evidence storage in the blockchain network, the problem of tracing the entire lifecycle of electronic evidence is solved, enabling full lifecycle monitoring and management of electronic evidence, improving verification efficiency and accuracy, and ensuring the authenticity and integrity of electronic evidence.
Patent Information
- Application Number
- CN202211543962.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-03
- Publication Date
- 2026-02-03
- Estimated Expiration
- 2042-12-03
AI Technical Summary
The lack of a mechanism for tracing and storing electronic evidence of the same business within a blockchain network throughout its entire lifecycle makes it difficult to guarantee the authenticity and validity of electronic evidence, especially in the process of judicial evidence collection and verification, where there is a risk of false evidence collection and tampering.
By generating a unique identifier for evidence storage, combined with a trusted spatiotemporal stamp and geographical coordinates, the project traceability time chain and location chain can be queried and generated in the blockchain network, realizing the full lifecycle traceability of electronic evidence, including steps such as evidence collection, generation of trusted spatiotemporal stamps, encryption of evidence storage digest and on-chain storage, and rights confirmation and verification.
It enables full lifecycle monitoring and management of electronic evidence, improves verification efficiency and accuracy, ensures the integrity and authenticity of electronic evidence, and prevents tampering and forgery.
Smart Images

Figure CN116166894B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of data management technology, and in particular to a method, system and device for electronic evidence storage and tracing. Background Technology
[0002] The development of information technology has led to the diversification of document formats, with electronic documents becoming an important medium for transmitting information and recording facts. In the judicial field, relevant electronic documents have become an important form of evidence. Electronic evidence possesses high-tech and intangible characteristics, can be collected quickly, is easy to store, occupies little space, is convenient to transmit and transport, can be repeatedly reproduced, and is easy to use, examine, and verify as evidence. However, compared to traditional forms of evidence, electronic evidence is also more susceptible to tampering and forgery, and there is a possibility of errors and malfunctions during transmission, introducing unreliability and uncertainty into judicial evidence collection and verification. Especially in the future, electronic evidence will occupy a crucial position in the evidence collection and verification stages of the judicial system. Any false evidence collection, tampering, deletion, or addition to electronic evidence will undermine the authenticity and validity of the evidence, destroying the meaning of its existence.
[0003] Blockchain is a chain-like data structure that combines data blocks sequentially in chronological order, providing cryptographically guaranteed, immutable, and unforgeable distributed evidence. In the patent "A Blockchain-Based Method and System for Electronic Evidence Authentication and Exchange" by Zhu Feng, Du Qiong, et al., authorized users first compress electronic evidence into one or more compressed packages using a specific algorithm, then perform a hash calculation to obtain its hash value. The hash value and the information attributes of the electronic evidence package are then managed on the blockchain. Existing technologies provide mechanisms for the acquisition, supply, sharing, and evaluation of remotely inspected electronic evidence based on blockchain technology. However, for cases where evidence is stored on the blockchain network at various stages of a business transaction, there is no comprehensive evidence retrieval mechanism capable of tracing the source of all stored evidence for the same business transaction within the blockchain network. Summary of the Invention
[0004] In view of this, the present invention provides a method, system and device for electronic evidence storage and traceability, realizing full lifecycle electronic evidence storage and traceability based on blockchain network, and realizing full lifecycle monitoring and management of electronic evidence in marketing business.
[0005] The technical solution adopted by the embodiments of the present invention to solve its technical problem is as follows:
[0006] A method for tracing and storing electronic evidence, comprising:
[0007] In response to the tracing request, the evidence digest corresponding to the unique evidence identifier is retrieved from the blockchain network based on the unique evidence identifier, and the tracing request carries the unique evidence identifier.
[0008] Based on the project identifier and geographical coordinates in the trusted spatiotemporal stamp in the evidence storage digest, all evidence storage digests corresponding to the project identifier uploaded by the operation site corresponding to the geographical coordinates are retrieved in the blockchain network.
[0009] The trusted spatiotemporal stamps in all the retrieved evidence digests are extracted, and a project tracing time chain and a project tracing regularization location chain are generated through a tracing algorithm and fed back to the user. The project tracing regularization location chain is electronic evidence regularization information regularized according to the operation site.
[0010] Preferably, before responding to the tracing request, the method further includes:
[0011] Collect electronic evidence of the project, the geographical coordinates of the current operating site, and the digital signatures of the operators;
[0012] Generate a trusted spatiotemporal stamp as the digest header, wherein the trusted spatiotemporal stamp is generated by... Project Identifier Code It consists of the current timestamp, the geographical coordinates of the operating site, and the digital signature number;
[0013] Generate the hash value of the electronic evidence as a digest;
[0014] Use the storage address of the electronic evidence in the database as the digest tail;
[0015] Generate a storage digest of the electronic evidence and encrypt the storage digest to obtain the encrypted storage digest;
[0016] The encrypted evidence digest is uploaded to the blockchain node and broadcast to all nodes in the blockchain network;
[0017] Based on the trusted spatiotemporal stamp and the encrypted evidence digest at the evidence storage address on the blockchain network, a unique evidence storage identifier is generated for the electronic evidence. The unique evidence storage identifier is formed by concatenating the trusted spatiotemporal stamp and the evidence storage address.
[0018] Preferably, the step of retrieving the evidence digest corresponding to the unique evidence identifier from the blockchain network based on the unique evidence identifier includes:
[0019] The evidence digest corresponding to the unique evidence identifier is found based on the evidence address in the unique evidence identifier.
[0020] Preferably, after generating the project traceability timeline using the traceability algorithm and feeding it back to the user, the process further includes:
[0021] Based on the aforementioned evidence summary, the steps for verifying the ownership of the evidence to be confirmed include:
[0022] Based on the hash value in the digest body of the evidence storage digest, the hash value of the evidence to be confirmed is compared to obtain the hash value comparison result;
[0023] Based on the geographic coordinates in the header of the evidence storage digest, the geographic coordinates in the trusted spatiotemporal stamp in the unique evidence storage identifier are compared to obtain the geographic coordinate comparison result.
[0024] A rights verification result is generated based on the hash value comparison result and the geographic coordinate comparison result. A correct rights verification result means that both the hash value comparison result and the geographic coordinate comparison result are correct, while an incorrect rights verification result means that there is an incorrect result in either the hash value comparison result or the geographic coordinate comparison result.
[0025] The rights confirmation comparison results are fed back to the user side.
[0026] The present invention also provides an electronic evidence storage and tracing system, comprising:
[0027] The search module is used to respond to the tracing request and, based on the unique evidence identifier, search for the evidence digest corresponding to the unique evidence identifier from the blockchain network. The tracing request carries the unique evidence identifier.
[0028] The query module is used to query all evidence digests corresponding to the project identifier code uploaded by the operation site corresponding to the geographical coordinates in the blockchain network based on the project identifier code and geographical coordinates in the trusted spatiotemporal stamp in the evidence digest;
[0029] The tracing module is used to extract the credible spatiotemporal stamps from all the queried evidence digests, and generate the project tracing time chain and the project tracing regularization position chain through the tracing algorithm. The project tracing regularization position chain is the electronic evidence regularization information regularized according to the operation site.
[0030] The feedback module is used to feed back the project traceability time chain and the project traceability regularization position chain to the user side.
[0031] More preferably, it also includes:
[0032] The data acquisition module is used to collect electronic evidence of the project, the geographical coordinates of the current operating site, and the digital signatures of the operators.
[0033] The generation module is used to generate a trusted spatiotemporal stamp as the digest header, wherein the trusted spatiotemporal stamp is generated by... Project Identifier CodeThe data consists of the current timestamp, the geographical coordinates of the operating site, and the digital signature number; a hash value of the electronic evidence is generated as the digest.
[0034] The storage address of the electronic evidence in the database is used as the end of the digest; a storage digest of the electronic evidence is generated and encrypted to obtain the encrypted storage digest;
[0035] The upload module is used to upload the encrypted evidence digest to the blockchain node and broadcast it to all nodes of the blockchain network.
[0036] The generation module is further configured to generate a unique identifier for the electronic evidence based on the trusted spatiotemporal stamp and the encrypted evidence storage digest at the evidence storage address in the blockchain network. The unique identifier is formed by concatenating the trusted spatiotemporal stamp and the evidence storage address.
[0037] Preferably, the search module finds the evidence digest corresponding to the evidence unique identifier based on the evidence address in the evidence unique identifier.
[0038] More preferably, it also includes:
[0039] The rights confirmation verification module is used to perform rights confirmation verification on the evidence to be confirmed based on the evidence storage digest; wherein, the hash value in the digest body of the evidence storage digest is compared with the hash value of the evidence to be confirmed to obtain a hash value comparison result; the geographic coordinates in the digest header of the evidence storage digest are compared with the geographic coordinates of the trusted spatiotemporal stamp in the unique identifier of the evidence storage to obtain a geographic coordinate comparison result; and a rights confirmation verification result is generated based on the hash value comparison result and the geographic coordinate comparison result, wherein a correct rights confirmation verification result means that both the hash value comparison result and the geographic coordinate comparison result are correct, and an incorrect rights confirmation verification result means that there is an incorrect result in either the hash value comparison result or the geographic coordinate comparison result;
[0040] The feedback module is used to feed back the rights confirmation comparison results to the user side.
[0041] The present invention also provides an electronic device, comprising: at least one processor and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform the aforementioned method.
[0042] As can be seen from the above technical solution, the electronic evidence storage and tracing method provided in this embodiment of the invention first responds to the tracing request, and searches for the storage digest corresponding to the unique storage identifier carried in the tracing request from the blockchain network; then, based on the project identifier code and geographical coordinates in the trusted spatiotemporal stamp in the storage digest, it queries the blockchain network for all storage digests corresponding to the project identifier code uploaded at the physical site corresponding to the geographical coordinates; it extracts the trusted spatiotemporal stamps from all the queried storage digests, generates a project tracing time chain through the tracing algorithm, and feeds it back to the user. This invention can realize full lifecycle electronic evidence storage and tracing based on the blockchain network, and realize full lifecycle control of electronic evidence in marketing business. Attached Figure Description
[0043] Figure 1 This is a flowchart of an electronic evidence preservation and tracing method according to the present invention.
[0044] Figure 2 Generate a network diagram for evidence digests.
[0045] Figure 3 This is a diagram of the digest storage structure.
[0046] Figure 4 This is a flowchart for verifying and confirming ownership of electronic evidence.
[0047] Figure 5 A flowchart for tracing the entire lifecycle of electronic evidence.
[0048] Figure 6 This is a structural diagram of an electronic device according to the present invention. Detailed Implementation
[0049] The technical solution and effects of the present invention will be further described in detail below with reference to the accompanying drawings.
[0050] like Figure 1 As shown, this invention provides a method for tracing the source of electronic evidence, which can be used for tracing the source of electronic evidence throughout the entire lifecycle of a business project. The steps include:
[0051] Step S1: Respond to the tracing request and, based on the unique evidence identifier carried in the tracing request, find the evidence digest corresponding to the unique evidence identifier in the blockchain network.
[0052] Step S2: Based on the project identifier code and geographical coordinates in the trusted spatiotemporal stamp in the evidence storage digest, query all evidence storage digests corresponding to the project identifier code uploaded by the operation site corresponding to the geographical coordinates in the blockchain network.
[0053] Step S3: Extract the trusted spatiotemporal stamps from all the retrieved evidence digests, generate the project source traceability time chain and the project source traceability regularization location chain through the source traceability algorithm, and feed them back to the user side. The project source traceability regularization location chain is the electronic evidence regularization information regularized according to the operation site, that is, it is classified according to the various operation sites of the project to form a location chain.
[0054] As can be seen from the above steps, this invention achieves full lifecycle traceability through a unique evidence identifier, which is generated synchronously during the electronic evidence storage digest generation stage, such as... Figure 2 The illustrated evidence digest generation network demonstrates the process of generating evidence digests and unique identifiers. The network primarily consists of three parts: an evidence generation unit, a data solidification unit, and a blockchain. The evidence generation unit generates evidence digests for electronic evidence; the data solidification unit stores the electronic evidence (i.e., a database); and the blockchain provides the platform for storing the evidence digests. The evidence generation unit comprises two parts: an evidence collection module and a digest generation module.
[0055] Among them, the evidence collection module collects electronic evidence of the project, the geographical coordinates of the current operation site, and the digital signature of the operator;
[0056] The summary generation module is used to generate a summary of electronic evidence. An example of the summary structure is shown below. Figure 3 As shown, the digest generation module generates a trusted spatiotemporal stamp as the digest header, and the trusted spatiotemporal stamp is generated by... Project Identifier Code The digest consists of the current timestamp, the geographical coordinates of the operating site, and the digital signature number; the hash value of the generated electronic evidence is used as the digest body; the storage address of the electronic evidence in the database is used as the digest tail; the stored digest of the electronic evidence is generated and encrypted to obtain the encrypted stored digest.
[0057] The blockchain node uploads the encrypted evidence digest to the blockchain node and broadcasts it to all nodes in the blockchain network;
[0058] The summary generation module generates a unique identifier for electronic evidence based on the trusted spatiotemporal stamp and the encrypted evidence summary at the evidence address on the blockchain network. The unique identifier is composed of the trusted spatiotemporal stamp and the evidence address.
[0059] As shown in the example, the trusted spatiotemporal stamp consists of a 6-digit project number, a 14-digit spatiotemporal stamp, and a 6-digit digital signature number from the uploading user, used to uniquely identify this evidence. The digest generation module is responsible for generating the evidence digest structure, adding the trusted spatiotemporal stamp to the digest header, generating a corresponding hash value for each electronic evidence entry as a SHA256 hash fingerprint, and adding it as a key-value pair to the digest body. The specific electronic evidence is then sent to the data solidification unit for storage, returning a data solidification address. The evidence digest module adds the data solidification address to the end of the digest, ultimately forming a complete evidence digest. The evidence digest is then uploaded to the blockchain for storage. Finally, the trusted spatiotemporal stamp and the blockchain storage address are concatenated as a unique identifier and returned to the user interface for verification.
[0060] Finally, to prevent attackers from replacing data by forging the digest structure after becoming familiar with it, the evidence digest is encrypted before being uploaded to the blockchain. The specific encryption scheme is as follows:
[0061] 1) The encryption function used is Encryption, and the encryption key is K. The design of K is as follows: First, the unique digital signature number of the currently uploading user (user) and the upload date and time (date) are obtained from the backend system. Then, user + date is AES 128-bit encrypted, and the first 16 bits are taken to generate the root key src. Next, the generated 16-bit character is Base64 encoded, and the first 16 bits of the Base64 encoded src are obtained. Finally, it is MD5 encrypted to generate the encryption key K.
[0062] K = MD5(src + bas)
[0063] 2) Next, the user's unique identifier ID, the trusted spatiotemporal stamp of the digest, the specific SHA256 hash fingerprint of the file, and the file address are encrypted using AES to obtain the encrypted ciphertext *user. The specific formula is as follows:
[0064] *user=Encryption(K,user+uid+Data-head+Data-body+Data-tail)
[0065] Next, the packaged and encrypted evidence digest is stored in the blockchain, and the trusted time stamp and the blockchain storage address are concatenated as a unique identifier for the evidence and fed back to the user interface.
[0066] By linking the evidence digest generation unit, the blockchain, and the data solidification unit, the data is effectively stored while the immutability of the blockchain eliminates the possibility of attackers privately modifying specific evidence, ensuring the integrity and security of the data and greatly guaranteeing the credibility of the evidence during later verification.
[0067] Therefore, in step S1, finding the evidence summary based on the unique evidence identifier is actually finding the evidence summary corresponding to the unique evidence identifier based on the evidence address in the unique evidence identifier. This invention provides a solution for finding evidence summaries.
[0068] Please refer to the above as well. Figure 5 The method and structure for tracing electronic evidence, as shown, involve assigning a unique project identifier to each project and a unique digital signature to each operator. Each time evidence is uploaded, a spatiotemporal stamp (timestamp plus spatial stamp, where spatial refers to geographic coordinates) is generated based on the current time. Finally, a trusted spatiotemporal stamp is generated by combining the project number, timestamp, and operator's electronic signature. This trusted spatiotemporal stamp is uploaded to the blockchain as the header of the evidence digest. When tracing the origin of a piece of evidence is required, its unique evidence identifier is entered. The lifecycle tracing center queries the blockchain and retrieves the trusted spatiotemporal stamp of the corresponding evidence digest. Then, based on the project identifier in the trusted spatiotemporal stamp, it queries all evidence digests contained in that project in the blockchain, extracts all trusted spatiotemporal stamps contained in that project, generates a project tracing time chain and a project tracing regular position chain through a tracing algorithm, and feeds the results back to the user.
[0069] like Figure 4 As shown, based on the unique identifier of the stored evidence, electronic evidence can also be verified and ownership confirmed. The steps for verifying ownership of the evidence to be confirmed include:
[0070] Step S41: Based on the hash value in the digest body of the evidence storage digest, compare it with the hash value of the evidence to be confirmed to obtain the hash value comparison result;
[0071] Step S42: Based on the geographic coordinates in the header of the evidence storage digest, compare the geographic coordinates in the trusted spatiotemporal stamp in the unique identifier of the evidence storage to obtain the geographic coordinate comparison result.
[0072] Step S43: Generate a rights verification result based on the hash value comparison result and the geographic coordinate comparison result. A correct rights verification result means that both the hash value comparison result and the geographic coordinate comparison result are correct, while an incorrect rights verification result means that there is an incorrect result in either the hash value comparison result or the geographic coordinate comparison result.
[0073] Step S44: Feed back the rights confirmation comparison results to the user side.
[0074] Here, the hash value is also called a hash fingerprint. By directly comparing hash fingerprints, the step of uploading the source file of electronic evidence can be eliminated.
[0075] Here, geographic coordinates refer to the actual geographical coordinates of the building at the site where electronic evidence is uploaded to the blockchain. Because businesses and projects have unique attributes, it's necessary to specify information such as the user and their location. This is a further measure to prevent evidence forgery, tampering, or violations of upload rules.
[0076] The trusted spatiotemporal stamp generated for each piece of electronic evidence not only serves to uniquely identify the electronic evidence, but also enables serialization management of electronic evidence throughout its entire lifecycle based on the time and space annotations on the trusted spatiotemporal stamp, thereby achieving traceability of electronic evidence throughout its entire lifecycle.
[0077] This invention generates an electronic evidence storage digest to store and solidify the hash value generated by the uploaded electronic evidence. When users verify and confirm ownership, they can directly retrieve the storage digest structure through the user's unique item identifier number and the fingerprint of the evidence to be verified, thereby realizing verification and ownership confirmation. This improves verification efficiency while further ensuring the accuracy of the verification results.
[0078] While existing inventions can effectively manage and store electronic evidence on the blockchain, several issues remain regarding its verification and authentication. Firstly, data stored on the blockchain cannot be directly accessed through its address; the evidence must be compressed before a full-chain search is performed. This leads to lengthy verification times and low efficiency. Secondly, monitoring and managing the entire lifecycle of electronic evidence is crucial for project management. This facilitates resolving disputes by tracing the evidence's lifecycle, a process currently lacking in existing inventions.
[0079] This invention primarily addresses the problems of electronic evidence storage, verification, and ownership confirmation during power grid production. It combines a data solidification unit, blockchain, and evidence digest. The data solidification unit effectively preserves data, while the blockchain, through its immutability and stability, ensures data integrity and validity. This invention allows direct querying and evidence retrieval from the on-chain evidence address using a unique evidence identifier, significantly reducing the cumbersome verification and ownership confirmation process and improving efficiency. Furthermore, this invention solves the problem of electronic evidence lifecycle traceability, which was unresolved in previous inventions. It enables full lifecycle traceability of electronic evidence, ensuring the integrity of the electronic evidence chain and allowing users to better manage the electronic evidence lifecycle in projects.
[0080] This invention also provides an electronic evidence storage and tracing system, which can be used to execute... Figure 1 The system, as shown, includes:
[0081] The search module is used to respond to tracing requests. Based on the unique evidence identifier carried in the tracing request, it searches for the evidence digest corresponding to the unique evidence identifier in the blockchain network. Specifically, it searches for the evidence digest corresponding to the unique evidence identifier based on the evidence address in the unique evidence identifier. The tracing request is initiated by the smart collection terminal.
[0082] The query module is used to query all evidence digests corresponding to the project identifier code uploaded by the operation site corresponding to the geographical coordinates in the blockchain network based on the project identifier code and geographical coordinates in the trusted spatiotemporal stamp in the evidence digest;
[0083] The tracing module is used to extract the credible spatiotemporal stamps from all the queried evidence digests, and generate the project tracing time chain and the project tracing regularization position chain through the tracing algorithm. The project tracing regularization position chain is the electronic evidence regularization information regularized according to the operation site.
[0084] The feedback module is used to feed back the project traceability time chain and the project traceability regular position chain to the user side.
[0085] Also includes:
[0086] The data acquisition module is used to collect electronic evidence of the project, the geographical coordinates of the current operating site, and the digital signatures of the operators.
[0087] The generation module is used to generate a trusted spatiotemporal stamp as the digest header, wherein the trusted spatiotemporal stamp is generated by... Project Identifier Code The data consists of the current timestamp, the geographical coordinates of the operating site, and the digital signature number; a hash value of the electronic evidence is generated as the digest.
[0088] Use the storage address of the electronic evidence in the database as the end of the digest; generate a storage digest of the electronic evidence and encrypt the storage digest to obtain the encrypted storage digest;
[0089] The upload module is used to upload the encrypted evidence digest to the blockchain node and broadcast it to all nodes of the blockchain network.
[0090] The generation module is also used to generate a unique identifier for electronic evidence based on the trusted spatiotemporal stamp and the encrypted evidence digest at the evidence address on the blockchain network. The unique identifier is composed of the trusted spatiotemporal stamp and the evidence address.
[0091] The rights confirmation verification module is used to perform rights confirmation verification on the evidence to be confirmed based on the evidence digest. Specifically, it compares the hash value in the digest body with the hash value of the evidence to be confirmed to obtain a hash value comparison result; it compares the geographic coordinates in the digest header with the geographic coordinates of the trusted spatiotemporal stamp in the unique identifier of the evidence to obtain a geographic coordinate comparison result; and it generates a rights confirmation verification result based on the hash value comparison result and the geographic coordinate comparison result. A correct rights confirmation verification result indicates that both the hash value comparison result and the geographic coordinate comparison result are correct, while an incorrect rights confirmation verification result indicates that there are incorrect results in either the hash value comparison result or the geographic coordinate comparison result.
[0092] The feedback module is used to send the rights confirmation comparison results back to the user.
[0093] According to embodiments of this disclosure, this disclosure also provides an electronic device, a readable storage medium, and a computer program product.
[0094] Figure 6 A schematic block diagram of an example electronic device 600 that can be used to implement embodiments of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or claimed herein.
[0095] like Figure 6 As shown, device 600 includes a computing unit 601, which can perform various appropriate actions and processes based on a computer program stored in read-only memory (ROM) 602 or a computer program loaded from storage unit 608 into random access memory (RAM) 603. RAM 603 may also store various programs and data required for the operation of device 600. The computing unit 601, ROM 602, and RAM 603 are interconnected via bus 604. Input / output (I / O) interface 605 is also connected to bus 604.
[0096] Multiple components in device 600 are connected to I / O interface 605, including: input unit 606, such as keyboard, mouse, etc.; output unit 607, such as various types of monitors, speakers, etc.; storage unit 608, such as disk, optical disk, etc.; and communication unit 609, such as network card, modem, wireless transceiver, etc. Communication unit 609 allows device 600 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.
[0097] The computing unit 601 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the computing unit 601 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 601 performs the various methods and processes described above, such as the pruning method for machine learning models. For example, in some embodiments, the pruning method for machine learning models can be implemented as a computer software program tangibly contained in a machine-readable medium, such as storage unit 608. In some embodiments, part or all of the computer program can be loaded and / or installed on device 600 via ROM 602 and / or communication unit 609. When the computer program is loaded into RAM 603 and executed by the computing unit 601, one or more steps of the pruning method for machine learning models described above can be performed. Alternatively, in other embodiments, the computing unit 601 can be configured to perform the pruning method for machine learning models by any other suitable means (e.g., by means of firmware).
[0098] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.
[0099] The program code used to implement the methods of this disclosure may be written in any combination of one or more programming languages. This program code may be provided to a processor or controller of a general-purpose computer, special-purpose computer, or other programmable data processing apparatus, such that when executed by the processor or controller, the program code causes the functions / operations specified in the flowcharts and / or block diagrams to be implemented. The program code may be executed entirely on a machine, partially on a machine, as a standalone software package partially on a machine and partially on a remote machine, or entirely on a remote machine or server.
[0100] In the context of this disclosure, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0101] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device for displaying information to the user (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor); and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the computer. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).
[0102] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or computing systems that include middleware components (e.g., application servers), or computing systems that include frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.
[0103] Computer systems can include clients and servers. Clients and servers are generally located far apart and typically interact through communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a hosting product within the cloud computing service system to address the shortcomings of traditional physical hosts and VPS services, such as high management difficulty and weak business scalability.
[0104] It should be understood that the various forms of processes shown above can be used to rearrange, add, or delete steps. For example, the steps described in this disclosure can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution disclosed in this disclosure can be achieved, and this is not limited herein.
[0105] The above-disclosed embodiments are merely preferred embodiments of the present invention and should not be construed as limiting the scope of the invention. Those skilled in the art will understand that implementing all or part of the above-described embodiments and making equivalent changes in accordance with the claims of the present invention are still within the scope of the invention.
Claims
1. A method for tracing and storing electronic evidence, characterized in that, include: In response to the tracing request, the evidence digest corresponding to the unique evidence identifier is retrieved from the blockchain network based on the unique evidence identifier, and the tracing request carries the unique evidence identifier. Based on the project identifier code and geographical coordinates in the trusted spatiotemporal stamp of the evidence storage digest, all evidence storage digests corresponding to the project identifier code uploaded by the operation site corresponding to the geographical coordinates are retrieved in the blockchain network. Extract the trusted spatiotemporal stamps from all the queried evidence digests, generate the project source tracing time chain and the project source tracing regularization position chain through the source tracing algorithm, and feed them back to the user side. The project source tracing regularization position chain is electronic evidence regularization information regularized according to the operation site. Before the response to the source tracing request, it also includes: Collect electronic evidence of the project, the geographical coordinates of the current operating site, and the digital signatures of the operators; A trusted spatiotemporal stamp is generated as the digest header. The trusted spatiotemporal stamp consists of the project identifier code, the current timestamp, the geographical coordinates of the operation site, and the digital signature number. Generate the hash value of the electronic evidence as a digest; Use the storage address of the electronic evidence in the database as the digest tail; Generate a storage digest of the electronic evidence and encrypt the storage digest to obtain the encrypted storage digest; The encrypted evidence digest is uploaded to the blockchain node and broadcast to all nodes in the blockchain network; Based on the trusted spatiotemporal stamp and the encrypted evidence digest at the evidence storage address on the blockchain network, a unique evidence storage identifier is generated for the electronic evidence. The unique evidence storage identifier is formed by concatenating the trusted spatiotemporal stamp and the evidence storage address.
2. The method for tracing and storing electronic evidence as described in claim 1, characterized in that, The step of retrieving the evidence digest corresponding to the unique evidence identifier from the blockchain network based on the unique evidence identifier includes: The evidence digest corresponding to the unique evidence identifier is found based on the evidence address in the unique evidence identifier.
3. The method for tracing and storing electronic evidence as described in claim 2, characterized in that, After generating the project traceability timeline using the traceability algorithm and feeding it back to the user, the process also includes: Based on the aforementioned evidence summary, the steps for verifying the ownership of the evidence to be confirmed include: Based on the hash value in the digest body of the evidence storage digest, the hash value of the evidence to be confirmed is compared to obtain the hash value comparison result; Based on the geographic coordinates in the header of the evidence storage digest, the geographic coordinates in the trusted spatiotemporal stamp in the unique evidence storage identifier are compared to obtain the geographic coordinate comparison result. A rights verification result is generated based on the hash value comparison result and the geographic coordinate comparison result. A correct rights verification result means that both the hash value comparison result and the geographic coordinate comparison result are correct, while an incorrect rights verification result means that there is an incorrect result in either the hash value comparison result or the geographic coordinate comparison result. The rights verification result is fed back to the user side.
4. An electronic evidence storage and tracing system, characterized in that, include: The search module is used to respond to the tracing request and search for the evidence digest corresponding to the unique evidence identifier from the blockchain network based on the unique evidence identifier. The tracing request carries the unique evidence identifier. The query module is used to query all evidence digests corresponding to the project identifier code uploaded by the operation site corresponding to the geographical coordinates in the blockchain network based on the project identifier code and geographical coordinates in the trusted spatiotemporal stamp in the evidence digest; The tracing module is used to extract the credible spatiotemporal stamps from all the queried evidence digests, and generate the project tracing time chain and the project tracing regularization position chain through the tracing algorithm. The project tracing regularization position chain is the electronic evidence regularization information regularized according to the operation site. The feedback module is used to feed back the project traceability time chain and the project traceability regularization position chain to the user side; The data acquisition module is used to collect electronic evidence of the project, the geographical coordinates of the current operating site, and the digital signatures of the operators. The generation module is used to generate a trusted spatiotemporal stamp as the digest header, wherein the trusted spatiotemporal stamp consists of a project identifier code, a current timestamp, the geographic coordinates of the operation site, and a digital signature number; and to generate the hash value of the electronic evidence as the digest body. The storage address of the electronic evidence in the database is used as the end of the digest; a storage digest of the electronic evidence is generated and encrypted to obtain the encrypted storage digest; The upload module is used to upload the encrypted evidence digest to the blockchain node and broadcast it to all nodes of the blockchain network. The generation module is further configured to generate a unique identifier for the electronic evidence based on the trusted spatiotemporal stamp and the encrypted evidence storage digest at the evidence storage address in the blockchain network. The unique identifier is formed by concatenating the trusted spatiotemporal stamp and the evidence storage address.
5. The electronic evidence storage and tracing system as described in claim 4, characterized in that, The search module finds the evidence digest corresponding to the evidence unique identifier based on the evidence address in the evidence unique identifier.
6. The electronic evidence storage and tracing system as described in claim 5, characterized in that, Also includes: The rights confirmation verification module is used to perform rights confirmation verification on the evidence to be confirmed based on the evidence storage digest; wherein, the hash value in the digest body of the evidence storage digest is compared with the hash value of the evidence to be confirmed to obtain a hash value comparison result; the geographic coordinates in the digest header of the evidence storage digest are compared with the geographic coordinates of the trusted spatiotemporal stamp in the unique identifier of the evidence storage to obtain a geographic coordinate comparison result; and a rights confirmation verification result is generated based on the hash value comparison result and the geographic coordinate comparison result, wherein a correct rights confirmation verification result means that both the hash value comparison result and the geographic coordinate comparison result are correct, and an incorrect rights confirmation verification result means that there is an incorrect result in either the hash value comparison result or the geographic coordinate comparison result; The feedback module is used to send the rights verification result back to the user side.
7. An electronic device, comprising: At least one processor and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-3.
Citation Information
Patent Citations
Commodity tracing method, device and equipment and storage medium
CN110097376A
Data tracing method and device, computer equipment and storage medium
CN114490808A