CN105550035A - Background process control method and device - Google Patents

Background process control method and device Download PDF

Info

Publication number
CN105550035A
CN105550035A CN201510886290.9A CN201510886290A CN105550035A CN 105550035 A CN105550035 A CN 105550035A CN 201510886290 A CN201510886290 A CN 201510886290A CN 105550035 A CN105550035 A CN 105550035A
Authority
CN
China
Prior art keywords
background process
instruction
priority
locks
frequency
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510886290.9A
Other languages
Chinese (zh)
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.)
Beijing Xiaomi Technology Co Ltd
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201510886290.9A priority Critical patent/CN105550035A/en
Publication of CN105550035A publication Critical patent/CN105550035A/en
Pending legal-status Critical Current

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/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5011Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
    • G06F9/5016Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals the resource being the memory
    • 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
    • G06F9/4881Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues
    • 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/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • G06F9/5038Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals considering the execution order of a plurality of tasks, e.g. taking priority or time dependency constraints into consideration

Abstract

Embodiments of the invention provide a background process control method and device. The method at terminal equipment side comprises the following steps: receiving a locking instruction for a background process; and enhancing the priority of the background process according to the locking instruction. In the embodiments, the background processes can be locked according to the instructions of users or the instructions of cloud servers, namely, the priorities of the background processes are improved initiatively, so that the important background processes can reside in the background, the problem that the background processes are mistakenly stopped by the operation system when the memory is not enough is solved, and the user experience is improved.

Description

