CN104699530A - Progress control method and device and intelligent terminal equipment - Google Patents
Progress control method and device and intelligent terminal equipment Download PDFInfo
- Publication number
- CN104699530A CN104699530A CN201310646063.XA CN201310646063A CN104699530A CN 104699530 A CN104699530 A CN 104699530A CN 201310646063 A CN201310646063 A CN 201310646063A CN 104699530 A CN104699530 A CN 104699530A
- Authority
- CN
- China
- Prior art keywords
- controlled
- operation information
- control
- control operation
- control time
- 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
Links
Landscapes
- Telephone Function (AREA)
Abstract
The embodiment of the invention provides a progress control method and device and intelligent terminal equipment. The method comprises the following steps: determining the current progress of the intelligent terminal equipment, and acquiring the control right of a progress interface of the current progress; determining a to-be-controlled progress from the current progress, and setting control time and control operation information for the to-be-controlled progress; when the control time is due, if the to-be-controlled progress is still in a running state, revoking an operation program corresponding to the control operation information, and executing control operation on the to-be-controlled progress through the controlled progress interface of the to-be-controlled progress. The control mode of the embodiment is simpler and more convenient, and the requirement of carrying out delay control on the application progress is met.
Description
Technical field
The present invention relates to process processing technology field, more particularly, relate to a kind of course control method, device and intelligent terminal.
Background technology
Intelligent terminal for being mounted with the terminal device of intelligent operating system (as android system, Ios system, WindowsPhone system etc.), as smart mobile phone etc.; Along with popularizing of intelligent terminal, incident software application also emerges in an endless stream, and how to carry out management to mixed and disorderly application process and controls, become a focus of people's research.
At present, management for intelligent terminal application process controls usually in the following way: the application process that can retrieve in intelligent terminal enumerated and display, user can choose the application process shown, and control operation information is arranged to chosen application process, intelligent terminal immediately carries out correspondingly control operation to chosen application process; As user can choose the application process shown, and arrange chosen application process and terminate to run, then intelligent terminal can the immediately running status of application process chosen of end user, realizes the closedown of the application process chosen.
The present inventor finds in research and practice process, at least there is following technical matters in prior art: prior art is after user is provided with control operation information to chosen application process, intelligent terminal immediately will carry out correspondingly control operation to chosen application process, this control mode depends on user and operates constantly, although achieve the instant control operation of application processes, but need user constantly application processes exercise supervision, control mode comparatively bothers, and cannot meet the delays time to control requirement of application processes.
Summary of the invention
In view of this, the embodiment of the present invention provides a kind of course control method, device and intelligent terminal, with solve existing intelligent terminal application process management control mode need user constantly application processes exercise supervision, control mode comparatively bothers, and application processes cannot carry out the problem of delays time to control.
For achieving the above object, the embodiment of the present invention provides following technical scheme:
A kind of course control method, described method comprises:
Determine the current process of intelligent terminal, obtain the process interface control of described current process;
Process to be controlled is determined, for described process to be controlled arranges control time and control operation information from described current process;
When the described control time arrives, if described process to be controlled is still in running status, then transfer the running program corresponding with described control operation information, pass through the process interface of controlled process described to be controlled, to described process executivecontrol function to be controlled.
The embodiment of the present invention also provides a kind of progress control unit, comprising:
Current process determination module, for determining the current process of intelligent terminal;
Interface control right acquisition module, for obtaining the process interface control of described current process;
Process determination module to be controlled, for determining process to be controlled from described current process;
Module is set, for arranging control time and control operation information for described process to be controlled;
Judge module, for when the described control time arrives, judges whether described process to be controlled is still in running status;
Control module, for when the judged result of described judge module is for being, transferring the running program corresponding with described control operation information, passing through the process interface of controlled process described to be controlled, to described process executivecontrol function to be controlled.
The embodiment of the present invention also provides a kind of intelligent terminal, comprises progress control unit described above.
Based on technique scheme, the embodiment of the present invention is after determining the current process of intelligent terminal, obtain the process interface control of described current process, and process to be controlled is determined from described current process, for described process to be controlled arranges control time and control operation information, when the described control time arrives, and described process to be controlled is when being still in running status, the running program corresponding with described control operation information can be transferred, pass through the process interface of controlled process described to be controlled, to described process executivecontrol function to be controlled.The embodiment of the present invention can arrange control time and the control operation information of process to be controlled, when the control time arrives, for process executivecontrol function to be controlled, achieve the delays time to control of process, compared to the existing user of needs constantly application processes to exercise supervision the mode of the process that controls, the control mode of the embodiment of the present invention is comparatively easy, and meets the requirement that application processes carries out delays time to control.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
The process flow diagram of a kind of course control method that Fig. 1 provides for the embodiment of the present invention;
Another process flow diagram of the course control method that Fig. 2 provides for the embodiment of the present invention;
A process flow diagram again of the course control method that Fig. 3 provides for the embodiment of the present invention;
The structured flowchart of the progress control unit that Fig. 4 provides for the embodiment of the present invention;
The structured flowchart of the current process determination module that Fig. 5 provides for the embodiment of the present invention;
The structured flowchart of the interface control right acquisition module that Fig. 6 provides for the embodiment of the present invention;
The structured flowchart of the judge module that Fig. 7 provides for the embodiment of the present invention;
The structured flowchart of the control module that Fig. 8 provides for the embodiment of the present invention;
Another structured flowchart of the control module that Fig. 9 provides for the embodiment of the present invention;
Another structured flowchart of the progress control unit that Figure 10 provides for the embodiment of the present invention;
Figure 11 is the block diagram of the part-structure of the mobile phone relevant to the intelligent terminal that the embodiment of the present invention provides.
Embodiment
For making the object of the embodiment of the present invention, technical scheme and advantage clearly, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The process flow diagram of a kind of course control method that Fig. 1 provides for the embodiment of the present invention, with reference to Fig. 1, the method can comprise:
Step S100, determine the current process of intelligent terminal to obtain the process interface control of described current process;
The current process of intelligent terminal, mainly refer to the current activity (Activity) being in running status of intelligent terminal, activity refers to a basic module of application program; The embodiment of the present invention, by the context (context) of intelligent terminal, gets the activity of intelligent terminal, thus passes through the current process that intelligent terminal is determined in obtained activity, and an activity may correspond to a process;
In embodiments of the present invention, the process interface control obtaining current process can refer to the control got activity; The process interface control of current process is got by active manager (Activity Manager), its optional implementation can be: the activity to obtained intelligent terminal returns active manager object, by the object entity of active manager, control the process interface of current process;
Optionally, after determining the current process of intelligent terminal, the current process of intelligent terminal is shown by the form by list, so that user carries out selection operation.
Step S110, from described current process, determine process to be controlled, for described process to be controlled arranges control time and control operation information;
Process to be controlled can be selected from current process by user, and after current process being shown by the form of list in intelligent terminal, user can choose the process needing to control from list, user choose selection process be process to be controlled;
After determining process to be controlled, can be process to be controlled and control time and control operation information are set, control operation information can be process is closed, the information of the control operation such as cleaning, the embodiment of the present invention can set up process to be controlled, control time and the triangular corresponding relation of control operation information, thus when the control time arrives, for the process to be controlled of correspondence performs corresponding control operation.
Step S120, when described control time arrives, if described process to be controlled is still in running status, then transfer the running program corresponding with described control operation information, pass through the process interface of controlled process described to be controlled, to described process executivecontrol function to be controlled.
Optionally, after being provided with the control time for process to be controlled, a timer(timer can be started), when timer time and control time to the time in of corresponding can detect and need whether be still in running status in current process to be controlled of carrying out control operation, if so, then perform corresponding control operation, if not, then not executivecontrol function;
Detecting the mode whether process to be controlled be still in running status can be: when the described control time arrives, by the context of intelligent terminal, obtain the activity in described moment in control time, if there is the activity corresponding with described process to be controlled in the activity that the described moment in control time is corresponding, then illustrate that process to be controlled is still in running status, the control operation information of the set process to be controlled for running status still comes into force, can to process executivecontrol function to be controlled; Owing to needing to process executivecontrol function to be controlled the control obtaining process to be controlled, therefore the process interface control of process to be controlled that obtains by step S110 of the embodiment of the present invention, transfer the running program corresponding with described control operation information, to process executivecontrol function to be controlled.
The embodiment of the present invention is by obtaining the superuser right of intelligent terminal in advance, obtain the control of intelligent terminal, after determining the current process of intelligent terminal, obtain the process interface control of described current process, and process to be controlled is determined from described current process, for described process to be controlled arranges control time and control operation information, when the described control time arrives, and described process to be controlled is when being still in running status, the running program corresponding with described control operation information can be transferred, pass through the process interface of controlled process described to be controlled, to described process executivecontrol function to be controlled.The embodiment of the present invention can arrange control time and the control operation information of process to be controlled, when the control time arrives, for process executivecontrol function to be controlled, achieve the delays time to control of process, compared to the existing user of needs constantly application processes to exercise supervision the mode of the process that controls, the control mode of the embodiment of the present invention is comparatively easy, and meets the requirement that application processes carries out delays time to control.
Optionally, the course control method that the embodiment of the present invention provides can be applicable to the intelligent terminal being mounted with intelligent operating system, as being mounted with android system, and the intelligent terminal of Ios system.
Optionally, before the course control method that the execution embodiment of the present invention provides, the superuser right of intelligent terminal can also be obtained; Superuser right can be root(root) authority, switch by su(user) root authority of file acquisition intelligent terminal, thus get the control of intelligent terminal.
Optionally, the embodiment of the present invention is when setting up the triangular corresponding relation of process to be controlled, control time and control operation information, set up corresponding relation by the progress information (info) of process to be controlled, control time and control operation information, progress information can be used for mark process.
Optionally, step S120 can be as follows in specific implementation: the progress information being obtained process to be controlled by active manager, the process interface of the process to be controlled controlled by active manager, the running program that use & Control operation information is corresponding, to the process executivecontrol function corresponding with described progress information.
Optionally, control operation information can be process closing information; Corresponding, Fig. 2 shows another flow process of the course control method that the embodiment of the present invention provides, and with reference to Fig. 2, the method can comprise:
Step S200, determine the current process of intelligent terminal to obtain the process interface control of described current process;
Step S210, from described current process, determine process to be closed, for process to be closed arranges shut-in time and closing information;
Step S220, when the shut-in time arrives, if process to be closed still is in running status, then transfer bolt down procedure, pass through the process interface of controlled process to be closed, treat the process executive process shutoff operation of closedown.
Optionally, the embodiment of the present invention gets the process info treating rev down process rev by Activity Manager, after obtaining info, Process.kill Process (info.pid) program (process kills program) can be used, pass through the process interface of controlled process to be closed, treat the process executive process shutoff operation of closedown.
There is provided one comparatively preferred course control method below, it should be noted that control mode of carrying out provided below is only preferred implementation, the embodiment of the present invention can also have other optional Process flowchart modes; A process flow diagram again of the course control method that Fig. 3 provides for the embodiment of the present invention, with reference to Fig. 3, the method can comprise:
Step S300, context context by intelligent terminal, obtain the Activity of intelligent terminal, pass through the current process that intelligent terminal is determined in obtained activity, a movable corresponding process;
Step S310, return Activity Manager object to obtained Activity, by the object entity of ActivityManage, control the process interface of described current process;
Step S320, from described current process, determine process to be controlled, for described process to be controlled arranges control time and control operation information;
Step S330, be process initiation timer to be controlled;
Step S340, judge that whether the time of timer is corresponding with the described control time, if so, perform step S350, if not, perform step S340;
Step S350, context by intelligent terminal, obtain Activity corresponding to described moment in control time;
Step S360, judge, in the Activity that the described moment in control time is corresponding, whether there is Activity corresponding to process to be controlled, if not, perform step S370, if so, perform step S380;
Step S370, process ends;
Step S380, obtain the process info of described process to be controlled by Activity Manager, the process interface of the process to be controlled controlled by Activity Manager, use the running program corresponding with described control operation information, to the process executivecontrol function corresponding with described process info.
Optionally, in embodiments of the present invention, the number of process to be controlled can be one, also can be multiple; When the number of process to be controlled is multiple, the embodiment of the present invention can be each process to be controlled and arranges unified control time and unified control operation information; When arriving in the unified control time, the embodiment of the present invention can be each process to be controlled and performs the control operation corresponding with unified control operation information.
The embodiment of the present invention also can be each process to be controlled and arranges the different control time, and different control operation information; When coming one by one in the control time of each process to be controlled, the embodiment of the present invention can be each process to be controlled and performs corresponding control operation successively.
The embodiment of the present invention a part of process that also can be in process to be controlled arranges unified control time and unified control operation information, for another part process arranges different control times and control operation information; When the unified control time arrives, for this part of process performs the control operation corresponding with unified control operation information; For the control operation of another part process, can describe in conjunction with the control above for " for each process to be controlled arranges the different control time, and different control operation information ", repeat no more herein.
It should be noted that, the embodiment of the present invention is that process to be controlled is when arranging control time and control operation information, following situation may be there is: the control time set by process to be controlled and control operation information comprise: the unified control time set by each process to be controlled and unified control operation information, and independent control time set by a certain process to be controlled and independent control operation information; Namely for a certain process in process to be controlled, the embodiment of the present invention had both been provided with unified control time and unified control operation information, was provided with again independent control time and independent control operation information; For this kind of situation, the embodiment of the present invention can perform following control operation:
If the unified control time is less than the independent control time, namely the unified control time arrived prior to the independent control time, then when the described unified control time arrives, the embodiment of the present invention can cancel the independent control operation information set by described a certain process to be controlled, transfer the running program corresponding with described unified control operation information, pass through the process interface of each controlled process to be controlled, to each process executivecontrol function to be controlled;
If the unified control time is greater than the described independent control time, namely the unified control time is later than independent control time arrival, then when the described independent control time arrives, the embodiment of the present invention can cancel the unified control operation information set by described a certain process to be controlled, transfer the running program corresponding with described independent control operation information, pass through the process interface of controlled described a certain process to be controlled, to described a certain process executivecontrol function to be controlled; And when the described unified control time arrives, transfer the running program corresponding with described unified control operation information, pass through the process interface of the controlled process to be controlled except described a certain process to be controlled, to the process executivecontrol function to be controlled except described a certain process to be controlled.
Optionally, the embodiment of the present invention also can arrange the unused time of intelligent terminal, the embodiment of the present invention can be described intelligent terminal and arranges unused time and power-off operation information, when the described unused time arrives, transfer the shutdown programm corresponding with described power-off operation information, perform power-off operation.
As the optional control strategy of one, may there are following three kinds of scenes in the course control method of the embodiment of the present invention: scene 1, is provided with control time and control operation information to a certain process to be controlled; Scene 2, is provided with unified control time and unified control operation information to all processes to be controlled; Scene 3, is provided with unused time and power-off operation information to intelligent terminal;
In above-mentioned scene, the priority of scene 3 is the highest, and when namely detecting that current time is corresponding to the unused time, the embodiment of the present invention can cancel the task of scene 1 and scene 2, directly performs power-off operation; The priority of scene 2 is higher than the priority of scene 1, and when to there is scene 2 and scene 1 simultaneously, the embodiment of the present invention can cancel the task of scene 1, only performs the task of scene 2.
Embodiments provide a kind of comparatively easy course control method, and meet the requirement that application processes carries out delays time to control.
Be introduced the progress control unit that the embodiment of the present invention provides below, progress control unit described below is corresponding to above-described course control method, and both can be cross-referenced.
The structured flowchart of the progress control unit that Fig. 4 provides for the embodiment of the present invention, this device can be applicable to the intelligent terminal being mounted with intelligent operating system, and with reference to Fig. 4, this device can comprise:
Current process determination module 100, for determining the current process of intelligent terminal;
Interface control right acquisition module 200, for obtaining the process interface control of described current process;
Process determination module 300 to be controlled, for determining process to be controlled from described current process;
Module 400 is set, for arranging control time and control operation information for described process to be controlled;
Judge module 500, for when the described control time arrives, judges whether described process to be controlled is still in running status;
Control module 600, for when the judged result of judge module 500 is for being, transferring the running program corresponding with described control operation information, passing through the process interface of controlled process described to be controlled, to described process executivecontrol function to be controlled.
The structured flowchart of the current process determination module 100 that Fig. 5 provides for the embodiment of the present invention, with reference to Fig. 5, current process determination module 100 can comprise:
First activity determining unit 110, for the context context by intelligent terminal, obtains the movable Activity of intelligent terminal;
Process determining unit 120, determines the current process of intelligent terminal for passing through obtained activity, a movable corresponding process.
Corresponding, Fig. 6 shows a kind of alternate configurations of interface control right acquisition module 200, and with reference to Fig. 6, interface control right acquisition module 200 can comprise:
Object returns unit 210, for returning active manager Activity Manager object to obtained activity;
Interface control unit 220, for the object entity by described active manager, controls the process interface of described current process.
Corresponding, Fig. 7 shows a kind of alternate configurations of judge module 500, and with reference to Fig. 7, judge module 500 can comprise:
Second activity determining unit 510, for when described control time arrives, by the context context of intelligent terminal, obtains activity corresponding to described moment in control time;
First identifying unit 520, for have in activity corresponding to described moment in control time corresponding with described process to be controlled movable time, determine that described process to be controlled is still in running status;
Second identifying unit 530, for do not have in activity corresponding to described moment in control time corresponding with described process to be controlled movable time, determine that described process to be controlled is in closed condition.
Corresponding, Fig. 8 shows a kind of alternate configurations of control module 600, and with reference to Fig. 8, control module 600 can comprise:
Progress information acquiring unit 610, for obtaining the progress information info of described process to be controlled by described active manager;
First controls performance element 611, for the process interface of process to be controlled controlled by described active manager, uses the running program corresponding with described control operation information, to the process executivecontrol function corresponding with described progress information.
Optionally, the number of process to be controlled can be multiple; Corresponding, arranging module 400 can comprise:
First setting unit (not shown), for arranging unified control time and unified control operation information for each process to be controlled; Or,
Second setting unit (not shown), for arranging the different control time for each process to be controlled, and different control operation information; Or,
3rd setting unit (not shown), for arranging unified control time and unified control operation information for a part of process in described process to be controlled, for another part process arranges different control times and control operation information.
Optionally, if the control time set by described process to be controlled and control operation information comprise: the unified control time set by each process to be controlled and unified control operation information, and independent control time set by a certain process to be controlled and independent control operation information; Then Fig. 9 shows the another kind of alternate configurations of corresponding control module 600, and with reference to Fig. 9, control module 600 can comprise:
Second controls performance element 620, for being less than the described independent control time in the described unified control time, and during described arrival of unified control time, cancel the independent control operation information set by described a certain process to be controlled, transfer the running program corresponding with described unified control operation information, pass through the process interface of each controlled process to be controlled, to each process executivecontrol function to be controlled;
3rd controls performance element 621, for being greater than the described independent control time in the described unified control time, and during described arrival of independent control time, cancel the unified control operation information set by described a certain process to be controlled, transfer the running program corresponding with described independent control operation information, pass through the process interface of controlled described a certain process to be controlled, to described a certain process executivecontrol function to be controlled; And when the described unified control time arrives, transfer the running program corresponding with described unified control operation information, pass through the process interface of the controlled process to be controlled except described a certain process to be controlled, to the process executivecontrol function to be controlled except described a certain process to be controlled.
Another structured flowchart of the progress control unit that Figure 10 provides for the embodiment of the present invention, shown in composition graphs 4 and Figure 10, progress control unit described in Figure 10, on the basis of progress control unit shown in Fig. 4, also comprises:
Power-off operation module 700, for arranging unused time and power-off operation information for described intelligent terminal, when the described unused time arrives, transferring the shutdown programm corresponding with described power-off operation information, performing power-off operation.
Optionally, in order to the control of implementation process interface better, the progress control unit that the embodiment of the present invention provides can also comprise: authority acquiring module (not shown), for obtaining the superuser right of intelligent terminal.Obtain the superuser right of intelligent terminal in authority acquiring module after, realize the control to process by progress control unit shown in Fig. 4.
Optionally, the progress control unit that the embodiment of the present invention provides can be applicable to the intelligent terminal being mounted with intelligent operating system, as being mounted with android system, and the intelligent terminal of Ios system.
The progress control unit that the embodiment of the present invention provides can realize comparatively easy Process flowchart, and meets the requirement that application processes carries out delays time to control.
The embodiment of the present invention also provides a kind of intelligent terminal, and this intelligent terminal can comprise progress control unit described above, and the specific descriptions of progress control unit can refer to the description of Fig. 4-Figure 10 corresponding part, repeat no more herein.
Be described the hardware configuration of the intelligent terminal that the embodiment of the present invention provides below, the part relating to Process flowchart in hereafter describing can reference corresponding with above-described course control method.The intelligent terminal that the embodiment of the present invention provides can for comprising mobile phone, panel computer, PDA(Personal DigitalAssistant, personal digital assistant), POS(Point of Sales, point-of-sale terminal), the terminal device arbitrarily such as vehicle-mounted computer, take intelligent terminal as mobile phone be example:
Shown in Figure 11 is the block diagram of the part-structure of the mobile phone relevant to the intelligent terminal that the embodiment of the present invention provides.With reference to Figure 11, mobile phone comprises: radio frequency (Radio Frequency, RF) parts such as circuit 1110, storer 1120, input block 1130, display unit 1140, sensor 1150, voicefrequency circuit 1160, Wireless Fidelity (wireless fidelity, WiFi) module 1170, processor 1180 and power supply 1190.It will be understood by those skilled in the art that the handset structure shown in Figure 11 does not form the restriction to mobile phone, the parts more more or less than diagram can be comprised, or combine some parts, or different parts are arranged.
Concrete introduction is carried out below in conjunction with Figure 11 each component parts to mobile phone:
RF circuit 1110 can be used for receiving and sending messages or in communication process, the reception of signal and transmission, especially, after being received by the downlink information of base station, process to processor 1180; In addition, the up data of design are sent to base station.Usually, RF circuit includes but not limited to antenna, at least one amplifier, transceiver, coupling mechanism, low noise amplifier (Low Noise Amplifier, LNA), diplexer etc.In addition, RF circuit 110 can also by radio communication and network and other devices communicatings.Above-mentioned radio communication can use arbitrary communication standard or agreement, include but not limited to global system for mobile communications (Global System ofMobile communication, GSM), general packet radio service (General Packet RadioService, GPRS), CDMA (Code Division Multiple Access, CDMA), Wideband Code Division Multiple Access (WCDMA) (Wideband Code Division Multiple Access, WCDMA), Long Term Evolution (Long Term Evolution, LTE)), Email, Short Message Service (Short MessagingService, SMS) etc.
Storer 1120 can be used for storing software program and module, and processor 1180 is stored in software program and the module of storer 1120 by running, thus performs various function application and the data processing of mobile phone.Storer 1120 mainly can comprise storage program district and store data field, and wherein, storage program district can store operating system, application program (such as sound-playing function, image player function etc.) etc. needed at least one function; Store data field and can store the data (such as voice data, phone directory etc.) etc. created according to the use of mobile phone.In addition, storer 1120 can comprise high-speed random access memory, can also comprise nonvolatile memory, such as at least one disk memory, flush memory device or other volatile solid-state parts.
Input block 1130 can be used for the numeral or the character information that receive input, and generation arranges with the user of mobile phone 1100 and function controls the input of relevant key signals.Particularly, input block 1130 can comprise contact panel 1131 and other input equipments 1132.Contact panel 1131, also referred to as touch-screen, user can be collected or neighbouring touch operation (such as user uses any applicable object or the operations of annex on contact panel 1131 or near contact panel 1131 such as finger, stylus) thereon, and drive corresponding coupling arrangement according to the formula preset.Optionally, contact panel 1131 can comprise touch detecting apparatus and touch controller two parts.Wherein, touch detecting apparatus detects the touch orientation of user, and detects the signal that touch operation brings, and sends signal to touch controller; Touch controller receives touch information from touch detecting apparatus, and converts it to contact coordinate, then gives processor 1180, and the order that energy receiving processor 1180 is sent also is performed.In addition, the polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave can be adopted to realize contact panel 1131.Except contact panel 1131, input block 1130 can also comprise other input equipments 1132.Particularly, other input equipments 1132 can include but not limited to one or more in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, control lever etc.
Display unit 1140 can be used for the various menus showing information or the information being supplied to user and the mobile phone inputted by user.Display unit 1140 can comprise display panel 1141, optionally, the forms such as liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode (Organic Light-EmittingDiode, OLED) can be adopted to configure display panel 1141.Further, contact panel 1131 can cover display panel 1141, when contact panel 1131 detects thereon or after neighbouring touch operation, send processor 1180 to determine the type of touch event, on display panel 1141, provide corresponding vision to export with preprocessor 1180 according to the type of touch event.Although in fig. 11, contact panel 1131 and display panel 1141 be as two independently parts to realize input and the input function of mobile phone, but in certain embodiments, can by integrated to contact panel 1131 and display panel 1141 and realize the input and output function of mobile phone.
Mobile phone 1100 also can comprise at least one sensor 1150, such as optical sensor, motion sensor and other sensors.Particularly, optical sensor can comprise ambient light sensor and proximity transducer, and wherein, ambient light sensor the light and shade of environmentally light can regulate the brightness of display panel 1141, proximity transducer when mobile phone moves in one's ear, can cut out display panel 1141 and/or backlight.As the one of motion sensor; accelerometer sensor can detect the size of all directions (are generally three axles) acceleration; size and the direction of gravity can be detected time static, can be used for identifying the application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating) of mobile phone attitude, Vibration identification correlation function (such as passometer, knock) etc.; As for mobile phone also other sensors such as configurable gyroscope, barometer, hygrometer, thermometer, infrared ray sensor, do not repeat them here.
Voicefrequency circuit 1160, loudspeaker 1161, microphone 1162 can provide the audio interface between user and mobile phone.Voicefrequency circuit 1160 can by receive voice data conversion after electric signal, be transferred to loudspeaker 1161, by loudspeaker 1161 be converted to voice signal export; On the other hand, the voice signal of collection is converted to electric signal by microphone 1162, voice data is converted to after being received by voicefrequency circuit 1160, after again voice data output processor 1180 being processed, through RF circuit 1110 to send to such as another mobile phone, or export voice data to storer 1120 to process further.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user to send and receive e-mail by WiFi module 1170, browse webpage and access streaming video etc., and its broadband internet wireless for user provides is accessed.Although Figure 11 shows WiFi module 1170, be understandable that, it does not belong to must forming of mobile phone 1100, can omit in the scope of essence not changing invention as required completely.
Processor 1180 is control centers of mobile phone, utilize the various piece of various interface and the whole mobile phone of connection, software program in storer 1120 and/or module is stored in by running or performing, and call the data be stored in storer 1120, perform various function and the process data of mobile phone, thus integral monitoring is carried out to mobile phone.Optionally, processor 1180 can comprise one or more processing unit; Preferably, processor 1180 accessible site application processor and modem processor, wherein, application processor mainly processes operating system, user interface and application program etc., and modem processor mainly processes radio communication.Be understandable that, above-mentioned modem processor also can not be integrated in processor 1180.
Mobile phone 1100 also comprises the power supply 1190(such as battery of powering to all parts), preferably, power supply can be connected with processor 1180 logic by power-supply management system, thus realizes the functions such as management charging, electric discharge and power managed by power-supply management system.
Although not shown, mobile phone 1100 can also comprise camera, bluetooth module etc., does not repeat them here.
In embodiments of the present invention, the processor 1180 included by this terminal also has following functions:
Determine the current process of intelligent terminal, obtain the process interface control of described current process;
Process to be controlled is determined, for described process to be controlled arranges control time and control operation information from described current process;
When the described control time arrives, if described process to be controlled is still in running status, then transfer the running program corresponding with described control operation information, pass through the process interface of controlled process described to be controlled, to described process executivecontrol function to be controlled.
In this instructions, each embodiment adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar portion mutually see.For device disclosed in embodiment, because it corresponds to the method disclosed in Example, so description is fairly simple, relevant part illustrates see method part.
Professional can also recognize further, in conjunction with unit and the algorithm steps of each example of embodiment disclosed herein description, can realize with electronic hardware, computer software or the combination of the two, in order to the interchangeability of hardware and software is clearly described, generally describe composition and the step of each example in the above description according to function.These functions perform with hardware or software mode actually, depend on application-specific and the design constraint of technical scheme.Professional and technical personnel can use distinct methods to realize described function to each specifically should being used for, but this realization should not thought and exceeds scope of the present invention.
The software module that the method described in conjunction with embodiment disclosed herein or the step of algorithm can directly use hardware, processor to perform, or the combination of the two is implemented.Software module can be placed in the storage medium of other form any known in random access memory (RAM), internal memory, ROM (read-only memory) (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technical field.
To the above-mentioned explanation of the disclosed embodiments, professional and technical personnel in the field are realized or uses the present invention.To be apparent for those skilled in the art to the multiple amendment of these embodiments, General Principle as defined herein can without departing from the spirit or scope of the present invention, realize in other embodiments.Therefore, the present invention can not be restricted to these embodiments shown in this article, but will meet the widest scope consistent with principle disclosed herein and features of novelty.
Claims (17)
1. a course control method, is characterized in that, described method comprises:
Determine the current process of intelligent terminal, obtain the process interface control of described current process;
Process to be controlled is determined, for described process to be controlled arranges control time and control operation information from described current process;
When the described control time arrives, if described process to be controlled is still in running status, then transfer the running program corresponding with described control operation information, pass through the process interface of controlled process described to be controlled, to described process executivecontrol function to be controlled.
2. method according to claim 1, is characterized in that, describedly determines that the current process of intelligent terminal comprises:
By the context context of intelligent terminal, obtain the movable Activity of intelligent terminal, pass through the current process that intelligent terminal is determined in obtained activity, a movable corresponding process.
3. method according to claim 2, is characterized in that, the process interface control of the described current process of described acquisition comprises:
Return active manager Activity Manager object to obtained activity, by the object entity of described active manager, control the process interface of described current process.
4. according to the method in claim 2 or 3, it is characterized in that, described when the described control time arrives, determine that the process that described process to be controlled is still in running status comprises:
When described control time arrives, by the context context of intelligent terminal, obtain activity corresponding to described moment in control time;
If there is the activity corresponding with described process to be controlled in the activity that the described moment in control time is corresponding, then determine that described process to be controlled is still in running status.
5. method according to claim 3, is characterized in that, described in transfer the running program corresponding with described control operation information, pass through the process interface of controlled process described to be controlled, the process of described process executivecontrol function to be controlled comprised:
The progress information info of described process to be controlled is obtained by described active manager;
The process interface of the process to be controlled controlled by described active manager, uses the running program corresponding with described control operation information, to the process executivecontrol function corresponding with described progress information.
6. method according to claim 1, is characterized in that, the number of described process to be controlled is multiple, and described is that described process to be controlled arranges the control time and control operation information comprises:
For each process to be controlled arranges unified control time and unified control operation information; Or,
For each process to be controlled arranges the different control time, and different control operation information; Or,
For a part of process in described process to be controlled arranges unified control time and unified control operation information, for another part process arranges different control times and control operation information.
7. method according to claim 6, it is characterized in that, if the control time set by described process to be controlled and control operation information comprise: the unified control time set by each process to be controlled and unified control operation information, and independent control time set by a certain process to be controlled and independent control operation information;
Transfer the running program corresponding with described control operation information then, pass through the process interface of controlled process described to be controlled, the process of described process executivecontrol function to be controlled is comprised:
If the described unified control time is less than the described independent control time, then when the described unified control time arrives, cancel the independent control operation information set by described a certain process to be controlled, transfer the running program corresponding with described unified control operation information, pass through the process interface of each controlled process to be controlled, to each process executivecontrol function to be controlled;
If the described unified control time is greater than the described independent control time, then when the described independent control time arrives, cancel the unified control operation information set by described a certain process to be controlled, transfer the running program corresponding with described independent control operation information, pass through the process interface of controlled described a certain process to be controlled, to described a certain process executivecontrol function to be controlled; And when the described unified control time arrives, transfer the running program corresponding with described unified control operation information, pass through the process interface of the controlled process to be controlled except described a certain process to be controlled, to the process executivecontrol function to be controlled except described a certain process to be controlled.
8. method according to claim 1, is characterized in that, also comprises:
For described intelligent terminal arranges unused time and power-off operation information, when the described unused time arrives, transfer the shutdown programm corresponding with described power-off operation information, perform power-off operation.
9. a progress control unit, is characterized in that, comprising:
Current process determination module, for determining the current process of intelligent terminal;
Interface control right acquisition module, for obtaining the process interface control of described current process;
Process determination module to be controlled, for determining process to be controlled from described current process;
Module is set, for arranging control time and control operation information for described process to be controlled;
Judge module, for when the described control time arrives, judges whether described process to be controlled is still in running status;
Control module, for when the judged result of described judge module is for being, transferring the running program corresponding with described control operation information, passing through the process interface of controlled process described to be controlled, to described process executivecontrol function to be controlled.
10. device according to claim 9, is characterized in that, described current process determination module comprises:
First activity determining unit, for the context context by intelligent terminal, obtains the movable Activity of intelligent terminal;
Process determining unit, determines the current process of intelligent terminal for passing through obtained activity, a movable corresponding process.
11. devices according to claim 10, is characterized in that, described interface control right acquisition module comprises:
Object returns unit, for returning active manager Activity Manager object to obtained activity;
Interface control unit, for the object entity by described active manager, controls the process interface of described current process.
12. devices according to claim 10 or 11, it is characterized in that, described judge module comprises:
Second activity determining unit, for when described control time arrives, by the context context of intelligent terminal, obtains activity corresponding to described moment in control time;
First identifying unit, for have in activity corresponding to described moment in control time corresponding with described process to be controlled movable time, determine that described process to be controlled is still in running status;
Second identifying unit, for do not have in activity corresponding to described moment in control time corresponding with described process to be controlled movable time, determine that described process to be controlled is in closed condition.
13. devices according to claim 11, is characterized in that, described control module comprises:
Progress information acquiring unit, for obtaining the progress information info of described process to be controlled by described active manager;
First controls performance element, for the process interface of process to be controlled controlled by described active manager, uses the running program corresponding with described control operation information, to the process executivecontrol function corresponding with described progress information.
14. devices according to claim 9, is characterized in that, the number of described process to be controlled is multiple, and the described module that arranges comprises:
First setting unit, for arranging unified control time and unified control operation information for each process to be controlled; Or,
Second setting unit, for arranging the different control time for each process to be controlled, and different control operation information; Or,
3rd setting unit, for arranging unified control time and unified control operation information for a part of process in described process to be controlled, for another part process arranges different control times and control operation information.
15. devices according to claim 9, it is characterized in that, if the control time set by described process to be controlled and control operation information comprise: the unified control time set by each process to be controlled and unified control operation information, and independent control time set by a certain process to be controlled and independent control operation information; Then described control module comprises:
Second controls performance element, for being less than the described independent control time in the described unified control time, and during described arrival of unified control time, cancel the independent control operation information set by described a certain process to be controlled, transfer the running program corresponding with described unified control operation information, pass through the process interface of each controlled process to be controlled, to each process executivecontrol function to be controlled;
3rd controls performance element, for being greater than the described independent control time in the described unified control time, and during described arrival of independent control time, cancel the unified control operation information set by described a certain process to be controlled, transfer the running program corresponding with described independent control operation information, pass through the process interface of controlled described a certain process to be controlled, to described a certain process executivecontrol function to be controlled; And when the described unified control time arrives, transfer the running program corresponding with described unified control operation information, pass through the process interface of the controlled process to be controlled except described a certain process to be controlled, to the process executivecontrol function to be controlled except described a certain process to be controlled.
16. devices according to claim 9, is characterized in that, also comprise:
Power-off operation module, for arranging unused time and power-off operation information for described intelligent terminal, when the described unused time arrives, transferring the shutdown programm corresponding with described power-off operation information, performing power-off operation.
17. 1 kinds of intelligent terminals, is characterized in that, comprise the progress control unit described in any one of claim 9-16.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310646063.XA CN104699530B (en) | 2013-12-04 | 2013-12-04 | A kind of course control method, device and intelligent terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310646063.XA CN104699530B (en) | 2013-12-04 | 2013-12-04 | A kind of course control method, device and intelligent terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104699530A true CN104699530A (en) | 2015-06-10 |
CN104699530B CN104699530B (en) | 2018-12-11 |
Family
ID=53346694
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310646063.XA Active CN104699530B (en) | 2013-12-04 | 2013-12-04 | A kind of course control method, device and intelligent terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104699530B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106604370A (en) * | 2016-10-26 | 2017-04-26 | 珠海格力电器股份有限公司 | Method and device for timing application in terminal |
CN107179980A (en) * | 2016-03-10 | 2017-09-19 | 罗伯特·博世有限公司 | Method and corresponding computing system for monitoring computing system |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110107339A1 (en) * | 2009-11-03 | 2011-05-05 | International Business Machines Corporation | Inner Process |
US20120185532A1 (en) * | 2009-10-01 | 2012-07-19 | Telefonaktiebolaget L M Ericsson (Publ) | Method and Arrangement for Managing Persistent Rich Internet Applications |
CN103049320A (en) * | 2012-12-17 | 2013-04-17 | 广州市动景计算机科技有限公司 | Method and device for starting external application program in browser |
CN103218566A (en) * | 2013-01-25 | 2013-07-24 | 江南大学 | Active defense system based on Android platform software behavior detection |
CN103226486A (en) * | 2013-04-23 | 2013-07-31 | 北京奇虎科技有限公司 | Optimization method and device for browser operation |
CN103345424A (en) * | 2013-07-09 | 2013-10-09 | 惠州Tcl移动通信有限公司 | Mobile terminal and control method of application program of mobile terminal |
-
2013
- 2013-12-04 CN CN201310646063.XA patent/CN104699530B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120185532A1 (en) * | 2009-10-01 | 2012-07-19 | Telefonaktiebolaget L M Ericsson (Publ) | Method and Arrangement for Managing Persistent Rich Internet Applications |
US20110107339A1 (en) * | 2009-11-03 | 2011-05-05 | International Business Machines Corporation | Inner Process |
CN103049320A (en) * | 2012-12-17 | 2013-04-17 | 广州市动景计算机科技有限公司 | Method and device for starting external application program in browser |
CN103218566A (en) * | 2013-01-25 | 2013-07-24 | 江南大学 | Active defense system based on Android platform software behavior detection |
CN103226486A (en) * | 2013-04-23 | 2013-07-31 | 北京奇虎科技有限公司 | Optimization method and device for browser operation |
CN103345424A (en) * | 2013-07-09 | 2013-10-09 | 惠州Tcl移动通信有限公司 | Mobile terminal and control method of application program of mobile terminal |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107179980A (en) * | 2016-03-10 | 2017-09-19 | 罗伯特·博世有限公司 | Method and corresponding computing system for monitoring computing system |
CN106604370A (en) * | 2016-10-26 | 2017-04-26 | 珠海格力电器股份有限公司 | Method and device for timing application in terminal |
Also Published As
Publication number | Publication date |
---|---|
CN104699530B (en) | 2018-12-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107146616B (en) | Equipment control method and related product | |
CN104065982B (en) | The method and apparatus of live streaming media | |
CN105005909A (en) | Method and device for predicting lost users | |
CN104834529A (en) | Method and device for optimizing performance of application | |
CN103530115B (en) | Application program display method and device and terminal equipment | |
CN102833419B (en) | Method and terminal for controlling screen state | |
CN104407804A (en) | Screen capturing method and screen capturing device as well as electronic device | |
CN104423822A (en) | Automated test script recording method and device | |
CN104375886A (en) | Information processing method and device and electronic device | |
CN104519262A (en) | Method, device for acquiring video data, and terminal | |
CN103312783B (en) | Method, device and system for switching function modes | |
CN106453840A (en) | Mobile terminal performance tuning method and mobile terminal | |
CN104424307A (en) | Intelligent terminal application classifying method, system and intelligent terminal, | |
CN103546632B (en) | A kind of quarter-bell ringing method for mobile terminal, device and mobile terminal | |
CN105045372A (en) | Method and equipment controlling wearable device | |
CN103561155B (en) | Send the method for note, device and terminal | |
CN106648460B (en) | Step counting data filtering method and intelligent terminal | |
CN103200077B (en) | The method of data interaction during a kind of voice call, Apparatus and system | |
CN107466015A (en) | Access control method and Related product | |
CN104239005A (en) | Graph alignment method and device | |
CN104244448B (en) | Reduce the method and system of data transmission delay | |
CN105282330B (en) | The method and device of automatic connection network | |
CN104346128A (en) | Executing method and executing device of sound events | |
CN104699530A (en) | Progress control method and device and intelligent terminal equipment | |
CN103034319B (en) | A kind of the method for display and control, control device and terminal are carried out to 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |