CN107844341A - Management-control method, device and the storage medium and mobile terminal of process initiation - Google Patents

Management-control method, device and the storage medium and mobile terminal of process initiation Download PDF

Info

Publication number
CN107844341A
CN107844341A CN201711167209.7A CN201711167209A CN107844341A CN 107844341 A CN107844341 A CN 107844341A CN 201711167209 A CN201711167209 A CN 201711167209A CN 107844341 A CN107844341 A CN 107844341A
Authority
CN
China
Prior art keywords
launched
service
started
initiation
attribute information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201711167209.7A
Other languages
Chinese (zh)
Other versions
CN107844341B (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 CN201711167209.7A priority Critical patent/CN107844341B/en
Publication of CN107844341A publication Critical patent/CN107844341A/en
Application granted granted Critical
Publication of CN107844341B publication Critical patent/CN107844341B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/485Task life-cycle, e.g. stopping, restarting, resuming execution

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the present application, which discloses a kind of management-control method of process initiation, device and storage medium and mobile terminal, methods described, to be included:When detecting that preset timer reaches setting interval time, determine that system is triggered by triggering service startup to be launched to carry out the event of process initiation to be launched, the preset timer is started for clocked flip service to be launched, and the process to be launched is process corresponding to service to be launched;Obtain the attribute information of the process to be launched;If the attribute information meets to forbid the condition that process to be launched is started, the process to be launched is forbidden to be started.The technical scheme that the embodiment of the present application provides, realizing that no thoroughfare, start by set date service comes from launching process, can rational management and control process start-up operation, save the running memory and electricity of mobile terminal, improve the fluency of running of mobile terminal.

Description

Management-control method, device and the storage medium and mobile terminal of process initiation
Technical field
The invention relates to process management and control technical field, more particularly to a kind of management-control method of process initiation, device And storage medium and mobile terminal.
Background technology
Application species and achievable function in the mobile terminals such as mobile phone is more and more, is carried for the live and work of people Facility is supplied, people can take phone using mobile phone, can also listen music, viewing video, play game etc..One application program One or more process may be run during operation, to realize one or more function of the application program It is normal to implement.In correlation technique, for application program process initiation management-control method existing defects, it is necessary to improve.
The content of the invention
The embodiment of the present application provides a kind of management-control method of process initiation, device and storage medium and mobile terminal, can be with The startup of rational management and control process.
In a first aspect, the embodiment of the present application provides a kind of management-control method of process initiation, including:
Detect preset timer reach setting interval time when, determine system by trigger it is to be launched service start come The event for carrying out process initiation to be launched is triggered, and the preset timer is started for clocked flip service to be launched, The process to be launched is process corresponding to service to be launched;
Obtain the attribute information of the process to be launched;
If the attribute information meets to forbid the condition that process to be launched is started, the process to be launched is forbidden to enter Row starts.
In second aspect, the embodiment of the present application provides a kind of control device of process initiation, including:
Process initiation event trigger module, for detect preset timer reach setting interval time when, it is determined that being System is triggered by triggering service startup to be launched to carry out the event of process initiation to be launched, and the preset timer is used for fixed When trigger service to be launched and started, the process to be launched is process corresponding to service to be launched;
Process Attributes acquisition module, for obtaining the attribute information of the process to be launched;
Process initiation disabled module, if the condition for meeting to forbid process to be launched to be started for the attribute information, The process to be launched is then forbidden to be started.
The third aspect, the embodiment of the present application provide a kind of computer-readable recording medium, are stored thereon with computer journey Sequence, the management-control method of the process initiation provided such as first aspect is realized when the program is executed by processor.
In fourth aspect, the embodiment of the present application provides a kind of mobile terminal, including memory, processor and is stored in Realize to enter as what first aspect was provided on reservoir and the computer program that can run on a processor, during the computing device Cheng Qidong management-control method.
The embodiment of the present application is by the way that when detecting that setting timer reaches setting interval time, the system of determination passes through triggering Service to be launched starts to carry out after the event of process initiation to be launched is triggered, and obtains the attribute information of process to be launched, If attribute information meets to forbid the condition that process to be launched is started, forbid process to be launched to be started, realize taboo Launching process is only come from by start by set date service, can rational management and control process start-up operation, save mobile terminal Running memory and electricity, improve the fluency of running of mobile terminal.
Brief description of the drawings
Fig. 1 is a kind of flow chart of the management-control method for process initiation that the embodiment of the present application provides;
Fig. 2 is the flow chart of the management-control method for another process initiation that the embodiment of the present application provides;
Fig. 3 is a kind of structural representation of the control device for process initiation that the embodiment of the present application provides;
Fig. 4 is a kind of structural representation for mobile terminal that the embodiment of the present application provides;
Fig. 5 is the structural representation for another mobile terminal that the embodiment of the present application provides.
Embodiment
In order that the purpose, technical scheme and advantage of the application are clearer, below in conjunction with the accompanying drawings to the specific reality of the application Example is applied to be described in further detail.It is understood that specific embodiment described herein is used only for explaining the application, Rather than the restriction to the application.It also should be noted that for the ease of describing, illustrate only in accompanying drawing related to the application Part rather than full content.It should be mentioned that some exemplary realities before exemplary embodiment is discussed in greater detail Apply processing or method that example is described as describing as flow chart.Although operations (or step) are described as order by flow chart Processing, but many of which operation can be implemented concurrently, concomitantly or simultaneously.In addition, the order of operations It can be rearranged.The processing can be terminated when its operations are completed, it is also possible to being not included in accompanying drawing Additional step.The processing can correspond to method, function, code, subroutine, subprogram etc..
Fig. 1 gives a kind of flow chart of the management-control method of process initiation of the embodiment of the present application offer, the present embodiment Method can be performed by the control device of process initiation, and the device can be realized by way of hardware and/or software, the dress The inside of the mobile terminal can be arranged on as a mobile terminal part by putting.Mobile terminal described in the application implementation includes The equipment such as mobile phone, tablet personal computer or notebook.
As shown in figure 1, the management-control method for the process initiation that the present embodiment provides comprises the following steps:
Step 101, detect preset timer reach setting interval time when, determine system by triggering clothes to be launched Business start is triggered to carry out the event of process initiation to be launched, the preset timer be used for clocked flip it is to be launched service into Row starts, and the process to be launched is process corresponding to service to be launched.
Android system can go to kill process when low memory, for the 3rd application, of course, it is desirable to from What the process of own application program was tried one's best is not killed, and as a result, the method for just having some process keep-alives occurs, in process quilt After kill falls, started again by some keep-alive modes, one of which keep-alive mode is exactly to set one to determine by system When device, the call service of timing carrys out launching process, i.e., starting service by alarm modes comes from launching process.
Wherein, the preset timer is that the timing wake-up triggering service to be launched that is used for that system is pre-set is started Timer, the timing every setting time wake up once service to be launched, the setting time can be according to clothes to be launched The priority of business or other attributes are configured, for example, setting time corresponding to the high service of priority is spaced It is shorter, setting time corresponding to the low service of priority is spaced longer.The preset timer can serve as reasons The timer that system is set, or the timer set by third party application.It is the 3rd in the preset timer During the timer that square application program is set, the process to be launched can be to set entering in the 3rd application program of timer Journey, or the process in other third party applications.Exemplary, application program A pre-sets a timer, By the service in timing wake-up A come the process in start by set date A;Again exemplary, application program A, which pre-sets one, to be determined When device, by the service in timing wake-up application program B come the process in start by set date B.
In android system, service is come Inhaul operation, service, to be launched service corresponding with process by process Process has corresponding process to be launched, for example, wechat pays this service to the process that is paid applied to wechat.
Often when detecting that preset timer reaches setting time interval, determine that system opens by triggering service to be launched Move to carry out whether the event of process initiation to be launched is triggered.Wherein it is possible to according to the caller attribute information of caller and Function is set, is started to determine system by triggering service to be launched to carry out whether the event of process initiation to be launched is touched Hair, wherein, the caller can be trigger it is to be launched service start process, the caller attribute information can include into Journey mark (Process Identifier, PID), user identify (User Identifier, UID) and apply bag name.Accordingly , determine that system is triggered and can included to carry out the event of process initiation to be launched by triggering service startup to be launched:Really Surely it is system process to trigger the caller that service to be launched starts;It is used to treat by startup detecting that the system process calls Start service to start the setting function of the process to be launched, and had turned in the setting function comprising expression system described During the setup parameter of preset timer, determine that system starts to carry out the thing of process initiation to be launched by triggering service to be launched Part is triggered.Wherein, the caller for determining that triggering service to be launched starts can include for system process:Trigger to be launched The process identification (PID) for servicing the caller started is that default process identification (PID) or user are identified as pre-set user mark, for example, process It is -1 to identify PID, or it is 1000 that user, which identifies UID,.
Wherein, the setting function can be startServiceLocked functions, and the setup parameter can be EXTRA_ALARM_COUNT.Generally, in android, service is a kind of non-visual running background logic, For providing running background service for other application, it is properly termed as servicing.Being applied when some needs to perform a section business logic, But when being not desired to visualize on foreground, by application context startService functions can be called to start service, to have called One service, this service can be these using itself or another application service.If When others application needs to call a service, request can be sent to system, system can check the process where service Whether oneself is activated, if do not started, it is necessary to starts the process where service.It is upper by application in android When hereafter calling the binding service of startService functions, eventually call in system code ActiveServices StartServiceLocked functions, if the process where service is not present, can in the method can deactivation one it is new Process.Caller attribute information and Intent parameters can be passed in startServiceLocked functions.If caller For system process, and Intent.EXTRA_ALARM_COUNT is carried in Intent, then illustrate that system is to be launched by triggering Service starts to be triggered to carry out the event of process initiation to be launched, i.e., wakes up service to be launched by system timer to start The event of process to be launched is triggered.
Step 102, the attribute information for obtaining the process to be launched.
Wherein, the attribute information of the process to be launched can include process identification (PID), service name to be launched, user's mark With application bag name.The bag name of the entitled process owning application to be launched of application bag.
Step 103, when the attribute information meets to forbid the condition that process to be launched is started, forbid described waiting to open Dynamic process is started.
If the attribute information meets to forbid the condition that process to be launched is started, the process to be launched is forbidden to enter Row starts, to be launched to start in a manner of preventing third-party application from waking up by system timer the process keep-alive of service to be launched Process.
Further, can also include:If the attribute information is unsatisfactory for the condition for forbidding process to be launched to be started, The process to be launched can be then controlled to be started.
The management-control method for the process initiation that the present embodiment provides, by when detecting that setting timer reaches setting interval Between when, determine that system starts after the event of process initiation to be launched is triggered, obtain by triggering service to be launched The attribute information of process to be launched, if attribute information meets to forbid the condition that process to be launched is started, forbid to be launched Process is started, and realizing that no thoroughfare, start by set date service comes from launching process, can rational management and control process startup Operation, the running memory and electricity of mobile terminal are saved, improve the fluency of running of mobile terminal.
Fig. 2 gives the flow chart of the management-control method of another process initiation of the embodiment of the present application offer.Such as Fig. 2 institutes Show, the method that the present embodiment provides comprises the following steps:
Step 201, detect preset timer reach setting interval time when, it is determined that triggering it is to be launched service start Caller is system process.
Step 202, detect system process call for started by starting service to be launched it is described it is to be launched enter The setting function of journey, and in the setting function when having turned on the setup parameter of the preset timer comprising expression system, really Determine system and be triggered by triggering service startup to be launched to carry out the event of process initiation to be launched.
Step 203, the attribute information for obtaining the process to be launched.The attribute information can include process identification (PID), treat Start service name, user's mark and apply bag name.
Step 204, judge whether the attribute information meets the condition for forbidding process to be launched to be started, if so, then Step 205 is performed, otherwise performs step 206.
If the attribute information meets to forbid the condition that process to be launched is started, the process to be launched is forbidden to enter Row starts.
Optionally, if the attribute information meets following all conditions, the process to be launched is forbidden to be started: (1) user's mark is all different from user's mark of running background process;(2) service name to be launched is not set first In ding white ware list;(3) the application bag name is not in the second setting white list;(4) the process owning application to be launched Self-starting switch do not open.
It should be noted that when judging whether the attribute information meets above-mentioned 4 all conditions, can be so real Apply:Judge whether to meet condition (1), step 206 is performed if (1) is unsatisfactory for, continue to determine whether to meet condition if meeting (2) step 206, is performed if (2) are unsatisfactory for, continues to determine whether to meet condition (3) if meeting, is held if (3) are unsatisfactory for Row step 206, continue to determine whether to meet (4) if meeting, step 206 is performed if (4) are unsatisfactory for, step is performed if meeting Rapid 205.Wherein, may also set up and judge whether one or more condition in above-mentioned 4 conditions meets, the present embodiment to this simultaneously It is not limited.If for example, the attribute information, which can be set, meets condition (1) and (2), the process to be launched is forbidden to carry out Start, in another example, if the attribute information, which can be set, meets condition (1), (2) and (3), forbid the process to be launched to carry out Start.
Wherein it is possible to the first setting white list and the second setting white list are obtained from server or terminal local, The first setting white list and the second setting white list include file mode in the mode that terminal local stores and store or count Stored according to storehouse mode.
Optionally, in addition to:If the attribute information meet following conditions at least one of, allow it is described it is to be launched enter Cheng Jinhang starts:User's mark is identical with user's mark of running background process;The service name to be launched is first Set in white list;The application bag name is in the second setting white list;The process owning application to be launched opens certainly Dynamic switch has turned on.Exemplary, if user's mark of process to be launched is identical with user's mark of running background process, say Application program belonging to bright process to be launched is in running background, then no longer can carry out pipe to the process to be launched Control, can allow the process to be launched to be started;It is again exemplary, if the service to be launched is in the first setting white list Either the application bag name second setting white list in or owning application self-starting switch have turned on, then explanation should Process to be launched is the process of the permission self-starting pre-set, then can currently allow the process to be launched to be started.Institute It can be the switch in third-party application such as software house keeper or system setup option to state self-starting switch, and user can open manually Open the self-starting switch of application program.
Step 205, the process to be launched is forbidden to be started.
Wherein, after forbidding the process to be launched to be started, in addition to:The setting function is controlled to return empty Value, avoids malfunctioning.
Step 206, the control process to be launched are started.
Step 207, being preserved using bag name using bag name and the process to be launched by the system process, make Record to intercept, and recorded to described intercept of user's displaying.
Optionally, when detecting that preset timer reaches setting interval time, determine system by triggering clothes to be launched Business starts before the event of process initiation to be launched is triggered, can also include:If apply journey belonging to process to be launched Sequence is system built-in application, then allows the process initiation to be launched.
The present embodiment provide method, by detect preset timer reach setting interval time when, it is determined that triggering It is to be launched service start caller be system process, detect system process call for by start it is to be launched service come Start the setting function of the process to be launched, and the preset timer is had turned on comprising expression system in the setting function Setup parameter when, determine that system starts by triggering service to be launched and be triggered to carry out the event of process initiation to be launched, The attribute information of the process to be launched is obtained, if the attribute information meets to forbid the condition that process to be launched is started, The process to be launched is then forbidden to be started, the system timer that realizes that no thoroughfare, which wakes up service to be launched, to be carried out self-starting and treat Launching process, forbid the process for meeting to forbid self-starting condition carrying out keep-alive, can rational management and control process start-up operation, The running memory and electricity of mobile terminal are saved, improves the fluency of running of mobile terminal.
Fig. 3 is a kind of structural representation of the control device for process initiation that the embodiment of the present application provides, and the device can be by Software and/or hardware are realized, are integrated in the terminal.As shown in figure 3, the device includes process initiation event trigger module 31st, Process Attributes acquisition module 32 and process initiation disabled module 33.
The process initiation event trigger module 31, for detect preset timer reach setting interval time when, Determine that system is triggered by triggering service startup to be launched to carry out the event of process initiation to be launched, the preset timer Started for clocked flip service to be launched, the process to be launched is process corresponding to service to be launched;
The Process Attributes acquisition module 32, for obtaining the attribute information of the process to be launched;
The process initiation disabled module 33, if meeting to forbid what process to be launched was started for the attribute information Condition, then the process to be launched is forbidden to be started.
The device that the present embodiment provides, by when detecting that setting timer reaches setting interval time, determining system Started by triggering service to be launched to carry out after the event of process initiation to be launched is triggered, obtain the category of process to be launched Property information, if attribute information meets to forbid the condition that process to be launched is started, forbid process to be launched to be started, it is real Having showed no thoroughfare, start by set date service comes from launching process, can rational management and control process start-up operation, save movement The running memory and electricity of terminal, improve the fluency of running of mobile terminal.
Optionally, the process initiation event trigger module determines that system starts to be treated by triggering service to be launched Launching process start event be triggered including:
Detecting that system process calls the setting for starting the process to be launched by starting service to be launched Function, and in the setting function when having turned on the setup parameter of the preset timer comprising expression system, the system of determination is led to Cross trigger it is to be launched service start be triggered to carry out the event of process initiation to be launched.
Optionally, the attribute information includes process identification (PID), service name to be launched, user's mark and applies bag name, institute Process initiation disabled module is stated to be specifically used for:
If the attribute information meets following all conditions, the process to be launched is forbidden to be started:
User's mark is all different from user's mark of running background process;
The service name to be launched is not in the first setting white list;
The application bag name is not in the second setting white list;
The self-starting switch of the process owning application to be launched is not opened.
Optionally, described device also includes:
First process initiation module, if meeting at least one of following conditions for the attribute information, described in permission Process to be launched is started:
User's mark is identical with user's mark of running background process;
The service name to be launched is in the first setting white list;
The application bag name is in the second setting white list;
The self-starting switch of the process owning application to be launched has turned on.
Optionally, described device also includes:
The first setting white list and the second setting white list are obtained from server or terminal local, described first sets Ding white ware list and the second setting white list are deposited in the mode that terminal local stores including file mode storage or database mode Storage.
Optionally, described device also includes:
Function return value control module, for after forbidding the process to be launched to be started, controlling the setting Function returns to null value.
Optionally, described device also includes:
Record preserving module is intercepted, for after forbidding the process to be launched to be started, by the system process Preserved using bag name and the process to be launched using bag name, recorded as intercepting, and blocked to described in user's displaying Cut record.
Optionally, described device also includes:
Second process initiation module, if being system built-in application for the process owning application to be launched, permit Perhaps described process initiation to be launched.
The embodiment of the present application also provides a kind of storage medium for including computer executable instructions, and the computer can perform When being performed by computer processor for performing a kind of management-control method of process initiation, this method includes for instruction:
Detect preset timer reach setting interval time when, determine system by trigger it is to be launched service start come The event for carrying out process initiation to be launched is triggered, and the preset timer is started for clocked flip service to be launched, The process to be launched is process corresponding to service to be launched;
Obtain the attribute information of the process to be launched;
If the attribute information meets to forbid the condition that process to be launched is started, the process to be launched is forbidden to enter Row starts.
Storage medium --- any various types of memory devices or storage device.Term " storage medium " is intended to wrap Include:Install medium, such as CD-ROM, floppy disk or magnetic tape equipment;Computer system memory or random access memory, such as DRAM, DDR RAM, SRAM, EDO RAM, blue Bath (Rambus) RAM etc.;Nonvolatile memory, such as flash memory, magnetizing mediums (such as hard disk or optical storage);Memory component of register or other similar types etc..Storage medium can also include other The memory of type or its combination.In addition, storage medium can be located at program in the first computer system being wherein performed, Or can be located in different second computer systems, second computer system is connected to the by network (such as internet) One computer system.Second computer system can provide programmed instruction and be used to perform to the first computer." storage is situated between term Matter " can include may reside within diverse location two of (such as in different computer systems by network connection) or More storage mediums.Storage medium can store the programmed instruction that can be performed by one or more processors and (such as implement For computer program).
Certainly, a kind of storage medium for including computer executable instructions that the embodiment of the present application is provided, its computer The management and control operation for the process initiation that executable instruction is not limited to the described above, can also carry out the application any embodiment and is provided Process initiation management-control method in associative operation.
The embodiment of the present application provides a kind of mobile terminal, and entering for the embodiment of the present application offer can be integrated in the mobile terminal Cheng Qidong control device.Fig. 4 is a kind of structural representation for mobile terminal that the embodiment of the present application provides.Mobile terminal 400 It can include:Memory 401, processor 402 and the computer journey that is stored on memory 401 and can be run in processor 402 Sequence, the processor 402 realize the management and control side of the process initiation as described in the embodiment of the present application when performing the computer program Method.
The mobile terminal that the embodiment of the present application provides, realizing that no thoroughfare, start by set date service comes from launching process, can With the start-up operation of rational management and control process, the running memory and electricity of mobile terminal are saved, improves running of mobile terminal Fluency.
Fig. 5 is the structural representation for another mobile terminal that the embodiment of the present application provides, as shown in figure 5, the movement is whole End can include:Memory 501, central processing unit (Central Processing Unit, CPU) 502 (also known as processor, with Lower abbreviation CPU), the memory 501, for storing executable program code;The processor 502 is by reading the storage The executable program code stored in device 501 runs program corresponding with the executable program code, for performing: When detecting that preset timer reaches setting interval time, determine that system is to be launched to carry out by triggering service startup to be launched The event of process initiation is triggered, and the preset timer is started for clocked flip service to be launched, described to be launched Process is process corresponding to service to be launched;Obtain the attribute information of the process to be launched;If the attribute information meets to prohibit The condition that only process to be launched is started, then the process to be launched is forbidden to be started.
The mobile terminal also includes:Peripheral Interface 503, RF (Radio Frequency, radio frequency) circuit 505, audio-frequency electric Road 506, loudspeaker 511, power management chip 508, input/output (I/O) subsystem 509, touch-screen 512, other input/controls Control equipment 510 and outside port 504, these parts are communicated by one or more communication bus or signal wire 507.
It should be understood that diagram mobile terminal 500 is only an example of mobile terminal, and mobile terminal 500 Can have than more or less parts shown in figure, can combine two or more parts, or can be with Configured with different parts.Various parts shown in figure can be including one or more signal transactings and/or special Hardware, software including integrated circuit are realized in the combination of hardware and software.
The mobile terminal for management and control process initiation provided below with regard to the present embodiment is described in detail, and the movement is whole End is by taking mobile phone as an example.
Memory 501, the memory 501 can be accessed by CPU502, Peripheral Interface 503 etc., and the memory 501 can Including high-speed random access memory, can also include nonvolatile memory, such as one or more disk memories, Flush memory device or other volatile solid-state parts.
The input of equipment and output peripheral hardware can be connected to CPU502 and deposited by Peripheral Interface 503, the Peripheral Interface 503 Reservoir 501.
I/O subsystems 509, the I/O subsystems 509 can be by the input/output peripherals in equipment, such as touch-screen 512 With other input/control devicess 510, Peripheral Interface 503 is connected to.I/O subsystems 509 can include the He of display controller 5091 For controlling one or more input controllers 5092 of other input/control devicess 510.Wherein, one or more input controls Device 5092 processed receives electric signal from other input/control devicess 510 or sends electric signal to other input/control devicess 510, Other input/control devicess 510 can include physical button (pressing button, rocker buttons etc.), dial, slide switch, behaviour Vertical pole, click on roller.What deserves to be explained is input controller 5092 can with it is following any one be connected:Keyboard, infrared port, The instruction equipment of USB interface and such as mouse.
Touch-screen 512, the touch-screen 512 are the input interface and output interface between user terminal and user, can It can include figure, text, icon, video etc. to user, visual output depending on output display.
Display controller 5091 in I/O subsystems 509 receives electric signal from touch-screen 512 or sent out to touch-screen 512 Electric signals.Touch-screen 512 detects the contact on touch-screen, and the contact detected is converted to and shown by display controller 5091 The interaction of user interface object on touch-screen 512, that is, realize man-machine interaction, the user interface being shown on touch-screen 512 Icon that object can be the icon of running game, be networked to corresponding network etc..What deserves to be explained is equipment can also include light Mouse, light mouse is not show the touch sensitive surface visually exported, or the extension of the touch sensitive surface formed by touch-screen.
RF circuits 505, it is mainly used in establishing the communication of mobile phone and wireless network (i.e. network side), realizes mobile phone and wireless network The data receiver of network and transmission.Such as transmitting-receiving short message, Email etc..Specifically, RF circuits 505 receive and send RF letters Number, RF signals are also referred to as electromagnetic signal, and RF circuits 505 convert electrical signals to electromagnetic signal or electromagnetic signal is converted into telecommunications Number, and communicated by the electromagnetic signal with communication network and other equipment.RF circuits 505 can include being used to perform The known circuit of these functions, it includes but is not limited to antenna system, RF transceivers, one or more amplifiers, tuner, one Individual or multiple oscillators, digital signal processor, CODEC (COder-DECoder, coder) chipset, user identify mould Block (Subscriber Identity Module, SIM) etc..
Voicefrequency circuit 506, it is mainly used in receiving voice data from Peripheral Interface 503, the voice data is converted into telecommunications Number, and the electric signal is sent to loudspeaker 511.
Loudspeaker 511, for the voice signal for receiving mobile phone from wireless network by RF circuits 505, it is reduced to sound And play the sound to user.
Power management chip 508, the hardware for being connected by CPU502, I/O subsystem and Peripheral Interface 503 are supplied Electricity and power management.
Control device, storage medium and the mobile terminal of the process initiation provided in above-described embodiment can perform the application and appoint The management-control method for the process initiation that meaning embodiment is provided, possess and perform the corresponding functional module of this method and beneficial effect.Not The ins and outs of detailed description in the above-described embodiments, reference can be made to the management and control for the process initiation that the application any embodiment is provided Method.
The technical principle that above are only the preferred embodiment of the application and used.The application is not limited to spy described here Determine embodiment, the various significant changes that can carry out for a person skilled in the art, readjust and substitute all without departing from The protection domain of the application.Therefore, although being described in further detail by above example to the application, this Shen Above example please be not limited only to, in the case where not departing from the application design, other more equivalence enforcements can also be included Example, and scope of the present application is determined by the scope of claim.

Claims (11)

  1. A kind of 1. management-control method of process initiation, it is characterised in that including:
    When detecting that preset timer reaches setting interval time, determine that system starts to carry out by triggering service to be launched The event of process initiation to be launched is triggered, and the preset timer is started for clocked flip service to be launched, described Process to be launched is process corresponding to service to be launched;
    Obtain the attribute information of the process to be launched;
    If the attribute information meets to forbid the condition that process to be launched is started, the process to be launched is forbidden to be opened It is dynamic.
  2. 2. according to the method for claim 1, it is characterised in that the determination system by trigger it is to be launched service start come Carry out process initiation to be launched event be triggered including:
    Detecting that system process calls the setting function for starting the process to be launched by starting service to be launched, And when having turned on the setup parameter of the preset timer comprising expression system in the setting function, the system of determination passes through triggering Service to be launched starts to be triggered to carry out the event of process initiation to be launched.
  3. 3. method according to claim 1 or 2, it is characterised in that the attribute information includes process identification (PID), clothes to be launched Business title, user identify and applied bag name, if the attribute information meets to forbid the condition that process to be launched is started, Then forbidding the process to be launched to carry out startup includes:
    If the attribute information meets following all conditions, the process to be launched is forbidden to be started:
    User's mark is all different from user's mark of running background process;
    The service name to be launched is not in the first setting white list;
    The application bag name is not in the second setting white list;
    The self-starting switch of the process owning application to be launched is not opened.
  4. 4. according to the method for claim 3, it is characterised in that also include:
    If the attribute information meets at least one of following conditions, the process to be launched is allowed to be started:
    User's mark is identical with user's mark of running background process;
    The service name to be launched is in the first setting white list;
    The application bag name is in the second setting white list;
    The self-starting switch of the process owning application to be launched has turned on.
  5. 5. according to the method for claim 3, it is characterised in that also include:
    The first setting white list and the second setting white list are obtained from server or terminal local, first setting is white List and the second setting white list include file mode storage or database mode storage in the mode that terminal local stores.
  6. 6. according to the method for claim 2, it is characterised in that after forbidding the process to be launched to be started, also Including:
    The setting function is controlled to return to null value.
  7. 7. according to the method for claim 2, it is characterised in that after forbidding the process to be launched to be started, also Including:
    The application bag name using bag name and the process to be launched of the system process is preserved, recorded as intercepting, And recorded to described intercept of user's displaying.
  8. 8. according to the method for claim 1, it is characterised in that also include:
    If the process owning application to be launched is system built-in application, allow the process initiation to be launched.
  9. A kind of 9. control device of process initiation, it is characterised in that including:
    Process initiation event trigger module, for when detecting that preset timer reaches setting interval time, the system of determination to be led to Cross trigger it is to be launched service start be triggered to carry out the event of process initiation to be launched, the preset timer be used for regularly touch Sending out service to be launched is started, and the process to be launched is process corresponding to service to be launched;
    Process Attributes acquisition module, for obtaining the attribute information of the process to be launched;
    Process initiation disabled module, if the condition for meeting to forbid process to be launched to be started for the attribute information, prohibits Only the process to be launched is started.
  10. 10. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the program is by processor The management-control method of the process initiation as described in any in claim 1-8 is realized during execution.
  11. 11. a kind of mobile terminal, including memory, processor and storage are on a memory and the calculating that can run on a processor Machine program, it is characterised in that realized described in the computing device during computer program as described in any in claim 1-8 The management-control method of process initiation.
CN201711167209.7A 2017-11-21 2017-11-21 Process starting control method and device, storage medium and mobile terminal Active CN107844341B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711167209.7A CN107844341B (en) 2017-11-21 2017-11-21 Process starting control method and device, storage medium and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711167209.7A CN107844341B (en) 2017-11-21 2017-11-21 Process starting control method and device, storage medium and mobile terminal

Publications (2)

Publication Number Publication Date
CN107844341A true CN107844341A (en) 2018-03-27
CN107844341B CN107844341B (en) 2020-09-29

Family

ID=61679966

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711167209.7A Active CN107844341B (en) 2017-11-21 2017-11-21 Process starting control method and device, storage medium and mobile terminal

Country Status (1)

Country Link
CN (1) CN107844341B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108710534A (en) * 2018-05-22 2018-10-26 广州优视网络科技有限公司 The tune of multi-process plays method, apparatus, terminal device and computer storage media
CN109582530A (en) * 2018-09-30 2019-04-05 中国平安人寿保险股份有限公司 System control method, device, computer and computer readable storage medium
CN109885354A (en) * 2019-02-18 2019-06-14 Oppo广东移动通信有限公司 Application control method, device and terminal
CN113157377A (en) * 2021-05-20 2021-07-23 读书郎教育科技有限公司 Method and equipment for controlling application part by Android system
CN115836280A (en) * 2020-09-21 2023-03-21 华为技术有限公司 Method and device for process control

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102855430A (en) * 2012-08-23 2013-01-02 福建升腾资讯有限公司 Process blacklist and whitelist control method based on Windows system
CN104461725A (en) * 2014-12-30 2015-03-25 小米科技有限责任公司 Application process starting control method and device
CN105159771A (en) * 2015-09-21 2015-12-16 北京奇虎科技有限公司 Method and apparatus for processing inter-application chain type start
CN105740018A (en) * 2016-01-29 2016-07-06 北京奇虎科技有限公司 Application wake-up method and apparatus
CN106201738A (en) * 2016-06-27 2016-12-07 北京小米移动软件有限公司 System broadcasts call method and device
CN106406944A (en) * 2016-09-05 2017-02-15 Tcl集团股份有限公司 Control method and system for forbidding self-starting of application

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102855430A (en) * 2012-08-23 2013-01-02 福建升腾资讯有限公司 Process blacklist and whitelist control method based on Windows system
CN104461725A (en) * 2014-12-30 2015-03-25 小米科技有限责任公司 Application process starting control method and device
CN105159771A (en) * 2015-09-21 2015-12-16 北京奇虎科技有限公司 Method and apparatus for processing inter-application chain type start
CN105740018A (en) * 2016-01-29 2016-07-06 北京奇虎科技有限公司 Application wake-up method and apparatus
CN106201738A (en) * 2016-06-27 2016-12-07 北京小米移动软件有限公司 System broadcasts call method and device
CN106406944A (en) * 2016-09-05 2017-02-15 Tcl集团股份有限公司 Control method and system for forbidding self-starting of application

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108710534A (en) * 2018-05-22 2018-10-26 广州优视网络科技有限公司 The tune of multi-process plays method, apparatus, terminal device and computer storage media
CN109582530A (en) * 2018-09-30 2019-04-05 中国平安人寿保险股份有限公司 System control method, device, computer and computer readable storage medium
CN109582530B (en) * 2018-09-30 2024-05-14 中国平安人寿保险股份有限公司 System control method, device, computer and computer readable storage medium
CN109885354A (en) * 2019-02-18 2019-06-14 Oppo广东移动通信有限公司 Application control method, device and terminal
CN115836280A (en) * 2020-09-21 2023-03-21 华为技术有限公司 Method and device for process control
CN113157377A (en) * 2021-05-20 2021-07-23 读书郎教育科技有限公司 Method and equipment for controlling application part by Android system

Also Published As

Publication number Publication date
CN107844341B (en) 2020-09-29

Similar Documents

Publication Publication Date Title
CN107844341A (en) Management-control method, device and the storage medium and mobile terminal of process initiation
CN107861773A (en) Associate management-control method, device, storage medium and the mobile terminal started
CN107844342B (en) Control method and device for keeping application program alive, storage medium and mobile terminal
CN107944258A (en) Start control method, device, storage medium and the terminal of application with method of service
CN106569585B (en) A kind of method and terminal managing program process
CN107944259A (en) Using the management-control method of startup, device and storage medium and mobile terminal
CN108804157A (en) Application program preloads method, apparatus, storage medium and terminal
CN107957913A (en) Associate management-control method, device, storage medium and the mobile terminal started
CN107783803B (en) System optimization method and device of intelligent terminal, storage medium and intelligent terminal
CN107944257A (en) Start control method, device, storage medium and the terminal of application with method of service
CN107748698A (en) Start control method, device, storage medium and the terminal of application with broadcast mode
CN107943270A (en) Control method, device and the storage medium and mobile terminal of application service
CN107748685A (en) Application program launching control method, device, terminal device and storage medium
CN109840418A (en) Jump control method, device, storage medium and the terminal of application program
CN107831886A (en) Association starts management-control method, device, storage medium and the intelligent terminal of application
CN107957905A (en) Method, apparatus, storage medium and the intelligent terminal of self-starting are applied in limitation
CN107862203A (en) Control method, device, storage medium and the terminal of application program
CN107423064A (en) Message treatment method, device, terminal device and storage medium
CN107885588A (en) Control method, device and the storage medium and mobile terminal of application service
CN107608724A (en) A kind of method, terminal and computer-readable recording medium for managing application program
CN106484538A (en) A kind of internal memory control method of terminal device, device and terminal device
WO2019101107A1 (en) System notification service control method, apparatus, terminal device, and storage medium
CN107197082A (en) A kind of information prompting method and terminal
CN106815534B (en) Method and device for protecting user privacy and mobile terminal
CN107861608A (en) Notifications service control method, device, terminal device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

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

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

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

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant