CN105426244A - Application process management method and application process management device - Google Patents

Application process management method and application process management device Download PDF

Info

Publication number
CN105426244A
CN105426244A CN201511033464.3A CN201511033464A CN105426244A CN 105426244 A CN105426244 A CN 105426244A CN 201511033464 A CN201511033464 A CN 201511033464A CN 105426244 A CN105426244 A CN 105426244A
Authority
CN
China
Prior art keywords
switching
foreground
application process
background
backstage
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.)
Granted
Application number
CN201511033464.3A
Other languages
Chinese (zh)
Other versions
CN105426244B (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

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides an application process management method. The method comprises: receiving an application process switching instruction; through a switching process function in startup management service, obtaining foreground switching information of a switching foreground process and a background switching information of a switching background process, the switching information being corresponding to the application process switching instruction; according to the foreground switching information, performing foreground switching operation on the switching foreground process; and according to the background switching information, performing background switching operation on the switching background process. The invention also provides an application process management device. The application process management method and the application process management device perform foreground switching operation and background switching operation on the processes according to the foreground switching information and the background switching information of the processes, so as to prevent frequent close and open of the application processes, and improve application usage efficiency of users and resource use efficiency of a system.

Description

Application process management method and application process management devices
Technical field
The present invention relates to application process control field, particularly relate to a kind of application process management method and application process management devices.
Background technology
In the prior art, certain application, by calling or showing a visualization interface (activity), non-visual running background service (service) or for providing the data set provider (ContentProvider) of data, services, realizes the process initiation of self application or other application.
Due at synchronization, intelligent terminal may have multiple application process to be in operation, but one can only be had in the application process of front stage operation, if intelligent terminal is in order to the optimization of system resource, carry out the cleaning of background application process frequently, user may be caused background application cannot to carry out the blocked operation of AM/BAM, directly can only carry out the foreground initiation operation of application process.As intelligent terminal frequently carries out the cleaning of application process and the startup of application process, then greatly can affect the application service efficiency of user and the resource utilization of influential system.
Summary of the invention
The embodiment of the present invention provides a kind of the application process management method and the application process management devices that improve the application service efficiency of user and the resource utilization of system; With the technical matters that the application service efficiency of the user solving existing application process management method and application process management devices resource utilization that is lower and system is lower.
The embodiment of the present invention provides a kind of application process management method, and it comprises:
Receive application process switching command;
By starting the handover process function in management service, obtaining the foreground handover information of switching foreground process corresponding to described application process switching command and switching the backstage handover information of background process; And
According to described foreground handover information, foreground blocked operation is carried out to described switching foreground process; According to described backstage handover information, backstage blocked operation is carried out to described switching background process.
In application process management method of the present invention, described foreground handover information comprises user identifier, the application process identifier of described switching foreground process and switches foreground broadcast message, and described backstage handover information comprises user identifier, the application process identifier of described switching background process and switches backstage broadcast message.
In application process management method of the present invention, described according to described foreground handover information, foreground blocked operation is carried out to described switching foreground process; According to described backstage handover information, the step that described switching background process carries out backstage blocked operation is specially:
According to user identifier and the application process identifier of described switching foreground process, foreground blocked operation is carried out to described switching foreground process, and according to the switching foreground broadcast message of described switching foreground process, the functional module corresponding to described switching foreground process carries out foreground function switching; According to user identifier and the application process identifier of described switching background process, backstage blocked operation is carried out to described switching background process, and according to the switching backstage broadcast message of described switching background process, the functional module corresponding to described switching background process carries out background function switching.
In application process management method of the present invention, described switching foreground broadcast message comprises foreground functional mode, carries out the handoff functionality module information of foreground function switching and carries out the informing function module information of foreground function notice; And
Described switching backstage broadcast message comprises background function pattern, carries out the handoff functionality module information of background function switching and carries out the informing function module information of background function notice.
In application process management method of the present invention, the described handover process function by starting in management service, the step obtaining the foreground handover information of switching foreground process corresponding to described application process switching command and the backstage handover information of switching background process specifically comprises:
Judge whether described switching foreground process and described switching background process are same application process;
As described in switching foreground process and as described in switching background process be same application process, then stop foreground blocked operation and the backstage blocked operation of described application process;
As described in switching foreground process and as described in switching background process be not same application process, then obtain the foreground handover information of switching foreground process corresponding to described application process switching command and switch the backstage handover information of background process.
The embodiment of the present invention also provides a kind of application process management devices, and it comprises:
Command reception module, for receiving application process switching command;
Handover information acquisition module, for the handover process function by starting in management service, obtaining the foreground handover information of switching foreground process corresponding to described application process switching command and switching the backstage handover information of background process; And
Blocked operation module, for according to described foreground handover information, carries out foreground blocked operation to described switching foreground process; According to described backstage handover information, backstage blocked operation is carried out to described switching background process.
In application process management devices of the present invention, described foreground handover information comprises user identifier, the application process identifier of described switching foreground process and switches foreground broadcast message, and described backstage handover information comprises user identifier, the application process identifier of described switching background process and switches backstage broadcast message.
In application process management devices of the present invention, described blocked operation module is specifically for according to the user identifier of described switching foreground process and application process identifier, foreground blocked operation is carried out to described switching foreground process, and according to the switching foreground broadcast message of described switching foreground process, the functional module corresponding to described switching foreground process carries out foreground function switching; According to user identifier and the application process identifier of described switching background process, backstage blocked operation is carried out to described switching background process, and according to the switching backstage broadcast message of described switching background process, the functional module corresponding to described switching background process carries out background function switching.
In application process management devices of the present invention, described switching foreground broadcast message comprises foreground functional mode, carries out the handoff functionality module information of foreground function switching and carries out the informing function module information of foreground function notice; And
Described switching backstage broadcast message comprises background function pattern, carries out the handoff functionality module information of background function switching and carries out the informing function module information of background function notice.
In application process management devices of the present invention, described handover information acquisition module comprises:
Process judging unit, for judging whether described switching foreground process and described switching background process are same application process;
Switch stop unit, for as described in switching foreground process and as described in switching background process be same application process, then stop foreground blocked operation and the backstage blocked operation of described application process; And
Blocked operation unit, for as described in switching foreground process and as described in switching background process be not same application process, then obtain the foreground handover information of switching foreground process corresponding to described application process switching command and switch the backstage handover information of background process.
Compared to application process management method and the application process management devices of prior art, application process management method of the present invention and application process management devices carry out foreground blocked operation and the backstage blocked operation of process according to the foreground handover information of process and backstage handover information, thus avoid frequent closedown and the unlatching of application process, improve the application service efficiency of user and the resource utilization of system; Solve the technical matters that the application service efficiency resource utilization that is lower and system of the user of existing application process management method and application process management devices is lower.
Accompanying drawing explanation
Fig. 1 is the process flow diagram of the first preferred embodiment of application process management method of the present invention;
Fig. 2 is the process flow diagram of the second preferred embodiment of application process management method of the present invention;
Fig. 3 is the process flow diagram of the step S202 of the second preferred embodiment of application process management method of the present invention;
Fig. 4 is the structural representation of the first preferred embodiment of application process management devices of the present invention;
Fig. 5 is the structural representation of the second preferred embodiment of application process management devices of the present invention;
Fig. 6 is the structural representation of the handover information acquisition module of the second preferred embodiment of application process management devices of the present invention.
Embodiment
Please refer to graphic, wherein identical element numbers represents identical assembly, and principle of the present invention implements to illustrate in a suitable computing environment.The following description is based on the illustrated specific embodiment of the invention, and it should not be regarded as limiting the present invention not at other specific embodiment that this describes in detail.
In the following description, specific embodiments of the invention illustrate, unless otherwise stating clearly with reference to the step of the operation performed by or multi-section computing machine and symbol.Therefore, it can recognize these steps and operation, wherein have and will mention as being performed by computing machine for several times, include and handled with the computer processing unit of the electronic signal of the data in a structuring pattern by representing.These data of this manipulation transforms or the position maintained in the memory system of this computing machine, its reconfigurable or other running changing this computing machine in a manner familiar to those skilled in the art.The data structure that these data maintain is the provider location of this internal memory, and it has the particular characteristics defined by this data layout.But the principle of the invention illustrates with above-mentioned word, it is not represented as a kind of restriction, and those skilled in the art can recognize that the plurality of step of the following stated and operation also may be implemented in the middle of hardware.
Application process management devices of the present invention can use various electronic equipment to implement, this electronic equipment includes but not limited to personal computer, server computer, hand-held or laptop devices, mobile device (such as mobile phone, personal digital assistant (PDA), media player etc.), multicomputer system, consumer electronic devices, small-size computer, mainframe computer, comprises the distributed computing environment of above-mentioned any system or equipment, etc.But this electronic equipment is preferably intelligent mobile terminal, to improve application service efficiency and the system resource service efficiency of intelligent mobile terminal.
Please refer to Fig. 1, Fig. 1 is the process flow diagram of the first preferred embodiment of application process management method of the present invention.The application process management method of this preferred embodiment can use above-mentioned electronic equipment to implement.This application process management method comprises:
Step S101, receives application process switching command;
Step S102, by starting the handover process function in management service, obtaining the foreground handover information of switching foreground process corresponding to application process switching command and switching the backstage handover information of background process;
Step S103, according to described foreground handover information, carries out foreground blocked operation to described switching foreground process; According to described backstage handover information, backstage blocked operation is carried out to described switching background process.
The following detailed description of the idiographic flow of each step of the application process management method of this preferred embodiment.
In step S101, application process management devices can receive application process switching command, and this application process switching command is the instruction that certain the activation application process in terminal switches to foregrounding or switches to consistency operation.Forward step S102 to subsequently.
In step s 102, application process management devices is after receiving application process switching command, by the handover process function (resumeTopActivityLocked) in the startup management service (ActivityManagerService) in terminal system, obtain the foreground handover information of switching foreground process corresponding to this application process switching command and switch the backstage handover information of background process.
In step s 103, the foreground handover information that application process management devices obtains according to step S102, foreground blocked operation is carried out to switching foreground process, namely foreground function is switched to the application process switching to foregrounding, as opened network savvy, opening message sink prompting function etc.
The simultaneously backstage handover information that obtains according to step S102 of application process management devices, backstage blocked operation is carried out to switching background process, namely background function is switched to the application process switching to consistency operation, as closed network savvy, closing message sink prompting function etc.
Do not need application processes frequently close and open like this, application processes can carry out the control of function control and occupying system resources yet.
So namely, complete the AM/BAM handover management operation of the application process of the application process management method of this preferred embodiment.
The application process management method of this preferred embodiment carries out foreground blocked operation and the backstage blocked operation of process according to the foreground handover information of process and backstage handover information, thus avoid frequent closedown and the unlatching of application process, improve the application service efficiency of user and the resource utilization of system.
Please refer to Fig. 2, Fig. 2 is the process flow diagram of the second preferred embodiment of application process management method of the present invention.The application process management method of this preferred embodiment can use above-mentioned electronic equipment to implement, and this application process management method comprises:
Step S201, receives application process switching command;
Step S202, by starting the handover process function in management service, obtain the foreground handover information of switching foreground process corresponding to application process switching command and switch the backstage handover information of background process, wherein foreground handover information comprises the user identifier, application process identifier and the switching foreground broadcast message that switch foreground process, and backstage handover information comprises the user identifier, application process identifier and the switching backstage broadcast message that switch background process;
Step S203, according to the user identifier and the application process identifier that switch foreground process, foreground blocked operation is carried out to switching foreground process, and according to switching the switching foreground broadcast message of foreground process, foreground function switching is carried out to the functional module switching foreground process corresponding; According to the user identifier and the application process identifier that switch background process, backstage blocked operation is carried out to switching background process, and according to switching the switching backstage broadcast message of background process, background function switching is carried out to the functional module switching background process corresponding.
The following detailed description of the idiographic flow of each step of the application process management method of this preferred embodiment.
In step s 201, application process management devices can receive application process switching command, and this application process switching command is the instruction that certain the activation application process in terminal switches to foregrounding or switches to consistency operation.Forward step S202 to subsequently.
In step S202, application process management devices is after receiving application process switching command, by the handover process function (resumeTopActivityLocked) in the startup management service (ActivityManagerService) in terminal system, obtain the foreground handover information of switching foreground process corresponding to this application process switching command and switch the backstage handover information of background process.
This foreground handover information comprises the user identifier (UID, UserIdentifier), application process identifier (PID, ProcessIdentifier) and the switching foreground broadcast message that switch foreground process.This user identifier is for representing the exclusive number of the user of this switching foreground process of operation; Application process identifier is for representing the uniqueness label of this switching foreground process.
Switch foreground broadcast message to comprise foreground functional mode, carry out the handoff functionality module information of foreground function switching and carry out the informing function module information of foreground function notice, this foreground functional mode for representing the concrete function of this switching foreground process when foregrounding, as opened network savvy etc. when foreground.Handoff functionality module information is the relating module information for realizing switching the concrete function of foreground process when foregrounding, as mixed-media network modules mixed-media gives to switch the network savvy of foreground process when foreground.Informing function module information is the relating module information that switching foreground process needs when foregrounding to notify, as switch foreground process switch to foregrounding time, interface manager module can be notified, to adjust in time the displaying interface, foreground of this switching foreground process.
Switch backstage broadcast message to comprise background function pattern, carry out the handoff functionality module information of background function switching and carry out the informing function module information of background function notice, this background function pattern for representing the concrete function of this switching background process when consistency operation, as closed network savvy etc. when backstage.Handoff functionality module information is the relating module information for realizing switching the concrete function of background process when consistency operation, closes switch the network savvy of background process when backstage as mixed-media network modules mixed-media.Informing function module information is the relating module information that switching background process needs when consistency operation to notify, as switch background process switch to consistency operation time, interface manager module can be notified, so that interface manager module stops the adjustment this switching background process being carried out to displaying interface, foreground.
Such switching foreground process and switching background process carry out only notifying corresponding functional module when AM/BAM switches, and the malice module avoided or malicious application, on the impact of process AM/BAM blocked operation, improve the switching efficiency that process AM/BAM switches.
Preferably, please refer to Fig. 3, Fig. 3 is the process flow diagram of the step S202 of the second preferred embodiment of application process management method of the present invention.This step S202 also comprises:
Step S301, judges switch foreground process and switch whether background process is same application process; As being same application process, then forward step S302 to; If being not same application process, then forward step S303 to.
Step S302, is same application process as switched foreground process and switching background process, does not then need the blocked operation this application process being carried out to AM/BAM, therefore stop foreground blocked operation and the backstage blocked operation of application process.
Step S303, as switch foreground process and switch background process be not same application process, then need the blocked operation corresponding application process being carried out to AM/BAM, therefore obtain the foreground handover information of switching foreground process corresponding to application process switching command and switch the backstage handover information of background process.Forward step S203 to subsequently.
In step S203, the foreground handover information that application process management devices obtains according to step S202, carries out foreground blocked operation to switching foreground process.
Concrete, application process management devices, according to the user identifier and the application process identifier that switch foreground process, carries out foreground blocked operation to switching foreground process.Application process management devices is according to the switching foreground broadcast message switching foreground process simultaneously, foreground function switching is carried out to the functional module switching foreground process corresponding, when namely foreground function being switched to the application process switching to foregrounding, open the network savvy switching foreground process, the message sink prompting function etc. notifying system management module unlatching switching foreground process by broadcast announcement communication module.
Simultaneously the backstage handover information that obtains according to step S202 of application process management devices, carries out backstage blocked operation to switching background process.
Concrete, application process management devices, according to the user identifier and the application process identifier that switch background process, carries out backstage blocked operation to switching background process.Application process management devices is according to the switching backstage broadcast message switching background process simultaneously, background function switching is carried out to the functional module switching background process corresponding, when namely background function being switched to the application process switching to consistency operation, close the network savvy switching background process, the message sink prompting function etc. notifying system management module closedown switching background process by broadcast announcement communication module.
Do not need application processes frequently close and open like this, application processes can carry out the control of function control and occupying system resources yet.
So namely, complete the AM/BAM handover management operation of the application process of the application process management method of this preferred embodiment.
On the basis of the first preferred embodiment, the application process management method of this preferred embodiment is by carrying out the notice of AM/BAM switching to corresponding functional module, the process of further increasing carries out the efficiency of AM/BAM switching, thus further increases the application service efficiency of user and the resource utilization of system.
The present invention also provides a kind of application process management devices, please refer to Fig. 4, and Fig. 4 is the structural representation of the first preferred embodiment of application process management devices of the present invention.The application process management devices of this preferred embodiment can use the first preferred embodiment of above-mentioned application process management method to implement, and this application process management devices 40 comprises command reception module 41, handover information acquisition module 42 and blocked operation module 43.
Command reception module 41 is for receiving application process switching command.Handover information acquisition module 42, for the handover process function by starting in management service, obtaining the foreground handover information of switching foreground process corresponding to application process switching command and switching the backstage handover information of background process.Blocked operation module 43, for according to foreground handover information, carries out foreground blocked operation to switching foreground process; According to backstage handover information, backstage blocked operation is carried out to switching background process.
When the application process management devices 40 of this preferred embodiment uses, first command reception module 41 can receive application process switching command, and this application process switching command is the instruction that certain the activation application process in terminal switches to foregrounding or switches to consistency operation.
Handover information acquisition module 42 is after receiving application process switching command subsequently, by the handover process function (resumeTopActivityLocked) in the startup management service (ActivityManagerService) in terminal system, obtain the foreground handover information of switching foreground process corresponding to this application process switching command and switch the backstage handover information of background process.
The foreground handover information that last blocked operation module 43 obtains according to handover information acquisition module 42, foreground blocked operation is carried out to switching foreground process, namely foreground function is switched to the application process switching to foregrounding, as opened network savvy, opening message sink prompting function etc.
Blocked operation module 43 is according to the backstage handover information of handover information acquisition module 42 acquisition simultaneously, backstage blocked operation is carried out to switching background process, namely background function is switched to the application process switching to consistency operation, as closed network savvy, closing message sink prompting function etc.
Do not need application processes frequently close and open like this, application processes can carry out the control of function control and occupying system resources yet.
So namely, complete the AM/BAM handover management operation of the application process of the application process management devices 40 of this preferred embodiment.
The application process management devices of this preferred embodiment carries out foreground blocked operation and the backstage blocked operation of process according to the foreground handover information of process and backstage handover information, thus avoid frequent closedown and the unlatching of application process, improve the application service efficiency of user and the resource utilization of system.
Please refer to Fig. 5, Fig. 5 is the structural representation of the second preferred embodiment of application process management devices of the present invention.The application process management devices of this preferred embodiment can use the second preferred embodiment of above-mentioned application process management method to implement, and this application process management devices 50 comprises command reception module 51, handover information acquisition module 52 and blocked operation module 53.
Command reception module 51 is for receiving application process switching command.Handover information acquisition module 52, for the handover process function by starting in management service, obtaining the foreground handover information of switching foreground process corresponding to application process switching command and switching the backstage handover information of background process.Blocked operation module 53 is for according to switching the user identifier of foreground process and application process identifier, foreground blocked operation is carried out to switching foreground process, and according to switching the switching foreground broadcast message of foreground process, foreground function switching is carried out to the functional module switching foreground process corresponding; According to the user identifier and the application process identifier that switch background process, backstage blocked operation is carried out to switching background process, and according to switching the switching backstage broadcast message of background process, background function switching is carried out to the functional module switching background process corresponding.
Please refer to Fig. 6, Fig. 6 is the structural representation of the handover information acquisition module of the second preferred embodiment of application process management devices of the present invention.This handover information acquisition module 52 comprises process judging unit 61, switches termination unit 62 and blocked operation unit 63.
Process judging unit 61 switches foreground process for judging and switches whether background process is same application process.Switching termination unit 62 for such as switching foreground process and switching background process is same application process, then stop foreground blocked operation and the backstage blocked operation of application process.Blocked operation unit 63 is not same application process for such as switching foreground process and switching background process, then obtain the foreground handover information of switching foreground process corresponding to application process switching command and switch the backstage handover information of background process.
When the application process management devices 50 of this preferred embodiment uses, first command reception module 51 can receive application process switching command, and this application process switching command is the instruction that certain the activation application process in terminal switches to foregrounding or switches to consistency operation.
Handover information acquisition module 52 is after receiving application process switching command subsequently, by the handover process function (resumeTopActivityLocked) in the startup management service (ActivityManagerService) in terminal system, obtain the foreground handover information of switching foreground process corresponding to this application process switching command and switch the backstage handover information of background process.
This foreground handover information comprises the user identifier (UID, UserIdentifier), application process identifier (PID, ProcessIdentifier) and the switching foreground broadcast message that switch foreground process.This user identifier is for representing the exclusive number of the user of this switching foreground process of operation; Application process identifier is for representing the uniqueness label of this switching foreground process.
Switch foreground broadcast message to comprise foreground functional mode, carry out the handoff functionality module information of foreground function switching and carry out the informing function module information of foreground function notice, this foreground functional mode for representing the concrete function of this switching foreground process when foregrounding, as opened network savvy etc. when foreground.Handoff functionality module information is the relating module information for realizing switching the concrete function of foreground process when foregrounding, as mixed-media network modules mixed-media gives to switch the network savvy of foreground process when foreground.Informing function module information is the relating module information that switching foreground process needs when foregrounding to notify, as switch foreground process switch to foregrounding time, interface manager module can be notified, to adjust in time the displaying interface, foreground of this switching foreground process.
Switch backstage broadcast message to comprise background function pattern, carry out the handoff functionality module information of background function switching and carry out the informing function module information of background function notice, this background function pattern for representing the concrete function of this switching background process when consistency operation, as closed network savvy etc. when backstage.Handoff functionality module information is the relating module information for realizing switching the concrete function of background process when consistency operation, closes switch the network savvy of background process when backstage as mixed-media network modules mixed-media.Informing function module information is the relating module information that switching background process needs when consistency operation to notify, as switch background process switch to consistency operation time, interface manager module can be notified, so that interface manager module stops the adjustment this switching background process being carried out to displaying interface, foreground.
Such switching foreground process and switching background process carry out only notifying corresponding functional module when AM/BAM switches, and the malice module avoided or malicious application, on the impact of process AM/BAM blocked operation, improve the switching efficiency that process AM/BAM switches.
Preferably, the process of this acquisition handover information is specially:
The process judging unit 61 of handover information acquisition module 52 judges switch foreground process and switch whether background process is same application process.
As switch foreground process and switch background process be same application process, then do not need the blocked operation this application process being carried out to AM/BAM, therefore the switching of handover information acquisition module 52 stops foreground blocked operation and the backstage blocked operation that unit 62 stops application process.
As switch foreground process and switch background process be not same application process, then need the blocked operation corresponding application process being carried out to AM/BAM, therefore the blocked operation unit 63 of handover information acquisition module 52 obtains the foreground handover information of switching foreground process corresponding to application process switching command and switches the backstage handover information of background process.
The foreground handover information that last blocked operation module 53 obtains according to handover information acquisition module, carries out foreground blocked operation to switching foreground process.
Concrete, blocked operation module 53, according to the user identifier and the application process identifier that switch foreground process, carries out foreground blocked operation to switching foreground process.Blocked operation module 53 is according to the switching foreground broadcast message switching foreground process simultaneously, foreground function switching is carried out to the functional module switching foreground process corresponding, when namely foreground function being switched to the application process switching to foregrounding, open the network savvy switching foreground process, the message sink prompting function etc. notifying system management module unlatching switching foreground process by broadcast announcement communication module.
Blocked operation module 53 is according to the backstage handover information of handover information acquisition module acquisition simultaneously, carries out backstage blocked operation to switching background process.
Concrete, blocked operation module 53, according to the user identifier and the application process identifier that switch background process, carries out backstage blocked operation to switching background process.Blocked operation module 53 is according to the switching backstage broadcast message switching background process simultaneously, background function switching is carried out to the functional module switching background process corresponding, when namely background function being switched to the application process switching to consistency operation, close the network savvy switching background process, the message sink prompting function etc. notifying system management module closedown switching background process by broadcast announcement communication module.
Do not need application processes frequently close and open like this, application processes can carry out the control of function control and occupying system resources yet.
So namely, complete the AM/BAM handover management operation of the application process of the application process management devices 50 of this preferred embodiment.
On the basis of the first preferred embodiment, the application process management devices of this preferred embodiment is by carrying out the notice of AM/BAM switching to corresponding functional module, the process of further increasing carries out the efficiency of AM/BAM switching, thus further increases the application service efficiency of user and the resource utilization of system.
Application process management method of the present invention and application process management devices carry out foreground blocked operation and the backstage blocked operation of process according to the foreground handover information of process and backstage handover information, thus avoid frequent closedown and the unlatching of application process, improve the application service efficiency of user and the resource utilization of system; Solve the technical matters that the application service efficiency resource utilization that is lower and system of the user of existing application process management method and application process management devices is lower.
" assembly ", " module ", " system ", " interface ", " process " etc. are usually intended to refer to computer related entity as used herein the term: the combination of hardware, hardware and software, software or executory software.Such as, assembly can be but be not limited to be run process on a processor, processor, object, can perform application, the thread performed, program and/or computing machine.By diagram, run application on the controller and this both controller can be assembly.One or more assembly can have in the process and/or thread that are to perform, and assembly and/or can be distributed between two or more computing machines on a computing machine.
And claimed theme may be implemented as and uses standard program and/or engineering to produce software, firmware, hardware or its combination in any with the method for the theme disclosed in computer for controlling realization, device or manufacture.Term as used herein " manufacture " is intended to comprise can from the computer program of any computer readable device, carrier or medium access.Certainly, those skilled in the art will recognize that and can carry out many amendments to this configuration, and do not depart from scope or the spirit of claimed theme.
There is provided herein the various operations of embodiment.In one embodiment, described one or more operations can form the computer-readable instruction that one or more computer-readable medium stores, and it will make computing equipment perform described operation when being performed by electronic equipment.The order describing some or all of operation should not be interpreted as implying what these operations were necessarily sequentially correlated with.It will be appreciated by those skilled in the art that the alternative sequence of the benefit with this instructions.And, should be appreciated that not all operation must exist in each embodiment provided in this article.
And word used herein " preferably " means to be used as example, example or illustration.Any aspect that Feng Wen is described as " preferably " or design need not be interpreted as than other aspects or design more favourable.On the contrary, the use of word " preferably " is intended to propose concept in a concrete fashion.Term "or" as used in this application is intended to the "or" that means to comprise and the "or" of non-excluded.That is, unless otherwise or clear from the context, " X uses A or B " means any one that nature comprises arrangement.That is, if X uses A; X uses B; Or X uses both A and B, then " X uses A or B " is met in aforementioned arbitrary example.
And although illustrate and describe the disclosure relative to one or more implementation, those skilled in the art are based on to the reading of this instructions and accompanying drawing with understand and will expect equivalent variations and amendment.The disclosure comprises all such amendments and modification, and is only limited by the scope of claims.Especially about the various functions performed by said modules (such as element, resource etc.), term for describing such assembly is intended to the random component (unless otherwise instructed) corresponding to the appointed function (such as it is functionally of equal value) performing described assembly, even if be not structurally equal to the open structure of the function performed in exemplary implementations of the present disclosure shown in this article.In addition, although special characteristic of the present disclosure relative in some implementations only one be disclosed, this feature can with can be such as expect and other Feature Combinations one or more of other favourable implementations for given or application-specific.And, " comprise " with regard to term, " having ", " containing " or its distortion be used in embodiment or claim with regard to, such term is intended to comprise " to comprise " similar mode to term.
Each functional unit in the embodiment of the present invention can be integrated in a processing module, also can be that the independent physics of unit exists, also can be integrated in a module by two or more unit.Above-mentioned integrated module both can adopt the form of hardware to realize, and the form of software function module also can be adopted to realize.If described integrated module using the form of software function module realize and as independently production marketing or use time, also can be stored in a computer read/write memory medium.The above-mentioned storage medium mentioned can be ROM (read-only memory), disk or CD etc.Above-mentioned each device or system, can perform the method in correlation method embodiment.
In sum; although the present invention discloses as above with preferred embodiment; but above preferred embodiment is also not used to limit the present invention; those of ordinary skill in the art; without departing from the spirit and scope of the present invention; all can do various change and retouching, the scope that therefore protection scope of the present invention defines with claim is as the criterion.

Claims (10)

1. an application process management method, is characterized in that, comprising:
Receive application process switching command;
By starting the handover process function in management service, obtaining the foreground handover information of switching foreground process corresponding to described application process switching command and switching the backstage handover information of background process; And
According to described foreground handover information, foreground blocked operation is carried out to described switching foreground process; According to described backstage handover information, backstage blocked operation is carried out to described switching background process.
2. application process management method according to claim 1, it is characterized in that, described foreground handover information comprises user identifier, the application process identifier of described switching foreground process and switches foreground broadcast message, and described backstage handover information comprises user identifier, the application process identifier of described switching background process and switches backstage broadcast message.
3. application process management method according to claim 2, is characterized in that, described according to described foreground handover information, carries out foreground blocked operation to described switching foreground process; According to described backstage handover information, the step that described switching background process carries out backstage blocked operation is specially:
According to user identifier and the application process identifier of described switching foreground process, foreground blocked operation is carried out to described switching foreground process, and according to the switching foreground broadcast message of described switching foreground process, the functional module corresponding to described switching foreground process carries out foreground function switching; According to user identifier and the application process identifier of described switching background process, backstage blocked operation is carried out to described switching background process, and according to the switching backstage broadcast message of described switching background process, the functional module corresponding to described switching background process carries out background function switching.
4. application process management method according to claim 2, is characterized in that,
Described switching foreground broadcast message comprises foreground functional mode, carries out the handoff functionality module information of foreground function switching and carries out the informing function module information of foreground function notice; And
Described switching backstage broadcast message comprises background function pattern, carries out the handoff functionality module information of background function switching and carries out the informing function module information of background function notice.
5. application process management method according to claim 1, it is characterized in that, the described handover process function by starting in management service, the step obtaining the foreground handover information of switching foreground process corresponding to described application process switching command and the backstage handover information of switching background process specifically comprises:
Judge whether described switching foreground process and described switching background process are same application process;
As described in switching foreground process and as described in switching background process be same application process, then stop foreground blocked operation and the backstage blocked operation of described application process;
As described in switching foreground process and as described in switching background process be not same application process, then obtain the foreground handover information of switching foreground process corresponding to described application process switching command and switch the backstage handover information of background process.
6. an application process management devices, is characterized in that, comprising:
Command reception module, for receiving application process switching command;
Handover information acquisition module, for the handover process function by starting in management service, obtaining the foreground handover information of switching foreground process corresponding to described application process switching command and switching the backstage handover information of background process; And
Blocked operation module, for according to described foreground handover information, carries out foreground blocked operation to described switching foreground process; According to described backstage handover information, backstage blocked operation is carried out to described switching background process.
7. application process management devices according to claim 6, it is characterized in that, described foreground handover information comprises user identifier, the application process identifier of described switching foreground process and switches foreground broadcast message, and described backstage handover information comprises user identifier, the application process identifier of described switching background process and switches backstage broadcast message.
8. application process management devices according to claim 7, it is characterized in that, described blocked operation module is specifically for according to the user identifier of described switching foreground process and application process identifier, foreground blocked operation is carried out to described switching foreground process, and according to the switching foreground broadcast message of described switching foreground process, the functional module corresponding to described switching foreground process carries out foreground function switching; According to user identifier and the application process identifier of described switching background process, backstage blocked operation is carried out to described switching background process, and according to the switching backstage broadcast message of described switching background process, the functional module corresponding to described switching background process carries out background function switching.
9. application process management devices according to claim 7, is characterized in that,
Described switching foreground broadcast message comprises foreground functional mode, carries out the handoff functionality module information of foreground function switching and carries out the informing function module information of foreground function notice; And
Described switching backstage broadcast message comprises background function pattern, carries out the handoff functionality module information of background function switching and carries out the informing function module information of background function notice.
10. application process management devices according to claim 6, is characterized in that, described handover information acquisition module comprises:
Process judging unit, for judging whether described switching foreground process and described switching background process are same application process;
Switch stop unit, for as described in switching foreground process and as described in switching background process be same application process, then stop foreground blocked operation and the backstage blocked operation of described application process; And
Blocked operation unit, for as described in switching foreground process and as described in switching background process be not same application process, then obtain the foreground handover information of switching foreground process corresponding to described application process switching command and switch the backstage handover information of background process.
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 true CN105426244A (en) 2016-03-23
CN105426244B 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)