Background process control method and device
Technical field
The disclosure relates to communication technical field, particularly relates to background process control method and device.
Background technology
For terminal devices such as mobile phones, its internal memory is normally limited, and when there being numerous application programs all at running background, the internal memory of terminal device may be saturated or close to saturated, there is the situation used up of internal memory, thus slowly even collapsing of causing terminal device travelling speed to become.
In the prior art, the operating system of terminal device, such as Android (Android) system, if discovering device EMS memory occupation is higher, then can initiatively close some background process, with releasing memory.
Summary of the invention
For overcoming Problems existing in correlation technique, the disclosure provides background process control method and device, to solve the problem that those are closed by operating system mistake when internal memory is nervous the background process of user's outbalance.
According to the first aspect of disclosure embodiment, provide a kind of background process control method, described method comprises:
Receive the instruction that locks to background process;
According to the described instruction that locks, promote the priority of described background process.
Like this by the instruction of user or the instruction of Cloud Server, for background process locks, namely initiatively improve its priority, the background process making these important to user can reside backstage, solve the problem of being closed by operating system mistake when internal memory is nervous, also improve Consumer's Experience.
Optionally, described reception, to the instruction that locks of background process, comprising:
In the interface for showing current background process, judge whether to detect that user is to the click of described background process corresponding icon and pulling operation;
If described click detected and pulling operation, then determine to receive the instruction that locks to described background process.
Such user just can reside the process on backstage from main separation by operation.
Optionally, described click being detected and after pulling operation, described method also comprises:
In the rear platform process corresponding icon adds the mark locked.
Which process such user just clearly can distinguish is locked.
Optionally, the priority of the described background process of described lifting, comprising:
Revise the field value of specific field in the progress information of described background process, described field value is used for the priority maximal value indicating described background process to described operating system.
Optionally, described method also comprises:
Priority after being promoted by described background process is stored in the local data base of terminal device;
When after described restarting terminal device, according to described local data base, the priority of described background process is set to the priority after described lifting.
Even if terminal device shuts down, restarts like this, then still effective by the process locked, still having high priority after start, can avoiding when clearing up internal memory by system closing.
According to the second aspect of disclosure embodiment, provide a kind of background process control method, described method comprises:
The frequency of utilization of the application on described terminal device is obtained from least two terminal devices;
Described frequency of utilization is defined as frequency applications higher than the application of preset value;
Send to described terminal device the instruction that locks, described in lock instruction for promoting the priority of the background process of described frequency applications.
Like this by the instruction of user or the instruction of Cloud Server, for background process locks, namely initiatively improve its priority, the background process making these important to user can reside backstage, solve the problem of being closed by operating system mistake when internal memory is nervous, also improve Consumer's Experience.
According to the third aspect of disclosure embodiment, provide a kind of background process control device, described device comprises:
The command reception that locks module, for receiving the instruction that locks to background process;
PROCESS CONTROL MODULE, for the instruction that locks that the command reception module that locks described in basis receives, promotes the priority of described background process.
Like this by the instruction of user or the instruction of Cloud Server, for background process locks, namely initiatively improve its priority, the background process making these important to user can reside backstage, solve the problem of being closed by operating system mistake when internal memory is nervous, also improve Consumer's Experience.
Optionally, the command reception that locks described in module comprises:
Operation detection submodule, in the interface of display current background process, judges whether to detect that user is to the click of described background process corresponding icon and pulling operation;
Lock instruction determination submodule, for described click being detected when described operation detection submodule and after pulling operation, determining to receive the instruction that locks to described background process.
Such user just can reside the process on backstage from main separation by operation.
Optionally, described device also comprises:
Lock mark module, in platform process corresponding icon in the rear, add the mark locked.
Which process such user just clearly can distinguish is locked.
Optionally, described PROCESS CONTROL MODULE is used for:
Revise the field value of specific field in the progress information of described background process, described field value is used for the priority maximal value indicating described background process to described operating system.
Optionally, described device also comprises:
Priority memory module, for the priority after described background process being promoted stored in the local data base of terminal device, when after described restarting terminal device, is set to the priority after described lifting according to described local data base by the priority of described background process.
Even if terminal device shuts down, restarts like this, then still effective by the process locked, still having high priority after start, can avoiding when clearing up internal memory by system closing.
According to the fourth aspect of disclosure embodiment, provide a kind of background process control device, described device comprises:
Frequency of utilization acquisition module, for obtaining the frequency of utilization of the application on described terminal device from least two terminal devices;
Frequency applications determination module, is defined as frequency applications for the frequency of utilization that described frequency of utilization acquisition module obtained higher than the application of preset value;
Instruction sending module, for sending to described terminal device the instruction that locks, described in lock instruction for promoting the priority of the background process of the determined frequency applications of described frequency applications determination module.
Like this by the instruction of user or the instruction of Cloud Server, for background process locks, namely initiatively improve its priority, the background process making these important to user can reside backstage, solve the problem of being closed by operating system mistake when internal memory is nervous, also improve Consumer's Experience.
According to the 5th aspect of disclosure embodiment, a kind of background process control device is provided, comprises:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
Receive the instruction that locks to background process;
According to the described instruction that locks, promote the priority of described background process.
Like this by the instruction of user or the instruction of Cloud Server, for background process locks, namely initiatively improve its priority, the background process making these important to user can reside backstage, solve the problem of being closed by operating system mistake when internal memory is nervous, also improve Consumer's Experience.
According to the 6th aspect of disclosure embodiment, a kind of background process control device is provided, comprises:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
The frequency of utilization of the application on described terminal device is obtained from least two terminal devices;
Described frequency of utilization is defined as frequency applications higher than the application of preset value;
Send to described terminal device the instruction that locks, described in lock instruction for promoting the priority of the background process of described frequency applications.
Like this by the instruction of user or the instruction of Cloud Server, for background process locks, namely initiatively improve its priority, the background process making these important to user can reside backstage, solve the problem of being closed by operating system mistake when internal memory is nervous, also improve Consumer's Experience.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect:
For the mobile phone installing android system, android system adds low internal memory treatment mechanism on the primary basis of Linux, namely can close some background process according to the priority of background process when free memory is lower time.But some important background process can be caused like this, the former background process that is that wouldn't like to close or that used by popular high frequency of such as user, but by the closedown of operating system mistake.In the disclosed embodiments, can according to the instruction of the instruction of user or Cloud Server, for background process locks, namely its priority is initiatively improved, the background process making these important can reside backstage, solve the problem of being closed by operating system mistake when internal memory is nervous, also improve Consumer's Experience.
Should be understood that, it is only exemplary and explanatory that above general description and details hereinafter describe, and can not limit the disclosure.
Accompanying drawing explanation
Accompanying drawing to be herein merged in instructions and to form the part of this instructions, shows embodiment according to the invention, and is used from instructions one and explains principle of the present invention.
Fig. 1 is the process flow diagram of a kind of background process control method according to an exemplary embodiment;
Fig. 2 is the principle schematic of a kind of background process control method according to an exemplary embodiment;
Fig. 3 is the process flow diagram of a kind of background process control method according to an exemplary embodiment;
Fig. 4 is the operation chart that locks according to an exemplary embodiment;
Fig. 5 is the mark schematic diagram that locks according to an exemplary embodiment;
Fig. 6 is the process flow diagram of a kind of background process control method according to an exemplary embodiment;
Fig. 7 is the process flow diagram of a kind of background process control method according to an exemplary embodiment;
Fig. 8 is that the server according to an exemplary embodiment obtains the schematic diagram applying frequency of utilization from each terminal device;
Fig. 9 is the block diagram of a kind of background process control device according to an exemplary embodiment;
Figure 10 is the block diagram of a kind of background process control device according to an exemplary embodiment;
Figure 11 is the block diagram of a kind of background process control device according to an exemplary embodiment;
Figure 12 is the block diagram of a kind of background process control device according to an exemplary embodiment;
Figure 13 is the block diagram of a kind of background process control device according to an exemplary embodiment;
Figure 14 is the block diagram of a kind of device for background process control according to an exemplary embodiment;
Figure 15 is the block diagram of a kind of device for background process control according to an exemplary embodiment.
Embodiment
Here will be described exemplary embodiment in detail, its sample table shows in the accompanying drawings.When description below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawing represents same or analogous key element.Embodiment described in following exemplary embodiment does not represent all embodiments consistent with the present invention.On the contrary, they only with as in appended claims describe in detail, the example of apparatus and method that aspects more of the present invention are consistent.
Terminal device herein can be mobile phone, panel computer, E-book reader, MP3 (MovingPictureExpertsGroupAudioLayerIII, dynamic image expert compression standard audio frequency aspect 3) player, MP4 (MovingPictureExpertsGroupAudioLayerIV, dynamic image expert compression standard audio frequency aspect 4) player and pocket computer on knee etc.
Fig. 1 is the process flow diagram of a kind of background process control method according to an exemplary embodiment.The method can be used for the terminal device such as mobile phone, panel computer.
In step S101, receive the instruction that locks to background process.
In the present embodiment, proposing the way that background process is locked, realizing the object that this background process can not be closed by operating system by locking to background process.Exemplarily, the instruction that locks can be sent by user, and such as user sends by carrying out certain operation on interface the instruction that locks; The instruction that locks also can be sent by server, and such as server can send message indicating terminal equipment and automatically lock to this background process after certain process proceeds to backstage.
In step s 102, according to the described instruction that locks, the priority of described background process is promoted.Described background process so just can be made not to be closed when the operating system of terminal device reclaims internal memory.
In the present embodiment, be realize by promoting the priority of background process to the latching operation that adds of background process.For android system, android system increases low internal memory treatment mechanism on the primary basis of Linux, and the priority according to process when free memory is lower time closes background process, with releasing memory.And in the present embodiment, improve the priority of the background process that will lock, this background process can be avoided to be closed by system by mistake.
Fig. 2 is the principle schematic of the present embodiment, and in fig. 2, interior of mobile phone can be divided into three layers, is UI (user interface) layer, android system layer and linux system layer respectively.After certain APP (application) is locked by user, whetstone module can be triggered.Whetstone module belongs to internal memory optimization module, and be mainly used in internally depositing into Cheng Jinhang and control, this module can pass through the priority that ActivityManagerService revises (belonging to the service of Android inside) process of this application.When the low memory management module of linux system wants releasing memory, the priority of each process can be obtained from ActivityManagerService, optionally close according to the height of each process according to priority.
In the present embodiment or the disclosure some other embodiments, the priority of the described background process of described lifting, can comprise:
Revise the field value of specific field in the progress information of described background process, described field value is used for the priority maximal value indicating described background process to described operating system.
Still for android system, maxAdj (greatest priority) field of process can be revised.The priority of general application is 0 ~ 16, the larger then priority of numerical value is lower, although the priority of android system to application is dynamic calculation, but still can go according to maxAdj the rank adjusting application, allow the numerical priority value of application be greater than maxAdj, also namely allow priority be not less than certain degree.So when needs lock to process, the priority of process can be promoted by improving maxAdj.
And when needs unlock background process, then the priority recovering this background process is default value, such as, the field value of this specific field is reverted to default value.
Shown in Figure 3, in the present embodiment or the disclosure some other embodiments, described reception, to the instruction that locks of background process, can comprise:
In step S301, in the interface for showing current background process, judge whether to detect that user is to the click of described background process corresponding icon and pulling operation.
In step s 302, if described click detected and pulling operation, then determine to receive the instruction that locks to described background process.
Exemplarily can be shown in Figure 4, in the diagram, user can recall the interface of display current background process, then presses the icon of application 3 and drop-down, thus sends the instruction that locks.
In the present embodiment or the disclosure some other embodiments, described click being detected and after pulling operation, described method can also comprise:
In the rear platform process corresponding icon adds the mark locked.
Such user just clearly can learn currently have which background process to be locked.
Exemplarily can be shown in Figure 5, in Figure 5, because user locks to application 3, so in the interface for showing current background process, the mark that the figure rotating savings applying 3 locks with.
If user wants to unlock, then again can press the application icon of 3 and drop-down, thus remove the mark locked.
In addition shown in Figure 6, in the present embodiment or the disclosure some other embodiments, described method can also comprise:
In step s 601, the priority after being promoted by described background process is stored in the local data base of terminal device.
In step S602, when after described restarting terminal device, according to described local data base, the priority of described background process is set to the priority after described lifting.
Like this, even if terminal device shuts down, restarts, then still effective by the process locked, still having high priority after start, can avoiding when clearing up internal memory by system closing.
In the present embodiment, can according to the instruction of the instruction of user or Cloud Server, for background process locks, namely its priority is initiatively improved, the background process making these important to user can reside backstage, solve the problem of being closed by operating system mistake when internal memory is nervous, also improve Consumer's Experience.
Fig. 7 is the process flow diagram of a kind of background process control method according to an exemplary embodiment.The method can be used for server.
In step s 701, the frequency of utilization of the application on described terminal device is obtained from least two terminal devices.
Exemplarily can be shown in Figure 8, in fig. 8,801 is the server in high in the clouds, and it can send instruction to mobile phone 802 ~ 804, requires that it reports the information such as the frequency of utilization of each application in it.
In step S702, described frequency of utilization is defined as frequency applications higher than the application of preset value.
Such as, server by statistics find QQ, micro-letter, excellent cruel, rice is chatted etc. is applied in frequency of utilization in users higher than certain preset value, then these application can be decided to be frequency applications.
In step S703, send to described terminal device the instruction that locks, described in lock instruction for promoting the priority of the background process of described frequency applications, be not closed when operating system reclaims internal memory to make the background process of described frequency applications.
Like this, server is by sending to each terminal device the instruction that locks, the priority of these frequency applications in terminal device can be made to be enhanced, make it to reside backstage, not by Automatic clearance, user frequently can open these application again, thus improves operating efficiency when user uses mobile phone, also improves Consumer's Experience.
Following is disclosure device embodiment, may be used for performing disclosure embodiment of the method.
Fig. 9 is the block diagram of a kind of background process control device according to an exemplary embodiment.This device can be used for the terminal device such as mobile phone, panel computer.
The command reception that locks module 901, for receiving the instruction that locks to background process.
In the present embodiment, proposing the way that background process is locked, realizing the object that this background process can not be closed by operating system by locking to background process.Exemplarily, the instruction that locks can be sent by user, and such as user sends by carrying out certain operation on interface the instruction that locks; The instruction that locks also can be sent by server, and such as server can send message indicating terminal equipment and automatically lock to this background process after certain process proceeds to backstage.
PROCESS CONTROL MODULE 902, for the instruction that locks that the command reception module 901 that locks described in basis receives, promotes the priority of described background process.Described background process so just can be made not to be closed when the operating system of terminal device reclaims internal memory.
In the present embodiment, be realize by promoting the priority of background process to the latching operation that adds of background process.For android system, android system increases low internal memory treatment mechanism on the primary basis of Linux, and the priority according to process when free memory is lower time closes background process, with releasing memory.And in the present embodiment, improve the priority of the background process that will lock, this background process can be avoided to be closed by system by mistake.
Fig. 2 is the principle schematic of the present embodiment, and in fig. 2, interior of mobile phone can be divided into three layers, is UI (user interface) layer, android system layer and linux system layer respectively.After certain APP (application) is locked by user, whetstone module can be triggered.Whetstone module belongs to internal memory optimization module, and be mainly used in internally depositing into Cheng Jinhang and control, this module can pass through the priority that ActivityManagerService revises (belonging to the service of Android inside) process of this application.When the low memory management module of linux system wants releasing memory, the priority of each process can be obtained from ActivityManagerService, optionally close according to the height of each process according to priority.
Shown in Figure 10, described in the command reception module 901 that locks can comprise:
Operation detection submodule 9011, in the interface of display current background process, judges whether to detect that user is to the click of described background process corresponding icon and pulling operation.
Lock instruction determination submodule 9012, for described click being detected when described operation detection submodule 9011 and after pulling operation, determining to receive the instruction that locks to described background process.
Exemplarily can be shown in Figure 4, in the diagram, user can recall the interface of display current background process, then presses the icon of application 3 and drop-down, thus sends the instruction that locks.
Shown in Figure 11, in the present embodiment or the disclosure some other embodiments, described device can also comprise:
Lock mark module 903, in platform process corresponding icon in the rear, add the mark locked.
Like this, user just clearly can learn currently have which background process to be locked.
In the present embodiment or the disclosure some other embodiments, described PROCESS CONTROL MODULE may be used for:
Revise the field value of specific field in the progress information of described background process, described field value is used for the priority maximal value indicating described background process to described operating system.
Still for android system, maxAdj (greatest priority) field of process can be revised.The priority of general application is 0 ~ 16, the larger then priority of numerical value is lower, although the priority of android system to application is dynamic calculation, but still can go according to maxAdj the rank adjusting application, allow the numerical priority value of application be greater than maxAdj, also namely allow priority be not less than certain degree.So when needs lock to process, the priority of process can be promoted by improving maxAdj.
And when needs unlock background process, then the priority recovering this background process is default value, such as, the field value of this specific field is reverted to default value.
Shown in Figure 12, in the present embodiment or the disclosure some other embodiments, described device can also comprise:
Priority memory module 904, for the local data base of the priority after described background process is promoted stored in terminal device, when after described restarting terminal device, according to described local data base, the priority of described background process is set to the priority after described lifting.
Like this, even if terminal device shuts down, restarts, then still effective by the process locked, still having high priority after start, can avoiding when clearing up internal memory by system closing.
In the present embodiment, can according to the instruction of the instruction of user or Cloud Server, for background process locks, namely its priority is initiatively improved, the background process making these important to user can reside backstage, solve the problem of being closed by operating system mistake when internal memory is nervous, also improve Consumer's Experience.
Figure 13 is the block diagram of a kind of background process control device according to an exemplary embodiment.This device can be used for server.
Frequency of utilization acquisition module 1301, for obtaining the frequency of utilization of the application on described terminal device from least two terminal devices.
Exemplarily can be shown in Figure 8, in fig. 8,801 is the server in high in the clouds, and it can send instruction to mobile phone 802 ~ 804, requires that it reports the information such as the frequency of utilization of each application in it.
Frequency applications determination module 1302, is defined as frequency applications for the frequency of utilization that obtained by described frequency of utilization acquisition module 1301 higher than the application of preset value.
Such as, server by statistics find QQ, micro-letter, excellent cruel, rice is chatted etc. is applied in frequency of utilization in users higher than certain preset value, then these application can be decided to be frequency applications.
Instruction sending module 1303, for sending to described terminal device the instruction that locks, described in lock instruction for promoting the priority of the background process of the determined frequency applications of described frequency applications determination module 1302.
Like this, server is by sending to each terminal device the instruction that locks, the priority of these frequency applications in terminal device can be made to be enhanced, make it to reside backstage, not by Automatic clearance, user frequently can open these application again, thus improves operating efficiency when user uses mobile phone, also improves Consumer's Experience.
The disclosure also discloses a kind of background process control device, comprising:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
Receive the instruction that locks to background process;
According to the described instruction that locks, promote the priority of described background process.
The disclosure also discloses a kind of non-transitory computer-readable recording medium, and when the instruction in described storage medium is performed by the processor of terminal device, make terminal device can perform a kind of background process control method, described method comprises:
Receive the instruction that locks to background process;
According to the described instruction that locks, promote the priority of described background process.
The disclosure also discloses a kind of background process control device, comprising:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
The frequency of utilization of the application on described terminal device is obtained from least two terminal devices;
Described frequency of utilization is defined as frequency applications higher than the application of preset value;
Send to described terminal device the instruction that locks, described in lock instruction for promoting the priority of the background process of described frequency applications.
The disclosure also discloses a kind of non-transitory computer-readable recording medium, and when the instruction in described storage medium is performed by the processor of server, make server can perform a kind of background process control method, described method comprises:
The frequency of utilization of the application on described terminal device is obtained from least two terminal devices;
Described frequency of utilization is defined as frequency applications higher than the application of preset value;
Send to described terminal device the instruction that locks, described in lock instruction for promoting the priority of the background process of described frequency applications.
Figure 14 is the block diagram of a kind of device for background process control according to an exemplary embodiment.This device and the device shown in figure 1400, this device 1400 can be such as mobile phone, computing machine, digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices, body-building equipment, personal digital assistant etc.
With reference to Figure 14, device 1400 can comprise following one or more assembly: processing components 1402, storer 1404, power supply module 1406, multimedia groupware 1408, audio-frequency assembly 1410, the interface 1412 of I/O (I/O), sensor module 1414, and communications component 1416.
The integrated operation of the usual control device 1400 of processing components 1402, such as with display, call, data communication, camera operation and record operate the operation be associated.Processing components 1402 can comprise one or more processor 1420 to perform instruction, to complete all or part of step of above-mentioned method.In addition, processing components 1402 can comprise one or more module, and what be convenient between processing components 1402 and other assemblies is mutual.Such as, processing components 1402 can comprise multi-media module, mutual with what facilitate between multimedia groupware 1408 and processing components 1402.
Storer 1404 is configured to store various types of data to be supported in the operation of equipment 1400.The example of these data comprises for any application program of operation on device 1400 or the instruction of method, contact data, telephone book data, message, picture, video etc.Storer 1404 can be realized by the volatibility of any type or non-volatile memory device or their combination, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), ROM (read-only memory) (ROM), magnetic store, flash memory, disk or CD.
The various assemblies that power supply module 1406 is device 1400 provide electric power.Power supply module 1406 can comprise power-supply management system, one or more power supply, and other and the assembly generating, manage and distribute electric power for device 1400 and be associated.
Multimedia groupware 1408 is included in the screen providing an output interface between described device 1400 and user.In certain embodiments, screen can comprise liquid crystal display (LCD) and touch panel (TP).If screen comprises touch panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel comprises one or more touch sensor with the gesture on sensing touch, slip and touch panel.Described touch sensor can the border of not only sensing touch or sliding action, but also detects the duration relevant to described touch or slide and pressure.In certain embodiments, multimedia groupware 1408 comprises a front-facing camera and/or post-positioned pick-up head.When device 1400 is in operator scheme, during as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom ability.
Audio-frequency assembly 1410 is configured to export and/or input audio signal.Such as, audio-frequency assembly 1410 comprises a microphone (MIC), and when device 1400 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is configured to receive external audio signal.The sound signal received can be stored in storer 1404 further or be sent via communications component 1416.In certain embodiments, audio-frequency assembly 1410 also comprises a loudspeaker, for output audio signal.
I/O interface 1412 is for providing interface between processing components 1402 and peripheral interface module, and above-mentioned peripheral interface module can be keyboard, some striking wheel, button etc.These buttons can include but not limited to: home button, volume button, start button and locking press button.
Sensor module 1414 comprises one or more sensor, for providing the state estimation of various aspects for device 1400.Such as, sensor module 1414 can detect the opening/closing state of equipment 1400, the relative positioning of assembly, such as described assembly is display and the keypad of device 1400, the position of all right pick-up unit 1400 of sensor module 1414 or device 1400 assemblies changes, the presence or absence that user contacts with device 1400, the temperature variation of device 1400 orientation or acceleration/deceleration and device 1400.Sensor module 1414 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor module 1414 can also comprise optical sensor, as CMOS or ccd image sensor, for using in imaging applications.In certain embodiments, this sensor module 1414 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure transducer or temperature sensor.
Communications component 1416 is configured to the communication being convenient to wired or wireless mode between device 1400 and other equipment.Device 1400 can access the wireless network based on communication standard, as WiFi, 2G or 3G, or their combination.In one exemplary embodiment, communications component 1416 receives from the broadcast singal of external broadcasting management system or broadcast related information via broadcast channel.In one exemplary embodiment, described communications component 1416 also comprises near-field communication (NFC) module, to promote junction service.Such as, can based on radio-frequency (RF) identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 1400 can be realized, for performing the said method of end side by one or more application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD) (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components.
Figure 15 is the block diagram of a kind of device for background process control according to an exemplary embodiment.Such as, this device 1500 may be provided in a server.
With reference to Figure 15, device 1500 comprises processing components 1522, and it comprises one or more processor further, and the memory resource representated by storer 1532, can such as, by the instruction of the execution of processing components 1522, application program for storing.The application program stored in storer 1532 can comprise each module corresponding to one group of instruction one or more.In addition, processing components 1522 is configured to perform instruction, to perform the method for above-mentioned server side.
Device 1500 can also comprise the power management that a power supply module 1526 is configured to actuating unit 1500, and a wired or wireless network interface 1550 is configured to device 1500 to be connected to network, and input and output (I/O) interface 1558.Device 1500 can operate the operating system based on being stored in storer 1532, such as WindowsServerTM, MacOSXTM, UnixTM, LinuxTM, FreeBSDTM or similar.
Those skilled in the art, at consideration instructions and after putting into practice invention disclosed herein, will easily expect other embodiment of the present invention.The application is intended to contain any modification of the present invention, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present invention and comprised the undocumented common practise in the art of the disclosure or conventional techniques means.Instructions and embodiment are only regarded as exemplary, and true scope of the present invention and spirit are pointed out by appended claim.
Should be understood that, the present invention is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various amendment and change not departing from its scope.Scope of the present invention is only limited by appended claim.

Claims (14)

1. a background process control method, is characterized in that, described method comprises:
Receive the instruction that locks to background process;
According to the described instruction that locks, promote the priority of described background process.
2. method according to claim 1, is characterized in that, described reception, to the instruction that locks of background process, comprising:
In the interface for showing current background process, judge whether to detect that user is to the click of described background process corresponding icon and pulling operation;
If described click detected and pulling operation, then determine to receive the instruction that locks to described background process.
3. method according to claim 2, is characterized in that, described click being detected and after pulling operation, described method also comprises:
In the rear platform process corresponding icon adds the mark locked.
4. method according to claim 1, is characterized in that, the priority of the described background process of described lifting, comprising:
Revise the field value of specific field in the progress information of described background process, described field value is used for the priority maximal value indicating described background process to described operating system.
5. method according to claim 1, is characterized in that, described method also comprises:
Priority after being promoted by described background process is stored in the local data base of terminal device;
When after described restarting terminal device, according to described local data base, the priority of described background process is set to the priority after described lifting.
6. a background process control method, is characterized in that, described method comprises:
The frequency of utilization of the application on described terminal device is obtained from least two terminal devices;
Described frequency of utilization is defined as frequency applications higher than the application of preset value;
Send to described terminal device the instruction that locks, described in lock instruction for promoting the priority of the background process of described frequency applications.
7. a background process control device, is characterized in that, described device comprises:
The command reception that locks module, for receiving the instruction that locks to background process;
PROCESS CONTROL MODULE, for the instruction that locks that the command reception module that locks described in basis receives, promotes the priority of described background process.
8. device according to claim 7, is characterized in that, described in the command reception module that locks comprise:
Operation detection submodule, in the interface of display current background process, judges whether to detect that user is to the click of described background process corresponding icon and pulling operation;
Lock instruction determination submodule, for described click being detected when described operation detection submodule and after pulling operation, determining to receive the instruction that locks to described background process.
9. device according to claim 8, is characterized in that, described device also comprises:
Lock mark module, in platform process corresponding icon in the rear, add the mark locked.
10. device according to claim 7, is characterized in that, described PROCESS CONTROL MODULE is used for:
Revise the field value of specific field in the progress information of described background process, described field value is used for the priority maximal value indicating described background process to described operating system.
11. devices according to claim 7, is characterized in that, described device also comprises:
Priority memory module, for the priority after described background process being promoted stored in the local data base of terminal device, when after described restarting terminal device, is set to the priority after described lifting according to described local data base by the priority of described background process.
12. 1 kinds of background process control device, is characterized in that, described device comprises:
Frequency of utilization acquisition module, for obtaining the frequency of utilization of the application on described terminal device from least two terminal devices;
Frequency applications determination module, is defined as frequency applications for the frequency of utilization that described frequency of utilization acquisition module obtained higher than the application of preset value;
Instruction sending module, for sending to described terminal device the instruction that locks, described in lock instruction for promoting the priority of the background process of the determined frequency applications of described frequency applications determination module.
13. 1 kinds of background process control device, is characterized in that, comprising:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
Receive the instruction that locks to background process;
According to the described instruction that locks, promote the priority of described background process.
14. 1 kinds of background process control device, is characterized in that, comprising:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
The frequency of utilization of the application on described terminal device is obtained from least two terminal devices;
Described frequency of utilization is defined as frequency applications higher than the application of preset value;
Send to described terminal device the instruction that locks, described in lock instruction for promoting the priority of the background process of described frequency applications.
CN201510886290.9A 2015-12-04 2015-12-04 Background process control method and device Pending CN105550035A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510886290.9A CN105550035A (en) 2015-12-04 2015-12-04 Background process control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510886290.9A CN105550035A (en) 2015-12-04 2015-12-04 Background process control method and device

Publications (1)

Publication Number Publication Date
CN105550035A true CN105550035A (en) 2016-05-04

Family

ID=55829232

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510886290.9A Pending CN105550035A (en) 2015-12-04 2015-12-04 Background process control method and device

Country Status (1)

Country Link
CN (1) CN105550035A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106095558A (en) * 2016-06-16 2016-11-09 广东欧珀移动通信有限公司 A kind of method of audio effect processing and terminal
CN106201717A (en) * 2016-07-01 2016-12-07 珠海市魅族科技有限公司 A kind of method managing Installed System Memory and terminal
CN106250216A (en) * 2016-07-21 2016-12-21 宇龙计算机通信科技(深圳)有限公司 A kind of method clearing up internal memory and terminal
CN106331861A (en) * 2016-08-11 2017-01-11 四川天邑康和通信股份有限公司 Method for cleaning space of set top box
CN107589994A (en) * 2017-08-16 2018-01-16 深圳市爱培科技术股份有限公司 Method, equipment, system and the storage medium of application process priority management
CN108776615A (en) * 2018-05-24 2018-11-09 四川斐讯信息技术有限公司 A kind of method and system for preventing background process from accidentally being closed when mobile phone EMS memory anxiety
CN109324883A (en) * 2018-08-29 2019-02-12 烽火通信科技股份有限公司 The EMS memory management process and system of intelligent terminal
CN109710363A (en) * 2018-12-26 2019-05-03 北京金山安全软件有限公司 Method and device for preventing application program from being cleaned, terminal equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103164268A (en) * 2013-04-02 2013-06-19 北京奇虎科技有限公司 System optimization method and system optimization device
CN103324536A (en) * 2012-03-23 2013-09-25 宇龙计算机通信科技(深圳)有限公司 Terminal and application program protection method
CN103778007A (en) * 2014-02-14 2014-05-07 贝壳网际(北京)安全技术有限公司 Application managing method and device
CN104077191A (en) * 2014-07-18 2014-10-01 广州金山网络科技有限公司 Method and device used for managing memory resources
CN104375896A (en) * 2013-08-16 2015-02-25 联想(北京)有限公司 Information processing method and electronic equipment
CN104714874A (en) * 2015-02-28 2015-06-17 深圳市中兴移动通信有限公司 Method for intelligently optimizing internal storage of mobile terminal and mobile terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103324536A (en) * 2012-03-23 2013-09-25 宇龙计算机通信科技(深圳)有限公司 Terminal and application program protection method
CN103164268A (en) * 2013-04-02 2013-06-19 北京奇虎科技有限公司 System optimization method and system optimization device
CN104375896A (en) * 2013-08-16 2015-02-25 联想(北京)有限公司 Information processing method and electronic equipment
CN103778007A (en) * 2014-02-14 2014-05-07 贝壳网际(北京)安全技术有限公司 Application managing method and device
CN104077191A (en) * 2014-07-18 2014-10-01 广州金山网络科技有限公司 Method and device used for managing memory resources
CN104714874A (en) * 2015-02-28 2015-06-17 深圳市中兴移动通信有限公司 Method for intelligently optimizing internal storage of mobile terminal and mobile terminal

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106095558A (en) * 2016-06-16 2016-11-09 广东欧珀移动通信有限公司 A kind of method of audio effect processing and terminal
CN106095558B (en) * 2016-06-16 2019-05-10 Oppo广东移动通信有限公司 A kind of method and terminal of audio effect processing
US10853092B2 (en) 2016-06-16 2020-12-01 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method and device for sound effect processing
US11023254B2 (en) 2016-06-16 2021-06-01 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method and device for sound effect processing and storage medium
CN106201717A (en) * 2016-07-01 2016-12-07 珠海市魅族科技有限公司 A kind of method managing Installed System Memory and terminal
CN106250216A (en) * 2016-07-21 2016-12-21 宇龙计算机通信科技(深圳)有限公司 A kind of method clearing up internal memory and terminal
CN106331861A (en) * 2016-08-11 2017-01-11 四川天邑康和通信股份有限公司 Method for cleaning space of set top box
CN107589994A (en) * 2017-08-16 2018-01-16 深圳市爱培科技术股份有限公司 Method, equipment, system and the storage medium of application process priority management
CN108776615A (en) * 2018-05-24 2018-11-09 四川斐讯信息技术有限公司 A kind of method and system for preventing background process from accidentally being closed when mobile phone EMS memory anxiety
CN109324883A (en) * 2018-08-29 2019-02-12 烽火通信科技股份有限公司 The EMS memory management process and system of intelligent terminal
CN109710363A (en) * 2018-12-26 2019-05-03 北京金山安全软件有限公司 Method and device for preventing application program from being cleaned, terminal equipment and storage medium

Similar Documents

Publication Publication Date Title
CN105550035A (en) Background process control method and device
CN104239094A (en) Method and device for controlling background application programs and terminal equipment
CN104486451B (en) Application program recommends method and device
CN104050035A (en) Processing method and device for application program
CN104219388A (en) Voice control method and device
CN105094577A (en) Method and apparatus for application switching
CN105159559A (en) Mobile terminal control method and mobile terminal
CN105487658A (en) Application operation control method and apparatus
CN104298547A (en) Terminal setting method and device
CN105224349A (en) The deletion reminding method of application program and device
CN105511907A (en) Application program upgrade method, device and system
CN104766005A (en) Management method and device for application software access authority
CN104035979A (en) Object recommendation method and related device
CN104320774A (en) Updating method, device and facility
CN104837154A (en) Wireless access point control method and device
CN104298424A (en) File operation method and device
CN104767857A (en) Telephone calling method and device based on cloud name cards
CN103916468A (en) System upgrading method, terminal, server and upgrading system
CN104571709A (en) Mobile terminal and processing method of virtual keys
CN105511852A (en) Screen display processing method, and device and equipment
CN105468281A (en) Setup interface display method and device
CN105657690A (en) Method and device for processing mobile terminal setting information
CN105468417A (en) Application software installation method and device
CN105187671A (en) Recording method and device
CN104615931A (en) Prompt dialog box display control method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20160504

RJ01 Rejection of invention patent application after publication