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

File monitoring method and system

A monitoring system and file technology, which is applied in special data processing applications, instruments, electrical digital data processing, etc., can solve the problems of changing the file status interface, and the upper layer application cannot update the file operation to the database, so as to improve the query speed and avoid the program Abnormal crash, avoiding the effect of data confusion

Active Publication Date: 2017-04-19
BEIJING YUANXIN SCI & TECH
View PDF6 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, the open source project tracker provides a disk monitoring system, but the tracker does not provide an interface for the application to change the status of the file. It can only obtain the change of the status of the file by passively monitoring the system inotify event, so that the upper application cannot directly operate on the file. Update to database and notify other applications

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 method and system
  • File monitoring method and system
  • File monitoring method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] The scope of applicability of the present invention will become apparent from the detailed description given below. It should be understood, however, that the detailed description and specific examples, while indicating the preferred embodiment of the invention, are given for purposes of illustration only.

[0028] figure 1 An embodiment of the file monitoring method according to the present invention is shown, and the method includes, at step S10, adding a filtering rule, and recursively scanning directories meeting the requirements of the filtering rule. The foregoing filtering rules include, for example, recursively scanning directories beginning with home / user and / or / data, or not scanning directories beginning with a certain one. In step S20, the scanned files are added to the file monitoring system, which is used to monitor file changes in real time. In step S30, the file monitoring system monitors possible file changes in real time. In step S40, in response to...

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 discloses a file monitoring method and system. The method comprises the following steps: scanning a file directory that meets the requirement; adding scanned files to the file monitoring system which is used for monitoring file changes in real time; in response to that the file monitoring system monitors one or more files change, informing a data synchronization system of the changed file status in real time; broadcasting the changed file status by the data synchronization system; and providing a data synchronization system interface, and enabling an upper application to acquire the file status by calling the interface. The file monitoring method provided by the invention enables various applications of the system to synchronously acquire change statuses of magnetic disk files more efficiently and flexibly, so as to avoid the program exception due to unsynchronized data.

Description

technical field [0001] The present application relates to the field of digital information transmission, in particular to a file monitoring method and system. Background technique [0002] In different operating systems, there are scenarios where multiple applications operate on the same file. In this case, if one application operates a certain file (for example, deletes), and another application fails to obtain the status of the file being deleted and continues to operate the file, the program will crash. Therefore, how to efficiently monitor the file status and synchronize it to each application is particularly important. [0003] At present, the open source project tracker provides a disk monitoring system, but the tracker does not provide an interface for the application to change the status of the file. It can only obtain the change of the status of the file by passively monitoring the system inotify event, so that the upper application cannot directly operate on the f...

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): G06F17/30
CPCG06F16/1734
Inventor 赵攀蔡振宾
Owner BEIJING YUANXIN SCI & TECH
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