CN105095049A - Method and device used for monitoring application operation - Google Patents

Method and device used for monitoring application operation Download PDF

Info

Publication number
CN105095049A
CN105095049A CN201510505959.5A CN201510505959A CN105095049A CN 105095049 A CN105095049 A CN 105095049A CN 201510505959 A CN201510505959 A CN 201510505959A CN 105095049 A CN105095049 A CN 105095049A
Authority
CN
China
Prior art keywords
application
terminal
monitored
monitoring rules
configuration 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.)
Granted
Application number
CN201510505959.5A
Other languages
Chinese (zh)
Other versions
CN105095049B (en
Inventor
林委坤
张华键
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Anyi Hengtong Beijing 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 Anyi Hengtong Beijing Technology Co Ltd filed Critical Anyi Hengtong Beijing Technology Co Ltd
Priority to CN201510505959.5A priority Critical patent/CN105095049B/en
Publication of CN105095049A publication Critical patent/CN105095049A/en
Application granted granted Critical
Publication of CN105095049B publication Critical patent/CN105095049B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention discloses a method and device used for monitoring an application operation. The method comprises the steps that terminal configuration information of a terminal running a monitored application is read; a monitoring rule is allocated to the terminal based on the terminal configuration information, wherein the monitoring rule is generated based on configuration information obtained from at least one terminal and terminal running information; the current terminal running information of the terminal is obtained, and whether the monitored application is allowed to execute the preset operation or not is determined based on the monitoring rule. According to the implementation way, application operation monitoring effectiveness can be improved.

Description

For monitoring the method and apparatus of application operating
Technical field
The application relates to field of computer technology, is specifically related to operate control technology field, particularly relates to a kind of method and apparatus for monitoring application operating.
Background technology
Along with the development of Internet technology, the kind of terminal applies also gets more and more.In some cases, operationally, terminal also may can perform the certain operations of other application that application self or terminal are run to some terminal applies, the such as prompting message operation of social class application, the rogue program scan operation etc. of virus killing application.When these operations are performed, can impact the terminal applies run, such as, prompting message operation can affect the content display of the PowerPoint (PowerPoint, PPT) of played in full screen, etc.
In prior art, often through manually arranging or the presets list, when part terminal applies is run, forbid applying the execution of other certain operations applied that self or terminal are run.But prior art needs artificial participation or performs machinery for the presets list to judge, there is terminal data underutilization, causes the problem not high to the validity of the monitoring of application operating.
Summary of the invention
The object of the application is the method and apparatus for monitoring application operating proposing a kind of improvement, solves the technical matters that above background technology part is mentioned.
On the one hand, this application provides a kind of method for monitoring application operating, described method comprises: the terminal configuration information reading the terminal running the application monitored; Based on described terminal configuration information, to described terminal distribution monitoring rules, wherein, described monitoring rules generates based on the terminal configuration information obtained from terminal described at least one and terminal operating information; Obtain the terminal operating information that described terminal is current, based on described monitoring rules, determine whether that the application allowing to monitor performs scheduled operation.
In certain embodiments, the described terminal operating information application configuration information of application that comprises CPU occupation rate, memory usage, bandwidth occupancy rate and monitor.
In certain embodiments, described monitoring rules comprises: if terminal exists current other application run with screen mode toggle, forbid that monitored application performs the first operation, and wherein, described first operation comprises prompting operation; If terminal does not exist current other application run with screen mode toggle, detect the operation whether described terminal exists predetermined application; If exist, forbid that monitored application performs the first operation; If do not exist, the application monitored is allowed to perform the first operation.
In certain embodiments, described predetermined application obtains by the following method: obtain described application configuration information when multiple application runs respectively at least one terminal; Based on forbidding the number of times that monitored application performs the first operation and the ranking results allowing the application monitored to perform the ratio of the number of times that first operate in application configuration information, determine in described multiple application at least one be applied as and make a reservation for apply.
In certain embodiments, described based on described terminal configuration information, comprise to described terminal distribution monitoring rules: according to described terminal configuration information, based on the configuration level judgment models preset, determine the configuration level of terminal, wherein, described configuration level comprises first level, second level; According to described configuration level, distribute monitoring rules to described application.
In certain embodiments, when terminal configuration grade is second level, described monitoring rules comprises: if terminal operating information meets: CPU occupation rate lower than preset CPU occupation rate threshold value and memory usage lower than preset memory usage threshold value, the application monitored then is allowed to perform the second operation, wherein, when described second operation is included in execution, EMS memory occupation amount exceedes the operation of EMS memory occupation amount threshold value; Otherwise, forbid that monitored application performs the second operation.
In certain embodiments, when terminal configuration grade is second level, described monitoring rules comprises: if the bandwidth occupancy rate of terminal is higher than the bandwidth occupancy rate threshold value preset, then forbid that monitored application performs the 3rd operation, wherein, described 3rd operation is included in the operation performing Time Bandwidth occupancy and exceed pre-set bandwidths occupancy threshold value.
In certain embodiments, when terminal configuration grade is second level, described monitoring rules comprises: if the bandwidth occupancy rate of terminal is lower than the bandwidth occupancy rate threshold value preset, and when judging whether described 3rd operation is execution, EMS memory occupation amount exceedes the operation of EMS memory occupation amount threshold value; If, then judge whether terminal meets CPU occupation rate lower than the CPU occupation rate threshold value preset and memory usage lower than the memory usage threshold value preset simultaneously, if meet, allows the application monitored to perform the 3rd operation, otherwise, forbid that monitored application performs the 3rd operation.
In certain embodiments, when terminal configuration grade is first level, described monitoring rules comprises: when terminal meets the following conditions for the moment, allows the application monitored to perform the second operation or the 3rd operation: there is not the application outside operating system application in other application run; Input information is not detected in predetermined amount of time; Enter screen protection state.
In certain embodiments, described monitoring rules also comprises: in response to receiving the efficient setting operation of user to application configuration information, control the execution of the operation of the application monitored according to the efficient setting operation of user.
Second aspect, this application provides a kind of device for monitoring application operating, described device comprises: configuration information read module, is configured for the terminal configuration information reading the terminal running the application monitored; Monitoring rules distribution module, is configured for based on described terminal configuration information, and to described terminal distribution monitoring rules, wherein, described monitoring rules generates based on the terminal configuration information obtained from terminal described at least one and terminal operating information; Operation performs determination module, is configured for and obtains the current terminal operating information of described terminal, based on described monitoring rules, determines whether that the application allowing to monitor performs scheduled operation.
In certain embodiments, the described terminal operating information application configuration information of application that comprises CPU occupation rate, memory usage, bandwidth occupancy rate and monitor.
In certain embodiments, described monitoring rules comprises: if terminal exists current other application run with screen mode toggle, forbid that monitored application performs the first operation, and wherein, described first operation comprises prompting operation; If terminal does not exist current other application run with screen mode toggle, detect the operation whether described terminal exists predetermined application; If exist, forbid that monitored application performs the first operation; If do not exist, the application monitored is allowed to perform the first operation.
In certain embodiments, described predetermined application is obtained by predetermined application acquisition unit, and described predetermined application acquisition unit comprises: obtain subelement, is configured for the described application configuration information obtained when multiple application runs respectively at least one terminal; Determine subelement, be configured for based on forbidding the number of times that monitored application performs the first operation and the ranking results allowing the application monitored to perform the ratio of the number of times that first operate in application configuration information, determine in described multiple application at least one be applied as and make a reservation for apply.
In certain embodiments, described monitoring rules distribution module comprises: configuration level determining unit, is configured for according to described terminal configuration information, based on the configuration level judgment models preset, determine the configuration level of terminal, wherein, described configuration level comprises first level, second level; Monitoring rules allocation units, are configured for according to described configuration level, distribute monitoring rules to described application.
In certain embodiments, when terminal configuration grade is second level, described monitoring rules comprises: if terminal operating information meets: CPU occupation rate lower than preset CPU occupation rate threshold value and memory usage lower than preset memory usage threshold value, the application monitored then is allowed to perform the second operation, wherein, when described second operation is included in execution, EMS memory occupation amount exceedes the operation of EMS memory occupation amount threshold value; Otherwise, forbid that monitored application performs the second operation.
In certain embodiments, when terminal configuration grade is second level, described monitoring rules comprises: if the bandwidth occupancy rate of terminal is higher than the bandwidth occupancy rate threshold value preset, then forbid that monitored application performs the 3rd operation, wherein, described 3rd operation is included in the operation performing Time Bandwidth occupancy and exceed pre-set bandwidths occupancy threshold value.
In certain embodiments, when terminal configuration grade is second level, described monitoring rules comprises: if the bandwidth occupancy rate of terminal is lower than the bandwidth occupancy rate threshold value preset, and when judging whether described 3rd operation is execution, EMS memory occupation amount exceedes the operation of EMS memory occupation amount threshold value; If, then judge whether terminal meets CPU occupation rate lower than the CPU occupation rate threshold value preset and memory usage lower than the memory usage threshold value preset simultaneously, if meet, allows the application monitored to perform the 3rd operation, otherwise, forbid that monitored application performs the 3rd operation.
In certain embodiments, when terminal configuration grade is first level, described monitoring rules comprises: when terminal meets the following conditions for the moment, allows the application monitored to perform the second operation or the 3rd operation:
The application outside operating system application is there is not in other application run;
Input information is not detected in predetermined amount of time;
Enter screen protection state.
In certain embodiments, described monitoring rules also comprises: in response to receiving the efficient setting operation of user to application configuration information, control the execution of the operation of the application monitored according to the efficient setting operation of user.
The method and apparatus for monitoring application operating that the application provides, the terminal configuration information of terminal is thereon run by reading the application monitored, then based on terminal configuration information, to terminal distribution based on terminal configuration information and CPU occupation rate, memory usage, the terminal operating information such as the application configuration information of bandwidth occupancy rate and described application and the monitoring rules generated, then the terminal operating information of terminal described in Real-time Obtaining, based on described monitoring rules, the operation of monitored application is controlled, owing to introducing the end message such as terminal control information and terminal operating information, different control can be carried out to the application operating on different terminals, thus improve the validity of monitoring application operating.
Accompanying drawing explanation
By reading the detailed description to non-limiting example done with reference to the following drawings, the other features, objects and advantages of the application will become more obvious:
Fig. 1 shows the exemplary system architecture can applying the embodiment of the present application;
Fig. 2 is the process flow diagram of an embodiment of the method for monitoring application operating according to the application;
Fig. 3 is the application scenarios schematic diagram of the embodiment of the method for monitoring application operating according to the application;
Fig. 4 is the schematic diagram of another embodiment of the method for monitoring application operating according to the application;
Fig. 5 is the structural representation of an embodiment of the device for monitoring application operating according to the application;
Fig. 6 is the structural representation of the computer system of the electronic equipment be suitable for for realizing the embodiment of the present application.
Embodiment
Below in conjunction with drawings and Examples, the application is described in further detail.Be understandable that, specific embodiment described herein is only for explaining related invention, but not the restriction to this invention.It also should be noted that, for convenience of description, in accompanying drawing, illustrate only the part relevant to Invention.
It should be noted that, when not conflicting, the embodiment in the application and the feature in embodiment can combine mutually.Below with reference to the accompanying drawings and describe the application in detail in conjunction with the embodiments.
Fig. 1 shows the exemplary system architecture 100 can applying the embodiment of the present application.
As shown in Figure 1, system architecture 100 can comprise terminal device 101,102, network 103, server 104.Network 103 in order to provide the medium of communication link between terminal device 101,102 and server 104.Network 103 can comprise various connection type, such as wired, wireless communication link or fiber optic cables etc.
Terminal device 101,102 is mutual by network 103 and server 104, to receive or to send message etc.Terminal device 101,102 can be installed the application for monitoring application operating, the application of virus killing class, the application of social platform class, broadcast message class application etc.Server 104 can obtain terminal configuration information and the terminal operating information of terminal device 101,102 by the application for monitoring application operating, the application of virus killing class etc., and generate the monitoring rules to terminal applies according to terminal configuration information and terminal operating information, and distribute corresponding monitoring rules according to the different terminals configuration information of terminal device 101,102.Terminal device 101,102 can based on the monitoring rules obtained, and the terminal operating information current according to self, determines whether to allow application to perform scheduled operation.
Terminal device 101,102 can be various electronic equipment, includes but not limited to PC, smart mobile phone, intelligent watch, panel computer, personal digital assistant etc.
Server 104 can be to provide the server of various service.The process such as server can store the data received, analysis, and result is fed back to terminal device.
It should be noted that, what the embodiment of the present application provided can be performed by terminal device 101,102 for the step monitored in the method for application operating, also can be performed by server 104, enforcement division can also be distinguished step by step by terminal device 101,102 and server 104.Correspondingly, each module for monitoring the device of application operating can be arranged in terminal device 101,102, also can be arranged in server 104, partly can also be arranged in terminal device 101,102, partly be arranged in server 104.
Should be appreciated that the number of the terminal device in Fig. 1, network and server is only schematic.According to realizing needs, the terminal device of arbitrary number, network and server can be had.
Please refer to Fig. 2, it illustrates the flow process 200 of an embodiment of the method for monitoring application operating.The present embodiment is mainly applied in this way in the electronic equipment with certain arithmetic capability and illustrates.This is used for the method monitoring application operating, comprises the following steps:
Step 201, reads the terminal configuration information of the terminal running the application monitored.
In the present embodiment, electronic equipment (terminal device 101,102 such as shown in Fig. 1 or server 104) can from the terminal configuration information of terminal locally or remotely obtaining the application that operation is monitored.Specifically, when above-mentioned electronic equipment is exactly the terminal device running the application (such as may be used for monitoring the application of application operating, the application of virus killing class etc.) monitored, it directly can obtain terminal configuration information from this locality; And when above-mentioned electronic equipment is the background server provided support for monitored application, it can obtain the terminal configuration information of terminal by wired connection mode or radio connection from terminal device.Above-mentioned radio connection includes but not limited to 3G/4G connection, WiFi connection, bluetooth connection, WiMAX connection, Zigbee connection, UWB (ultrawideband) connection and other radio connection developed known or future now.
Wherein, terminal configuration information can be the hardware configuration parameter of reflection terminal various data-handling capacity, software configuration parameter and/or network configuration parameters.Hardware configuration parameter such as at least can comprise: central processing unit (CentralProcessingUnit, CPU) parameter, memory parameters, following at least one item can also be included but not limited to: hard disk praameter, parameters of video card, CD-ROM drive (CD drive) parameter, etc.It is how many etc. that CPU parameter can comprise frequency height and L2 cache size, three grades of cache size, core amounts, and such as, frequency is higher, L2 cache is larger, three grades buffer memory is larger, core is more, and CPU speed is faster; Memory parameters can comprise memory size, and such as, internal memory is larger, and access speed is faster; Hard disk praameter can comprise the rotating speed, read or write speed, hard-disk capacity, hard disk type (as solid state hard disc, mechanical hard disk, hybrid hard disk) etc. of hard disk, such as, hard disk type is that the hard disk processing of solid state hard disc is fastest, the rotation speed of hard disk is higher, read or write speed is faster, hard-disk capacity is larger, and hard disk processing speed is faster; Parameters of video card can comprise Data Stream Processing speed, video memory size etc., and such as, Data Stream Processing speed is faster, video memory is larger, and the response speed of video card is faster; CD-ROM drive parameter can comprise message transmission rate, CPU usage etc., and such as message transmission rate is larger, CPU usage is less, and CD ROM read-write speed is faster.
Software configuration parameter such as can include but not limited to following at least one item: operating system parameter, application parameter etc.Operating system parameter can comprise the hardware resource etc. that operating system takies, and such as, the hardware resource that operating system takies is fewer, and data processing speed is faster; Application parameter such as can comprise the number of applications that terminal is installed, and such as, the number of applications that terminal is installed is fewer, and hard-disk capacity takies fewer, and data processing speed is faster.
Network configuration parameters such as can include but not limited to bandwidth parameter.Bandwidth parameter can be the data bulk that can transmit at a fixed time between terminal and the network accessed, the data bits (bit) of such as transmission in 1 second.
Step 202, based on above-mentioned terminal configuration information, to terminal distribution monitoring rules.
In the present embodiment, above-mentioned terminal configuration information can gather by electronic equipment, the data-handling capacity of computing terminal, and to the terminal distribution monitoring rules corresponding to the data-handling capacity of this terminal.
In the present embodiment, the terminal that electronic equipment can run from least one application monitored in advance obtains terminal configuration information and terminal operating information, and according to the terminal configuration information of at least one obtained terminal and terminal operating information, generate various monitoring rules.Here, terminal operating information can be used for represent terminal operating time occupation condition and application configuration information.Such as, the application configuration information of application that terminal operating information can include but not limited to CPU occupation rate, memory usage, bandwidth occupancy rate and monitor, etc.
It will be understood by those skilled in the art that application operating is different, also different to the occupancy of terminal resource (such as hardware resource, software resource or Internet resources etc.) when operation performs.Such as, when very low according to the bandwidth in terminal configuration information, perform the application operating (as online software upgrading operation, needing occupied bandwidth) accounting for bandwidth, then can affect the network data transmission speed of other application of terminal (as the application of Online Video broadcast message class); And and terminal that internal memory less lower for cpu frequency, when other application run, perform the application operating (as fixed disk file scan operation) accounting for CPU and internal memory, then can affect the data processing speed of other application, etc.Therefore, to the terminal of different terminals configuration information, the monitoring rules that application operating is monitored that can be corresponding different.
In some optional implementations of the present embodiment, if detect that user has carried out arranging (being such as set to forbid all application operatings) to application operating, then according to arranging of user, application operating is controlled.Monitoring rules now can be: in response to receiving the efficient setting operation of user to application configuration information, control the execution of application operating according to the efficient setting operation of user.
Step 203, obtains the terminal operating information that above-mentioned terminal is current, based on above-mentioned monitoring rules, determines whether that the application allowing to monitor performs scheduled operation.
In the present embodiment, electronic equipment can obtain the current terminal operating information of each terminal of the application that operation is monitored further, and based on distributed monitoring rules, determines whether the scheduled operation applied can perform in current terminal operating situation.Wherein, electronic equipment can with the current terminal operating information of predetermined time interval (such as 3 minutes) acquisition terminal, also can the scheduled operation of monitoring and measuring application, when applying the demand having and perform scheduled operation, electronic equipment gathers the current operational information of a terminal, and the application does not limit this.
For example, above-mentioned scheduled operation can comprise the first operation, and this first operational example is as being prompting operation.Such as, when class application or the application of system monitoring class are killed virus in monitored being applied as, the first operation can be the prompting operation of clearing up the timing of terminal system rubbish.For the terminal with Presentation Function, when terminal there being the application of full frame operation, if application execution first operates, such as this first operation is the prompting operation shown by window, dialog box, floating frame etc., then this first operation can affect the part display of the application of full frame operation in terminal.When terminal there being predetermined application (as office class application Microsoftoffice) run, if application performs above-mentioned first operation, then the use of possibility annoying users.In some implementations, above-mentioned monitoring rules can comprise: if terminal exists current other application run with screen mode toggle, forbid that monitored application performs the first operation; If terminal does not exist current other application run with screen mode toggle, detect the operation whether above-mentioned terminal exists predetermined application; If exist, forbid that monitored application performs the first operation; If do not exist, the application monitored is allowed to perform the first operation.Here, predetermined application can be user is the application being set to forbid performing this first operation running this application.Predetermined application examples as can be the user of present terminal run on present terminal time be set to the application of forbidding that execution first operates, or will apply when running on present terminal in configuration information and forbid that monitored the application number of times performing the first operation and the ratio allowing the application monitored to perform the number of times that first operates exceed the application of predetermined threshold value; Also can be that the application configuration information of multiple terminal is added up, application by following steps obtain: the application configuration information obtaining the application monitored when multiple application runs respectively at least one terminal, by forbidding number of times that monitored application performs the first operation in application configuration information, the ratio of the number of times that first operate is descending sorts with allowing the application monitored to perform, determines that forward at least one of sequence is applied as and makes a reservation for apply.Alternatively, electronic equipment can the process name of recording scheduled application, installation path key word or digital signature.
Now, electronic equipment can when receiving the execution demand that application execution first operates, first whether sense terminals exists current other application run with screen mode toggle, such as there is the current application run with screen mode toggle by whether consistent with background color the judging whether of color value of the pixel on contrast screen, if existed, then forbid that application performs this first operation.If terminal does not exist current other application run with screen mode toggle, then can continue whether monitoring terminal to run at least one in predetermined application.Electronic equipment can judge whether terminal has been run predetermined application by the process name of application, installation path key word or digital signature.When operation in terminal has predetermined application, electronic equipment can forbid that monitored application performs the first operation, otherwise, monitored application execution first operation can be allowed.
Fig. 3 shows an application scenarios of the present embodiment.In terminal as shown in Figure 3, application A runs with screen mode toggle when performing, full screen window is as shown in 301, application B is the application of virus killing class, application B is used to the method for the monitoring application operating of the present embodiment, then when applying B for pop-up window 302 display reminding information, electronic equipment detects the application A of current full frame operation, thus forbids that application B performs the operation of bullet window.
The method for monitoring application operating of the present embodiment, by introducing the end message such as terminal control information and terminal operating information, can carry out different control to the application operating on different terminals, thus improves the validity of monitoring application operating.
Although it should be noted that the operation describing the application's method in the accompanying drawings with particular order, this is not that requirement or hint must perform these operations according to this particular order, or must perform the result that all shown operation could realize expectation.On the contrary, the step described in process flow diagram can change execution sequence.Additionally or alternatively, some step can be omitted, multiple step be merged into a step and perform, and/or a step is decomposed into multiple step and perform.Such as, in certain of the application's method once performs, the step 201 of the flow process 200 shown in Fig. 2 can be omitted.
With further reference to Fig. 4, it illustrates the flow process 400 of another embodiment of the method for monitoring application operating of the application.This is used for monitoring application operating method 400, comprises the following steps:
Step 401, reads the terminal configuration information of the terminal running the application monitored.
In the present embodiment, electronic equipment can from the terminal configuration information of terminal locally or remotely obtaining the application that operation is monitored.Here, terminal configuration information can be the hardware configuration parameter of reflection terminal various data-handling capacity, software configuration parameter and/or software configuration parameter.Hardware configuration parameter such as at least can comprise: CPU parameter, memory parameters, can also include but not limited to following at least one item: hard disk praameter, parameters of video card, CD-ROM drive parameter, etc.Software configuration parameter such as can include but not limited to following at least one item: operating system parameter, application parameter etc.Network configuration parameters such as can include but not limited to bandwidth parameter.
Step 402, according to above-mentioned terminal configuration information, based on the configuration level judgment models preset, determines the configuration level of terminal.
In the present embodiment, electronic equipment then can calculate the every of above-mentioned terminal configuration information based on the configuration level model preset, to determine the configuration level of terminal.Wherein, different according to parameter every in terminal configuration information, and the mutual combination of different parameters, the configuration level of terminal can be divided into multiple rank.
Here, configuration level model can rule of thumb artificially set, and the sample set that also can be made up of great amount of terminals configuration information is obtained by machine learning.The form of configuration level model can be such as comprise multiple parameter sets under each configuration level, and each parameter sets comprises parameter value every in terminal configuration information or span.When configuration level model is obtained by machine learning by sample set, such as each terminal configuration information can be run as virtual machine parameter simulation, terminal data processing ability (such as travelling speed and/or display resolution) according to simulation divides terminal configuration grade, terminal configuration information corresponding to each terminal grade is gathered, obtains the parameter sets of parameter value every in multiple terminal configuration information or span composition.When gathered terminal configuration information and certain parameter sets match, namely the terminal configuration grade corresponding to this parameter sets is confirmed as the configuration level of gathered terminal configuration information.
In the present embodiment, terminal configuration information can be divided into two ranks by terminal configuration Grade Model, is respectively first level and second level.Wherein, terminal configuration information is the terminal of first level, and its data-handling capacity can be the terminal of second level lower than terminal configuration grade.Such as, the terminal of first level can be thought usually said lowly to join terminal, and the terminal of second level can think usually said height join or in join terminal.
Step 403, according to above-mentioned configuration level, to terminal distribution monitoring rules.
In the present embodiment, electronic equipment can according to the configuration level determined in step 402, to the monitoring rules that terminal distribution is corresponding to the data-handling capacity of this terminal.Wherein, monitoring rules can be the various monitoring rules that electronic equipment generates according to the terminal configuration information of the terminal acquisition of the application monitored from least one operation in advance and terminal operating information, such as generate a monitoring rules for the terminal configuration information corresponding to each configuration level, this monitoring rules is associated with corresponding terminal operating information.When electronic equipment determines the configuration level of terminal, the monitoring rules corresponding to corresponding configuration grade can be distributed to terminal.
In some optional implementations of the present embodiment, when terminal configuration grade is second level, monitoring rules can comprise: if terminal operating information meets CPU occupation rate lower than the CPU occupation rate threshold value preset and memory usage lower than the memory usage threshold value preset simultaneously, then allow the application monitored to perform the second operation; Otherwise, forbid that monitored application performs the second operation.Wherein, when the second operation is included in execution, EMS memory occupation amount exceedes the operation of EMS memory occupation amount threshold value.Such as, when application is killed virus in monitored being applied as, the second operation can be virus scanning operation.Here, CPU occupation rate threshold value, memory usage threshold value and EMS memory occupation amount threshold value can rule of thumb artificially be determined, also can obtain by carrying out statistics to the terminal operating information of multiple terminal when running the application monitored.Alternatively, CPU occupation rate threshold value can be such as 30%, electronic equipment often can gather the CPU occupation rate of a terminal by m second (as 3 seconds), to the CPU occupation rate calculating mean value that every n time (as 10 times) gather, when this mean value lower than 30% time, be defined as the CPU threshold value of terminal lower than CPU occupation rate threshold value.In like manner, electronic equipment can use the same method determine terminal memory usage whether lower than memory usage threshold value (as 70%).The EMS memory occupation amount of the second operation exceedes EMS memory occupation amount threshold value, can think the application operating accounting for hardware resource (CPU and internal memory).When the current CPU occupation rate of terminal higher than the CPU occupation rate threshold value preset and memory usage higher than the memory usage threshold value preset, can think that the current hardware resource of terminal takies more, thus forbid that monitored application performs this second operation.
In some optional implementations of the present embodiment, when terminal configuration grade is second level, monitoring rules can comprise: if the bandwidth occupancy rate of terminal is higher than the bandwidth occupancy rate threshold value preset, then forbid that monitored application performs the 3rd operation; Otherwise, forbid that described application performs the 3rd operation.Wherein, the 3rd operation is included in the operation performing Time Bandwidth occupancy and exceed pre-set bandwidths occupancy threshold value.Such as, when application is killed virus in monitored being applied as, when the 3rd operation can be virus killing application renewal, download the operation of redaction application.Here, if the bandwidth occupancy rate of terminal is higher than the bandwidth occupancy rate threshold value (as 40%) preset, then thinks that the network state of terminal is busy, be not suitable for carrying out the more application operating of occupied bandwidth.Wherein, the bandwidth occupancy rate threshold value of terminal can rule of thumb artificially be determined, also can obtain by carrying out statistics to the terminal operating information of multiple terminal when running the application monitored.
In some implementations, when the bandwidth occupancy rate of terminal is lower than the bandwidth occupancy rate threshold value preset, think that the network state of terminal is for idle.Now, the application monitored is allowed to perform three operation of bandwidth occupancy rate higher than the bandwidth occupancy rate threshold value preset.But, during the certain operations be applied in the 3rd operation monitored, except taking network, also may can take the hardware resource such as CPU and internal memory.At this moment, also need to judge further that whether the 3rd operation is take CPU or the more application of internal memory, and then determine whether application execution the 3rd operation that allows to monitor.Judge whether that the application allowing to monitor performs the 3rd process operated and can comprise: when judging whether the 3rd operation is execution, EMS memory occupation amount exceedes the operation of EMS memory occupation amount threshold value; If, then judge whether terminal meets CPU occupation rate lower than the CPU occupation rate threshold value preset and memory usage lower than the memory usage threshold value preset simultaneously, if meet, allows the application monitored to perform the 3rd operation, otherwise, forbid monitor application execution the 3rd operation.
In some optional implementations of the present embodiment, if terminal configuration grade is first level, the data processing speed of terminal is lower, can only take lower at the hardware resource of terminal, or network completely idle time, could allow the application monitored to perform above-mentioned second and operate or the 3rd operation.Now, monitoring rules can comprise: when terminal meets the following conditions for the moment, allows the application monitored to perform the second operation or the 3rd operation:
The application (being such as holding state) outside operating system application is there is not in other application run;
Input information (such as by the acoustic information, character information, click information, image information etc. of the inputs such as microphone, keyboard, mouse, camera, touch-screen) is not detected in predetermined amount of time;
Enter screen protection state.
In some optional implementations of the present embodiment, if detect that user is arranged application operating, then the rule arranged according to user controls application operating.Monitoring rules now can be: in response to receiving the efficient setting operation of user to application configuration information, control the execution of application operating according to the efficient setting operation of user.
Step 404, obtains the terminal operating information that above-mentioned terminal is current, based on above-mentioned monitoring rules, determines whether that the application allowing to monitor performs scheduled operation.
In the present embodiment, electronic equipment can obtain the current terminal operating information of each terminal of the application that operation is monitored further, and based on distributed monitoring rules, determines whether the scheduled operation applied can perform in current terminal operating situation.Wherein, electronic equipment can with the current terminal operating information of predetermined time interval (such as 3 minutes) acquisition terminal, also can the scheduled operation of monitoring and measuring application, when applying the demand having and perform scheduled operation, electronic equipment gathers the current operational information of a terminal, and the application does not limit this.Here, scheduled operation can comprise any one in the first above-mentioned operation, the above-mentioned second operation and the above-mentioned the 3rd operation.
In the present embodiment, the step 401 in above-mentioned realization flow and step 404 are substantially identical with step 203 with the step 201 in previous embodiment respectively, do not repeat them here.
As can be seen from Figure 4, the embodiment corresponding with Fig. 2 unlike, the flow process 400 of the method for monitoring application operating in the present embodiment has had more according to terminal configuration information, based on the configuration level judgment models preset, determine the step 402 of the configuration level of terminal, and step 403 is compared with step 202, distributes corresponding monitoring rules by original according to terminal configuration information, become according to configuration level, distribute monitoring rules to monitored application.By the step 402 increased and the step 403 of change, the scheme that the present embodiment describes according to the different configuration level of terminal, can provide the rule of multiple monitoring application operating, the diversity of intelligence reply terminal configuration.
With further reference to Fig. 5, as the realization to method shown in above-mentioned each figure, this application provides an a kind of embodiment of the device for monitoring application operating, this device embodiment is corresponding with the embodiment of the method shown in Fig. 2, and this device specifically can be applied in electronic equipment.
As shown in Figure 5, comprising for the device 500 monitoring application operating described in the present embodiment: configuration information read module 501, monitoring rules distribution module 502 and operation perform determination module 503.Wherein, configuration information read module 501 can be configured for the terminal configuration information reading the terminal running the application monitored; Monitoring rules distribution module 502 can be configured for based on above-mentioned terminal configuration information, and to terminal distribution monitoring rules, wherein, monitoring rules can generate based on the terminal configuration information obtained from terminal described at least one and terminal operating information; Operation performs determination module 503 can be configured for the current terminal operating information of acquisition terminal, and based on above-mentioned monitoring rules, determines whether that the application allowing to monitor performs scheduled operation.
Corresponding with each step in the method described with reference to figure 2 for monitoring all modules recorded in the device 500 of application operating.Thus, the module that the operation that describes of the method for for monitoring application operating described in conjunction with Figure 2 above and feature are equally applicable to the device 500 for monitoring application operating and wherein comprise, does not repeat them here.
It will be understood by those skilled in the art that the above-mentioned device 500 for monitoring application operating also comprises some other known features, such as processor, storeies etc., in order to unnecessarily fuzzy embodiment of the present disclosure, these known structures are not shown in Figure 5.
Below with reference to Fig. 6, it illustrates the structural representation of the computer system 600 of the electronic equipment be suitable for for realizing the embodiment of the present application.
As shown in Figure 6, computer system 600 comprises CPU (central processing unit) (CPU) 601, and it or can be loaded into the program random access storage device (RAM) 603 from storage area 608 and perform various suitable action and process according to the program be stored in ROM (read-only memory) (ROM) 602.In RAM603, also store system 600 and operate required various program and data.CPU601, ROM602 and RAM603 are connected with each other by bus 604.I/O (I/O) interface 605 is also connected to bus 604.
I/O interface 605 is connected to: the importation 606 comprising keyboard, mouse etc. with lower component; Comprise the output 607 of such as cathode-ray tube (CRT) (CRT), liquid crystal display (LCD) etc. and loudspeaker etc.; Comprise the storage area 608 of hard disk etc.; And comprise the communications portion 609 of network interface unit of such as LAN card, modulator-demodular unit etc.Communications portion 609 is via the network executive communication process of such as the Internet.Driver 610 is also connected to I/O interface 605 as required.Detachable media 611, such as disk, CD, magneto-optic disk, semiconductor memory etc., be arranged on driver 610 as required, so that the computer program read from it is mounted into storage area 608 as required.
Especially, according to the embodiment of the application, the process that reference flow sheet describes above may be implemented as computer software programs.Such as, the embodiment of the application comprises a kind of computer program, and it comprises the computer program visibly comprised on a machine-readable medium, and described computer program comprises the program code for the method shown in flowchart.In such embodiments, this computer program can be downloaded and installed from network by communications portion 609, and/or is mounted from detachable media 611.
Unit involved in the embodiment of the present application can be realized by the mode of software, also can be realized by the mode of hardware.Described module also can be arranged within a processor, such as, can be described as: a kind of processor comprises configuration information read module, monitoring rules distribution module and operation and performs determination module.Wherein, the title of these modules does not form the restriction to this module itself under certain conditions, and such as, configuration information read module can also be described to " being configured for the module of the terminal configuration information reading the terminal running the application monitored ".
As another aspect, present invention also provides a kind of computer-readable recording medium, this computer-readable recording medium can be the computer-readable recording medium comprised in device described in above-described embodiment; Also can be individualism, be unkitted the computer-readable recording medium allocated in terminal.Described computer-readable recording medium stores more than one or one program, and described program is used for performance description in the method for monitoring application operating of the application by one or more than one processor.
More than describe and be only the preferred embodiment of the application and the explanation to institute's application technology principle.Those skilled in the art are to be understood that, invention scope involved in the application, be not limited to the technical scheme of the particular combination of above-mentioned technical characteristic, also should be encompassed in when not departing from described inventive concept, other technical scheme of being carried out combination in any by above-mentioned technical characteristic or its equivalent feature and being formed simultaneously.The technical characteristic that such as, disclosed in above-mentioned feature and the application (but being not limited to) has similar functions is replaced mutually and the technical scheme formed.

Claims (20)

1. for monitoring a method for application operating, it is characterized in that, described method comprises:
Read the terminal configuration information of the terminal running the application monitored;
Based on described terminal configuration information, to described terminal distribution monitoring rules, wherein, described monitoring rules generates based on the terminal configuration information obtained from terminal described at least one and terminal operating information;
Obtain the terminal operating information that described terminal is current, based on described monitoring rules, determine whether that the application allowing to monitor performs scheduled operation.
2. method according to claim 1, is characterized in that, the application configuration information of application that described terminal operating information comprises CPU occupation rate, memory usage, bandwidth occupancy rate and monitors.
3. method according to claim 1, is characterized in that, described monitoring rules comprises:
If terminal exists current other application run with screen mode toggle, forbid that monitored application performs the first operation, wherein, described first operation comprises prompting operation;
If terminal does not exist current other application run with screen mode toggle, detect the operation whether described terminal exists predetermined application;
If exist, forbid that monitored application performs the first operation;
If do not exist, the application monitored is allowed to perform the first operation.
4. method according to claim 3, is characterized in that, described predetermined application obtains by the following method:
Obtain described application configuration information when multiple application runs respectively at least one terminal;
Based on forbidding the number of times that monitored application performs the first operation and the ranking results allowing the application monitored to perform the ratio of the number of times that first operate in application configuration information, determine in described multiple application at least one be applied as and make a reservation for apply.
5. method according to claim 2, is characterized in that, described based on described terminal configuration information, comprises to described terminal distribution monitoring rules:
According to described terminal configuration information, based on the configuration level judgment models preset, determine the configuration level of terminal, wherein, described configuration level comprises first level, second level;
According to described configuration level, distribute monitoring rules to described application.
6. method according to claim 5, is characterized in that, when terminal configuration grade is second level, described monitoring rules comprises:
If terminal operating information meets: CPU occupation rate lower than preset CPU occupation rate threshold value and memory usage lower than preset memory usage threshold value, the application monitored then is allowed to perform the second operation, wherein, when described second operation is included in execution, EMS memory occupation amount exceedes the operation of EMS memory occupation amount threshold value;
Otherwise, forbid that monitored application performs the second operation.
7. method according to claim 5, is characterized in that, when terminal configuration grade is second level, described monitoring rules comprises:
If the bandwidth occupancy rate of terminal is higher than the bandwidth occupancy rate threshold value preset, then forbid that monitored application performs the 3rd operation, wherein, described 3rd operation is included in the operation performing Time Bandwidth occupancy and exceed pre-set bandwidths occupancy threshold value.
8. method according to claim 7, is characterized in that, when terminal configuration grade is second level, described monitoring rules comprises:
If the bandwidth occupancy rate of terminal is lower than the bandwidth occupancy rate threshold value preset, when judging whether described 3rd operation is execution, EMS memory occupation amount exceedes the operation of EMS memory occupation amount threshold value;
If, then judge whether terminal meets CPU occupation rate lower than the CPU occupation rate threshold value preset and memory usage lower than the memory usage threshold value preset simultaneously, if meet, allows the application monitored to perform the 3rd operation, otherwise, forbid that monitored application performs the 3rd operation.
9. method according to claim 5, is characterized in that, when terminal configuration grade is first level, described monitoring rules comprises:
When terminal meets the following conditions for the moment, the application monitored is allowed to perform the second operation or the 3rd operation:
The application outside operating system application is there is not in other application run;
Input information is not detected in predetermined amount of time;
Enter screen protection state.
10. the method according to any one of claim 1-9, is characterized in that, described monitoring rules also comprises:
In response to receiving the efficient setting operation of user to application configuration information, control the execution of the operation of the application monitored according to the efficient setting operation of user.
11. 1 kinds, for monitoring the device of application operating, is characterized in that, described device comprises:
Configuration information read module, is configured for the terminal configuration information reading the terminal running the application monitored;
Monitoring rules distribution module, is configured for based on described terminal configuration information, and to described terminal distribution monitoring rules, wherein, described monitoring rules generates based on the terminal configuration information obtained from terminal described at least one and terminal operating information;
Operation performs determination module, is configured for and obtains the current terminal operating information of described terminal, based on described monitoring rules, determines whether that the application allowing to monitor performs scheduled operation.
12. devices according to claim 11, is characterized in that, the application configuration information of application that described terminal operating information comprises CPU occupation rate, memory usage, bandwidth occupancy rate and monitors.
13. devices according to claim 11, is characterized in that, described monitoring rules comprises:
If terminal exists current other application run with screen mode toggle, forbid that monitored application performs the first operation, wherein, described first operation comprises prompting operation;
If terminal does not exist current other application run with screen mode toggle, detect the operation whether described terminal exists predetermined application;
If exist, forbid that monitored application performs the first operation;
If do not exist, the application monitored is allowed to perform the first operation.
14. devices according to claim 13, is characterized in that, described predetermined application is obtained by predetermined application acquisition unit, and described predetermined application acquisition unit comprises:
Obtain subelement, be configured for the described application configuration information obtained when multiple application runs respectively at least one terminal;
Determine subelement, be configured for based on forbidding the number of times that monitored application performs the first operation and the ranking results allowing the application monitored to perform the ratio of the number of times that first operate in application configuration information, determine in described multiple application at least one be applied as and make a reservation for apply.
15. devices according to claim 11, is characterized in that, described monitoring rules distribution module comprises:
Configuration level determining unit, is configured for according to described terminal configuration information, and based on the configuration level judgment models preset, determine the configuration level of terminal, wherein, described configuration level comprises first level, second level;
Monitoring rules allocation units, are configured for according to described configuration level, distribute monitoring rules to described application.
16. devices according to claim 15, is characterized in that, when terminal configuration grade is second level, described monitoring rules comprises:
If terminal operating information meets: CPU occupation rate lower than preset CPU occupation rate threshold value and memory usage lower than preset memory usage threshold value, the application monitored then is allowed to perform the second operation, wherein, when described second operation is included in execution, EMS memory occupation amount exceedes the operation of EMS memory occupation amount threshold value;
Otherwise, forbid that monitored application performs the second operation.
17. devices according to claim 15, is characterized in that, when terminal configuration grade is second level, described monitoring rules comprises:
If the bandwidth occupancy rate of terminal is higher than the bandwidth occupancy rate threshold value preset, then forbid that monitored application performs the 3rd operation, wherein, described 3rd operation is included in the operation performing Time Bandwidth occupancy and exceed pre-set bandwidths occupancy threshold value.
18. devices according to claim 17, is characterized in that, when terminal configuration grade is second level, described monitoring rules comprises:
If the bandwidth occupancy rate of terminal is lower than the bandwidth occupancy rate threshold value preset, when judging whether described 3rd operation is execution, EMS memory occupation amount exceedes the operation of EMS memory occupation amount threshold value;
If, then judge whether terminal meets CPU occupation rate lower than the CPU occupation rate threshold value preset and memory usage lower than the memory usage threshold value preset simultaneously, if meet, allows the application monitored to perform the 3rd operation, otherwise, forbid that monitored application performs the 3rd operation.
19. devices according to claim 15, is characterized in that, when terminal configuration grade is first level, described monitoring rules comprises:
When terminal meets the following conditions for the moment, the application monitored is allowed to perform the second operation or the 3rd operation:
The application outside operating system application is there is not in other application run;
Input information is not detected in predetermined amount of time;
Enter screen protection state.
20. devices according to any one of claim 11-19, it is characterized in that, described monitoring rules also comprises:
In response to receiving the efficient setting operation of user to application configuration information, control the execution of the operation of the application monitored according to the efficient setting operation of user.
CN201510505959.5A 2015-08-17 2015-08-17 Method and apparatus for monitoring application operation Active CN105095049B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510505959.5A CN105095049B (en) 2015-08-17 2015-08-17 Method and apparatus for monitoring application operation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510505959.5A CN105095049B (en) 2015-08-17 2015-08-17 Method and apparatus for monitoring application operation

Publications (2)

Publication Number Publication Date
CN105095049A true CN105095049A (en) 2015-11-25
CN105095049B CN105095049B (en) 2018-02-13

Family

ID=54575545

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510505959.5A Active CN105095049B (en) 2015-08-17 2015-08-17 Method and apparatus for monitoring application operation

Country Status (1)

Country Link
CN (1) CN105095049B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105930249A (en) * 2016-04-20 2016-09-07 百度在线网络技术(北京)有限公司 Application monitoring method and apparatus
EP3188066A1 (en) * 2015-12-28 2017-07-05 Xiaomi Inc. A method and an apparatus for managing an application
CN107291601A (en) * 2017-06-12 2017-10-24 北京奇艺世纪科技有限公司 A kind of safe O&M method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102194074A (en) * 2011-04-26 2011-09-21 北京思创银联科技股份有限公司 Computer protection method based on process right
CN103020515A (en) * 2012-12-26 2013-04-03 中国人民解放军国防科学技术大学 Application program execution permission control method for operating system
CN103220662A (en) * 2012-01-20 2013-07-24 腾讯科技(深圳)有限公司 Application program processing method and mobile terminal
CN104360794A (en) * 2014-11-21 2015-02-18 北京奇虎科技有限公司 Method and device for controlling window pop-up through full screen-identifying mode
CN104375851A (en) * 2013-08-15 2015-02-25 腾讯科技(深圳)有限公司 Intelligent terminal and energy saving method thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102194074A (en) * 2011-04-26 2011-09-21 北京思创银联科技股份有限公司 Computer protection method based on process right
CN103220662A (en) * 2012-01-20 2013-07-24 腾讯科技(深圳)有限公司 Application program processing method and mobile terminal
CN103020515A (en) * 2012-12-26 2013-04-03 中国人民解放军国防科学技术大学 Application program execution permission control method for operating system
CN104375851A (en) * 2013-08-15 2015-02-25 腾讯科技(深圳)有限公司 Intelligent terminal and energy saving method thereof
CN104360794A (en) * 2014-11-21 2015-02-18 北京奇虎科技有限公司 Method and device for controlling window pop-up through full screen-identifying mode

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3188066A1 (en) * 2015-12-28 2017-07-05 Xiaomi Inc. A method and an apparatus for managing an application
US10282561B2 (en) * 2015-12-28 2019-05-07 Xiaomi Inc. Method and apparatus for managing application
CN105930249A (en) * 2016-04-20 2016-09-07 百度在线网络技术(北京)有限公司 Application monitoring method and apparatus
CN105930249B (en) * 2016-04-20 2019-11-12 百度在线网络技术(北京)有限公司 Using monitoring method and device
CN107291601A (en) * 2017-06-12 2017-10-24 北京奇艺世纪科技有限公司 A kind of safe O&M method and system
CN107291601B (en) * 2017-06-12 2021-01-22 北京奇艺世纪科技有限公司 Safe operation and maintenance method and system

Also Published As

Publication number Publication date
CN105095049B (en) 2018-02-13

Similar Documents

Publication Publication Date Title
JP6147757B2 (en) Providing resource usage information for each application
CN110505675B (en) Network connection method and device, storage medium and communication terminal
US10783002B1 (en) Cost determination of a service call
CN113094136A (en) Page display control method and device, storage medium and electronic equipment
CN110765354A (en) Information pushing method and device, electronic equipment and storage medium
CN111160624B (en) User intention prediction method, user intention prediction device and terminal equipment
CN105337891A (en) Traffic control method and traffic control device for distributed cache system
CN108563469A (en) page loading method, device, storage medium and terminal device
CN102075367B (en) Method and system for controlling downloading of patch packet, client and server
EP3707662A1 (en) Web page performance improvement system
CN105095049A (en) Method and device used for monitoring application operation
CN105045596A (en) Plug-in calling method and apparatus
CN111581560B (en) Page display method and device, electronic equipment and storage medium
CN113392018B (en) Traffic distribution method and device, storage medium and electronic equipment
CN108595712B (en) Object characteristic parameter processing method and device and electronic equipment
CN115842789B (en) Data packet scheduling method, device and readable storage medium
CN104778411A (en) Virus scanning method and virus scanning device
CN111614526A (en) Method, device, storage medium and terminal for rapidly maintaining HINOC link
CN108011860A (en) A kind of method and device for handling broadcast message
CN116319932A (en) Training method, device, equipment and storage medium of content push model
CN102904763B (en) Method and system for controlling downloading of service pack, client and server
CN115080233A (en) Resource allocation management method, device, equipment and storage medium for application software
CN114385365A (en) Dynamic performance grading method
KR102037479B1 (en) Method and apparatus for providing optimized game setting information, method and apparatus for optimizing game running
CN105630503A (en) Selecting method for mobile device application and development based on operating records of user

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

Effective date of registration: 20190830

Address after: 100085 Beijing, Haidian District, No. ten on the ground floor, No. 10 Baidu building, layer 2

Patentee after: BEIJING BAIDU NETCOM SCIENCE AND TECHNOLOGY Co.,Ltd.

Address before: 100091 Beijing, Haidian District, northeast Wang West Road, No. 4, Zhongguancun Software Park, building C, block, 1-03

Patentee before: Pacify a Heng Tong (Beijing) Science and Technology Ltd.

TR01 Transfer of patent right