CN105677533A - Application process monitoring method and device - Google Patents

Application process monitoring method and device Download PDF

Info

Publication number
CN105677533A
CN105677533A CN201511032181.7A CN201511032181A CN105677533A CN 105677533 A CN105677533 A CN 105677533A CN 201511032181 A CN201511032181 A CN 201511032181A CN 105677533 A CN105677533 A CN 105677533A
Authority
CN
China
Prior art keywords
application process
starts
startup
application
starting
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
CN201511032181.7A
Other languages
Chinese (zh)
Other versions
CN105677533B (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)
  • Debugging And Monitoring (AREA)
  • Stored Programmes (AREA)

Abstract

The invention provides an application process monitoring method. The method comprises the steps that an application process starting instruction is received; by starting a starting process function in management service, the number of times for starting an application process corresponding to the application process starting instruction within preset time is obtained; if the number of the times for starting the application process within the preset time is smaller than a preset value, the starting process function is used for starting the application process; if the number of the times for starting the application process within the preset time is larger than the preset value, the application process is not started. The invention further provides an application process monitoring device. According to the application process monitoring method and device, the corresponding function is used for monitoring and managing the application process according to the number of the times for starting the application process, and therefore the application process can be effectively monitored.

Description

Application process method for supervising and application process supervising device
Technical field
The present invention relates to application process control field, particularly relate to a kind of application process method for supervising and applicationProcess monitoring device.
Background technology
In the prior art, certain application can by call or show a visualization interface (activity),Non-visual running background service (service) or for the data set provider (Content of data, services is providedProvider), realize self application or the process initiation of other application.
But above-mentioned application start mode may be by some rogue's applications exploiting, as application A should by callingWith the visualization interface of B, thus the startup of the application process of realization application B; If now application A is closedClose, application B can call the visualization interface of application A equally, thereby the application process of realization application AStart. The application process that makes like this to apply A and application B in system always in activating starting state,Cause the waste of system resource.
Summary of the invention
The embodiment of the present invention provides a kind of can application processes start the application process monitoring of carrying out effective monitoringMethod and application process supervising device; To solve existing application process method for supervising and application process monitoring dressPut can not application processes the startup technical problem of carrying out effective monitoring.
The embodiment of the present invention provides a kind of application process method for supervising, and it comprises:
Receive application process enabled instruction;
By starting the startup process function in management service, obtain described application process enabled instruction correspondingThe number of starts of application process in Preset Time;
As described in the number of starts of application process in Preset Time be less than or equal to preset value, open by describedMoving process function starts described application process; And
As described in the number of starts of application process in Preset Time be greater than as described in preset value, not to described shouldStart by process.
In application process method for supervising of the present invention, describedly enter by the startup starting in management serviceEikonal number, obtains the number of starts of application process corresponding to described application process enabled instruction in Preset TimeStep specifically comprise:
By starting the startup process function in management service, obtain described application process enabled instruction correspondingThe startup type of application process; And
By starting the startup process function in management service, obtain described application process enabled instruction correspondingThe number of starts of the application process of startup type in Preset Time;
Described as described in the number of starts of application process in Preset Time be less than or equal to preset value, pass through instituteState and start process function step that described application process is started and be specially:
As described in the application process of the startup type number of starts in Preset Time be less than or equal to preset value,By described startup process function, described application process is started;
Described as described in the number of starts of application process in Preset Time be greater than as described in preset value, not to instituteStating the step that application process starts is specially:
As described in the application process of the startup type number of starts in Preset Time be greater than preset value, not rightDescribed application process starts.
In application process method for supervising of the present invention, described startup type comprises that visualization interface startsMode, system service Starting mode, broadcast Starting mode and data set provider Starting mode.
In application process method for supervising of the present invention, described application process method for supervising also comprises:
Taking described Preset Time as interval, the number of starts of described application process is carried out to zero-setting operation.
In the application process method for supervising of the present invention, describedly or not application process is not startedStep comprises:
Return to the information of No starting.
The embodiment of the present invention also provides a kind of application process supervising device, and it comprises:
Command reception module, for receiving application process enabled instruction;
Number of starts acquisition module, for passing through to start the startup process function of management service, described in obtainingThe number of starts of application process corresponding to application process enabled instruction in Preset Time;
The normal module that starts, for as described in the number of starts of application process in Preset Time be less than or equal in advanceIf value, starts described application process by described startup process function; And
No starting module, for as described in the number of starts of application process in Preset Time pre-as described in being greater thanIf value, does not start described application process.
In application process supervising device of the present invention, described number of starts acquisition module comprises:
Start type acquiring unit, for passing through to start the startup process function of management service, described in obtainingThe startup type of application process corresponding to application process enabled instruction; And
Number of starts acquiring unit, for passing through to start the startup process function of management service, described in obtainingThe number of starts of the application process of startup type corresponding to application process enabled instruction in Preset Time;
Described normal startup module specifically for as described in application process the opening in Preset Time of startup typeMoving number of times is less than or equal to preset value, by described startup process function, described application process is started;
Described No starting module specifically for as described in application process the opening in Preset Time of startup typeMoving number of times is greater than preset value, described application process is not started.
In application process supervising device of the present invention, described startup type comprises that visualization interface startsMode, system service Starting mode, broadcast Starting mode and data set provider Starting mode.
In application process supervising device of the present invention, described application process supervising device also comprises:
Zero setting module, for taking described Preset Time as interval, carries out the number of starts of described application processZero-setting operation.
In application process supervising device of the present invention, described No starting module comprises:
Tip element, for returning to the information of No starting.
Compared to application process method for supervising and the application process supervising device of prior art, application of the present inventionProcess monitoring method and application process supervising device, according to the number of starts of application process, use corresponding functionCarry out the monitoring management of application process, realized the effective monitoring of application processes; Solve existing applicationProcess monitoring method and application process supervising device can not application processes the startup skill of carrying out effective monitoringArt problem.
Brief description of the drawings
Fig. 1 is the flow chart of the first preferred embodiment of application process method for supervising of the present invention;
Fig. 2 is the flow chart of the second preferred embodiment of application process method for supervising of the present invention;
Fig. 3 is the structural representation of the first preferred embodiment of application process supervising device of the present invention;
Fig. 4 is the structural representation of the second preferred embodiment of application process supervising device of the present invention;
Fig. 5 is the number of starts acquisition module of the second preferred embodiment of application process supervising device of the present inventionStructural representation;
Fig. 6 is the knot of the No starting module of the second preferred embodiment of application process supervising device of the present inventionStructure schematic diagram.
Detailed description of the invention
Please refer to graphicly, wherein identical element numbers represents identical assembly, and principle of the present invention is with realityIn the suitable computing environment of Shi Yi, illustrate. The following description is concrete based on illustrated the present inventionEmbodiment, it should not be regarded as limiting the present invention not at other specific embodiment of this detailed description.
In the following description, specific embodiments of the invention with reference to by one or multi-section computer performedStep and the symbol of operation illustrate, unless separately stated clearly. Therefore, its can recognize these steps andOperation, wherein have and mention as being carried out by computer for several times, comprised by having represented with in a structuring patternThe computer processing unit of the electronic signal of data is handled. These data of this manipulation transforms or maintained thisPosition within computer in deposit system, it is reconfigurable or known with those skilled in the art in additionMode change the running of this computer. The provider location that the data structure that these data maintain is this internal memory,It has by the defined particular characteristics of this data format. But the principle of the invention illustrates with above-mentioned word,It is not represented as a kind of restriction, and those skilled in the art can recognize plurality of step and the behaviour of the following statedAlso may be implemented in the middle of hardware.
Application process supervising device of the present invention can use various electronic equipments to implement, this electronic equipment bagDraw together but be not limited to personal computer, server computer, hand-held or laptop devices, mobile device (such asMobile phone, personal digital assistant (PDA), media player etc.), multicomputer system, consumption-orientation electricitySubset, minicom, mainframe computer, comprise the Distributed Calculation ring of above-mentioned any system or equipmentBorder, etc. But this electronic equipment is preferably intelligent mobile terminal, with improve intelligent mobile terminal to apply intoThe validity of range monitoring.
Please refer to Fig. 1, Fig. 1 is the flow process of the first preferred embodiment of application process method for supervising of the present inventionFigure. The application process method for supervising of this preferred embodiment can use above-mentioned electronic equipment to implement. ShouldComprise with process monitoring method:
Step S101, receives application process enabled instruction;
Step S102, by starting the startup process function in management service, obtains application process enabled instructionThe number of starts of corresponding application process in Preset Time;
Step S103, as the number of starts of application process in Preset Time is less than or equal to preset value, passes throughStarting process function application processes starts;
Step S104, as the number of starts of application process in Preset Time is greater than preset value, not to applicationProcess starts.
Describe the idiographic flow of each step of the application process method for supervising of this preferred embodiment below in detail.
In step S101, application process supervising device can receive application process enabled instruction, this apply intoJourney enabled instruction is certain instruction that activates application request startup or activate a certain application process in terminal, shouldApplication process can be the process in this activation application, also can be the process of Another Application. Forward subsequently step toS102。
In step S102, application process supervising device is receiving after application process enabled instruction, by endStartup process function (Start in startup management service (ActivityManagerService) in end systemProcessLocked), obtain application process corresponding to this application process enabled instruction opening in Preset TimeMoving number of times. Like this can be by the statistics of the number of starts, learn whether frequent starting of this application process. WhereinPreset Time is the measurement period of the number of starts of statistics application process, as one hour or one day etc. Turn subsequentlyTo step S103 or step S104.
In step S103, as the application process of obtaining in application process supervising device determining step S102 existsThe number of starts in Preset Time is less than or equal to preset value, judges that this application process is not frequent starting, shouldWith process monitoring device by start process function (StartProcessLocked) apply for corresponding resource andInternal memory starts this application process.
In step S104, as the application process of obtaining in application process supervising device determining step S102 existsThe number of starts in Preset Time is greater than preset value, judges this application process frequent starting, application process prisonControl device does not start this application process.
So, completed the application process monitor procedure of the application process method for supervising of this preferred embodiment.
The application process method for supervising of this preferred embodiment, according to the number of starts of application process, uses correspondingFunction carries out the monitoring management of application process, has reduced the self-starting of application process, has realized application processesThe effective monitoring starting, has reduced the power consumption of corresponding mobile terminal.
Please refer to Fig. 2, Fig. 2 is the flow process of the second preferred embodiment of application process method for supervising of the present inventionFigure. The application process method for supervising of this preferred embodiment can use above-mentioned electronic equipment to implement. ShouldComprise with process monitoring method:
Step S201, receives application process enabled instruction;
Step S202, by starting the startup process function in management service, obtains application process enabled instructionThe startup type of corresponding application process;
Step S203, by starting the startup process function in management service, obtains application process enabled instructionThe number of starts of the application process of corresponding startup type in Preset Time;
Step S204, as the number of starts of the application process of startup type in Preset Time is less than or equal to defaultValue, starts by starting process function application processes;
Step S205, as the number of starts of the application process of startup type in Preset Time is greater than preset value,Described application process is not started.
Describe the idiographic flow of each step of the application process method for supervising of this preferred embodiment below in detail.
In step S201, application process supervising device can receive application process enabled instruction, this apply intoJourney enabled instruction is certain instruction that activates application request startup or activate a certain application process in terminal, shouldApplication process can be the process in this activation application, also can be the process of Another Application. Forward subsequently step toS202。
In step S202, application process supervising device is receiving after application process enabled instruction, by endStartup process function (Start in startup management service (ActivityManagerService) in end systemProcessLocked), obtain the startup type of application process corresponding to this application process enabled instruction. HereStartup type can comprise that visualization interface (Activity) Starting mode, system service (Service) startMode, broadcast Starting mode and data set provider (ContentProvider) Starting mode etc.
Concrete, application process supervising device is by starting the holder of the startup process function in management service hereTubing shape parameter (HostingType), the startup of obtaining application process corresponding to application process enabled instructionType. Forward subsequently step S203 to.
In step S203, application process supervising device is by the startup management service in terminal system(ActivityManagerService) the startup process function (StartProcessLocked) in, obtainsThe number of starts of the application process of startup type corresponding to this application process enabled instruction in Preset Time. ThisSample can be by the statistics of the number of starts, learns the whether frequent starting of application process of this startup type. WhereinPreset Time is the measurement period of the number of starts of statistics application process, as one hour or one day etc.
Preferably, can Preset Time be interval here, the number of starts of application processes is carried out zero-setting operation,To realize the independence of statistics of each measurement period. Forward subsequently step S204 or step S205 to.
In step S204, this startup type of obtaining in application process supervising device determining step S203The number of starts of application process in Preset Time is less than or equal to preset value, judges the application of this startup typeProcess is not frequent starting, and application process supervising device is by starting process function (StartProcessLocked)Apply for that corresponding resource and internal memory start this application process.
Be specially, if the startup type of application process is visualization interface Starting mode, application process monitoringDevice starts processing function (StartSpecificActivityLocked) by interface and finds this visual accordinglyChange the application process of interface Starting mode, use subsequently and start process function (StartProcessLocked) ShenResource and internal memory start this application process accordingly.
If the startup type of application process is broadcast Starting mode, application process supervising device opens by broadcastThe moving function (ProcessNextBroadcast) of processing finds this corresponding application process of broadcasting Starting mode,Use subsequently startup process function (StartProcessLocked) to apply for that corresponding resource and internal memory should to thisStart by process.
If the startup type of application process is system service Starting mode, application process supervising device is by clothesBusiness startup processing function (BringUpServiceLocked) finds this corresponding system service Starting modeApplication process, subsequently use start process function (StartProcessLocked) apply for corresponding resource andInternal memory starts this application process.
If the startup type of application process is data set provider Starting mode, application process supervising device passes throughData set provider starts processing function (GetContentProviderImpl) and finds these corresponding data to provideThe application process of person's Starting mode, is used subsequently and starts process function (StartProcessLocked) application phaseThe resource of answering and internal memory start this application process.
In step S205, as this startup type of obtaining in application process supervising device determining step S203The number of starts of application process in Preset Time be greater than preset value, judge this application process frequent starting,Application process supervising device does not start this application process.
Application process supervising device also can return to system by the information of No starting simultaneously, avoids systemOr the obstruction of application. In addition application process supervising device also can report to the record of No starting and start managementService, to carry out record to abnormal application process start-up operation.
So, completed the application process monitor procedure of the application process method for supervising of this preferred embodiment.
On the basis of the first preferred embodiment, the application process method for supervising of this preferred embodiment opens differenceThe number of starts of the application process of moving type is monitored separately, has further improved the monitoring pipe of application processThe validity of reason.
The present invention also provides a kind of application process supervising device, please refer to Fig. 3, and Fig. 3 is application of the present inventionThe structural representation of the first preferred embodiment of process monitoring device. The application process monitoring of this preferred embodimentDevice can use the first preferred embodiment of above-mentioned application process method for supervising to implement. This application processSupervising device 30 comprises command reception module 31, number of starts acquisition module 32, normally starts module 33And No starting module 34.
Command reception module 31 is for receiving application process enabled instruction. Number of starts acquisition module 32 forBy starting the startup process function in management service, obtain application process corresponding to application process enabled instructionThe number of starts in Preset Time. The normal module 33 that starts is for as application process opening in Preset TimeMoving number of times is less than or equal to preset value, starts by starting process function application processes. No startingModule 34 is for being greater than preset value as the number of starts of application process in Preset Time, not to described applicationProcess starts.
When the application process supervising device 30 of this preferred embodiment uses, first command reception module 31 can connectReceive application process enabled instruction, this application process enabled instruction is that certain the activation application request in terminal opensMove or activate the instruction of a certain application process, this application process can be the process in this activation application, also can beThe process of Another Application.
Number of starts acquisition module 32 is receiving after application process enabled instruction, in terminal system subsequentlyStartup management service (ActivityManagerService) in startup process function (StartProcessLocked), obtain the number of starts of application process corresponding to this application process enabled instruction in Preset Time.Like this can be by the statistics of the number of starts, learn whether frequent starting of this application process. Wherein Preset TimeFor the measurement period of the number of starts of statistics application process, as one hour or one day etc.
The startup of the last application process that number of starts acquisition module 32 obtains as judge in Preset Time is inferiorNumber is less than or equal to preset value, judges that this application process is not frequent starting, normally starts module 33 by openingMoving process function (StartProcessLocked) applies for that corresponding resource and internal memory carry out this application processStart.
The number of starts of the application process that number of starts acquisition module 32 obtains as judged in Preset Time is largeIn preset value, judge this application process frequent starting, No starting module 34 is not carried out this application processStart.
So, completed the application process monitor procedure of the application process supervising device 30 of this preferred embodiment.
The application process supervising device of this preferred embodiment, according to the number of starts of application process, uses correspondingFunction carries out the monitoring management of application process, has reduced the self-starting of application process, has realized application processesThe effective monitoring starting, has reduced the power consumption of corresponding mobile terminal.
Please refer to Fig. 4, Fig. 4 is the structure of the second preferred embodiment of application process supervising device of the present inventionSchematic diagram. The application process supervising device of this preferred embodiment can use above-mentioned application process method for supervisingThe second preferred embodiment is implemented. This application process supervising device 40 comprises command reception module 41, opensMoving number of times acquisition module 42, normally start module 43, No starting module 44 and zero setting module 45.
Command reception module 41 is for receiving application process enabled instruction. Number of starts acquisition module 42 forBy starting the startup process function in management service, obtain application process corresponding to application process enabled instructionThe number of starts in Preset Time. The normal module 43 that starts is for presetting as the application process that starts typeThe number of starts in time is less than or equal to preset value, starts by starting process function application processes.No starting module 44 is for be greater than as the number of starts of the application process that starts type in Preset Time in advanceIf value, application processes does not start. Zero setting module 45 is for taking Preset Time as interval, to applicationThe number of starts of process is carried out zero-setting operation.
Please refer to Fig. 5, Fig. 5 is the startup of the second preferred embodiment of application process supervising device of the present inventionThe structural representation of number of times acquisition module. This number of starts acquisition module 42 comprises startup type acquiring unit51 and number of starts acquiring unit 52.
Start type acquiring unit 51 for by the startup process function that starts management service, obtain applicationThe startup type of application process corresponding to process initiation instruction. Number of starts acquiring unit 52 starts for passing throughStartup process function in management service, obtains the application of startup type corresponding to application process enabled instruction and entersThe number of starts of journey in Preset Time.
Please refer to Fig. 6, Fig. 6 is the forbidding of the second preferred embodiment of application process supervising device of the present inventionStart the structural representation of module. This No starting module 44 comprises Tip element 61. This Tip element 61For returning to the information of No starting.
When the application process supervising device 40 of this preferred embodiment uses, first command reception module 41 can connectReceive application process enabled instruction, this application process enabled instruction is that certain the activation application request in terminal opensMove or activate the instruction of a certain application process, this application process can be the process in this activation application, also can beThe process of Another Application.
The startup type acquiring unit 51 of number of starts acquisition module 42 is receiving application process startup subsequentlyAfter instruction, by the startup in the startup management service (ActivityManagerService) in terminal systemProcess function (StartProcessLocked), obtains application process corresponding to this application process enabled instructionStart type. The startup type here can comprise visualization interface (Activity) Starting mode, system service(Service) Starting mode, broadcast Starting mode and data set provider (ContentProvider) startMode etc.
Concrete, start type acquiring unit 51 here by starting startup process function in management serviceManaged class shape parameter (HostingType), obtains opening of application process corresponding to application process enabled instructionMoving type.
Then the number of starts acquiring unit 52 of number of starts acquisition module 42 is by the startup in terminal systemStartup process function (StartProcessLocked) in management service (ActivityManagerService),The startup in Preset Time time of the application process of obtaining startup type corresponding to this application process enabled instructionNumber. Like this can be by the statistics of the number of starts, learn the whether frequent starting of application process of this startup type.Wherein Preset Time is the measurement period of the number of starts of statistics application process, as one hour or one day etc.
Preferably, zero setting module here 45 can Preset Time be interval, and the number of starts of application processes is enteredRow zero-setting operation, to realize the independence of statistics of each measurement period.
Finally, the number of starts of the application process that judges this startup type in Preset Time is less than or equal to defaultValue, the application process of judging this startup type is not frequent starting, normally start module 43 by start intoEikonal number (StartProcessLocked) applies for that corresponding resource and internal memory start this application process.
Be specially, if the startup type of application process is visualization interface Starting mode, normally start module43 start processing function (StartSpecificActivityLocked) by interface finds this visual accordinglyThe application process of interface Starting mode, is used subsequently and starts process function (StartProcessLocked) applicationCorresponding resource and internal memory start this application process.
If the startup type of application process is for broadcast Starting mode, normally starts module 43 and start by broadcastProcess the application process that function (ProcessNextBroadcast) finds this corresponding broadcast Starting mode, withRear use starts process function (StartProcessLocked) and applies for that corresponding resource and internal memory are to this applicationProcess starts.
If the startup type of application process is system service Starting mode, normally start module 43 by serviceStart processing function (BringUpServiceLocked) and find answering of this corresponding system service Starting modeBy process, subsequently use start process function (StartProcessLocked) apply for corresponding resource and inDeposit this application process is started.
If the startup type of application process is data set provider Starting mode, normally start module 43 by numberStart processing function (GetContentProviderImpl) according to supplier and find this corresponding data set providerThe application process of Starting mode, is used startup process function (StartProcessLocked) to apply for corresponding subsequentlyResource and internal memory this application process is started.
As the number of starts of the application process that judges this startup type in Preset Time be greater than preset value, sentenceFixed this application process frequent starting, No starting module 44 does not start this application process.
The Tip element 61 of No starting module 44 also can return to the information of No starting and be simultaneouslyUnite, avoid the obstruction of system or application. In addition No starting module 44 also can report the record of No startingTo starting management service, to abnormal application process start-up operation is carried out to record.
So, completed the application process monitor procedure of the application process supervising device 40 of this preferred embodiment.
On the basis of the first preferred embodiment, the application process supervising device of this preferred embodiment opens differenceThe number of starts of the application process of moving type is monitored separately, has further improved the monitoring pipe of application processThe validity of reason.
Application process method for supervising of the present invention and application process supervising device are according to the startup of application process timeNumber, uses corresponding function to carry out the monitoring management of application process, has realized the effective monitoring of application processes;Solved existing application process method for supervising and application process supervising device can not application processes startupCarry out the technical problem of effective monitoring.
Term " assembly ", " module ", " system ", " interface ", " process " etc. are general as used in this applicationGround is intended to refer to computer related entity: combination, software or the executory software of hardware, hardware and software.For example, assembly can be but be not limited to be to operate in process, processor, object on processor, can carry outApplication, thread, program and/or the computer carried out. By diagram, operate in application on controller andThe two can be assembly for this controller. One or more assemblies can have process and/or the line of the execution of beingIn journey, and assembly can and/or be distributed between two or more computers on a computer.
And claimed theme may be implemented as and uses standard program and/or engineering to produce softPart, firmware, hardware or its be combined to control the disclosed theme of computer realization method, device orManufacture. Term as used herein " manufacture " is intended to comprise can be from any computer readable device, carrierOr the computer program of medium access. Certainly, those skilled in the art will recognize that and can carry out this configurationMany amendments, and do not depart from scope or the spirit of claimed theme.
The various operations of embodiment are provided herein. In one embodiment, described one or more operationsCan form the computer-readable instruction of storing on one or more computer-readable mediums, it is being established by electronicsWhen standby execution, will make computing equipment carry out described operation. The order of describing some or all of operations should be byBe interpreted as implying that these operations must be that order is relevant. It will be appreciated by those skilled in the art that and there is this descriptionThe alternative sequence of benefit. And, should be appreciated that not all operation must be provided in this articleIn each embodiment, exist.
And the word " preferably " using herein means as example, example or illustration. Feng Wen describesFor " preferably " any aspect or design needn't be interpreted as than other aspects or design more favourable. On the contrary, wordThe use of language " preferably " is intended to propose concept in concrete mode. Term "or" purport as used in this applicationIn the "or" that means to comprise but not get rid of "or". That is, unless otherwise or clear from the context, " XUse A or B " mean any one that nature comprises arrangement. , if X uses A; X uses B; OrX use A and B the two, " X uses A or B " is met in aforementioned arbitrary example.
And, although illustrate and described the disclosure with respect to one or more implementations, thisReading and the understanding of those skilled in the art based on to this description and accompanying drawing will be expected equivalent variations and amendment.The disclosure comprises all such amendments and modification, and is only limited by the scope of claims. EspeciallyGround is about the various functions of such as, being carried out by said modules (element, resource etc.), for describing such groupThe term of part is for example intended to, corresponding to the appointed function (it is of equal value in function) of carrying out described assemblyRandom component (unless otherwise instructed), though structurally with carry out exemplary reality of the present disclosure shown in this articleThe open structure of the function in existing mode is not equal to. In addition, although special characteristic of the present disclosure with respect toIn some implementations only one be disclosed, but this feature can with as can to given or specific shouldWith being to expect and one or more other Feature Combinations of favourable other implementations. And, with regard to artLanguage " comprises ", " having ", " containing " or its distortion are used in detailed description of the invention or claim,Such term is intended to comprise " to comprise " similar mode to term.
Each functional unit in the embodiment of the present invention can be integrated in a processing module, can be also eachThe independent physics in unit exists, and also can be integrated in a module two or more unit. Above-mentioned integratedModule both can adopt hardware form realize, also can adopt software function module form realize. InstituteIf stating integrated module realizes also as independently production marketing or use using the form of software function moduleTime, also can be stored in a computer read/write memory medium. The above-mentioned storage medium of mentioning can beRead-only storage, disk or CD etc. Above-mentioned each device or system, can carry out correlation method embodimentIn method.
In sum, although the present invention discloses as above with preferred embodiment, above preferred embodiment notIn order to limit the present invention, those of ordinary skill in the art, without departing from the spirit and scope of the present invention,All can do various changes and retouching, the scope that therefore protection scope of the present invention defines with claim is as the criterion.

Claims (10)

1. an application process method for supervising, is characterized in that, comprising:
Receive application process enabled instruction;
By starting the startup process function in management service, obtain described application process enabled instruction correspondingThe number of starts of application process in Preset Time;
As described in the number of starts of application process in Preset Time be less than or equal to preset value, open by describedMoving process function starts described application process; And
As described in the number of starts of application process in Preset Time be greater than as described in preset value, not to described shouldStart by process.
2. application process method for supervising according to claim 1, is characterized in that, described by startingStartup process function in management service, obtains application process corresponding to described application process enabled instruction in advanceIf the step of the number of starts in the time specifically comprises:
By starting the startup process function in management service, obtain described application process enabled instruction correspondingThe startup type of application process; And
By starting the startup process function in management service, obtain described application process enabled instruction correspondingThe number of starts of the application process of startup type in Preset Time;
Described as described in the number of starts of application process in Preset Time be less than or equal to preset value, pass through instituteState and start process function step that described application process is started and be specially:
As described in the application process of the startup type number of starts in Preset Time be less than or equal to preset value,By described startup process function, described application process is started;
Described as described in the number of starts of application process in Preset Time be greater than as described in preset value, not to instituteStating the step that application process starts is specially:
As described in the application process of the startup type number of starts in Preset Time be greater than preset value, not rightDescribed application process starts.
3. application process method for supervising according to claim 2, is characterized in that, described startup typeComprise visualization interface Starting mode, system service Starting mode, broadcast Starting mode and data set providerStarting mode.
4. application process method for supervising according to claim 1, is characterized in that, described application processMethod for supervising also comprises:
Taking described Preset Time as interval, the number of starts of described application process is carried out to zero-setting operation.
5. application process method for supervising according to claim 1, is characterized in that, described not to describedThe step that application process starts comprises:
Return to the information of No starting.
6. an application process supervising device, is characterized in that, comprising:
Command reception module, for receiving application process enabled instruction;
Number of starts acquisition module, for passing through to start the startup process function of management service, described in obtainingThe number of starts of application process corresponding to application process enabled instruction in Preset Time;
The normal module that starts, for as described in the number of starts of application process in Preset Time be less than or equal in advanceIf value, starts described application process by described startup process function; And
No starting module, for as described in the number of starts of application process in Preset Time pre-as described in being greater thanIf value, does not start described application process.
7. application process supervising device according to claim 6, is characterized in that, the described number of startsAcquisition module comprises:
Start type acquiring unit, for passing through to start the startup process function of management service, described in obtainingThe startup type of application process corresponding to application process enabled instruction; And
Number of starts acquiring unit, for passing through to start the startup process function of management service, described in obtainingThe number of starts of the application process of startup type corresponding to application process enabled instruction in Preset Time;
Described normal startup module specifically for as described in application process the opening in Preset Time of startup typeMoving number of times is less than or equal to preset value, by described startup process function, described application process is started;
Described No starting module specifically for as described in application process the opening in Preset Time of startup typeMoving number of times is greater than preset value, described application process is not started.
8. application process supervising device according to claim 7, is characterized in that, described startup typeComprise visualization interface Starting mode, system service Starting mode, broadcast Starting mode and data set providerStarting mode.
9. application process supervising device according to claim 6, is characterized in that, described application processSupervising device also comprises:
Zero setting module, for taking described Preset Time as interval, carries out the number of starts of described application processZero-setting operation.
10. application process supervising device according to claim 6, is characterized in that, described in forbid openingDynamic model piece comprises:
Tip element, for returning to the information of No starting.
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 true CN105677533A (en) 2016-06-15
CN105677533B 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)

Cited By (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
CN110888683A (en) * 2018-08-16 2020-03-17 腾讯科技(深圳)有限公司 Performance optimization method and device of operating system and readable medium
CN111324423A (en) * 2020-03-03 2020-06-23 腾讯科技(深圳)有限公司 Method and device for monitoring processes in container, storage medium and computer equipment
CN112612526A (en) * 2020-12-24 2021-04-06 深圳市九洲电器有限公司 Application program control method and device, terminal device and storage medium

Citations (4)

* 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
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

Patent Citations (4)

* 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
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

Cited By (8)

* 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
US11449369B2 (en) 2017-08-08 2022-09-20 Huawei Technologies Co., Ltd. Broadcast event processing method and device
CN110888683A (en) * 2018-08-16 2020-03-17 腾讯科技(深圳)有限公司 Performance optimization method and device of operating system and readable medium
CN110888683B (en) * 2018-08-16 2022-05-06 腾讯科技(深圳)有限公司 Performance optimization method and device of operating system and readable medium
CN111324423A (en) * 2020-03-03 2020-06-23 腾讯科技(深圳)有限公司 Method and device for monitoring processes in container, storage medium and computer equipment
CN112612526A (en) * 2020-12-24 2021-04-06 深圳市九洲电器有限公司 Application program control method and device, terminal device and storage medium
CN112612526B (en) * 2020-12-24 2024-04-19 深圳市九洲电器有限公司 Application program control method, device, terminal equipment and storage medium

Also Published As

Publication number Publication date
CN105677533B (en) 2018-12-11

Similar Documents

Publication Publication Date Title
CN105677533A (en) Application process monitoring method and device
CN109800181B (en) Disk-based data writing method, data writing device and terminal equipment
CN103186385A (en) Electronic device capable of setting starting parameter and setting method
CN111813517B (en) Task queue allocation method and device, computer equipment and medium
CN107817962B (en) Remote control method, device, control server and storage medium
US10893113B2 (en) Generating push notifications
US9377966B2 (en) Method and apparatus for efficiently processing storage commands
US8510426B2 (en) Communication and coordination between web services in a cloud-based computing environment
CN110908837A (en) Application program exception handling method and device, electronic equipment and storage medium
CN105700942A (en) Associated start method and associated start device for application process
CN112181317B (en) Service data hierarchical storage method and device based on container cloud
CN113094125A (en) Business process processing method, device, server and storage medium
CN112905668A (en) Database derivative method, apparatus, and medium based on distributed data stream processing engine
CN105653364A (en) Application process management method and application process management device
CN110737678B (en) Data searching method, device, equipment and storage medium
CN111984198A (en) Message queue implementation method and device and electronic equipment
CN105653339A (en) Application process starting method and application process starting device
CN116862468A (en) Attendance management method, attendance management device, computer equipment and storage medium
CN103761096A (en) Automatic input method and device achieved based on IBinder mechanism
CN108459942A (en) A kind of data processing method, device and storage medium
CN115145381A (en) Method, system, storage medium and equipment for remotely resetting BMC chip
CN105677400A (en) Application process starting method and application process starting device
CN105677401A (en) Application process starting method and application process starting device
CN108874560B (en) Method and communication device for communication
CN105700916A (en) Application process start method and application process start 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

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.

CP01 Change in the name or title of a patent holder