CN105677533B - Application process monitoring method and application process monitoring device - Google Patents

Application process monitoring method and application process monitoring device Download PDF

Info

Publication number
CN105677533B
CN105677533B CN201511032181.7A CN201511032181A CN105677533B CN 105677533 B CN105677533 B CN 105677533B CN 201511032181 A CN201511032181 A CN 201511032181A CN 105677533 B CN105677533 B CN 105677533B
Authority
CN
China
Prior art keywords
application process
starting
application
starts
preset time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201511032181.7A
Other languages
Chinese (zh)
Other versions
CN105677533A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201511032181.7A priority Critical patent/CN105677533B/en
Publication of CN105677533A publication Critical patent/CN105677533A/en
Application granted granted Critical
Publication of CN105677533B publication Critical patent/CN105677533B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3089Monitoring arrangements determined by the means or processing involved in sensing the monitored data, e.g. interfaces, connectors, sensors, probes, agents

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The present invention provides a kind of application process monitoring method comprising: receive application process enabled instruction;By the launching process function in starting management service, the number of starts of the corresponding application process of application process enabled instruction within a preset time is obtained;If the number of starts of application process within a preset time is less than or equal to preset value, then started by launching process function application processes;And such as the number of starts of application process within a preset time is greater than preset value, then application processes are not started.The present invention also provides a kind of application process monitoring device, application process monitoring method of the invention and monitoring device are carried out the monitoring management of application process using corresponding function, realize the effective monitoring of application processes according to the number of starts of application process.

Description

