A method, apparatus, device, and medium for data forensics of a device.
By assigning an evidence collection order to devices and documents and optimizing the electronic evidence collection process, the problem of low document extraction efficiency was solved, and efficient and accurate document extraction and case processing were achieved.
Patent Information
- Application Number
- CN202410983489.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-22
- Publication Date
- 2026-11-10
- Estimated Expiration
- 2044-07-22
AI Technical Summary
In existing technologies, the efficiency of document extraction during electronic evidence collection is low and does not meet the needs of cases, thus affecting the efficiency of case processing.
By obtaining information on the status of individuals associated with the target case and the attributes of the devices, the order of evidence collection for devices and files is assigned based on the number of bytes and type of the files, thereby optimizing the extraction order to improve efficiency.
It enables efficient and accurate extraction of complete case-related documents from multiple devices, improving case processing efficiency.
Smart Images

Figure CN118939609B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of data forensics, and in particular to a data forensics method, apparatus, device, and medium for a device. Background Technology
[0002] Electronic forensics is a process of collecting, protecting, analyzing, and presenting electronic data from computers using scientific methods in a manner that complies with laws and regulations. It is widely used in legal fields.
[0003] In computers, data is typically stored as files. In electronic forensics, it is often necessary to extract files from multiple devices involved in the same case. Current techniques usually involve technicians extracting files from each device according to their preconceived data extraction order. This often results in slow extraction efficiency and the extracted files may not meet the evidence requirements of the case, severely impacting case processing efficiency. Summary of the Invention
[0004] This invention provides a data forensics method, apparatus, device, and medium for devices, which improves the efficiency of case processing by obtaining complete and relevant documents associated with the target case.
[0005] In a first aspect, the present invention provides a data forensics method for a device, comprising:
[0006] Obtain the status of the parties associated with the target case, as well as the device attribute information of at least one target device associated with the target case and the file size and file type of the files to be collected in each target device; wherein, the number of files to be collected in each target device is at least one.
[0007] Based on the device attribute information of each target device and the number of bytes of the files to be examined in each target device, the device evidence examination order is assigned to each target device.
[0008] For each target device, the order of file collection is assigned to each file in the target device based on the number of bytes and file type of each piece of data to be collected, as well as the status of the person associated with the case.
[0009] For each document to be certified, the target certification order of the document is determined based on the device certification order of the target device to which the document belongs and the document certification order of the document.
[0010] According to the target evidence collection order of each document to be collected, the documents to be collected are extracted from each target device in sequence, so that technicians can process the target case based on the extracted documents to be collected.
[0011] Secondly, the present invention also provides a data forensics apparatus for a device, comprising:
[0012] The information acquisition module is used to acquire the status of the case-related persons in the target case, as well as the device attribute information of at least one target device associated with the target case and the file size and file type of the files to be collected in each target device; wherein, the number of files to be collected in each target device is at least one.
[0013] The device order determination module is used to assign the file evidence collection order to each file in the target device based on the file size and file type of each piece of data to be collected in the target device, as well as the status of the person associated with the case.
[0014] The file order determination module is used to determine the target evidence collection order of each file to be evidenced based on the device evidence collection order of the target device to which the file belongs and the file evidence collection order of the file to be evidenced.
[0015] The target order determination module is used to determine the target evidence collection order of each file to be evidenced based on the device evidence collection order of the target device to which the file belongs, as well as the file size and file type of the file to be evidenced.
[0016] The extraction module is used to extract the documents to be collected from each target device in sequence according to the target evidence collection order, so that technicians can process the target case based on the extracted documents to be collected.
[0017] Thirdly, embodiments of the present invention also provide an electronic device, comprising:
[0018] At least one processor; and
[0019] A memory that is communicatively connected to at least one processor; wherein
[0020] The memory stores instructions that can be executed by at least one processor, which enables the at least one processor to perform the data forensics method of the device provided in any embodiment of the present invention.
[0021] Fourthly, embodiments of the present invention also provide a computer-readable storage medium storing computer instructions that, when executed by a processor, implement a data forensics method of a device according to any embodiment of the present invention.
[0022] The technical solution of this invention can determine a higher priority for device evidence collection for devices with high performance, fast data transmission efficiency, and small total file size; and determine a higher priority for file evidence collection for files with small file size and file type related to the case. Based on the device evidence collection order and the file evidence collection order, a target evidence collection order is determined, and files that are related to other extracted files, related to the case, and complete are preferentially extracted from multiple devices. This allows technicians to process the case in a timely manner based on the extracted files, improving the efficiency of case processing.
[0023] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of the present invention, nor is it intended to limit the scope of the invention. Other features of the invention will become readily apparent from the following description. Attached Figure Description
[0024] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0025] Figure 1 This is a flowchart of a data forensics method for a device provided according to Embodiment 1 of the present invention;
[0026] Figure 2 This is a flowchart of a data forensics method for a device provided according to Embodiment 2 of the present invention;
[0027] Figure 3 This is a flowchart of a data forensics method for a device according to Embodiment 3 of the present invention;
[0028] Figure 4 This is a schematic diagram of the structure of a data forensics device for a device according to Embodiment 4 of the present invention;
[0029] Figure 5 This is a schematic diagram of the structure of an electronic device that implements the data forensics method of the device according to an embodiment of the present invention. Detailed Implementation
[0030] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.
[0031] It should be noted that the terms "first" and "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0032] In the technical solutions of this invention, the acquisition, storage, and application of information such as the status of case-related persons and device attributes all comply with the provisions of relevant laws and regulations and do not violate public order and good morals.
[0033] Example 1
[0034] Figure 1 This is a flowchart of a data forensics method for a device provided in Embodiment 1 of the present invention. This embodiment can be applied to the situation of forensics of files in multiple devices. The method can be executed by a data forensics device for a device. The data forensics device for a device can be implemented in hardware and / or software and specifically configured in an electronic device, such as a server.
[0035] See Figure 1 The data forensics methods for the device shown include:
[0036] S101. Obtain the status of the case associates of the target case, as well as the device attribute information of at least one target device associated with the target case and the file size and file type of the files to be collected in each target device; wherein, the number of files to be collected in each target device is at least one.
[0037] In this embodiment, the target case can be a case pending processing, such as an arbitration case, a mediation case, or a legal case. The status of the case-related party can be a person directly or indirectly related to the target case. The target device can be the device to be used for evidence collection; device attribute information can include, but is not limited to, hardware attribute information and software attribute information of the target device; hardware attribute information can include, but is not limited to, the model and parameters of each component in the target device; software attribute information can include, but is not limited to, the version information of the operating system of the target device, the information of installed applications, and the information of supported encryption algorithms. The target device can include at least one file to be used for evidence collection. File bytes refer to the number of bytes of storage space occupied by the file to be used for evidence collection in the target device. File types can include, but are not limited to, communication record types, geographic location types, and media types; media types can include, for example, image types, video types, and audio types.
[0038] S102. Based on the device attribute information of each target device and the number of bytes of the files to be certified in each target device, assign a device certification order to each target device.
[0039] In this embodiment, the device evidence collection order can be used to characterize the importance of the target device to the target case. For two target devices A and B with different device evidence collection orders, if the device evidence collection order of target device A is earlier than that of target device B, it indicates that target device A is more important than target device B for the target case. Specifically, a certain algorithm is used to assign a device evidence collection order to each target device based on the device attribute information of each target device and the number of bytes of the files to be collected in each target device.
[0040] S103. For each target device, based on the number of bytes and file type of each piece of data to be collected in the target device, as well as the status of the person associated with the case, assign the order of file collection to each file to be collected in the target device.
[0041] In this embodiment, the order of document collection can be used to characterize the importance of the documents to be collected to the target case. For two documents A and B with different collection orders, if document A is collected before document B, it means that document A is more important than document B to the target case.
[0042] Specifically, for each target device, a certain algorithm is used to assign the order of document collection to each document in the target device based on the number of bytes and file type of each document to be collected, as well as the status of the person associated with the case.
[0043] S104. For each document to be certified, determine the target certification order of the document based on the device certification order of the target device to which the document belongs and the document certification order of the document.
[0044] In this embodiment, the target forensic collection order can be the final extraction order of the files to be forensic collected. For two files to be forensic collected, A and B, with different target forensic collection orders, if the target forensic collection order of file A is earlier than that of file B, it means that file A was extracted before file B.
[0045] Specifically, for each document to be verified, the device verification order of the target device to which the document belongs and the document verification order of the document can be added together, and the result of the addition is determined as the target verification order of the document; or the device weight corresponding to the device verification order and the document weight corresponding to the document verification order are obtained, and the device verification order and the document verification order are weighted and summed according to the device weight and the document weight, and the result of the weighted sum is determined as the target verification order.
[0046] In an optional embodiment, if there are at least two files to be examined in the same order, for each file to be examined in the same order, search for source files of the same file in the extracted files, and count the number of source files of the same file; wherein, the files to be examined in the same order can be at least two files to be examined with the same target examination order; the source files can be files whose target device is the same as the target device of the files to be examined in the same order, and have already been extracted; compare the number of source files of each file to be examined in the same order, and update the target examination order of the files to be examined in the same order based on the comparison results, so that the files to be examined in the same order with more source files are extracted first.
[0047] S105. According to the target evidence collection order of each document to be collected, extract the documents to be collected from each target device in sequence so that the technicians can process the target case based on the extracted documents to be collected.
[0048] Specifically, the documents to be verified can be extracted from each target device in the order of their target verification sequence.
[0049] Optionally, while extracting the files to be verified from each target device according to the target verification order, the method also includes: obtaining network status information at a target time for each file to be verified; wherein the target time is the time when the file to be verified is extracted; determining the compression ratio of the file to be verified based on the network status information and the device attribute information of the target device corresponding to the file to be verified; sending the compression ratio to the target device so that the target device can compress the file to be verified according to the compression ratio to obtain a compressed data stream; correspondingly, extracting the files to be verified from each target device according to the target verification order includes: extracting the compressed data stream of each file to be verified sequentially according to the target verification order.
[0050] The network status information can characterize the network status between the electronic device equipped with the data forensics method of this embodiment and each target device; the network status information may include, but is not limited to, bandwidth, latency, and packet loss rate. The compression ratio can be the ratio between the number of bytes in the compressed file and the number of bytes in the file before compression; the compressed data stream can be the streaming data obtained by compressing the file to be forensic.
[0051] Specifically, for each document to be forensicly examined, at the target time of extracting the document, real-time network status information is obtained; based on the device attribute information of the target device corresponding to the document, the data processing performance value of the target device is determined; whereby a higher data processing performance value indicates stronger data processing performance of the target device; if the bandwidth is less than a set bandwidth threshold, or the latency is greater than a set latency threshold, or the packet loss rate is greater than a set packet loss rate threshold, the network status is determined to be abnormal; otherwise, the network status is determined to be normal; if the data transmission performance value is greater than or equal to a preset performance threshold, and the network status is normal, then the document to be forensicly examined is determined to be normal. The compression ratio is set as a first compression ratio; if the data transmission performance value is less than a preset performance threshold, or the network status is abnormal, the compression ratio of the file to be examined is set as a second compression ratio; if the data transmission performance value is less than a preset performance threshold and the network status is abnormal, the compression ratio of the file to be examined is set as a third compression ratio; wherein, the first compression ratio is greater than the second compression ratio, and the second compression ratio is greater than the third compression ratio; the compression ratio is sent to the target device to which the file to be examined belongs, so that the target device to which the file to be examined belongs can compress the file to be examined according to the compression ratio to obtain a compressed data stream; the compressed data stream of the file to be examined is extracted from the target device to which the file to be examined belongs.
[0052] It should be noted that the bandwidth threshold, latency threshold, packet loss rate threshold, and preset performance threshold can be set independently by technical personnel based on actual needs and practical experience, and this invention does not limit this.
[0053] Understandably, by adopting the above technical solution, the compression ratio of the file to be examined can be determined based on real-time network status information and device attribute information. When the network is smooth and the device performance is good, a higher compression ratio can be used to save network bandwidth; when the network is congested or the device performance is poor, a lower compression ratio can be selected to reduce data processing time. By compressing the file to be examined into a data stream, the compressed data stream can be extracted while the file to be examined is being compressed, realizing parallel processing of file compression and file extraction, and improving the efficiency of data forensics.
[0054] In one optional embodiment, during the extraction of the file to be forensic, real-time network status information can be acquired every preset time interval. Based on the acquired network status information and the device performance information of the target device, the compression ratio is updated, and the updated compression ratio is sent to the target device so that the target device can compress the uncompressed part of the file to be forensic according to the updated compression ratio. This allows for flexible adjustment of the compression ratio of the file to be forensic in real time, further improving the efficiency of data forensics.
[0055] Optionally, while extracting the compressed data stream of each file to be examined in sequence according to the target evidence collection order, the method also includes: decompressing the compressed data stream of each extracted file in parallel to obtain the file to be examined.
[0056] It is understandable that by adopting the above technical solution, after the compressed data stream of each file to be forensic is extracted, the extracted compressed data stream can be decompressed in a timely and parallel manner, and the compressed data stream of subsequent files to be forensic is extracted, thereby realizing parallel processing of data extraction and data decompression and improving the efficiency of data forensics.
[0057] The technical solution of this invention can determine a higher priority for device evidence collection for devices with high performance, fast data transmission efficiency, and small total file size; and determine a higher priority for file evidence collection for files with small file size and file type related to the case. Based on the device evidence collection order and the file evidence collection order, a target evidence collection order is determined, and files that are related to other extracted files, related to the case, and complete are preferentially extracted from multiple devices. This allows technicians to process the case in a timely manner based on the extracted files, improving the efficiency of case processing.
[0058] Example 2
[0059] Figure 2 This is a flowchart of a data forensics method for a device provided in Embodiment 2 of the present invention. Based on the technical solution of the above embodiments, the present invention optimizes and improves the allocation operation of the device forensics order.
[0060] Furthermore, the process of "assigning a device forensics order to each target device based on its device attribute information and the number of bytes in the files to be forensiced in each target device" is refined to "for each target device, determine its data transmission performance information based on its device attribute information; calculate the total number of bytes in each file to be forensiced in the target device based on the number of bytes in each file to be forensiced in the target device; compare the data transmission performance values of each target device and assign a first reference order to each target device based on the comparison results; compare the total number of bytes in each target device and assign a second reference order to each target device based on the comparison results; for each target device, determine the device forensics order based on the first and second reference orders," thus improving the device forensics order allocation process.
[0061] It should be noted that for any parts not described in detail in the embodiments of the present invention, please refer to the description in the foregoing embodiments.
[0062] See Figure 2 The data forensics methods for the device shown include:
[0063] S201. Obtain the status of the case associates of the target case, as well as the device attribute information of at least one target device associated with the target case and the file size and file type of the files to be collected in each target device; wherein, the number of files to be collected in each target device is at least one.
[0064] S202. For each target device, determine the data transmission performance information of the target device based on the device attribute information of the target device.
[0065] In this embodiment, data transmission performance information can be used to characterize the data transmission performance of the target device. Specifically, for each target device, a certain algorithm is used to determine the data transmission performance information of the target device based on its device attribute information.
[0066] Optionally, the device attribute information includes CPU (Central Processing Unit) model identifier, memory model identifier, and data protocol identifier. Based on the device attribute information of the target device, the data transmission performance information of the target device is determined, including: querying the first data processing performance value corresponding to the CPU of the target device based on the CPU model identifier; querying the second data processing performance value corresponding to the memory of the target device based on the memory model identifier; querying the third data processing performance value of the data transmission protocol supported by the target device based on the data protocol identifier; and determining the data transmission performance information of the target device based on the first data processing performance value, the second data processing performance value, and the third data processing performance value.
[0067] Among them, the CPU model identifier can be used to uniquely identify the CPU model; the memory model identifier can be used to uniquely identify the memory model; and the data protocol identifier can be used to uniquely identify the data transmission protocol. The first data processing performance value can be used to characterize the CPU's data processing performance; a higher first data processing performance value indicates stronger CPU performance and higher data processing efficiency. The second data processing performance value can be used to characterize the memory's data transmission performance; a higher second data processing performance value indicates stronger memory performance and higher data transmission efficiency. The third data processing performance value can be used to characterize the efficiency of the data transmission protocol for data transmission; a higher third data processing performance value indicates higher efficiency of the data transmission protocol for data transmission.
[0068] Specifically, in the preset data processing performance value configuration information, the first data processing performance value corresponding to the CPU of the target device is queried; according to the memory model identifier, the second data processing performance value corresponding to the memory of the target device is queried; according to the data protocol identifier, the third data processing performance value of the data transmission protocol supported by the target device is queried; and based on the first data processing performance value, the second data processing performance value, and the third data processing performance value, the data transmission performance information of the target device is determined.
[0069] In one optional embodiment, the first data processing performance value, the second data processing performance value, and the third data processing performance value can be added together to obtain a total data processing performance value; the total data processing performance value is determined as data transmission performance information; in another optional embodiment, a combination including the first data processing performance value, the second data processing performance value, and the third data processing performance value, such as an array and a vector, can be determined as the data transmission performance information of the target device.
[0070] It is understandable that by adopting the above technical solution, the data processing performance values of the target device's CPU, memory, and data transmission protocol can be queried through the device attribute information of the target device, and then the data transmission performance information of the target device can be determined by the data processing performance values obtained from the query. This can improve the accuracy of the data transmission performance information, so that the data transmission performance information can accurately represent the data transmission performance of the target device.
[0071] S203. Based on the number of bytes of each file to be verified in the target device, calculate the total number of bytes among the files to be verified in the target device.
[0072] S204. Compare the data transmission performance information of each target device, and assign a first reference order to each target device based on the comparison results.
[0073] In one optional embodiment, the data transmission performance information is the total data processing performance value; the target devices can be sorted according to the comparison results of the total data processing performance values of each target device in descending order of total data processing performance value; and a first reference order is assigned to the sorted target devices in a first-to-last order, so that the first reference order of the target device with the higher total data processing performance value takes precedence over the first reference order of the target device with the lower total data processing performance value.
[0074] In one optional embodiment, the data transmission performance information includes a combination of a first data processing performance value, a second data processing performance value, and a third data processing performance value. The first, second, and third data processing performance values can be compared among the various data transmission performance information. Based on the comparison results of the first data processing performance values, the target devices are sorted according to the magnitude of the first data processing performance values. A first performance order is assigned to the sorted target devices in ascending order. Similarly, based on the comparison results of the second data processing performance values, the target devices are sorted according to the magnitude of the second data processing performance values. A first performance order is assigned to the sorted target devices in ascending order. The second performance order is determined by comparing the third data processing performance values and sorting the target devices according to their relative sizes. A third performance order is then assigned to the sorted target devices in chronological order. The first, second, and third performance orders are summed to obtain the first reference order. Alternatively, the first weight corresponding to the first data processing performance value, the second weight corresponding to the second data processing performance value, and the third weight corresponding to the third data processing performance value are obtained. For each target device, the first, second, and third performance orders are weighted and summed according to the first, second, and third weights, and the weighted sum is determined as the first reference order.
[0075] S205. Compare the total number of file bytes for each target device, and assign a second reference order to each target device based on the comparison results.
[0076] Specifically, the total file size of each target device is compared; based on the comparison results, the target devices are sorted in ascending order of total file size; and a second reference order is assigned to the sorted target devices in chronological order, so that the second reference order of the target device with the smaller total file size takes precedence over the second reference order of the target device with the larger total file size.
[0077] S206. For each target device, determine the device certification order based on the first reference order and the second reference order of the target device.
[0078] Specifically, for each target device, the sum of the first and second reference orders of the target device can be determined, and the sum can be used as the target forensic order of the document to be forensiced; or the performance weight corresponding to the data processing performance and the byte weight corresponding to the file byte count can be obtained, and the first and second reference orders can be weighted and summed according to the performance weight and the file byte count weight, and the weighted sum can be used as the device forensic order.
[0079] S207. For each target device, based on the number of bytes and file type of each piece of data to be collected in the target device, as well as the status of the person associated with the case, assign the order of file collection to each file to be collected in the target device.
[0080] S208. For each document to be certified, determine the target certification order of the document based on the device certification order of the target device to which the document belongs and the document certification order of the document.
[0081] S209. According to the target evidence collection order of each document to be collected, extract the documents to be collected from each target device in sequence so that the technicians can process the target case based on the extracted documents to be collected.
[0082] This invention can determine a first reference order for each target device based on data transmission performance information, and a second reference order based on the total number of file bytes. Furthermore, it determines the device evidence collection order based on the first and second reference orders. This allows target devices with high data transmission performance, fast data transmission efficiency, and small total file bytes to be prioritized for evidence collection over target devices with poor data transmission performance, slow data transmission efficiency, and large total file bytes. This prioritizes the extraction of evidence-bearing files from target devices with fast data transmission efficiency and small total file bytes, thereby improving the extraction rate of complete evidence-bearing files. This facilitates timely processing of target cases by technical personnel based on the extracted files, improving case processing efficiency.
[0083] Example 3
[0084] Figure 3 This is a flowchart of a data forensics method for a device provided in Embodiment 3 of the present invention. Based on the technical solutions of the above embodiments, the present invention optimizes and improves the allocation operation of the file forensics order.
[0085] Furthermore, the step of "assigning a file collection order to each file in the target device based on the file size and file type of each piece of data to be collected, as well as the status of the parties involved in the case" is refined to "classifying each file in the target device based on its file type to obtain at least one set of files to be collected; wherein, each set of files to be collected corresponds to a different file type; determining a first auxiliary order for each set of files to be collected based on its file type and the status of the parties involved in the case; comparing the file size of each file in each set of files to be collected, and determining a second auxiliary order based on the comparison result; and determining the file collection order for each file based on the first and second auxiliary orders," to improve the file collection order allocation operation.
[0086] It should be noted that for any parts not described in detail in the embodiments of the present invention, please refer to the description in the foregoing embodiments.
[0087] See Figure 3 The data forensics methods for the device shown include:
[0088] S301. Obtain the status of the case associates of the target case, as well as the device attribute information of at least one target device associated with the target case and the file size and file type of the files to be collected in each target device; wherein, the number of files to be collected in each target device is at least one.
[0089] S302. Based on the device attribute information of each target device and the number of bytes of the files to be certified in each target device, assign a device certification order to each target device.
[0090] S303. For each target device, classify the files to be verified in the target device according to the file type to obtain at least one set of files to be verified; wherein the file types corresponding to each set of files to be verified are different.
[0091] In this embodiment, the file type may include, but is not limited to, at least one of communication record type, geographic location type, and media type. Specifically, the communication record type may indicate that the file to be examined is a communication record file; the geographic location type may indicate that the file to be examined is a geographic location file; and the media type may include, but is not limited to, image type, audio type, and video type.
[0092] S304. Determine the first auxiliary order of each set of documents to be collected based on the document type and the status of the case-related parties corresponding to each set of documents to be collected.
[0093] Specifically, a certain algorithm is used to determine the first auxiliary order of each set of documents to be collected based on the file type and the status of the person associated with the case.
[0094] Optionally, the case-related person status includes unconfirmed status, confirmed but not yet apprehended status, and confirmed and apprehended status; the document type includes communication record type, geographic location type, and media type; based on the document type corresponding to each set of documents to be collected and the case-related person status, a first auxiliary order for each set of documents to be collected is determined, including: if the case-related person status is unconfirmed, then the first order is determined as the first auxiliary order for the set of documents to be collected corresponding to the communication record type, the second order is determined as the first auxiliary order for the set of documents to be collected corresponding to the geographic location type, and the third order is determined as the first auxiliary order for the set of documents to be collected corresponding to the media type; wherein, the first order precedes the second order; The second order precedes the third order; if the status of the case's related party is "confirmed but not yet in custody," then the first order is determined as the first auxiliary order of the set of documents to be collected corresponding to the geographical location type, the second order is determined as the first auxiliary order of the set of documents to be collected corresponding to the communication record type, and the third order is determined as the first auxiliary order of the set of documents to be collected corresponding to the media type; if the status of the case's related party is "confirmed and already in custody," then the first order is determined as the first auxiliary order of the set of documents to be collected corresponding to the media type, the second order is determined as the first auxiliary order of the set of documents to be collected corresponding to the communication record type, and the third order is determined as the first auxiliary order of the set of documents to be collected corresponding to the geographical location type.
[0095] Among them, the unconfirmed status can mean that the identity information of the person involved in the case has not yet been confirmed; the confirmed but not yet arrived status can mean that the identity information of the person involved in the case has been confirmed, but the person involved in the case has not yet reported to the agency handling the target case; the confirmed and arrived status can mean that the identity information of the person involved in the case has been confirmed, and the person involved in the case has reported to the agency handling the target case.
[0096] Understandably, by adopting the above technical solutions, when the status of a case-related party is unconfirmed, priority can be given to extracting evidence files corresponding to communication record types, enabling technicians to quickly determine the identity information of the case-related party based on the communication record files. After determining the case-related party, the location of the case-related party can be promptly located based on the location-based evidence files, thus improving the processing efficiency of the target case. When the status of a case-related party is confirmed but not yet at large, priority can be given to extracting evidence files of both location and communication record types, thus promptly locating the case-related party and improving the processing efficiency of the target case. When the status of a case-related party is confirmed and at large, priority can be given to extracting evidence files of media types, thus quickly determining the case information and evidence required for the target case and improving the processing efficiency of the target case.
[0097] S305. For each set of files to be verified, compare the number of bytes of each file in the set of files to be verified, and determine the second auxiliary order of each file in the set of files to be verified based on the comparison results.
[0098] Specifically, for each set of files to be examined, the file size of each file in the set is compared; based on the comparison results, the files are sorted in ascending order of file size; and a second auxiliary order is assigned to the sorted files in chronological order, so that the second auxiliary order of the files with smaller file size precedes the second auxiliary order of the target device with larger file size.
[0099] S306. For each document to be examined, determine the document examination order based on the first auxiliary order of the document to be examined set and the second auxiliary order of the documents to be examined.
[0100] Specifically, for each file to be examined, the sum of the first and second auxiliary orders of the file set to which the file belongs can be determined, and the sum can be used as the file examination order; or the type weight corresponding to the file type and the byte weight corresponding to the file byte count can be obtained, and the first and second auxiliary orders of the file set to which the file belongs can be weighted and summed according to the type weight and the file byte count weight, and the weighted sum can be used as the file examination order.
[0101] S307. For each document to be certified, determine the target certification order of the document based on the device certification order of the target device to which the document belongs and the document certification order of the document.
[0102] S308. According to the target evidence collection order of each document to be collected, the documents to be collected in each target device are extracted in sequence so that the technicians can process the target case based on the extracted documents to be collected.
[0103] In an alternative embodiment, DMA (direct memory access) technology can also be used to reduce the CPU's burden during data transfer and improve data transfer efficiency.
[0104] In an optional embodiment, during the decompression of the files to be collected for evidence, a dedicated hardware acceleration module, such as a module integrating a GPU (graphics processing unit) and an acceleration chip, can be used to provide hardware acceleration support and improve the data decompression efficiency.
[0105] This invention classifies the files to be collected in the target device to obtain at least one set of files to be collected; determines a first auxiliary order for each set of files to be collected based on the file type and the status of the case-related parties; and determines a second auxiliary order for each file in the set of files to be collected based on the number of bytes in the file. Through the first and second auxiliary orders, the order of file collection is determined. This allows for the priority extraction of files from each target device that are associated with the status of the case-related parties in the target case and have a smaller file size. This enables technicians to process the target case promptly based on the extracted complete files that are associated with the case-related status, thereby improving case processing efficiency.
[0106] Example 4
[0107] Figure 4 This is a schematic diagram of a data forensics device for a device according to Embodiment 4 of the present invention. This embodiment is applicable to situations where forensics is performed on files in multiple devices. The device can execute a data forensics method for the device and can be implemented in hardware and / or software. The device can be configured in an electronic device.
[0108] See Figure 4 The data forensics device shown includes an information acquisition module 401, a device order determination module 402, a file order determination module 403, a target order determination module 404, and an extraction module 405, wherein...
[0109] The information acquisition module 401 is used to acquire the status of the case associates of the target case, as well as the device attribute information of at least one target device associated with the target case and the file byte count and file type of the files to be collected in each target device; wherein, the number of files to be collected in each target device is at least one.
[0110] The device order determination module 402 is used to assign a file evidence collection order to each file in the target device based on the file size and file type of each piece of data to be collected in the target device, as well as the status of the person associated with the case.
[0111] The file order determination module 403 is used to determine the target evidence collection order of each file to be evidenced based on the device evidence collection order of the target device to which the file to be evidenced belongs and the file evidence collection order of the file to be evidenced.
[0112] The target order determination module 404 is used to determine the target evidence collection order of each file to be evidenced based on the device evidence collection order of the target device to which the file to be evidenced belongs, as well as the file size and file type of the file to be evidenced.
[0113] The extraction module 405 is used to extract the documents to be collected from each target device sequentially according to the target collection order of each document, so that technicians can process the target case based on the extracted documents. The module also performs forgery detection on the tag to be identified in the designated area to obtain the identification result of the tag.
[0114] This invention can determine a higher priority for device evidence collection for devices with high performance, fast data transmission efficiency, and small total file size; and a higher priority for file evidence collection for files with small file size and file types related to the case. Based on the device evidence collection order and the file evidence collection order, a target evidence collection order is determined, thereby prioritizing the extraction of complete files from multiple devices that are related to other extracted files and the case. This allows technicians to process the case promptly based on the extracted files, improving case processing efficiency.
[0115] Optionally, the device sequence determination module 402 includes:
[0116] The performance information determination unit is used to determine the data transmission performance information of each target device based on the device attribute information of the target device.
[0117] The total byte count determination unit is used to calculate the total byte count among the files to be examined on the target device based on the file byte count of each file to be examined on the target device.
[0118] The first reference order determination unit is used to compare the data transmission performance information of each target device and assign a first reference order to each target device based on the comparison results.
[0119] The second reference order determination unit is used to compare the total number of file bytes of each target device and assign a second reference order to each target device based on the comparison results.
[0120] The device order determination unit is used to determine the device certification order of each target device according to the first reference order and the second reference order of the target devices.
[0121] Optionally, device attribute information includes CPU model identifier, memory model identifier, and data protocol identifier;
[0122] The performance information determination unit includes:
[0123] The first performance value determination subunit is used to query the first data processing performance value corresponding to the CPU of the target device based on the CPU model identifier;
[0124] The second performance value determination subunit is used to query the second data processing performance value corresponding to the memory of the target device based on the memory model identifier;
[0125] The third performance value determination subunit is used to query the third data processing performance value of the data transmission protocol supported by the target device based on the data protocol identifier.
[0126] The performance information determination subunit is used to determine the data transmission performance information of the target device based on the first data processing performance value, the second data processing performance value, and the third data processing performance value.
[0127] Optionally, the file order determination module 403 includes:
[0128] The classification unit is used to classify the files to be examined in the target device according to their file types, thereby obtaining at least one set of files to be examined; wherein, the file types corresponding to each set of files to be examined are different.
[0129] The first auxiliary order determination unit is used to determine the first auxiliary order of each set of documents to be collected based on the document type and the status of the case-related persons corresponding to each set of documents to be collected.
[0130] The second auxiliary order determination unit is used to compare the number of bytes of each file in the set of files to be examined for each set of files to be examined, and determine the second auxiliary order of each file in the set of files to be examined based on the comparison result.
[0131] The document order determination unit is used to determine the document evidence collection order for each document to be evidenced, based on the first auxiliary order of the document to be evidenced set and the second auxiliary order of the documents to be evidenced.
[0132] Optionally, the status of the case-related parties includes unconfirmed, confirmed but not yet apprehended, and confirmed apprehended; the document types include communication records, geolocation, and media.
[0133] The first auxiliary order determination unit includes:
[0134] The first order determination subunit is used to determine the first order as the first auxiliary order of the set of documents to be collected corresponding to the communication record type if the status of the case-related person is unconfirmed, the second order as the first auxiliary order of the set of documents to be collected corresponding to the geographical location type, and the third order as the first auxiliary order of the set of documents to be collected corresponding to the media type; wherein, the first order precedes the second order; the second order precedes the third order.
[0135] The second sequence determination subunit is used to determine the first auxiliary sequence of the set of documents to be collected corresponding to the geographical location type if the status of the person involved in the case is "confirmed but not yet at large". The third sequence is used to determine the first auxiliary sequence of the set of documents to be collected corresponding to the media type.
[0136] The third order determination subunit is used to determine the first order as the first auxiliary order of the set of documents to be collected corresponding to the media type if the status of the person involved in the case is confirmed to have arrived at the case, the second order as the first auxiliary order of the set of documents to be collected corresponding to the communication record type, and the third order as the first auxiliary order of the set of documents to be collected corresponding to the geographical location type if the status of the person involved in the case is confirmed to have arrived at the case.
[0137] Optionally, the device may also include:
[0138] The network information acquisition module is used to acquire network status information at a target time for each file to be examined; where the target time is the time when the file to be examined is extracted.
[0139] The compression ratio determination module is used to determine the compression ratio of the file to be certified based on network status information and device attribute information of the target device corresponding to the file to be certified.
[0140] The compression ratio sending module is used to send the compression ratio to the target device, so that the target device can compress the file to be examined according to the compression ratio to obtain a compressed data stream;
[0141] Accordingly, the extraction module 405 includes:
[0142] The extraction unit is used to extract the compressed data stream of each document to be examined in sequence according to the target evidence collection order.
[0143] Optionally, the device may also include:
[0144] The decompression module is used to decompress the compressed data stream of each extracted file in parallel to obtain the file to be examined.
[0145] The data forensics device provided in the embodiments of the present invention can execute the data forensics method of the device provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects for executing the data forensics method of the device.
[0146] Example 5
[0147] Figure 5 A schematic diagram of an electronic device 500 that can be used to implement embodiments of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the invention described and / or claimed herein.
[0148] like Figure 5 As shown, the electronic device 500 includes at least one processor 501 and a memory, such as a read-only memory (ROM) 502 or a random access memory (RAM) 503, communicatively connected to the at least one processor 501. The memory stores computer programs executable by the at least one processor. The processor 501 can perform various appropriate actions and processes based on the computer program stored in the ROM 502 or loaded into the RAM 503 from storage unit 508. The RAM 503 can also store various programs and data required for the operation of the electronic device 500. The processor 501, ROM 502, and RAM 503 are interconnected via a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.
[0149] Multiple components in electronic device 500 are connected to I / O interface 505, including: input unit 506, such as keyboard, mouse, etc.; output unit 507, such as various types of monitors, speakers, etc.; storage unit 508, such as disk, optical disk, etc.; and communication unit 509, such as network card, modem, wireless transceiver, etc. Communication unit 509 allows electronic device 500 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.
[0150] Processor 501 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 501 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. Processor 501 performs the various methods and processes described above, such as data forensics methods of the device.
[0151] In some embodiments, the device's data forensics method may be implemented as a computer program tangibly contained in a computer-readable storage medium, such as storage unit 508. In some embodiments, part or all of the computer program may be loaded into and / or installed on the electronic device 500 via ROM 502 and / or communication unit 509. When the computer program is loaded into RAM 503 and executed by processor 501, one or more steps of the device's data forensics method described above may be performed. Alternatively, in other embodiments, processor 501 may be configured to perform the device's data forensics method by any other suitable means (e.g., by means of firmware).
[0152] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.
[0153] Computer programs used to implement the methods of the present invention can be written in any combination of one or more programming languages. These computer programs can be provided to the processor of a data forensics apparatus of a general-purpose computer, special-purpose computer, or other programmable device, such that when executed by the processor, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be implemented. The computer programs can be executed entirely on a machine, partially on a machine, as a standalone software package partially on a machine and partially on a remote machine, or entirely on a remote machine or server.
[0154] In the context of this invention, a computer-readable storage medium can be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination thereof. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.
[0155] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).
[0156] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or computing systems that include middleware components (e.g., application servers), or computing systems that include frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.
[0157] A computing system can include clients and servers. Clients and servers are generally geographically separated and typically interact via communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a hosting product within the cloud computing service system. It addresses the shortcomings of traditional physical hosts and VPS (Virtual Private Server) services, such as high management difficulty and weak business scalability.
[0158] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in this invention can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this invention can be achieved, and this is not limited herein.
[0159] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.
Claims
1. A method for data forensics of a device, characterized in that, The method includes: Obtain the status of the case associates of the target case, as well as the device attribute information of at least one target device associated with the target case and the file size and file type of the files to be collected in each target device; wherein, the number of files to be collected in each target device is at least one. Based on the device attribute information of each target device and the number of bytes of the file to be examined in each target device, a device evidence examination order is assigned to each target device. For each target device, the file evidence collection order is assigned to each file to be collected in the target device according to the file size and file type of each piece of data to be collected in the target device, as well as the status of the person associated with the case. For each of the documents to be certified, the target certification order of the document to be certified is determined according to the device certification order of the target device to which the document to be certified belongs and the document certification order of the document to be certified. According to the target evidence collection order of each of the aforementioned documents to be collected, the documents to be collected are extracted from each of the target devices in sequence, so that technicians can process the target case based on the extracted documents to be collected.
2. The method according to claim 1, characterized in that, The step of assigning a device forensics order to each target device based on the device attribute information of each target device and the number of bytes of the file to be forensiced in each target device includes: For each target device, the data transmission performance information of the target device is determined based on the device attribute information of the target device; Based on the number of bytes in each file to be examined in the target device, calculate the total number of bytes between each file to be examined in the target device; Compare the data transmission performance information of each target device, and assign a first reference order to each target device based on the comparison results; Compare the total number of file bytes of each target device, and assign a second reference order to each target device based on the comparison results; For each target device, the device certification order is determined according to the first reference order and the second reference order of the target devices.
3. The method according to claim 2, characterized in that, The device attribute information includes CPU model identifier, memory model identifier, and data protocol identifier; The step of determining the data transmission performance information of the target device based on the device attribute information of the target device includes: Based on the CPU model identifier, query the first data processing performance value corresponding to the CPU of the target device; Based on the memory model identifier, query the second data processing performance value corresponding to the memory of the target device; Based on the data protocol identifier, query the third data processing performance value of the data transmission protocol supported by the target device; The data transmission performance information of the target device is determined based on the first data processing performance value, the second data processing performance value, and the third data processing performance value.
4. The method according to claim 1, characterized in that, The step of assigning a file collection order to each file in the target device based on the file size and file type of each piece of data to be collected, and the status of the person associated with the case, includes: Based on the file type, each file to be examined in the target device is classified to obtain at least one set of files to be examined; wherein, each set of files to be examined corresponds to a different file type; Based on the file type corresponding to each set of documents to be collected and the status of the case-related persons, determine the first auxiliary order of each set of documents to be collected. For each set of files to be examined, the number of bytes in each file in the set is compared, and a second auxiliary order is determined based on the comparison result. For each document to be examined, the document examination order is determined according to the first auxiliary order of the document to be examined set and the second auxiliary order of the document to be examined.
5. The method according to claim 4, characterized in that, The status of the case-related persons includes unconfirmed, confirmed but not yet apprehended, and confirmed apprehended; the document types include communication record type, geolocation type, and media type; The step of determining the first auxiliary order of each set of documents to be collected based on the file type corresponding to each set of documents to be collected and the status of the case-related persons includes: If the status of the case-related person is unconfirmed, then the first order is determined as the first auxiliary order of the set of documents to be collected corresponding to the communication record type, the second order is determined as the first auxiliary order of the set of documents to be collected corresponding to the geographical location type, and the third order is determined as the first auxiliary order of the set of documents to be collected corresponding to the media type; wherein, the first order precedes the second order; the second order precedes the third order. If the status of the person associated with the case is confirmed but not present, then the first order will be determined as the first auxiliary order of the set of documents to be collected corresponding to the geographical location type, the second order will be determined as the first auxiliary order of the set of documents to be collected corresponding to the communication record type, and the third order will be determined as the first auxiliary order of the set of documents to be collected corresponding to the media type. If the status of the person associated with the case is confirmed to have arrived at the scene, then the first order will be determined as the first auxiliary order of the set of documents to be collected corresponding to the media type, the second order will be determined as the first auxiliary order of the set of documents to be collected corresponding to the communication record type, and the third order will be determined as the first auxiliary order of the set of documents to be collected corresponding to the geographical location type.
6. The method according to claim 1, characterized in that, While extracting the files to be examined from each target device sequentially according to the target evidence-gathering order of each file, the process also includes: For each of the files to be examined, network status information at a target time is obtained; wherein, the target time is the time when the file to be examined is extracted. The compression ratio of the file to be certified is determined based on the network status information and the device attribute information of the target device corresponding to the file to be certified. The compression ratio is sent to the target device so that the target device can compress the file to be examined according to the compression ratio to obtain a compressed data stream; Accordingly, the step of extracting the files to be examined from each target device sequentially according to the target evidence-gathering order of each file to be examined includes: According to the target evidence collection order of each of the documents to be evidenced, the compressed data streams of each document to be evidenced are extracted sequentially.
7. The method according to claim 6, characterized in that, While extracting the compressed data streams of each of the files to be examined according to the target evidence-gathering order, the method also includes: For each extracted file to be examined, the compressed data stream of the file to be examined is decompressed in parallel to obtain the file to be examined.
8. A data forensics device for a device, characterized in that, The device includes: The information acquisition module is used to acquire the status of the case associates of the target case, as well as the device attribute information of at least one target device associated with the target case and the file byte count and file type of the files to be collected in each target device; wherein, the number of files to be collected in each target device is at least one. The device order determination module is used to assign a file evidence collection order to each file to be collected in the target device based on the file size and file type of each piece of data to be collected in the target device, as well as the status of the case associate. The file order determination module is used to determine the target evidence collection order of each file to be evidenced based on the device evidence collection order of the target device to which the file to be evidenced belongs and the file evidence collection order of the file to be evidenced. The target order determination module is used to determine the target evidence collection order of each of the files to be evidenced based on the device evidence collection order of the target device to which the file to be evidenced belongs, as well as the file size and file type of the file to be evidenced. The extraction module is used to extract the documents to be collected from each of the target devices in sequence according to the target collection order of each document to be collected, so that technicians can process the target case based on the extracted documents to be collected.
9. An electronic device, characterized in that, The electronic device includes: At least one processor; and A memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the data forensics method of the device according to any one of claims 1-7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that, when executed by a processor, implement the data forensics method of the device according to any one of claims 1-7.
Citation Information
Patent Citations
Quick evidence obtaining method and system
CN107506471A
Electronic evidence obtaining method and device
CN107562707A
