CN105426244B - Application process management method and application process managing device - Google Patents

Application process management method and application process managing device Download PDF

Info

Publication number
CN105426244B
CN105426244B CN201511033464.3A CN201511033464A CN105426244B CN 105426244 B CN105426244 B CN 105426244B CN 201511033464 A CN201511033464 A CN 201511033464A CN 105426244 B CN105426244 B CN 105426244B
Authority
CN
China
Prior art keywords
switching
foreground
application process
handover
background
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201511033464.3A
Other languages
Chinese (zh)
Other versions
CN105426244A (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 CN201511033464.3A priority Critical patent/CN105426244B/en
Publication of CN105426244A publication Critical patent/CN105426244A/en
Application granted granted Critical
Publication of CN105426244B publication Critical patent/CN105426244B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/48Indexing scheme relating to G06F9/48
    • G06F2209/485Resource constraint

Abstract

The present invention provides a kind of application process management method comprising receives application process switching command;By the handover process function in starting management service, obtains the foreground handover information of the corresponding switching foreground process of application process switching command and switch the backstage handover information of background process;And according to foreground handover information, foreground handover operation is carried out to switching foreground process;According to backstage handover information, backstage handover operation is carried out to switching background process.The present invention also provides a kind of application process managing devices, application process management method and application process managing device of the invention carries out the foreground handover operation and backstage handover operation of process according to the foreground handover information and backstage handover information of process, so as to avoid application process it is frequent closing and unlatching, improve user using efficiency and the resource utilization of system.

Description

Application process management method and application process managing device
Technical field
The present invention relates to application process control fields, more particularly to a kind of application process management method and application process pipe Manage device.
Background technique
In the prior art, some application can be by calling or showing visualization interface (activity), non-visual The running background service (service) of change or data set provider (Content Provider) for providing data service, it is real The process initiation of itself existing application or other application.
Since in synchronization, intelligent terminal may have multiple application processes in operation, but answering in front stage operation There can only be one with process, if intelligent terminal frequently carries out the cleaning of background application process for the optimization of system resource, May cause user can not carry out the handover operation of front and back to background application, can only directly carry out the foreground initiation of application process Operation.Such as the cleaning of intelligent terminal frequent progress application process and the starting of application process, then answering for user can be largely effected on With service efficiency and the resource utilization of influence system.
Summary of the invention
The embodiment of the present invention provide it is a kind of can be improved user using the resource utilization of efficiency and system Application process management method and application process managing device;To solve existing application process management method and application process management The user of device using the technical problem that efficiency is lower and the resource utilization of system is lower.
The embodiment of the present invention provides a kind of application process management method comprising:
Receive application process switching command;
By the handover process function in starting management service, before obtaining the corresponding switching of the application process switching command The foreground handover information of platform process and the backstage handover information for switching background process;And
According to the foreground handover information, foreground handover operation is carried out to the switching foreground process;According to the backstage Handover information carries out backstage handover operation to the switching background process.
In application process management method of the present invention, the foreground handover information includes the switching foreground process User identifier, application process identifier and switching foreground broadcast message, the backstage handover information includes the switching User identifier, application process identifier and the switching backstage broadcast message of background process.
It is described according to the foreground handover information in application process management method of the present invention, to the switching Foreground process carries out foreground handover operation;According to the backstage handover information, backstage switching is carried out to the switching background process The step of operation specifically:
According to the user identifier and application process identifier of the switching foreground process, to the switching foreground process Foreground handover operation is carried out, and according to the switching foreground broadcast message of the switching foreground process, to the switching foreground process Corresponding functional module carries out foreground function switch;According to the user identifier and application process mark of the switching background process Know symbol, backstage handover operation is carried out to the switching background process, and broadcast according to the switching backstage of the switching background process Information carries out background function switching to the corresponding functional module of the switching background process.
In application process management method of the present invention, switching foreground broadcast message includes foreground function mould Formula, the handoff functionality module information for carrying out foreground function switch and the informing function module information for carrying out foreground function notice; And
The switching backstage broadcast message includes background function mode, the handoff functionality module letter for carrying out background function switching Breath and the informing function module information for carrying out background function notice.
It is described by being switched into eikonal in starting management service in application process management method of the present invention Number obtains the foreground handover information of the corresponding switching foreground process of the application process switching command and switches background process The step of backstage handover information, specifically includes:
Judge whether the switching foreground process and the switching background process are same application process;
If the switching foreground process and the switching background process are same application process, then stop the application process Foreground handover operation and backstage handover operation;
If the switching foreground process and the switching background process are not same application processes, then obtain it is described apply into The foreground handover information of the corresponding switching foreground process of journey switching command and the backstage handover information for switching background process.
The embodiment of the present invention also provides a kind of application process managing device comprising:
Command reception module, for receiving application process switching command;
Handover information obtain module, for by starting management service in handover process function, obtain it is described apply into The foreground handover information of the corresponding switching foreground process of journey switching command and the backstage handover information for switching background process;And
Handover operation module, for carrying out foreground switching to the switching foreground process according to the foreground handover information Operation;According to the backstage handover information, backstage handover operation is carried out to the switching background process.
In application process managing device of the present invention, the foreground handover information includes the switching foreground process User identifier, application process identifier and switching foreground broadcast message, the backstage handover information includes the switching User identifier, application process identifier and the switching backstage broadcast message of background process.
In application process managing device of the present invention, the handover operation module is specifically used for according to the switching The user identifier and application process identifier of foreground process carry out foreground handover operation to the switching foreground process, and According to the switching foreground broadcast message of the switching foreground process, before being carried out to the corresponding functional module of the switching foreground process Platform function switch;According to the user identifier and application process identifier of the switching background process, to the switching backstage Process carries out backstage handover operation, and according to the switching backstage broadcast message of the switching background process, to the switching backstage The corresponding functional module of process carries out background function switching.
In application process managing device of the present invention, switching foreground broadcast message includes foreground function mould Formula, the handoff functionality module information for carrying out foreground function switch and the informing function module information for carrying out foreground function notice; And
The switching backstage broadcast message includes background function mode, the handoff functionality module letter for carrying out background function switching Breath and the informing function module information for carrying out background function notice.
In application process managing device of the present invention, the handover information obtains module and includes:
Process judging unit, for judging whether the switching foreground process and the switching background process are same application Process;
Switching terminates unit, is same application process for such as the switching foreground process and the switching background process, Then stop the foreground handover operation and backstage handover operation of the application process;And
Handover operation unit, for such as described switching foreground process and the switching background process be not same application into Journey then obtains the foreground handover information and switching background process of the corresponding switching foreground process of the application process switching command Backstage handover information.
Application process management method and application process managing device compared to the prior art, application process pipe of the invention Reason method and application process managing device carry out the foreground of process according to the foreground handover information and backstage handover information of process Handover operation and backstage handover operation improve answering for user so as to avoid the frequent closing and unlatching of application process With service efficiency and the resource utilization of system;Solve existing application process management method and application process management dress The user set using the technical problem that efficiency is lower and the resource utilization of system is lower.
Detailed description of the invention
Fig. 1 is the flow chart of the first preferred embodiment of application process management method of the invention;
Fig. 2 is the flow chart of the second preferred embodiment of application process management method of the invention;
Fig. 3 is the flow chart of the step S202 of the second preferred embodiment of application process management method of the invention;
Fig. 4 is the structural schematic diagram of the first preferred embodiment of application process managing device of the invention;
Fig. 5 is the structural schematic diagram of the second preferred embodiment of application process managing device of the invention;
Fig. 6 is that the handover information of the second preferred embodiment of application process managing device of the invention obtains the structure of module 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 managing device of the invention, which includes but not It is limited to personal computer, server computer, hand-held or laptop devices, mobile device (such as mobile phone, individual digital Assistant (PDA), media player etc.), multicomputer system, consumer electronic devices, minicomputer, mainframe computer, Distributed computing environment, etc. including above-mentioned arbitrary system or equipment.But the electronic equipment is preferably intelligent mobile terminal, with Improve intelligent mobile terminal using efficiency and system resource service efficiency.
Fig. 1 is please referred to, Fig. 1 is the flow chart of the first preferred embodiment of application process management method of the invention.This is excellent Select the application process management method of embodiment that above-mentioned electronic equipment can be used to be implemented.The application process management method packet It includes:
Step S101 receives application process switching command;
It is corresponding to obtain application process switching command by the handover process function in starting management service by step S102 Switch the foreground handover information of foreground process and switches the backstage handover information of background process;
Step S103 carries out foreground handover operation to the switching foreground process according to the foreground handover information;According to The backstage handover information carries out backstage handover operation to the switching background process.
The following detailed description of the detailed process of each step of the application process management method of this preferred embodiment.
In step s101, application process managing device can receive application process switching command, application process switching Instruction is that some activation application process in terminal switches to foregrounding or switches to the instruction of consistency operation.Then pass to step Rapid S102.
In step s 102, application process managing device passes through terminal system after receiving application process switching command In starting management service (Activity Manager Service) in handover process function (resumeTopActivityLocked), the foreground switching of the corresponding switching foreground process of the application process switching command is obtained Information and the backstage handover information for switching background process.
In step s 103, the foreground handover information that application process managing device is obtained according to step S102, before switching Platform process carries out foreground handover operation, i.e., switches to foreground function to the application process for switching to foregrounding, such as opens networking Function, unlatching message sink prompting function etc..
The backstage handover information that application process managing device is obtained according to step S102 simultaneously carries out switching background process Backstage handover operation switches to background function to the application process for switching to consistency operation, such as close network savvy, closing disappears Breath receives prompting function etc..
Application processes are not needed so frequently to be closed and opened, also can application processes carry out function control with And the control of occupying system resources.
The front and back handover management of the application process of the application process management method of this preferred embodiment is completed in this way Operation.
The application process management method of this preferred embodiment is according to the foreground handover information and backstage handover information of process The foreground handover operation and backstage handover operation of carry out process, frequent so as to avoid application process are closed and are opened, Improve user using efficiency and the resource utilization of system.
Referring to figure 2., Fig. 2 is the flow chart of the second preferred embodiment of application process management method of the invention.This is excellent Select the application process management method of embodiment that above-mentioned electronic equipment can be used to be implemented, the application process management method packet It includes:
Step S201 receives application process switching command;
It is corresponding to obtain application process switching command by the handover process function in starting management service by step S202 Switch the foreground handover information of foreground process and switch the backstage handover information of background process, wherein foreground handover information includes Switching the user identifier of foreground process, application process identifier and switching foreground broadcast message, backstage handover information includes Switch the user identifier, application process identifier and switching backstage broadcast message of background process;
Step S203, according to switching foreground process user identifier and application process identifier, to switching foreground into The foreground Cheng Jinhang handover operation, and according to the switching foreground broadcast message of switching foreground process, it is corresponding to switching foreground process Functional module carries out foreground function switch;According to the user identifier and application process identifier of switching background process, to cutting Change background process carry out backstage handover operation, and according to switching background process switching backstage broadcast message, to switching backstage into The corresponding functional module of journey carries out background function switching.
The following detailed description of the detailed process of each step of the application process management method of this preferred embodiment.
In step s 201, application process managing device can receive application process switching command, application process switching Instruction is that some activation application process in terminal switches to foregrounding or switches to the instruction of consistency operation.Then pass to step Rapid S202.
In step S202, application process managing device passes through terminal system after receiving application process switching command In starting management service (Activity Manager Service) in handover process function (resumeTopActivityLocked), the foreground switching of the corresponding switching foreground process of the application process switching command is obtained Information and the backstage handover information for switching background process.
The foreground handover information includes the user identifier (UID, User Identifier) for switching foreground process, application Process identifier (PID, Process Identifier) and switching foreground broadcast message.The user identifier is for indicating behaviour Make the exclusive number of the user of the switching foreground process;Application process identifier is for indicating the unique of the switching foreground process Property label.
Switching foreground broadcast message include foreground functional mode, carry out foreground function switch handoff functionality module information with And the informing function module information of foreground function notice is carried out, the foreground functional mode is for indicating the switching foreground process preceding Concrete function when platform operates, such as network savvy is opened at foreground.Handoff functionality module information be for realizing switching before The relating module information of concrete function of the platform process in foregrounding, as network module gives switching foreground process at foreground Network savvy.Informing function module information is the relating module information for switching foreground process and needing to notify in foregrounding, When such as switching foreground process and switching to foregrounding, interface manager module can be notified, so as to the foreground to the switching foreground process Show that interface is adjusted in time.
Switching backstage broadcast message include background function mode, carry out background function switching handoff functionality module information with And the informing function module information of background function notice is carried out, the background function mode is for indicating the switching background process rear Concrete function when platform operates, such as network savvy is closed at backstage.Handoff functionality module information be for realizing switching after The relating module information of concrete function of the platform process in consistency operation, as network module closes switching background process at backstage Network savvy.Informing function module information is the relating module information for switching background process and needing to notify in consistency operation, When such as switching background process and switching to consistency operation, interface manager module can be notified, so that interface manager module stopping cuts this It changes background process and carries out the adjustment that foreground shows interface.
Switching foreground process and switching background process only carry out to corresponding functional module when front and back switching in this way Notice, influence of the malice module or malicious application avoided to process front and back handover operation improve the switching of process front and back Switching efficiency.
Preferably, referring to figure 3., the step of Fig. 3 is the second preferred embodiment of application process management method of the invention The flow chart of S202.Step S202 further include:
Step S301 judges to switch foreground process and switches whether background process is same application process;It is for example same to answer With process, then step S302 is gone to;If being not same application process, then step S303 is gone to.
Step S302, such as switching foreground process and switching background process is same application process, then does not need to the application Process carries out the handover operation of front and back, therefore stops the foreground handover operation and backstage handover operation of application process.
Step S303, such as switching foreground process and switching background process is not same application process, then needs to corresponding Application process carries out the handover operation of front and back, therefore obtains the foreground of the corresponding switching foreground process of application process switching command Handover information and the backstage handover information for switching background process.Then pass to step S203.
In step S203, the foreground handover information that application process managing device is obtained according to step S202, before switching Platform process carries out foreground handover operation.
Specifically, application process managing device is identified according to the user identifier and application process of switching foreground process Symbol carries out foreground handover operation to switching foreground process.Application process managing device is according to the switching for switching foreground process simultaneously Foreground broadcast message carries out foreground function switch to the corresponding functional module of switching foreground process, i.e., to switching to foregrounding Application process when switching to foreground function, can be opened by broadcast notice communication module switching foreground process network savvy, System management module is notified to open the message sink prompting function etc. of switching foreground process.
The backstage handover information that application process managing device is obtained according to step S202 simultaneously carries out switching background process Backstage handover operation.
Specifically, application process managing device is identified according to the user identifier and application process of switching background process Symbol carries out backstage handover operation to switching background process.Application process managing device is according to the switching for switching background process simultaneously Backstage broadcast message carries out background function switching to the corresponding functional module of switching background process, i.e., to switching to consistency operation Application process when switching to background function, can be closed by broadcast notice communication module switching background process network savvy, System management module is notified to close the message sink prompting function etc. of switching background process.
Application processes are not needed so frequently to be closed and opened, also can application processes carry out function control with And the control of occupying system resources.
The front and back handover management of the application process of the application process management method of this preferred embodiment is completed in this way Operation.
On the basis of first preferred embodiment, the application process management method of this preferred embodiment passes through to corresponding function Energy module carries out the notice of front and back switching, the efficiency that process carries out front and back switching is further improved, to further mention High user using efficiency and the resource utilization of system.
The present invention also provides a kind of application process managing devices, and referring to figure 4., Fig. 4 is application process management of the invention The structural schematic diagram of the first preferred embodiment of device.Above-mentioned answer can be used in the application process managing device of this preferred embodiment Implemented with the first preferred embodiment of process management method, which includes command reception module 41, handover information obtains module 42 and handover operation module 43.
Command reception module 41 is for receiving application process switching command.Handover information obtains module 42 for passing through starting Handover process function in management service obtains the foreground handover information of the corresponding switching foreground process of application process switching command And the backstage handover information of switching background process.Handover operation module 43 is used for according to foreground handover information, to switching foreground Process carries out foreground handover operation;According to backstage handover information, backstage handover operation is carried out to switching background process.
The application process managing device 40 of this preferred embodiment is in use, command reception module 41 can receive application first Process switching instruction, the application process switching command are that some activation application process in terminal switches to foregrounding or switching To the instruction of consistency operation.
Subsequent handover information obtains module 42 after receiving application process switching command, passes through the starting in terminal system Handover process function (resumeTopActivityLocked) in management service (Activity Manager Service), It obtains the foreground handover information of the corresponding switching foreground process of the application process switching command and switches the backstage of background process Handover information.
Last handover operation module 43 obtains the foreground handover information that module 42 obtains according to handover information, to switching foreground Process carries out foreground handover operation, i.e., switches to foreground function to the application process for switching to foregrounding, such as opens networking function Can, open message sink prompting function etc..
Handover operation module 43 obtains the backstage handover information that module 42 obtains according to handover information simultaneously, to switching backstage Process carries out backstage handover operation, i.e., switches to background function to the application process for switching to consistency operation, such as closes networking function Can, close message sink prompting function etc..
Application processes are not needed so frequently to be closed and opened, also can application processes carry out function control with And the control of occupying system resources.
The front and back switching pipe of the application process of the application process managing device 40 of this preferred embodiment is completed in this way Reason operation.
The application process managing device of this preferred embodiment is according to the foreground handover information and backstage handover information of process The foreground handover operation and backstage handover operation of carry out process, frequent so as to avoid application process are closed and are opened, Improve user using efficiency and the resource utilization of system.
Referring to figure 5., Fig. 5 is the structural schematic diagram of the second preferred embodiment of application process managing device of the invention. The application process managing device of this preferred embodiment can be used the second preferred embodiment of above-mentioned application process management method into Row is implemented, which includes command reception module 51, handover information acquisition module 52 and handover operation Module 53.
Command reception module 51 is for receiving application process switching command.Handover information obtains module 52 for passing through starting Handover process function in management service obtains the foreground handover information of the corresponding switching foreground process of application process switching command And the backstage handover information of switching background process.Handover operation module 53 is used for the user identifier according to switching foreground process And application process identifier, to switching foreground process carry out foreground handover operation, and according to switching foreground process switching before Platform broadcast message carries out foreground function switch to the corresponding functional module of switching foreground process;According to the use of switching background process Family identifier and application process identifier carry out backstage handover operation to switching background process, and according to switching background process Switching backstage broadcast message, background function switching is carried out to the corresponding functional module of switching background process.
Fig. 6 is please referred to, Fig. 6 is that the handover information of the second preferred embodiment of application process managing device of the invention obtains The structural schematic diagram of module.The handover information obtains module 52 and includes process judging unit 61, switching termination unit 62 and cut Change operating unit 63.
Process judging unit 61 is for judging to switch foreground process and switching whether background process is same application process.It cuts It changes and terminates unit 62 for being same application process as switched foreground process and switching background process, then before stopping application process Platform handover operation and backstage handover operation.Handover operation unit 63 is used for Same application process, then after the foreground handover information and the switching that obtain the corresponding switching foreground process of application process switching command The backstage handover information of platform process.
The application process managing device 50 of this preferred embodiment is in use, command reception module 51 can receive application first Process switching instruction, the application process switching command are that some activation application process in terminal switches to foregrounding or switching To the instruction of consistency operation.
Subsequent handover information obtains module 52 after receiving application process switching command, passes through the starting in terminal system Handover process function (resumeTopActivityLocked) in management service (Activity Manager Service), It obtains the foreground handover information of the corresponding switching foreground process of the application process switching command and switches the backstage of background process Handover information.
The foreground handover information includes the user identifier (UID, User Identifier) for switching foreground process, application Process identifier (PID, Process Identifier) and switching foreground broadcast message.The user identifier is for indicating behaviour Make the exclusive number of the user of the switching foreground process;Application process identifier is for indicating the unique of the switching foreground process Property label.
Switching foreground broadcast message include foreground functional mode, carry out foreground function switch handoff functionality module information with And the informing function module information of foreground function notice is carried out, the foreground functional mode is for indicating the switching foreground process preceding Concrete function when platform operates, such as network savvy is opened at foreground.Handoff functionality module information be for realizing switching before The relating module information of concrete function of the platform process in foregrounding, as network module gives switching foreground process at foreground Network savvy.Informing function module information is the relating module information for switching foreground process and needing to notify in foregrounding, When such as switching foreground process and switching to foregrounding, interface manager module can be notified, so as to the foreground to the switching foreground process Show that interface is adjusted in time.
Switching backstage broadcast message include background function mode, carry out background function switching handoff functionality module information with And the informing function module information of background function notice is carried out, the background function mode is for indicating the switching background process rear Concrete function when platform operates, such as network savvy is closed at backstage.Handoff functionality module information be for realizing switching after The relating module information of concrete function of the platform process in consistency operation, as network module closes switching background process at backstage Network savvy.Informing function module information is the relating module information for switching background process and needing to notify in consistency operation, When such as switching background process and switching to consistency operation, interface manager module can be notified, so that interface manager module stopping cuts this It changes background process and carries out the adjustment that foreground shows interface.
Switching foreground process and switching background process only carry out to corresponding functional module when front and back switching in this way Notice, influence of the malice module or malicious application avoided to process front and back handover operation improve the switching of process front and back Switching efficiency.
Preferably, the process of the acquisition handover information specifically:
The process judging unit 61 that handover information obtains module 52 judges to switch foreground process and whether switches background process For same application process.
Such as switching foreground process and switching background process is same application process, then does not need before carrying out to the application process The handover operation on backstage, therefore handover information obtains the foreground switching behaviour of the switching termination stopping application process of unit 62 of module 52 Work and backstage handover operation.
Such as switch foreground process and switching background process be not same application process, then need to corresponding application process into The handover operation of row front and back, therefore handover information obtains the acquisition application process switching command of handover operation unit 63 of module 52 The foreground handover information of corresponding switching foreground process and the backstage handover information for switching background process.
Last handover operation module 53 obtains the foreground handover information that module obtains according to handover information, to switching foreground into The foreground Cheng Jinhang handover operation.
Specifically, user identifier and application process identifier of the handover operation module 53 according to switching foreground process, Foreground handover operation is carried out to switching foreground process.Handover operation module 53 is wide according to the switching foreground of switching foreground process simultaneously Information is broadcast, foreground function switch, the i.e. application to foregrounding is switched to are carried out to the corresponding functional module of switching foreground process When process switching to foreground function, the network savvy of switching foreground process can be opened by broadcast notice communication module, notice is Management module of uniting opens the message sink prompting function etc. of switching foreground process.
Simultaneously handover operation module 53 according to handover information obtain module obtain backstage handover information, to switching backstage into The backstage Cheng Jinhang handover operation.
Specifically, user identifier and application process identifier of the handover operation module 53 according to switching background process, Backstage handover operation is carried out to switching background process.Handover operation module 53 is wide according to the switching backstage of switching background process simultaneously Information is broadcast, background function switching, the i.e. application to consistency operation is switched to are carried out to the corresponding functional module of switching background process When process switching to background function, the network savvy of switching background process can be closed by broadcast notice communication module, notice is Management module of uniting closes the message sink prompting function etc. of switching background process.
Application processes are not needed so frequently to be closed and opened, also can application processes carry out function control with And the control of occupying system resources.
The front and back switching pipe of the application process of the application process managing device 50 of this preferred embodiment is completed in this way Reason operation.
On the basis of first preferred embodiment, the application process managing device of this preferred embodiment passes through to corresponding function Energy module carries out the notice of front and back switching, the efficiency that process carries out front and back switching is further improved, to further mention High user using efficiency and the resource utilization of system.
Application process management method and application process managing device of the invention according to the foreground handover information of process and Backstage handover information carries out the foreground handover operation and backstage handover operation of process, so as to avoid the frequent pass of application process Close and open, improve user using efficiency and the resource utilization of system;Solve it is existing apply into The user of thread management method and application process managing device using efficiency is lower and the resource utilization of system compared with Low technical problem.
" 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 (7)

1. a kind of application process management method characterized by comprising
Receive application process switching command;
By starting management service in handover process function, obtain the corresponding switching foreground of the application process switching command into The foreground handover information of journey and the backstage handover information for switching background process, wherein the foreground handover information includes described Switch the user identifier, application process identifier and switching foreground broadcast message of foreground process, the backstage handover information User identifier, application process identifier and switching backstage broadcast message including the switching background process;
According to the user identifier and application process identifier of the switching foreground process, the switching foreground process is carried out Foreground handover operation, and according to the switching foreground broadcast message of the switching foreground process, it is corresponding to the switching foreground process Functional module carry out foreground function switch;According to the user identifier and application process mark of the switching background process Symbol carries out backstage handover operation to the switching background process, and is believed according to the switching backstage broadcast of the switching background process Breath carries out background function switching to the corresponding functional module of the switching background process.
2. application process management method according to claim 1, which is characterized in that
It is described switching foreground broadcast message include foreground functional mode, carry out foreground function switch handoff functionality module information with And carry out the informing function module information of foreground function notice;And
It is described switching backstage broadcast message include background function mode, carry out background function switching handoff functionality module information with And carry out the informing function module information of background function notice.
3. application process management method according to claim 1, which is characterized in that described by starting management service Handover process function obtains foreground handover information and the switching of the corresponding switching foreground process of the application process switching command The step of backstage handover information of background process, specifically includes:
Judge whether the switching foreground process and the switching background process are same application process;
If the switching foreground process and the switching background process are same application process, then before stopping the application process Platform handover operation and backstage handover operation;
If the switching foreground process and the switching background process are not same application processes, then obtain the application process and cut Change the foreground handover information for instructing corresponding switching foreground process and the backstage handover information for switching background process.
4. a kind of application process managing device characterized by comprising
Command reception module, for receiving application process switching command;
Handover information obtains module, for obtaining the application process and cutting by the handover process function in starting management service Change the foreground handover information for instructing corresponding switching foreground process and the backstage handover information for switching background process, wherein institute State the user identifier, application process identifier and the broadcast of switching foreground that foreground handover information includes the switching foreground process Information, the backstage handover information include user identifier, application process identifier and the switching of the switching background process Backstage broadcast message;
Handover operation module, for the user identifier and application process identifier according to the switching foreground process, to institute It states switching foreground process and carries out foreground handover operation, and according to the switching foreground broadcast message of the switching foreground process, to institute It states the corresponding functional module of switching foreground process and carries out foreground function switch;According to the user identifier of the switching background process And application process identifier, backstage handover operation is carried out to the switching background process, and according to the switching background process Switching backstage broadcast message, to the corresponding functional module of the switching background process carry out background function switching.
5. application process managing device according to claim 4, which is characterized in that
It is described switching foreground broadcast message include foreground functional mode, carry out foreground function switch handoff functionality module information with And carry out the informing function module information of foreground function notice;And
It is described switching backstage broadcast message include background function mode, carry out background function switching handoff functionality module information with And carry out the informing function module information of background function notice.
6. application process managing device according to claim 4, which is characterized in that the handover information obtains module packet It includes:
Process judging unit, for judge the switching foreground process and the switching background process whether be same application into Journey;
Switching terminates unit, is same application process for such as the switching foreground process and the switching background process, then stops The only foreground handover operation and backstage handover operation of the application process;And
Handover operation unit is not same application process for such as described switching foreground process and the switching background process, then After the foreground handover information and switching background process that obtain the corresponding switching foreground process of the application process switching command Platform handover information.
7. a kind of computer-readable medium, is stored with computer program, which is characterized in that the computer program to calculate Machine executes the method as described in claim 1.
CN201511033464.3A 2015-12-30 2015-12-30 Application process management method and application process managing device Active CN105426244B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201511033464.3A CN105426244B (en) 2015-12-30 2015-12-30 Application process management method and application process managing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201511033464.3A CN105426244B (en) 2015-12-30 2015-12-30 Application process management method and application process managing device

Publications (2)

Publication Number Publication Date
CN105426244A CN105426244A (en) 2016-03-23
CN105426244B true CN105426244B (en) 2019-03-22

Family

ID=55504470

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201511033464.3A Active CN105426244B (en) 2015-12-30 2015-12-30 Application process management method and application process managing device

Country Status (1)

Country Link
CN (1) CN105426244B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105955803A (en) * 2016-04-22 2016-09-21 上海斐讯数据通信技术有限公司 Terminal and method for recovering state of application program
CN106126392A (en) * 2016-06-30 2016-11-16 乐视控股(北京)有限公司 The determination methods of a kind of AM/BAM application program and device
CN106101837B (en) * 2016-07-15 2019-07-12 四川长虹电器股份有限公司 The method of more applications keys distribution and processing for Linux smart television
CN108628642B (en) * 2017-03-20 2021-07-30 北京京东尚科信息技术有限公司 Method and apparatus for switching versions of system and storage medium
CN109714640B (en) * 2017-10-26 2022-01-21 创盛视联数码科技(北京)有限公司 Method for playing live video
CN109828849A (en) * 2018-12-05 2019-05-31 苏州蜗牛数字科技股份有限公司 A method of notifying system process when switching application
CN111953584B (en) * 2020-08-21 2021-06-29 北京一起教育信息咨询有限责任公司 Method and system for optimizing real-time message channel flow
CN113285976A (en) * 2021-04-07 2021-08-20 上海商米科技集团股份有限公司 Cloud control process management system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103257894A (en) * 2012-02-20 2013-08-21 联想(北京)有限公司 Program management method and electronic terminal
CN103795554A (en) * 2012-10-29 2014-05-14 华为技术有限公司 Terminal state managing method, device and system
CN104252389A (en) * 2013-06-27 2014-12-31 腾讯科技(深圳)有限公司 Application operation method, system and application
CN104902430A (en) * 2015-05-19 2015-09-09 广东欧珀移动通信有限公司 Method and system for flow control of intelligent terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8745526B2 (en) * 2006-03-14 2014-06-03 Blackberry Limited Screen display in application switching

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103257894A (en) * 2012-02-20 2013-08-21 联想(北京)有限公司 Program management method and electronic terminal
CN103795554A (en) * 2012-10-29 2014-05-14 华为技术有限公司 Terminal state managing method, device and system
CN104252389A (en) * 2013-06-27 2014-12-31 腾讯科技(深圳)有限公司 Application operation method, system and application
CN104902430A (en) * 2015-05-19 2015-09-09 广东欧珀移动通信有限公司 Method and system for flow control of intelligent terminal

Also Published As

Publication number Publication date
CN105426244A (en) 2016-03-23

Similar Documents

Publication Publication Date Title
CN105426244B (en) Application process management method and application process managing device
CN109802852B (en) Method and system for constructing network simulation topology applied to network target range
CN107203626B (en) Business process management method and system
EP3425849A1 (en) State control method and device
CN105446811B (en) Application process is associated with starting method and association starter
EP3200393A1 (en) Method and device for virtual network function management
US20180034709A1 (en) Method and Device for Asset Information Management
CN106959879B (en) Control method and electronic equipment
TW200828909A (en) A technique for synchronizing data with a mobile device based on a synchronization context
CN103716356B (en) Storing process operating method, device and system based on web
CN101477386B (en) Timer implementing method and apparatus
CN105052076B (en) Network element management system and network element management method based on cloud computing
CN106445850B (en) A kind of connection method of Intelligent hardware and device
CN103176800A (en) Application program login method and device
CN105700942B (en) Application process is associated with starting method and association starter
CN106100971B (en) Information creating, method for sending information and information creating, information transmitting apparatus
CN104641606A (en) Method for network resource equalization processing, and virtual network management entity
CN105653339B (en) Application process starts method and application process starter
CN100417095C (en) Method and system for realizing network management and network element configuration operation
CN105653364B (en) Application process management method and application process managing device
CN103927244A (en) Plug-in scheduling process monitoring method implemented based on dynamic proxy
CN109343944A (en) Data processing method, device, terminal and the storage medium of eSIM card
CN105208537B (en) A kind of call forwarding method for inquiring status and system
CN103309690B (en) Process method and the electronic equipment of data
US20170141949A1 (en) Method and apparatus for processing alarm information in cloud computing

Legal Events

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

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

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

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

Applicant before: Guangdong OPPO Mobile Communications Co., Ltd.

GR01 Patent grant
GR01 Patent grant