Application process monitoring method and application process monitoring device
Technical field
The present invention relates to application process control fields, supervise more particularly to a kind of application process monitoring method and application process Control device.
Background technique
In the prior art, some application can be by calling or showing visualization interface (activity), non-visual The running background service (service) of change or data set provider (Content Provider) for providing data service, it is real The process initiation of itself existing application or other application.
But above-mentioned application Starting mode may by certain rogues using utilize, such as using A by call using B can Depending on changing interface, to realize the starting of the application process using B;At this time if be closed using A, it can equally call and answer using B With the visualization interface of A, to realize the starting of the application process using A.Make the application process using A and application B in this way It is constantly in activation starting state in systems, leads to the waste of system resource.
Summary of the invention
The embodiment of the present invention provides a kind of application process monitoring method that effective monitoring can be actuated for application processes And application process monitoring device;It cannot be to application with solve existing application process monitoring method and application process monitoring device The technical issues of being actuated for effective monitoring of process.
The embodiment of the present invention provides a kind of application process monitoring method comprising:
Receive application process enabled instruction;
By starting management service in launching process function, obtain the application process enabled instruction it is corresponding apply into The number of starts of journey within a preset time;
If the number of starts of the application process within a preset time is less than or equal to preset value, then pass through the launching process Function starts the application process;And
If the number of starts of the application process within a preset time is greater than the preset value, then not to the application process Started.
In application process monitoring method of the present invention, the launching process letter by starting management service The step of counting, obtaining the number of starts of the corresponding application process of the application process enabled instruction within a preset time is specifically wrapped It includes:
By starting management service in launching process function, obtain the application process enabled instruction it is corresponding apply into The starting type of journey;And
By the launching process function in starting management service, the corresponding starting class of the application process enabled instruction is obtained The number of starts of the application process of type within a preset time;
Such as number of starts of the application process within a preset time is less than or equal to preset value, then passes through the starting The step of process function starts the application process specifically:
If the number of starts of the application process for starting type within a preset time is less than or equal to preset value, then pass through institute Launching process function is stated to start the application process;
Such as number of starts of the application process within a preset time is greater than the preset value, then not to the application The step of process is started specifically:
If the number of starts of the application process for starting type within a preset time is greater than preset value, then do not answer described Started with process.
In application process monitoring method of the present invention, the starting type include visualization interface Starting mode, System service Starting mode, broadcast Starting mode and data set provider Starting mode.
In application process monitoring method of the present invention, the application process monitoring method further include:
Using the preset time as interval, zero-setting operation is carried out to the number of starts of the application process.
In application process monitoring method of the present invention, the step of application process not being started packet It includes:
Return to the prompt information of No starting.
The embodiment of the present invention also provides a kind of application process monitoring device comprising:
Command reception module, for receiving application process enabled instruction;
The number of starts obtain module, for by starting management service in launching process function, obtain it is described apply into The number of starts of the corresponding application process of journey enabled instruction within a preset time;
Normal starting module is less than or equal to preset value for the number of starts of such as described application process within a preset time, Then the application process is started by the launching process function;And
No starting module is greater than the preset value for the number of starts of such as described application process within a preset time, The application process is not started then.
In application process monitoring device of the present invention, the number of starts obtains module and includes:
Start type acquiring unit, for by starting management service in launching process function, obtain it is described apply into The starting type of the corresponding application process of journey enabled instruction;And
Number of starts acquiring unit, for by starting management service in launching process function, obtain it is described apply into The number of starts of the application process of the corresponding starting type of journey enabled instruction within a preset time;
The normal starting module is specifically used for the starting time such as the application process for starting type within a preset time Number is less than or equal to preset value, then is started by the launching process function to the application process;
The No starting module is specifically used for the starting time such as the application process for starting type within a preset time Number is greater than preset value, then does not start to the application process.
In application process monitoring device of the present invention, the starting type include visualization interface Starting mode, System service Starting mode, broadcast Starting mode and data set provider Starting mode.
In application process monitoring device of the present invention, the application process monitoring device further include:
Zero setting module, for carrying out zero setting behaviour to the number of starts of the application process using the preset time as interval Make.
In application process monitoring device of the present invention, the No starting module includes:
Prompt unit, for returning to the prompt information of No starting.
Application process monitoring method and application process monitoring device compared to the prior art, application process prison of the invention Prosecutor method and application process monitoring device carry out the prison of application process using corresponding function according to the number of starts of application process Keyholed back plate reason, realizes the effective monitoring of application processes;Solve existing application process monitoring method and application process monitoring Device is unable to the technical issues of being actuated for effective monitoring of application processes.
Detailed description of the invention
Fig. 1 is the flow chart of the first preferred embodiment of application process monitoring method of the invention;
Fig. 2 is the flow chart of the second preferred embodiment of application process monitoring method of the invention;
Fig. 3 is the structural schematic diagram of the first preferred embodiment of application process monitoring device of the invention;
Fig. 4 is the structural schematic diagram of the second preferred embodiment of application process monitoring device of the invention;
Fig. 5 is that the number of starts of the second preferred embodiment of application process monitoring device of the invention obtains the structure of module Schematic diagram;
Fig. 6 is the structural representation of the No starting module of the second preferred embodiment of application process monitoring device of the invention Figure.
Specific embodiment
Schema is please referred to, wherein identical component symbol represents identical component, the principle of the present invention is to implement one It is illustrated in computing environment appropriate.The following description be based on illustrated by the specific embodiment of the invention, should not be by It is considered as the limitation present invention other specific embodiments not detailed herein.
In the following description, specific embodiments of the present invention will refer to the operation as performed by one or multi-section computer The step of and symbol illustrate, unless otherwise stating clearly.Therefore, these steps and operation be will appreciate that, mentioned for several times wherein having It include by representing with the computer disposal list of the electronic signal of the data in a structuring pattern to be executed by computer Member is manipulated.At this manipulation transforms data or the position being maintained in the memory system of the computer, it can match again Set or in addition change in a manner familiar to those skilled in the art the running of the computer.The maintained data knot of the data Structure is the provider location of the memory, has the specific feature as defined in the data format.But the principle of the invention is with above-mentioned Text illustrates, is not represented as a kind of limitation, those skilled in the art will appreciate that plurality of step as described below and Operation also may be implemented in hardware.
Various electronic equipments can be used to be implemented for application process monitoring device of the invention, which includes but not It is limited to personal computer, server computer, hand-held or laptop devices, mobile device (such as mobile phone, individual digital Assistant (PDA), media player etc.), multicomputer system, consumer electronic devices, minicomputer, mainframe computer, Distributed computing environment, etc. including above-mentioned arbitrary system or equipment.But the electronic equipment is preferably intelligent mobile terminal, with Improve the validity of intelligent mobile terminal application processes monitoring.
Fig. 1 is please referred to, Fig. 1 is the flow chart of the first preferred embodiment of application process monitoring method of the invention.This is excellent Select the application process monitoring method of embodiment that above-mentioned electronic equipment can be used to be implemented.The application process monitoring method packet It includes:
Step S101 receives application process enabled instruction;
It is corresponding to obtain application process enabled instruction by the launching process function in starting management service by step S102 The number of starts of application process within a preset time;
Step S103, if the number of starts of application process within a preset time be less than or equal to preset value, then by start into Eikonal number application processes are started;
Step S104, if the number of starts of application process within a preset time be greater than preset value, then not application processes into Row starting.
The following detailed description of the detailed process of each step of the application process monitoring method of this preferred embodiment.
In step s101, application process monitoring device can receive application process enabled instruction, application process starting Instruction is that some activation application request in terminal starts or activate the instruction of a certain application process, which can swash for this Process in application living can also be the process of another application.Then pass to step S102.
In step s 102, application process monitoring device passes through terminal system after receiving application process enabled instruction In starting management service (Activity Manager Service) in launching process function (Start Process Locked), the number of starts of the corresponding application process of application process enabled instruction within a preset time is obtained.It can lead in this way The statistics for crossing the number of starts, learn the application process whether frequent starting.Wherein preset time is the starting of statistics application process The measurement period of number, such as one hour or one day.Then pass to step S103 or step S104.
In step s 103, if the application process obtained in application process monitoring device judgment step S102 is in preset time The interior number of starts is less than or equal to preset value, then determines that the application process is not frequent starting, application process monitoring device passes through Launching process function (Start Process Locked) applies for that corresponding resource and memory start the application process.
In step S104, if the application process obtained in application process monitoring device judgment step S102 is in preset time The interior number of starts is greater than preset value, then determines the application process frequent starting, application process monitoring device not to the application into Cheng Jinhang starting.
The application process monitoring process of the application process monitoring method of this preferred embodiment is completed in this way.
The application process monitoring method of this preferred embodiment according to the number of starts of application process, using corresponding function into The monitoring management of row application process reduces the self-starting of application process, realizes the effective monitoring of application processes starting, drop The low power consumption of corresponding mobile terminal.
Referring to figure 2., Fig. 2 is the flow chart of the second preferred embodiment of application process monitoring method of the invention.This is excellent Select the application process monitoring method of embodiment that above-mentioned electronic equipment can be used to be implemented.The application process monitoring method packet It includes:
Step S201 receives application process enabled instruction;
It is corresponding to obtain application process enabled instruction by the launching process function in starting management service by step S202 The starting type of application process;
It is corresponding to obtain application process enabled instruction by the launching process function in starting management service by step S203 Start the number of starts of the application process of type within a preset time;
Step S204 such as starts the number of starts of the application process of type within a preset time and is less than or equal to preset value, then Started by launching process function application processes;
Step S205 such as starts the number of starts of the application process of type within a preset time and is greater than preset value, then not right The application process is started.
The following detailed description of the detailed process of each step of the application process monitoring method of this preferred embodiment.
In step s 201, application process monitoring device can receive application process enabled instruction, application process starting Instruction is that some activation application request in terminal starts or activate the instruction of a certain application process, which can swash for this Process in application living can also be the process of another application.Then pass to step S202.
In step S202, application process monitoring device passes through terminal system after receiving application process enabled instruction In starting management service (Activity Manager Service) in launching process function (Start Process Locked), the starting type of the corresponding application process of application process enabled instruction is obtained.Here starting type may include can It is provided depending on changing interface (Activity) Starting mode, system service (Service) Starting mode, broadcast Starting mode and data Person (Content Provider) Starting mode etc..
Specifically, the trustship type that application process monitoring device passes through the launching process function in starting management service here Parameter (Hosting Type), to obtain the starting type of the corresponding application process of application process enabled instruction.Then pass to step Rapid S203.
In step S203, application process monitoring device passes through the starting management service (Activity in terminal system Manager Service) in launching process function (Start Process Locked), obtain the application process enabled instruction The number of starts of the application process of corresponding starting type within a preset time.It can be obtained in this way by the statistics of the number of starts Know the starting type application process whether frequent starting.Wherein preset time is the statistics of the number of starts of statistics application process Period, such as one hour or one day.
Preferably, here can be using preset time as interval, the number of starts of application processes carries out zero-setting operation, to realize The independence of the statistical data of each measurement period.Then pass to step S204 or step S205.
In step S204, the application process of the starting type obtained in application process monitoring device judgment step S203 The number of starts within a preset time is less than or equal to preset value, then determines that the application process of the starting type is not frequent starting, Application process monitoring device applies for corresponding resource and memory by launching process function (Start Process Locked) The application process is started.
Specifically, then application process monitoring device is logical if the starting type of application process is visualization interface Starting mode It crosses interface starting processing function (Start Specific Activity Locked) and finds the corresponding visualization interface starting The application process of mode, it is subsequent using the corresponding resource of launching process function (Start Process Locked) application and interior It deposits and the application process is started.
If the starting type of application process is broadcast Starting mode, then application process monitoring device passes through broadcast starting processing Function (Process Next Broadcast) finds the application process of the corresponding broadcast Starting mode, subsequent use start into Eikonal number (Start Process Locked) applies for that corresponding resource and memory start the application process.
If the starting type of application process is system service Starting mode, then application process monitoring device passes through service starting The application process of the corresponding system service Starting mode is found in processing function (Bring Up Service Locked), then Apply for that corresponding resource and memory carry out the application process using launching process function (Start Process Locked) Starting.
If the starting type of application process is data set provider Starting mode, then application process monitoring device is mentioned by data Answering for the corresponding data set provider Starting mode is found in donor starting processing function (Get Content Provider Impl) With process, then apply for that corresponding resource and memory answer this using launching process function (Start Process Locked) Started with process.
In step S205, as the starting type that is obtained in application process monitoring device judgment step S203 application into The number of starts of journey within a preset time is greater than preset value, then determines the application process frequent starting, application process monitoring device The application process is not started.
The prompt information of No starting can also be returned to system by application process monitoring device simultaneously, avoid system or application Obstruction.Furthermore the record of No starting can also be reported to starting management service by application process monitoring device, so as to exception Application process start-up operation recorded.
The application process monitoring process of the application process monitoring method of this preferred embodiment is completed in this way.
On the basis of first preferred embodiment, the application process monitoring method of this preferred embodiment is to different starting types The number of starts of application process individually monitored, further improve the validity of the monitoring management of application process.
The present invention also provides a kind of application process monitoring devices, and referring to figure 3., Fig. 3 is that application process of the invention monitors The structural schematic diagram of the first preferred embodiment of device.Above-mentioned answer can be used in the application process monitoring device of this preferred embodiment Implemented with the first preferred embodiment of process monitoring method.The application process monitoring device 30 includes command reception module 31, the number of starts obtains module 32, normal starting module 33 and No starting module 34.
Command reception module 31 is for receiving application process enabled instruction.The number of starts obtains module 32 for passing through starting Launching process function in management service obtains the starting of the corresponding application process of application process enabled instruction within a preset time Number.Normal starting module 33 is used for the number of starts of application process within a preset time such as and is less than or equal to preset value, then passes through Launching process function application processes are started.No starting module 34 is used for such as the starting of application process within a preset time Number is greater than preset value, then does not start to the application process.
The application process monitoring device 30 of this preferred embodiment is in use, command reception module 31 can receive application first Process initiation instruction, the application process enabled instruction be terminal in some activation application request starting or activate it is a certain apply into The instruction of journey, the application process can be the process in activation application, can also be the process of another application.
Subsequent start-up number obtains module 32 after receiving application process enabled instruction, passes through the starting in terminal system Launching process function (Start Process Locked) in management service (Activity Manager Service) obtains The number of starts of the corresponding application process of application process enabled instruction within a preset time.The number of starts can be passed through in this way Statistics, learn the application process whether frequent starting.Wherein preset time is the statistics week of the number of starts of statistics application process Phase, such as one hour or one day.
It is last to be less than as judged that the number of starts obtains the number of starts of the application process of the acquisition of module 32 within a preset time Equal to preset value, then determine that the application process is not frequent starting, normal starting module 33 passes through launching process function (Start Process Locked) apply for that corresponding resource and memory start the application process.
Such as judge that the number of starts obtains the number of starts of the application process of the acquisition of module 32 within a preset time greater than default Value, then determine the application process frequent starting, No starting module 34 does not start the application process.
The application process monitoring process of the application process monitoring device 30 of this preferred embodiment is completed in this way.
The application process monitoring device of this preferred embodiment according to the number of starts of application process, using corresponding function into The monitoring management of row application process reduces the self-starting of application process, realizes the effective monitoring of application processes starting, drop The low power consumption of corresponding mobile terminal.
Referring to figure 4., Fig. 4 is the structural schematic diagram of the second preferred embodiment of application process monitoring device of the invention. The application process monitoring device of this preferred embodiment can be used the second preferred embodiment of above-mentioned application process monitoring method into Row is implemented.The application process monitoring device 40 includes command reception module 41, the number of starts acquisition module 42, normal starting module 43, No starting module 44 and zero setting module 45.
Command reception module 41 is for receiving application process enabled instruction.The number of starts obtains module 42 for passing through starting Launching process function in management service obtains the starting of the corresponding application process of application process enabled instruction within a preset time Number.Normal starting module 43 is used to such as start the number of starts of the application process of type within a preset time less than or equal to default Value, then started by launching process function application processes.No starting module 44 be used for as start type application into The number of starts of journey within a preset time is greater than preset value, then application processes are not started.Zero setting module 45 is used for pre- If the time is interval, the number of starts of application processes carries out zero-setting operation.
Referring to figure 5., Fig. 5 is that the number of starts of the second preferred embodiment of application process monitoring device of the invention obtains The structural schematic diagram of module.It includes that starting type acquiring unit 51 and the number of starts obtain list that the number of starts, which obtains module 42, Member 52.
Start type acquiring unit 51 to be used to obtain application process by the launching process function in starting management service and open The dynamic starting type for instructing corresponding application process.Number of starts acquiring unit 52 is used for through the starting in starting management service Process function obtains the number of starts of the application process of the corresponding starting type of application process enabled instruction within a preset time.
Fig. 6 is please referred to, Fig. 6 is the No starting module of the second preferred embodiment of application process monitoring device of the invention Structural schematic diagram.The No starting module 44 includes prompt unit 61.The prompt unit 61 is for returning to mentioning for No starting Show information.
The application process monitoring device 40 of this preferred embodiment is in use, command reception module 41 can receive application first Process initiation instruction, the application process enabled instruction be terminal in some activation application request starting or activate it is a certain apply into The instruction of journey, the application process can be the process in activation application, can also be the process of another application.
Subsequent start-up number obtains the starting type acquiring unit 51 of module 42 after receiving application process enabled instruction, Pass through the launching process function (Start in the starting management service (Activity Manager Service) in terminal system Process Locked), obtain the starting type of the corresponding application process of application process enabled instruction.Here starting type May include visualization interface (Activity) Starting mode, system service (Service) Starting mode, broadcast Starting mode and Data set provider (Content Provider) Starting mode etc..
Specifically, the managed class that starting type acquiring unit 51 passes through the launching process function in starting management service here Shape parameter (Hosting Type), to obtain the starting type of the corresponding application process of application process enabled instruction.
Then the number of starts acquiring unit 52 that the number of starts obtains module 42 passes through the starting management clothes in terminal system The launching process function (Start Process Locked) being engaged in (Activity Manager Service), obtains the application Process initiation instructs the number of starts of the application process of corresponding starting type within a preset time.It in this way can be secondary by starting Several statistics, learn the starting type application process whether frequent starting.Wherein preset time is opening for statistics application process The measurement period of dynamic number, such as one hour or one day.
Preferably, zero setting module 45 can be using preset time as interval here, and the number of starts of application processes carries out zero setting Operation, to realize the independence of the statistical data of each measurement period.
Finally, judging that the number of starts of the application process of the starting type within a preset time is less than or equal to preset value, then The application process for determining the starting type is not frequent starting, and normal starting module 43 passes through launching process function (Start Process Locked) apply for that corresponding resource and memory start the application process.
Specifically, the starting type such as application process is visualization interface Starting mode, then normal starting module 43 passes through The corresponding visualization interface starting side is found in interface starting processing function (Start Specific Activity Locked) The application process of formula then applies for corresponding resource and memory using launching process function (Start Process Locked) The application process is started.
If the starting type of application process is broadcast Starting mode, then normal starting module 43 passes through broadcast starting processing letter Number (Process Next Broadcast) finds the application process of the corresponding broadcast Starting mode, then uses launching process Function (Start Process Locked) applies for that corresponding resource and memory start the application process.
If the starting type of application process is system service Starting mode, then normal starting module 43 is by servicing at starting The application process that reason function (Bring Up Service Locked) finds the corresponding system service Starting mode, then makes Apply for that corresponding resource and memory open the application process with launching process function (Start Process Locked) It is dynamic.
If the starting type of application process is data set provider Starting mode, then normal starting module 43 is provided by data Person starts the application that the corresponding data set provider Starting mode is found in processing function (Get Content Provider Impl) Process then applies corresponding resource and memory to the application using launching process function (Start Process Locked) Process is started.
As judged, the number of starts of the application process of the starting type within a preset time is greater than preset value, then determines that this is answered With process frequent starting, No starting module 44 does not start the application process.
The prompt information of No starting can also be returned to system by the prompt unit 61 of No starting module 44 simultaneously, be avoided System or the obstruction of application.Furthermore the record of No starting can also be reported to starting management service by No starting module 44, with Just abnormal application process start-up operation is recorded.
The application process monitoring process of the application process monitoring device 40 of this preferred embodiment is completed in this way.
On the basis of first preferred embodiment, the application process monitoring device of this preferred embodiment is to different starting types The number of starts of application process individually monitored, further improve the validity of the monitoring management of application process.
Application process monitoring method and application process monitoring device of the invention is used according to the number of starts of application process Corresponding function carries out the monitoring management of application process, realizes the effective monitoring of application processes;Solves existing application Process monitoring method and application process monitoring device are unable to the technical issues of being actuated for effective monitoring of application processes.
" component ", " module ", " system ", " interface ", " process " etc. are generally intended to as used herein the term Refer to computer related entity: hardware, the combination of hardware and software, software or software in execution.For example, component can be but not It is limited to be the process on a processor of running, processor, object, executable application, thread, program and/or the computer executed. By diagram, both the application and the controller run on the controller can be component.One or more components can have It is in the process executed and/or thread, and component can be located on a computer and/or be distributed in two or more meters Between calculation machine.
Moreover, claimed theme may be implemented as generating software using standard program and/or engineering technology, consolidate Part, hardware or any combination thereof are to control the method, apparatus or manufacture that computer realizes disclosed theme.It is used herein Term " manufacture " be intended to comprising can be from any computer readable device, carrier or the computer program of medium access.Certainly, Those skilled in the art will appreciate that many modifications can be carried out to the configuration, without departing from claimed theme range or Spirit.
There is provided herein the various operations of embodiment.In one embodiment, one or more operations can be with structure At the computer-readable instruction stored on one or more computer-readable mediums, will make to succeed in one's scheme when being executed by electronic equipment It calculates equipment and executes the operation.Describing the sequences of some or all of operations, to should not be construed as to imply that these operations necessarily suitable Sequence is relevant.It will be appreciated by those skilled in the art that the alternative sequence of the benefit with this specification.Furthermore, it is to be understood that Not all operation must exist in each embodiment provided in this article.
Moreover, word " preferred " used herein means serving as example, example or illustration.Feng Wen is described as " preferably " any aspect or design be not necessarily to be construed as than other aspect or design it is more advantageous.On the contrary, the use purport of word " preferred " Concept is being proposed in specific ways.Term "or" as used in this application is intended to mean the "or" for including and non-excluded "or".That is, unless specified otherwise or clear from the context, " X uses A or B " means that nature includes any one of arrangement. That is, if X uses A;X uses B;Or X uses A and B both, then " X uses A or B " is met in aforementioned any example.
Moreover, although the disclosure, this field skill has shown and described relative to one or more implementations Art personnel will be appreciated that equivalent variations and modification based on the reading and understanding to the specification and drawings.The disclosure include it is all this The modifications and variations of sample, and be limited only by the scope of the following claims.In particular, to by said modules (such as element, Resource etc.) the various functions that execute, term for describing such components is intended to correspond to the specified function for executing the component The random component (unless otherwise instructed) of energy (such as it is functionally of equal value), even if illustrated herein with execution in structure The disclosure exemplary implementations in function open structure it is not equivalent.In addition, although the special characteristic of the disclosure Through being disclosed relative to the only one in several implementations, but this feature can with such as can be to given or specific application For be expectation and one or more other features combinations of other advantageous implementations.Moreover, with regard to term " includes ", " tool Have ", " containing " or its deformation be used in specific embodiments or claims for, such term be intended to with term The similar mode of "comprising" includes.
Each functional unit in the embodiment of the present invention can integrate in a processing module, be also possible to each unit list It is solely physically present, can also be integrated in two or more units in a module.Above-mentioned integrated module can both use Formal implementation of hardware can also be realized in the form of software function module.If the integrated module is with software function The form of module is realized and when sold or used as an independent product, also can store in computer-readable storage Jie In matter.Storage medium mentioned above can be read-only memory, disk or CD etc..Above-mentioned each device or system, can be with Execute the method in correlation method embodiment.
In conclusion although the present invention has been disclosed above in the preferred embodiment, but above preferred embodiment is not to limit The system present invention, those skilled in the art can make various changes and profit without departing from the spirit and scope of the present invention Decorations, therefore protection scope of the present invention subjects to the scope of the claims.

