[go: up one dir, main page]

CN105446811B - Application process is associated with starting method and association starter - Google Patents

Application process is associated with starting method and association starter Download PDF

Info

Publication number
CN105446811B
CN105446811B CN201511030399.9A CN201511030399A CN105446811B CN 105446811 B CN105446811 B CN 105446811B CN 201511030399 A CN201511030399 A CN 201511030399A CN 105446811 B CN105446811 B CN 105446811B
Authority
CN
China
Prior art keywords
application process
starting
association
service
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.)
Expired - Fee Related
Application number
CN201511030399.9A
Other languages
Chinese (zh)
Other versions
CN105446811A (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 CN201511030399.9A priority Critical patent/CN105446811B/en
Publication of CN105446811A publication Critical patent/CN105446811A/en
Application granted granted Critical
Publication of CN105446811B publication Critical patent/CN105446811B/en
Expired - Fee Related 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/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/48Indexing scheme relating to G06F9/48
    • G06F2209/482Application

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 association starting method comprising receives application process and services enabled instruction;By the starting service function in starting service, the starting information of the corresponding application process of application process service enabled instruction is obtained;According to service package information and package informatin is called, judges whether application process is associated the starting of application process;If application process is associated the starting of application process, then permission is started according to the association of application process, using service component information and calls package informatin, the associated application process of application processes is started.The present invention also provides a kind of application processes to be associated with starter.The present invention starts permission according to the association of the association starting type and application process of application process, starts management using the association that corresponding function carries out application process, realizes effective management of application processes association starting.

Description

Application process is associated with starting method and association starter
Technical field
The present invention relates to application process control fields, are associated with starting method more particularly to a kind of application process and association is opened 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 (activation management service) system service in tall and erect system administration services Start Process Locked (launching process locking) function realizes application process starting as entrance.
In the prior art, some application can by calling non-visual running background service (service), thus into One step Start Process Locked function realizes the process initiation of itself application or other application.
But above-mentioned application Starting mode may be called as passed through using A using after B by certain rogues using utilizing Platform operation service, to realize the starting of the application process using B;At this time if be closed using A, can equally be called using B Using the running background service of A, to realize the starting of the application process using A.Make the application using A and application B in this way 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 a kind of application processes and is associated the application process association for being actuated for effectively managing Starting method and association starter;It cannot be corresponded to solving existing application process association starting method and association starter The technical issues of effectively managing is actuated for the association of process.
The embodiment of the present invention provides a kind of application process association starting method comprising:
It receives application process and services enabled instruction;
By the starting service function in starting service, obtain application process service enabled instruction it is corresponding apply into The starting information of journey, wherein the starting information includes service component information, service package information and calling package informatin;
According to the service package information and the calling package informatin, judge whether the application process is associated application The starting of process;And
If the application process is associated the starting of application process, is then started according to the association of the application process and weighed Limit, using the service component information and the calling package informatin, opens the associated application process of the application process It is dynamic.
It is described according to the service package information and the tune in application process of the present invention association starting method With package informatin, judge that the step of whether application process is associated the starting of application process includes:
Judge whether the service package information and the calling package informatin are identical;
If not identical, then judge that the application process is associated the starting of application process;As identical, then according to the clothes Business module information and the starting for calling package informatin to carry out the application process.
In application process of the present invention association starting method, described started according to the association of the application process is weighed Limit, using the service component information and the calling package informatin, opens the associated application process of the application process Dynamic step includes:
Judge whether the application process there is the first association to start permission;
If there is the application process the first association to start permission, then the service component information and the calling are used Package informatin starts processing function by service and launching process function opens the associated application process of the application process It is dynamic;And
Start permission as the application process does not have the first association, then the associated application of the application process is not carried out Starting.
It is described using the service component information and described in application process of the present invention association starting method Call package informatin, by service start processing function and launching process function to the associated application process of the application process into Row starting the step of include:
Start permission according to the second of the associated application process the association, uses the service component information and the tune With package informatin, processing function and launching process function is started by service, the associated application process of the application process is carried out Starting.
In application process of the present invention association starting method, the second association starting permission is locally stored or different Ground cloud storage.
It is described using the service component information and described in application process of the present invention association starting method Call package informatin, by service start processing function and launching process function to the associated application process of the application process into Row starting the step of include:
According to the system permission information of the associated application process, wrapped using the service component information and the calling Information starts processing function by service and launching process function opens the associated application process of the application process It is dynamic.
The embodiment of the present invention also provides a kind of application process association starter comprising:
Command reception module, for receiving application process service enabled instruction;
Application process data obtaining module, for by starting service in starting service function, obtain it is described apply into Journey services the starting information of the corresponding application process of enabled instruction, wherein the starting information includes service component information, service Package informatin and calling package informatin;
Association starting judgment module, for being answered described in judgement according to the service package information and the calling package informatin The starting of application process whether is associated with process;And
It is associated with starting module, the starting of application process is associated for such as described application process, then according to the application The association of process starts permission, using the service component information and the calling package informatin, to the pass of the application process Connection application process is started.
In application process of the present invention association starter, the association starting judgment module includes:
Package informatin judging unit, for judging whether the service package information and the calling package informatin are identical;
Dereferenced start unit, for carrying out the application according to the service component information and the calling package informatin The starting of process;And
Association starting judging unit, for judging that the application process is associated the starting of application process.
In application process of the present invention association starter, the association starting module includes:
Permission judging unit, for judging whether the application process there is the first association to start permission;And
It is associated with start unit, for using the service component information and the calling package informatin, is started by service Processing function and launching process function start the associated application process of the application process.
In application process of the present invention association starter, the association start unit is specifically used for according to Second association starting permission of associated application process passes through clothes using the service component information and the calling package informatin Business starting processing function and launching process function start the associated application process of the application process.
In application process of the present invention association starter, the second association starting permission is locally stored or different Ground cloud storage.
In application process of the present invention association starter, the association start unit is specifically used for according to The system permission information of associated application process is opened using the service component information and the calling package informatin by service Dynamic processing function and launching process function start the associated application process of the application process.
Application process association starting method and association starter, application process of the invention compared to the prior art is closed Join starting method and be associated with starter and permission is started according to the association of the association starting type and application process of application process, Start management using the association that corresponding function carries out application process, realizes effective management of application processes association starting; It solves existing application process association starting method and is associated with starter and is unable to the associations of application processes and be actuated for The technical issues of effect management.
Detailed description of the invention
Fig. 1 is the flow chart for the first preferred embodiment that application process of the invention is associated with starting method;
Fig. 2 is the flow chart for the second preferred embodiment that application process of the invention is associated with starting method;
Fig. 3 is the structural schematic diagram for the first preferred embodiment that application process of the invention is associated with starter;
Fig. 4 is the structural schematic diagram for the second preferred embodiment that application process of the invention is associated with starter;
Fig. 5 is the association starting judgment module for the second preferred embodiment that application process of the invention is associated with starter Structural schematic diagram;
Fig. 6 is the structure of the association starting module for the second preferred embodiment that application process of the invention is associated with starter Schematic diagram.
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 association starter of the invention, which includes But it is not limited to personal computer, server computer, hand-held or laptop devices, mobile device (such as mobile phone, individual Digital assistants (PDA), media player etc.), multicomputer system, consumer electronic devices, minicomputer, mass computing Machine, distributed computing environment including above-mentioned arbitrary system or equipment, etc..But the electronic equipment is preferably intelligent mobile end End, to improve the validity of starting management of the intelligent mobile terminal to associated application process.
Fig. 1 is please referred to, Fig. 1 is the flow chart for the first preferred embodiment that application process of the invention is associated with starting method. Above-mentioned electronic equipment can be used to be implemented for the application process starting method of this preferred embodiment.Application process association starting Method includes:
Step S101 receives application process and services enabled instruction;
It is corresponding to obtain application process service enabled instruction by the starting service function in starting service by step S102 The starting information of application process;
Step S103, according to starting information in service package information and call package informatin, judge application process whether into The starting of row associated application process;
Step S104 then starts according to the association of application process and weighs if application process is associated the starting of application process Limit using service component information and calls package informatin, and the associated application process of application processes is started.
The following detailed description of the detailed process of each step of the application process association starting method of this preferred embodiment.
In step s101, application process association starter receive application process service enabled instruction, this application into Journey enabled instruction is that some activation application requests starting by system service Starting mode or activates the instruction of a certain application process, The application process can be the process in activation application, can also be the process of another application.Then pass to step S102.
In step s 102, application process association starter passes through after receiving application process service enabled instruction In starting service (Active Services) in terminal system starting service function (Start Service Locked or Bind Service Locked), obtain the starting information of the corresponding application process of application process service enabled instruction.This is opened Dynamic information refers to that the application process carries out the relevant information of application process starting by starting service function.The starting information includes Service component information, service package information and calling package informatin.Wherein service component information is that application process progress process opens The dynamic starting service parameter called, such as starting service name;Service package information is the progress information of application process;Call packet letter Breath is the progress information for the application process being activated.Then pass to step S103.
In step s 103, application process is associated with starter according to the step S102 service package information obtained and calling Package informatin, judges whether application process is associated the starting of application process.If service package information is different from package informatin is called, then Illustrate that application process is starting other associated application processes;If service package information is identical as package informatin is called, then illustrate to apply Process is starting the process of itself application.Then pass to step S104.
In step S104, such as in step s 103, judges that application process is associated the starting of application process, then apply Process context starter starts permission according to the association of application process, uses the service of the application process obtained in step S102 Module information and calling package informatin, the associated application process of application processes are started.I.e. as application process has accordingly Association start permission, then the associated application process of application processes is started;As application process does not have corresponding association Start permission, then the associated application process for being unable to application processes is started.
The associated application process initiation process of the application process association starting method of this preferred embodiment is completed in this way.
The application process association starting method of this preferred embodiment starts type and application according to the association of application process The association of process starts permission, starts management using the association that corresponding function carries out application process, reduces application process Association starting realizes effective management of application processes association starting, reduces 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 is associated with starting method. Above-mentioned electronic equipment can be used to be implemented for the application process association starting method of this preferred embodiment.Application process association Starting method includes:
Step S201 receives application process and services enabled instruction;
It is corresponding to obtain application process service enabled instruction by the starting service function in starting service by step S202 The starting information of application process;
Whether step S203 judges to start the service package information in information and calls package informatin identical, such as identical, then turns To step S204;Such as difference, then step S205 is gone to;
Step S204 carries out the starting of application process according to service component information and calling package informatin;
Step S205, judges whether application process there is the first association to start permission, does not have the first association starting power such as Limit, then go to step S206;Such as there is the first association to start permission, then go to step S207;
Step S206, the associated application of application processes is not started, and returns to the prompt for forbidding associated application to start Information;
Step S207 using service component information and calls package informatin, starts processing function and starting by service The associated application process of process function application processes is started.
The following detailed description of the detailed process of each step of the application process association starting method of this preferred embodiment.
In step s 201, application process association starter receive application process service enabled instruction, this application into Journey enabled instruction is that some activation application requests starting by system service Starting mode or activates the instruction of a certain application process, The application process can be the process in activation application, can also be the process of another application.Then pass to step S202.
In step S202, application process is associated with starter after receiving application process service enabled instruction, passes through In starting service (Active Services) in terminal system starting service function (Start Service Locked or Bind Service Locked), obtain the starting information of the corresponding application process of application process service enabled instruction.This is opened Dynamic information refers to that the application process carries out the relevant information of application process starting by starting service function.The starting information includes Service component information, service package information and calling package informatin.Wherein service component information is that application process progress process opens The dynamic starting service parameter called, such as starting service name;Service package information is the progress information of application process;Call packet letter Breath is the progress information for the application process being activated.Then pass to step S203.
In step S203, the service package information and tune that are obtained in application process association starter judgment step S202 It is whether identical with package informatin, it is such as identical, then go to step S204;Such as difference, then step S205 is gone to.
In step S204, if service package information is identical with package informatin is called, then illustrate that the application process is only answered With interior process initiation, not associated application process initiation, therefore application process association starter can be believed according to serviced component Breath and the starting for calling package informatin progress application process.
In step S205, if service package information is different with package informatin is called, then application process association starter judgement Whether application process there is the first association to start permission, which refers to whether the application process has permission It is associated the starting of application process.Do not have the first association such as and start permission, then goes to step S206;Such as there is the first association Start permission, then goes to step S207.
In step S206, start permission, application process association starting since application process does not have the first association The associated application of device not application processes is started, while application process association starter can will also forbid association to start Prompt information return to system, avoid the obstruction of system or application.Furthermore application process association starter can will also forbid The record of starting reports to starting management service, to record to abnormal associated application process initiation operation.
In step S207, if there is application process the first association to start permission, then application process association starter makes With the service component information obtained in step S202 and package informatin is called, processing function (Bring Up is started by service Service Locked) and launching process function (Start Process Locked) application processes associated application process Started.
Specifically, permission can be started according to the second of associated application process the association, service component information and calling are used Package informatin is started by the associated application process that service starts processing function and launching process function application processes. I.e. associated application process has the associated permission started, then process initiation can be associated, as associated application process does not have The permission of associated starting cannot then be associated process initiation, while application process association starter can will also forbid closing The prompt information of connection starting returns to system.Here the second association starting permission can be locally or beyond the clouds on server with text The various modes such as part or database are stored.
As to associated application process setting the second association starting permission, application process is associated with starter can also be according to pass Join the system permission information of application process to determine that the association of associated application process starts permission.Low power as built in by nonsystematic The associated application process of limit is set as that association is forbidden to start, and the associated application process of the high permission built in system is set as normal Association starting.
The associated application process initiation process of the application process association starting method of this preferred embodiment is completed in this way.
On the basis of first preferred embodiment, the application process association starting method of this preferred embodiment is also according to association The association of application process starts permission, starts management using the association that corresponding function carries out application process, while to abnormal pass Connection application process is actuated for feedback and record, further improves the validity of the starting management of associated application process.
The present invention also provides a kind of application processes to be associated with starter, and referring to figure 3., Fig. 3 is that Fig. 3 is application of the invention The structural schematic diagram of the first preferred embodiment of process context starter.The application process association starting dress of this preferred embodiment The first preferred embodiment that above-mentioned application process can be used to be associated with starting method is set to be implemented.Application process association starting Device 30 includes that command reception module 31, application process data obtaining module 32, association starting judgment module 33 and association are opened Dynamic model block 34.
Command reception module 31 is for receiving application process service enabled instruction.Application process data obtaining module 32 is used for By the starting service function in starting service, the starting letter of the corresponding application process of application process service enabled instruction is obtained Breath.Association starting judgment module 33 is used for according to service package information and calls package informatin, judges whether application process is closed Join the starting of application process.Association starting module 34 is used to be associated the starting of application process such as application process, then basis is answered Start permission with the association of process, using service component information and calls package informatin, the associated application process of application processes Started.
The application process association starter 303 of this preferred embodiment is in use, command reception module 31 receives application Process services enabled instruction, which is that some activation application passes through the request starting of system service Starting mode Or the instruction of a certain application process of activation, the application process can be the process in activation application, can also for another application into Journey.
Subsequent application process data obtaining module 32 passes through terminal system after receiving application process service enabled instruction In starting service (Active Services) in starting service function (Start Service Locked or Bind Service Locked), obtain the starting information of the corresponding application process of application process service enabled instruction.The starting information Refer to that the application process carries out the relevant information of application process starting by starting service function.The starting information includes service group Part information, service package information and calling package informatin.Wherein service component information is that the application process carries out process initiation calling Starting service parameter, such as starting service name;Service package information is the progress information of application process;Calling package informatin is quilt The progress information of the application process of starting.
Then association starting judgment module 33 is obtained according to application process data obtaining module 32 service package information and Package informatin is called, judges whether application process is associated the starting of application process.Not such as service package information and calling package informatin Together, then illustrate that application process is starting other associated application processes;If service package information is identical as package informatin is called, then illustrate Application process is starting the process of itself application.
It is last such as to judge that application process is associated the starting of application process, then starting module 34 is associated with according to application process Association start permission, use application process data obtaining module 32 obtain application process service component information and calling The associated application process of package informatin, application processes is started.I.e. as application process has accordingly, association starts permission, then The associated application process of application processes is started;Start permission as application process does not have corresponding association, then it cannot be right The associated application process of application process is started.
The associated application process initiation mistake of the application process association starter 30 of this preferred embodiment is completed in this way Journey.
The application process association starter of this preferred embodiment starts type and application according to the association of application process The association of process starts permission, starts management using the association that corresponding function carries out application process, reduces application process Association starting realizes effective management of application processes association starting, reduces the power consumption of corresponding mobile terminal.
Referring to figure 4., Fig. 4 is the structural representation for the second preferred embodiment that application process of the invention is associated with starter Figure.Above-mentioned application process can be used to be associated with the second excellent of starting method for the application process association starter of this preferred embodiment Embodiment is selected to be implemented.It includes command reception module 41, application process acquisition of information that the application process, which is associated with starter 40, Module 42, association starting judgment module 43 and association starting module 44.
Command reception module 41 is for receiving application process service enabled instruction.Application process data obtaining module 42 is used for By the starting service function in starting service, the starting letter of the corresponding application process of application process service enabled instruction is obtained Breath.Association starting judgment module 43 is used for according to service package information and calls package informatin, judges whether application process is closed Join the starting of application process.Association starting module 44 is used to be associated the starting of application process such as application process, then basis is answered Start permission with the association of process, using service component information and calls package informatin, the associated application process of application processes Started.
Referring to figure 5., Fig. 5 is the association starting for the second preferred embodiment that application process of the invention is associated with starter The structural schematic diagram of judgment module, it includes package informatin judging unit 51, dereferenced start unit which, which starts judgment module 43, 52 and association starting judging unit 53.
Whether package informatin judging unit 51 is for judging service package information and calling package informatin identical.Dereferenced starting is single Member 52 is for carrying out the starting of application process according to service component information and calling package informatin.Association starting judging unit 53 is used In judging that application process is associated the starting of application process.
Fig. 6 is please referred to, Fig. 6 is the association starting for the second preferred embodiment that application process of the invention is associated with starter The structural schematic diagram of module.The association starting module 44 includes that permission judging unit 61, association start unit 62 and prompt are single Member 63.
Permission judging unit 61 is for judging whether application process there is the first association to start permission.It is associated with start unit 62 For using service component information and calling package informatin, processing function and launching process function are started to application by service The associated application process of process is started.Prompt unit 63 is used to return to the prompt information for forbidding associated application to start.
The application process association starter 40 of this preferred embodiment is in use, command reception module 41 first is received and answered Enabled instruction is serviced with process, which is that some activation application is opened by the request of system service Starting mode Instruction that is dynamic or activating a certain application process, the application process can be the process in activation application, can also be another application Process.
Subsequent application process data obtaining module 42 passes through terminal system after receiving application process service enabled instruction In starting service (Active Services) in starting service function (Start Service Locked or Bind Service Locked), obtain the starting information of the corresponding application process of application process service enabled instruction.The starting information Refer to that the application process carries out the relevant information of application process starting by starting service function.The starting information includes service group Part information, service package information and calling package informatin.Wherein service component information is that the application process carries out process initiation calling Starting service parameter, such as starting service name;Service package information is the progress information of application process;Calling package informatin is quilt The progress information of the application process of starting.
Then the package informatin judging unit 51 of association starting judgment module 43 judges that application process data obtaining module obtains Service package information and call package informatin it is whether identical.
If service package information with call package informatin it is identical, then illustrate the application process be applied in process open It moves, not associated application process initiation, therefore the dereferenced start unit 52 for being associated with starting judgment module 43 can be according to service group Part information and the starting for calling package informatin progress application process.
If service package information is different with package informatin is called, then the association starting judging unit 53 of starting judgment module 43 is associated with Judge that application process is associated the starting of application process.
The permission judging unit 61 that starting module 44 should be then associated with judges whether application process has the first association starting Permission, the first association starting permission refer to whether the application process has permission the starting for being associated application process.
Start permission as application process does not have the first association, therefore is associated with the association of the not application processes of starting module 44 Using being started, while the prompt information that the prompt unit 63 for being associated with starting module 44 can also will forbid association to start return to System avoids the obstruction of system or application.Furthermore the record of No starting can also be reported to starting management by association starting module Service, to be recorded to abnormal associated application process initiation operation.
If there is application process the first association to start permission, then 62 use of association start unit for being associated with starting module 44 is answered The service component information and call package informatin that module obtains are obtained with progress information, processing function (Bring is started by service Up Service Locked) and launching process function (Start Process Locked) application processes associated application Process is started.
Specifically, association start unit 62 can start permission according to the second of associated application process the association, service group is used Part information and calling package informatin, pass through the associated application that service starts processing function and launching process function application processes Process is started.I.e. associated application process has the associated permission started, then can be associated process initiation, as association is answered Do not have the permission of associated starting with process, then cannot be associated process initiation, while application process is associated with starter Also the prompt information for forbidding association to start can be returned to system.Here the second association starting permission can be locally or beyond the clouds It is stored in such a way that file or database etc. are various on server.
As to associated application process setting the second association starting permission, association start unit 62 can also be according to associated application The system permission information of process come determine associated application process association start permission.The pass of low rights as built in by nonsystematic Connection application process is set as that association is forbidden to start, and the associated application process of the high permission built in system is set as normal association and is opened It is dynamic.
The associated application process initiation mistake of the application process association starter 40 of this preferred embodiment is completed in this way Journey.
On the basis of first preferred embodiment, the application process association starter of this preferred embodiment is also according to association The association of application process starts permission, starts management using the association that corresponding function carries out application process, while to abnormal pass Connection application process is actuated for feedback and record, further improves the validity of the starting management of associated application process.
Illustrate application process association starting method of the invention below by a specific embodiment and is associated with starter Concrete operating principle.
One, the application process that application process is associated with outside starter reception services enabled instruction.
Two, application process is associated with starter by the starting service function in starting service, obtains application process service Service component information, service package information and the calling package informatin of the corresponding application process of enabled instruction.
Three, whether application process association starter judges service package information and calls package informatin identical, sets here Service package information and calling package informatin are identical.
Four, application process is associated with starter using service type information and calls package informatin, the pass of application processes Connection application process is started.
So i.e. complete this specific embodiment process context starting method and be associated with starter associated application into Journey start-up course.
Application process association starting method and association starter of the invention is according to the association of application process starting type And the association of application process starts permission, starts management using the association that corresponding function carries out application process, realizes pair Effective management of application process association starting;It solves existing application process association starting method and association starter cannot The association of application processes is actuated for the technical issues of effectively managing.
" 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 (14)

1. a kind of application process is associated with starting method characterized by comprising
It receives application process and services enabled instruction;
By the starting service function in starting service, the corresponding application process of the application process service enabled instruction is obtained Start information, wherein the starting information includes service component information, service package information and calling package informatin;
According to the service package information and the calling package informatin, judge whether the application process is associated application process Starting;And
If the application process is associated the starting of application process, then permission is started according to the association of the application process, made With the service component information and the calling package informatin, the associated application process of the application process is started, institute Stating association starting permission includes that normal association starts and forbids being associated with starting, and the association starting permission is normal association starting Application process is the application process built in system, and it is nonsystematic that the association starting permission, which is the application process for forbidding association to start, Built-in application process.
2. application process according to claim 1 is associated with starting method, which is characterized in that described to be believed according to the services package Breath and the calling package informatin, judge that the step of whether application process is associated the starting of application process includes:
Judge whether the service package information and the calling package informatin are identical;
If not identical, then judge that the application process is associated the starting of application process;As identical, then according to the service group Part information and the starting for calling package informatin to carry out the application process.
3. application process according to claim 1 is associated with starting method, which is characterized in that described according to the application process Association starting permission the association of the application process is answered using the service component information and the calling package informatin The step of being started with process include:
Judge whether the application process there is the first association to start permission;
If there is the application process the first association to start permission, then using the service component information and calling packet letter Breath starts processing function by service and launching process function starts the associated application process of the application process; And
Start permission as the application process does not have the first association, then the associated application of the application process is not opened It is dynamic.
4. application process according to claim 3 is associated with starting method, which is characterized in that described to use the serviced component Information and the calling package informatin start processing function and launching process function to the pass of the application process by service Joining the step of application process is started includes:
Start permission according to the second of the associated application process the association, is wrapped using the service component information and the calling Information starts processing function by service and launching process function opens the associated application process of the application process It is dynamic.
5. application process according to claim 4 is associated with starting method, which is characterized in that the second association starting permission It is locally stored or strange land cloud storage.
6. application process according to claim 3 is associated with starting method, which is characterized in that described to use the serviced component Information and the calling package informatin start processing function and launching process function to the pass of the application process by service Joining the step of application process is started includes:
According to the system permission information of the associated application process, the service component information and calling packet letter are used Breath starts processing function by service and launching process function starts the associated application process of the application process.
7. a kind of application process is associated with starter characterized by comprising
Command reception module, for receiving application process service enabled instruction;
Application process data obtaining module, for obtaining the application process clothes by the starting service function in starting service The starting information for the corresponding application process of enabled instruction of being engaged in, wherein the starting information includes service component information, services package letter Breath and calling package informatin;
Association starting judgment module, for according to the service package information and the calling package informatin, judge it is described apply into Whether journey is associated the starting of application process;And
It is associated with starting module, the starting of application process is associated for such as described application process, then according to the application process Association starting permission the association of the application process is answered using the service component information and the calling package informatin Started with process, the association starting permission includes that normal association starts and forbids being associated with starting, the association starting power It is limited to application process of the application process of normal association starting built in system, the association starting permission is that association is forbidden to start Application process be nonsystematic built in application process.
8. application process according to claim 7 is associated with starter, which is characterized in that the association starts judgment module Include:
Package informatin judging unit, for judging whether the service package information and the calling package informatin are identical;
Dereferenced start unit, for carrying out the application process according to the service component information and the calling package informatin Starting;And
Association starting judging unit, for judging that the application process is associated the starting of application process.
9. application process according to claim 7 is associated with starter, which is characterized in that the association starting module packet It includes:
Permission judging unit, for judging whether the application process there is the first association to start permission;And association starting is single Member, for use the service component information and the calling package informatin, by service start processing function and start into Eikonal number starts the associated application process of the application process.
10. application process according to claim 9 is associated with starter, which is characterized in that the association start unit tool Body is used to start permission according to the second of the associated application process the association, uses the service component information and the calling Package informatin starts processing function by service and launching process function opens the associated application process of the application process It is dynamic.
11. application process according to claim 10 is associated with starter, which is characterized in that the second association starting power Limit is locally stored or strange land cloud storage.
12. application process according to claim 9 is associated with starter, which is characterized in that the association start unit tool Body is used for the system permission information according to the associated application process, uses the service component information and calling packet letter Breath starts processing function by service and launching process function starts the associated application process of the application process.
13. a kind of computer readable storage medium, is stored with computer program, wherein when the computer program is calculating When being run on machine, so that the computer executes such as method as claimed in any one of claims 1 to 6.
14. a kind of electronic equipment, which is characterized in that including processor and memory, the processor is connect with memory, described Computer program is stored in memory, the processor passes through the computer program for calling and storing in the memory, Starting method is associated with for executing application process as claimed in any one of claims 1 to 6 such as.
CN201511030399.9A 2015-12-30 2015-12-30 Application process is associated with starting method and association starter Expired - Fee Related CN105446811B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201511030399.9A CN105446811B (en) 2015-12-30 2015-12-30 Application process is associated with starting method and association starter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201511030399.9A CN105446811B (en) 2015-12-30 2015-12-30 Application process is associated with starting method and association starter

Publications (2)

Publication Number Publication Date
CN105446811A CN105446811A (en) 2016-03-30
CN105446811B true CN105446811B (en) 2019-05-03

Family

ID=55557047

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201511030399.9A Expired - Fee Related CN105446811B (en) 2015-12-30 2015-12-30 Application process is associated with starting method and association starter

Country Status (1)

Country Link
CN (1) CN105446811B (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105893132B (en) * 2016-03-31 2020-07-24 联想(北京)有限公司 Control method and electronic equipment
CN106055393A (en) * 2016-05-20 2016-10-26 广东欧珀移动通信有限公司 Application startup management method and mobile terminal
CN106095520A (en) * 2016-08-01 2016-11-09 宇龙计算机通信科技(深圳)有限公司 A kind of limit the method and device that third-party application mutually starts
CN106502645A (en) * 2016-09-23 2017-03-15 宇龙计算机通信科技(深圳)有限公司 From the method to set up, setting device and the terminal that wake up authority
CN108111565B (en) * 2016-11-25 2020-08-04 腾讯科技(深圳)有限公司 Message transmission method and device
CN108268311B (en) * 2016-12-30 2021-11-30 北京国双科技有限公司 Determination method and device for caller application program
CN106845208B (en) * 2017-02-13 2020-04-24 北京安云世纪科技有限公司 Abnormal application control method and device and terminal equipment
CN106933660B (en) * 2017-02-17 2020-12-08 广州启生信息技术有限公司 Method for realizing application process keep-alive under android platform
CN107957913A (en) * 2017-11-21 2018-04-24 广东欧珀移动通信有限公司 Associate management-control method, device, storage medium and the mobile terminal started
CN107748684A (en) 2017-11-21 2018-03-02 广东欧珀移动通信有限公司 Realize processing method, device, storage medium and the mobile terminal of self-starting
CN108196997B (en) * 2017-12-29 2021-06-15 北京安云世纪科技有限公司 Device and method for dynamically controlling application and mobile terminal
CN109271254A (en) * 2018-09-25 2019-01-25 连尚(新昌)网络科技有限公司 Method, electronic equipment and the medium risen using process tune
CN112860439A (en) * 2021-03-01 2021-05-28 北京字节跳动网络技术有限公司 Application starting method and device, terminal and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103514386A (en) * 2012-06-22 2014-01-15 纬创资通股份有限公司 Permission control method of application program, electronic device and computer readable medium
CN104102537A (en) * 2013-04-07 2014-10-15 华为技术有限公司 Application calling method and user terminal
CN104461576A (en) * 2014-12-29 2015-03-25 联想(北京)有限公司 Information processing method and electronic equipment
CN105072255A (en) * 2015-07-10 2015-11-18 北京奇虎科技有限公司 Mobile device privacy authority control method, device and corresponding mobile phone device
CN105159771A (en) * 2015-09-21 2015-12-16 北京奇虎科技有限公司 Method and apparatus for processing inter-application chain type start

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103514386A (en) * 2012-06-22 2014-01-15 纬创资通股份有限公司 Permission control method of application program, electronic device and computer readable medium
CN104102537A (en) * 2013-04-07 2014-10-15 华为技术有限公司 Application calling method and user terminal
CN104461576A (en) * 2014-12-29 2015-03-25 联想(北京)有限公司 Information processing method and electronic equipment
CN105072255A (en) * 2015-07-10 2015-11-18 北京奇虎科技有限公司 Mobile device privacy authority control method, device and corresponding mobile phone device
CN105159771A (en) * 2015-09-21 2015-12-16 北京奇虎科技有限公司 Method and apparatus for processing inter-application chain type start

Also Published As

Publication number Publication date
CN105446811A (en) 2016-03-30

Similar Documents

Publication Publication Date Title
CN105446811B (en) Application process is associated with starting method and association starter
US9635098B2 (en) Open platform, open platform access system, storage medium, and method for allowing third party application to access open platform
CN105700942B (en) Application process is associated with starting method and association starter
RU2005126693A (en) AUTOMATIC CHECK OF TEST EXAMPLES, WHICH IMPLIEDLY ASSOCIATED WITH AUTOMATIC EXECUTION OF TEST EXAMPLES
CN106096418B (en) SELinux-based startup security level selection method and device and terminal equipment
US9734311B1 (en) Secure authentication of firmware configuration updates
CN110490416B (en) Task management method and terminal equipment
CN111353176B (en) Method and system for inquiring block chain data
CN105844146B (en) Method and device for protecting driver and electronic equipment
CN110738473A (en) Wind control method, system, device and equipment
CN106250244B (en) Method and device for releasing mutual exclusion lock and electronic equipment
CN105653339B (en) Application process starts method and application process starter
CN105677533B (en) Application process monitoring method and application process monitoring device
CN108021405A (en) The driving method and device of storage medium in a kind of SOC system starting process
CN106940714B (en) A kind of data processing method, device and electronic equipment
CN105653364B (en) application process management method and application process management device
CN109857450B (en) Verification service arrangement method and device
CN105635231A (en) Calling method and apparatus of distributed system
CN106874020B (en) Method and device for starting plug-in
CN110019444A (en) A kind of operation requests processing method, device, equipment and system
CN107766230A (en) A kind of method and apparatus tested based on configuration file
CN103369533A (en) Antitheft method and antitheft device of mobile terminal
CN105700916B (en) application process starting method and application process starting device
CN106203087B (en) Injection protection method, system, terminal and storage medium
CN103077078A (en) Method for defining state transition in software and application control management object

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: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

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

GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190503