Summary of the invention
The invention provides a kind of mobile terminal, be provided that double screen multiple task management general, effective, it is achieved at double screenThe curtain management respectively of multitask and being switched fast.Described mobile terminal includes the first screen, the second screen, and described mobile terminal is alsoIncluding:
Processing module, for creating two set desktop task stack, to described two set desktop task stack the first screens referenced individuallyTag field, the second screen tag field, wherein, the desk stack of described note the first screen tag field is described firstScreen runs, for described first screen isolated operation desktop application, the desk of described note the second screen tag fieldStack runs, for desktop application described in described second screen isolated operation at described second screen.
Further, described mobile terminal also includes:
Management module, is used for setting up the first application task stack, the second application task stack, when starting the at described first screenDuring one application, first task object is set up in described first application, and described first task object is joined described first shouldBy task stack, and the first screen tag field described in note, when starting the second application at described second screen, to described secondThe second task object is set up in application, and will the described second task object described second application task stack of addition, and described in note theTwo screen tag fields.
Further, described mobile terminal also includes:
Coordination module, for when redirecting across application, it is judged that being activated the task object applied and be currently up application isNo at same application task stack, if described in be activated application with the described task object of application that is currently up at same application taskStack, it is judged that described in be activated the first screen tag field described in the task object whether note of application, if described in be activated applicationTask object note described in the first screen tag field, then should by the described task object being activated application write described firstUse task stack stack top, and the first screen tag field described in note;It is activated described in the task object note of application described in ifTwo screen tag fields, then write described second application task stack stack top, and note by the described task object being activated applicationDescribed second screen tag field.
Further, if described in be activated application with described be currently up application task object not at same application taskStack, described Coordination module, it is additionally operable to be activated described in judging the first screen marker word described in the task object whether note of applicationSection, if being activated the first screen tag field described in the task object note of application described in judging, is activated application by describedTask object remove from described first application task stack, be currently up application described in time-out, and be activated application by describedTask object write described second application task stack stack top, and the second screen tag field described in note, make described in be activatedApply and run at described second screen and obtain focus;If being activated described in the task object note of application second described in judgingScreen tag field, removes the described task object being activated application from described second application task stack, suspends described working asFront startup is applied, and the described task object being activated application is write described first application task stack stack top, and described in noteFirst screen tag field, make described in be activated to apply and run at described first screen and obtain focus.
Further, described first application task stack includes the first multiple task management entrance, wherein, described first multitaskAdministration portal is for managing the more recent application started on described first screen;
Described second application task stack includes the second multiple task management entrance, wherein, described second multiple task management entranceFor managing the more recent application started on described second screen.
The present invention also provides for a kind of multitask management process, and described multitask management process is provided that general, the most doubleScreen multiple task management, it is achieved in the management respectively of double screen multitask be switched fast.Described multiple task management side is applied toMobile terminal, described mobile terminal includes the first screen, the second screen, and described multitask management process includes:
Create two set desktop task stack;
To described two set desktop task stack the first screen tag field referenced individually, the second screen tag fields;
The desk stack of described note the first screen tag field is run, for described first at described first screenScreen isolated operation desktop application;
The desk stack of described note the second screen tag field is run, for described second at described second screenDesktop application described in screen isolated operation.
Further, described multitask management process also includes:
Set up the first application task stack, the second application task stack;
When starting the first application at described first screen, first task object is set up in described first application, and by instituteState first task object and join described first application task stack, and the first screen tag field described in note;
When starting the second application at described second screen, the second task object is set up in described second application, and by instituteState the second task object and add described second application task stack, and the second screen tag field described in note.
Further, described multitask management process also includes:
When redirecting across application, it is judged that be activated whether the task object applied and be currently up application appoints in same applicationBusiness stack;
When described be activated application with described be currently up application task object at same application task stack time, it is judged that instituteState and be activated the first screen tag field described in the task object whether note of application;
When the first screen tag field described in the described task object note being activated application, it is activated application by describedTask object write described first application task stack stack top, and the first screen tag field described in note;
When the second screen tag field described in the described task object note being activated application, then should by described being activatedTask object write described second application task stack stack top, and the second screen tag field described in note.
Further, described multitask management process also includes:
When described be activated application with described be currently up application task object not at same application task stack time, describedCoordination module, is additionally operable to be activated described in judging the first screen tag field described in the task object whether note of application;
When the first screen tag field described in the task object note being activated application described in judging, opened describedThe task object of dynamic application removes from described first application task stack, is currently up application, and is opened described described in time-outThe task object of dynamic application writes described second application task stack stack top, and the second screen tag field described in note, makes describedIt is activated to apply and runs at described second screen and obtain focus;
When the second screen tag field described in the task object note being activated application described in judging, opened describedThe task object of dynamic application removes from described second application task stack, is currently up application, and is opened described described in time-outThe task object of dynamic application writes described first application task stack stack top, and the first screen tag field described in note, makes describedIt is activated to apply and runs at described first screen and obtain focus.
Further, described first application task stack includes the first multiple task management entrance, wherein, described first multitaskAdministration portal is for managing the more recent application started on described first screen;
Described second application task stack includes the second multiple task management entrance, wherein, described second multiple task management entranceFor managing the more recent application started on described second screen.
The mobile terminal of present invention offer and multitask management process are by setting up two set desktop task stack, two set application timesBusiness stack can realize being managed the multitask of double screen and be switched fast, realize double screen runs the function of application simultaneously, fillsDivide the double screen that make use of mobile phone, meet user's request.
Detailed description of the invention
Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
The mobile terminal realizing each embodiment of the present invention is described referring now to accompanying drawing.In follow-up description, useFor representing the suffix explanation only for the beneficially present invention of such as " module ", " parts " or " unit " of element, itselfNot specific meaning.Therefore, " module " can mixedly use with " parts ".
Mobile terminal can be implemented in a variety of manners.Such as, the terminal described in the present invention can include such as movingPhone, smart phone, notebook computer, digit broadcasting receiver, PDA (personal digital assistant), PAD (panel computer), PMPThe mobile terminal of (portable media player), guider etc. and consolidating of such as numeral TV, desk computer etc.Determine terminal.Hereinafter it is assumed that terminal is mobile terminal.However, it will be understood by those skilled in the art that, mobile except being used in particular forOutside the element of purpose, structure according to the embodiment of the present invention can also apply to the terminal of fixed type.
Fig. 1 is the hardware architecture diagram of the mobile terminal realizing each embodiment of the present invention.
Mobile terminal 10 can include, but not limited to memorizer 20, controller 30, wireless communication unit 40, input block50, input block 60, gyroscope 70, interface unit 80 and power subsystem 90.Fig. 1 shows the mobile terminal with various assembly10 it should be appreciated that be, it is not required that implement all assemblies illustrated.Can alternatively implement more or less of groupPart.Will be discussed in more detail below the element of mobile terminal 10.
Wireless communication unit 40 generally includes one or more assembly, its allow mobile terminal 10 and wireless communication system orWireless points communication between network.Such as, wireless communication unit can include broadcast reception module, mobile communication module, wirelessAt least one in the Internet module, short range communication module and positional information module.
Broadcast reception module is relevant from external broadcasting management server reception broadcast singal and/or broadcast via broadcast channelInformation.Broadcast channel can include satellite channel and/or terrestrial channel.Broadcast management server can be to generate and send broadcastSignal and/or the server of broadcast related information or the broadcast singal generated before receiving and/or broadcast related information andSend it to the server of terminal.Broadcast singal can include TV broadcast singal, radio signals, data broadcasting signalEtc..And, broadcast singal may further include the broadcast singal combined with TV or radio signals.The relevant letter of broadcastBreath can also provide via mobile communications network, and in this case, broadcast related information can be come by mobile communication moduleReceive.Broadcast singal can exist in a variety of manners, and such as, it can refer to the electronic programming of DMB (DMB)South (EPG), the form of electronic service guidebooks (ESG) etc. of digital video broadcast-handheld (DVB-H) and exist.Broadcast reception mouldBlock can be broadcasted by using various types of broadcast systems to receive signal.Especially, broadcast reception module can be by usingSuch as multimedia broadcasting-ground (DMB-T), DMB-satellite (DMB-S), DVB-hand-held (DVB-H), forward link media (MediaFLO@) Radio Data System, the number of received terrestrial digital broadcasting integrated service (ISDB-T) etc.Word broadcast system receives digital broadcasting.Broadcast reception module may be constructed such that the various broadcast systems being adapted to provide for broadcast singalAnd above-mentioned digit broadcasting system.The broadcast singal and/or the broadcast related information that receive via broadcast reception module can storeIn memorizer 20 (or other type of storage medium).
Mobile communication module send radio signals to base station (such as, access point, node B etc.), exterior terminal withAnd in server at least one and/or receive from it radio signal.Such radio signal can include voice callSignal, video calling signal or the various types of data sending according to text and/or Multimedia Message and/or receiving.
Wireless Internet module supports the Wi-Fi (Wireless Internet Access) of mobile terminal.This module can internally or externally coupleTo terminal.Wi-Fi (Wireless Internet Access) technology involved by this module can include WLAN (WLAN) (Wi-Fi), Wibro (nothingLive width band), Wimax (worldwide interoperability for microwave access), HSDPA (high-speed downlink packet access) etc..
Short range communication module is the module for supporting junction service.Some examples of short-range communication technology include bluetoothTM、RF identification (RFID), Infrared Data Association (IrDA), ultra broadband (UWB), purple honeybeeTMEtc..
Positional information module is the module of positional information for checking or obtain mobile terminal.The allusion quotation of positional information moduleType example is GPS (global positioning system).According to current technology, GPS module calculates the distance from three or more satellitesInformation and correct time information and for the Information application triangulation calculated, thus according to longitude, latitude and heightCalculate three-dimensional current location information exactly.Currently, for calculate position and temporal information method use three satellites andBy using an other satellite to correct the position and the error of temporal information calculated.Additionally, GPS module can be by realTime ground Continuous plus current location information calculate velocity information.
Output unit 50 be configured to vision, audio frequency and/or tactile manner provide output signal (such as, audio signal,Video signal, alarm signal, vibration signal etc.).Output unit 50 can include display unit 51, dio Output Modules 52,Alarm unit 53 etc..
Display unit 51 may be displayed on the information processed in mobile terminal 10.Such as, it is in phone when mobile terminal 10During call mode, display unit 51 can show with call or other communicate (such as, under text messaging, multimedia fileCarry etc.) relevant user interface (UI) or graphic user interface (GUI).When mobile terminal 10 be in video calling pattern orDuring image capture mode, display unit 51 can show capture image and/or the image of reception, illustrate video or image andUI or GUI of correlation function etc..
Meanwhile, when display unit 51 and touch pad the most superposed on one another with formed touch screen time, display unit 51Can serve as input equipment and output device.Display unit 51 can include liquid crystal display (LCD), thin film transistor (TFT) LCD(TFT-LCD), at least in Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc.Kind.Some in these display may be constructed such that transparence is watched from outside with permission user, and this is properly termed as transparent aobviousShowing device, typical transparent display can for example, TOLED (transparent organic light emitting diode) display etc..Think according to specificThe embodiment wanted, mobile terminal 10 can include two or more display units (or other display device), such as, mobile wholeEnd can include outernal display unit (not shown) and inner display unit (not shown).Touch screen can be used for detecting touch inputPressure and touch input position and touch input area.
Dio Output Modules 52 can be in call signal at mobile terminal and receive pattern, call mode, logging mode, languageTime under the isotypes such as sound recognition mode, broadcast reception mode, that wireless communication unit 40 is received or deposit in memorizer 20Storage voice data transducing audio signal and be output as sound.And, dio Output Modules 52 can provide and mobile terminalThe audio frequency output (such as, call signal receives sound, message sink sound etc.) that 10 specific functions performed are relevant.Audio frequency is defeatedGo out module 52 and can include speaker, buzzer etc..
Alarm unit 53 can provide output to notify event to mobile terminal 10.Typical event can be wrappedInclude calling reception, message sink, key signals input, touch input etc..In addition to audio or video exports, alarm unit 53Can provide in a different manner and export the generation with notification event.Such as, alarm unit 53 can provide with the form of vibrationOutput, when receiving calling, message or some other entrance communication (incoming communication), alarm unit 53Sense of touch output (that is, vibration) can be provided to notify to user.By providing such sense of touch to export, even if user'sWhen mobile phone is in the pocket of user, user also is able to identify the generation of various event.Alarm unit 53 can also be throughThe output of the generation of notification event is provided by display unit 51 or dio Output Modules 52.
Input block 60 can generate key input data to control the various behaviour of mobile terminal according to the order of user's inputMake.Input block 60 allows user to input various types of information, and can include keyboard, metal dome, touch pad (such as,Detect due to touched and cause resistance, pressure, the sensitive component of change of electric capacity etc.), roller, rocking bar etc..EspeciallyGround, when touch pad is superimposed upon on display unit 50 as a layer, can form touch screen.In an embodiment of the present invention,Described input block 60 includes touch screen and ink screen.Gyroscope 70 is for detecting the deflection angle of described mobile terminal 10, rotationGyration etc..
Interface unit 80 is used as at least one external device (ED) and is connected, with mobile terminal 10, the interface that can pass through.Such as, outwardPart device can include wired or wireless head-band earphone port, external power source (or battery charger) port, wired or wirelessFPDP, memory card port, for connect have the port of device of identification module, audio frequency input/output (I/O) port,Video i/o port, ear port etc..Identification module can be that storage is for verifying that user uses the various letters of mobile terminal 10Cease and subscriber identification module (UIM), client identification module (SIM), Universal Subscriber identification module (USIM) etc. can be included.It addition, the device (hereinafter referred to as " identifying device ") with identification module can be to take the form of smart card, therefore, identify deviceCan be connected with mobile terminal 10 via port or other attachment means.Interface unit 80 may be used for receiving from external device (ED)Input (such as, data message, electric power etc.) and or many that the input received is transferred in mobile terminal 10Individual element or may be used between mobile terminal and external device (ED) transmit data.
It addition, when mobile terminal 10 is connected with external base, interface unit 80 can serve as allowing electric power by itThere is provided the path of mobile terminal 10 from base or can serve as allowing the various command signals from base input to be passed by itIt is passed to the path of mobile terminal.May serve as whether identifying mobile terminal from various command signals or the electric power of base inputThe signal being accurately fitted within base.
Memorizer 20 can store the process performed by controller 30 and the software program controlling operation etc., or permissibleTemporarily store and exported the data (such as, telephone directory, message, still image, video etc.) that maybe will export.And,Memorizer 20 can be to store vibration and the data of audio signal of the various modes about exporting when touching and being applied to touch screen.
Memorizer 20 can include that the storage medium of at least one type, described storage medium include flash memory, hard disk, many matchmakersBody card, card-type memorizer (such as, SD or DX memorizer etc.), random access storage device (RAM), static random-access memory(SRAM), read only memory (ROM), Electrically Erasable Read Only Memory (EEPROM), programmable read only memory(PROM), magnetic storage, disk, CD etc..And, mobile terminal 10 can be connected execution memorizer 20 with by networkStorage function network storage device cooperation.
Controller 30 generally controls the overall operation of mobile terminal.Such as, controller 30 performs to lead to voice call, dataControl that letter, video calling etc. are relevant and process.It addition, controller 30 can include for reproducing (or playback) multimedia numberAccording to multi-media module, multi-media module can construct in controller 30, or it is so structured that separates with controller 30.ControlDevice 30 processed can perform pattern recognition process, the handwriting input performed on the touchscreen or picture drafting input to be identified asCharacter or image.
Power subsystem 90 receives external power or internal power under the control of the controller 30 and provides operation each elementWith the suitable electric power needed for assembly.
Various embodiment described herein can be to use such as computer software, hardware or its any combination of calculatingMachine computer-readable recording medium is implemented.Implementing for hardware, embodiment described herein can be by using application-specific IC(ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), scene canProgram gate array (FPGA), processor, controller, microcontroller, microprocessor, be designed to perform function described hereinAt least one in electronic unit is implemented, and in some cases, such embodiment can be implemented in controller 180.Software is implemented, the embodiment of such as process or function can with allow to perform the single of at least one function or operationSoftware module is implemented.Software code can be come by the software application (or program) write with any suitable programming languageImplementing, software code can be stored in memorizer 160 and be performed by controller 180.
So far, mobile terminal is described according to its function.Below, for the sake of brevity, will describe such as folded form,Slide type mobile terminal in various types of mobile terminals of board-type, oscillating-type, slide type mobile terminal etc. is as showingExample.Therefore, the present invention can be applied to any kind of mobile terminal, and is not limited to slide type mobile terminal.
As shown in Figure 1 mobile terminal 10 may be constructed such that utilize via frame or packet transmission data the most wiredOperate with wireless communication system and satellite-based communication system.
The communication system being wherein operable to according to the mobile terminal of the present invention is described referring now to Fig. 2.
Such communication system can use different air interfaces and/or physical layer.Such as, communication system useAir interface includes such as frequency division multiple access (FDMA), time division multiple acess (TDMA), CDMA (CDMA) and universal mobile communications systemSystem (UMTS) (especially, Long Term Evolution (LTE)), global system for mobile communications (GSM) etc..As non-limiting example, underThe description in face relates to cdma communication system, but such teaching is equally applicable to other type of system.
With reference to Fig. 2, cdma wireless communication system can include multiple mobile terminal 10, multiple base station (BS) 270, base station controlDevice processed (BSC) 275 and mobile switching centre (MSC) 280.MSC280 is configured to and Public Switched Telephony Network (PSTN) 290Form interface.MSC280 is also structured to and the BSC275 formation interface that can be couple to base station 270 via back haul link.BackhaulCircuit can construct according to any one in some known interfaces, and described interface includes such as E1/T1, ATM, IP, PPP,Frame relay, HDSL, ADSL or xDSL.It will be appreciated that system as shown in Figure 2 can include multiple BSC2750.
Each BS270 can service one or more subregion (or region), by multidirectional antenna or the sky of sensing specific directionEach subregion that line covers is radially away from BS270.Or, each subregion can be by for two or more of diversity receptionAntenna covers.Each BS270 may be constructed such that support multiple frequencies distribution, and the distribution of each frequency has specific frequency spectrum(such as, 1.25MHz, 5MHz etc.).
Intersecting that subregion and frequency are distributed can be referred to as CDMA Channel.BS270 can also be referred to as base station transceiverSystem (BTS) or other equivalent terms.In this case, term " base station " may be used for broadly representing singleBSC275 and at least one BS270.Base station can also be referred to as " cellular station ".Or, each subregion of specific BS270 can be claimedFor multiple cellular stations.
As shown in Figure 2, broadcast singal is sent in system the mobile terminal operated by broadcsting transmitter (BT) 29510.Broadcast reception module 111 is arranged on mobile terminal 10 and sentences the broadcast letter that reception is sent by BT295 as shown in Figure 1Number.In fig. 2 it is shown that several global positioning systems (GPS) satellite 300.Satellite 300 helps to position in multiple mobile terminals 10At least one.
In fig. 2, depict multiple satellite 300, it is understood that be, it is possible to use any number of satellite obtain usefulLocation information.GPS module 115 is generally configured to coordinate with satellite 300 to obtain the location letter wanted as shown in Figure 1Breath.Substitute GPS tracking technique or outside GPS tracking technique, it is possible to use other of position of mobile terminal can be followed the tracks ofTechnology.It addition, at least one gps satellite 300 can optionally or additionally process satellite dmb transmission.
As a typical operation of wireless communication system, BS270 receives the reverse link from various mobile terminals 10Signal.Mobile terminal 10 generally participates in call, information receiving and transmitting communicates with other type of.Certain base station 270 receive each insteadProcessed in specific BS270 to link signal.The data obtained are forwarded to the BSC275 being correlated with.BSC provides callResource distribution and the mobile management function of the coordination of soft switching process included between BS270.The number that BSC275 also will receiveAccording to being routed to MSC280, it provides the extra route service for forming interface with PSTN290.Similarly, PSTN290 withMSC280 forms interface, MSC Yu BSC275 forms interface, and BSC275 correspondingly controls BS270 with by forward link signalsIt is sent to mobile terminal 10.
Based on above-mentioned mobile terminal hardware configuration and communication system, each embodiment of the inventive method is proposed.
Refer to the functional block diagram that Fig. 3, Fig. 3 are the embodiment of the present invention one mobile terminals.Mobile terminal 1O shown in Fig. 3Including: processing module 101.Mobile terminal 10 also includes the first screen, the second screen, and the processing module 101 of mobile terminal 10 createsTwo set desktop task stack, to two set desktop task stack the first screen tag field referenced individually, the second screen tag fields, itsIn, the desk stack of note the first screen tag field runs at the first screen, should for the first screen isolated operation desktopWith, the desk stack of note the second screen tag field runs at the second screen, should for the second screen isolated operation desktopWith.
It is the functional block diagram of the embodiment of the present invention two mobile terminal refering to Fig. 4, Fig. 4.Mobile terminal 10 shown in Fig. 4 wrapsInclude processing module 101, management module 103, Coordination module 105.Each functional module to the mobile terminal 10 of the present embodiment belowDescribe in detail.
Mobile terminal 10 also includes the first screen, the second screen, and processing module 101 creates two set desktop task stack, to twoSet desktop task stack the first screen tag field referenced individually, the second screen tag field, wherein, note the first screen marker wordThe desk stack of section runs at the first screen, for the first screen isolated operation desktop application, note the second screen marker wordThe desk stack of section runs at the second screen, for the second screen isolated operation desktop application.Management module 103 sets up firstApplication task stack, the second application task stack, when starting the first application at the first screen, set up first task pair to the first applicationAs, and first task object is joined the first application task stack, and note the first screen tag field, when opening at the second screenDuring dynamic second application, the second application is set up the second task object, and the second task object application is added the second application taskStack, and note the second screen tag field.
User is when switching application, and i.e. when redirecting across application, Coordination module 105 judges to be activated application and be currently upWhether the task object of application, at same application task stack, is applied if being activated and is currently up the task object of application sameApplication task stack, it is judged that be activated task object whether note the first screen tag field of application, if being activated appointing of applicationBusiness object note the first screen tag field, writes the first application task stack stack top by the task object being activated application, and attachedNote the first screen tag field;If being activated task object note the second screen tag field of application, application will be activatedTask object writes the second application task stack stack top, and note the second screen tag field.
If being activated application and being currently up the task object of application not at same application task stack, Coordination module 105 is sentencedThe disconnected task object being activated application whether note the first screen tag field, if judging, the task object being activated application is attachedNote the first screen tag field, removes the task object being activated application from the first application task stack, and time-out is currently upApplication, and the task object being activated application is write the second application task stack stack top, and note the second screen tag field, makeIt is activated to apply and runs at the second screen and obtain focus;If judging to be activated task object note the second screen mark of applicationNote field, removes the task object being activated application from the second application task stack, suspends and is currently up application, and will be openedThe task object of dynamic application writes the first application task stack stack top, and note the first screen tag field, makes to be activated and appliesFirst screen runs and obtains focus.
It should be noted that the first application task stack includes the first multiple task management entrance, wherein, the first multiple task managementThe more recent application that entrance starts on management the first screen, the second application task stack includes the second multiple task management entrance, itsIn, the more recent application that the second multiple task management entrance starts on management the second screen.
The present invention also provides for a kind of multitask management process, the mobile terminal 10 shown in the method application drawing 3 or Fig. 4, movesDynamic terminal 10 includes the first screen, the second screen, describes the multitask management process of the present embodiment in detail below.
It is the flow chart of the embodiment of the present invention three multitask management process refering to Fig. 5, Fig. 5.
In step S300, processing module 101 creates two set desktop task stack.
In step s 302, processing module 101 to two set desktop task stack the first screen tag fields referenced individually, secondScreen tag field.
In step s 304, processing module 101 by the desk stack of note the first screen tag field at the first screenRun, for the first screen isolated operation desktop application.
In step S306, processing module 101 by the desk stack of note the second screen tag field at the second screenRun, for the second screen isolated operation desktop application.
It is the flow chart of the embodiment of the present invention four multi-tasking method refering to Fig. 6, Fig. 6.Movement shown in the method application drawing 2Terminal 10, mobile terminal 10 includes the first screen, the second screen, carries out the multitask management process of the present embodiment in detail belowIntroduce.
In step S400, management module 103 sets up the first application task stack, the second application task stack.
In step S402, when starting the first application at the first screen, the first application is set up first by management module 103Task object, and first task object is joined the first application task stack, and note the first screen tag field.
In step s 404, when starting the second application at the second screen, the second application is set up second by management module 103Task object, and the second task object is added the second application task stack, and note the second screen tag field.
It is the flow chart of the embodiment of the present invention five multi-tasking method refering to Fig. 7, Fig. 7.Movement shown in the method application drawing 2Terminal 10, mobile terminal 10 includes the first screen, the second screen, carries out the multitask management process of the present embodiment in detail belowIntroduce.
In step S501, when redirecting across application, when the task object being activated application and be currently up application is sameDuring one application task stack, Coordination module 105 judges to be activated task object whether note the first screen tag field of application.
In step S503, when being activated task object note the first screen tag field of application, Coordination module 105The task object being activated application is write the first application task stack stack top, and note the first screen tag field.
In step S505, when being activated task object note the second screen tag field of application, Coordination module 105The task object being activated application is write the second application task stack stack top, and note the second screen tag field.
It is the flow chart of the embodiment of the present invention six multi-tasking method refering to Fig. 8, Fig. 8.Movement shown in the method application drawing 2Terminal 10, mobile terminal 10 includes the first screen, the second screen, carries out the multitask management process of the present embodiment in detail belowIntroduce.
When redirecting across application, if being activated application and being currently up the task object of application not at same application taskStack, Coordination module 105 judges to be activated task object whether note the first screen tag field of application, if judging to be activatedTask object note the first screen tag field of application, moves the task object being activated application from the first application task stackRemove, suspend and be currently up application, and the task object being activated application is write the second application task stack stack top, and note secondScreen tag field, makes to be activated to apply and runs at the second screen and obtain focus;If judging to be activated the task pair of applicationAs note the second screen tag field, the task object being activated application is removed from the second application task stack, suspend currentStart application, and the task object being activated application is write the first application task stack stack top, and note the first screen marker wordSection, makes to be activated to apply and runs at the first screen and obtain focus.
Specifically refer to Fig. 8, include first application task stack the 61, second application task stack 62 in fig. 8, left in fig. 8While show the state before application redirects, before redirecting across application, the first application task stack includes task object 0 (0), taskObject 1 (0), task object 2 (0), task object 3 (0), " (0) " is the first screen tag field of note, task object 0(0), task object 1 (0), task object 2 (0), task object 3 (0) are illustrated respectively in the first screen first opened and answerWith the 4th opened in the 3rd application, the first screen opened in second application, the first screen opened in, the first screenIndividual application.Before redirecting across application, the second application task stack includes task object 0 (1), task object 1 (1), task object 2(1), " (1) " is the second screen tag field of note, and task object 0 (1), task object 1 (1), task object 2 (1) are respectivelySecond application, the second screen opening in first application, the second screen that expression is opened in the second screen are opened3rd application.
The right show the state after application redirects in fig. 8, when user opens first task stack in the second screenDuring application corresponding to task object 2 (0) in 61, Coordination module 105 should from first by the task object 2 (0) being activated applicationRemove with in task stack 61, suspend the second screen and be currently up application, and should by the task object write second being activated applicationBy task stack 62 stack top, and note the second screen tag field " (1) ", people's the second application task stack will be write by task object 3 (1)The stack top of 62, makes corresponding being activated to apply and run at the second screen and obtain focus of task object 3 (1).
The mobile terminal of present invention offer and multitask management process are by setting up two set desktop task stack, two set application timesBusiness stack can realize being managed the multitask of double screen and be switched fast, realize double screen runs the function of application simultaneously, fillsDivide the double screen that make use of mobile phone, meet user's request.
These are only presently preferred embodiments of the present invention, not in order to limit the present invention, all spirit in the present invention andAny amendment, equivalent and the improvement etc. made within principle, should be included within the scope of the present invention.