Claims (9)

1. a kind of application process monitoring method characterized by comprising
Receive application process enabled instruction, the application process enabled instruction be terminal in some activation application request starting or Person activates the instruction of a certain application process, and the application process is the process for activating the process applied or be another application;
By the launching process function in starting management service, obtains the corresponding application process of the application process enabled instruction and exist The number of starts in preset time, comprising:
By the launching process function in starting management service, the corresponding application process of the application process enabled instruction is obtained Start type;And
By the launching process function in starting management service, the corresponding starting type of the application process enabled instruction is obtained The number of starts of application process within a preset time;
If the number of starts of the application process within a preset time is less than or equal to preset value, then pass through the launching process function The application process is started;And
If the number of starts of the application process within a preset time is greater than the preset value, then the application process is not carried out Starting.
2. application process monitoring method according to claim 1, which is characterized in that the starting type includes visualization circle Face Starting mode, system service Starting mode, broadcast Starting mode and data set provider Starting mode.
3. application process monitoring method according to claim 1, which is characterized in that the application process monitoring method is also wrapped It includes:
Using the preset time as interval, zero-setting operation is carried out to the number of starts of the application process.
4. application process monitoring method according to claim 1, which is characterized in that described not carried out to the application process The step of starting includes:
Return to the prompt information of No starting.
5. a kind of application process monitoring device characterized by comprising
Command reception module, for receiving application process enabled instruction, the application process enabled instruction is some in terminal The starting of activation application request activates the instruction of a certain application process, the application process be the activation application process or For the process of another application;
The number of starts obtains module, for obtaining the application process and opening by the launching process function in starting management service It is dynamic to instruct the number of starts of corresponding application process within a preset time, comprising:
By the launching process function in starting management service, the corresponding application process of the application process enabled instruction is obtained Start type;And
By the launching process function in starting management service, the corresponding starting type of the application process enabled instruction is obtained The number of starts of application process within a preset time;
Normal starting module is less than or equal to preset value for the number of starts of such as described application process within a preset time, then leads to The launching process function is crossed to start the application process;And
No starting module is greater than the preset value for the number of starts of such as described application process within a preset time, then not The application process is started.
6. application process monitoring device according to claim 5, which is characterized in that the starting type includes visualization circle Face Starting mode, system service Starting mode, broadcast Starting mode and data set provider Starting mode.
7. application process monitoring device according to claim 5, which is characterized in that the application process monitoring device also wraps It includes:
Zero setting module, for carrying out zero-setting operation to the number of starts of the application process using the preset time as interval.
8. application process monitoring device according to claim 5, which is characterized in that the No starting module includes:
Prompt unit, for returning to the prompt information of No starting.
9. a kind of storage medium, is stored thereon with computer program, which is characterized in that when the computer program on computers When operation, so that the computer executes such as the described in any item methods of Claims 1-4.
CN201511032181.7A 2015-12-30 2015-12-30 Application process monitoring method and application process monitoring device Active CN105677533B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201511032181.7A CN105677533B (en) 2015-12-30 2015-12-30 Application process monitoring method and application process monitoring device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201511032181.7A CN105677533B (en) 2015-12-30 2015-12-30 Application process monitoring method and application process monitoring device

