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

File monitoring system in Linux environment

A file monitoring and file technology, applied in the computer field, can solve problems such as warning information presentation

Active Publication Date: 2015-11-18
武汉华工安鼎信息技术有限责任公司
View PDF7 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The purpose of the embodiment of the present invention is to provide a method for monitoring file opening in a Linux environment, so as to solve the problem of presenting warning information of documents in the prior art

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
  • File monitoring system in Linux environment
  • File monitoring system in Linux environment
  • File monitoring system in Linux environment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0031] Such as figure 1 Shown is a file monitoring system under a Linux environment provided by an embodiment of the present invention. The system includes a file driver 1, a message processing thread 2, a warning message display thread 3, and a file security warning strategy 4, wherein the file security warning strategy 4 It is specifically manifested as the file security warning policy information stored in the Linux environment, specifically:

[0032] The file driver 1 is used to monitor the operation of the file, and transmit the monitored operation content and corresponding information about the operated file to the message processing thread 2 .

[0033] In a specific implementation solution, the file-related information may include: the file name corresponding to the file, the window ID of the file, the process ID of the parent window, the title text of the parent window, and the like.

[0034] The message processing thread 2 determines that a security warning needs to ...

Embodiment 2

[0054] In the first embodiment, a system embodiment of the implementation solution of the present invention is given. Embodiment 2 and subsequent implementations 3, 4 and 5 will illustrate the implementation of the embodiment of the present invention from the method flow in the system implementation process. Such as figure 1 shown, including:

[0055] In step 101, after the linux system is started, a file driver 1 is installed in the kernel, and the file driver 1 is used to monitor opening events and closing events of sensitive files.

[0056] Wherein, the opening event and closing event correspond to the operation content of opening and closing a file described in the first embodiment.

[0057] In step 102, a file security warning policy 4 is maintained in the linux system, which defines warning information to be displayed for sensitive files of different levels. Usually, the file security warning policy 4 is embodied as a program module, which is used to obtain the input ...

Embodiment 3

[0066] This implementation 3 provides how the file driver 1 generates the content that is forwarded to the message processing thread 2 when sensitive files are opened during the operation of the system, such as Figure 4 shown, including:

[0067] In step 201, the file driver 1 monitors a file open event.

[0068] In step 202, the file driver 1 sends the message K= to the message processing thread 2 through the netlinksocket to form a message K= with the name of the opened file and the process information of the opened file.

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 present invention is applicable to the technical field of a computer and provides a file monitoring system in a Linux environment. The system is characterized by comprising a file driver, a message processing thread, a warning message display thread and a file security warning strategy, wherein particularly, the file driver is used for monitoring an operation of a file and transmitting monitored operation contents and corresponding operated file relative information to the message processing thread; the message processing thread, according to the file relative information and the file security warning strategy, determines that the security warning needs to be provided for the file, searching is carried out in a current file opening record, and if the relative information of the file is not found, registration of the file relative information and corresponding warning contents is completed in the current file opening record; and the warning message display thread monitors current activity file information periodically and when the current activity file information is changed, searching is carried out in the current file opening record and a warning window with warning information is constructed for the file according to the file warning contents recorded in the current file opening record.

Description

technical field [0001] The invention belongs to the technical field of computers, and in particular relates to a file opening monitoring method under a Linux environment. Background technique [0002] In the Linux environment, in common document use scenarios, document warning information is usually indicated in the document content, usually in the form of revision marks or colored fonts. The warning information is easy to be accidentally deleted by the person who opened the document during the editing process. In addition, the existing warning information presentation method is also relatively easy to be ignored by users. A document protection mode, such as a read-only mode, is also provided in the prior art. However, although this method prevents the warning information from being modified, it also prevents the content of the document itself from being edited. Contents of the invention [0003] The purpose of the embodiments of the present invention is to provide a met...

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 Applications(China)
IPC IPC(8): G06F21/62
CPCG06F21/6218
Inventor 景奕昕唐相雄唐威廖巍韩敏
Owner 武汉华工安鼎信息技术有限责任公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products