CN107122284A - Using monitoring method, device, electronic equipment and storage medium - Google Patents

Using monitoring method, device, electronic equipment and storage medium Download PDF

Info

Publication number
CN107122284A
CN107122284A CN201710308473.1A CN201710308473A CN107122284A CN 107122284 A CN107122284 A CN 107122284A CN 201710308473 A CN201710308473 A CN 201710308473A CN 107122284 A CN107122284 A CN 107122284A
Authority
CN
China
Prior art keywords
application
time
action record
information
record information
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
Application number
CN201710308473.1A
Other languages
Chinese (zh)
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.)
Alibaba China Co Ltd
Original Assignee
Guangzhou Youshi Network Technology 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 Guangzhou Youshi Network Technology Co Ltd filed Critical Guangzhou Youshi Network Technology Co Ltd
Priority to CN201710308473.1A priority Critical patent/CN107122284A/en
Publication of CN107122284A publication Critical patent/CN107122284A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3051Monitoring arrangements for monitoring the configuration of the computing system or of the computing system component, e.g. monitoring the presence of processing resources, peripherals, I/O links, software programs

Abstract

The invention discloses one kind application monitoring method, device, electronic equipment and storage medium.The monitoring method includes:Obtain the action record information of the application of operation on the terminal device in predetermined amount of time;Based on action record information, it is determined that the operation information of application, operation information includes the number of starts and/or operation duration of application.The operation information of identified application represents the actual use situation of application, therefore can recommend suitable new opplication to user according to the operation information of application.

Description

