CN115659378A - Case record information evidence storing method and related equipment - Google Patents

Case record information evidence storing method and related equipment Download PDF

Info

Publication number
CN115659378A
CN115659378A CN202211593974.6A CN202211593974A CN115659378A CN 115659378 A CN115659378 A CN 115659378A CN 202211593974 A CN202211593974 A CN 202211593974A CN 115659378 A CN115659378 A CN 115659378A
Authority
CN
China
Prior art keywords
information
evidence
record information
case record
storing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211593974.6A
Other languages
Chinese (zh)
Inventor
胡春华
任江峰
李闯
曹文治
孙思源
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hunan University of Technology
Original Assignee
Hunan University of Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hunan University of Technology filed Critical Hunan University of Technology
Priority to CN202211593974.6A priority Critical patent/CN115659378A/en
Publication of CN115659378A publication Critical patent/CN115659378A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Storage Device Security (AREA)

Abstract

The invention discloses a case record information evidence storing method and related equipment, comprising the following steps: acquiring case record information, compressing and encrypting the case record information by adopting a national secret algorithm to obtain encrypted evidence, acquiring enterprise information of case-involved main bodies based on main key words in the case record information, associating the enterprise information with the encrypted evidence, storing the enterprise information and the encrypted evidence into a relational database, constructing a distributed memory index, storing the encrypted evidence into an interstellar file system of a private domain network, acquiring the encrypted evidence, storing the encrypted evidence into the interstellar file system to obtain digital fingerprints, and fixing the evidence of the digital fingerprints in a block chain network. The invention improves the security of case record information evidence storage.

Description

