CN107168727A - A kind of program process starts method and device - Google Patents
A kind of program process starts method and device Download PDFInfo
- Publication number
- CN107168727A CN107168727A CN201710209050.4A CN201710209050A CN107168727A CN 107168727 A CN107168727 A CN 107168727A CN 201710209050 A CN201710209050 A CN 201710209050A CN 107168727 A CN107168727 A CN 107168727A
- Authority
- CN
- China
- Prior art keywords
- application program
- notification message
- service processes
- terminal
- operating system
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/546—Message passing systems or structures, e.g. queues
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention discloses a kind of application program service process initiation method, the terminal for including at least two application programs, including:The operating system of terminal receives the first notification message that the first application program is sent;The first notification message received is matched with all notification messages prestored, it is determined that the service processes of the second application program corresponding with the first notification message notification message that the match is successful;Start the service processes of the second application program determined.The invention also discloses a kind of application program service process initiation device.
Description
Technical field
The present invention relates to the management of process in terminal and start-up technique, especially a kind of program process start method and
Device.
Background technology
In the prior art, the operating system of terminal is when managing program process, it will usually close application program rear
The service processes of platform operation, to avoid the application program service process of operation excessive, cause the interim card of operating system.But, when
After the service processes of some application programs are closed, the new information that user receives application program may be impacted, very
To cause user can not receive application program prompting information, influence user usage experience.
The content of the invention
In view of this, the embodiment of the present invention expects that providing a kind of program process starts method and device, can avoid
Because the operating system of terminal closes application program service process, the problem of user can not receive application program new information is caused.
To reach above-mentioned purpose, what the technical scheme of the embodiment of the present invention was realized in:
The embodiments of the invention provide a kind of application program service process initiation method, for applying journey including at least two
The terminal of sequence, including:
The operating system of terminal receives the first notification message that the first application program is sent;
All notification messages by first notification message received with prestoring are matched, it is determined that with described first
The service processes of corresponding second application program of the notification message notification message that the match is successful;
Start the service processes of second application program determined.
In such scheme, to the operation system of terminal during operating system reception first application program launching of the terminal
Unite before the first notification message sent, methods described also includes:
The operating system of the terminal receives and preserved the incidence relation information that first application program is sent;
The incidence relation information represent the service processes of first application program by a notification message with least
The incidence relation that one application program is set up;
The service processes and notification message are created by first application program.
In such scheme, before the service processes for starting second application program determined, methods described is also wrapped
Include:
The operating system of the terminal checks the running environment of second application program, is reached in the running environment pre-
If it is required that when, the service processes for second application program that the os starting of the terminal is determined.
In such scheme, methods described also includes:
Receive the second notification message of at least one application program transmission;
Start the service processes of the corresponding application program of the second notification message according to the second notification message;
The second notification message is being reached clocking requirement and/or is being reached preparatory condition by least one described application program
When send.
In such scheme, the operating system of the terminal receives the second notification message, including at least one:
The operating system of the terminal receives the second notification message that first application program is sent;
The operating system of the terminal receives the second notification message that second application program is sent.
In such scheme, the operating system of the terminal starts the second notification message correspondence according to second notification message
Application program service processes, including at least one:
The operating system of terminal starts according to the second notification message sent by first application program of reception
The service processes of first application program;
The operating system of terminal starts according to the second notification message sent by first application program of reception
The service processes of second application program;
The operating system of terminal starts according to the second notification message sent by second application program of reception
The service processes of first application program;
The operating system of terminal starts according to the second notification message sent by second application program of reception
The service processes of second application program.
Present invention also offers a kind of application program service process initiation device, applied to including at least two application programs
Terminal, including:
Messaging interface, matching module, service processes starting module, wherein,
The messaging interface, notifies to disappear for receiving the first application program to the operating system transmission first of terminal
Breath;
A matching module, for first notification message received and all notification messages for prestoring to be carried out
Match somebody with somebody, it is determined that the service processes of the second application program corresponding with the first notification message notification message that the match is successful;
The service processes starting module, the service processes for starting second application program determined.
In such scheme, described device also includes:
Annexation preserving module, sends to the incidence relation of the operating system of the terminal for preserving;
The messaging interface is additionally operable to:Receive and preserve the incidence relation information that first application program is sent;
The incidence relation information represent the service processes of first application program by a notification message with least
The incidence relation that one application program is set up;
The service processes and notification message are created by first application program.
In such scheme, described device also includes:
Monitoring modular, the running environment for checking second application program reaches default want in the running environment
When asking, the service processes starting module is notified to start the service processes of second application program determined.
In such scheme,
The messaging interface, is additionally operable to receive the second notification message that at least one application program is sent;
The service processes starting module, is additionally operable to realize the operating system of the terminal according to the second notification message
Start the service processes of the corresponding application program of the second notification message;
The second notification message is being reached clocking requirement and/or is being reached preparatory condition by least one described application program
When send.
In such scheme, the messaging interface is additionally operable to receive the second notice that at least one application program is sent
Message, including at least one:
The messaging interface receives the second notification message that first application program is sent;
The messaging interface receives the second notification message that second application program is sent.
In such scheme, the service processes starting module is additionally operable to realize the operating system of the terminal according to described
Second notification message starts the service processes of the corresponding application program of the second notification message, including at least one:
The service processes starting module, realizes that the operating system of the terminal applies journey according to reception by described first
The second notification message that sequence is sent, starts the service processes of first application program;
The service processes starting module, realizes that the operating system of the terminal applies journey according to reception by described first
The second notification message that sequence is sent, starts the service processes of second application program;
The service processes starting module, realizes that the operating system of the terminal applies journey according to reception by described second
The second notification message that sequence is sent, starts the service processes of first application program;
The service processes starting module, realizes that the operating system of the terminal applies journey according to reception by described second
The second notification message that sequence is sent, starts the service processes of second application program.
Due to the service processes of the closing application program of the operating system meeting not timing of terminal, therefore, using of the invention real
The application program service process initiation method and device that example is provided is applied, in the first application program launching, first application
Program sends the first notification message to the operating system of terminal;The operating system of the terminal according to first notification message,
Start the service processes of corresponding second application program of first notification message.So, it is to avoid due to the operating system of terminal
Application program service process is closed, causes user can not receive the situation of new information of application program.
Brief description of the drawings
Fig. 1 is the embodiment implementation process schematic diagram of application program service process initiation method of the present invention;
Fig. 2 is the composition structural representation of application program service process initiation device of the present invention;
Fig. 3 is the implementation process schematic diagram of the embodiment one of application program service process initiation method of the present invention;
Fig. 4 is the implementation process schematic diagram of the embodiment two of application program service process initiation method of the present invention;
Fig. 5 is the implementation process schematic diagram of the embodiment three of application program service process initiation method of the present invention;
Fig. 6 is the implementation process schematic diagram of the example IV of application program service process initiation method of the present invention.
Embodiment
The characteristics of in order to more fully hereinafter understand the embodiment of the present invention and technology contents, below in conjunction with the accompanying drawings to this hair
The realization of bright embodiment is described in detail, appended accompanying drawing purposes of discussion only for reference, not for limiting the present invention.
The embodiment of the present invention record in, it is necessary to explanation, unless otherwise indicated and limit, need institute of the embodiment of the present invention
Be related to term " first the second " be only be the similar object of difference, the particular sorted for object is not represented, it is possible to understand that
Ground, " first the second " specific order or precedence can be exchanged in the case of permission.It should be appreciated that " first the second "
The object of differentiation can be exchanged in the appropriate case, so that embodiments of the invention described herein can be with except scheming herein
Show or describe those beyond order implement.
Before the present invention will be described in further detail, the noun and term being related in the embodiment of the present invention are said
Bright, the noun and term being related in the embodiment of the present invention are applied to following explanation.
Application program, runs in terminal, can realize the software of customer objective;
Notification message, including but not limited to the first notification message, second notification message, for behaviour from application program to terminal
Make system and send the character string with configured information;
Service processes, are created under the application program, and the son of specific purpose can be realized for the application program
The service processes of the second application program in program, the embodiment of the present invention, include but is not limited to that following purpose can be realized:
When the service processes of second application program start, the host process of second application program can be started, be
First application program provides the user interface (UI, User Interface) of second application program;
When the service processes of second application program start, the data of second application program can be initialized;
The service processes of second application program can provide Push Service.
Fig. 1 is the embodiment implementation process schematic diagram of application program service process initiation method of the present invention, as shown in figure 1,
Terminal includes two application programs, respectively the first application program and the second application program, and application program service of the present invention is entered
The implementation process of Cheng Qidong methods comprises the following steps:
Step 101:The operating system of terminal receives the first notification message that the first application program is sent;
Step 102:All notification messages by first notification message received with prestoring are matched, it is determined that with
The service processes of corresponding second application program of the first notification message notification message that the match is successful;
Step 103:Start the service processes of second application program determined.
In practical application, before first application program launching, in addition it is also necessary to at least two application program difference
Create service processes;Notification message is respectively created at least two application program;Each described service processes is passed through
One notification message and at least one application program set up incidence relation, and by behaviour from the incidence relation to the terminal
Make system transmission;It is preferred that, it is that the first notification message of the first application program establishment and the service of second application program are entered
Cheng Jianli incidence relations, when first application program launching, the first application program sends first to the operating system of terminal
Notification message, the operating system of terminal carries out first notification message received and all notification messages prestored
Match somebody with somebody, it is determined that the service processes of the second application program corresponding with the first notification message notification message that the match is successful;It is described
The operating system of terminal starts the service processes of second application program, further started according to first notification message
The host process of second application program, it is to avoid the operating system of terminal closes the service processes of second application program
Afterwards, the second application program can not receive information in time, it is preferred that the operating system of the terminal checks second application program
Running environment, when the running environment reaches preset requirement, the os starting of the terminal determine described second
The service processes of application program, in this way, can avoid causing terminal to transport due to starting the service processes of second application program
Capable interim card, the running environment reaches that preset requirement includes but is not limited to:The terminal central processing unit (CPU,
Central Processing Unit) service efficiency is no more than 70% and/or the memory usage of the terminal is no more than
80%.
Due to terminal it is generally necessary to which long-play, the operating system of existing terminal would generally be closed within a period of time
The service processes of some application programs, with ensure terminal operating system will not because process is more and Caton phenomenon occurs, because
This can also be that at least one application program having been started up creates timing transmission times after first application program launching
Business;After the interval time that the timing sends task defined reaches, send second to the operating system of the terminal and notify
Message;The operating system of terminal starts the clothes of the corresponding application program of the second notification message according to the second notification message
Business process;
Meanwhile, can also be that at least one application program having been started up is created after first application program launching
Condition sends task, when meeting preset condition, and second notification message is sent to the operating system of the terminal;The behaviour of terminal
Make the service processes that system starts the corresponding application program of the second notification message according to the second notification message, it is preset
Condition includes but is not limited to:The lower limit of the CPU frequency of use of the terminal.
Specifically, described after the interval time that timing sends task defined reaches, the operating system of the terminal connects
Receive the second notification message of at least one application program transmission, including at least one:
The operating system of the terminal receives the second notification message that first application program is sent;
The operating system of the terminal receives the second notification message that second application program is sent.
The operating system of the terminal starts the corresponding application program of the second notification message according to second notification message
Service processes, including at least one:
The operating system of terminal starts according to the second notification message sent by first application program of reception
The service processes of first application program;
The operating system of terminal starts according to the second notification message sent by first application program of reception
The service processes of second application program;
The operating system of terminal starts according to the second notification message sent by second application program of reception
The service processes of first application program;
The operating system of terminal starts according to the second notification message sent by second application program of reception
The service processes of second application program.
Fig. 2 is the composition structural representation of application program service process initiation device of the present invention, as shown in Fig. 2 of the invention
The composition structure of application program service process initiation device includes:
Messaging interface 201, matching module 202, service processes starting module 203, wherein,
The messaging interface 201, is notified for receiving the first application program to the operating system transmission first of terminal
Message;
The matching module 202, enters for all notification messages by first notification message received with prestoring
Row matching, it is determined that the service processes of the second application program corresponding with the first notification message notification message that the match is successful;
The service processes starting module 203, the service processes for starting second application program determined.
In practical application, described device also includes:
Annexation preserving module, sends to the incidence relation of the operating system of the terminal for preserving;
The messaging interface 201 is additionally operable to:Receive and preserve the incidence relation letter that first application program is sent
Breath;
The incidence relation information represent the service processes of first application program by a notification message with least
The incidence relation that one application program is set up;
The service processes and notification message are created by first application program.
Monitoring modular, the running environment for checking second application program reaches default want in the running environment
When asking, the service processes starting module 203 is notified to start the service processes of second application program determined.
Due to terminal it is generally necessary to which long-play, the operating system of existing terminal would generally be closed within a period of time
The service processes of some application programs, with ensure terminal operating system will not because process is more and Caton phenomenon occurs, because
This, the messaging interface 201 is additionally operable to receive the second notification message that at least one application program is sent;
The service processes starting module 203, is additionally operable to realize that the operating system of the terminal is notified according to described second
The service processes of the corresponding application program of the message initiated second notification message;
The second notification message is being reached clocking requirement and/or is being reached preparatory condition by least one described application program
When send.
The service processes starting module, is additionally operable to realize the operating system of the terminal according to the second notification message
Start the service processes of application program, specifically include:
The messaging interface 201, is additionally operable to receive the second notification message that at least one application program is sent, including
At least one:
The messaging interface 201 receives the second notification message that first application program is sent;
The messaging interface 201 receives the second notification message that second application program is sent.
The service processes starting module 203, is additionally operable to realize that the operating system of the terminal is notified according to described second
The service processes of the corresponding application program of message initiated second notification message, including at least one:
The service processes starting module 203, realizes that the operating system of the terminal should by described first according to reception
The second notification message sent with program, starts the service processes of first application program;
The service processes starting module 203, realizes that the operating system of the terminal should by described first according to reception
The second notification message sent with program, starts the service processes of second application program;
The service processes starting module 203, realizes that the operating system of the terminal should by described second according to reception
The second notification message sent with program, starts the service processes of first application program;
The service processes starting module 203, realizes that the operating system of the terminal should by described second according to reception
The second notification message sent with program, starts the service processes of second application program.
In actual applications, the messaging interface 201, matching module 202, service processes starting module 203
By the CPU in terminal, microprocessor (MPU, Micro Processor Unit), digital signal processor (DSP,
Digital Signal Processor) or field programmable gate array (FPGA, Field Programmable Gate
) etc. Array realize.
Fig. 3 is the implementation process schematic diagram of the embodiment one of application program service process initiation method of the present invention, such as Fig. 3 institutes
Show, in the embodiment one of application program service process initiation method of the present invention, terminal at least includes two application programs, is respectively
First application program and the second application program,, can be with after first application program launching by the method shown in embodiment one
The service processes of second application program are started by the first notification message of first application program, can also be certain
The service processes of first application program are started by the second notification message of first application program in period, implemented
Application program service process initiation method comprises the following steps in example one:
Step 301:Service processes are respectively created for the first application program, the second application program;
Step 302:The first notification message and second notification message are created for the first application program;Journey is applied for described second
Sequence sequence creates the first notification message and second notification message;
Step 303:First application program is passed through into the first notification message of first application program and described the
The service processes of two application programs set up incidence relation;Meanwhile, first application program is passed through into first application program
The service processes of second notification message and first application program set up incidence relation;
Step 304:The incidence relation set up is sent to the operating system of the terminal;
Step 305:During the first application program launching, first application program sends first to the operating system of terminal and led to
Know message;
Step 306:The operating system of the terminal starts first notification message pair according to first notification message
The service processes for the second application program answered;
Step 307:Timing transmission task is created for first application program that has been started up, and starts clocking information;
Step 308:It is described when the clocking information reaches that the timing sends the interval time arrival of task defined
First application program sends second notification message to the operating system of the terminal;It is preferred that, the timing sends task and advised
Fixed interval time is 8 hours;
Step 309:The second notification message that the operating system of terminal is sent according to first application program starts
The service processes of first application program.
In practical application, first application program that step 307 can also be to have been started up, which creates condition and sent, appoints
Business, corresponding, step 308 can also meet the condition to send when imposing a condition of task, to the operation system of the terminal
System sends second notification message;Set condition include but is not limited to be the CPU frequency of use of the terminal lower limit.
Fig. 4 is the implementation process schematic diagram of the embodiment two of application program service process initiation method of the present invention, such as Fig. 4 institutes
Show, in the embodiment two of application program service process initiation method of the present invention, terminal at least includes two application programs, is respectively
First application program and the second application program,, can be with after first application program launching by the method shown in embodiment one
The service processes of second application program are started by the first notification message of first application program, can also be certain
The service processes of second application program are started by the second notification message of first application program in period, implemented
Application program service process initiation method comprises the following steps in example two:
Step 401:Service processes are respectively created for the first application program, the second application program;
Step 402:The first notification message and second notification message are created for the first application program;Journey is applied for described second
Sequence sequence creates the first notification message and second notification message;
Step 403:First application program is passed through into the first notification message of first application program and described the
The service processes of two application programs set up incidence relation;Meanwhile, first application program is passed through into first application program
The service processes of second notification message and second application program set up incidence relation;
Step 404:The incidence relation set up is sent to the operating system of the terminal;
Step 405:During the first application program launching, first application program sends first to the operating system of terminal and led to
Know message;
Step 406:The operating system of the terminal starts first notification message pair according to first notification message
The service processes for the second application program answered;
Step 407:Timing transmission task is created for first application program that has been started up, and starts clocking information;
Step 408:It is described after the clocking information reaches that the timing sends the interval time arrival of task defined
First application program sends second notification message to the operating system of the terminal;It is preferred that, the timing sends task and advised
Fixed interval time is 8 hours;
Step 409:The second notification message that the operating system of terminal is sent according to first application program starts
The service processes of second application program.
In practical application, first application program that step 407 can also be to have been started up, which creates condition and sent, appoints
Business, corresponding, step 408 can also meet the condition to send when imposing a condition of task, to the operation system of the terminal
System sends second notification message;Set condition include but is not limited to be the CPU frequency of use of the terminal lower limit.
Fig. 5 is the implementation process schematic diagram of the embodiment three of application program service process initiation method of the present invention, such as Fig. 5 institutes
Show, in the embodiment three of application program service process initiation method of the present invention, terminal at least includes two application programs, is respectively
First application program and the second application program,, can be with after first application program launching by the method shown in embodiment one
The service processes of second application program are started by the first notification message of first application program, can also be certain
The service processes of first application program are started by the second notification message of second application program in period, implemented
Application program service process initiation method comprises the following steps in example three:
Step 501:Service processes are respectively created for the first application program, the second application program;
Step 502:The first notification message and second notification message are created for the first application program;Journey is applied for described second
Sequence sequence creates the first notification message and second notification message;
Step 503:First application program is passed through into the first notification message of first application program and described the
The service processes of two application programs set up incidence relation;Meanwhile, second application program is passed through into second application program
The service processes of second notification message and first application program set up incidence relation;
Step 504:The incidence relation set up is sent to the operating system of the terminal;
Step 505:During the first application program launching, first application program sends first to the operating system of terminal and led to
Know message;
Step 506:The operating system of the terminal starts first notification message pair according to first notification message
The service processes for the second application program answered;
Step 507:Timing transmission task is created for second application program that has been started up, and starts clocking information;
Step 508:It is described after the clocking information reaches that the timing sends the interval time arrival of task defined
Second application program sends second notification message to the operating system of the terminal;It is preferred that, the timing sends task and advised
Fixed interval time is 8 hours;
Step 509:The second notification message that the operating system of terminal is sent according to second application program starts
The service processes of first application program.
In practical application, first application program that step 507 can also be to have been started up, which creates condition and sent, appoints
Business, corresponding, step 508 can also meet the condition to send when imposing a condition of task, to the operation system of the terminal
System sends second notification message;Set condition include but is not limited to be the CPU frequency of use of the terminal lower limit.
Fig. 6 is the implementation process schematic diagram of the example IV of application program service process initiation method of the present invention, such as Fig. 6 institutes
Show, in the example IV of application program service process initiation method of the present invention, terminal at least includes two application programs, is respectively
First application program and the second application program,, can be with after first application program launching by the method shown in embodiment one
The service processes of second application program are started by the first notification message of first application program, can also be certain
The service processes of second application program are started by the second notification message of second application program in period, implemented
Application program service process initiation method comprises the following steps in example four:
Step 601:Service processes are respectively created for the first application program, the second application program;
Step 602:The first notification message and second notification message are created for the first application program;Journey is applied for described second
Sequence sequence creates the first notification message and second notification message;
Step 603:First application program is passed through into the first notification message of first application program and described the
The service processes of two application programs set up incidence relation;Meanwhile, second application program is passed through into second application program
The service processes of second notification message and second application program set up incidence relation;
Step 604:The incidence relation set up is sent to the operating system of the terminal;
Step 605:During the first application program launching, first application program sends first to the operating system of terminal and led to
Know message;
Step 606:The operating system of the terminal starts first notification message pair according to first notification message
The service processes for the second application program answered;
Step 607:Timing transmission task is created for second application program that has been started up, and starts clocking information;
Step 608:It is described after the clocking information reaches that the timing sends the interval time arrival of task defined
Second application program sends second notification message to the operating system of the terminal;It is preferred that, the timing sends task and advised
Fixed interval time is 8 hours;
Step 609:The second notification message that the operating system of terminal is sent according to second application program starts
The service processes of second application program.
In practical application, first application program that step 607 can also be to have been started up, which creates condition and sent, appoints
Business, corresponding, step 608 can also meet the condition to send when imposing a condition of task, to the operation system of the terminal
System sends second notification message;Set condition include but is not limited to be the CPU frequency of use of the terminal lower limit.
It should be understood by those skilled in the art that, the embodiment of the present invention can be provided as method, system or computer program production
Product.Therefore, the embodiment of the present invention can be using the embodiment in terms of hardware embodiment, software implementation or combination software and hardware
Form.Moreover, the embodiment of the present invention can be used in one or more calculating for wherein including computer usable program code
The computer program product that machine usable storage medium is implemented on (including but is not limited to magnetic disk storage and optical memory etc.)
Form.
The embodiment of the present invention is with reference to method according to embodiments of the present invention, equipment (system) and computer program product
Flow chart and/or block diagram describe.It should be understood that can be in computer program instructions implementation process figure and/or block diagram
Each flow and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These calculating can be provided
Processing of the machine programmed instruction to all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices
Device is to produce a machine so that the instruction for passing through computer or the computing device of other programmable data processing devices is produced
For realizing the function of being specified in one flow of flow chart or multiple flows and/or one square frame of block diagram or multiple square frames
Device.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which is produced, to be included referring to
Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or
The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that in meter
Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, thus in computer or
The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in individual square frame or multiple square frames.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the scope of the present invention, it is all
Any modifications, equivalent substitutions and improvements made within the spirit and principles in the present invention etc., should be included in the protection of the present invention
Within the scope of.
Claims (12)
1. a kind of application program service process initiation method, the terminal for including at least two application programs, it is characterised in that
Methods described includes:
The operating system of terminal receives the first notification message that the first application program is sent;
All notification messages by first notification message received with prestoring are matched, it is determined that being notified with described first
The service processes of corresponding second application program of the successful notification message of match messages;
Start the service processes of second application program determined.
2. according to the method described in claim 1, it is characterised in that the operating system of the terminal receives described first and applies journey
Sequence start when to terminal operating system send the first notification message before, methods described also includes:
The operating system of the terminal receives and preserved the incidence relation information that first application program is sent;
The incidence relation information represents that the service processes of first application program pass through a notification message and at least one
The incidence relation that application program is set up;
The service processes and notification message are created by first application program.
3. according to the method described in claim 1, it is characterised in that the service for starting second application program determined
Before process, methods described also includes:
The operating system of the terminal checks the running environment of second application program, and default want is reached in the running environment
When asking, the service processes of second application program of the os starting determination of the terminal.
4. according to the method described in claim 1, it is characterised in that methods described also includes:
Receive the second notification message of at least one application program transmission;
Start the service processes of the corresponding application program of the second notification message according to the second notification message;
The second notification message is sent out by least one described application program when reaching clocking requirement and/or reaching preparatory condition
Send.
5. method according to claim 4, it is characterised in that the operating system of the terminal receives described second and notifies to disappear
Breath, including at least one:
The operating system of the terminal receives the second notification message that first application program is sent;
The operating system of the terminal receives the second notification message that second application program is sent.
6. method according to claim 4, it is characterised in that the operating system of the terminal is opened according to second notification message
Move the service processes of the corresponding application program of the second notification message, including at least one:
The operating system of terminal is according to starting the second notification message sent by first application program of reception
The service processes of first application program;
The operating system of terminal is according to starting the second notification message sent by first application program of reception
The service processes of second application program;
The operating system of terminal is according to starting the second notification message sent by second application program of reception
The service processes of first application program;
The operating system of terminal is according to starting the second notification message sent by second application program of reception
The service processes of second application program.
7. a kind of application program service process initiation device, applied to the terminal of at least two application programs is included, its feature exists
In described device includes:
Messaging interface, matching module, service processes starting module, wherein,
The messaging interface, for receiving operating system transmission first notification message of first application program to terminal;
The matching module, is matched for all notification messages by first notification message received with prestoring,
It is determined that the service processes of the second application program corresponding with the first notification message notification message that the match is successful;
The service processes starting module, the service processes for starting second application program determined.
8. device according to claim 7, it is characterised in that described device also includes:
Annexation preserving module, sends to the incidence relation of the operating system of the terminal for preserving;
The messaging interface is additionally operable to:Receive and preserve the incidence relation information that first application program is sent;
The incidence relation information represents that the service processes of first application program pass through a notification message and at least one
The incidence relation that application program is set up;
The service processes and notification message are created by first application program.
9. device according to claim 7, it is characterised in that described device also includes:
Monitoring modular, the running environment for checking second application program, when the running environment reaches preset requirement,
The service processes starting module is notified to start the service processes of second application program determined.
10. device according to claim 7, it is characterised in that
The messaging interface, is additionally operable to receive the second notification message that at least one application program is sent;
The service processes starting module, is additionally operable to realize that the operating system of the terminal starts according to the second notification message
The service processes of the corresponding application program of the second notification message;
The second notification message is sent out by least one described application program when reaching clocking requirement and/or reaching preparatory condition
Send.
11. device according to claim 7, it is characterised in that the messaging interface, is additionally operable to receive at least one
The second notification message that application program is sent, including at least one:
The messaging interface receives the second notification message that first application program is sent;
The messaging interface receives the second notification message that second application program is sent.
12. device according to claim 7, it is characterised in that the service processes starting module, is additionally operable to realization described
The operating system of terminal starts the service processes of the corresponding application program of second notification message according to second notification message, including extremely
Few one below:
The service processes starting module, realizes that the operating system of the terminal is sent out according to reception by first application program
The second notification message sent, starts the service processes of first application program;
The service processes starting module, realizes that the operating system of the terminal is sent out according to reception by first application program
The second notification message sent, starts the service processes of second application program;
The service processes starting module, realizes that the operating system of the terminal is sent out according to reception by second application program
The second notification message sent, starts the service processes of first application program;
The service processes starting module, realizes that the operating system of the terminal is sent out according to reception by second application program
The second notification message sent, starts the service processes of second application program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710209050.4A CN107168727A (en) | 2017-03-31 | 2017-03-31 | A kind of program process starts method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710209050.4A CN107168727A (en) | 2017-03-31 | 2017-03-31 | A kind of program process starts method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107168727A true CN107168727A (en) | 2017-09-15 |
Family
ID=59849532
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710209050.4A Pending CN107168727A (en) | 2017-03-31 | 2017-03-31 | A kind of program process starts method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107168727A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019223578A1 (en) * | 2018-05-21 | 2019-11-28 | Oppo广东移动通信有限公司 | Application program preloading method and apparatus, and storage medium and terminal |
-
2017
- 2017-03-31 CN CN201710209050.4A patent/CN107168727A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019223578A1 (en) * | 2018-05-21 | 2019-11-28 | Oppo广东移动通信有限公司 | Application program preloading method and apparatus, and storage medium and terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105701423B (en) | Date storage method and device applied to high in the clouds payment transaction | |
CN104580451B (en) | Realize the method and system and electronic equipment of multi-platform account synchronization | |
TWI496023B (en) | Software modification for partial secure memory processing | |
CN106503589A (en) | The method of calibration of block chain Transaction Information correctness, apparatus and system | |
CN108062221A (en) | Processing method, device, storage medium and the processor of Software Development Kit | |
CN110177154A (en) | A kind of file interaction processing method, apparatus and system | |
CN112767135B (en) | Configuration method and device of rule engine, storage medium and computer equipment | |
CN110414246B (en) | Shared file security management method, device, terminal and storage medium | |
CN109214171A (en) | A kind of detection method of software, device, equipment and medium | |
CN105630855B (en) | File sharing method, shared file system and terminal | |
CN111259382A (en) | Malicious behavior identification method, device and system and storage medium | |
CN111464513A (en) | Data detection method, device, server and storage medium | |
CN109218370A (en) | Message method and device, electronic equipment | |
CN107168727A (en) | A kind of program process starts method and device | |
CN109522683B (en) | Software tracing method, system, computer equipment and storage medium | |
CN110020531A (en) | Internet of things equipment risk checking method and device | |
CN108198305A (en) | Airport quick security check method, readable storage medium storing program for executing and quick security check platform | |
CN111090887A (en) | Conversation content destroying method and device based on instant chat tool | |
CN111181905A (en) | File encryption method and device | |
CN104715046A (en) | Method and system for inputting information | |
CN105592033B (en) | trusted service management system and method | |
CN106874360A (en) | Basic data treating method and apparatus | |
CN109726548A (en) | Processing method, server, system and the storage medium of application behavior | |
CN108287986A (en) | A kind of permission is instantaneously authorized and Repossession method and device | |
CN106203070A (en) | Drive loading prevention method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170915 |
|
RJ01 | Rejection of invention patent application after publication |