CN100576182C - The real-time monitoring system of computer documents and method - Google Patents

The real-time monitoring system of computer documents and method Download PDF

Info

Publication number
CN100576182C
CN100576182C CN200410155075A CN200410155075A CN100576182C CN 100576182 C CN100576182 C CN 100576182C CN 200410155075 A CN200410155075 A CN 200410155075A CN 200410155075 A CN200410155075 A CN 200410155075A CN 100576182 C CN100576182 C CN 100576182C
Authority
CN
China
Prior art keywords
file
modification time
read
time data
time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN200410155075A
Other languages
Chinese (zh)
Other versions
CN1684043A (en
Inventor
吴伟
杨军治
韩洪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Skyworth RGB Electronics Co Ltd
Shenzhen Chuangwei RGB Electronics Co Ltd
Original Assignee
Shenzhen Skyworth RGB Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Skyworth RGB Electronics Co Ltd filed Critical Shenzhen Skyworth RGB Electronics Co Ltd
Priority to CN200410155075A priority Critical patent/CN100576182C/en
Publication of CN1684043A publication Critical patent/CN1684043A/en
Application granted granted Critical
Publication of CN100576182C publication Critical patent/CN100576182C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The present invention discloses a kind of real-time monitoring system of computer documents, comprising: read module, the essential information and the original modified time that are used to read monitored computer documents, and the touring current modification time that reads monitored computer documents; Analysis module, be used to receive the current modification time data that read module reads, with the corresponding former modification time data that write down in the current modification time data of file and the supervisory system relatively, the files different with former modification time data to current modification time data send the information that this is updated file to upgrading reminding module; And renewal reminding module, be used for the information that is updated file that the receiving and analyzing module sends, the former modification time Data Update that this that writes down in the supervisory system is updated file is current modification time data, and sends this renewal that is updated file prompting to the user.Also comprise and be used to detect the information that reads the file failure and send the failure detection module of prompting according to setting-up time.The present invention is less to the consumption of system resource, has realized the real-time monitoring to the network shared files Data Update.

Description

The real-time monitoring system of computer documents and method
Technical field
The present invention relates to System and method for that computer documents is monitored, especially a kind of system and method that the file of Net-connected computer is monitored in real time of being used for.
Background technology
Current, computing machine become we work and the life in requisite a kind of instrument, computer software is all having very big development aspect system software and the application software two, most of enterprises all various application software in widespread use and make various computer documentss to write down a large amount of information or data, and utilize these computer documentss between relevant departments, transmitting information, the production of particularly manufacturing type enterprise, research and development, all transmitting information between a plurality of departments such as engineering by computer documents, but the up-to-date information or the data that will obtain these computer documentss between the different departments can only be by constantly artificial viewing files, particularly the exigent file of those real-times will spend great amount of manpower especially and finish this loaded down with trivial details work, and be not absolute in real time, both reduced office efficiency, information or data can not be transmitted in real time.
At present, all do not provide the enough software of a kind of energy to substitute artificial file real time inspection system in the existing office automation software.
Patented claim " System and method for of dynamic data backing-up " (application number: 01140229.6, open day: on June 11st, 2003, publication number is: disclose a kind of system and method that data are monitored in real time CN1423200A), this scheme is to adopt the Data Update in the file is monitored, and whether Data Update is arranged by relatively judging of former data and new data, the data read amount is big like this, and the system resource that takies is also corresponding to be increased, the burden that causes system to carry out.
So, how to adopt effective method to come file is checked, and reach real-time effect, become the direction of file monitor development.
Summary of the invention
Fundamental purpose of the present invention solves the problems of the prior art exactly, proposes a kind of real-time monitoring system and method for computer documents, can monitor in real time file, and simple to operate again, the system resource that takies is few.
Secondary objective of the present invention is supervisory system and the method that proposes a kind of computer documents, to sending prompting to the user under the situation that continues to read monitored file failure.
For achieving the above object, the present invention proposes a kind of supervisory system of computer documents, it is characterized in that comprising:
Read module, be used to read the essential information and the original modified time corresponding of monitored computer documents with it, the original modified time data is recorded as corresponding former modification time in the supervisory system, and the touring current modification time that reads monitored computer documents;
Analysis module, be used to receive the current modification time data that read module reads, with the corresponding former modification time data that write down in the current modification time data of file and the supervisory system relatively, the files different with former modification time data to current modification time data send the information that this is updated file to upgrading reminding module; And renewal reminding module, be used for the information that is updated file that the receiving and analyzing module sends, the former modification time Data Update that this that writes down in the supervisory system is updated file is current modification time data, and sends this renewal that is updated file prompting to the user.
Also comprise and be used to detect the information that reads the file failure and send the failure detection module of prompting according to setting-up time.
For achieving the above object, the invention allows for the method for supervising that proposes a kind of computer documents, may further comprise the steps:
Read step: the current modification time that reads monitored computer documents;
Analytical procedure: with the corresponding former modification time data that write down in the current modification time data of file and the supervisory system relatively,, then turn to read step, if difference then turn to and upgrade the prompting step if identical;
Upgrade the prompting step: the corresponding former modification time that writes down in the supervisory system is updated to current modification time data, the user is sent the renewal prompting of this document.It is characterized in that also comprising being used to detect when in setting-up time, reading file and failing always and send the failure detection step that reads file failure prompting to the user.
Described failure detection step may further comprise the steps:
A) as required computer documents is set and the corresponding failure detection of this document time;
B) detect and to read this document and whether fail;
C) if read this document success, then with the corresponding timer zero clearing of this document, reclocking turns to analytical procedure; Otherwise continue timing with the corresponding timer of this document, turn to step d);
D) failure detection that equals to set when timing time is sent the prompting of this document being read failure to the user during time, when timing time during the time, turns to read step less than the failure detection of setting.
Before described read step, also comprise monitored file selection step.
Described read step also comprises the essential information and the original modified time corresponding with it of reading monitored file, and the original modified time data is recorded as corresponding former modification time in the supervisory system; Described read step is the touring current modification time that reads one or more files.
After upgrading the prompting step, also carry out update times and add a step being updated file accordingly, described update times add a step the user check be updated file after with the update times zero clearing of this document.
Beneficial effect of the present invention: the present invention by reading monitored file the original modified time and it is recorded in internal system, constantly read the current modification time of monitored file by read module, analyze the modification time data and the current modification time data that relatively are recorded in internal system, if both are not the same time, then current modification time will be saved as the modification time that is recorded in internal system, what next time period read will be current modification time, renewal reminding module in the software will send prompting to the user, but this moment the user viewing files.The present invention is owing to only read modification time and compare the time data of front and back, thereby judge whether file upgrades, the data volume of handling is little, so the consumption to system resource is less, and can monitor a plurality of different separate files simultaneously in an interface, speed is fast, has realized the real-time monitoring to the network shared files Data Update.In monitor procedure, may read the file failure because of reasons such as network failure cause, system provides the setting of " failure detection time ", if promptly in the time of setting, read the file failure always, then ejecting dialog box gives the user with prompting, so just can avoid under the situation of network failure monitored file to be updated and the user also takes for file and do not upgrade, thereby can avoid data to cause adverse consequences with mistake.
Feature of the present invention and advantage will be elaborated in conjunction with the accompanying drawings by embodiment.
Description of drawings
Fig. 1 represents block diagram of the present invention;
Fig. 2 represents the process flow diagram of first kind of embodiment of the present invention;
Fig. 3 represents the process flow diagram of second kind of embodiment of the present invention.
Embodiment
First embodiment: be illustrated in figure 1 as block diagram of the present invention, comprise read module, analysis module and renewal reminding module, read module sends to analysis module with the information that reads, and the result after analysis module will be analyzed sends to the renewal reminding module.The flow process of its work is as shown in Figure 2:
1) read step 1: read module reads the essential information and the original modified time corresponding with it of monitored computer documents, and the original modified time data is recorded as corresponding former modification time in the supervisory system;
2) read step 2: the touring current modification time that reads monitored computer documents of read module;
3) analytical procedure 3: analysis module receives the current modification time data T2 that read module reads, with the corresponding former modification time data T1 that writes down in the current modification time data T2 of file and the supervisory system relatively, if it is identical, then turn to read step 2, if difference then turn to and upgrade prompting step 4;
5) upgrade prompting step 4: upgrade the information that is updated file that reminding module receiving and analyzing module sends, the former modification time data T1 that this that writes down in the supervisory system is updated file is updated to current modification time data T2, and sends this renewal that is updated file prompting to the user.
Upgrade text prompt and the icon prompting that provides simultaneously being updated file is provided, also can have only being updated the text prompt of file.
Different situations, may need different monitored files, present embodiment can also increase monitored file option program, promptly also comprises monitored file selection step before described read step, the user can increase or reduce monitored file newly according to actual needs.
Behind the newly-increased monitored file, described read step 1 reads the essential information and the original modified time corresponding with it of monitored file earlier, the original modified time data is recorded as corresponding former modification time in the supervisory system, and these information are presented at user interface.
In the present invention, in an interface, can select a plurality of (for example 12) monitored file simultaneously, the described read step 2 touring current modification times that read each monitored file.System's run duration, any moment user can reselect monitored file or newly-increased monitored file (can monitor 12 different files simultaneously at most) by " monitored file selection " menu, and any moment user can be by the monitoring of " cancellation file monitor " menu cancellation to file.
Sometimes, the user may have no time in time to check and be updated file, so present embodiment can also increase file update times logging modle, file whenever is updated once, and the file update times promptly adds one, after user's viewing files, and the zero clearing of file update times.Realized in the system key of monitored file is checked that the user can directly check corresponding document by double-clicking file mark, for the file of checking, system can be with its update times zero clearing.
The user can select as required to start shooting and move automatically and cancellation start operation automatically, and software passes through the modified module to system registry, directly user's selection is operated.When system withdrawed from, real-time memory had all been carried out in the setting of software when withdrawing from, and can read the setting when withdrawing from last time during the next time operation voluntarily.
By to the reading and revising of WINDOWS registration table, whether system provides " starting the start operation " and " cancellation start operation " two options to select as required for the user, move automatically to realize needing to start shooting.
Second embodiment: most preferred embodiment the most of the present invention, different with first embodiment is, also comprise the failure detection module that reads file, if in the time of setting, read the file failure always, then eject dialog box and give the user, avoid under the situation of network failure monitored file to be updated and the user also takes for file and do not upgrade with prompting.Its process flow diagram after read step 2, detects whether read success as shown in Figure 3, if read this document success, then with the corresponding timer zero clearing of this document, reclocking turns to analytical procedure 3; Otherwise continue timing with the corresponding timer of this document, the failure detection that equals to set when timer is during the time, the user is sent the prompting of this document being read failure, do not surpass the failure detection time of setting, continue read step 2 if read the timing time of failure continuously.
During the system initial launch,,, will provide prompting, and in user interface, not show modification number of times of this document and modification time recently, read the file success up in service if having because of reasons such as network failure read failure for the file in the default path.
Choose after the monitoring file, watchdog routine is promptly monitored file, may be in monitor procedure because of file deleted or network failure and read the file failure, if read always in the time that file is failed then software can point out the user to read the file failure in the failure detection that is provided with, when user's removing " failure detection time " is sky, software can be ignored each failure of reading, and continues to read next time again, and the user just can not determine whether Network Transmission is normal like this.
File monitor system and method for the present invention has versatility, and the user does not need to distinguish the form of file, and software can be discerned automatically and handle respectively, realizes the file of any form is monitored.

Claims (3)

1. the real-time monitoring system of a computer documents comprises:
Read module, be used to read the essential information and the original modified time corresponding of monitored computer documents with it, the original modified time data is recorded as corresponding former modification time in the supervisory system, and the touring current modification time that reads monitored computer documents;
Analysis module, be used to receive the current modification time data that read module reads, with the corresponding former modification time data that write down in the current modification time data of file and the supervisory system relatively, the files different with former modification time data to current modification time data send the information that this is updated file to upgrading reminding module; And
Upgrade reminding module, be used for the information that is updated file that the receiving and analyzing module sends, the former modification time Data Update that this that writes down in the supervisory system is updated file is current modification time data, and sends this renewal that is updated file prompting to the user;
It is characterized in that: also comprise being used to detect the information that reads the file failure and sending the failure detection module of prompting according to setting-up time.
2. the method for real-time monitoring of a computer documents comprises the steps:
Read step: the current modification time that reads monitored computer documents;
Analytical procedure: with the corresponding former modification time data that write down in the current modification time data of file and the supervisory system relatively,, then turn to read step, if difference then turn to and upgrade the prompting step if identical;
Upgrade the prompting step: the corresponding former modification time that writes down in the supervisory system is updated to current modification time data, the user is sent the renewal prompting of this document;
It is characterized in that: also comprise being used to detect when in setting-up time, reading file and failing always and send the failure detection step that reads the file failure to the user.
3. the method for real-time monitoring of computer documents as claimed in claim 2, it is characterized in that: described failure detection step may further comprise the steps:
A) as required computer documents is set and the corresponding failure detection of this document time;
B) detect and to read this document and whether fail;
C) if read this document success, then with the corresponding timer zero clearing of this document, reclocking turns to analytical procedure; Otherwise continue timing with the corresponding timer of this document, turn to step d);
D) failure detection that equals to set when timing time is sent the prompting of this document being read failure to the user during time, when timing time during the time, turns to read step less than the failure detection of setting.
CN200410155075A 2004-04-15 2004-04-15 The real-time monitoring system of computer documents and method Expired - Fee Related CN100576182C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200410155075A CN100576182C (en) 2004-04-15 2004-04-15 The real-time monitoring system of computer documents and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200410155075A CN100576182C (en) 2004-04-15 2004-04-15 The real-time monitoring system of computer documents and method

Publications (2)

Publication Number Publication Date
CN1684043A CN1684043A (en) 2005-10-19
CN100576182C true CN100576182C (en) 2009-12-30

Family

ID=35263401

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200410155075A Expired - Fee Related CN100576182C (en) 2004-04-15 2004-04-15 The real-time monitoring system of computer documents and method

Country Status (1)

Country Link
CN (1) CN100576182C (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102111567A (en) * 2009-12-28 2011-06-29 新奥特(北京)视频技术有限公司 Stock information real-time acquisition method and device
CN102111569B (en) * 2009-12-28 2015-06-17 新奥特(北京)视频技术有限公司 Method and system for collecting and broadcasting stock information
EP2372557A1 (en) * 2010-03-31 2011-10-05 British Telecommunications public limited company Complex event processing system and method
CN103079039B (en) * 2011-10-25 2016-08-31 康佳集团股份有限公司 A kind of plant seeds by airplane method and system
CN102752556B (en) * 2012-02-28 2017-11-10 新奥特(北京)视频技术有限公司 A kind of method of competition data monitoring
CN102855171A (en) * 2012-08-09 2013-01-02 浪潮电子信息产业股份有限公司 Consumer price index (CPI) real-time monitoring method based on linux system
CN103885730B (en) * 2012-12-20 2016-08-03 北大方正集团有限公司 A kind of method obtaining the print processing time and there is the electronic equipment of printing function
CN106371969A (en) * 2016-08-25 2017-02-01 浪潮电子信息产业股份有限公司 Monitoring method for MEM pressure test under server linux system

Also Published As

Publication number Publication date
CN1684043A (en) 2005-10-19

Similar Documents

Publication Publication Date Title
CN102880532B (en) Cloud technology-based test system and method
CN100541489C (en) External metadata is handled
US10545807B2 (en) Method and system for acquiring parameter sets at a preset time interval and matching parameters to obtain a fault scenario type
CN101060436A (en) A fault analyzing method and device for communication equipment
CN101268620A (en) Device management system and method for managing device management object
CN103003800B (en) Abnormality processing proving installation and method
CN110502366B (en) Case execution method, device, equipment and computer readable storage medium
CN113946499A (en) Micro-service link tracking and performance analysis method, system, equipment and application
CN104714863A (en) Method for completely storing Raid card logs on basis of Linux operation system after system crashes
CN100576182C (en) The real-time monitoring system of computer documents and method
CN110011853B (en) Cross fault troubleshooting method and device for multiple platforms and clusters
CN114117973A (en) Logic synthesis method, device and storage medium
CN108255659B (en) Application program performance monitoring method and system
CN1979444A (en) System for ensuring servo programe non-interrupted operation and method therefor
CN109857716B (en) System interaction log recording method and device, storage medium and server
CN114968637B (en) Automatic driving abnormality analysis system
CN104767995A (en) Method for recording electronic product test data and recording module
CN114647531A (en) Failure solving method, failure solving system, electronic device, and storage medium
EP3786750B1 (en) Data collection system, data collection method, and program
CN114448775A (en) Equipment fault information processing method and device, electronic equipment and storage medium
CN102681910B (en) Recognition method, computer and recognition system
CN101378336B (en) Method for processing batch documents of service management system
CN109508251A (en) Date storage method, system, equipment and medium
CN117971605B (en) Automatic log information collection method and system based on database abnormality
CN116541376A (en) Sample data acquisition method and device, mobile terminal and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20091230

Termination date: 20150415

EXPY Termination of patent right or utility model