Using monitoring method, device, electronic equipment and storage medium
Technical field
It is more particularly to a kind of to apply monitoring method, device, electronic equipment and deposit the present invention relates to monitoring field is applied Storage media.
Background technology
With the popularization and development of smart machine, various APP applications emerge in an endless stream.How effectively to recommend to terminal user Suitable application, is the subject matter faced using recommendation business.
At present, existing application suggested design is to obtain the current mounted list of application of terminal user mostly, by right List of application has been installed to be analyzed, has shown that the correlation application of suitable user is recommended.But, mounted list of application is not The hobby of user and the actual use situation of application can be reflected exactly.For example, what the application installed on the terminal device had It is the preassembled not off-loadable application of manufacturer, what is had is then the application being rarely employed after user installation, and these applications are not The application that user can be represented uses hobby.Therefore, the correlation application of user is drawn according only to the mounted list of application of user Recommendation is inaccurate.
Thus, it is desirable to a kind of application monitoring scheme for the service condition that can obtain the application installed on terminal device, To allow to the actual use situation according to application, suitable application is recommended to user.
The content of the invention
It is a primary object of the present invention to provide a kind of to obtain the service condition for the application installed on terminal device Application monitoring method, device, electronic equipment and storage medium.
According to an aspect of the invention, there is provided one kind application monitoring method, including:Obtain in predetermined amount of time and run The action record information of application on the terminal device;Based on action record information, it is determined that the operation information of application, operation information The number of starts and/or operation duration including application.
The operation information of identified application represents the actual use situation of application, thus, it is possible to according to the fortune of application Row information, suitable new opplication is recommended to user.
Preferably, the application run in predetermined amount of time on the terminal device can be obtained with first scheme or alternative plan Action record information, first scheme includes:The current application shown on terminal device is obtained with predetermined period;Record is every The application of secondary acquisition and its time is obtained as the action record information of the application, alternative plan includes:Call operation system Using use state manager with obtain run in predetermined amount of time one or more applications on the terminal device action remember Record information, wherein, for same application action record information include the internal one or more assemblies of application startup and/or Exit the time of origin of event and each event.
Thus, it is possible to be believed by the action record for setting up the application that backstage poll services are run to obtain on terminal device Breath, can also obtain the action note of application by calling the application use state manager that the operating system of terminal device is provided Record information.
Preferably, do not provide using use state manager or do not open using use state manager in terminal device In the case of access right, action record information can be obtained with first scheme, be provided in terminal device and apply use state pipe Manage device, and in the case of opening the access right using use state manager, action record can be obtained with alternative plan Information.
Thus, it is possible to according to actual conditions, choose suitable action record acquisition of information scheme.
Preferably, in the case where obtaining action record information with first scheme, determine to apply based on action record information Operation information the step of can include:Obtained in the application currently obtained and last time application it is different in the case of, will currently The number of starts of the application of acquisition adds 1, and the acquisition time of the application currently obtained is defined as to the startup time of current application And the dwell time of last time application;And calculate application dwell time and its start the difference of time as the application this Operation duration.
Preferably, in the case where obtaining action record information with alternative plan, determine to apply based on action record information Operation information the step of can include:It is for same application, the application is internal continuous one or more on a timeline The startup of component and/or exit the one-shot that event merges into the application;By the application inside continuous on a timeline one The startup of individual or multiple components and/or the duration for exiting event, when this operation under this time startup is applied as this It is long.Thus, it is possible to obtain the operation information accurately applied.
Preferably, this can also include using monitoring method:According to the operation information of application, recommend newly should to terminal user With.The new opplication recommended can be the related application of the number of starts is more in operation information or run time is longer application, It can also be the new opplication of the application different from being started in operation information.
Preferably, this can also include using monitoring method:Whether detection terminal device is in state of spreading its tail;Only in detection In the case of being in state of spreading its tail to terminal device, perform and obtain the dynamic of the application of the interior operation of predetermined amount of time on the terminal device The step of information of noting down.
Thus, monitoring method of the invention is performed by being only in terminal device under state of spreading its tail, it is possible to reduce need not The resource consumption wanted.
Preferably, terminal device is Android device.Thus, it is possible to which the application use state provided using Android system is managed Device UsageStatsManager obtains the action record information of application.
According to another aspect of the present invention, one kind application supervising device is additionally provided, including:Action record acquisition of information Unit, the action record information of application on the terminal device is run for obtaining in predetermined amount of time;Operation information determines single Member, for based on action record information, it is determined that the operation information of application, operation information includes the number of starts and/or fortune of application Row duration.
Preferably, action record information acquisition unit can include first information acquiring unit and/or the second acquisition of information Unit, is respectively used to obtain the action record information of the application of operation on the terminal device in predetermined amount of time, and the first information is obtained Unit is taken to include:Acquiring unit, for obtaining the current application shown on terminal device with predetermined period;Record Member, the application obtained every time for recording and its acquisition time are used as the action record information of the application, the second acquisition of information list Member can obtain one run in predetermined amount of time on the terminal device with call operation systematic difference use state manager The action record information of individual or multiple applications, wherein, the action record information for same application includes the application inside one Or multiple components startup and/or exit the time of origin of event and each event.
Preferably, do not provide using use state manager or do not open using use state manager in terminal device In the case of access right, action record information acquisition unit can obtain action record by first information acquiring unit and believe Breath, provides in terminal device and applies use state manager, and open the feelings of the access right using use state manager Under condition, action record information acquisition unit can obtain action record information by the second information acquisition unit.
Preferably, the feelings of action record information are obtained by first information acquiring unit in action record information acquisition unit Under condition, obtained in the application currently obtained and last time application it is different in the case of, operation information determining unit will be obtained currently The number of starts of application add 1, by the acquisition time of the application currently obtained be defined as the startup time of current application and on The dwell time of secondary application, and calculate application dwell time and its start difference of time as the application this operation when It is long.
Preferably, the feelings of action record information are obtained by the second information acquisition unit in action record information acquisition unit Under condition, for same application, operation information determining unit is by this using internal one or more assemblies continuous on a timeline Startup and/or exit the one-shot that event merges the application, and by internal continuous on a timeline one of the application or The startup of multiple components and/or the duration for exiting event, this operation duration under this time startup is applied as this.
According to another aspect of the present invention, a kind of electronic equipment is additionally provided, including:Processor;And memory, its On be stored with executable code, when executable code is executed by processor, the application monitoring for making computing device address above Method.
According to another aspect of the present invention, a kind of non-transitory machinable medium is additionally provided, is stored thereon There is executable code, when computing device of the executable code by electronic equipment, the application for making computing device address above Monitoring method.
Application monitoring method, device, electronic equipment and the storage medium of the present invention, terminal device is operated in by obtaining On application action record information, based on action record information determine application operation information.Set thus, it is possible to obtain terminal The practical operation situation of standby upper application.So as to the operation information according to obtained application, it can recommend suitably should to user With.
Brief description of the drawings
By the way that disclosure illustrative embodiments are described in more detail with reference to accompanying drawing, the disclosure above-mentioned and its Its purpose, feature and advantage will be apparent, wherein, in disclosure illustrative embodiments, identical reference number Typically represent same parts.
Fig. 1 is the schematic block diagram for the structure for showing electronic equipment according to an embodiment of the invention.
Fig. 2 is the indicative flowchart for showing application monitoring method according to an embodiment of the invention.
Fig. 3 is the indicative flowchart for showing application monitoring method according to another embodiment of the present invention.
Fig. 4 is the schematic block diagram for the structure for showing application supervising device according to an embodiment of the invention.
Embodiment
The preferred embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although showing the disclosure in accompanying drawing Preferred embodiment, however, it is to be appreciated that may be realized in various forms the disclosure without the embodiment party that should be illustrated here Formula is limited.On the contrary, these embodiments are provided so that the disclosure is more thorough and complete, and can be by the disclosure Scope intactly conveys to those skilled in the art.
Fig. 1 shows the schematic block diagram of electronic equipment according to an embodiment of the invention.
The electronic equipment 100 of the present invention can be a variety of terminal devices for being suitable to operation APP applications.It such as can be mobile meter Calculation machine or mobile computing device (for example, tablet PC, personal digital assistant, laptop computer, notebook, on Net this etc.), mobile phone (for example, smart mobile phone), wearable computing device (for example, intelligent watch, intelligent glasses etc.) or Other kinds of mobile device.The part of electronic equipment 100 includes but is not limited to processor 110 and memory 120.For example, electric Sub- equipment 100 can also include a variety of parts such as display screen, network interface.
In the polytype storage device for the content that memory 120 can include storage file form or other forms It is one or more, including magnetic hard disk drives, solid-state hard disk driver, semiconductor memory apparatus, flash memory, or being capable of storage program instruction Or any other computer-readable writable storage media of digital information.
Can be stored with executable code on memory 120, and processor 110 can perform the executable code.When can hold When line code is performed by processor 110, processor 110 can be made to perform the monitoring side of the application according to electronic equipment of the invention Method, will combine the monitoring method that the application of the present invention is described in detail in Fig. 2, Fig. 3 as follows.
Fig. 2 is the indicative flowchart for showing application monitoring method according to an embodiment of the invention.
Referring to Fig. 2, in step S210, the action record letter of the application of operation on the terminal device in predetermined amount of time is obtained Breath.
Predetermined amount of time described herein can be set according to actual conditions, for example can be one day, it is intraday some Predetermined amount of time (such as early 8 points to late 9 points), a week, a few days (working day, day off in such as one week) in a week Etc..
The action record information of the application of acquired operation on the terminal device can indicate to apply in the scheduled time Practical operation situation in section.It therefore, it can be based on action record information, it is determined that the operation information (step S220) of application.Its In, identified operation information can include the information such as the number of starts and/or operation duration of application.It therefore, it can basis Operation information determines accounting, the accounting of the number of starts of the use duration of application in predetermined amount of time, it can in addition contain based on big The operation information of amount terminal device is drawn using accounting using number of users etc..
According to operation information, suitable new opplication can be recommended to terminal user.New opplication described herein is primarily referred to as The application on terminal device is not installed at, it can be and the number of starts in identified predetermined amount of time is more or run time The positively related new opplication of longer application or negatively correlated or incoherent new opplication.
For example, identified operation information show the number of starts of the APP such as music player within a predetermined period of time compared with When many or run time is longer, music class APP can be recommended to user.For another example showing in identified operation information pre- The game APP number of starts is more in section of fixing time or during longer run time, can be to user's recommended article class APP.
To sum up, the present invention runs the action record information of application on the terminal device by obtaining, and can obtain terminal The practical operation situation of application in equipment, so as to the practical operation situation according to application, recommends suitable new to user Using.Thus, how to obtain the action record information of the application of operation on the terminal device becomes the key of the present invention, as Example, the present invention proposes two kinds of acquisition schemes of action record information.
1st, first scheme
The current application shown on terminal device can be obtained with predetermined period, record the application that obtains every time and its The acquisition time, as the action record information of the application, then determines the startup time of application according to the action record information recorded The operation information such as number and/or operation duration.
Specifically, obtained in the application currently obtained and last time application it is different in the case of, it is believed that last time is obtained The application taken is out of service, and the application currently obtained starts to start, it is possible thereby to during by the acquisition of the application currently obtained Between be defined as the startup time of current application and the dwell time of last time application, calculate the dwell time of application when starting with it Between difference can serve as this operation duration of the application.Starting every time it should be noted that can obtain and apply herein During operation duration, can also obtain using total operation duration within a predetermined period of time.
In addition, in the case that the application obtained in the application currently obtained and last time is different, will can also currently obtain The number of starts of application adds 1, and the number of starts for the application that last time obtains keeps constant.Thus, it is possible to obtain in predetermined amount of time The number of starts of the application of operation on the terminal device.
2nd, alternative plan
The application use state manager that the operating system of terminal device is provided can be called to obtain in predetermined amount of time The action record information of the one or more applications of operation on the terminal device.Wherein, acquired moving for same application Information of noting down can include the startup of the internal one or more assemblies of the application and/or exit the hair of event and each event The raw time.
Therefore, can opening the internal one or more assemblies continuous on a timeline of the application for same application Move and/or exit the one-shot that event merges into the application.And can be by the application inside continuous on a timeline one The startup of individual or multiple components and/or the duration for exiting event, when this operation under this time startup is applied as this It is long." continuous on time shaft " addressed herein refers to the middle startup/stopping event for not being spaced other application.
So that terminal device is the equipment based on Android operation system as an example, opened from Android system 5.0 (i.e. Android api >=21) Begin, increased newly using use state manager UsageStatsManager, therefore the application of Android system can be called to use shape State manager UsageStatsManager obtains the dynamic of the one or more applications of the interior operation of predetermined amount of time on the terminal device Note down information.
Specifically, it can obtain with call method UsageStatsManager.queryUsageStats () and specify the period The use information (class UsageStats encapsulates the use information of each application) of interior application, wherein acquired use information bag The number of starts and the foreground displaying time of application are included, but the number of starts therein refers to all groups in some period of application The number of starts summation of part (such as Activity, service), that is to say, that redirected if there is Activity using inside Deng, the number of starts will accordingly increase, therefore based on method UsageStatsManager.queryUsageStats () acquisitions " number of starts " the actual number of starts of application can not be reflected exactly.
Preferably, the method queryEvents () in UsageStatsManager can be called to obtain the dynamic of application Note down information.Can obtaining the action record applied in the specified period by method queryEvents (), (application is moved on to Foreground, using exiting foreground), and can returning in interface with internal the redirecting for Activity (activity) existed of an application Return and embodied in result.
Therefore, in order to obtain using the accurate number of starts, for some period obtained using queryEvents () The everything record of interior application, can be to its further merging treatment, by one or more activities inside same application The records of multiple startups/exit merge into the one-shot number of times of the application.For example, it is assumed that receive for a certain application Returning result is:A1C1 startups->A1C1 exits->A1C2 startups->A1C2 is exited, be exactly after merging treatment A1 start->A1 is moved back Go out, wherein A expressions activity Activity, C represents classification Class.
In addition, the time point that each event (start/exit) occurs can also be obtained by method queryEvents (), Thus, it is possible to obtain the time shaft of the startup of application in predetermined amount of time/exit situation, it is obtained with often by merging treatment Total use time of the individual use time applied in each start-up course and multiple start-up course.Specifically, can be by The startup of one or more assemblies and/or duration of event is exited inside continuous same application on a timeline, as This applies this operation duration under this time startup.
So far it is described in detail so that terminal device is the equipment based on Android operation system as an example by calling terminal device The application use state manager that provides of operating system to obtain the detailed process of action record information.It should be understood that at end When end equipment is based on other operating systems such as equipment of the operating system such as ios systems, wp systems, corresponding behaviour can also be used Make the application use state manager of system offer to obtain the action record information of application, specific acquisition modes may refer to Literary related description, is repeated no more here.
3rd, the selection of scheme
First scheme mentioned above needs should by what is currently shown on background service poll lookup terminal device With, therefore performance, electricity can be significantly consumed, by contrast, then performance consumption is smaller for second scheme.Therefore, in conditions permit In the case of, second scheme can be preferentially used, in the case where condition does not allow, the first scheme can be used.
Specifically, do not provide using use state manager or do not open using use state manager in terminal device In the case of access right, action record information can be obtained with first scheme, be provided in terminal device and apply use state pipe Manage device, and in the case of opening the access right using use state manager, action record can be obtained with alternative plan Information.
In addition, before the monitoring method of the present invention is performed, can also detect whether terminal device is in state of spreading its tail, only In the case where detecting terminal device in state of spreading its tail, the monitoring method of the present invention is performed.State described herein of spreading its tail Display screen including terminal device is in bright screen state and in released state.Thus, opened by being only in terminal device The monitoring method of the present invention is performed under screen state, it is possible to reduce the unnecessary wasting of resources.
Fig. 3 is to show the application monitoring schematic flow sheet under a specific embodiment of the invention, wherein, Fig. 3 is with terminal The operating system of equipment is to be described exemplified by Android system.
Referring to Fig. 3, step S311 can be performed first, judge whether system api is less than 21, can when judging api >=21 Being more than or equal to 5.0 with the version number for the operating system for assert terminal device, there is provided apply use state manager UsageStatsManager, can now perform step S331 to step S345 flow, can in decision-making system api < 21 It is less than 5.0 with the version number for the operating system for assert terminal device, does not provide using use state manager UsageStatsManager, can now perform step S312 to step S326 flow.
1. step S331~step S345
In step S331, determine whether whether terminal device is opened using use state manager UsageStatsManager access right, in the case where judging not open, can perform step S332, guiding user opens Authority is opened, in the case where judging to have turned on, step S341 can be jumped to, wait to be called., can after execution of step S332 To judge whether user opens authority (step S333), if user does not open authority, show priority assignation failure (step S334), the flow for performing step S312 to step S326 can now be returned.When judging that user opens authority, it can redirect To step S341, wait to be called.
Specific invoked procedure is as follows, obtains in step S342, calling system api and applies use information, can pass through here The method queryEvents () in UsageStatsManager is called to obtain the use of the application of operation on the terminal device Information.
In step S343, traversal obtains the use time each applied, and the use time obtained herein can be each answers Run time in each start-up course or application total run time within a predetermined period of time.
The life event information of application is obtained in step S344, calling system api, here can also be by calling Method queryEvents () in UsageStatsManager obtains the life event of the application of operation on the terminal device Information.Wherein, startup/stopping event of the internal one or more assemblies of application can be included by being applied to life event information, because This can perform step S345 after life event information is obtained, and traversal processing counts the number of starts each applied, here Processing procedure is mainly startup/stopping event of continuous multiple components merges into the application on a timeline in same application One-shot process.
2. step S312~step S326
When judging api < 21, the flow for performing step S312 to step S326 is as follows.Start poll services (step first Rapid S312), registration on-air monitor (step S313), to perform step S321 to step S326 monitoring flow, the monitoring stream Whether journey is mainly used in monitor terminal equipment in state of spreading its tail, and specific monitoring flow is as follows.
On-air monitor in real time or can be monitored periodically, (the step after the broadcast of on-air monitor is received S321), it can be determined that whether be bright screen broadcast (step S322), if it is, further determining whether to have unlocked (step S323), in the case where judging to have unlocked, step S314 can be jumped to, starts timer and is polled.If step S322 Judged result be no, then can perform step S324, judge whether that breath screen is broadcasted, if not can then determine whether it Whether (step S325) is broadcasted in unblock, if it is decided that result is broadcasted for unblock, then can jump to step S314, if it is decided that knot Fruit can perform step S326 not to be unblock broadcast, stop timer and be polled.It is yes in step S324 judged result In the case of, step S326 can be performed, stops timer and is polled.Start the poll after timer poll (step S314) Process is as follows.
Reach after the scheduled time (step S315), perform step S316, obtain uppermost application bag name, address here " uppermost application " can refer to the current application shown, bag name (Package on stack top application, i.e. terminal device Name) as the unique mark of application, it can be that application developers are formulated in development and application based on predetermined naming rule 's.
In the Bao Minghou for the application for obtaining terminal device current presentation, it can be determined that its whether with the bag of last registration name Different (step S317).In the case of judgement identical, polling operation next time can be carried out with return to step S315.
, can be with the case where step S317 result of determination is different, it is believed that the application of last registration has stopped Perform step S318 to store the accumulative use time and the number of starts of the application of last registration, by the application of last registration Accumulative use time and number of starts when being stored, can be preserved, for example, can be protected with wrapping entitled keyword (key) It is stored in SharePreferences, SharePreferences is a kind of light-duty Android data storage methods, is ability Well known to field technique personnel, no longer illustrate here.Wherein, the determination of the accumulative use time and the number of starts of application may refer to Above in association with the explanation of first scheme, also repeat no more here.
In step S319, record current application bag name and current time, current time is that may be considered current application The startup time.Wherein step S318 and step S319 execution sequence are not limited, and it can be carried out simultaneously, can also be first laggard OK.After execution of step S318 and step S319 record operation, poll next time can be continued waiting for return to step S315 Operation.
So far, the application monitoring flow under a specific embodiment of the invention is elaborated with reference to Fig. 3.With the present invention Application monitoring method it is corresponding, the invention also provides one kind application supervising device.
Fig. 4 is the functional block diagram for the structure for showing application supervising device according to an embodiment of the invention.Wherein, apply The functional module of supervising device 400 can be realized by the combination for the hardware, software or hardware and software for realizing the principle of the invention. It will be appreciated by persons skilled in the art that the functional module described by Fig. 4 can combine or be divided into submodule, from And realize the principle of foregoing invention.Therefore, description herein can be supported to any possible of functions described herein module Combine or divide or further limit.
Application supervising device 400 shown in Fig. 4 only can just should below for realizing the monitoring method shown in Fig. 2, Fig. 3 The operation that the functional module and each functional module that can have with supervising device 400 can be performed is described briefly, for it In the detail section that is related to may refer to description above in association with Fig. 2, Fig. 3, repeat no more here.
Referring to Fig. 4, include action record information acquisition unit 410 and operation information determining unit using supervising device 400 420。
Action record information acquisition unit 410 is used to obtain the dynamic of the application of the interior operation of predetermined amount of time on the terminal device Note down information, operation information determining unit 420 is used to be based on action record information, it is determined that the operation information of application, operation letter Breath includes the number of starts and/or operation duration of application.
As shown in figure 4, action record information acquisition unit 410 can include first information acquiring unit 411 and/or second Information acquisition unit 413.The information acquisition unit 413 of first information acquiring unit 411 and second may be respectively used for obtaining predetermined The action record information of the application of operation on the terminal device in period.Wherein, first information acquiring unit 411 can pass through The first scheme addressed above obtains the action record information of the application of operation on the terminal device in predetermined amount of time.Second letter Breath acquiring unit 413 can obtain the application run in predetermined amount of time on the terminal device by the alternative plan addressed above Action record information.
Briefly, first information acquiring unit 411 can include acquiring unit 4111 and recording unit 4113.Obtain single Member 4111 is used to obtain the current application shown on the terminal device with predetermined period, and recording unit 4113 is used to record The application that obtains every time and its acquisition time as the application action record information.
Second information acquisition unit 413 can obtain the scheduled time with call operation systematic difference use state manager The action record information of the one or more applications of operation on the terminal device in section, wherein, the action for same application is remembered Record information includes the startup of the internal one or more assemblies of the application and/or exits the time of origin of event and each event.
Application use state manager is not provided in terminal device or does not open the right to use of application use state manager In the case of limit, action record information acquisition unit 410 can obtain action record by first information acquiring unit 411 and believe Breath.Now, in the case that the application that was obtained in the application currently obtained and last time is different, operation information determining unit 420 can be with The number of starts of the application currently obtained plus 1, the acquisition time of the application currently obtained is defined as the startup of current application Time and the dwell time of last time application, and calculate the dwell time and its difference for starting the time of application and be used as the sheet of the application Secondary operation duration.
There is provided in terminal device and apply use state manager, and open the access right using use state manager In the case of, action record information acquisition unit 410 can obtain action record information by the second information acquisition unit 413. Now, for same application, operation information determining unit 420 can be internal continuous on a timeline one or many by the application The startup of individual component and/or the one-shot that event merges into the application is exited, and the application is internal continuous on a timeline One or more assemblies startup and/or exit duration of event, this fortune under this time startup is applied as this Row duration.
The electronic equipment and its content display method, dress according to the present invention above is described in detail by reference to accompanying drawing Put.
It is required that those skilled in the art can be understood that the technology in the embodiment of the present invention can add by software The mode of common hardware realize that common hardware includes universal integrated circuit, universal cpu, general-purpose storage, universal elements Deng, naturally it is also possible to application specific integrated circuit, dedicated cpu, private memory, special components and parts etc. are included come real by specialized hardware It is existing, but the former is more preferably embodiment in many cases.Understood based on such, the technical scheme sheet in the embodiment of the present invention The part contributed in other words to prior art in matter can be embodied in the form of software product, computer software production Product can be stored in storage medium, such as read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc, CD etc., including some instructions are to cause a computer equipment (can be People's computer, server, or network equipment etc.) perform described in some parts of each embodiment of the invention or embodiment Method.
Therefore, above-mentioned technical concept of the invention can also be implemented as a kind of non-transitory machinable medium (or computer-readable recording medium), is stored thereon with executable code (or computer program/computer instruction code).When this When executable code (or computer program/computer instruction code) is executed by processor, make the computing device described above Application monitoring method.
On the other hand, above-mentioned technical concept of the invention can also be implemented as a kind of computing device, the computing device bag Include processor and non-transitory machinable medium (or computer-readable recording medium).The non-transitory is machine readable to deposit Be stored with executable code (or computer program/computer instruction code) on storage media.When the executable code (or computer Program/computer instruction code) by the computing device when, make the application monitoring method that the computing device is described above.
In addition, the method according to the invention is also implemented as a kind of computer program, the computer program includes being used for The computer program code instruction of the above steps limited in the above method for performing the present invention.Or, according to the present invention's Method is also implemented as a kind of computer program product, and the computer program product includes computer-readable medium, in the meter The computer program for the above-mentioned functions limited in the above method for performing the present invention that are stored with calculation machine computer-readable recording medium.Ability Field technique personnel will also understand is that, various illustrative logical blocks, module, circuit and algorithm with reference to described by disclosure herein Step may be implemented as the combination of electronic hardware, computer software or both.
Flow chart and block diagram in accompanying drawing show that the possibility of the system and method for multiple embodiments according to the present invention is real Existing architectural framework, function and operation.At this point, each square frame in flow chart or block diagram can represent module, a journey A part for sequence section or code, a part for the module, program segment or code is comprising one or more defined for realizing The executable instruction of logic function.It should also be noted that in some realizations as replacement, the function of being marked in square frame also may be used With with different from the order marked in accompanying drawing generation.For example, two continuous square frames can essentially be performed substantially in parallel, They can also be performed in the opposite order sometimes, and this is depending on involved function.It is also noted that block diagram and/or stream The combination of each square frame in journey figure and the square frame in block diagram and/or flow chart, can use function or operation as defined in execution Special hardware based system realize, or can be realized with the combination of specialized hardware and computer instruction.
It is described above various embodiments of the present invention, described above is exemplary, and non-exclusive, and It is not limited to disclosed each embodiment.In the case of without departing from the scope and spirit of illustrated each embodiment, for this skill Many modifications and changes will be apparent from for the those of ordinary skill in art field.The selection of term used herein, purport The principle, practical application or the improvement to the technology in market of each embodiment are best being explained, or is making the art Other those of ordinary skill are understood that each embodiment disclosed herein.

Claims (15)

1. one kind application monitoring method, including:
Obtain the action record information of the application of operation on the terminal device in predetermined amount of time;And
Based on the action record information, the operation information of the application is determined, the operation information includes the startup time of application Number and/or operation duration.
2. application monitoring method according to claim 1, wherein, predetermined amount of time is obtained with first scheme or alternative plan The action record information of the application of interior operation on the terminal device,
The first scheme includes:
The current application shown on the terminal device is obtained with predetermined period;And
The application obtained every time and its acquisition time are recorded as the action record information of the application,
The alternative plan includes:
Call operation systematic difference use state manager is operated on the terminal device with obtaining in predetermined amount of time The action record information of one or more applications, wherein, the action record information for same application includes the application inside one The startup of individual or multiple components and/or the time of origin for exiting event and each event.
3. application monitoring method according to claim 2, wherein,
The application use state manager is not provided in the terminal device or does not open the application use state manager Access right in the case of, the action record information is obtained with the first scheme,
The application use state manager is provided in the terminal device, and opens the application use state manager In the case of access right, the action record information is obtained with the alternative plan.
4. application monitoring method according to claim 2, wherein, the action record information is being obtained with first scheme In the case of, the step of determining the operation information of the application based on the action record information includes:
Obtained in the application currently obtained and last time application it is different in the case of, the number of starts of the application currently obtained is added 1, and the acquisition time of the application currently obtained is defined as to the startup time of current application and the dwell time of last time application; And
The dwell time and its difference for starting the time for calculating application are used as this operation duration of the application.
5. application monitoring method according to claim 2, wherein, the action record information is being obtained with alternative plan In the case of, the step of determining the operation information of the application based on the action record information includes:
For same application, by the startup of the internal one or more assemblies continuous on a timeline of the application and/or thing is exited Part merges into the one-shot of the application;And
By the startup of the internal one or more assemblies continuous on a timeline of the application and/or exit duration of event, This operation duration under this time startup is applied as this.
6. application monitoring method according to claim 1, in addition to:
According to the operation information of application, new opplication is recommended to terminal user.
7. application monitoring method according to claim 1, in addition to:
Detect the terminal device whether in state of spreading its tail;
Only in the case where detecting the terminal device in state of spreading its tail, perform and operated in the acquisition predetermined amount of time The step of action record information of application on terminal device.
8. application monitoring method according to any one of claim 1 to 7, wherein, the terminal device is Android device.
9. one kind application supervising device, including:
Action record information acquisition unit, the action record of application on the terminal device is run for obtaining in predetermined amount of time Information;
Operation information determining unit, for based on the action record information, determining the operation information of the application, the operation Information includes the number of starts and/or operation duration of application.
10. application supervising device according to claim 9, wherein, the action record information acquisition unit includes first Information acquisition unit and/or the second information acquisition unit, are respectively used to obtain in predetermined amount of time and run on the terminal device The action record information of application,
The first information acquiring unit includes:
Acquiring unit, for obtaining the current application shown on the terminal device with predetermined period;And
Recording unit, the application obtained every time for recording and its acquisition time as the application action record information,
The second information acquisition unit call operation systematic difference use state manager is transported with obtaining in predetermined amount of time The action record information of one or more applications of the row on the terminal device, wherein, for the action record of same application Information includes the startup of the internal one or more assemblies of the application and/or exits the time of origin of event and each event.
11. application supervising device according to claim 10, wherein,
The application use state manager is not provided in the terminal device or does not open the application use state manager Access right in the case of, the action record information acquisition unit obtains described dynamic by the first information acquiring unit Note down information,
The application use state manager is provided in the terminal device, and opens the application use state manager In the case of access right, the action record information acquisition unit obtains the action by second information acquisition unit Record information.
12. application supervising device according to claim 10, wherein, pass through institute in the action record information acquisition unit In the case of stating the first information acquiring unit acquisition action record information,
Obtained in the application currently obtained and last time application it is different in the case of, the operation information determining unit will be obtained currently The number of starts of the application taken plus 1, and by the acquisition time of the application currently obtained be defined as the startup time of current application with And the dwell time that last time is applied, and calculate this operation that the dwell time and its difference for starting the time of application are used as the application Duration.
13. application supervising device according to claim 10, wherein, pass through institute in the action record information acquisition unit In the case of stating the second information acquisition unit acquisition action record information,
For same application, the operation information determining unit is internal continuous one or more groups on a timeline by the application The startup of part and/or the one-shot that event merges into the application is exited, and by the application inside continuous on a timeline one The startup of individual or multiple components and/or the duration for exiting event, when this operation under this time startup is applied as this It is long.
14. a kind of electronic equipment, including:
Processor;And
Memory, is stored thereon with executable code, when the executable code is by the computing device, makes the processing Device performs the application monitoring method as any one of claim 1-8.
15. a kind of non-transitory machinable medium, is stored thereon with executable code, when the executable code is electric During the computing device of sub- equipment, make application monitoring side of the computing device as any one of claim 1 to 8 Method.
CN201710308473.1A 2017-05-04 2017-05-04 Using monitoring method, device, electronic equipment and storage medium Pending CN107122284A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710308473.1A CN107122284A (en) 2017-05-04 2017-05-04 Using monitoring method, device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710308473.1A CN107122284A (en) 2017-05-04 2017-05-04 Using monitoring method, device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN107122284A true CN107122284A (en) 2017-09-01

Family

ID=59726573

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710308473.1A Pending CN107122284A (en) 2017-05-04 2017-05-04 Using monitoring method, device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN107122284A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109165145A (en) * 2018-09-11 2019-01-08 北京奇安信科技有限公司 A kind of the service condition statistical method and device of application program
CN109240779A (en) * 2018-08-03 2019-01-18 闻泰通讯股份有限公司 Time management system, method and the mobile terminal of mobile terminal

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2524549A1 (en) * 2004-10-26 2006-04-26 Platespin Ltd A system for conversion between physical machines, virtual machines and machine images
CN102360364A (en) * 2011-09-30 2012-02-22 奇智软件(北京)有限公司 Automatic application recommendation method and device
CN102647462A (en) * 2012-03-29 2012-08-22 奇智软件(北京)有限公司 Application acquisition and sending method and device
US20140366041A1 (en) * 2013-06-09 2014-12-11 Apple Inc. Dynamic Adjustment of Mobile Device Based on User Activity
CN104991914A (en) * 2015-06-23 2015-10-21 腾讯科技(深圳)有限公司 Application recommendation method and server
CN106293445A (en) * 2015-06-29 2017-01-04 腾讯科技(深圳)有限公司 Application program uses the acquisition methods of data, device and terminal unit

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2524549A1 (en) * 2004-10-26 2006-04-26 Platespin Ltd A system for conversion between physical machines, virtual machines and machine images
CN102360364A (en) * 2011-09-30 2012-02-22 奇智软件(北京)有限公司 Automatic application recommendation method and device
CN102647462A (en) * 2012-03-29 2012-08-22 奇智软件(北京)有限公司 Application acquisition and sending method and device
US20140366041A1 (en) * 2013-06-09 2014-12-11 Apple Inc. Dynamic Adjustment of Mobile Device Based on User Activity
CN104991914A (en) * 2015-06-23 2015-10-21 腾讯科技(深圳)有限公司 Application recommendation method and server
CN106293445A (en) * 2015-06-29 2017-01-04 腾讯科技(深圳)有限公司 Application program uses the acquisition methods of data, device and terminal unit

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109240779A (en) * 2018-08-03 2019-01-18 闻泰通讯股份有限公司 Time management system, method and the mobile terminal of mobile terminal
CN109165145A (en) * 2018-09-11 2019-01-08 北京奇安信科技有限公司 A kind of the service condition statistical method and device of application program

Similar Documents

Publication Publication Date Title
CN109656782A (en) Visual scheduling monitoring method, device and server
CN112214260B (en) Method and device for loading APP (application) of terminal
CN106569585B (en) A kind of method and terminal managing program process
CN107645562A (en) Data transmission processing method, device, equipment and system
Kostakos et al. Modelling smartphone usage: a markov state transition model
CN106354616B (en) Monitor the method, apparatus and high performance computing system of application execution performance
US20210135970A1 (en) System for generating alerts based on alert condition and optimistic concurrency control procedure
CN110362401A (en) Data run the member host in batch method, apparatus, storage medium and cluster
CN106209412B (en) Resource monitoring system and method thereof
CN106095413B (en) A kind of configuration method and device of bluetooth driver
CN111737075A (en) Execution sequence determination method and device, storage medium and electronic device
CN110347427A (en) The optimization method and device of web page code
CN108616668B (en) Method for monitoring dialing task, electronic device and computer readable storage medium
CN107122284A (en) Using monitoring method, device, electronic equipment and storage medium
Chien et al. Using genetic algorithms (GA) and a coloured timed Petri net (CTPN) for modelling the optimization-based schedule generator of a generic production scheduling system
CN104169883B (en) Message processing device, information processing method, server apparatus, search method and information processing system
CN109800124A (en) CPU usage monitoring method, device, electronic equipment and storage medium
CN106874079A (en) A kind of method and device of tasks carrying
CN111382026A (en) Caton monitoring method, device, system, storage medium and computer equipment
CN112817831A (en) Application performance monitoring method, device, computer system and readable storage medium
CN116048762A (en) Computer resource scheduling system based on historical data analysis
CN114281807A (en) Data quality auditing method, device, equipment and storage medium
CN108363529A (en) The determination method and device of the front stage operation time of Application Program Interface
CN110740172B (en) Routing management method, device and system based on micro-service architecture
CN109739598B (en) Terminal screen lightening method and device, equipment and storage medium

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
TA01 Transfer of patent application right

Effective date of registration: 20200902

Address after: 310052 room 508, floor 5, building 4, No. 699, Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province

Applicant after: Alibaba (China) Co.,Ltd.

Address before: 510627 Guangdong city of Guangzhou province Whampoa Tianhe District Road No. 163 Xiping Yun Lu Yun Ping square B radio tower 15 layer self unit 02

Applicant before: GUANGZHOU UC NETWORK TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
RJ01 Rejection of invention patent application after publication

Application publication date: 20170901

RJ01 Rejection of invention patent application after publication