Publications (2)

Publication Number Publication Date
CN105677533A CN105677533A (en) 2016-06-15
CN105677533B true CN105677533B (en) 2018-12-11

Family

ID=56298522

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201511032181.7A Active CN105677533B (en) 2015-12-30 2015-12-30 Application process monitoring method and application process monitoring device

Country Status (1)

Country Link
CN (1) CN105677533B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018032161A1 (en) * 2016-08-14 2018-02-22 阮元 User habit-based radio recording technology adjusting method and pushing system
WO2019028680A1 (en) * 2017-08-08 2019-02-14 华为技术有限公司 Broadcast event processing method and device
CN110888683B (en) * 2018-08-16 2022-05-06 腾讯科技(深圳)有限公司 Performance optimization method and device of operating system and readable medium
CN111324423B (en) * 2020-03-03 2022-03-04 腾讯科技(深圳)有限公司 Method and device for monitoring processes in container, storage medium and computer equipment
CN112612526B (en) * 2020-12-24 2024-04-19 深圳市九洲电器有限公司 Application program control method, device, terminal equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104021019A (en) * 2014-06-18 2014-09-03 腾讯科技(深圳)有限公司 Application self-staring control method, terminal and server
CN104462952A (en) * 2014-12-31 2015-03-25 北京奇虎科技有限公司 Method and device for preventing self-starting of application
CN104461725A (en) * 2014-12-30 2015-03-25 小米科技有限责任公司 Application process starting control method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11272502A (en) * 1998-03-24 1999-10-08 Canon Inc Software reliability evaluation device, its method and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104021019A (en) * 2014-06-18 2014-09-03 腾讯科技(深圳)有限公司 Application self-staring control method, terminal and server
CN104461725A (en) * 2014-12-30 2015-03-25 小米科技有限责任公司 Application process starting control method and device
CN104462952A (en) * 2014-12-31 2015-03-25 北京奇虎科技有限公司 Method and device for preventing self-starting of application

