CN102662823A - Method for counting number of operations of program and file - Google Patents
Method for counting number of operations of program and file Download PDFInfo
- Publication number
- CN102662823A CN102662823A CN201210060607XA CN201210060607A CN102662823A CN 102662823 A CN102662823 A CN 102662823A CN 201210060607X A CN201210060607X A CN 201210060607XA CN 201210060607 A CN201210060607 A CN 201210060607A CN 102662823 A CN102662823 A CN 102662823A
- Authority
- CN
- China
- Prior art keywords
- program
- file
- client
- focus
- server
- 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.)
- Pending
Links
Images
Landscapes
- Debugging And Monitoring (AREA)
Abstract
The invention discloses a method for counting the number of operations of a program and a file, comprising a client, a server, and a console. When a system is started, the client is started along with the system, establishes a connection to the server, and downloads strategies from the server; when a program or a file is opened, the client performs a judgment to see whether the program or the file is in a list which records programs or files required to be counted, if the program or the file is in the list, the client starts to time and count the number of operations until a focus leaves the program or the file; when the focus comes to another program or file, the client performs a judgment as well, and starts to time and count the number of operations or chooses to ignore according to the result of the judgment; when the focus returns back to the first program, the client continues to time and count the number of operations until the focus leaves; and the client counts repeatedly the number of operations of the program or the file on which the focus is located according to the above steps. The counting method provided by the invention only records names of the programs and the files, and the number of operations when the programs or the files serve as a focus. The counting method provided by the invention has the advantages of fast data transmission and small amount of data, so that storage of operating conditions of a computer in a large amount of time only requires a small space.
Description
Technical field
The invention belongs to the computer information safety technique field, relate in particular to a kind of method of program and file being carried out the operand statistics.
Background technology
The many examinations of present security monitoring software realize the control to client through desktop similar approach such as take pictures, but it is more so just to take Internet resources, and preserve the result that takes pictures and also can take very many disk spaces.
Summary of the invention
The present invention provides a kind of program and file is carried out the method that operand is added up; Logging program and filename with and operand during as focus; Data transmission is fast, and data volume is very little, only needs less space just can preserve the computation situation of plenty of time.
To achieve these goals, the present invention adopts following technical scheme:
A kind of program and file are carried out the method for operand statistics, wherein, said method step comprises:
A1: comprise client, server and control desk, said client is responsible for the statistics of file operation number; Said server receives client data and statistics; Said control desk is responsible for to the client configuration strategy and is read server result of calculation;
A2: when system boot, client connects with system start-up and with server, from the downloaded strategy;
A3: when a program or file were opened, client judged, whether sees in the tabulation of needs statistics, if, then pick up counting and the statistical operation number, leave from this program or file until focus;
A4: when focus has arrived another program or file, make judgement equally, and carry out timing statistical operation number based on judged result and perhaps ignore;
A5: when focus is got back on first program, then continue timing statistics and operand, leave up to focus;
A6: the operand of adding up focus place program or file by above step repeatedly.
Client per minute Data transmission also can be set to server once in the said method, server calculates the data that obtain automatically.
Said server can be found in any a period of time the gained data computing, takies the maximum program rank of focus, and the maximum program rank of operand, and the maximum program rank of unit interval operand etc.
The present invention provides a kind of program and file is carried out the method that operand is added up; Logging program and filename with and operand during as focus; Data transmission is fast, and data volume is very little, only needs less space just can preserve the computation situation of plenty of time.
Description of drawings
Fig. 1 is server provided by the invention, client, console communication diagram intention;
Fig. 2 is a method step synoptic diagram provided by the invention.
Embodiment
Specify the present invention below in conjunction with accompanying drawing, it explains principle of the present invention as the part of this instructions through embodiment, other aspects of the present invention, and characteristic and advantage thereof will become very clear through this detailed description.
Like Fig. 1, shown in 2, a kind of program and file are carried out the method for operand statistics, wherein, said method step comprises:
A1: comprise client, server and control desk, said client is responsible for the statistics of file operation number; Said server receives client data and statistics; Said control desk is responsible for to the client configuration strategy and is read server result of calculation;
A2: when system boot, client connects with system start-up and with server, from the downloaded strategy;
A3: when a program or file were opened, client judged, whether sees in the tabulation of needs statistics, if, then pick up counting and the statistical operation number, leave from this program or file until focus;
A4: when focus has arrived another program or file, make judgement equally, and carry out timing statistical operation number based on judged result and perhaps ignore;
A5: when focus is got back on first program, then continue timing statistics and operand, leave up to focus;
A6: the operand of adding up focus place program or file by above step repeatedly.
Client per minute Data transmission also can be set to server once in the said method, server calculates the data that obtain automatically.
Said server can be found in any a period of time the gained data computing, takies the maximum program rank of focus, and the maximum program rank of operand, and the maximum program rank of unit interval operand etc.
The present invention provides a kind of program and file is carried out the method that operand is added up; Logging program and filename with and operand during as focus; Data transmission is fast, and data volume is very little, only needs less space just can preserve the computation situation of plenty of time.
The above disclosed the preferred embodiments of the present invention that are merely can not limit the present invention's interest field certainly with this, so according to the equivalent variations that claim of the present invention is done, still belong to the scope that the present invention is contained.
Claims (3)
1. one kind is carried out the method for operand statistics to program and file, it is characterized in that said method step comprises:
A1: comprise client, server and control desk, said client is responsible for the statistics of file operation number; Said server receives client data and statistics; Said control desk is responsible for to the client configuration strategy and is read server result of calculation;
A2: when system boot, client connects with system start-up and with server, from the downloaded strategy;
A3: when a program or file were opened, client judged, whether sees in the tabulation of needs statistics, if, then pick up counting and the statistical operation number, leave from this program or file until focus;
A4: when focus has arrived another program or file, make judgement equally, and carry out timing statistical operation number based on judged result and perhaps ignore;
A5: when focus is got back on first program, then continue timing statistics and operand, leave up to focus;
A6: the operand of adding up focus place program or file by above step repeatedly.
2. as claimed in claim 1 program and file are carried out the method for operand statistics, it is characterized in that client per minute Data transmission also can be set to server once in the said method, server calculates the data that obtain automatically.
3. method of program and file being carried out the operand statistics as claimed in claim 1; It is characterized in that; Said server can be found in any a period of time the gained data computing, takies the maximum program rank of focus; And the maximum program rank of operand, and the maximum program rank of unit interval operand etc.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210060607XA CN102662823A (en) | 2012-03-09 | 2012-03-09 | Method for counting number of operations of program and file |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210060607XA CN102662823A (en) | 2012-03-09 | 2012-03-09 | Method for counting number of operations of program and file |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102662823A true CN102662823A (en) | 2012-09-12 |
Family
ID=46772320
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210060607XA Pending CN102662823A (en) | 2012-03-09 | 2012-03-09 | Method for counting number of operations of program and file |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102662823A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105426522A (en) * | 2015-12-07 | 2016-03-23 | 浪潮(北京)电子信息产业有限公司 | File system performance statistical method and system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5901308A (en) * | 1996-03-18 | 1999-05-04 | Digital Equipment Corporation | Software mechanism for reducing exceptions generated by speculatively scheduled instructions |
CN1784656A (en) * | 2003-05-09 | 2006-06-07 | 国际商业机器公司 | Monitoring operational data in data processing systems |
CN101963907A (en) * | 2010-10-14 | 2011-02-02 | 中国科学技术大学苏州研究院 | Dynamic analysis mechanism for computer program hot spot |
CN102340415A (en) * | 2011-06-23 | 2012-02-01 | 北京新媒传信科技有限公司 | Server cluster system and monitoring method thereof |
-
2012
- 2012-03-09 CN CN201210060607XA patent/CN102662823A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5901308A (en) * | 1996-03-18 | 1999-05-04 | Digital Equipment Corporation | Software mechanism for reducing exceptions generated by speculatively scheduled instructions |
CN1784656A (en) * | 2003-05-09 | 2006-06-07 | 国际商业机器公司 | Monitoring operational data in data processing systems |
CN101963907A (en) * | 2010-10-14 | 2011-02-02 | 中国科学技术大学苏州研究院 | Dynamic analysis mechanism for computer program hot spot |
CN102340415A (en) * | 2011-06-23 | 2012-02-01 | 北京新媒传信科技有限公司 | Server cluster system and monitoring method thereof |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105426522A (en) * | 2015-12-07 | 2016-03-23 | 浪潮(北京)电子信息产业有限公司 | File system performance statistical method and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10037652B2 (en) | Slot machine with charging port for mobile phones | |
CN103500212B (en) | A kind of multimedia file recommendation method and electronic equipment | |
WO2012047593A3 (en) | Method and apparatus of ordering search results | |
CN101149665B (en) | Method for mapping an iSCSI target name to a storage resource and computation system | |
JP2013507718A5 (en) | ||
WO2009087619A3 (en) | Stateless attestation system | |
CN102075531B (en) | Method for transmitting data to client | |
WO2012075526A3 (en) | End-user performance monitoring for mobile applications | |
CN106155638A (en) | In configuration computer, basic input output system usefulness sets the system and method for shelves | |
CA2931525C (en) | Data stream identifying method and device | |
CN105760731A (en) | Method for starting application program based on mobile terminal and mobile terminal | |
WO2016026407A3 (en) | System and method for metadata enhanced inventory management of a communications system | |
WO2013101826A3 (en) | Crowd determined file size uploading methods, devices and systems | |
WO2010027299A3 (en) | A method for increasing the popularity of creative projects and a computer server for its realization | |
US10311160B2 (en) | Cloud search analytics | |
CN102662823A (en) | Method for counting number of operations of program and file | |
CN104504308B (en) | A kind of license validation method for forbidding virtual machine to use software | |
CN107102876B (en) | Application pushing method and device | |
CN104750717B (en) | A kind of click volume recording method, server and client | |
CN111210362B (en) | Data collector selection method, device, storage medium and processor | |
Eaves et al. | Desktop as a service proof of concept | |
WO2008142915A1 (en) | Medical image management device and program | |
CN104166592A (en) | Method and device for managing breakpoint information in user equipment | |
WO2005103996A3 (en) | Method and system for online embroidery data processing | |
US9213842B2 (en) | Tracing data block operations |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20120912 |