Method and device for managing files on disk, computer equipment and storage medium

A file management method and disk technology, applied in the computer field, can solve problems such as equipment cannot be used normally, disk is full, and achieve the effect of avoiding missed monitoring and reducing memory usage.

Pending Publication Date: 2022-04-05
BEIJING TOPSEC NETWORK SECURITY TECH +2
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Therefore, it is becoming more and more important for network security devices to capture attack packets. However, if the forensic packets generated by ca

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 managing files on disk, computer equipment and storage medium
  • Method and device for managing files on disk, computer equipment and storage medium
  • Method and device for managing files on disk, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0052] Example one

[0053] See figure 1 , figure 1 It is a flow chart of a file management method on a disk disclosed in the present application embodiment. Such as figure 1 As shown, the method of the present application embodiment includes the following steps:

[0054] 101. When obtaining a processes for network attack events, determine the name of the first storage directory according to user configuration information;

[0055] 102. Based on the name of the first storage directory, it is determined whether the subdirectories in the first storage directory exist;

[0056] 103. When the user configuration information determines if the user configuration information determines whether the number of stored files is greater than or equal to the first preset threshold, if the user configuration information is greater than or equal to the first predetermined threshold, if the number of stored files of the first storage directory is greater than or equal to the first The preset thresh...

Example Embodiment

[0098] Example 2

[0099] See figure 2 , figure 2 It is a schematic structural diagram of a file management apparatus on a disk disclosed in the present application embodiment. Such as figure 2 As shown, the file management device on the disk of the present application embodiment includes:

[0100]Determine the module 201, and determine the name of the first storage directory according to user configuration information when obtaining a forensic message for network attack events;

[0101] The first determination module 202 is used to determine if the subdirectory in the first storage directory exists based on the name of the first storage directory;

[0102] The second determination module 203 is used to determine whether the number of stored files of the first storage directory is greater than or equal to the first preset threshold when it is present in the first storage directory. The number is greater than or equal to the first preset threshold, then the second storage directory...

Example Embodiment

[0106] Example 4

[0107] The present application discloses a storage medium that stores a computer instruction that is called when the computer instruction is called, and the file management method is used to perform the disclosed disclosure of the present application.

[0108] The storage medium of the present application embodiment can create two or more storage directories based on the maximum number of stored files on the disk, one aspect, to create two or more storage directories based on the maximum number of stored files. In a different folder, in this way, you can easily query the processes in different folders. However, prior art is to obtain all the folders when obtaining the fader packets in the same file, and thereby querying the forensic packets based on multiple folders. Treatment packets are not convenient for query.

[0109] On the other hand, the storage medium of the present application embodiment can avoid the disk being filled with the disk. In still another a...

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

The invention provides an on-disk file management method and device, computer equipment and a storage medium, and the method comprises the steps: determining the name of a first storage directory according to user configuration information when an evidence obtaining message for a network attack event is obtained; based on the name of the first storage directory, judging whether a subdirectory under the first storage directory exists or not; based on user configuration information, whether the number of stored files in the first storage directory is larger than or equal to a first preset threshold value or not is judged, if the number of stored files in the first storage directory is larger than or equal to the first preset threshold value, a second storage directory is created, and the user configuration information comprises the first preset threshold value; and writing the evidence obtaining message into a second storage directory. Compared with the prior art, the message file can be stored based on the multiple storage directories so as to facilitate searching of the message file, and on the other hand, the method has the advantages that a disk is prevented from being fully written, system abnormity is avoided, and the memory occupancy rate is reduced.

Description

technical field [0001] The present application relates to the field of computer technology, in particular, to a method, device, computer equipment and storage medium for managing files on a disk. Background technique [0002] With the rapid development of the Internet, the attacks in the network are becoming more and more diverse, and it is very necessary to further analyze these attacks. Therefore, it is becoming more and more important for network security devices to capture attack packets. However, if the forensic packets generated by capturing attack packets are not managed, the disk will be full and the device cannot be used normally. Managing these forensic messages becomes a necessity. Contents of the invention [0003] The purpose of the embodiments of the present application is to provide a file management method and device on a disk, a computer device and a storage medium, which are used to store message files based on multiple storage directories, so as to faci...

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
IPC IPC(8): G06F16/16G06F16/172G06F9/50
Inventor 赵小虎
Owner BEIJING TOPSEC NETWORK SECURITY TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products