Also Published As

Publication number Publication date
CN105677533A (en) 2016-06-15

Similar Documents

Publication Publication Date Title
CN105677533B (en) Application process monitoring method and application process monitoring device
CN105446811B (en) Application process is associated with starting method and association starter
CN105204969B (en) Abnormal log processing method and abnormal log processing unit
CN104484273B (en) The method of testing of application program, equipment and system
CN109639751B (en) Block chain link point monitoring method, device and system and computer storage medium
CN105426244B (en) Application process management method and application process managing device
US20160283356A1 (en) Event-driven automation testing for mobile devices
CN105740258B (en) Method for processing business and device based on idempotent number verification
CN107045475B (en) Test method and device
CN104503912A (en) Monitoring method and device for service responding process
CN103744772A (en) Method and system for detecting task running performance
CN108694093A (en) Process exception monitoring method and device
CN105700942B (en) Application process is associated with starting method and association starter
WO2015188761A1 (en) Traffic acquiring method and apparatus based on operating system
CN108491122A (en) A kind of click event response method, computer readable storage medium and terminal device
CN104980421A (en) Method and system for processing batch requests
CN104023147B (en) A kind of method and system that make mobile terminal stablize dormancy
CN105653364B (en) Application process management method and application process managing device
CN113220431A (en) Cross-cloud distributed data task scheduling method, device and storage medium
CN105653339B (en) Application process starts method and application process starter
CN109858257B (en) Access control method and device
CN105635231A (en) Calling method and apparatus of distributed system
US20170068706A1 (en) Event-stream searching using compiled rule patterns
CN108874658A (en) A kind of sandbox analysis method, device, electronic equipment and storage medium
CN105700866B (en) RTE code generating method and its executive device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: Guangdong Opel Mobile Communications Co., Ltd.