CN107783878A - The method and system of acquisition software usage time information under a kind of Windows - Google Patents
The method and system of acquisition software usage time information under a kind of Windows Download PDFInfo
- Publication number
- CN107783878A CN107783878A CN201610744466.1A CN201610744466A CN107783878A CN 107783878 A CN107783878 A CN 107783878A CN 201610744466 A CN201610744466 A CN 201610744466A CN 107783878 A CN107783878 A CN 107783878A
- Authority
- CN
- China
- Prior art keywords
- information
- software
- message
- acquisition
- windows
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3003—Monitoring arrangements specially adapted to the computing system or computing system component being monitored
- G06F11/302—Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a software system
Landscapes
- Engineering & Computer Science (AREA)
- Computing Systems (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Mathematical Physics (AREA)
- Quality & Reliability (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention discloses a kind of method and system of acquisition software usage time information under Windows, the present invention gathers client, message interception module, collection information log reporting unit and collection information control unit by configuration information, and HOOK technologies are used in Windows systems, enable the invention to the accurate usage time and frequency of usage for understanding user and using each software in PC.Criterion can be provided for other above-mentioned collection contents, and then judge that operation behavior is automatically initiated by user's initiation or software.
Description
Technical field
The present invention relates to data mining in big data and data analysis field, and in particular to is gathered under a kind of Windows soft
The method and system of part usage time information.
Background technology
Currently, the use of big data is just propagated its belief on a large scale, and the shadow of big data is omnipresent in our life.Big number
According to the data mining that relies in mass data of use and data results, the source of mass data be exactly us per the work of nature
Data message in making and living.
PC frequently is used in our work and life, and this also means that there is number of types of personal information to exist
Collected and recorded after allowing.User using the software installed in PC and caused personal behavior record information just
It is a kind of data therein.
The collection of data is main to be gathered the software information installed in PC, accesses system core position paper, modification
The information such as registration table are collected.But software action in PC is used for user, it is not acquired.Therefore for
Above-mentioned operation behavior is that the behavior of software or user's operation can not just be judged.And gather user in PC
The operation note of installation software can be carried out accurately judging.
The content of the invention
It is an object of the present invention in order to solve the above technical problems, the present invention adopts the following technical scheme that:It is a kind of
The method of acquisition software usage time information, specifically comprises the following steps under Windows:
When S1, windows platform terminal computer start, automatic running information acquisition client, communicate between launching process clothes
Business, inject message interception module DLL to Windows systems using HOOK technologies;
S2, user to software operate simultaneously generation system message, are intercepted and captured by the message interception module described soft
Part run when user operates caused by interface display system message;
S3, the message interception module obtain the process relevant information of Current software after the system message is intercepted and captured, and
Generate Message-text;
Message-text is sent to described information collection visitor by S4, the message interception module by the method for interprocess communication
Family end;
The Message-text that S5, the described information collection client parsing method by interprocess communication receive, and obtain
Take the relevant information that family uses software process;
S6, obtain the software without the mouse-keyboard operating time, calculate the operating time that user uses the software;
S7, the information obtained in all S6 generated into Message-text according to unified form, and stored to user terminal electricity
Brain.
The method of acquisition software usage time information under Windows as the aforementioned, the message interception module are one logical
Cross the dll file that HOOK technologies are injected to Windows systems.
The method of acquisition software usage time information, the system message include under Windows as the aforementioned:Computer uses
Record is opened, closes and switched to record, software program.
The method of acquisition software usage time information, the step S3 also include before under Windows as the aforementioned:Start
Interprocess communication service, communication mode include pipeline and socket.
The method of acquisition software usage time information under Windows as the aforementioned, adopted in described information in the step S5
After collecting client acquisition user using the relevant information of software process, described information is gathered by gathering information log reporting unit
All log informations caused by client are gathered, and report the journal file.
The method of acquisition software usage time information under Windows as the aforementioned, in the step S7, storage to personal electricity
Also include before in brain:The activity time of software and generation according to the user using the associated information calculation of software process
For log information.
The method of acquisition software usage time information under Windows as the aforementioned, in the step S1 between launching process
Also include before communication service:By the acquisition control information for gathering information control unit parsing configuration;Control described information is adopted
Collect the item of information of client collection.
The system that the present invention also provides acquisition software usage time information under a kind of Windows, including:
Information acquisition client:For parsing the Message-text received, the activity time of the software is then calculated, and deposit
Store up in PC;
Message interception module:For system message caused by intercepting and capturing the running software, current software program is obtained
Progress information, and the progress information is sent to information acquisition client;
Gather information log reporting unit:For reporting the journal file of described information collection client generation extremely to service
Device, and the journal file for gathering described information collection client generation reports the object information after server;
Gather information control unit:For parsing the acquisition control information of configuration, control described information collection client is adopted
The item of information of collection.
Compared with prior art, the present invention is enabled the invention to accurately by using HOOK technologies in Windows systems
Solve usage time and frequency of usage that user uses each software in PC.It can provide and sentence for other above-mentioned collection contents
Disconnected standard, and then judge that operation behavior is automatically initiated by user's initiation or software.
Brief description of the drawings
Fig. 1 is the inventive method schematic flow sheet.
The present invention is further illustrated with reference to the accompanying drawings and detailed description.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention
In accompanying drawing, the technical scheme in the embodiment of the present invention is explicitly described, it is clear that described embodiment be the present invention
Part of the embodiment, rather than whole embodiments.
The embodiment of the present invention 1, as shown in figure 1, the present invention provides acquisition software usage time information under a kind of Windows
Method, specifically comprise the following steps:
When S1, windows platform terminal computer start, automatic running information acquisition client, by gathering information control
The acquisition control information of unit resolves configuration;The item of information of described information collection client collection is controlled, is communicated between launching process
Service, inject message interception module DLL to Windows systems using HOOK technologies;
S2, user to software operate and generation system message, and the system message includes:Computer usage record,
Record is opened, closes and switched to software program, intercepts and captures the software by message interception module and generation is run when user operates
Interface display system message, the message interception module is a Dll injected by HOOK technologies to Windows systems
File;
Communication service between S3, launching process, the communication means include pipeline and socket, and the message interception module exists
After intercepting and capturing the system message, the process relevant information of Current software is obtained, and generates Message-text;
Message-text is sent to described information collection visitor by S4, the message interception module by the method for interprocess communication
Family end;
The Message-text that S5, the described information collection client parsing method by interprocess communication receive, and obtain
The relevant information that family uses software process is taken, described information collection client production is gathered by gathering information log reporting unit
Raw all log informations, and report the journal file;
S6, obtain the software without the mouse-keyboard operating time, calculate the operating time that user uses the software;
S7, the information obtained in all S6 generated into Message-text according to unified form, store it in PC
It is preceding also to include:The activity time of software and daily record is generated as according to the user using the associated information calculation of software process
Information, and store and arrive user terminal computer.
The system that the present invention also provides acquisition software usage time information under a kind of Windows, including:
Information acquisition client:For parsing the Message-text received, the activity time of the software is then calculated, and deposit
Store up in PC;
Message interception module:For system message caused by intercepting and capturing the running software, current software program is obtained
Progress information, and the progress information is sent to information acquisition client;
Gather information log reporting unit:For reporting the journal file of described information collection client generation extremely to service
Device, the journal file of collection described information collection client generation report the object information of server;
Gather information control unit:For parsing the acquisition control information of configuration, control described information collection client is adopted
The item of information of collection, as information acquisition client gathers process general information.
The embodiment of the present invention 2, as shown in figure 1, under a kind of Windows acquisition software usage time information method, specifically
Comprise the following steps:
When S1, windows platform terminal computer start, automatic running information acquisition client, communicate between launching process clothes
Business, inject message interception module DLL to Windows systems using HOOK technologies;
S2, user to software operate simultaneously generation system message, are intercepted and captured by the message interception module described soft
Part run when user operates caused by interface display system message;
S3, the message interception module obtain the process relevant information of Current software after the system message is intercepted and captured, and
Generate Message-text;
Message-text is sent to described information collection visitor by S4, the message interception module by the method for interprocess communication
Family end;
The Message-text that S5, the described information collection client parsing method by interprocess communication receive, and obtain
Take the relevant information that family uses software process;
S6, obtain the software without the mouse-keyboard operating time, calculate the operating time that user uses the software;
S7, the information obtained in all S6 generated into Message-text according to unified form, and stored to user terminal electricity
Brain.
The embodiment of the present invention 3, as shown in figure 1, under a kind of Windows acquisition software usage time information method, specifically
Comprise the following steps:
When S1, windows platform terminal computer start, automatic running information acquisition client, communicate between launching process clothes
Business, inject message interception module DLL to Windows systems using HOOK technologies;
S2, user to software operate simultaneously generation system message, and intercepting and capturing the software by message interception module exists
The system message of interface display caused by operation when user operates;
Communication service between S3, launching process, the communication service include pipeline and socket, the message interception module
After the system message is intercepted and captured, the process relevant information of Current software is obtained, and generate Message-text;
Message-text is sent to described information collection visitor by S4, the message interception module by the method for interprocess communication
Family end;
The Message-text that S5, the described information collection client parsing method by interprocess communication receive, and obtain
Take the relevant information that family uses software process;
S6, obtain the software without the mouse-keyboard operating time, calculate the operating time that user uses the software;
S7, the information obtained in all S6 generated into Message-text according to unified form, and stored to user terminal electricity
Brain.
The embodiment of the present invention 4, as shown in figure 1, under a kind of Windows acquisition software usage time information method, specifically
Comprise the following steps:
When S1, windows platform terminal computer start, automatic running information acquisition client, communicate between launching process clothes
Business, inject message interception module DLL to Windows systems using HOOK technologies;
S2, user to software operate simultaneously generation system message, and intercepting and capturing the software by message interception module exists
The system message of interface display caused by operation when user operates;
S3, the message interception module obtain the process relevant information of Current software after the system message is intercepted and captured, and
Generate Message-text;
Message-text is sent to described information collection visitor by S4, the message interception module by the method for interprocess communication
Family end;
The Message-text that S5, the described information collection client parsing method by interprocess communication receive, and obtain
The relevant information that family uses software process is taken, described information collection client production is gathered by gathering information log reporting unit
Raw all log informations, and report the journal file;
S6, obtain the software without the mouse-keyboard operating time, calculate the operating time that user uses the software;
S7, the information obtained in all S6 generated into Message-text according to unified form, store it in PC
It is preceding also to include:The activity time of software and daily record is generated as according to the user using the associated information calculation of software process
Information, and store and arrive user terminal computer.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any
Those familiar with the art the invention discloses technical scope in, the change or replacement that can readily occur in, all should
It is included within the scope of the present invention.Therefore, protection scope of the present invention should it is described using scope of the claims as
It is accurate.
Claims (8)
1. a kind of method of acquisition software usage time information under Windows, it is characterised in that specifically comprise the following steps:
When S1, windows platform terminal computer start, automatic running information acquisition client, communication service between launching process, make
With HOOK technologies message interception module DLL is injected to Windows systems;
S2, user to software operate simultaneously generation system message, and intercepting and capturing the software by the message interception module exists
The system message of interface display caused by operation when user operates;
S3, the message interception module obtain the process relevant information of Current software, and generate after the system message is intercepted and captured
Message-text;
Message-text is sent to described information by the method for interprocess communication and gathers client by S4, the message interception module
End;
The Message-text that S5, the described information collection client parsing method by interprocess communication receive, and obtain use
Family uses the relevant information of software process;
S6, obtain the software without the mouse-keyboard operating time, calculate the operating time that user uses the software;
S7, the information obtained in all S6 generated into Message-text according to unified form, and store and arrive user terminal computer.
2. the method for acquisition software usage time information under Windows as claimed in claim 1, it is characterised in that described to disappear
Breath interception module is a dll file injected by HOOK technologies to Windows systems.
3. the method for acquisition software usage time information under Windows as claimed in claim 1, it is characterised in that the system
System message includes:Record is opened, closes and switched to computer usage record, software program.
4. the method for acquisition software usage time information under Windows as claimed in claim 1, it is characterised in that the step
Also include before rapid S3:Communication service between launching process, communication means include pipeline and socket.
5. the method for acquisition software usage time information under Windows as claimed in claim 1, it is characterised in that the step
In rapid S5 after described information collection client obtains relevant information of the user using software process, by gathering in information log
All log informations caused by declaration form member collection described information collection client, and report the journal file.
6. the method for acquisition software usage time information under Windows as claimed in claim 1, it is characterised in that described
Step S7, also include before storing in PC:According to the user using the associated information calculation of software process
The activity time of software is simultaneously generated as log information.
7. the method for acquisition software usage time information under Windows as claimed in claim 1, it is characterised in that the step
Also include before communication service between launching process in rapid S1:Believed by the acquisition control for gathering information control unit parsing configuration
Breath;Control the item of information of described information collection client collection.
A kind of 8. system of acquisition software usage time information under Windows, it is characterised in that including:
Information acquisition client:For parsing the Message-text received, the activity time of the software is then calculated, and store and arrive
In PC;
Message interception module:For system message caused by intercepting and capturing the running software, the process of current software program is obtained
Number information, and by the process number information transmission to information acquisition client;
Gather information log reporting unit:For reporting the journal file of described information collection client generation to server, and
The journal file of collection described information collection client generation reports the object information after server;
Gather information control unit:For parsing the acquisition control information of configuration, control described information collection client collection
Item of information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610744466.1A CN107783878A (en) | 2016-08-27 | 2016-08-27 | The method and system of acquisition software usage time information under a kind of Windows |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610744466.1A CN107783878A (en) | 2016-08-27 | 2016-08-27 | The method and system of acquisition software usage time information under a kind of Windows |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107783878A true CN107783878A (en) | 2018-03-09 |
Family
ID=61441058
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610744466.1A Pending CN107783878A (en) | 2016-08-27 | 2016-08-27 | The method and system of acquisition software usage time information under a kind of Windows |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107783878A (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101599038A (en) * | 2009-05-27 | 2009-12-09 | 腾讯科技(北京)有限公司 | A kind of logging software uses the system and method for information |
US20120290718A1 (en) * | 2011-05-10 | 2012-11-15 | Glenn Nethercutt | Methods and Computer Program Products for Collecting Storage Resource Performance Data Using File System Hooks |
CN103530218A (en) * | 2013-10-09 | 2014-01-22 | 韩金倡 | Monitoring triggering method based on behavior detection |
-
2016
- 2016-08-27 CN CN201610744466.1A patent/CN107783878A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101599038A (en) * | 2009-05-27 | 2009-12-09 | 腾讯科技(北京)有限公司 | A kind of logging software uses the system and method for information |
US20120290718A1 (en) * | 2011-05-10 | 2012-11-15 | Glenn Nethercutt | Methods and Computer Program Products for Collecting Storage Resource Performance Data Using File System Hooks |
CN103530218A (en) * | 2013-10-09 | 2014-01-22 | 韩金倡 | Monitoring triggering method based on behavior detection |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104270275B (en) | Auxiliary analysis method for abnormal reasons, server and intelligent device | |
CN102469117B (en) | Method and device for identifying abnormal access action | |
CN109960621A (en) | A kind of data pick-up method based on big data visual control platform | |
KR20160120714A (en) | Systems and methods for collecting, tracking, and storing system performance and event data for computing devices | |
CN105490854A (en) | Real-time log collection method and system, and application server cluster | |
CN104281520A (en) | Tracking and debugging method, device and system | |
CN102752371B (en) | In client, realize method and the client of dodging screen | |
CN105808417A (en) | Automated testing method and proxy server | |
CN105160251A (en) | Analysis method and device of APK (Android Packet) application software behavior | |
CN202372854U (en) | System capable of realizing self-service automobile on-line diagnosis via intelligent cell phone through establishment of transparent channel | |
CN105759247A (en) | Radar comprehensive recorder and radar data recording method | |
CN103490978A (en) | Terminal, server and message monitoring method | |
CN110493085A (en) | Statistical method, system, electronic equipment and the medium of IPv6 active users | |
CN205281498U (en) | Experiment original gathers processing system based on mobile intelligent Terminal | |
CN107888394B (en) | Method and device for positioning network fault reason | |
CN102122430A (en) | Device and method for collecting agricultural product information | |
CN107783878A (en) | The method and system of acquisition software usage time information under a kind of Windows | |
CN103677882A (en) | Virtual installation device and method of mobile phone program | |
CN202268912U (en) | Data management system based on cloud computation structure | |
CN105163336B (en) | Optimize the method and system of wireless network stability | |
CN103780446A (en) | Method and system for monitoring network bandwidth resource in real time | |
WO2012139462A1 (en) | Method, device, and system that enable signaling tracking | |
EP2278468A3 (en) | System and method for tracking application usage | |
CN106850394B (en) | A kind of display methods and device of the message of session group | |
CN104486157A (en) | Information system performance detecting method based on deep packet analysis |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180309 |