Cited By (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
CN106101837A (en) * 2016-07-15 2016-11-09 四川长虹电器股份有限公司 The method distributed for many applications keys of Linux smart television and process
CN106126392A (en) * 2016-06-30 2016-11-16 乐视控股(北京)有限公司 The determination methods of a kind of AM/BAM application program and device
CN108628642A (en) * 2017-03-20 2018-10-09 北京京东尚科信息技术有限公司 The method and apparatus and storage medium of the version of switching system
CN109714640A (en) * 2017-10-26 2019-05-03 创盛视联数码科技(北京)有限公司 The method for playing live video
CN109828849A (en) * 2018-12-05 2019-05-31 苏州蜗牛数字科技股份有限公司 A method of notifying system process when switching application
CN111953584A (en) * 2020-08-21 2020-11-17 北京一起教育信息咨询有限责任公司 Method and system for optimizing real-time message channel flow
CN113285976A (en) * 2021-04-07 2021-08-20 上海商米科技集团股份有限公司 Cloud control process management system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070220445A1 (en) * 2006-03-14 2007-09-20 David Yach Screen display in application switching
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

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070220445A1 (en) * 2006-03-14 2007-09-20 David Yach Screen display in application switching
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

Cited By (10)

* 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
CN106101837A (en) * 2016-07-15 2016-11-09 四川长虹电器股份有限公司 The method distributed for many applications keys of Linux smart television and process
CN106101837B (en) * 2016-07-15 2019-07-12 四川长虹电器股份有限公司 The method of more applications keys distribution and processing for Linux smart television
CN108628642A (en) * 2017-03-20 2018-10-09 北京京东尚科信息技术有限公司 The method and apparatus and storage medium of the version of switching system
CN108628642B (en) * 2017-03-20 2021-07-30 北京京东尚科信息技术有限公司 Method and apparatus for switching versions of system and storage medium
CN109714640A (en) * 2017-10-26 2019-05-03 创盛视联数码科技(北京)有限公司 The method for playing live video
CN109828849A (en) * 2018-12-05 2019-05-31 苏州蜗牛数字科技股份有限公司 A method of notifying system process when switching application
CN111953584A (en) * 2020-08-21 2020-11-17 北京一起教育信息咨询有限责任公司 Method and system for optimizing real-time message channel flow
CN113285976A (en) * 2021-04-07 2021-08-20 上海商米科技集团股份有限公司 Cloud control process management system

Also Published As

Publication number Publication date
CN105426244B (en) 2019-03-22

Similar Documents

Publication Publication Date Title
CN105426244A (en) Application process management method and application process management device
CN105354093A (en) Memory management method and mobile terminal
CN104793995A (en) Method and device for controlling GPS invocation
CN105468416A (en) Application program clearing method and terminal
JP2020504865A (en) Application data processing method, apparatus, and storage medium
CN102981906A (en) Application program background process management method and device
CN102316043B (en) Port virtualization method, switch and communication system
CN103761136A (en) Method for dynamically loading data model based on plug-in
CN104601529A (en) Terminal account number managing method and device
CN102301664A (en) Method and device for dispatching streams of multicore processor
CN104808991A (en) Terminal processing method
CN108880700A (en) Frequency hopping method, frequency hopping device and the mobile terminal of clock signal
US9185148B1 (en) Methods and systems for efficient discovery of devices in a peer-to-peer network
CN106126377A (en) The method and device of system start-up
CN105159764A (en) Control method for application switching of mobile terminal and mobile terminal
CN114143191A (en) Distributed gateway-based micro-service arranging method and device and related equipment
CN105700942A (en) Associated start method and associated start device for application process
CN105138107A (en) Mobile terminal downloading method and device and mobile terminal
EP3373137A1 (en) Method, apparatus and terminal device for sending broadcast
US20170235943A1 (en) Application Access Control Method and Apparatus
CN105653364A (en) Application process management method and application process management device
CN105653339A (en) Application process starting method and application process starting device
CN113535215B (en) Virtual machine hot upgrading method, device, equipment and storage medium
CN113986558A (en) Application processing method and device
CN104836892A (en) Information display method, information display device and information display terminal

Legal Events

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

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

Applicant after: 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.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant