CN105512014B - A kind of method and apparatus of application program service condition data acquisition - Google Patents
A kind of method and apparatus of application program service condition data acquisition Download PDFInfo
- Publication number
- CN105512014B CN105512014B CN201510917356.6A CN201510917356A CN105512014B CN 105512014 B CN105512014 B CN 105512014B CN 201510917356 A CN201510917356 A CN 201510917356A CN 105512014 B CN105512014 B CN 105512014B
- Authority
- CN
- China
- Prior art keywords
- windows
- front ends
- application program
- values
- process path
- 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.)
- Active
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/34—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
- G06F11/3438—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment monitoring of user actions
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/34—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
- G06F11/3466—Performance evaluation by tracing or monitoring
- G06F11/3476—Data logging
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
- Debugging And Monitoring (AREA)
Abstract
The present invention provides a kind of method and apparatus of application program service condition data acquisition, are related to technical field of data processing, the method for application program service condition data acquisition provided by the invention, including:Obtain the MD5 values in the front ends the Windows program process path;The mapping of the MD5 values and the front ends the Windows program process path in the front ends the Windows program process path is established, forms mapping table one, and store the mapping table one;The mapping that the front ends Windows application program always uses duration and the MD5 values in the front ends the Windows program process path is established, mapping table two is formed;The mapping table two is sent to server, receives the process path for the unknown front ends the Windows application program that server returns.The method and apparatus of application program service condition data acquisition provided by the invention, solve the problems, such as to lack the method for carrying out data acquisition to application program service condition in the prior art, user are facilitated to understand the service condition of application program.
Description
Technical field
The present invention relates to data acquisition technology fields, more particularly, to a kind of side of application program service condition data acquisition
Method and device.
Background technology
With the development of science and technology, user uses the application program of more and more various functions.For enterprise, it is
Understand the case where enterprise staff uses application program daily, understand employee's work hours whether reasonable employment application program, need
The service condition data of acquisition applications program are wanted to understand the case where employee is using application program, are lacked in the prior art to application
The method that program service condition carries out data acquisition.
Invention content
In view of this, it is an object of the present invention to provide a kind of method of application program service condition data acquisition, solution
Certainly lack the problem of method of data acquisition is carried out to application program service condition in the prior art, facilitates user to understand and apply journey
The service condition of sequence.
A kind of method of application program service condition data acquisition provided by the invention, including:
The front ends Windows api functions acquisition Windows application program, the acquisition front ends Windows is called to answer
With the process path of program and the MD5 values in the calculating front ends the Windows program process path;
The MD5 values and the front ends Windows for establishing the front ends the Windows program process path apply journey
The mapping of sequence process path forms mapping table one, and stores the mapping table one;
Window application is scanned, after the Multiple-Scan that adds up when the use of the front ends Windows application program
It is long, it establishes the front ends Windows application program and always uses duration and the front ends the Windows program process path
MD5 values mapping, formed mapping table two;
The mapping table two is sent to server, the unknown front ends Windows that server returns is received and answers
With the MD5 values in program process path.
Wherein, after the mapping table two being sent to server, including:By the front ends Windows application program
The MD5 values of process path are matched with the software information stored in the software information base of the server high in the clouds, judge the Windows
Whether front end application program is in server high in the clouds software information base.
Wherein, further include:If the front ends Windows application program in server high in the clouds software information base,
According to the mapping table two, always making for the corresponding software of MD5 values in the front ends the Windows program process path is recorded
Use duration.
Wherein, further include:If the front ends Windows application program not in server high in the clouds software information base,
Then receive the MD5 values that the server returns to the unknown front ends the Windows program process path.
Wherein, further include:According to the mapping table one, the unknown Windows of the server return is obtained most
The corresponding software information of MD5 values of front-end application process path, is sent to server, updates server high in the clouds software
Information bank.
Wherein, judge the front ends Windows application program whether in the software information base of the server high in the clouds
Step includes:When the MD5 values and server high in the clouds software information base in the front ends the Windows program process path
Described in software corresponding MD5 values matching it is consistent when, then judge the front ends Windows application program in the server cloud
Hold software information base;If inconsistent, judge that the front ends Windows application program is not believed in server high in the clouds software
Cease library.
Wherein, the software information includes:The title of software MD5 values corresponding with the software.
Wherein, Windows api functions are called and it is determined whether to enable screen protections, if opening the screen protection,
The front ends Windows application program uses duration when filtering out the unlatching screen protection.
Wherein, window application is scanned, the front ends the Windows application program after cumulative Multiple-Scan
Using duration when, filter out Windows from tape program use duration.
It is a further object to provide a kind of devices of application program service condition data acquisition, solve existing skill
Lack the problem of method of data acquisition is carried out to application program service condition in art, user is facilitated to understand the use of application program
Situation.
A kind of device of application program service condition data acquisition provided by the invention, including:
First module:MD5 values for obtaining the front ends the Windows program process path;
Second module:For establish the MD5 values in the front ends the Windows program process path with it is described
The mapping in the front ends Windows program process path forms mapping table one, and stores the mapping table one;
Third module:For establish the front ends Windows application program always use duration and the Windows most before
The mapping of the MD5 values in program process path is held, mapping table two is formed;
4th module:For mapping table two to be sent to server, the unknown Windows that server returns is received
The MD5 values in front end program process path.
Compared with prior art, illustrative embodiment of the invention includes following advantages:
The present invention provides a kind of method and apparatus of application program service condition data acquisition, and solution lacks in the prior art
The problem of carrying out the method for data acquisition to application program service condition facilitates user to understand the service condition of application program.
Description of the drawings
Fig. 1 is the flow chart of the method for application program service condition data of the present invention acquisition;
Fig. 2 is the flow chart of the device of application program service condition data of the present invention acquisition.
Specific implementation mode
The present invention provides a kind of method and apparatus of application program service condition data acquisition, referring now to Fig. 1 and Fig. 2, such as
Shown in Fig. 1, a kind of method of application program service condition data acquisition is disclosed, is included the following steps:
Before S11, calling Windows api functions obtain the front ends Windows application program, the acquisition Windows most
It holds the process path of application program and calculates the MD5 values in the front ends the Windows program process path;
S12, the MD5 values for establishing the front ends the Windows program process path and the front ends Windows are answered
With the mapping of the process path of program, mapping table one is formed, and store the mapping table one;
S13, window application is scanned, the front ends Windows application program makes after the Multiple-Scan that adds up
With duration, establishes the front ends Windows application program and always use duration and the front ends Windows program process
The mapping of the MD5 values in path forms mapping table two;
S14, the mapping table two is sent to server, before receiving the unknown Windows that server returns most
Hold the MD5 values in program process path.
Be sent in server be the front ends Windows program process path MD5 values with always use duration
Mapping table two, rather than the title of the front ends Windows application program and total mapping table two for using duration, are primarily due to
The occupied memory space of MD5 values in the front ends Windows program process path is small so that needs to be sent to service every time
The information content of device is seldom, reduces the use to network.
In some embodiments, after the mapping table two being sent to server, including:By the Windows most before
The MD5 values in end program process path are matched with the software information stored in the software information base of the server high in the clouds, are judged
Whether the front ends Windows application program is in server high in the clouds software information base.
The ability for the storage dbase MD5 values corresponding with the software for relying on high in the clouds software information base powerful, compares appearance
Easy realization is sent in MD5 values and the high in the clouds software information base in the front ends the Windows program process path of server
The MD5 values of storage match, and further according to mapping table two, realize that the MD5 values in the front ends Windows program process path are corresponding
Dbase and total unification for using duration, make the use feelings that application program is just clearly known after administrative staff's login service device
Condition.
In some embodiments, after the mapping table two being sent to server, further include:If the Windows is most
Front-end application is in server high in the clouds software information base, then according to the mapping table two, before recording the Windows most
That holds the corresponding software of MD5 values in program process path always uses duration.
In some embodiments, after the mapping table two being sent to server, further include:If the Windows is most
Front-end application not in server high in the clouds software information base, then receive the server return it is unknown described
The MD5 values in the front ends Windows program process path.
In some embodiments, after the mapping table two being sent to server, further include:According to the mapping table
One, the MD5 values for obtaining the unknown front ends the Windows program process path that the server returns are corresponding soft
Part information, is sent to server, updates server high in the clouds software information base.
If the front ends Windows application program is not in server high in the clouds software information base, i.e., in server high in the clouds
Matching is less than corresponding MD5 values in software information base, and server is just by the unknown front ends Windows program process path
MD5 values return, after the unknown message of return obtains processing, can be sent again to server high in the clouds software information base, cloud
End software information base can store corresponding information so that the information content of high in the clouds software information library storage becomes larger, Zhi Houzai
The completion matching that the secondary MD5 values for being sent to server are more prone to, the reduction of match time are conducive to fast recording and arrive
The front ends Windows application program always uses duration.
Wherein, judge the front ends Windows application program whether in the software information base of the server high in the clouds
Step includes:When the MD5 values and server high in the clouds software information base in the front ends the Windows program process path
Described in software corresponding MD5 values matching it is consistent when, then judge the front ends Windows application program in the server cloud
Hold software information base;If inconsistent, judge the front ends Windows application program not in server high in the clouds software information
Library.
Wherein, the software information includes:The title of software MD5 values corresponding with the software.
When the MD5 values one stored in the MD5 values in the front ends Windows program process path and high in the clouds software information base
When cause, the title of the corresponding software of MD5 values in the front ends Windows program process path will be known so that administrator
The use duration that each application program corresponds to clearly is learnt when member's login service device, so being to need in the software information of high in the clouds
Store the title MD5 values corresponding with the software of software.
In some embodiments, Windows api functions are called and it is determined whether to enable screen protections, if opening the screen
Curtain protection, then the front ends Windows application program uses duration when filtering out the unlatching screen protection.
When due to opening screen protection, the screen protection program of unlatching is as the front ends Windows application program, at this time
Screen protection program is not have reference value using duration, so record does not include always opening screen to protect using duration
The use duration of the used front ends Windows application program when shield, under the influence of not by screen protection, effectively accurately
Collect service condition data when Windows front end application program normal operations.
In some embodiments, scan window application, after the cumulative Multiple-Scan Windows most before
When using duration of application program is held, Windows is filtered out and uses duration from tape program.
When scanning window application, some Windows may be scanned from tape program, for example, Windows systems
Journey is applied in included Windows task managers, window explorer and control panel etc., the front ends Windows of adding up
Sequence uses the duration that uses that above-mentioned Windows systems included program will be filtered out when duration, effectively accurately collection
Service condition data when the application program normal operation of the front ends Windows.
As shown in Fig. 2, disclosing a kind of device of application program service condition data acquisition, include the following steps:
First module S21:MD5 values for obtaining the front ends the Windows program process path;
Second module S22:For establish the MD5 values in the front ends the Windows program process path with it is described
The mapping in the front ends Windows program process path forms mapping table one, and stores the mapping table one;
Third module S23:Duration and the Windows are always used for establishing the front ends Windows application program
The mapping of the MD5 values in front end program process path forms mapping table two;
4th module S24:For mapping table two to be sent to server, receive that server returns is unknown described
The MD5 values in the front ends Windows program process path.
It is provided for the embodiments of the invention a kind of method and apparatus of application program service condition data acquisition above, into
It has gone and has been discussed in detail, specific case used herein is expounded the principle and embodiment of the embodiment of the present invention, with
The explanation of upper embodiment is merely used to help understand the method and its core concept of the embodiment of the present invention;Meanwhile for this field
Those skilled in the art, the thought of embodiment, has change in specific embodiments and applications according to the present invention
Place, in conclusion the content of the present specification should not be construed as the limitation to the embodiment of the present invention.
Claims (10)
1. a kind of method of application program service condition data acquisition, which is characterized in that including:
Windows api functions are called to obtain the front ends Windows application program, obtain the front ends Windows using journey
The process path of sequence and the MD5 values for calculating the front ends the Windows program process path;
Establish the MD5 values in the front ends the Windows program process path and the front ends Windows application program into
The mapping in journey path forms mapping table one, and stores the mapping table one;
Window application is scanned, the use duration of the front ends Windows application program after the Multiple-Scan that adds up,
It establishes the front ends Windows application program and always uses duration and the front ends the Windows program process path
The mapping of MD5 values forms mapping table two;
The mapping table two is sent to server, the unknown front ends Windows that server returns is received and applies journey
The MD5 values of sequence process path.
2. the method for application program service condition data acquisition according to claim 1, which is characterized in that by the mapping
Table two is sent to after server, including:By the MD5 values and server in the front ends the Windows program process path
Whether the software information matching stored in the software information base of high in the clouds, judge the front ends Windows application program in the clothes
Business device high in the clouds software information base.
3. the method for application program service condition data acquisition according to claim 2, which is characterized in that further include:If
The front ends Windows application program, then according to the mapping table two, records institute in server high in the clouds software information base
That states the corresponding software of MD5 values in the front ends Windows program process path always uses duration.
4. the method for application program service condition data acquisition according to claim 3, which is characterized in that further include:If
The front ends Windows application program in server high in the clouds software information base, does not then receive the server and returns not
The MD5 values in the front ends the Windows program process path known.
5. the method for application program service condition data acquisition according to claim 4, which is characterized in that further include:Root
According to the mapping table one, the unknown front ends the Windows program process path that the server returns is obtained
The corresponding software information of MD5 values, is sent to server, updates server high in the clouds software information base.
6. the method for application program service condition data acquisition according to claim 2, which is characterized in that described in judgement
Whether the step in the software information base of the server high in the clouds includes the front ends Windows application program:As the Windows
The MD5 values in front end program process path MD5 values corresponding with software described in the software information base of the server high in the clouds
When matching consistent, then judge the front ends Windows application program in server high in the clouds software information base;If differing
It causes, then judges the front ends Windows application program not in server high in the clouds software information base.
7. the method for application program service condition data acquisition according to claim 2, which is characterized in that the software
Information includes:The title of software MD5 values corresponding with the software.
8. the method for application program service condition data acquisition according to claim 1, which is characterized in that call
Windows api functions and it is determined whether to enable screen protections filter out if opening the screen protection and open the screen
The front ends Windows application program uses duration when protection.
9. the method for application program service condition data acquisition according to claim 1, which is characterized in that scanning
Window application, when using duration of the front ends Windows application program, filtering after cumulative Multiple-Scan
Fall Windows and uses duration from tape program.
10. a kind of device of application program service condition data acquisition, which is characterized in that including:
First module:MD5 values for obtaining the front ends Windows program process path;
Second module:MD5 values and the Windows for establishing the front ends the Windows program process path are most
The mapping of front-end application process path forms mapping table one, and stores the mapping table one;
Third module:It is always answered with the front ends Windows using duration for establishing the front ends Windows application program
With the mapping of the MD5 values in program process path, mapping table two is formed;
4th module:For mapping table two to be sent to server, before receiving the unknown Windows that server returns most
Hold the MD5 values in program process path.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510917356.6A CN105512014B (en) | 2015-12-10 | 2015-12-10 | A kind of method and apparatus of application program service condition data acquisition |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510917356.6A CN105512014B (en) | 2015-12-10 | 2015-12-10 | A kind of method and apparatus of application program service condition data acquisition |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105512014A CN105512014A (en) | 2016-04-20 |
CN105512014B true CN105512014B (en) | 2018-09-25 |
Family
ID=55720015
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510917356.6A Active CN105512014B (en) | 2015-12-10 | 2015-12-10 | A kind of method and apparatus of application program service condition data acquisition |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105512014B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018018310A1 (en) * | 2016-07-24 | 2018-02-01 | 张鹏华 | Usage data collecting method for computer screen locking technology, and screen locking system |
WO2018018316A1 (en) * | 2016-07-24 | 2018-02-01 | 张鹏华 | Data acquisition method during computer screen locking, and screen locking system |
WO2018023419A1 (en) * | 2016-08-02 | 2018-02-08 | 张阳 | Data collection method for music playback technology, and glasses |
WO2018023403A1 (en) * | 2016-08-02 | 2018-02-08 | 张阳 | Data collection method for check-in person replacement technology, and cancellation system |
WO2018023413A1 (en) * | 2016-08-02 | 2018-02-08 | 张阳 | Technical data feedback method used during answering phone call, and glasses |
WO2018023395A1 (en) * | 2016-08-02 | 2018-02-08 | 张阳 | Data collecting method for verification code extraction technology, and mobile phone |
WO2018023383A1 (en) * | 2016-08-02 | 2018-02-08 | 张阳 | Data collection method for tire pressure monitoring and alert technique, and alert system |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103019918A (en) * | 2011-09-27 | 2013-04-03 | 腾讯科技(深圳)有限公司 | Method and device for acquiring operating frequency of application program |
CN104267932A (en) * | 2014-08-12 | 2015-01-07 | 广州华多网络科技有限公司 | Method, device and server for operating databases |
CN104281504A (en) * | 2014-10-30 | 2015-01-14 | 广东欧珀移动通信有限公司 | MD5-code-based method and system applied to backup and reduction of application program data |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6079317B2 (en) * | 2013-03-05 | 2017-02-15 | 富士通株式会社 | Virtual computer system, its management method, and virtual computer system management program |
-
2015
- 2015-12-10 CN CN201510917356.6A patent/CN105512014B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103019918A (en) * | 2011-09-27 | 2013-04-03 | 腾讯科技(深圳)有限公司 | Method and device for acquiring operating frequency of application program |
CN104267932A (en) * | 2014-08-12 | 2015-01-07 | 广州华多网络科技有限公司 | Method, device and server for operating databases |
CN104281504A (en) * | 2014-10-30 | 2015-01-14 | 广东欧珀移动通信有限公司 | MD5-code-based method and system applied to backup and reduction of application program data |
Also Published As
Publication number | Publication date |
---|---|
CN105512014A (en) | 2016-04-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105512014B (en) | A kind of method and apparatus of application program service condition data acquisition | |
US20200007588A1 (en) | Method and System for Automated Cybersecurity Incident and Artifact Visualization and Correlation for Security Operation Centers and Computer Emergency Response Teams | |
WO2019228034A1 (en) | Method and apparatus for data synchronization | |
CN105094917B (en) | A kind of equipment processing method and electronic equipment | |
CN106685750A (en) | System anomaly detection method and device | |
CN109743532B (en) | Doorbell control method, electronic equipment, doorbell system and storage medium | |
CN105607799B (en) | Data processing method and device | |
CN106101256A (en) | Method and apparatus for synchrodata | |
CN103685354A (en) | Method and device for testing based on RMI protocol | |
CN108667713A (en) | Public platform is attended a banquet overtime based reminding method, device, equipment and storage medium | |
CN111049731A (en) | Instant chat application monitoring method and system | |
Ding et al. | Fluid approximation of a call center model with redials and reconnects | |
CN108073720A (en) | Data quality management system and method applied to big data system | |
CN107230032A (en) | A kind of electronic device manages big data analysis system | |
US10826927B1 (en) | Systems and methods for data exfiltration detection | |
US9258374B2 (en) | Method and system for capturing expertise of a knowledge worker in an integrated breadcrumb trail of data transactions and user interactions | |
CN108540471B (en) | Mobile application network traffic clustering method, computer readable storage medium and terminal | |
CN105094810B (en) | Data processing method and device based on CGI(Common gateway interface) plug-in unit | |
CN108521435B (en) | Method and system for user network behavior portrayal | |
US20230037602A1 (en) | Information processing method and apparatus, node device, server and storage medium | |
CN109683989A (en) | The automatic acquiring method and device of incidence relation between a kind of configuration item | |
CN109255016A (en) | Answer method, device and computer readable storage medium based on deep learning | |
Sarmento et al. | Streaming networks sampling using top-k networks | |
CN107357703A (en) | A kind of terminal applies power consumption detection method and server | |
CN108073638A (en) | Data diagnosis method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder | ||
CP01 | Change in the name or title of a patent holder |
Address after: 100041, room 2, building 3, building 30, Xing Xing street, Shijingshan District, Beijing, Patentee after: Beijing Falcon Safety Technology Co., Ltd Address before: 100041, room 2, building 3, building 30, Xing Xing street, Shijingshan District, Beijing, Patentee before: BEIJING KINGSOFT SECURITY MANAGEMENT SYSTEM TECHNOLOGY Co.,Ltd. |