Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for detecting file integrity

A detection method and detection device technology, applied in the field of data processing

Active Publication Date: 2021-08-10
BANK OF CHINA
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The embodiment of the present invention provides a method and device for detecting file integrity, which solves the problem of how to timely detect whether the file directory or application file in the application program is complete

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for detecting file integrity
  • Method and device for detecting file integrity
  • Method and device for detecting file integrity

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0032] Embodiments of the present invention provide a method for detecting file integrity, such as figure 2 Shown include:

[0033] S101. Obtain the file directory to be detected; wherein, the file directory includes at least one application file, and each application file corresponds to a file attribute, and the file attributes include: file permission, user to which it belongs, user group to which it belongs, file size, date of modification, and file name .

[0034] S102. Determine the detection parameters in the current detection cycle according to the file directory or file attributes; wherein, the detection parameters include one or more of the total number of application files contained in the file directory, the Hash check code of the application file, and the alarm category analysis code , the Hash check code is used to indicate the file attributes of the application file, and each file attribute corresponds to an alarm category analysis code.

[0035] Specifically,...

Embodiment 2

[0062] Embodiments of the present invention provide a file integrity detection device 10, such as Figure 6 Shown include:

[0063] The transceiver unit 101 is configured to obtain a file directory to be detected; wherein, the file directory includes at least one application file, and each application file corresponds to a file attribute, and the file attributes include: file permissions, belonging user, belonging user group, file size, modification date and filename.

[0064] The processing unit 102 is configured to determine the detection parameters in the current detection cycle according to the file directory obtained by the transceiver unit 101 or the file attributes obtained by the transceiver unit 101; wherein, the detection parameters include the total number of application files contained in the file directory, the hash of the application file One or more of the verification code and the alarm type analysis code, the Hash verification code is used to indicate the fil...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

Embodiments of the present invention provide a file integrity detection method and device, relate to the technical field of data processing, and solve the problem of how to timely detect whether a file directory or an application file in an application program is complete. The method includes obtaining the file directory to be detected; determining the detection parameters in the current detection cycle according to the file directory; and generating Prompt information; wherein, the prompt information is used to indicate that the file directory or the application file has changed.

Description

technical field [0001] The invention relates to the technical field of data processing, in particular to a method and device for detecting file integrity. Background technique [0002] Due to the complexity of the network environment, the proliferation of computer viruses and Trojan horses, network traps, hacker attacks, etc. are always threatening the normal operation of the application program (including at least one file directory, each file directory includes at least one application file) on the device, and The normal operation of the application is based on the fact that the application files are not damaged. Once the important files in the application program are damaged, the application program itself often has no way to know the situation. At this time, the application program will obtain illegal data when accessing the damaged file, which will lead to unexpected execution results, or even Read and write access exceptions cause the application to crash. For some g...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F21/64G06F16/16
CPCG06F21/64G06F16/16
Inventor 刘利刚
Owner BANK OF CHINA