Evidence storage method and device, system
Patent Information
- Application Number
- CN202211585774.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-09
- Publication Date
- 2026-10-30
- Estimated Expiration
- 2042-12-09
Smart Images

Figure CN116319776B_ABST
Abstract
Description
Technical Field
[0001] This specification relates to the field of blockchain technology in one or more embodiments, and particularly to an evidence storage method, apparatus, and system. Background Technology
[0002] Blockchain technology (also known as distributed ledger technology) is a decentralized distributed database technology with many characteristics such as decentralization, transparency, immutability, and trustworthiness, making it suitable for many application scenarios with high requirements for data reliability.
[0003] Given the aforementioned advantages of blockchain technology, the relevant technologies will upload the acquired evidence information to the blockchain system to prevent the acquired evidence information from being tampered with and to ensure the security of the evidence information. Summary of the Invention
[0004] In view of the above, one or more embodiments of this specification provide an evidence preservation method, apparatus, and system.
[0005] To achieve the above objectives, one or more embodiments of this specification provide the following technical solutions:
[0006] According to a first aspect of one or more embodiments of this specification, an evidence storage system is proposed, comprising: a terminal, a server, and a blockchain system;
[0007] The terminal performs evidence collection operations through the evidence collection component; wherein, whenever the collected evidence information meets the preset upload conditions, the collected evidence information is uploaded to the server, until all evidence information collected based on the evidence collection operation is uploaded to the server;
[0008] Whenever the server receives evidence information uploaded by the terminal, it provides the received evidence information to the blockchain system.
[0009] The blockchain system stores the evidence information provided by the server.
[0010] According to a second aspect of one or more embodiments of this specification, an evidence preservation method is proposed, applied to a terminal, comprising:
[0011] During the evidence collection process using the assembled evidence collection components, whenever the collected evidence information meets the preset upload conditions, the collected evidence information is provided to the blockchain system so that the blockchain system can store the received evidence information.
[0012] According to a third aspect of one or more embodiments of this specification, an evidence storage method is proposed, applied to a server, comprising:
[0013] Whenever evidence information is received from a terminal, the received evidence information is provided to the blockchain system so that the blockchain system can store the evidence information.
[0014] The evidence information is uploaded by the terminal during the evidence collection process, provided that the evidence information collected meets the preset upload conditions.
[0015] According to a fourth aspect of one or more embodiments of this specification, an evidence storage method is proposed, applied to a blockchain system, comprising:
[0016] Whenever evidence information is received from the terminal, the received evidence information is stored as evidence.
[0017] The evidence information is uploaded by the terminal when the evidence information collected during the evidence collection operation meets the preset upload conditions.
[0018] According to a fifth aspect of one or more embodiments of this specification, an evidence storage device is provided, applied to a terminal, comprising:
[0019] The providing unit, during the evidence collection operation performed by the assembled evidence collection component, provides the collected evidence information to the blockchain system whenever the collected evidence information meets the preset upload conditions, so that the blockchain system can store the received evidence information.
[0020] According to a sixth aspect of one or more embodiments of this specification, an evidence storage device is provided, applied to a server, comprising:
[0021] The providing unit, whenever it receives evidence information uploaded by the terminal, provides the received evidence information to the blockchain system so that the blockchain system can store the evidence information.
[0022] The evidence information is uploaded by the terminal during the evidence collection process, provided that the evidence information collected meets the preset upload conditions.
[0023] According to a seventh aspect of one or more embodiments of this specification, an evidence storage device is proposed for use in a blockchain system, comprising:
[0024] The evidence storage unit stores the received evidence information whenever it receives evidence information from the terminal.
[0025] The evidence information is uploaded by the terminal when the evidence information collected during the evidence collection operation meets the preset upload conditions.
[0026] According to an eighth aspect of one or more embodiments of this specification, an electronic device is provided, comprising:
[0027] processor;
[0028] Memory used to store processor-executable instructions;
[0029] The processor implements the method described in any one of the second, third, and fourth aspects by running the executable instructions.
[0030] According to a ninth aspect of one or more embodiments of this specification, a computer-readable storage medium is provided that stores computer instructions thereon, which, when executed by a processor, implement the steps of the method as described in any one of the second, third, and fourth aspects. Attached Figure Description
[0031] Figure 1 This is a schematic diagram of an evidence preservation system provided in an exemplary embodiment.
[0032] Figure 2 This is a flowchart of an evidence preservation method provided in an exemplary embodiment.
[0033] Figure 3 This is a flowchart of another evidence preservation method provided in an exemplary embodiment.
[0034] Figure 4 This is a flowchart of another evidence preservation method provided in an exemplary embodiment.
[0035] Figure 5 This is an interactive diagram of a video evidence preservation method provided in an exemplary embodiment.
[0036] Figure 6 This is an interactive diagram of another video evidence preservation method provided in an exemplary embodiment.
[0037] Figure 7 This is a schematic diagram of the structure of a device provided in an exemplary embodiment.
[0038] Figure 8 This is a block diagram of an evidence storage device provided in an exemplary embodiment.
[0039] Figure 9 This is a block diagram of another evidence storage device provided in an exemplary embodiment.
[0040] Figure 10 This is a block diagram of another evidence storage device provided in an exemplary embodiment. Detailed Implementation
[0041] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numerals in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with one or more embodiments of this specification. Rather, they are merely examples of apparatuses and methods consistent with some aspects of one or more embodiments of this specification as detailed in the appended claims.
[0042] It should be noted that the steps of the corresponding methods are not necessarily performed in the order shown and described in this specification in other embodiments. In some other embodiments, the methods may include more or fewer steps than described in this specification. Furthermore, a single step described in this specification may be broken down into multiple steps in other embodiments; and multiple steps described in this specification may be combined into a single step in other embodiments.
[0043] To prevent the obtained evidence from being tampered with, related technologies typically upload the obtained evidence to a blockchain system after the evidence collection process is completed. This leverages the immutability and trustworthiness of the blockchain system to ensure the security of the evidence.
[0044] However, after evidence is obtained through evidence collection, it is highly likely that the evidence has been tampered with before being uploaded to the blockchain system. This means that the evidence stored in the blockchain system is not the original evidence obtained, but rather evidence that has been altered by malicious actors. Therefore, evidence storage methods using relevant technologies can only guarantee that the evidence will not be tampered with after it is uploaded to the blockchain, but cannot guarantee that the stored evidence has not been tampered with before being uploaded.
[0045] Secondly, to ensure the absolute reliability of evidence, relevant technical personnel also proposed the requirement of ensuring the reliability of the evidence acquisition process. On the one hand, this can prevent evidence from being tampered with during the acquisition process; on the other hand, it can ensure that the evidence acquisition process is compliant and legal. However, the evidence preservation methods in the relevant technologies clearly cannot guarantee the reliability of the evidence acquisition process.
[0046] In view of this, this specification proposes an evidence preservation system that can ensure the reliability of the evidence acquisition process, so as to avoid the problem that unreliable acquisition process leads to unreliable evidence itself.
[0047] Figure 1 This is a schematic diagram illustrating an exemplary embodiment of an evidence preservation system as described in this specification. Figure 1 As shown, the evidence storage system includes: terminal 11, server 12 and blockchain system 13.
[0048] Terminal 11 performs evidence collection operations through the evidence collection component; wherein, whenever the collected evidence information meets the preset upload conditions, the collected evidence information is uploaded to server 12, until all evidence information collected based on the evidence collection operation is uploaded to server 12;
[0049] Whenever server 12 receives evidence information uploaded by the terminal, it provides the received evidence information to blockchain system 13;
[0050] Blockchain system 13 stores the evidence information provided by server 12.
[0051] As can be seen from the above introduction, the relevant technology is essentially just uploading the results of the evidence collection operation to the blockchain system. It cannot guarantee that the collected evidence has not been tampered with before being uploaded to the chain, nor can it guarantee the reliability of the evidence acquisition process.
[0052] In view of this, during the evidence collection operation performed by the terminal 11 through the evidence collection component, whenever the collected evidence information meets the preset upload conditions, the terminal 11 uploads the collected evidence information to the server 12, and repeats this upload operation until all evidence information collected based on this evidence collection operation has been uploaded to the server 12. Whenever the server 12 receives evidence information uploaded by the terminal, it provides the received evidence information to the blockchain system 13, so that the blockchain system 13 can store the received evidence information as evidence.
[0053] It is easy to see that terminal 11 in this specification is equivalent to uploading the collected evidence information to the blockchain in real time during the evidence collection process. Based on this, the blockchain system 13 can store several pieces of evidence information related to this evidence collection operation. The stored evidence information reflects the execution process of the evidence collection operation and can obviously be used to determine whether the evidence acquisition process is reliable. Secondly, if the evidence obtained through the evidence collection operation is tampered with before being uploaded to the blockchain, it will inevitably fail to match the stored evidence information. Therefore, the technical solution in this specification can determine whether the evidence stored on the blockchain has been tampered with before being uploaded, thus avoiding the problem of unreliable evidence stored on the blockchain in related technologies.
[0054] In this specification, the blockchain system 13 can generate a hash value based on any evidence information received from the server 12, in order to prevent the corresponding evidence information from being tampered with. For example, if it is necessary to determine whether the evidence information has been tampered with later, the evidence information can be hashed again, and the hash value obtained can be compared with the previously generated hash value. If they match, it is determined that the evidence information has not been tampered with.
[0055] In this specification, the blockchain system 13 can also return the generated hash value to the server 12. Based on this, when the server 12 receives the evidence information uploaded by the terminal 11, it can obtain the hash value of the previous evidence information that has been uploaded to the chain, and provide the obtained hash value and the received evidence information to the blockchain system 13, so that the blockchain system 13 can associate and store the received hash value and evidence information.
[0056] In other words, the blockchain system 13 in this specification can associate and store the hash value of the previous evidence information that was prioritized for on-chain storage with the evidence information that needs to be on-chain this time. Based on this, after completing the storage operation of all evidence information collected based on this evidence collection operation, the blockchain system 13 can determine the collection order of each piece of evidence information based on the hash value associated with each piece of evidence information, and integrate all the evidence information into the target evidence based on the determined collection order.
[0057] In this specification, the evidence obtained by terminal 11 based on the evidence collection operation can be uploaded to the blockchain system 13 via server 12 for on-chain evidence preservation; alternatively, it can be stored on terminal 11 or any other off-chain storage device, which this specification refers to as off-chain evidence. Based on this, if a user obtains off-chain evidence but cannot be certain of its reliability, they can initiate a verification transaction with the blockchain system 13 for the off-chain evidence obtained through the aforementioned evidence collection operation. Upon receiving the verification transaction, the blockchain system 13 can verify the off-chain evidence included in the verification transaction based on all the evidence information already preserved from the evidence collection operation.
[0058] For example, target evidence can be generated based on all the evidence information obtained through the aforementioned evidence collection operations and already stored. This target evidence is then compared with the off-chain evidence included in the verification transaction. If the comparison result shows that the target evidence matches the off-chain evidence in the transaction, the verification passes; otherwise, the verification fails. It should be understood that the target evidence generated from the already stored evidence information is the original evidence actually obtained through the aforementioned evidence collection operations. Therefore, by comparing this target evidence with the off-chain evidence, it is possible to determine whether the off-chain evidence included in the verification transaction has been tampered with.
[0059] In this specification, those skilled in the art can set the above-mentioned upload conditions in terminal 11 according to actual needs. For example, the upload condition can be: the evidence collection time reaches a preset time; or it can be: the amount of data of the collected evidence information reaches a preset amount. It should be understood that the purpose of setting the upload conditions in terminal 11 in this specification is to: based on the upload conditions, upload the collected evidence information in real time during the evidence collection process. Any condition that can achieve this purpose can be used as the above-mentioned upload condition, and is not limited to the above two conditions; this specification does not impose any restrictions on this.
[0060] In this specification, terminal 11 can perform evidence collection operations through different evidence collection components. For example, the evidence collection component can be a camera, in which case the evidence collection operation is a video recording operation, and the evidence information uploaded in real time according to the upload conditions is the recorded video segment; as another example, the evidence collection component can be a recording component, in which case the evidence collection operation is an audio recording operation, and the evidence information uploaded in real time according to the upload conditions is the recorded audio segment; as yet another example, the evidence collection component can be an infrared monitoring component, in which case the evidence collection operation is an infrared data monitoring operation, and the evidence information uploaded in real time according to the upload conditions is the detected infrared data; as yet another example, the evidence collection component can also be a screen recording component, in which case the evidence collection operation is a screen recording operation, and the evidence information uploaded in real time according to the upload conditions is the recorded screen image. Of course, the above examples are only illustrative, and the specific component used for evidence collection and the specific operation performed can be determined by those skilled in the art based on the actual situation, and this specification does not impose any restrictions on this.
[0061] In this specification, the evidence collected through the evidence collection operation can be referred to as original evidence. After completing the evidence collection operation, terminal 11 can send the original evidence to server 12, so that server 12 can provide the original evidence to blockchain system 13, thereby enabling blockchain system 13 to store the original evidence.
[0062] Of course, to ensure that the received evidence requiring notarization is indeed the original, tamper-free evidence obtained through the evidence collection operation, the blockchain system 13 can, before notarization, first verify the received original evidence based on the already notarized evidence information collected through the same evidence collection operation. If the verification passes, it is determined that the received evidence is indeed the original, tamper-free evidence, and at this point, the received evidence can be notarized as the aforementioned on-chain evidence; otherwise, the received evidence will not be notarized. The specific verification method is consistent with the method for verifying off-chain evidence in verification transactions described above, and will not be repeated here.
[0063] In this specification, after the original evidence is uploaded to the blockchain, the user can directly obtain the original evidence from the blockchain system 13. For example, the user can send a retrieval request to the blockchain system 13 to request the retrieval of the original evidence. In this case, the blockchain system 13 can also verify the original evidence based on all the evidence information already stored and collected through the evidence collection operation. If the verification result shows that the original evidence matches all the evidence information, the original evidence will be provided to the party initiating the retrieval request. In this way, it can be guaranteed that the evidence retrieved by the user from the blockchain system 13 is indeed the original evidence retrieved through the evidence collection operation.
[0064] In this specification, when server 12 provides any evidence information to blockchain system 13, it can also generate a temporary key corresponding to that evidence information and return the generated temporary key to terminal 11. Then, when terminal 11 receives the next piece of evidence information based on that evidence information, it can encrypt the next piece of evidence information using the received temporary key and upload the encrypted evidence information to server 12. In other words, server 12 generates a temporary key for uploading the next piece of evidence information each time it receives evidence information, thereby achieving encrypted transmission of evidence information between terminal 11 and server 12.
[0065] It should be noted that terminal 11 in this specification can be any type of electronic device, as long as it has the function of performing evidence collection operations. This can be determined by those skilled in the art according to actual needs, and this specification does not impose any restrictions on it. Similarly, server 12 in this specification can also be any type of electronic device. Server 12 is essentially a platform used to provide users with on-chain functions, and its specific form can be set by those skilled in the art according to actual conditions. This specification does not impose any restrictions on it.
[0066] It should also be noted that the blockchain system 13 in this specification can be deployed using the traditional architecture of blockchain technology, that is, all nodes in the blockchain system 13 are formed by deploying blockchain code on corresponding physical devices, and in most cases, each node corresponds to one physical device; the blockchain system 13 in this specification can also be deployed using the BaaS (Blockchain as a Service) architecture in blockchain technology, that is, all nodes in the blockchain system 13 are formed by deploying blockchain code on virtual machines implemented in the cloud through cloud services, and the blockchain nodes do not need to correspond to corresponding physical devices one by one.
[0067] As can be seen from the above technical solution, during the evidence collection process, whenever the collected evidence information meets the preset upload conditions, the terminal in this specification can upload the collected evidence information to the blockchain system via the server, so that the blockchain system can store the received evidence information as evidence. In other words, the evidence storage system in this specification can upload the collected evidence information to the blockchain in real time during the evidence collection process.
[0068] It should be understood that the blockchain system stores evidence information uploaded in real time during the evidence collection process, which is equivalent to putting each piece of evidence collected during the evidence collection operation on the chain. If the evidence is tampered with before being put on the chain, the evidence will inevitably be inconsistent with at least one of the stored evidence information. Therefore, the evidence storage system described in this specification can avoid the problem in related technologies where only the collection results of the evidence collection operation are stored, leading to unreliable evidence stored on the chain.
[0069] This specification also proposes an evidence preservation method applied to a terminal. It should be noted that most of the operational procedures in this evidence preservation method, such as how to perform evidence collection and how to upload the collected evidence information, are consistent with the evidence preservation system described above. The only difference is that the description focuses on the terminal as the executing entity. Related content can be found in the description of the evidence collection system above and will not be repeated below.
[0070] Figure 2 This is a flowchart illustrating an exemplary embodiment of an evidence preservation method described in this specification. The method is applied to a terminal, such as... Figure 2 As shown, the method may include the following steps:
[0071] Step 202: During the evidence collection operation performed by the assembled evidence collection component, whenever the collected evidence information meets the preset upload conditions, the collected evidence information is provided to the blockchain system so that the blockchain system can store the received evidence information.
[0072] As described above, the preset upload conditions in the terminal may include at least one of the following: the evidence collection time reaches a preset time, or the amount of collected evidence information data reaches a preset data amount. Of course, these examples are illustrative, and how to set the upload conditions specifically can be determined by those skilled in the art according to actual needs; this specification does not limit this.
[0073] As described above, the evidence collection component in the terminal used to perform the evidence collection operation can be at least one of the following: a camera, an audio recording component, an infrared monitoring component, or a screen recording component. Of course, this example is merely illustrative; the specific evidence collection component used can be determined by those skilled in the art based on actual needs, and this specification does not impose any limitations on this.
[0074] As mentioned above, once the evidence collection operation is completed, the original evidence obtained through the evidence collection operation can be provided to the blockchain system so that the blockchain system can store the received original evidence.
[0075] It is important to emphasize that in this method, the terminal can either use the evidence storage system described above, which uploads the collected evidence information to the blockchain system through the server, or it can be different from the evidence storage system described above, where the terminal directly uploads the evidence information to the blockchain system.
[0076] Specifically, when uploading evidence information through the server, as mentioned above, the server can upload the currently received evidence information based on the hash value of the previous evidence information, so that the blockchain system can associate and store the received evidence information and the hash value. In addition, upon receiving any evidence information, the server can return a temporary key to the terminal, allowing the terminal to encrypt and transmit the next piece of evidence information based on that temporary key.
[0077] When a terminal directly uploads evidence information to the blockchain system, the blockchain system can return the generated hash value directly to the terminal. The terminal then uses this hash value, along with the currently collected evidence information, to initiate a request for evidence storage to the blockchain system. Based on this, the blockchain system can then associate and store the received hash value with the evidence information.
[0078] As can be seen from the above technical solution, through this evidence preservation method, the terminal can upload the collected evidence information to the blockchain system in real time during the evidence collection process, so that the blockchain system can preserve the evidence. Based on this, the blockchain system can verify the reliability of the evidence obtained through the evidence preservation operation based on the preserved evidence information. This avoids the problem in related technologies where only the collection results of the evidence collection operation are preserved, which could lead to the evidence being tampered with before being uploaded to the blockchain, making the evidence preserved on the blockchain itself unreliable.
[0079] This specification also proposes another method for evidence preservation, which is applied to a server. It should be noted that most of the operations in this method, such as how to upload evidence information to the blockchain system, are consistent with the evidence preservation system described above. The only difference is that the description focuses on the server as the executing entity. Related details can be found in the description of the evidence collection system above, and will not be repeated below.
[0080] Figure 3 This is a flowchart illustrating another method for evidence preservation as an exemplary embodiment of this specification. The method is applied to a server, such as... Figure 3 As shown, the method may include the following steps:
[0081] Step 302: Whenever evidence information uploaded by the terminal is received, the received evidence information is provided to the blockchain system so that the blockchain system can store the evidence information; wherein, the evidence information is uploaded by the terminal when the evidence information collected during the execution of the evidence collection operation meets the preset upload conditions.
[0082] As mentioned above, the server is mainly used to provide the function of uploading information to the blockchain for the terminal. Therefore, whenever evidence information is received from the terminal, the received evidence information can be provided to the blockchain system for storage and verification.
[0083] As described above, the evidence information received by the server is uploaded by the terminal if the collected evidence information meets preset upload conditions. These upload conditions can be at least one of the following: the evidence collection time reaches a preset duration, or the amount of collected evidence information reaches a preset data volume.
[0084] As described above, the blockchain system can generate a hash value for any piece of evidence after it has been stored, and return the hash value to the server. Based on this, when the server receives the next piece of evidence uploaded by the terminal, it can obtain the hash value of the previous piece of evidence already on the blockchain, and provide the obtained hash value along with the received next piece of evidence to the blockchain system, so that the blockchain system can associate and store the received hash value and the evidence information.
[0085] As described above, when the server provides any piece of evidence to the blockchain system, it can also generate a temporary key corresponding to that piece of evidence and return the generated temporary key to the terminal. The terminal, upon receiving the next piece of evidence related to that piece of evidence, can then encrypt that next piece of evidence based on the received temporary key and upload the encrypted evidence to the server. In other words, the server can generate a temporary key for uploading the next piece of evidence each time it receives it, thus enabling encrypted transmission of evidence between the terminal and the server.
[0086] As can be seen from the above technical solution, this evidence preservation method allows the server to upload evidence information to the blockchain system whenever it receives it, enabling the blockchain system to preserve the evidence and achieve real-time on-chain evidence. Based on this, the blockchain system can verify the reliability of the evidence obtained through the evidence preservation operation based on the preserved evidence information. This avoids the problem in related technologies where only the results of evidence collection are preserved, which could lead to the evidence being tampered with before being uploaded to the blockchain, resulting in unreliable evidence stored on the chain.
[0087] This specification also proposes another method for evidence preservation, which is applied to a blockchain system. It should be noted that most of the operational procedures in this method, such as how to preserve received evidence information and how to verify the evidence, are consistent with the evidence preservation system described above. The only difference is that the blockchain system is used as the execution entity in this description. Related content can be found in the description of the evidence collection system above, and will not be repeated below.
[0088] Figure 4 This is a flowchart illustrating yet another method for evidence preservation, as shown in an exemplary embodiment of this specification. This method is applied to blockchain systems, such as... Figure 4 As shown, the method may include the following steps:
[0089] Step 402: Whenever evidence information is received from the terminal, the received evidence information is stored; wherein, the evidence information is uploaded by the terminal when the evidence information collected during the evidence collection operation meets the preset upload conditions.
[0090] In this specification, whenever the blockchain system receives evidence information from a terminal, it can store the received evidence information. It should be noted that this evidence information can be uploaded by the terminal to the server via the evidence storage system described above, or it can be sent directly to the blockchain system by the terminal, unlike the evidence storage system described above.
[0091] As mentioned above, the evidence information received by the blockchain system is uploaded by the terminal during the evidence collection process if the evidence information meets the preset upload conditions.
[0092] As described above, upon receiving any piece of evidence and the hash value of the preceding piece of evidence, the blockchain system associates and stores the received hash value with the preceding piece of evidence. The hash value of the preceding piece of evidence is generated by the blockchain system when storing the preceding piece of evidence.
[0093] As described above, after completing the storage of all evidence information collected through the aforementioned evidence collection operations, the blockchain system can determine the collection order of each piece of evidence based on the hash values associated with each piece of evidence, and integrate all the evidence information into the target evidence based on the determined collection order. Specifically, upon receiving a verification request for off-chain evidence collected through the aforementioned evidence collection operations, the target evidence can be used to verify the off-chain evidence included in the request.
[0094] As can be seen from the above technical solution, this evidence storage method allows the blockchain system to store evidence information uploaded by the terminal in real time. Based on this, the blockchain system can verify the reliability of the evidence obtained through the evidence storage operation using the stored information. This avoids the problem in related technologies where only the results of the evidence collection operation are stored, which could lead to the evidence being tampered with before being uploaded to the blockchain, making the evidence stored on the chain unreliable.
[0095] The following section will use the preservation of video evidence as an example to introduce the technical solutions in this manual.
[0096] Figure 5 This diagram illustrates an interactive method for preserving video evidence, as shown in an exemplary embodiment of this specification. Figure 5 As shown, the method may include the following steps:
[0097] Step 501: The smartphone uses its camera to record video.
[0098] In this embodiment, the smartphone can prioritize detecting its own network environment to ensure the security of the uploaded environment for the captured video evidence. If the detection result indicates a secure network environment, a connection request can be sent to the server to establish a network link between the smartphone and the server for real-time information transmission.
[0099] Step 502: The smartphone confirms that the shooting time has reached the preset duration.
[0100] In this embodiment, a preset duration can be built into the smartphone as the upload condition described above. Specifically, when the smartphone determines that the recording duration of the video evidence has reached the preset duration, the recorded video clip can be sent to the server, which will then upload it to the blockchain system.
[0101] For example, if the preset duration is 2 seconds, then the smartphone can upload the captured video clips in real time during the video evidence shooting process, with 2-second intervals. For instance, when the shooting time reaches 2 seconds, the video clips captured within those 2 seconds can be sent to the server, which will then upload them to the blockchain system; when the shooting time reaches 4 seconds, the video clips captured between 2 and 4 seconds can be sent to the server, which will then upload them to the blockchain system, and so on, until the video evidence shooting operation is completed.
[0102] Step 503: The smartphone sends the captured video clips to the server.
[0103] Step 504: The server uploads the received video clips to the blockchain system.
[0104] Step 505: The blockchain system stores the received video clips as evidence.
[0105] In this embodiment, the blockchain system can store evidence for each video segment it receives from the server.
[0106] It should be noted that although steps 502-505 only describe the uploading of a video clip once, in practice, it should be done as follows: Figure 5 As shown, continue executing steps 502 to 505 until the video evidence recording operation is completed.
[0107] It should also be noted that the server can upload video clips in different formats according to actual needs. For example, it can upload them as follows: Figure 5 As shown, only video clips are uploaded; for example, it can be done as follows: Figure 6 As shown, after completing the notarization operation of the previous video segment, the blockchain system can generate a hash value for that video segment and return it to the server. Based on this, when the server receives the next video segment, it can upload both the hash value of the previous video segment and the received next video segment to the blockchain system for associated notarization. However, since the blockchain system has not yet notarized other video segments captured in this video recording when the first video segment is uploaded, the first video segment can be... Figure 6 As shown, upload separately.
[0108] Step 506: After completing the evidence capture, the smartphone sends the video evidence to the server.
[0109] In this embodiment, once the smartphone completes the evidence-taking operation, the video evidence can be sent to the server for storage. For example, the user can trigger the recording end control displayed on the smartphone to terminate the video evidence recording process. At this time, the smartphone can send the captured video evidence to the server for on-chain storage.
[0110] Step 507: The server uploads the received video evidence to the blockchain system.
[0111] In this embodiment, when the server receives the uploaded video evidence, in order to ensure that the video evidence to be uploaded to the blockchain has not been tampered with before being uploaded, that is, to ensure the reliability of the video evidence stored on the blockchain, the server may first verify the received video evidence based on the already stored video segments.
[0112] For example, video clips that have already been stored can be spliced together to obtain the original video evidence obtained by shooting the aforementioned video evidence. If the spliced original video evidence is consistent with the received video evidence, it indicates that the received video evidence has not been tampered with before being uploaded to the blockchain. Once the verification is passed, the received video evidence can be stored as evidence.
[0113] Step 508: The blockchain system verifies the video evidence based on the already stored video clips.
[0114] Step 509: If the verification is successful, the blockchain system stores the received video evidence.
[0115] As can be seen from the above technical solution, the technical solution of this embodiment allows for the real-time uploading of video clips to the blockchain during the process of capturing video evidence on a smartphone, according to a preset duration. Based on this, when it is necessary to upload the captured video evidence to the blockchain, the blockchain system can verify the received video evidence based on the already stored video clips to determine whether the video evidence to be uploaded to the blockchain has been tampered with before uploading. If it has not been tampered with, it is stored; otherwise, it is not stored. Therefore, the technical solution of this embodiment avoids the problem in related technologies where only the captured evidence is stored, which could lead to the evidence being tampered with before being uploaded to the blockchain.
[0116] Figure 7 This is a schematic structural diagram of a device provided in an exemplary embodiment. Please refer to... Figure 7 At the hardware level, the device includes a processor 702, an internal bus 704, a network interface 706, memory 708, and non-volatile memory 710, and may also include other hardware required for business operations. One or more embodiments of this specification can be implemented in software, such as the processor 702 reading the corresponding computer program from the non-volatile memory 710 into memory 708 and then running it. Of course, in addition to software implementation, one or more embodiments of this specification do not exclude other implementation methods, such as logic devices or a combination of hardware and software, etc. That is to say, the execution subject of the following processing flow is not limited to each logic unit, but can also be hardware or logic devices.
[0117] Please refer to Figure 8 Evidence preservation devices can be applied to, for example... Figure 7 The device shown implements the technical solution of this specification. The evidence storage device, applied to a terminal, may include:
[0118] The providing unit 801, during the process of performing evidence collection operations through the assembled evidence collection component, provides the collected evidence information to the blockchain system whenever the collected evidence information meets the preset upload conditions, so that the blockchain system can store the received evidence information.
[0119] Optionally, the upload conditions include at least one of the following:
[0120] The evidence collection time reaches the preset time limit, and the amount of evidence information collected reaches the preset data volume.
[0121] Optionally, the evidence collection component includes at least one of the following:
[0122] Camera, audio recording component, infrared monitoring component, screen recording component.
[0123] Optionally, providing unit 801 is also used for:
[0124] Upon completion of the evidence collection operation, the original evidence obtained through the evidence collection operation will be provided to the blockchain system for storage and verification by the blockchain system.
[0125] Please refer to Figure 9 Evidence preservation devices can be applied to, for example... Figure 7 The device shown implements the technical solution described in this specification. The evidence storage device, applied to a server, may include:
[0126] The providing unit 901, whenever it receives evidence information uploaded by the terminal, provides the received evidence information to the blockchain system so that the blockchain system can store the evidence information;
[0127] The evidence information is uploaded by the terminal during the evidence collection process, provided that the evidence information collected meets the preset upload conditions.
[0128] Optional,
[0129] It also includes: a receiving unit 902, which receives the hash value generated by the blockchain system based on any evidence information stored in the database;
[0130] The providing unit 901 is also used to: upon receiving the next evidence information of any of the evidence information, provide the hash value and the next evidence information to the blockchain system so that the blockchain system can associate and store the hash value and the next evidence information.
[0131] Please refer to Figure 10 Evidence preservation devices can be applied to, for example... Figure 7The device shown implements the technical solution described in this specification. Specifically, this evidence storage device, applied to a blockchain system, may include:
[0132] The evidence storage unit 1001 stores the received evidence information whenever it receives evidence information provided by the terminal.
[0133] The evidence information is uploaded by the terminal when the evidence information collected during the evidence collection operation meets the preset upload conditions.
[0134] Optionally, the evidence storage unit 1001 is further used for:
[0135] Upon receiving any piece of evidence and the hash value of the previous piece of evidence, the received hash value and the piece of evidence are associated and stored together; the hash value is generated by the blockchain system when storing the piece of evidence.
[0136] Optional, also includes:
[0137] The integration unit 1002, after completing the evidence storage operation of all evidence information collected based on the evidence collection operation, determines the collection order of each piece of evidence information based on the hash value associated with each piece of evidence information, and integrates all evidence information into target evidence based on the determined collection order.
[0138] Optional, also includes:
[0139] Verification unit 1003, in response to a verification transaction for off-chain evidence obtained through the evidence collection operation, verifies the off-chain evidence contained in the verification transaction based on all the evidence information that has been stored.
[0140] The systems, devices, modules, or units described in the above embodiments can be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer, which can take the form of a personal computer, laptop computer, cellular phone, camera phone, smartphone, personal digital assistant, media player, navigation device, email sending and receiving device, game console, tablet computer, wearable device, or any combination of these devices.
[0141] In a typical configuration, a computer includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0142] Memory may include non-persistent storage in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.
[0143] Computer-readable media, including both permanent and non-permanent, removable and non-removable media, can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, disk storage, quantum memory, graphene-based storage media or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.
[0144] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0145] The foregoing has described specific embodiments of this specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims may be performed in a different order than that shown in the embodiments and may still achieve the desired result. Furthermore, the processes depicted in the drawings do not necessarily require the specific or sequential order shown to achieve the desired result. In some embodiments, multitasking and parallel processing are possible or may be advantageous.
[0146] The terminology used in one or more embodiments of this specification is for the purpose of describing particular embodiments only and is not intended to limit the scope of one or more embodiments of this specification. The singular forms “a,” “described,” and “the” used in one or more embodiments of this specification and in the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term “and / or” as used herein refers to and includes any or all possible combinations of one or more associated listed items.
[0147] It should be understood that although the terms first, second, third, etc., may be used to describe various information in one or more embodiments of this specification, such information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another. For example, first information may also be referred to as second information without departing from the scope of one or more embodiments of this specification, and similarly, second information may also be referred to as first information. Depending on the context, the word "if" as used herein may be interpreted as "when," "in response to a determination," or "when," or "in the event of a determination."
[0148] The above description is merely a preferred embodiment of one or more embodiments of this specification and is not intended to limit the scope of one or more embodiments of this specification. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of one or more embodiments of this specification should be included within the protection scope of one or more embodiments of this specification.
Claims
1. An evidence preservation system, comprising: Terminals, servers, and blockchain systems; The terminal performs evidence collection operations through the evidence collection component; wherein, whenever the collected evidence information meets the preset upload conditions, the collected evidence information is uploaded to the server, until all evidence information collected based on the evidence collection operation is uploaded to the server; Whenever the server receives any evidence information uploaded by the terminal, it provides that evidence information to the blockchain system. The blockchain system stores any evidence information provided by the server. The blockchain system is also used to: upon receiving any evidence information provided by the server, generate a hash value based on the evidence information, and return the generated hash value to the server; Whenever the server receives any evidence information uploaded by the terminal, it provides the received evidence information to the blockchain system, including: whenever it receives evidence information uploaded by the terminal, obtaining the hash value of the previous evidence information that has been uploaded to the chain, and providing the obtained hash value and the received evidence information to the blockchain system, so that the blockchain system can associate and store the received hash value and evidence information.
2. The system according to claim 1, The blockchain system is also used to: after completing the storage operation of all evidence information collected based on the evidence collection operation, determine the collection order of each piece of evidence information based on the hash value associated with each piece of evidence information, and integrate all the evidence information into the target evidence based on the determined collection order.
3. The system according to claim 1, The blockchain system is also used to: in response to a verification transaction for off-chain evidence obtained through the evidence collection operation, verify the off-chain evidence included in the verification transaction based on all the evidence information that has been stored.
4. The system according to claim 3, The blockchain system, based on all the stored evidence information, verifies the off-chain evidence included in the verification transaction, including: The target evidence generated based on all the evidence information that has been stored is compared with the off-chain evidence contained in the verification transaction; If the comparison results show that the target evidence is consistent with the off-chain evidence, the verification passes; otherwise, the verification fails.
5. The system according to claim 1, wherein the upload conditions include at least one of the following: The evidence collection time reaches the preset time limit, and the amount of evidence information collected reaches the preset data volume.
6. The system according to claim 1, wherein the evidence collection component comprises at least one of the following: Camera, audio recording component, infrared monitoring component, screen recording component.
7. The system according to claim 1, The terminal is also used to: upon completion of the evidence collection operation, send the original evidence obtained through the evidence collection operation to the server, so that the server can provide the original evidence to the blockchain system; The blockchain system is also used to: verify the original evidence provided by the server based on the evidence information that has been stored, and store the received original evidence if the verification result shows that the original evidence has not been tampered with.
8. The system according to claim 7, The blockchain system is also used to: in response to a request to extract the original evidence, verify the original evidence based on all evidence information collected in the evidence collection operation that has been stored, and provide the original evidence to the requester of the extraction request if the verification result shows that the original evidence matches all the evidence information.
9. The system according to claim 1, The server is also configured to: generate a temporary key corresponding to any evidence information when any evidence information is provided to the blockchain system, and return the temporary key to the terminal; The terminal uploads the collected evidence information to the server, including: If the next piece of evidence information is collected for any of the aforementioned pieces of evidence information, the next piece of evidence information is encrypted based on the temporary key, and the encrypted evidence information is uploaded to the server.
10. An evidence preservation method, applied to a terminal, comprising: During the evidence collection process using the assembled evidence collection component, whenever the collected evidence information meets the preset upload conditions, the collected evidence information is provided to the blockchain system via the server, so that the blockchain system can store the received evidence information. Specifically, when the blockchain system receives any evidence information provided by the server, it generates a hash value based on that evidence information and returns the generated hash value to the server. Whenever the server receives evidence information uploaded by the terminal, it obtains the hash value of the previous evidence information already on the blockchain and provides the obtained hash value along with the received evidence information to the blockchain system, so that the blockchain system can associate and store the received hash value with the evidence information.
11. The method of claim 10, wherein the upload conditions include at least one of the following: The evidence collection time reaches the preset time limit, and the amount of evidence information collected reaches the preset data volume.
12. The method of claim 10, wherein the evidence collection component comprises at least one of the following: Camera, audio recording component, infrared monitoring component, screen recording component.
13. The method of claim 10, further comprising: Upon completion of the evidence collection operation, the original evidence obtained through the evidence collection operation will be provided to the blockchain system for storage and verification by the blockchain system.
14. An evidence preservation method, applied to a server, comprising: Whenever any evidence information uploaded by the terminal is received, the received evidence information is provided to the blockchain system so that the blockchain system can store the evidence information; wherein, the evidence information is uploaded by the terminal when the evidence information collected during the execution of the evidence collection operation meets the preset upload conditions; Receive the hash value generated by the blockchain system based on any evidence information stored in the database; The step of providing any received evidence information to the blockchain system for the blockchain system to store the evidence information includes: upon receiving the next piece of evidence information, providing the hash value and the next piece of evidence information to the blockchain system for the blockchain system to associate and store the hash value and the next piece of evidence information.
15. An evidence storage method applied to a blockchain system, comprising: Whenever any evidence information is received from the terminal via the server, the received evidence information is stored as evidence; wherein, the evidence information is uploaded by the terminal when the evidence information collected during the evidence collection operation meets the preset upload conditions, until all evidence information collected based on the evidence collection operation is uploaded to the server; Upon receiving any evidence information provided by the server, a hash value is generated based on that evidence information, and the generated hash value is returned to the server. The step of storing any received evidence information provided by the terminal via the server includes: when receiving any evidence information uploaded by the server and the hash value of the previous evidence information of the evidence information, as well as storing the hash value of the previous evidence information and the evidence information in association; the hash value of the previous evidence information is generated by the blockchain system when storing the previous evidence information.
16. The method of claim 15, further comprising: After completing the evidence storage operation of all evidence information collected based on the evidence collection operation, the collection order of each piece of evidence information is determined based on the hash value associated with each piece of evidence information, and all evidence information is integrated into the target evidence based on the determined collection order.
17. The method of claim 15, further comprising: In response to a verification transaction for off-chain evidence acquired through the evidence collection operation, the off-chain evidence contained in the verification transaction is verified based on the evidence information that has been stored.
18. An evidence storage device, applied to a terminal, comprising: The providing unit, during the evidence collection operation performed by the assembled evidence collection component, whenever the collected evidence information meets the preset upload conditions, provides the collected evidence information to the blockchain system via the server, so that the blockchain system can store the received evidence information; wherein, when the blockchain system receives any evidence information provided by the server, it generates a hash value based on that evidence information and returns the generated hash value to the server; whenever the server receives evidence information uploaded by the terminal, it obtains the hash value of the previous evidence information already on the chain and provides the obtained hash value and the received evidence information to the blockchain system, so that the blockchain system can associate and store the received hash value and evidence information.
19. An evidence storage device, applied to a server, comprising: The providing unit, whenever it receives evidence information uploaded by the terminal, provides the received evidence information to the blockchain system so that the blockchain system can store the evidence information; wherein, the evidence information is uploaded by the terminal when the evidence information collected during the execution of the evidence collection operation meets the preset upload conditions; The receiving unit receives the hash value generated by the blockchain system based on any evidence information stored in the database; The providing unit is also used to: upon receiving the next evidence information of any of the evidence information, provide the hash value and the next evidence information to the blockchain system so that the blockchain system can associate and store the hash value and the next evidence information.
20. An evidence storage device, applied in a blockchain system, comprising: The evidence storage unit stores the received evidence information whenever it receives evidence information from the terminal via the server. The evidence information is uploaded by the terminal when the evidence information collected during the evidence collection operation meets the preset upload conditions, until all the evidence information collected based on the evidence collection operation is uploaded to the server. When any evidence information is received from the server, a hash value is generated based on the evidence information and the generated hash value is returned to the server. The evidence storage unit is further used to: upon receiving any evidence information uploaded by the server and the hash value of the previous evidence information of the any evidence information, associate and store the received hash value of the previous evidence information with the any evidence information; the hash value of the previous evidence information is generated by the blockchain system when storing the previous evidence information.
21. An electronic device, comprising: processor; Memory used to store processor-executable instructions; The processor implements the method as described in any one of claims 10 to 17 by executing the executable instructions.
22. A computer-readable storage medium having stored thereon computer instructions that, when executed by a processor, implement the steps of the method as claimed in any one of claims 10 to 17.
Citation Information
Patent Citations
Method and system of fast file updating applied to cloud storage
CN103166992A
Tamper-proof evidence obtaining method, system and device, storage medium and electronic device
CN112632637A
