CN105677401B - Application process starts method and application process starter - Google Patents
Application process starts method and application process starter Download PDFInfo
- Publication number
- CN105677401B CN105677401B CN201511030666.2A CN201511030666A CN105677401B CN 105677401 B CN105677401 B CN 105677401B CN 201511030666 A CN201511030666 A CN 201511030666A CN 105677401 B CN105677401 B CN 105677401B
- Authority
- CN
- China
- Prior art keywords
- application process
- starting
- function
- application
- data set
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44568—Immediately runnable code
- G06F9/44578—Preparing or optimising for loading
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The present invention provides a kind of application process starting method comprising receives application process enabled instruction;By the launching process function in starting management service, the starting type and starting information of the corresponding application process of application process enabled instruction are obtained;If the starting type of application process is data set provider Starting mode, and the starting information of application process is normal starting, then handles function by data set provider starting and launching process function starts the application process;As application process starting type be data set provider Starting mode, and the starting information of application process be No starting, then application processes are not started.The present invention also provides a kind of application process starters.Application process starting method and application process starter of the invention is carried out the starting management of application process using corresponding function, realizes effective management of application processes starting according to the starting type and starting information of application process.
Description
Technical field
The present invention relates to application process control fields, start method more particularly to a kind of application process and application process opens
Dynamic device.
Background technique
In Android system, all terminal applies startings all must start up a corresponding application process first.Pacifying
It is by Activity Manager Service (starting management service) system service in tall and erect system administration services
Start Process Locked (launching process function) function realizes application process starting as entrance.
In the prior art, some application can be by calling for providing the data set provider (Content of data service
Provider), to further call Start Process Locked function, the process of itself application or other application is realized
Starting.
But above-mentioned application Starting mode may such as apply the number of B by certain rogues using utilizing using A by calling
It is serviced according to supplier, to realize the starting of the application process using B;It is equally adjustable using B at this time if be closed using A
It is serviced with the data set provider of application A, to realize the starting of the application process using A.Make in this way using A's and application B
Application process is constantly in activation starting state in systems, leads to the waste of system resource.
Summary of the invention
The embodiment of the present invention provides one kind can be actuated for the application process effectively managed starting method with application processes
And application process starter;It cannot be to application with solve existing application process starting method and application process starter
Process is actuated for the technical issues of effectively managing.
The embodiment of the present invention provides a kind of application process starting method comprising:
Receive application process enabled instruction;
By starting management service in launching process function, obtain the application process enabled instruction it is corresponding apply into
The starting type and starting information of journey;
If the starting type of the application process is data set provider Starting mode, and the starting information of the application process
Normally to start, then processing function and the launching process function is started by data set provider and the application process is carried out
Starting;And
If the starting type of the application process is data set provider Starting mode, and the starting information of the application process
For No starting, then the application process is not started.
It is described that processing function and institute are started by data set provider in application process starting method of the present invention
State the step of launching process function starts the application process specifically:
Start the application process that processing function finds corresponding data set provider Starting mode by the data set provider,
Corresponding resource then is obtained using the launching process function and memory starts the application process;It is wherein described
Data set provider starting processing function is Get Content Provider Impl function, and the launching process function is Start
Process Locked function.
In application process starting method of the present invention, the launching process letter by starting management service
The step of counting, obtaining the starting type of the corresponding application process of the application process enabled instruction specifically:
By the trustship type parameter of the launching process function in starting management service, obtains the application process starting and refer to
The starting type of corresponding application process is enabled, wherein the corresponding trustship type of the application process of the data set provider Starting mode
Parameter is Content Provider.
In application process starting method of the present invention, the acquisition application process enabled instruction is corresponding to be answered
Include: with the step of starting information of process
According to the permission of the application process, the starting letter of the corresponding application process of the application process enabled instruction is obtained
Breath, wherein the starting information is locally stored or strange land cloud storage.
It is described that processing function and institute are started by data set provider in application process starting method of the present invention
Stating the step of launching process function starts the application process includes:
Judge whether the application process has been started up;
If the application process has been started up, then the application process is not started;
If the application process is inactive, then processing function and the launching process function are started by data set provider
The application process is started.
The embodiment of the present invention also provides a kind of application process starter comprising:
Command reception module, for receiving application process enabled instruction;
Application process parameter acquisition module, for being answered described in acquisition by starting the launching process function in management service
The starting type and starting information of corresponding application process are instructed with process initiation;
Normal starting module, the starting type for such as described application process is data set provider Starting mode, and described
The starting information of application process is normal starting, then starts processing function and the launching process function by data set provider
The application process is started;And
No starting module, the starting type for such as described application process is data set provider Starting mode, and described
The starting information of application process is No starting, then does not start to the application process.
In application process starter of the present invention, the normal starting module is specifically used for passing through the data
Supplier starts the application process that processing function finds corresponding data set provider Starting mode, then uses the launching process
Function obtains corresponding resource and memory starts the application process;The wherein data set provider starting processing letter
Number is Get Content Provider Impl function, and the launching process function is Start Process Locked function.
In application process starter of the present invention, the application process parameter acquisition module is specifically used for passing through
The trustship type parameter for starting the launching process function in management service, obtains the corresponding application of the application process enabled instruction
The starting type of process, wherein the corresponding trustship type parameter of the application process of the data set provider Starting mode is
Content Provider。
In application process starter of the present invention, the application process parameter acquisition module is specifically used for basis
The permission of the application process obtains the starting information of the corresponding application process of the application process enabled instruction, wherein described
Starting information is locally stored or strange land cloud storage.
In application process starter of the present invention, the normal starting module includes:
Judging unit, for judging whether the application process has been started up;
Normal start unit, for as the application process it is inactive, then by data set provider starting handle function with
And the launching process function starts the application process.
Application process starting method and application process starter, application process of the invention compared to the prior art opens
Dynamic method and application process starter are carried out according to the starting type and starting information of application process using corresponding function
The starting management of application process realizes effective management of application processes starting;Solves existing application process starting side
Method and application process starter be unable to application processes be actuated for the technical issues of effectively managing.
Detailed description of the invention
Fig. 1 is the flow chart for the first preferred embodiment that application process of the invention starts method;
Fig. 2 is the flow chart for the second preferred embodiment that application process of the invention starts method;
Fig. 3 is the flow chart of the step S203 for the second preferred embodiment that application process of the invention starts method;
Fig. 4 is the structural schematic diagram of the first preferred embodiment of application process starter of the invention;
Fig. 5 is the structural schematic diagram of the second preferred embodiment of application process starter of the invention;
Fig. 6 is the structural representation of the normal starting module of the second preferred embodiment of application process starter of the invention
Figure;
Fig. 7 is the structural representation of the No starting module of the second preferred embodiment of application process starter of the invention
Figure.
Specific embodiment
Schema is please referred to, wherein identical component symbol represents identical component, the principle of the present invention is to implement one
It is illustrated in computing environment appropriate.The following description be based on illustrated by the specific embodiment of the invention, should not be by
It is considered as the limitation present invention other specific embodiments not detailed herein.
In the following description, specific embodiments of the present invention will refer to the operation as performed by one or multi-section computer
The step of and symbol illustrate, unless otherwise stating clearly.Therefore, these steps and operation be will appreciate that, mentioned for several times wherein having
It include by representing with the computer disposal list of the electronic signal of the data in a structuring pattern to be executed by computer
Member is manipulated.At this manipulation transforms data or the position being maintained in the memory system of the computer, it can match again
Set or in addition change in a manner familiar to those skilled in the art the running of the computer.The maintained data knot of the data
Structure is the provider location of the memory, has the specific feature as defined in the data format.But the principle of the invention is with above-mentioned
Text illustrates, is not represented as a kind of limitation, those skilled in the art will appreciate that plurality of step as described below and
Operation also may be implemented in hardware.
Various electronic equipments can be used to be implemented for application process starter of the invention, which includes but not
It is limited to personal computer, server computer, hand-held or laptop devices, mobile device (such as mobile phone, individual digital
Assistant (PDA), media player etc.), multicomputer system, consumer electronic devices, minicomputer, mainframe computer,
Distributed computing environment, etc. including above-mentioned arbitrary system or equipment.But the electronic equipment is preferably intelligent mobile terminal, with
Improve the validity of the starting management of intelligent mobile terminal application processes.
Fig. 1 is please referred to, Fig. 1 is the flow chart for the first preferred embodiment that application process of the invention starts method.This is excellent
Selecting the application process of embodiment to start method above-mentioned electronic equipment can be used to be implemented.The application process starts method packet
It includes:
Step S101 receives application process enabled instruction;
It is corresponding to obtain application process enabled instruction by the launching process function in starting management service by step S102
The starting type and starting information of application process;
Step S103, as application process starting type be data set provider Starting mode, and application process starting letter
Breath is normal starting, then starts processing function by data set provider and launching process function application processes are started;
Step S104, as application process starting type be data set provider Starting mode, and application process starting letter
Breath is No starting, then application processes are not started.
The following detailed description of the detailed process of each step of the application process starting method of this preferred embodiment.
In step s101, application process starter can receive application process enabled instruction, application process starting
Instruction is that some activation application request in terminal starts or activate the instruction of a certain application process, which can swash for this
Process in application living can also be the process of another application.Then pass to step S102.
In step s 102, application process starter passes through terminal system after receiving application process enabled instruction
In starting management service (Activity Manager Service) in launching process function (Start Process
Locked), obtain the application process enabled instruction it is corresponding to be launched or activation application process starting type and starting
Information.Here starting type may include visualization interface (Activity) Starting mode, the starting side system service (Service)
Formula, broadcast Starting mode and data set provider (Content Provider) Starting mode etc..Starting information refer to start into
The information that can be normally started is set in eikonal number, i.e. whether the application process has in such a way that certain starts type
The permission started.Then pass to step S103 or step S104.
In step s 103, such as the starting type of the application process obtained in application process starter judgment step S102
For data set provider Starting mode, the starting information of application process is normal starting, then application process starter passes through data
Supplier starts processing function (Get Content Provider Impl) and finds the corresponding data set provider Starting mode
Application process then applies corresponding resource and memory to this using launching process function (Start Process Locked)
Application process is started.
In step S104, such as the starting type of the application process obtained in application process starter judgment step S102
For data set provider Starting mode, and the starting information of application process is No starting, then application process starter is not to this
Application process is started.
The application process start-up course of the application process starting method of this preferred embodiment is completed in this way.
The application process starting method of this preferred embodiment is used according to the starting type and starting information of application process
Corresponding function carries out the starting management of application process, reduces the self-starting of application process, realizes application processes starting
Effective management, reduce the power consumption of corresponding mobile terminal.
Referring to figure 2., Fig. 2 is the flow chart for the second preferred embodiment that application process of the invention starts method.This is excellent
Selecting the application process of embodiment to start method above-mentioned electronic equipment can be used to be implemented.The application process starts method packet
It includes:
Step S201 receives application process enabled instruction;
Step S202 obtains application process by the trustship type parameter of the launching process function in starting management service
The starting type of the corresponding application process of enabled instruction;And according to the permission of application process, application process enabled instruction pair is obtained
The starting information for the application process answered;
Step S203, as application process starting type be data set provider Starting mode, and application process starting letter
Breath is normal starting, then starts processing function by data set provider and launching process function application processes are started;
Step S204, as application process starting type be data set provider Starting mode, and application process starting letter
Breath is No starting, then application processes are not started.
The following detailed description of the detailed process of each step of the application process starting method of this preferred embodiment.
In step s 201, application process starter can receive application process enabled instruction, application process starting
Instruction is that some activation application request in terminal starts or activate the instruction of a certain application process, which can swash for this
Process in application living can also be the process of another application.Then pass to step S202.
In step S202, application process starter passes through terminal system after receiving application process enabled instruction
In starting management service (Activity Manager Service) in launching process function (Start Process
Locked), obtain the application process enabled instruction it is corresponding to be launched or activation application process starting type and starting
Information.Here starting type may include visualization interface (Activity) Starting mode, the starting side system service (Service)
Formula, broadcast Starting mode and data set provider (Content Provider) Starting mode etc..Starting information refer to start into
The information that can be normally started is set in eikonal number, i.e. whether the application process has in such a way that certain starts type
The permission started.
Specifically, the trustship type that application process starter passes through the launching process function in starting management service here
Parameter (Hosting Type), to obtain the starting type of the corresponding application process of application process enabled instruction.As applied here
Process initiation device is Content Provider by the trustship type parameter of the launching process function in starting management service,
The starting type that can determine that application process is data set provider Starting mode.
Application process starter can also be corresponding to obtain application process enabled instruction according to the permission of application process simultaneously
Application process starting information.If user does not have the starting information of application processes to set, then application process starting fills
The starting information for setting the permission application processes of usable application process is set automatically, the low rights as built in by nonsystematic
Application process be set as No starting, the application process of the high permission built in system is set to normal starting.The starting information
After setting, can locally or beyond the clouds it stored in such a way that file or database etc. are various on server.It then passes to
Step S203 or step S204.
In step S203, such as the starting type of the application process obtained in application process starter judgment step S202
For data set provider Starting mode, the starting information of application process is normal starting, then application process starter passes through data
Supplier starts processing function (Get Content Provider Impl) and finds the corresponding data set provider Starting mode
Application process then applies corresponding resource and memory to this using launching process function (Start Process Locked)
Application process is started.
Specifically, referring to figure 3., the step of Fig. 3 is the second preferred embodiment that application process of the invention starts method
The flow chart of S203.Step S203 includes:
Step S301, judges whether application process has been started up;If application process has been started up, step S302 is gone to;Such as
Application process is inactive, then goes to step S303.
Step S302, if application process has been started up, then application processes are not started application process starter;
Step S303, if application process is inactive, then application process starter starts processing letter by data set provider
Several and launching process function application processes are started.
In step S204, such as the starting type of the application process obtained in application process starter judgment step S202
For data set provider Starting mode, and the starting information of application process is No starting, then application process starter is not to this
Application process is started.
The prompt information of No starting can also be returned to system by application process starter simultaneously, avoid system or application
Obstruction.Furthermore the record of No starting can also be reported to starting management service by application process starter, so as to exception
Application process start-up operation recorded.
The application process start-up course of the application process starting method of this preferred embodiment is completed in this way.
On the basis of first preferred embodiment, the application process starting method of this preferred embodiment is answered by searching for activation
It is actuated for managing with process application processes, by being actuated for feedback and record to abnormal application process, into one
Step improves the validity of the starting management of application process.
The present invention also provides a kind of application process starters, and referring to figure 4., Fig. 4 is that application process of the invention starts
The structural schematic diagram of the first preferred embodiment of device.Above-mentioned answer can be used in the application process starter of this preferred embodiment
Implemented with the first preferred embodiment of process initiation method.The application process starter 40 includes command reception module
41, application process parameter acquisition module 42, normal starting module 43 and No starting module 44.
Command reception module 41 is for receiving application process enabled instruction.Application process parameter acquisition module 42 is for passing through
Start the launching process function in management service, obtain the corresponding application process of application process enabled instruction starting type and
Start information.Normal starting module 43 is used to be data set provider Starting mode such as the starting type of application process, and application into
The starting information of journey is normal starting, then starts processing function and launching process function application processes by data set provider
Started.No starting module 44 be used for as application process starting type be data set provider Starting mode, and application into
The starting information of journey is No starting, then application processes are not started.
The application process starter 40 of this preferred embodiment is in use, command reception module 41 can receive application first
Process initiation instruction, the application process enabled instruction be terminal in some activation application request starting or activate it is a certain apply into
The instruction of journey, the application process can be the process in activation application, can also be the process of another application.
Subsequent application process parameter acquisition module 42 is after receiving application process enabled instruction, by terminal system
Start the launching process function (Start Process Locked) in management service (Activity Manager Service),
Obtain the application process enabled instruction it is corresponding to be launched or activation application process starting type and starting information.Here
Starting type may include visualization interface (Activity) Starting mode, system service (Service) Starting mode, broadcast open
Flowing mode and data set provider (Content Provider) Starting mode etc..Starting information refers to be set in launching process function
Whether the surely no information normally started, the i.e. application process have is started in such a way that certain starts type
Permission.
The last application process that the acquisition of application process parameter acquisition module 42 is judged such as application process starter 40 opens
Dynamic type is data set provider Starting mode, and the starting information of application process is normal starting, then normal starting module 43 passes through
The corresponding data set provider starting side is found in data set provider starting processing function (Get Content Provider Impl)
The application process of formula then applies for corresponding resource and memory using launching process function (Start Process Locked)
The application process is started.
As application process starter 40 judges the starting type for the application process that application process parameter acquisition module obtains
For data set provider Starting mode, and the starting information of application process is No starting, then No starting module 44 does not answer this
Started with process.
The application process start-up course of the application process starter 40 of this preferred embodiment is completed in this way.
The application process starting method of this preferred embodiment is used according to the starting type and starting information of application process
Corresponding function carries out the starting management of application process, reduces the self-starting of application process, realizes application processes starting
Effective management, reduce the power consumption of corresponding mobile terminal.
Referring to figure 5., Fig. 5 is the structural schematic diagram of the second preferred embodiment of application process starter of the invention.
The application process starter of this preferred embodiment can be used above-mentioned application process start the second preferred embodiment of method into
Row is implemented.The application process starter 50 includes command reception module 51, application process parameter acquisition module 52, normal starting
Module 53 and No starting module 54.
Command reception module 51 is for receiving application process enabled instruction.Application process parameter acquisition module 52 is for passing through
Start the launching process function in management service, obtain the corresponding application process of application process enabled instruction starting type and
Start information;Specifically for the trustship type parameter by the launching process function in starting management service, application process is obtained
The starting type of the corresponding application process of enabled instruction;According to the permission of application process, it is corresponding to obtain application process enabled instruction
Application process starting information.It is data set provider starting side that normal starting module 53, which is used for the starting type of application process such as,
Formula, and the starting information of application process is normal starting, then starts processing function and launching process letter by data set provider
Number application processes are started.It is data set provider starting side that No starting module 54, which is used for the starting type of application process such as,
Formula, and the starting information of application process is No starting, then application processes are not started.
Fig. 6 is please referred to, Fig. 6 is the normal starting module of the second preferred embodiment of application process starter of the invention
Structural schematic diagram.The normal starting module 53 includes judging unit 61 and normal start unit 62.Judging unit 61 is used for
Judge whether application process has been started up.Normal start unit 62 is inactive for such as application process, then passes through data set provider
Starting processing function and launching process function start the application process.
Fig. 7 is please referred to, Fig. 7 is the No starting module of the second preferred embodiment of application process starter of the invention
Structural schematic diagram.The No starting module 54 includes prompt unit 71.The prompt unit 71 is for returning to mentioning for No starting
Show information.
The application process starter 50 of this preferred embodiment is in use, command reception module 51 can receive application first
Process initiation instruction, the application process enabled instruction be terminal in some activation application request starting or activate it is a certain apply into
The instruction of journey, the application process can be the process in activation application, can also be the process of another application.
Subsequent application process parameter acquisition module 52 is after receiving application process enabled instruction, by terminal system
Start the launching process function (Start Process Locked) in management service (Activity Manager Service),
Obtain the application process enabled instruction it is corresponding to be launched or activation application process starting type and starting information.Here
Starting type may include visualization interface (Activity) Starting mode, system service (Service) Starting mode, broadcast open
Flowing mode and data set provider (Content Provider) Starting mode etc..Starting information refers to be set in launching process function
Whether the surely no information normally started, the i.e. application process have is started in such a way that certain starts type
Permission.
Specifically, the support that application process parameter acquisition module 52 passes through the launching process function in starting management service here
Tubing shape parameter (Hosting Type), to obtain the starting type of the corresponding application process of application process enabled instruction.Such as this
In application process starter by starting management service in launching process function trustship type parameter be Content
Provider can determine that the starting type of application process is data set provider Starting mode.
Application process parameter acquisition module 52 can also refer to according to the permission of application process to obtain application process starting simultaneously
Enable the starting information of corresponding application process.If user does not have the starting information of application processes to set, then application process
The starting information of the permission application processes of application process can be used to be set automatically for parameter acquisition module, such as will be in nonsystematic
The application process for the low rights set is set as No starting, and the application process of the high permission built in system is set to normal starting.
The starting information locally or can deposited beyond the clouds in such a way that file or database etc. are various on server after setting
Storage.
The starting of the last application process that the acquisition of application process parameter acquisition module is judged such as application process starter 50
Type is data set provider Starting mode, and the starting information of application process is normal starting, then normal starting module 53 passes through number
Start processing function (Get Content Provider Impl) according to supplier and finds the corresponding data set provider Starting mode
Application process, then apply for corresponding resource and memory pair using launching process function (Start Process Locked)
The application process is started.
Specifically:
The judging unit 61 of normal starting module 53 judges whether application process has been started up;As application process has opened
Dynamic, then application processes are not started normal starting module 53;If application process is inactive, then normal starting module 53 is being just
Normal start unit 62 starts processing function by data set provider and launching process function application processes are started.
As application process starter 50 judges the starting class for the application process that application process parameter acquisition module 52 obtains
Type is data set provider Starting mode, and the starting information of application process is No starting, then No starting module 54 is not to this
Application process is started, while No starting module 54 should also close processing function (Bring Down by service
Service Locked) the starting preparation of the application process of early period is subjected to cancellation processing, to prevent application process from malfunctioning.
The prompt information of No starting can also be returned to system by the prompt unit 71 of No starting module 54 simultaneously, be avoided
System or the obstruction of application.Furthermore the record of No starting can also be reported to starting management service by No starting module, so as to
Abnormal application process start-up operation is recorded.
The application process start-up course of the application process starter 50 of this preferred embodiment is completed in this way.
On the basis of first preferred embodiment, the application process starter of this preferred embodiment is answered by searching for activation
It is actuated for managing with process application processes, by being actuated for feedback and record to abnormal application process, into one
Step improves the validity of the starting management of application process.
Illustrate application process starting method and application process starter of the invention below by a specific embodiment
Concrete operating principle.
One, application process starter receive outside application process enabled instruction;
Two, the trustship type parameter of launching process function that application process starter obtains in starting management service is
Content Provider then judges that the starting type of the corresponding application process of application process enabled instruction opens for data set provider
Flowing mode.
Three, the launching process function that application process starter obtains in starting management service obtains opening for the application process
Dynamic information sets starting information as normal starting here.
Four, application process starter starts processing function (Get Content Provider by data set provider
Impl the application process of the corresponding data set provider Starting mode) is found, launching process function (Start is then used
Process Locked) apply for that corresponding resource and memory start the application process.
So i.e. complete this specific embodiment application process starting method and application process starter application into
Journey start-up course.
Of the invention application process starting method and application process starter according to the starting type of application process and
Start information, the starting management of application process is carried out using corresponding function, realizes effective management of application processes starting;
Solve existing application process starting method and application process starter is unable to being actuated for effectively for application processes
The technical issues of management.
" component ", " module ", " system ", " interface ", " process " etc. are generally intended to as used herein the term
Refer to computer related entity: hardware, the combination of hardware and software, software or software in execution.For example, component can be but not
It is limited to be the process on a processor of running, processor, object, executable application, thread, program and/or the computer executed.
By diagram, both the application and the controller run on the controller can be component.One or more components can have
It is in the process executed and/or thread, and component can be located on a computer and/or be distributed in two or more meters
Between calculation machine.
Moreover, claimed theme may be implemented as generating software using standard program and/or engineering technology, consolidate
Part, hardware or any combination thereof are to control the method, apparatus or manufacture that computer realizes disclosed theme.It is used herein
Term " manufacture " be intended to comprising can be from any computer readable device, carrier or the computer program of medium access.Certainly,
Those skilled in the art will appreciate that many modifications can be carried out to the configuration, without departing from claimed theme range or
Spirit.
There is provided herein the various operations of embodiment.In one embodiment, one or more operations can be with structure
At the computer-readable instruction stored on one or more computer-readable mediums, will make to succeed in one's scheme when being executed by electronic equipment
It calculates equipment and executes the operation.Describing the sequences of some or all of operations, to should not be construed as to imply that these operations necessarily suitable
Sequence is relevant.It will be appreciated by those skilled in the art that the alternative sequence of the benefit with this specification.Furthermore, it is to be understood that
Not all operation must exist in each embodiment provided in this article.
Moreover, word " preferred " used herein means serving as example, example or illustration.Feng Wen is described as " preferably
" any aspect or design be not necessarily to be construed as than other aspect or design it is more advantageous.On the contrary, the use purport of word " preferred "
Concept is being proposed in specific ways.Term "or" as used in this application is intended to mean the "or" for including and non-excluded
"or".That is, unless specified otherwise or clear from the context, " X uses A or B " means that nature includes any one of arrangement.
That is, if X uses A;X uses B;Or X uses A and B both, then " X uses A or B " is met in aforementioned any example.
Moreover, although the disclosure, this field skill has shown and described relative to one or more implementations
Art personnel will be appreciated that equivalent variations and modification based on the reading and understanding to the specification and drawings.The disclosure include it is all this
The modifications and variations of sample, and be limited only by the scope of the following claims.In particular, to by said modules (such as element,
Resource etc.) the various functions that execute, term for describing such components is intended to correspond to the specified function for executing the component
The random component (unless otherwise instructed) of energy (such as it is functionally of equal value), even if illustrated herein with execution in structure
The disclosure exemplary implementations in function open structure it is not equivalent.In addition, although the special characteristic of the disclosure
Through being disclosed relative to the only one in several implementations, but this feature can with such as can be to given or specific application
For be expectation and one or more other features combinations of other advantageous implementations.Moreover, with regard to term " includes ", " tool
Have ", " containing " or its deformation be used in specific embodiments or claims for, such term be intended to with term
The similar mode of "comprising" includes.
Each functional unit in the embodiment of the present invention can integrate in a processing module, be also possible to each unit list
It is solely physically present, can also be integrated in two or more units in a module.Above-mentioned integrated module can both use
Formal implementation of hardware can also be realized in the form of software function module.If the integrated module is with software function
The form of module is realized and when sold or used as an independent product, also can store in computer-readable storage Jie
In matter.Storage medium mentioned above can be read-only memory, disk or CD etc..Above-mentioned each device or system, can be with
Execute the method in correlation method embodiment.
In conclusion although the present invention has been disclosed above in the preferred embodiment, but above preferred embodiment is not to limit
The system present invention, those skilled in the art can make various changes and profit without departing from the spirit and scope of the present invention
Decorations, therefore protection scope of the present invention subjects to the scope of the claims.
Claims (11)
1. a kind of application process starts method, for another to being started by an application process by data set provider Starting mode
A application process is managed, which is characterized in that the described method includes:
Application process enabled instruction is received, the application process enabled instruction is issued by an application process, for starting another answer
Use process;
By the launching process function in starting management service, the corresponding application process of the application process enabled instruction is obtained
Start type and starting information;
Such as the starting type of the application process is data set provider Starting mode, and the starting information of the application process is positive
Often starting then starts processing function by data set provider and the launching process function opens the application process
It is dynamic;And
Such as starting type of the application process is data set provider Starting mode, and the starting information of the application process is to prohibit
Only start, then the application process is not started.
2. application process according to claim 1 starts method, which is characterized in that it is described by data set provider starting at
The step of reason function and the launching process function start the application process specifically:
Start the application process that processing function finds corresponding data set provider Starting mode by the data set provider, then
Corresponding resource is obtained using the launching process function and memory starts the application process;The wherein data
It is Get Content Provider Impl function that supplier, which starts processing function, and the launching process function is Start
Process Locked function.
3. application process according to claim 1 starts method, which is characterized in that described by starting management service
Launching process function, the step of obtaining the starting type of the corresponding application process of the application process enabled instruction specifically:
By the trustship type parameter of the launching process function in starting management service, the application process enabled instruction pair is obtained
The starting type for the application process answered, wherein the corresponding trustship type parameter of the application process of the data set provider Starting mode
For Content Provider.
4. application process according to claim 1 starts method, which is characterized in that described to obtain the application process starting
The step of instructing the starting information of corresponding application process include:
According to the permission of the application process, the starting information of the corresponding application process of the application process enabled instruction is obtained,
Wherein the starting information is locally stored or strange land cloud storage.
5. application process according to claim 1 starts method, which is characterized in that it is described by data set provider starting at
Reason function and launching process function the step of starting to the application process include:
Judge whether the application process has been started up;
If the application process has been started up, then the application process is not started;
If the application process is inactive, then processing function and the launching process function are started to institute by data set provider
Application process is stated to be started.
6. a kind of application process starter, for another to being started by an application process by data set provider Starting mode
A application process is managed, which is characterized in that described device includes:
Command reception module, for receiving application process enabled instruction, the application process enabled instruction is sent out by an application process
Out, for starting another application process;
Application process parameter acquisition module, for by starting management service in launching process function, obtain it is described apply into
The starting type and starting information of the corresponding application process of journey enabled instruction;
Normal starting module, the starting type for such as described application process are data set provider Starting mode, and the application
The starting information of process is normal starting, then starts processing function and the launching process function to institute by data set provider
Application process is stated to be started;And
No starting module, the starting type for such as described application process are data set provider Starting mode, and the application
The starting information of process is No starting, then does not start to the application process.
7. application process starter according to claim 6, which is characterized in that the normal starting module is specifically used for
Start the application process that processing function finds corresponding data set provider Starting mode by the data set provider, then uses
The launching process function obtains corresponding resource and memory starts the application process;Wherein the data provide
It is Get Content Provider Impl function that person, which starts processing function, and the launching process function is Start Process
Locked function.
8. application process starter according to claim 6, which is characterized in that the application process parameter acquisition module
Specifically for the trustship type parameter by the launching process function in starting management service, obtains the application process starting and refer to
The starting type of corresponding application process is enabled, wherein the corresponding trustship type of the application process of the data set provider Starting mode
Parameter is Content Provider.
9. application process starter according to claim 6, which is characterized in that the application process parameter acquisition module
Specifically for the permission according to the application process, the starting letter of the corresponding application process of the application process enabled instruction is obtained
Breath, wherein the starting information is locally stored or strange land cloud storage.
10. application process starter according to claim 6, which is characterized in that the normal starting module includes:
Judging unit, for judging whether the application process has been started up;
Normal start unit, it is inactive for such as application process, then pass through data set provider and starts processing function and institute
Launching process function is stated to start the application process.
11. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that described program is processed
Such as method described in any one of claim 1 to 5 is realized when device executes.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201511030666.2A CN105677401B (en) | 2015-12-30 | 2015-12-30 | Application process starts method and application process starter |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201511030666.2A CN105677401B (en) | 2015-12-30 | 2015-12-30 | Application process starts method and application process starter |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105677401A CN105677401A (en) | 2016-06-15 |
CN105677401B true CN105677401B (en) | 2019-08-06 |
Family
ID=56298419
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201511030666.2A Active CN105677401B (en) | 2015-12-30 | 2015-12-30 | Application process starts method and application process starter |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105677401B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108268311B (en) * | 2016-12-30 | 2021-11-30 | 北京国双科技有限公司 | Determination method and device for caller application program |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104360923A (en) * | 2014-11-03 | 2015-02-18 | 中国银行股份有限公司 | Monitoring method and monitoring system for batch application process |
CN104461725A (en) * | 2014-12-30 | 2015-03-25 | 小米科技有限责任公司 | Application process starting control method and device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101209951B1 (en) * | 2011-06-10 | 2012-12-07 | 주식회사 캐스트이즈 | Apparatus and method for conducting related operations upon occurrence of an android application launch request prior to the launch of the application |
-
2015
- 2015-12-30 CN CN201511030666.2A patent/CN105677401B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104360923A (en) * | 2014-11-03 | 2015-02-18 | 中国银行股份有限公司 | Monitoring method and monitoring system for batch application process |
CN104461725A (en) * | 2014-12-30 | 2015-03-25 | 小米科技有限责任公司 | Application process starting control method and device |
Also Published As
Publication number | Publication date |
---|---|
CN105677401A (en) | 2016-06-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105446811B (en) | Application process is associated with starting method and association starter | |
US8214910B1 (en) | Obscuring an accelerometer signal | |
CN105426244B (en) | Application process management method and application process managing device | |
US20160232374A1 (en) | Permission control method and apparatus | |
US20180196875A1 (en) | Determining repeat website users via browser uniqueness tracking | |
CN105677533B (en) | Application process monitoring method and application process monitoring device | |
KR20130136395A (en) | System and method for remotely initiating lost mode on a computing device | |
WO2014190426A1 (en) | Policy enforcement using natural language processing | |
US10070314B2 (en) | Authentication using dynamic verbal questions based on social and geospatial history | |
WO2013063268A1 (en) | Obscuring an accelerometer signal | |
CN110290280B (en) | Terminal state identification method and device and storage medium | |
US20160283356A1 (en) | Event-driven automation testing for mobile devices | |
CN105100003A (en) | Method and device for preloading webpage game at client | |
CN105653339B (en) | Application process starts method and application process starter | |
WO2015094271A1 (en) | Protection system including machine learning snapshot evaluation | |
CN105700942B (en) | Application process is associated with starting method and association starter | |
CN104537301A (en) | Method and device for logging in to application and mobile terminal | |
Sanmorino et al. | The Design of Notification System on Android Smartphone for Academic Announcement. | |
CN105653364B (en) | Application process management method and application process managing device | |
WO2008073606A3 (en) | Access control system based on a hardware and software signature of a requesting device | |
CN102096618B (en) | Hardware information detection method and system | |
CN103001934A (en) | Terminal application login method and terminal application login system | |
CN103176800A (en) | Application program login method and device | |
WO2017166640A1 (en) | Application calling method and terminal | |
CN105677401B (en) | Application process starts method and application process starter |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant after: OPPO Guangdong Mobile Communications Co., Ltd. Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant before: Guangdong OPPO Mobile Communications Co., Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |