Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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 capturing attack packets are not managed, the disk will be full and the device cannot be used normally. Managing these forensic messages becomes imperative

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

Embodiment 1

[0053] see figure 1 , figure 1 It is a schematic flowchart of a method for managing files on a disk disclosed in the embodiment of the present application. like figure 1 As shown, the method of the embodiment of the present application includes the following steps:

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

[0055] 102. Based on the name of the first storage directory, determine whether a subdirectory under the first storage directory exists;

[0056] 103. When the first storage directory exists, judge whether the number of stored files in the first storage directory is greater than or equal to the first preset threshold based on user configuration information, and if the number of stored files in the first storage directory is greater than or equal to the first preset threshold, create a second storage directory, wherein the user configuration i...

Embodiment 2

[0099] see figure 2 , figure 2 It is a schematic structural diagram of an on-disk file management device disclosed in the embodiment of this application. like figure 2 As shown, the file management device on the disk of the embodiment of the present application includes:

[0100]The determination module 201 is configured to determine the name of the first storage directory according to the user configuration information when the forensic message for the network attack event is obtained;

[0101] The first judging module 202 is configured to judge whether a subdirectory under the first storage directory exists based on the name of the first storage directory;

[0102] The second judging module 203 is used for judging whether the number of stored files in the first storage directory is greater than or equal to the first preset threshold based on user configuration information when the first storage directory exists, if the number of stored files in the first storage direct...

Embodiment 4

[0107] The embodiment of the present application discloses a storage medium, the storage medium stores computer instructions, and when the computer instructions are invoked, they are used to execute the method for managing files on a disk disclosed in Embodiment 1 of the present application.

[0108] The storage medium according to the embodiment of the present application can create two or more storage directories based on the maximum number of storable files in the storage directory by executing the file management method on the disk, so that the obtained forensic messages can be stored in the In this way, it is convenient to query forensic messages in different folders. However, in the existing technology, the obtained forensic messages are placed in the same file, and the forensic messages are not classified based on multiple folders. When querying the forensic messages, it is necessary to compare all the forensic messages in a unique folder. Forensic messages, so it is no...

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
Features
  • Generate Ideas
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More