CN105700942B - 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
CN105700942B
CN105700942B CN201511030618.3A CN201511030618A CN105700942B CN 105700942 B CN105700942 B CN 105700942B CN 201511030618 A CN201511030618 A CN 201511030618A CN 105700942 B CN105700942 B CN 105700942B
Authority
CN
China
Prior art keywords
application process
starting
service
association
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
CN201511030618.3A
Other languages
Chinese (zh)
Other versions
CN105700942A (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 CN201511030618.3A priority Critical patent/CN105700942B/en
Publication of CN105700942A publication Critical patent/CN105700942A/en
Application granted granted Critical
Publication of CN105700942B publication Critical patent/CN105700942B/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
    • G06F9/4806Task transfer initiation or dispatching
    • 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 type information and calls package informatin, at least one 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, and the batch association starting management of application process is carried out using corresponding function, 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 type information, service package information and calls package informatin, wherein institute Stating service type information includes at least one similar service component information;
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 type information and the calling package informatin, at least one associated application of the application process into Cheng Jinhang starting.
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 classification 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 type information and the calling package informatin, at least one associated application of the application process into Cheng Jinhang start the step of 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 all services in the service type information are obtained Module information;And the service component information and the calling package informatin are used, processing function is started by service and is opened Dynamic process function starts at least one 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 carried out Starting.
It is described using the service type information and described in application process of the present invention association starting method Package informatin is called, processing function is started by service and launching process function answers at least one association of the application process The step of being started with process include:
Start permission according to the second of the associated application process the association, uses the service type 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 type 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 type 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 type information, service Package informatin and calling package informatin, wherein the service type information includes at least one similar service component information;
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 type information and the calling package informatin, extremely to the application process A few associated 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 type 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 obtaining all service component informations in the service type information;And described in use Service component information and the calling package informatin start processing function and launching process function to the application by service At least one associated application process of process is started.
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 type 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 type information and the calling package informatin by service Dynamic 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 starting module includes:
Prompt unit, for returning to the prompt information for forbidding associated application to start.
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, The batch association starting management that application process is carried out using corresponding function, realizes effective pipe of application processes association starting Reason;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 effectively managing.
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 type information and calls package informatin, at least one 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 finger of certain a kind of application process It enables, it can also be the process of another application which, which can be the process in activation 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 type (action) information, service package information and calling package informatin.Wherein service type information includes that at least one is same A kind of other service component information, service component information are the starting service parameter that the application process carries out process initiation calling, Such as start service name;Service package information is the progress information of application process;Calling package informatin is the application process being activated Progress information.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 calling of the application process obtained in step S102 Package informatin and service type information including respective service module information, the associated application process of application processes are opened It is dynamic.I.e. as application process has accordingly, association starts permission, then the associated application process of application processes is started;Such as answer Do not have corresponding association with process and 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, and the batch association starting management of application process is carried out using corresponding function, reduce using into The association of journey starts, and realizes effective management of application processes batch 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 type 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 type 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 finger of certain a kind of application process It enables, it can also be the process of another application which, which can be the process in activation 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 type (action) information, service package information and calling package informatin.Wherein service type information includes that at least one is same A kind of other service component information, service component information are the starting service parameter that the application process carries out process initiation calling, Such as start service name;Service package information is the progress information of application process;Calling package informatin is the application process being activated Progress information.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 according to including corresponding clothes The service type information for module information of being engaged in and the batch for calling package informatin to carry out application process start.
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 is obtained All service component informations in service type information are taken, then using the calling package informatin obtained in step S202 and accordingly Service component information, pass through service starting processing function (Bring Up Service Locked) and launching process function The associated application process of (Start Process Locked) application processes carries out batch starting.
Specifically, permission can be started according to the second of associated application process the association, service type 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, the batch association starting management of application process is carried out using corresponding function, while to different Normal associated application process is actuated for feedback and record, further improves the batch starting management of associated application process Validity.
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 type information and calls package informatin, at least one association of application processes Application process is 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 certain a kind of application process is activated, which, which can be the process in activation application, to be another application Process.
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 class Not (action) information, service package information and calling package informatin.Wherein service type information includes at least one same category Service component information, service component information be the application process carry out process initiation calling starting service parameter, such as start Service name etc.;Service package information is the progress information of application process;Calling package informatin is the process for the application process being activated Information.
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, using application process data obtaining module 32 obtain application process calling package informatin and including phase The service type information of service component information is answered, the associated application process of application processes is started.I.e. as application process has There is corresponding association starting permission, then the associated application process of application processes is started;As application process does not have accordingly Association start permission, then the associated application process for being unable to application processes 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, and the batch association starting management of application process is carried out using corresponding function, reduce using into The association of journey starts, and realizes effective management of application processes batch 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 type information and calls package informatin, at least one association of application processes Application process is 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 type 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 type information and calling package informatin, processing function and launching process function are started to application by service At least one associated application process of process is started.Prompt unit 63 is used to return the prompt letter for forbidding associated application to start Breath.
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 certain a kind of 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 class Not (action) information, service package information and calling package informatin.Wherein service type information includes at least one same category Service component information, service component information be the application process carry out process initiation calling starting service parameter, such as start Service name etc.;Service package information is the progress information of application process;Calling package informatin is the process for the application process being activated Information.
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 including phase The batch answered the service type information of service component information and package informatin is called to carry out application process starts.
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 the association start unit 62 for being associated with starting module 44 obtains clothes All service component informations in classification information of being engaged in, the calling package informatin then obtained using application process data obtaining module 42 And corresponding service component information, processing function (Bring Up Service Locked) is started by service and is started The associated application process of process function (Start Process Locked) application processes carries out batch starting.
Specifically, association start unit 62 can start permission according to the second of associated application process the association, service class is used Other 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, the batch association starting management of application process is carried out using corresponding function, while to different Normal associated application process is actuated for feedback and record, further improves the batch starting management of associated application process Validity.
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 type 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 all similar service component informations in starter acquisition service type information.
Five, application process is associated with starter using all service type information and calls package informatin, to application into Multiple associated application processes of journey are 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, and the batch association starting management of application process is carried out using corresponding function, is realized The effective management of application processes association starting;Solve existing application process association starting method and association starter The association for being unable to 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 (11)

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 type information, service package information and calls package informatin, wherein the clothes Classification information of being engaged in includes at least one similar service component information;
According to the service package information and the calling package informatin, judge whether the application process is associated application process Starting;
If the application process is associated the starting of application process, then judge whether the application process there is the first association to open Dynamic permission, the first association starting permission refer to whether the application process has permission and are associated opening for application process It is dynamic;
If there is the application process the first association to start permission, then all serviced components in the service type information are obtained Information, and use the service component information and the calling package informatin, by service start processing function and start into Eikonal number starts at least one 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.
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 class Other 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 to use the service type Information and the calling package informatin, by service start processing function and launching process function to the application process extremely Lacking a step of associated application process is started includes:
Start permission according to the second of the associated application process the association, is wrapped using the service type 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.
4. application process according to claim 3 is associated with starting method, which is characterized in that the second association starting permission It is being locally stored or strange land cloud storage.
5. application process according to claim 1 is associated with starting method, which is characterized in that described to use the service type 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 type 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.
6. 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 type information, services package letter Breath and calling package informatin, wherein the service type information includes at least one similar service component information;
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;
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 start permission, using the service type information and the calling package informatin, at least the one of the application process A associated application process is started;
The association starting module includes: permission judging unit, for judging whether the application process there is the first association to open Dynamic permission, the first association starting permission refer to whether the application process has permission and are associated opening for application process It is dynamic;And
It is associated with start unit, for such as the application process there is the first association to start permission, then obtain the service type letter All service component informations in breath, and the service component information and the calling package informatin are used, started by service Processing function and launching process function start at least one associated application process of the application process, such as described to answer Do not have the first association with process and start permission, then the associated application of the application process is not started.
7. application process according to claim 6 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 type 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.
8. application process according to claim 6 is associated with starter, which is characterized in that the association start unit is specific For starting permission according to the second of the associated application process the association, wrapped using the service type 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.
9. application process according to claim 8 is associated with starter, which is characterized in that the second association starting permission It is being locally stored or strange land cloud storage.
10. application process according to claim 6 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 type information and calling packet letter Breath starts processing function by service and launching process function starts the associated application process of the application process.
11. a kind of storage medium, is stored with computer program, which is characterized in that the computer program is executed by processor Shi Shixian the method as described in claim 1.
CN201511030618.3A 2015-12-30 2015-12-30 Application process is associated with starting method and association starter Expired - Fee Related CN105700942B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201511030618.3A CN105700942B (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
CN201511030618.3A CN105700942B (en) 2015-12-30 2015-12-30 Application process is associated with starting method and association starter

Publications (2)

Publication Number Publication Date
CN105700942A CN105700942A (en) 2016-06-22
CN105700942B true CN105700942B (en) 2019-08-06

Family

ID=56225998

Family Applications (1)

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

Country Status (1)

Country Link
CN (1) CN105700942B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107220077B (en) 2016-10-20 2019-03-19 华为技术有限公司 Using the management-control method and management and control devices of starting
CN107066289A (en) * 2017-01-23 2017-08-18 努比亚技术有限公司 A kind of method, device and mobile terminal for starting application according to associating policy
CN110580179A (en) * 2018-05-21 2019-12-17 中国移动通信有限公司研究院 information processing method and device, electronic device and storage medium
CN108363593B (en) * 2018-05-21 2020-01-21 Oppo广东移动通信有限公司 Application program preloading method and device, storage medium and terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN105700942A (en) 2016-06-22

Similar Documents

Publication Publication Date Title
CN105446811B (en) Application process is associated with starting method and association starter
CN105700942B (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
CN105426244B (en) Application process management method and application process managing device
CN105677533B (en) Application process monitoring method and application process monitoring device
CN107203419A (en) Intermodule call method, apparatus and system in application program
CN112200585B (en) Service processing method, device, equipment and system
CN111899008B (en) Resource transfer method, device, equipment and system
CN102831344A (en) Course handling method and device
CN110738473A (en) Wind control method, system, device and equipment
CN111353176A (en) Method and system for inquiring block chain data
CN111552945A (en) Resource processing method, device and equipment
CN105653339B (en) Application process starts method and application process starter
CN105653364B (en) Application process management method and application process managing device
CN110019444A (en) A kind of operation requests processing method, device, equipment and system
CN110619204A (en) Invitation code generation method and device, terminal equipment and storage medium
CN105700916B (en) Application process starts method and application process starter
CN105677401B (en) Application process starts method and application process starter
CN105677400B (en) Application process starts method and application process starter
CN103077078A (en) Method of defining state transitions in a software and application control management object
CN108959879A (en) Data capture method, device, electronic equipment and the server of application program
EP3543882B1 (en) Method and system for identifying original data by using data order
CN110377272B (en) Method and device for realizing SDK based on TBOX
CN109918147B (en) Expansion method and device for drive under OpenStack and electronic equipment
CN113673844A (en) Information feedback method, device and equipment

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

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.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190806

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