Case record information evidence storing method and related equipment
Technical Field
The invention relates to the field of data processing, in particular to a case record information evidence storing method and related equipment.
Background
Content protection of evidence in some case processing is mainly focused on three security features, anonymity, transparency and non-repudiation. With the rapid development of information technology, evidences in the case processing process face the risk of being tampered, so that the safe evidence storage and tracing of the evidences in the case processing process are the key links for the case record information as evidence management. In the process from evidence collection to use of relevant evidence, the evidence needs to be stored permanently and safely, and the existing mode mainly stores the evidence through hardware such as a disk.
The inventor realizes that the prior art has at least the following technical problems in the process of implementing the invention: at present, many challenges are faced in the process of storing and storing case records through a disk and the like, for example, evidence of case record information is illegally tampered and maliciously damaged, and unexpected loss caused by damage of hardware such as the disk and the like exists, so that certain risks exist in case record information storing and tracing.
Disclosure of Invention
The embodiment of the invention provides a case record information evidence storing method and device, computer equipment and a storage medium, which are used for improving the security of case record information evidence storing and tracing.
In order to solve the above technical problem, an embodiment of the present application provides a case record information evidence storing method, where the case record information evidence storing method includes:
acquiring case record information;
compressing and encrypting the case record information by adopting a state cipher algorithm to obtain an encrypted evidence;
acquiring enterprise information of case-involved main bodies based on main body keywords in case record information, associating the enterprise information with the encrypted evidence, storing the enterprise information and the encrypted evidence in a relational database, and constructing a distributed memory index;
and storing the encrypted evidence into an interplanetary file system of a private network, acquiring the encrypted evidence, storing the encrypted evidence into the interplanetary file system to obtain a digital fingerprint, and performing evidence fixing on the digital fingerprint in a block chain network.
Optionally, the compressing and encrypting the case record information by using a cryptographic algorithm to obtain an encrypted evidence includes:
compressing the case record information based on a lossless compression mode to obtain compressed information;
and encrypting the compressed information by adopting an SM2 cryptographic algorithm to obtain the encryption evidence.
Optionally, the compressing the case record information based on the lossless compression method, and obtaining compressed information includes:
scanning and matching the case record information with a preset scanning step length by using a scanning window with the number of bytes being n, wherein n is a positive integer greater than or equal to 4;
in the scanning and matching process, if the repeated characters are detected, the repeated characters are compressed until the case record information is scanned, and the compressed information is obtained.
Optionally, the interplanetary file system is networked in an asymmetric key authentication manner, and the block chain consensus algorithm of the interplanetary file system ensures consistency between nodes.
Optionally, the constructing a distributed memory index includes:
adopting Logstash in a distributed search engine to obtain enterprise information in the relational database;
and synchronizing the acquired enterprise information to an Elasticissearch in a distributed search engine, and establishing a quasi-real-time distributed inverted index by adopting the Elasticissearch to obtain the distributed memory index.
Optionally, the evidence saving method for case record information further includes:
receiving query keywords and identity authentication information, wherein the identity authentication information comprises an asymmetric key;
performing identity authentication based on the identity authentication information;
and if the authentication is passed, acquiring the encrypted evidence corresponding to the query keyword based on the distributed memory index, and decrypting to obtain case record information.
In order to solve the above technical problem, an embodiment of the present application further provides a case record information evidence storing device, including:
the information acquisition module is used for acquiring case record information;
the information encryption module is used for compressing and encrypting the case record information by adopting a state cryptographic algorithm to obtain an encryption evidence;
the index construction module is used for acquiring enterprise information of case-related main bodies based on main body keywords in case record information, storing the enterprise information and the encrypted evidence after association to a relational database, and constructing a distributed memory index;
and the information storage module is used for storing the encrypted evidence into an interplanetary file system of a private network, acquiring the encrypted evidence and storing the encrypted evidence into the interplanetary file system to obtain a digital fingerprint, and performing evidence fixing on the digital fingerprint in a block chain network.
Optionally, the information encryption module includes:
the information compression unit is used for compressing the case record information based on a lossless compression mode to obtain compressed information;
and the information encryption unit is used for encrypting the compressed information by adopting an SM2 cryptographic algorithm to obtain the encryption evidence.
Optionally, the information compressing unit includes:
the scanning subunit is used for scanning and matching the case record information by a preset scanning step length through a scanning window with the byte number of n, wherein n is a positive integer greater than or equal to 4;
and the compressing subunit is used for compressing the repeated characters in the scanning and matching process if the repeated characters are detected until the case record information is scanned, so as to obtain the compressed information.
Optionally, the index building module includes:
an enterprise information obtaining unit, configured to obtain enterprise information in the relational database by using a Logstash in a distributed search engine;
and the memory index construction unit is used for synchronizing the acquired enterprise information to an Elasticissearch in the distributed search engine and establishing a quasi-real-time distributed inverted index by adopting the Elasticissearch to obtain the distributed memory index.
Optionally, the evidence storing device for case record information further includes:
the system comprises a query information receiving module, a query information processing module and a query information processing module, wherein the query information receiving module is used for receiving query keywords and identity authentication information, and the identity authentication information comprises an asymmetric key;
the identity authentication module is used for performing identity authentication based on the identity authentication information; and the query decryption module is used for acquiring the encrypted evidence corresponding to the query keyword based on the distributed memory index and decrypting the encrypted evidence to obtain case record information if the authentication is passed.
In order to solve the above technical problem, an embodiment of the present application further provides a computer device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the case record information storage method when executing the computer program.
In order to solve the above technical problem, an embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored, and the computer program, when executed by a processor, implements the steps of the case record information storage method.
According to the case record information evidence storing method, device, computer equipment and storage medium provided by the embodiment of the invention, case record information is obtained, a state secret algorithm is adopted to compress and encrypt the case record information to obtain encrypted evidence, enterprise information of case-involved bodies is obtained based on main keywords in the case record information, the enterprise information and the encrypted evidence are stored in a relational database after being associated, a distributed memory index is constructed, the encrypted evidence is stored in an interstellar file system of a private domain network, the encrypted evidence is obtained and stored in an interstellar file system to obtain digital fingerprints, evidence is fixed in a block chain network, and the case record information evidence storing safety is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive labor.
FIG. 1 is an exemplary system architecture diagram in which the present application may be applied;
FIG. 2 is a flow chart of one embodiment of a case record information credentialing method of the present application;
FIG. 3 is a flow chart of another embodiment of a case record information credentialing method of the present application;
FIG. 4 is a schematic diagram of an embodiment of a case record information evidence keeping apparatus according to the present application;
FIG. 5 is a schematic block diagram of one embodiment of a computer device according to the present application;
fig. 6 is a schematic application diagram of an embodiment of the case record information storage method of the present application.
Detailed Description
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs; the terminology used in the description of the application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application; the terms "including" and "having," and any variations thereof, in the description and claims of this application and the description of the above figures are intended to cover non-exclusive inclusions. The terms "first," "second," and the like in the description and claims of this application or in the above-described drawings are used for distinguishing between different objects and not for describing a particular order.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, as shown in fig. 1, a system architecture 100 may include a first terminal device 101, a second terminal device 102, a third terminal device 103, a network 104, and a server 105. The network 104 is used to provide a medium of communication links between the first terminal device 101, the second terminal device 102, the third terminal device 103 and the server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The user may use the first terminal device 101, the second terminal device 102, the third terminal device 103 to interact with the server 105 via the network 104 to receive or send messages or the like.
The first terminal device 101, the second terminal device 102, and the third terminal device 103 may be various electronic devices having display screens and supporting web browsing, including but not limited to smart phones, tablet computers, e-book readers, MP3 players (Moving Picture Experts Group Audio Layer III, motion Picture Experts compression standard Audio Layer 3), MP4 players (Moving Picture Experts Group Audio Layer IV, motion Picture Experts compression standard Audio Layer 4), laptop portable computers, desktop computers, and the like.
The server 105 may be a server that provides various services, such as a background server that provides support for pages displayed on the first terminal apparatus 101, the second terminal apparatus 102, and the third terminal apparatus 103.
It should be noted that the case record information evidence storing method and the case record information evidence tracing method provided in the embodiments of the present application are executed by a server, and accordingly, the case record information evidence storing device is disposed in the server.
It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. According to implementation needs, any number of terminal devices, networks, and servers may be provided, and the first terminal device 101, the second terminal device 102, and the third terminal device 103 in this embodiment may specifically correspond to an application system in actual production.
Referring to fig. 2, fig. 2 shows a case record information evidence storing method according to an embodiment of the present invention, which is described by taking the case record information storing method applied to the server in fig. 1 as an example, and is detailed as follows:
s201: case record information is acquired.
Specifically, the acquisition terminal takes case record information formed when a case is recorded as evidence, and the case record information includes, but is not limited to, photos, videos, sound recordings, documents and the like.
S202: and (4) carrying out compression and encryption on the case record information by adopting a state secret algorithm to obtain an encryption evidence.
Optionally, the compressing and encrypting the case record information by using a national cryptographic algorithm to obtain an encrypted evidence includes:
compressing the case record information based on a lossless compression mode to obtain compressed information;
and encrypting the compressed information by adopting an SM2 cryptographic algorithm to obtain an encryption evidence.
Further, compressing the case record information based on a lossless compression mode, and obtaining compressed information includes:
scanning and matching case record information by a preset scanning step length through a scanning window with the number of bytes being n, wherein n is a positive integer greater than or equal to 4;
in the scanning and matching process, if the repeated characters are detected, the repeated characters are compressed until the case record information is scanned, and compressed information is obtained.
The preset scanning step length may be set according to actual needs, for example, the preset scanning step length is set to 1 byte, and the long step length may increase the compression and decompression speed and reduce the compression rate, which is not limited specifically here.
A particular compression algorithm may employ the LZ4 compression mechanism.
S203: and acquiring enterprise information of the case-involved main body based on the main body key words in the case record information, associating the enterprise information with the encrypted evidence, storing the enterprise information and the encrypted evidence in a relational database, and constructing a distributed memory index.
The enterprise information acquired through the keywords comprises: company name, type, date of establishment, business status, registered capital, legal, business registration number, unified social credit code, organizational code, taxpayer identification number, and the like.
Optionally, constructing the distributed memory index includes:
acquiring enterprise information in a relational database by using a Logstash in a distributed search engine;
and synchronizing the acquired enterprise information to an Elasticissearch in a distributed search engine, and establishing a quasi-real-time distributed inverted index by adopting the Elasticissearch to obtain a distributed memory index.
It should be understood that the quasi-real-time distributed memory index adopts an Elasticissearch technology to establish the quasi-real-time distributed inverted index for the enterprise information in the Mysql relational database, so that the query speed can be greatly increased, the response delay of the system is reduced, and the throughput of the system is improved. In the embodiment, the distributed memory index is constructed, so that the system query efficiency in the subsequent query process is improved.
S204: and storing the encrypted evidence into an interstellar file system of the private domain network, acquiring the encrypted evidence, storing the encrypted evidence into the interstellar file system to obtain a digital fingerprint, and performing evidence fixing on the digital fingerprint in the block chain network.
In a traditional mode, a traditional storage scheme taking a server as a center has the problems of being falsifiable and easy to damage and lose. In order to solve the problem that the digital evidence of case recorded information is maliciously tampered, damaged and lost during tracing and storing the evidence, the embodiment adopts a decentralized evidence storing and tracing mode based on a private domain network interplanetary file system, uses case information matching to trace illegal enterprise subject information through a P2P decentralized storage architecture of the interplanetary file system, and utilizes an asymmetric authentication method to ensure the safe storage of law enforcement evidence from a evidence storing mechanism and architecture.
The inter-satellite File System (inter-satellite File System) is a File storage and content distribution network protocol combining an existing Distributed Hash Tables (DHTs), bitTorrent, a version control System Git, a Self-Certified File System (Self-Certified File systems-SFS) and a block chain, and the remarkable characteristics brought by the comprehensive advantages of the systems include:
1) Persistent, decentralized saving and sharing of files (storage DHTs in blockchain mode);
2) Point-to-point hypermedia: P2P holds various types of data (BitTorrent);
3) Versioning: traceable File modification History (Git-Merkle DAG Mercker directed acyclic graph)
4) Content addressable: the file is identified by the file content generating an independent hash value, rather than by the file holding location. Only one file with the same content exists in the system, so that the storage space is saved.
The evidence storage model stores evidence metadata by using an interstellar file system, stores evidences including but not limited to case photos, videos, sound recordings, documents and the like in case record information into the interstellar file system after compression and encryption, and simultaneously obtains a law enforcement evidence fingerprint CID of the case, wherein the fingerprint can uniquely identify the evidence file stored at this time, and can trace the history modification record of the evidence and identify the malicious tampering of the evidence.
Optionally, the interplanetary file system adopts an asymmetric key authentication mode for networking, and the interplanetary file system adopts a block chain consensus algorithm to ensure consistency among the nodes. Wherein the block chain consensus algorithm includes but is not limited to: practical Byzantine fault-tolerant algorithms, merkle-CRDT, raft, etc.
In the embodiment, case record information is obtained, a national secret algorithm is adopted to compress and encrypt the case record information to obtain encrypted evidence, enterprise information of case-involved main bodies is obtained based on main key words in the case record information, the enterprise information and the encrypted evidence are stored in a relational database after being associated, a distributed memory index is constructed, the encrypted evidence is stored in an interstellar file system of a private domain network, the encrypted evidence is obtained and stored in the interstellar file system to obtain digital fingerprints, and the digital fingerprints are subjected to evidence fixing in a block chain network, so that the security of case record information evidence storage is improved.
Referring to fig. 3, fig. 3 shows an optional implementation manner of the case record information evidence storing method provided by the embodiment of the present invention after S204, which is described by taking the application of the method to the server side in fig. 1 as an example, and is detailed as follows:
s205: receiving query keywords and identity authentication information, wherein the identity authentication information comprises an asymmetric key;
s206: performing identity authentication based on the identity authentication information;
s207: and if the authentication is passed, acquiring the encrypted evidence corresponding to the query keyword based on the distributed memory index, and decrypting to obtain case record information.
The identity authentication information is information used for performing identity authentication on an evidence provider, an evidence retriever and an administrator, and specifically includes but is not limited to biometric information, key information and the like. In this embodiment, in order to ensure the security of the stored case record information, the identity of the inquirer needs to be confirmed when inquiring.
As a preferred mode, the embodiment adopts the existence API to verify the identity of the querier, please refer to fig. 6, fig. 6 shows a specific application diagram of the evidence tracing method for case record information in an optional embodiment of the embodiment, a keyword is used to query and trace the history of law enforcement evidence through the evidence storage API, and the internal structure of the evidence storage API is shown in fig. 4. The certificate storage API has multiple roles of an evidence provider, an evidence retriever, an administrator and the like, and adopts the asymmetric secret key to carry out user authentication and authorization, so that the problem of user password leakage can be effectively prevented. When receiving a query request of an external Web client, authenticating a user based on key verification (or other manners, which are examples of an authentication manner and are not limited to the authentication manner) first, obtaining an enterprise matched with the user through an enterprise information matching component after the authentication is passed, and obtaining case record information corresponding to a query keyword from an interplanetary file system (IPFS network) based on the keyword and the matched enterprise.
By adopting the evidence tracing method for case record information provided by the embodiment, the safety in the tracing process can be improved.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
Fig. 4 is a schematic block diagram of a case record information evidence storing device corresponding to the case record information evidence storing method according to the above embodiment. As shown in fig. 4, the case record information evidence storing device includes an information obtaining module 31, an information encrypting module 32, an index constructing module 33 and an information storing module 34. The functional modules are explained in detail as follows:
an information obtaining module 31, configured to obtain case record information;
the information encryption module 32 is used for compressing and encrypting the case record information by adopting a national cryptographic algorithm to obtain an encryption evidence;
the index construction module 33 is used for acquiring enterprise information of case-related subjects based on subject keywords in case record information, associating the enterprise information with the encrypted evidence, storing the encrypted evidence in a relational database, and constructing a distributed memory index;
and the information storage module 34 is used for storing the encrypted evidence into an interplanetary file system of the private domain network.
Optionally, the information encryption module 32 includes:
the information compression unit is used for compressing the case record information based on a lossless compression mode to obtain compressed information;
and the information encryption unit is used for encrypting the compressed information by adopting an SM2 cryptographic algorithm to obtain an encryption evidence.
Optionally, the information compressing unit includes:
the scanning subunit is used for scanning and matching the case record information by a preset scanning step length through a scanning window with the number of bytes being n, wherein n is a positive integer greater than or equal to 4;
and the compressing subunit is used for compressing the repeated characters in the scanning and matching process if the repeated characters are detected until the case record information is scanned, so as to obtain compressed information.
Optionally, the index building module 33 includes:
the enterprise information acquisition unit is used for acquiring enterprise information in the relational database by adopting the Logstash in the distributed search engine;
and the memory index construction unit is used for synchronizing the acquired enterprise information to an Elasticissearch in the distributed search engine and establishing a quasi-real-time distributed inverted index by adopting the Elasticissearch to obtain the distributed memory index.
Optionally, the case record information storing device further includes a query information receiving module 35, an identity authentication module 36 and a query decryption module 37. The functional modules are explained in detail as follows:
the query information receiving module 35 is configured to receive a query keyword and identity authentication information, where the identity authentication information includes an asymmetric key;
an identity authentication module 36 for performing identity authentication based on the identity authentication information;
and the query decryption module 37 is configured to, if the authentication passes, obtain the encrypted evidence corresponding to the query keyword based on the distributed memory index, and decrypt the encrypted evidence to obtain case record information.
For the specific limitation of the case record information storage device, reference may be made to the above case record information storage method, which is not described herein again. All or part of each module in the case record information storage device can be realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In order to solve the technical problem, an embodiment of the present application further provides a computer device. Referring to fig. 5, fig. 5 is a block diagram of a basic structure of a computer device according to the embodiment.
The computer device 4 comprises a memory 41, a processor 42, a network interface 43 communicatively connected to each other via a system bus. It is noted that only the computer device 4 having the components connection memory 41, processor 42, network interface 43 is shown, but it is understood that not all of the shown components are required to be implemented, and that more or fewer components may be implemented instead. As will be understood by those skilled in the art, the computer device is a device capable of automatically performing numerical calculation and/or information processing according to a preset or stored instruction, and the hardware includes, but is not limited to, a microprocessor, an Application Specific Integrated Circuit (ASIC), a Programmable Gate Array (FPGA), a Digital Signal Processor (DSP), an embedded device, and the like.
The computer device can be a desktop computer, a notebook, a palm computer, a cloud server and other computing devices. The computer equipment can carry out man-machine interaction with a user through a keyboard, a mouse, a remote controller, a touch panel or voice control equipment and the like.
The memory 41 includes at least one type of readable storage medium including a flash memory, a hard disk, a multimedia card, a card-type memory (e.g., SD or D interface display memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a Read Only Memory (ROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a Programmable Read Only Memory (PROM), a magnetic memory, a magnetic disk, an optical disk, etc. In some embodiments, the memory 41 may be an internal storage unit of the computer device 4, such as a hard disk or a memory of the computer device 4. In other embodiments, the memory 41 may also be an external storage device of the computer device 4, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the computer device 4. Of course, the memory 41 may also include both an internal storage unit of the computer device 4 and an external storage device thereof. In this embodiment, the memory 41 is generally used for storing an operating system installed in the computer device 4 and various types of application software, such as program codes for controlling electronic files. Further, the memory 41 may also be used to temporarily store various types of data that have been output or are to be output.
The processor 42 may be a Central Processing Unit (CPU), controller, microcontroller, microprocessor, or other data Processing chip in some embodiments. The processor 42 is typically used to control the overall operation of the computer device 4. In this embodiment, the processor 42 is configured to run the program code stored in the memory 41 or process data, for example, run the program code for case record information storage.
The network interface 43 may comprise a wireless network interface or a wired network interface, and the network interface 43 is generally used for establishing communication connection between the computer device 4 and other electronic devices.
The present application further provides another embodiment, which is to provide a computer-readable storage medium, wherein the computer-readable storage medium stores an interface display program, which is executable by at least one processor, so as to cause the at least one processor to execute the steps of the evidence source tracing method for case record information as described above, or to cause the at least one processor to execute the steps of the evidence source tracing method for case record information as described above.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
It is to be understood that the above-described embodiments are merely illustrative of some, but not restrictive, of the broad invention, and that the appended drawings illustrate preferred embodiments of the invention and do not limit the scope of the invention. This application is capable of embodiments in many different forms and is provided for the purpose of enabling a thorough understanding of the disclosure of the application. Although the present application has been described in detail with reference to the foregoing embodiments, it will be apparent to one skilled in the art that the present application may be practiced without modification or with equivalents of some of the features described in the foregoing embodiments. All equivalent structures made by using the contents of the specification and the drawings of the present application are directly or indirectly applied to other related technical fields and are within the protection scope of the present application.

Claims (10)

1. A case record information evidence storing method is characterized by comprising the following steps:
acquiring case record information;
compressing and encrypting the case record information by adopting a state cipher algorithm to obtain an encrypted evidence;
acquiring enterprise information of the case-involved main body based on the main body key words in the case record information, associating the enterprise information with the encrypted evidence, storing the encrypted evidence in a relational database, and constructing a distributed memory index;
and storing the encrypted evidence into an interplanetary file system of a private domain network, acquiring the encrypted evidence, storing the encrypted evidence into the interplanetary file system to obtain a digital fingerprint, and fixing the evidence of the digital fingerprint in a block chain network.
2. The case record information evidence storing method according to claim 1, wherein the step of performing compression encryption on the case record information by using a cryptographic algorithm to obtain encrypted evidence comprises the steps of:
compressing the case record information based on a lossless compression mode to obtain compressed information;
and encrypting the compressed information by adopting an SM2 cryptographic algorithm to obtain the encryption evidence.
3. The case record information evidence-storing method according to claim 1, wherein the compressing the case record information based on lossless compression method to obtain compressed information comprises:
scanning and matching the case record information by a preset scanning step length by using a scanning window with the number of bytes being n, wherein n is a positive integer greater than or equal to 4;
in the scanning and matching process, if the repeated characters are detected, the repeated characters are compressed until the case record information is scanned, and the compressed information is obtained.
4. The case record information evidence storing method according to claim 1, wherein the interplanetary file system adopts an asymmetric key authentication mode for networking, and the interplanetary file system adopts a block chain consensus algorithm for guaranteeing consistency between nodes.
5. The case record information evidence-storing method according to claim 1, wherein the constructing a distributed memory index comprises:
adopting Logstash in a distributed search engine to obtain enterprise information in the relational database;
and synchronizing the acquired enterprise information to an Elasticissearch in a distributed search engine, and establishing a quasi-real-time distributed inverted index by using the Elasticissearch to obtain the distributed memory index.
6. A case record information evidence method as claimed in claim 1, characterized in that the method further comprises:
receiving query keywords and identity authentication information, wherein the identity authentication information comprises an asymmetric key;
performing identity authentication based on the identity authentication information;
and if the authentication is passed, acquiring the encrypted evidence corresponding to the query keyword based on the distributed memory index, and decrypting to obtain case record information.
7. A case record information evidence storing device is characterized by comprising:
the information acquisition module is used for acquiring case record information;
the information encryption module is used for compressing and encrypting the case record information by adopting a national cryptographic algorithm to obtain an encryption evidence;
the index construction module is used for acquiring enterprise information of case-related main bodies based on main body keywords in case record information, storing the enterprise information and the encrypted evidence after association to a relational database, and constructing a distributed memory index;
and the information storage module is used for storing the encrypted evidence into an interplanetary file system of a private network, acquiring the encrypted evidence and storing the encrypted evidence into the interplanetary file system to obtain a digital fingerprint, and performing evidence fixing on the digital fingerprint in a block chain network.
8. A case record information evidence keeping apparatus as claimed in claim 7, wherein said apparatus further comprises:
the system comprises a query information receiving module, a query information processing module and a query information processing module, wherein the query information receiving module is used for receiving query keywords and identity authentication information, and the identity authentication information comprises an asymmetric key;
the identity authentication module is used for performing identity authentication based on the identity authentication information;
and the query decryption module is used for acquiring the encrypted evidence corresponding to the query keyword based on the distributed memory index if the authentication passes, and decrypting the encrypted evidence to obtain case record information.
9. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the method of documenting case record information according to any one of claims 1 to 6 when executing the computer program.
10. A computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the case record information certification method according to any one of claims 1 to 6.
CN202211593974.6A 2022-12-13 2022-12-13 Case record information evidence storing method and related equipment Pending CN115659378A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211593974.6A CN115659378A (en) 2022-12-13 2022-12-13 Case record information evidence storing method and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211593974.6A CN115659378A (en) 2022-12-13 2022-12-13 Case record information evidence storing method and related equipment

Publications (1)

Publication Number Publication Date
CN115659378A true CN115659378A (en) 2023-01-31

Family

ID=85017929

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211593974.6A Pending CN115659378A (en) 2022-12-13 2022-12-13 Case record information evidence storing method and related equipment

Country Status (1)

Country Link
CN (1) CN115659378A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116361663A (en) * 2023-06-01 2023-06-30 湖南工商大学 Digital evidence classification model training method, classification method, device and related equipment
CN117390654A (en) * 2023-11-27 2024-01-12 国家市场监督管理总局竞争政策与大数据中心 Electronic certificate storage method, electronic certificate storage device, electronic equipment and computer readable medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112084164A (en) * 2020-09-16 2020-12-15 厦门市美亚柏科信息安全研究所有限公司 Data evidence storing method and system based on block chain and interplanetary file system
CN113407627A (en) * 2021-06-17 2021-09-17 安徽师范大学 Intelligent medical network system based on block chain and medical data sharing method
CN114155000A (en) * 2021-10-29 2022-03-08 国网四川省电力公司眉山供电公司 Traceable concrete quality management system based on block chain
CN114780486A (en) * 2022-01-20 2022-07-22 苏州国本新信息科技有限公司 Distributed storage keyword retrieval method based on IPFS

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112084164A (en) * 2020-09-16 2020-12-15 厦门市美亚柏科信息安全研究所有限公司 Data evidence storing method and system based on block chain and interplanetary file system
CN113407627A (en) * 2021-06-17 2021-09-17 安徽师范大学 Intelligent medical network system based on block chain and medical data sharing method
CN114155000A (en) * 2021-10-29 2022-03-08 国网四川省电力公司眉山供电公司 Traceable concrete quality management system based on block chain
CN114780486A (en) * 2022-01-20 2022-07-22 苏州国本新信息科技有限公司 Distributed storage keyword retrieval method based on IPFS

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
石秋娥 等: "基于去中心化索引的IPFS数据获取方法研究" *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116361663A (en) * 2023-06-01 2023-06-30 湖南工商大学 Digital evidence classification model training method, classification method, device and related equipment
CN116361663B (en) * 2023-06-01 2023-08-15 湖南工商大学 Digital evidence classification model training method, classification method, device and related equipment
CN117390654A (en) * 2023-11-27 2024-01-12 国家市场监督管理总局竞争政策与大数据中心 Electronic certificate storage method, electronic certificate storage device, electronic equipment and computer readable medium

Similar Documents

Publication Publication Date Title
US11973750B2 (en) Federated identity management with decentralized computing platforms
TWI764037B (en) Interaction method and system across blockchain, computer equipment and storage medium
CN111080295B (en) Electronic contract processing method and device based on blockchain
US10541818B2 (en) Decentralized biometric signing of digital contracts
CN110417750B (en) Block chain technology-based file reading and storing method, terminal device and storage medium
WO2020073513A1 (en) Blockchain-based user authentication method and terminal device
US20230379160A1 (en) Non-fungible token authentication
CN113364760A (en) Data encryption processing method and device, computer equipment and storage medium
WO2021139140A1 (en) Password management method and apparatus employing blockchain, electronic device, and computer-readable storage medium
CN115659378A (en) Case record information evidence storing method and related equipment
CN113438088A (en) Social network credit monitoring method and device based on block chain distributed identity
CN110598433B (en) Block chain-based anti-fake information processing method and device
CN110768790A (en) Data security authorization access method, device, equipment and storage medium
CN110445840B (en) File storage and reading method based on block chain technology
CN109660534B (en) Multi-merchant-based security authentication method and device, electronic equipment and storage medium
CN113434882A (en) Communication protection method and device of application program, computer equipment and storage medium
CN114615031A (en) File storage method and device, electronic equipment and storage medium
CN113434906A (en) Data query method and device, computer equipment and storage medium
CN116226289A (en) Electronic certificate management method, device, equipment and storage medium based on blockchain
CN115085934A (en) Contract management method based on block chain and combined key and related equipment
CN115632798A (en) Electronic certificate authentication tracing method, system and related equipment based on intelligent contract
CN116095671B (en) Resource sharing method based on meta universe and related equipment thereof
CN113434824B (en) Software service authorization management method, device, equipment and storage medium
CN108241732B (en) Electronic device, information processing method, and storage medium
CN116264505A (en) Key management system and method, electronic device, and computer-readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20230131