CN108200278A - A kind of application operation condition control method and mobile terminal - Google Patents

A kind of application operation condition control method and mobile terminal Download PDF

Info

Publication number
CN108200278A
CN108200278A CN201711458803.1A CN201711458803A CN108200278A CN 108200278 A CN108200278 A CN 108200278A CN 201711458803 A CN201711458803 A CN 201711458803A CN 108200278 A CN108200278 A CN 108200278A
Authority
CN
China
Prior art keywords
application
default
request
mobile terminal
gesture
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201711458803.1A
Other languages
Chinese (zh)
Inventor
向永航
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201711458803.1A priority Critical patent/CN108200278A/en
Publication of CN108200278A publication Critical patent/CN108200278A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/485Task life-cycle, e.g. stopping, restarting, resuming execution

Abstract

An embodiment of the present invention provides a kind of application operation condition control method and mobile terminal, wherein, this method includes:The first handover request for the first application and the second application is received, wherein, the first application is to operate in the application on foreground;If the second application is default application, in response to the first handover request, the first application switching to backstage and is remained operational, by the second application switching to front stage operation.Based on the identification to the first handover request, you can realize and the second application is recalled and realized the first application is packed up;And if the second application is default application, the first application that control is switched to backstage continues to run with, and such user can manipulate other application on foreground, improve user experience;In addition, can ensure that the size of the display interface of the application currently manipulated is constant, user's operation experience is improved.

Description

A kind of application operation condition control method and mobile terminal
Technical field
The present invention relates to technical field of mobile terminals more particularly to a kind of application operation condition control method and movement eventually End.
Background technology
At present, with the fast development of mobile communication technology, mobile terminal (such as mobile phone) is had become as people's daily life In essential consumer electronics, with smart mobile phone increasingly universalness, smart mobile phone has incorporated each side of life Face, for example, smart mobile phone has become the primary electron product to carry out information exchange between men.Meanwhile smart mobile phone application Also the chance more got a profit is brought to more service providers, each service provider develops respective application program, and user will be according to respective Actual demand corresponding application program is installed in smart mobile phone, for example, game application, Video Applications, chat application, shopping Using etc..
Currently, a kind of application operation condition control method is provided in the relevant technologies, this method is mainly:Judge that target should With whether being foreground application, however, it is determined that go out intended application for foreground application, be then set as transporting by the current state of the intended application Row state, the interactive interface of intended application are shown frame by frame on a display screen;If it is determined that intended application is background application, then by the mesh The current state of mark application is set as halted state (dormant state), and the interactive interface of intended application is stationary.Wherein, in reality Border operates a certain of mobile terminal in application, there may be certain invalid information interface during the application operation, for example, right For Video Applications, advertisement broadcast interface can be considered as invalid information interface, for another example, for game application, wait for it The process that his participant operates game can be considered as invalid information interface, for another example, for any application, there are user not Interactive interface that is interested or being not concerned with, such interactive interface can be considered as invalid information interface.For intended application before Platform runs and receives the situation of the instruction of new application switching to foreground, since new application is switched to foreground, target Using will be covered, and be brought to backstage automatically by new application, which will enter halted state (dormant state), because This, when only application is located at foreground, the invalid information interface of the application can be shown frame by frame on a display screen;And once After backstage is brought to, which will stay on a certain invalid information interface, will until the application is adjusted to foreground again Operating status is reverted to by halted state.
In conclusion for any application of mobile terminal, after which is switched to background application by foreground application, should answer State will automatically switch to halted state.It follows that when only application is foreground application, which can keep transporting Row, therefore, during application remains operational state, user can not operate other application, reduce user experience.
Invention content
The purpose of the embodiment of the present invention is to provide a kind of application operation condition control method and mobile terminal, to solve answering During state is remained operational, user can not operate other application, the problem of reducing user experience.
In order to solve the above-mentioned technical problem, the embodiment of the present invention is realized in:
In a first aspect, an embodiment of the present invention provides a kind of application operation condition control method, including:
The first handover request for the first application and the second application is received, wherein, first application is before operating in The application of platform;
If second application is default application, in response to first handover request, by first application switching It to backstage and remains operational, by second application switching to front stage operation.
Second aspect, an embodiment of the present invention provides a kind of mobile terminal, including:
First request receiving module, for receiving the first handover request for the first application and the second application, wherein, institute It is to operate in the application on foreground to state the first application;
First control module,, will in response to first handover request if being default application for the described second application First application switching is to backstage and remains operational, by second application switching to front stage operation.
The third aspect, an embodiment of the present invention provides a kind of mobile terminal, including:Memory, processor and it is stored in institute The computer program that can be run on memory and on the processor is stated, when the computer program is performed by the processor The step of realizing application operation condition control method as described in relation to the first aspect.
Fourth aspect, an embodiment of the present invention provides a kind of computer readable storage medium, the computer-readable storage Computer program is stored on medium, application fortune as described in relation to the first aspect is realized when the computer program is executed by processor The step of row condition control method.
Application operation condition control method and mobile terminal in the embodiment of the present invention are received for the first application and second First handover request of application, wherein, the first application is to operate in the application on foreground;If the second application is default application, ring The first application switching to backstage and should be remained operational, by the second application switching to front stage operation in the first handover request.It is based on Identification to the first handover request, you can realize and the second application is recalled and realized packed up to the first application;If the Two applications are default application, then the first application for being switched to backstage is controlled to continue to run with, and therefore, the first application is background application When, which can also remain operational, so that a certain apply during remaining operational, user can be on foreground Other application is operated, the time availability of user is improved, so as to improve user experience;In addition, it is directed to screen size ratio For relatively limited mobile terminal, in a manner that front and back multitask is run simultaneously, it can ensure the application currently manipulated The size of display interface is constant, improves user's operation experience.
Description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, to embodiment or will show below There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments described in invention, for those of ordinary skill in the art, in the premise of not making the creative labor property Under, it can also be obtained according to these attached drawings other attached drawings.
Fig. 1 is the flow diagram of application operation condition control method provided in an embodiment of the present invention;
Fig. 2 a are the first effect diagram of mobile terminal display interface provided in an embodiment of the present invention;
Fig. 2 b are the first effect diagram of mobile terminal front and back application interface provided in an embodiment of the present invention;
Fig. 2 c are second of effect diagram of mobile terminal front and back application interface provided in an embodiment of the present invention;
Fig. 3 a are the first effect diagram of the provided in an embodiment of the present invention second application addition operation;
Fig. 3 b are second of effect diagram of the provided in an embodiment of the present invention second application addition operation;
Fig. 3 c are second of effect diagram of mobile terminal display interface provided in an embodiment of the present invention;
Fig. 3 d are the third effect diagram of mobile terminal front and back application interface provided in an embodiment of the present invention;
Fig. 4 a be the touch control operation provided in an embodiment of the present invention performed on the display screen of mobile terminal the first show It is intended to;
Fig. 4 b are showing for second for the touch control operation provided in an embodiment of the present invention performed on the display screen of mobile terminal It is intended to;
Fig. 5 a be the touch control operation provided in an embodiment of the present invention performed on the display screen of mobile terminal the third show It is intended to;
Fig. 5 b are the 4th kind of the touch control operation provided in an embodiment of the present invention performed on the display screen of mobile terminal and show It is intended to;
Fig. 6 is the first module composition schematic diagram of mobile terminal provided in an embodiment of the present invention;
Fig. 7 is the structure diagram of mobile terminal provided in an embodiment of the present invention.
Specific embodiment
In order to which those skilled in the art is made to more fully understand the technical solution in the present invention, below in conjunction with of the invention real The attached drawing in example is applied, the technical solution in the embodiment of the present invention is clearly and completely described, it is clear that described implementation Example is only part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, this field is common Technical staff's all other embodiments obtained without creative efforts, should all belong to protection of the present invention Range.
An embodiment of the present invention provides a kind of application operation condition control method and mobile terminals, please based on switching to first The identification asked, you can realize and the second application is recalled and realized packed up to the first application;And if the second application is Default application then controls the first application for being switched to backstage to continue to run with, and therefore, when the first application is background application, this first Using can also remain operational so that a certain apply during remaining operational, user can foregrounding other Using the time availability of user being improved, so as to improve user experience;In addition, screen size is directed to than relatively limited For mobile terminal, in a manner that front and back multitask is run simultaneously, it can ensure the display interface of the application currently manipulated Size it is constant, improve user's operation experience.
In the embodiment of the present invention, mobile terminal can be mobile phone, intercom etc., and by taking mobile phone as an example, Fig. 1 is implemented for the present invention The flow diagram for the application operation condition control method that example provides, as shown in Figure 1, this method includes at least following steps:
S101 receives the first handover request for the first application and the second application, wherein, first application is operates in The application on foreground, which, which is used to indicate, recalls the second application.For example, Video Applications just in front stage operation, are somebody's turn to do Video Applications start to play advertisement, and user needs to open chat application, and Video Applications is kept to continue to play advertisement from the background, this When, user can input the first touch control operation on a display screen, corresponding, and mobile terminal will be based on first touch control operation and generate First handover request, which is used to indicate is adjusted to front stage operation by chat application.
S102, if the second application is default application, in response to the first handover request, by the first application switching to from the background simultaneously It remains operational, by the second application switching to front stage operation.Still by taking examples detailed above as an example, chat application can be set in advance as pre- If using in this way after chat application is adjusted to front stage operation, Video Applications being switched to backstage automatically and are remained operational.
In embodiment provided by the invention, the first handover request for the first application and the second application is received, wherein, First application is to operate in the application on foreground;It, should by first in response to the first handover request if the second application is default application With switching to backstage and remaining operational, by the second application switching to front stage operation.Based on the identification to the first handover request, you can Realization, which is recalled and realized to the second application, packs up the first application;And it if the second application is default application, controls The first application that system is switched to backstage continues to run with, and therefore, when the first application is background application, which can also keep Operation, so that a certain apply during remaining operational, user can improve user in foregrounding other application Time availability, so as to improve user experience;In addition, for being directed to screen size than relatively limited mobile terminal, adopt The mode run simultaneously with front and back multitask, can ensure that the size of the display interface of the application currently manipulated is constant, be promoted User's operation experience.
Wherein, for a certain application, this includes using status:Closed state, halted state (dormant state), Operating status, the first application are still being in operating status from the background on foreground, remain operational and refer to the first application of control Continue in running background.Wherein, it first applies when remaining operational from the background, the displaing coordinate where the interactive interface of the first application Range is not within the coordinate range of display screen, and the interactive interface of the second application is shown on a display screen at this time, the first application Interactive interface and the interactive interface of the second application are without overlapping region;Alternatively, the displaing coordinate where the interactive interface of the first application Range is within the coordinate range of display screen, and the interactive interface of the second application is shown in the top layer of display screen at this time, and first should Interactive interface by the interactive interface of the second application without covering, therefore, during running background the interactive interface of the first application without Method is illustrated in display screen, and first applies the used operating parameter in running background to be used with it in front stage operation Operating parameter it is identical.For example, for the foreground application of mobile terminal, when which is currently running invalid information interface, Other application can be recalled to foreground, so that user operates other application, at this point, after former foreground application will be moved to Platform becomes not showing the background application of interactive interface on a display screen or becomes interactive interface not after display screen top layer Platform application, while this is kept to apply and is being continued to run with from the background, user is reduced in this way, and interactive interface is waited for open up frame by frame on a display screen The time shown.
Specifically, if the applications of above-mentioned S102 second are default application, in response to the first handover request, the first application is cut It shifts to backstage and remains operational, the second application switching to front stage operation specifically includes:
If the second application is default application, in response to the first handover request, the first application is moved into goal stack by foreground stack In, wherein, which is that level be pre-created and goal stack is identical with the level of foreground stack, foreground stack, goal stack pair Being used to indicate for answering is in the same size with display screen using the display parameters of display interface size.In the specific implementation, goal stack With the foreground stack stack that be two different, by the way of stack management is divided, enabling while at least two application of operation.
Control first, which is applied, to be continued to run with and controls second to apply to run in the stack of foreground, and control in goal stack The interactive interface of the second application of system shows that the displaing coordinate range where the interactive interface of the first application of control is not on a display screen Displaing coordinate range within the coordinate range of display screen or where the interactive interface of the first application of control is in display screen Within coordinate range and the interactive interface of the second application is shown in the top layer of display screen.
Specifically, the level due to goal stack is identical with the level of foreground stack, for what is applied in goal stack comprising one Situation will not be blocked due to it is brought to backstage positioned at the application of the goal stack, it made to be in visible state always in this way, because This, the application positioned at the goal stack will not lose focus, and system automatically controls the first application and continues in running background;It is meanwhile preceding Platform stack, goal stack be corresponding to be used to indicate, in this way quilt in the same size with display screen using the display parameters of display interface size Being adjusted to the interactive interface of the application on foreground can be displayed in full screen.
Furthermore, it is contemplated that each stack can also include multiple applications only comprising an application, for being wrapped in goal stack Situation containing multiple applications, it is above-mentioned by first application moved in goal stack by foreground stack after, further include:
First application is placed in the top of goal stack;That is, not only by the level of goal stack and the layer of foreground stack Grade is identical, it is also necessary to the first application is placed in the top of goal stack, stack where such first application is in visible state, and the One application is also at visible state, continues at this point, system automatically controls the first application in running background.
Specifically, when detecting a certain application when backstage is entered by foreground, judge whether the application needs to protect on backstage Hold operation, and if stack is foreground stack where the application, then the application is moved to by foreground stack in goal stack, and will be using being placed in The top of goal stack controls this to apply and is run in goal stack.Since the level of goal stack is identical with the level of foreground stack, from And it realizes the application for switching to backstage and remains operational.
Wherein, presetting application can be configured according to the actual demand of user, and above-mentioned S101 is received for the first application Before the first handover request of the second application, further include:
After setting request is received, default application will be set as with the corresponding application of setting request.
Specifically, it is applied with first just in front stage operation as Video Applications, the second application to be cut for shifting to front stage operation For chat application, wherein, which is set in advance as default application, and as shown in Figure 2 a, current foreground is currently running Application for Video Applications, during Video Applications play advertisement and the advertisement can not be skipped, user needs to chat in foregrounding It checks latest tendency using brush circle of friends, and it is desirable that Video Applications continue playing video advertisement on backstage, and user can be The first touch control operation is performed on display screen, at this point, after mobile terminal receives first touch control operation, and based on first touch-control Operation the first handover request of generation, will automatically identify needs to recall chat application to foreground;As shown in Figure 2 b, Video Applications It will pack up and be hidden into backstage, and Video Applications continue to play advertisement, meanwhile, chat application is adjusted to front stage operation, works as video After the advertisement of application finishes, user can perform the second touch control operation on a display screen, at this point, mobile terminal receives this After second touch control operation, and the second handover request is generated based on second touch control operation, will automatically identify needs to answer video With recalling to foreground;As shown in Figure 2 c, Video Applications are switched back into front stage operation, chat application is switched into backstage.
Wherein, for the process that a certain application is set as to default application, setting options can be added in systems in advance, By clicking the setting icon on desktop, into setting interface, application to be placed is found, clicks to enter this using corresponding The function of being used to indicate and the application is set as to default application is opened at function setting interface, and entire setting up procedure is comparatively laborious, base In this, a certain application is quickly set as default application for the ease of user, the is provided in embodiment provided by the invention A kind of realization method that a certain application is quickly added to default application, specially:
It is above-mentioned that default application will be set as with the corresponding application of setting request after setting request is received, it is specific to wrap It includes:
On the display screen of mobile terminal, the first suspension control is shown, wherein, in the specific implementation, need to be generated in advance One first suspension control, and the touch control operation for being used to indicate and recalling the first suspension control is pre-defined, it is detected for example, setting is worked as During user's long-press display screen predeterminable area, the first suspension control is shown in the surface layer of touch screen, as shown in Figure 3a, first automatically Suspension control is shown in the left hand edge of screen;In addition, when determining that the first suspension control standby time is more than predetermined threshold value or inspection When measuring clicking operation of the user to preset function key, the first suspension control is hidden automatically.
If detecting, a certain icon moves to the first suspension control position, and the corresponding application of the icon is set as pre- If using, and after detecting that user releases the touch control operation of the icon, which is set back;Wherein, which can be with It is the application icon of specified application, can also be the thumbnail comprising multiple application icons or comprising multiple application drawings Target file, for the situation that thumbnail or file are moved to the first suspension control position, at this point, will include automatically All applications be set as default application.
In embodiment provided by the invention, a suspension control is generated in advance, when determining that user needs to add specified application Add as default in application, showing the suspension control automatically, such user be added to by treating the application icon of default application into Row drag operation, you can realize and the application is set as default application, improve the setting efficiency of default application, grasped convenient for user Make.
Further, it is contemplated that according to the real-time processing requirement respectively applied in mobile terminal, operating the first application process It is middle to need to be not added in advance to be to preset the application of application as default application is set as, therefore, in order to improve default answer With the specific aim of setting, flexibility and diversity, the realization method that application is preset in a variety of quick settings is provided, to be selected for user It selects, meets user and different application is quickly set as default the needs of applying in different phase, in embodiment provided by the invention In additionally provide second of realization method that a certain application is quickly added to default application, specially:
It is above-mentioned that default application will be set as with the corresponding application of setting request after setting request is received, it is specific to wrap It includes:
When determining that a certain application has pending information, generate and show the second suspension control, wherein, this is pending Information can be it is pending receive and send messages, be directed to the application with information transmit-receive, such as chat application or treat The recommendation information of processing is directed to the application with information recommendation, such as information class application;
If detecting clicking operation of the user to the second suspension control, the application with pending information is set as pre- If using.
For example, when Video Applications viewing video is used in user, chat application receives one from the instant of good friend Message as shown in Figure 3b, the second suspension control is shown while chat application icon is shown, wherein, the second suspension control It can be shown on the icon of chat application, in addition, in order to accurately recognize the need for application being set as default application, this Two suspension controls can also be shown in except chat application position, and e.g., the second suspension control is on the right side of chat application icon Chat application if detecting clicking operation of the user to the second suspension control, is set as default application, at this point, user by side It can select to check the instant message not in time, continue to watch video positive, as shown in Figure 3c, treat the invalid letter of Video Applications displaying When ceasing interface (e.g., playing video advertisement), by inputting the touch control gesture for being used to indicate default application and recalling on a display screen, such as Shown in Fig. 3 d, chat application is adjusted to front stage operation, checks the instant message just received, " the noon from good friend little Bai Have a meal together OK ", and " what that eats " is replied, in this process, Video Applications continue playing video advertisement on backstage, After advertisement finishes, then by inputting the touch control gesture for being used to indicate the first application and recalling on a display screen, quickly recall Video Applications, so that user is continuing with Video Applications viewing video.
Next, follow-up information class application receives a recommendation information, at this point, again may be by click information prompting figure Information class application is first set as default application, automatically to chat application by the second suspension control that target predetermined position is shown Cancel the setting of default application, continue to watch video, treat that Video Applications show that invalid information interface (e.g., does not feel emerging again The plot segment of interest) when, by inputting the touch control gesture for being used to indicate default application and recalling on a display screen, quickly recall the money Interrogate class application, and Video Applications switch to backstage after continue to run with.
In embodiment provided by the invention, during user manipulates a certain application, wait to locate if another application has Information is managed, at this time by when carrying out information processing prompting to user, increasing by one second suspension control, so that user in real time will The application needed with processing is set as default application, accordingly even when opened during message notifying without clicking, subsequently the One application displaying invalid information, and it is default in application, also can rapidly recall required application program, and control to need to open this The first application of system continues to run with after being adjusted to backstage, and specific aim and flexibility this improves default application setting disclosure satisfy that The process demand of user's different phase, greatly improves user experience.
Further, it by the first application switching to after continuing to run with from the background, may also need to before the first application switching is returned Platform is run, and in order to realize that the front and back between the first application and the second application switches, above-mentioned S102 is by the first application switching to rear Platform simultaneously remains operational, and after the second application switching to front stage operation, further includes:
The second handover request for the first application and the second application is received, wherein, second application is operates in foreground Application;For example, chat application is adjusted to front stage operation, Video Applications are switched to after continuing to run with from the background, and need to regard Frequency application switching is to front stage operation, at this point, user can input the second touch control operation, corresponding, mobile terminal on a display screen It will be based on second touch control operation and generate the second handover request, which is used to indicate is adjusted to foreground by Video Applications Operation.
In response to above-mentioned second handover request, by the second application switching to backstage and by the first application switching to foreground Operation.For example, when chat application is just in front stage operation, if receiving the second handover request, Video Applications are cut automatically Front stage operation is gained, chat application is switched into backstage.
Wherein, above-mentioned first handover request is generated based on the first touch control operation, and above-mentioned second handover request is to be based on The generation of second touch control operation, the second touch-control that the first touch control operation and the second application of control that the second application of control recalls are packed up Operation may be the same or different, when identical, need to consider the application that is currently running of current foreground be the first application or Second application.
Specifically, the first touch control operation can be slided or slide from right to left from left to right on a display screen, if preceding Platform is applied as the first application, it indicates that is needed to recall the second application, if second application is default application, is packed up first It is applied to backstage to continue to run with, therefore, when the first application is just in front stage operation, user passes through slide, you can fast Velocity modulation goes out and the second application.
Wherein, when equally receiving the first touch control operation, if foreground application is the second application, it indicates that need second Using packing up, the first application that backstage remains operational is recalled, therefore, when the second application is just in front stage operation, user passes through one Lower slider operates, you can quick the first application for recalling backstage and being currently running.
Further, in order to more improve the flexibility of default application setting and diversity, it is pre- that more kinds of quick settings are provided If the realization method of application, so that user is selected according to actual needs with preference, in the embodiment provided in invention, may be used also With the touch control gesture based on user, a certain application is set as default application or a certain application is carried out to cancel default application Setting, while for the setting for reducing touch control gesture, addition will be used to indicate or remove the touch control gesture and use of default application The touch control gesture for recalling or packing up default application in instruction is associated, for example, can serve to indicate that using same touch control gesture The default application of addition may be used to indicate that and pack up just in the default application of front stage operation, comes really with reference to the type of foreground application Which kind of processing operation specifically performed calmly, and (processing operation includes:Current foreground application is added to default application or will currently just Front stage operation default application switching to backstage);For another example, it can serve to indicate that removal is default using same touch control gesture to answer With, may be used to indicate that and recall default application, with reference to foreground application type come determine specifically to perform which kind of processing operation (should Processing operation includes:Current foreground application is carried out cancelling the setting of default application or default application is adjusted to foreground), by four A touch control gesture merges into two touch control gestures, i.e., using two kinds of touch control gestures, with reference to the type of current foreground application, makes Obtaining each touch control gesture tool, there are two types of functions so that four kinds of processing operations can be realized in two touch control gestures, and such user need not A large amount of touch control gesture is recorded, in the case where using fewer touch control gesture, can also realize more diversified triggering control, and Reduce the possibility to conflict with the generation of existing touch control gesture to a certain extent.Based on this, in embodiment provided by the invention In additionally provide the third by a certain application be quickly added to the realization method of default application and provide based on remove gesture and Addition gesture realizes recalling or packing up for default application, specially:
Wherein, above-mentioned setting request is generated based on the addition gesture of user on a display screen, above-mentioned to set receiving After putting request, default application will be set as with the corresponding application of setting request, including:
If detecting addition gesture and third application being just in front stage operation, which is set as default application, For example, current foreground is applied, for chat application, (chat application is defined as third before default application is not configured to should With), if receiving the addition gesture of user, illustrate that user wishes chat application being set as default application.
Further, it is above-mentioned just after the third application of front stage operation is set as default application, to further include:
Cancellation request is received, wherein, which generated based on the removal gesture of user on a display screen, addition Gesture is different with gesture is removed;
If detecting removal gesture and third application being just in front stage operation, which is carried out cancelling default application Setting, for example, current foreground applies the chat application to be arranged to default application, if receiving the removal hand of user Gesture illustrates that user wishes to cancel chat application into the label of default application, becomes third application, that is, revert to normal use.
Wherein, it is preferred that addition gesture is with removing gesture on the contrary, for example, as shown in fig. 4 a, addition gesture is by display screen First edge to second edge slide, as shown in Figure 4 b, remove gesture be from the second edge of display screen to first edge slide It is dynamic.
Specifically, above-mentioned the first touch control operation for recalling default application that is used to indicate is identical with removing gesture, it is above-mentioned to be used for Indicate that the second touch control operation for packing up default application is identical with addition gesture.
It, will be just before the first application of running background be adjusted to if detecting addition gesture and foreground application being default application Platform is run, for example, current foreground applies the chat application to be arranged to default application, if receiving the addition hand of user Gesture illustrates that user wishes to recall to foreground positioned at the first application of running background, will be received positioned at the default application of front stage operation It rises, and switches to backstage and continue to run with;
If detecting, it is non-default application to remove gesture and foreground application, and front stage operation is adjusted to by default application, for example, Current foreground applies the Video Applications to be not configured to default application, if receiving the removal gesture of user, illustrates user Wish to recall the second application for being set in advance as default application to foreground, will be packed up positioned at the non-default application of front stage operation, And it switches to backstage and continues to run with.
Further, cancellation setting quickly is carried out to the application for being added to default application for the ease of user, it can be pre- The default maximum quantity applied of first setting, it is when the quantity for currently having been set to default application is more than maximum quantity, i.e., default to answer With having added quota, then after receiving default application addition request, automatically according to preset rules from the default application added One application of selection removes, and the default application added can also be carried out at removal automatically while addition default application in this way Reason, it is above-mentioned after setting request is received based on this without individually carrying out cancellation setting to the default application added again, it will Default application is set as with the corresponding application of setting request, is specifically included:
After setting request is received, judge whether the quantity of current preset application is equal to preset quantity threshold value;
If so, choosing an application from the default application added, the application of selection is carried out cancelling default application Setting, and default application will be set as with the corresponding application of setting request, wherein it is possible to according to default application is added to Sequencing is chosen, and the application for being added to default application at first cancel to the setting of default application, if preset quantity threshold It is 1 to be worth, at this point, most newly added default application is substituted former default application.
Further, the addition gesture of application is preset in order to prevent, is removed gesture, is quickly recalled gesture, quickly packs up hand Gesture mutually conflicts with existing touch control gesture, to avoid because occur during misrecognition mistake response control situation, so as to reach essence The purpose of quasi- response control also brings unnecessary trouble to avoid to user, so as to improve user experience.Based on this, at this It invents in the embodiment provided, involved touch control operation includes:User drag third suspension control performed by slide, Refer to slide more or pressing dynamics are more than the slide of predetermined threshold value.
Preferably, using the slide performed by dragging third suspension control as touch control gesture, wherein, which hangs Floating control can with the first suspension control be same control, as shown in Figure 5 a, addition gesture for be dragged to the first suspension control by The first edge of display screen is slided to second edge, as shown in Figure 5 b, removes gesture to be dragged to the first suspension control by display screen Second edge to first edge slide.In addition, in order to be used to indicate the slide of mobile third suspension control location into Row is distinguished, and in the specific implementation, the slip performed by predetermined threshold value is more than using dragging third suspension control and pressing dynamics and is grasped As touch control gesture.
In addition, follow-up the speed that recalls by being adjusted to foreground from the background, Ke Yitong are applied by second again in order to further improve Continue to run with and control the first application to be adjusted to front stage operation after crossing the second application switching to backstage of control, it in this way need not be to the Two applications are waken up, you can the second application directly is adjusted to front stage operation.
Specifically, above-mentioned in response to the second handover request, by the second application switching to backstage and by the first application switching To front stage operation, specifically include:
It is constant in the stack of foreground that control first applies constant in goal stack and control second to apply, and controls the first application Interactive interface be adjusted to foreground displaying, that is, control first application interactive interface show on a display screen;
Before the second application enters pause flow, judge whether the second application is visible in the stack of foreground;
If so, the second application of control continues to execute operational process (i.e. resume flows), and control the friendship of the second application Displaing coordinate range where mutual interface is not within the coordinate range of display screen or the interactive interface institute of the second application of control Coordinate range of the displaing coordinate range in display screen within and the first application interactive interface display screen top layer's exhibition Show;
If it is not, then the second application of control enters halted state.
Specifically, due to when by the first application switching to front stage operation, the first application is not moved into foreground stack, but Keep first apply it is constant in goal stack, and keep second apply it is constant in the stack of foreground, in this way in the stack of foreground Second application will not be capped, and visible state is in still in the stack of foreground.Therefore, even if the second application moves to backstage, due to Stack where second application is foreground stack, and the second application is also shown, at this point, can also ensure that second applies in the normal fortune in backstage Row.
Wherein, after pause flow is skipped in the second application of control, it is contemplated that android system only allows an operation shape One application component (i.e. Activity) of state (i.e. resume states) exists, therefore, it is necessary to start it is new in application, If it is determined that there are one the Activity of resume states, then whether stack where judging current application is foreground stack and should It applies in the stack of foreground as it can be seen that if so, continue to execute resume flows, is finally reached 2 applications all in resume states.
The situation of front stage operation is switched to by running background for the first application, is applied in goal stack by control first It is constant, you can realizing the second application switching of the free switching between the first application front and back can also remain operational to backstage, So subsequently when needing the second application by switching to foreground from the background, without being waken up to the second application, you can directly will Second application is adjusted to front stage operation.
Application operation condition control method in the embodiment of the present invention receives first for the first application and the second application Handover request, wherein, the first application is to operate in the application on foreground;If the second application is default application, cut in response to first Request is changed, the first application switching to backstage and is remained operational, by the second application switching to front stage operation.Based on to the first switching The identification of request, you can realize and the second application is recalled and realized packed up to the first application;And if the second application For default application, then control is switched to first application on backstage and continues to run with, and therefore, when the first application is background application, this One application can also remain operational so that a certain apply during remaining operational, user can foregrounding its He applies, and the time availability of user is improved, so as to improve user experience;In addition, screen size is directed to than relatively limited Mobile terminal for, using front and back multitask simultaneously run by the way of, can ensure display circle of application currently manipulated The size in face is constant, improves user's operation experience.
The application operation condition control method that corresponding above-described embodiment provides, based on identical technical concept, the present invention is real It applies example and additionally provides a kind of mobile terminal, Fig. 6 is the first module composition signal of mobile terminal provided in an embodiment of the present invention Figure, which is used to perform the application operation condition control method of Fig. 1 to Fig. 5 b descriptions, as shown in fig. 6, the mobile terminal Including:
First request receiving module 601, for receiving the first handover request for the first application and the second application, In, first application is to operate in the application on foreground;
First control module 602, please in response to the described first switching if being default application for the described second application It asks, first application switching to backstage and is remained operational, by second application switching to front stage operation.
Optionally, above-mentioned mobile terminal further includes:
First setup module, for before receiving for the first handover request of the first application and the second application, connecing After receiving setting request, default application will be set as with the setting corresponding application of request.
Optionally, first setup module, is specifically used for:
On the display screen of the mobile terminal, the first suspension control is shown;
If detecting, a certain icon moves to the first suspension control position, and the corresponding application of the icon is set It is set to default application.
Optionally, first setup module, also particularly useful for:
When determining that a certain application has pending information, generate and show the second suspension control;
If detecting clicking operation of the user to the second suspension control, the application with pending information is set For default application.
Optionally, above-mentioned mobile terminal further includes:
Second request receiving module, for backstage and being remained operational by first application switching, by described second After application switching to front stage operation, the second handover request for the first application and the second application is received, wherein, described second Using the application to operate in foreground;
Second control module, in response to second handover request, by second application switching to backstage and By first application switching to front stage operation.
Optionally, the setting request is the addition gesture generation based on user on a display screen;First setting Module, also particularly useful for:
If detecting the addition gesture and third application being just in front stage operation, the third application is set as default Using.
Optionally, above-mentioned mobile terminal further includes:
Cancellation request receiving module, for receiving cancellation request, wherein, the cancellation request is in display screen based on user On the generation of removal gesture, the addition gesture and the removal gesture be different;
Second setup module, if for detecting the removal gesture and third application is just in front stage operation, to described Third application cancel the setting of default application.
Optionally, first handover request is generated based on the first touch control operation, and second handover request is base In the generation of the second touch control operation;
First touch control operation is identical with the removal gesture, second touch control operation and the addition gesture phase Together.
Optionally, first setup module, also particularly useful for:
After setting request is received, judge whether the quantity of current preset application is equal to preset quantity threshold value;
If so, choosing an application from the default application added, the application of selection is carried out cancelling default application Setting, and will with it is described setting the corresponding application of request be set as preset application.
Mobile terminal in the embodiment of the present invention receives the first handover request for the first application and the second application, In, the first application is to operate in the application on foreground;If the second application is default application, in response to the first handover request, by the One application switching is to backstage and remains operational, by the second application switching to front stage operation.Based on the identification to the first handover request, It can be realized and the second application is recalled and realized the first application is packed up;And if the second application is default application, The first application for being switched to backstage is then controlled to continue to run with, therefore, when the first application is background application, which also can It remains operational, so that a certain apply during remaining operational, user can improve in foregrounding other application The time availability of user, so as to improve user experience;In addition, be directed to screen size than relatively limited mobile terminal and Speech in a manner that front and back multitask is run simultaneously, can ensure that the size of the display interface of the application currently manipulated is constant, Improve user's operation experience.
Mobile terminal provided in an embodiment of the present invention can realize the corresponding implementation of above application operating status control method Each process in example, repeats, which is not described herein again to avoid.
The application operation condition control method that corresponding above-described embodiment provides, based on identical technical concept, the present invention is real It applies example and additionally provides a kind of mobile terminal, the equipment is for performing above-mentioned application operation condition control method, and Fig. 7 is realizes this Invent a kind of hardware architecture diagram of mobile terminal of each embodiment, mobile terminal 100 shown in Fig. 7 includes but unlimited In:Radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, The components such as user input unit 107, interface unit 108, memory 109, processor 110 and power supply 111.Art technology Personnel are appreciated that the mobile terminal structure shown in Fig. 7 does not form the restriction to mobile terminal, and mobile terminal can include Certain components or different components arrangement are either combined than illustrating more or fewer components.In embodiments of the present invention, Mobile terminal include but not limited to mobile phone, tablet computer, laptop, palm PC, car-mounted terminal, wearable device, with And pedometer etc..
Wherein, processor 110, for receiving the first handover request for the first application and the second application, wherein, it is described First application is to operate in the application on foreground;
If second application is default application, in response to first handover request, by first application switching It to backstage and remains operational, by second application switching to front stage operation.
In embodiment provided by the invention, based on the identification to the first handover request, you can realize to the second application It recalls and realizes and the first application is packed up;And if the second application is default application, control is switched to the of backstage One application continues to run with, and therefore, when the first application is background application, which can also remain operational, so that certain One applies during remaining operational, and user can improve the time availability of user in foregrounding other application, from And improve user experience;In addition, for being directed to screen size than relatively limited mobile terminal, it is same using front and back multitask The mode of Shi Yunhang can ensure that the size of the display interface of the application currently manipulated is constant, improve user's operation experience.
Wherein, processor 110 are additionally operable to:
It is described to receive for before the first handover request of the first application and the second application, it further includes:
After setting request is received, default application will be set as with the setting corresponding application of request.
Wherein, processor 110 are specifically used for:
It is described to be set as default application with the setting corresponding application of request after setting request is received, including:
On the display screen of the mobile terminal, the first suspension control is shown;
If detecting, a certain icon moves to the first suspension control position, and the corresponding application of the icon is set It is set to default application.
Wherein, processor 110 are specifically used for:
It is described to be set as default application with the setting corresponding application of request after setting request is received, including:
When determining that a certain application has pending information, generate and show the second suspension control;
If detecting clicking operation of the user to the second suspension control, the application with pending information is set For default application.
Wherein, processor 110 are additionally operable to:
It is described by first application switching to backstage and remain operational, by second application switching to front stage operation it Afterwards, it further includes:
The second handover request for the first application and the second application is received, wherein, second application is before operating in The application of platform;
In response to second handover request, second application switching is cut to backstage and by the described first application Shift to front stage operation.
Wherein, processor 110 are specifically used for:
The setting request is the addition gesture generation based on user on a display screen;
It is described to be set as default application with the setting corresponding application of request after setting request is received, including:
If detecting the addition gesture and third application being just in front stage operation, the third application is set as default Using.
Wherein, processor 110 are additionally operable to:
It is described that the third application is set as after presetting application, it further includes:
Cancellation request is received, wherein, the cancellation request is generated based on the removal gesture of user on a display screen, institute It is different with the removal gesture to state addition gesture;
If detecting the removal gesture and third application being just in front stage operation, the third application cancel pre- If the setting of application.
Wherein, processor 110 are additionally operable to:
First handover request is generated based on the first touch control operation, and second handover request is touched based on second Control operation generation;
First touch control operation is identical with the removal gesture, second touch control operation and the addition gesture phase Together.
Wherein, processor 110 are specifically used for:
It is described to be set as default application with the setting corresponding application of request after setting request is received, including:
After setting request is received, judge whether the quantity of current preset application is equal to preset quantity threshold value;
If so, choosing an application from the default application added, the application of selection is carried out cancelling default application Setting, and will with it is described setting the corresponding application of request be set as preset application.
Mobile terminal 100 in the embodiment of the present invention receives the first handover request for the first application and the second application, Wherein, the first application is to operate in the application on foreground;It, will in response to the first handover request if the second application is default application First application switching is to backstage and remains operational, by the second application switching to front stage operation.Based on the knowledge to the first handover request Not, you can realize and the second application is recalled and realized the first application is packed up;And if the second application is answered to be default With, then the first application for being switched to backstage is controlled to continue to run with, therefore, when the first application is background application, first application It can remain operational, so that a certain apply during remaining operational, user can carry in foregrounding other application The high time availability of user, so as to improve user experience;In addition, screen size is directed to than relatively limited mobile terminal For, in a manner that front and back multitask is run simultaneously, it can ensure the size of display interface of the application currently manipulated not Become, improve user's operation experience.
It should be noted that mobile terminal 100 provided in an embodiment of the present invention can realize above application operating status control Each process that mobile terminal is realized in embodiment of the method processed, repeats, which is not described herein again to avoid.
It should be understood that the embodiment of the present invention in, radio frequency unit 101 can be used for receive and send messages or communication process in, signal Send and receive, specifically, by from base station downlink data receive after, handled to processor 110;In addition, by uplink Data are sent to base station.In general, radio frequency unit 101 includes but not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 101 can also by radio communication system and network and other set Standby communication.
Mobile terminal has provided wireless broadband internet to the user by network module 102 and has accessed, and such as user is helped to receive It sends e-mails, browse webpage and access streaming video etc..
It is that audio output unit 103 can receive radio frequency unit 101 or network module 102 or in memory 109 The audio data of storage is converted into audio signal and exports as sound.Moreover, audio output unit 103 can also be provided and be moved The relevant audio output of specific function that dynamic terminal 100 performs is (for example, call signal receives sound, message sink sound etc. Deng).Audio output unit 103 includes loud speaker, buzzer and receiver etc..
Input unit 104 is used to receive audio or video signal.Input unit 104 can include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode Or the static images or the image data of video obtained in image capture mode by image capture apparatus (such as camera) carry out Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or network module 102.Mike Wind 1042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be The form output of mobile communication base station can be sent to via radio frequency unit 101 by being converted in the case of telephone calling model.
Mobile terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein, ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when mobile terminal 100 is moved in one's ear Display panel 1061 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, size and the direction of gravity are can detect that when static, can be used to identify mobile terminal posture (ratio Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passes Sensor 105 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet Meter, thermometer, infrared ray sensor etc. are spent, details are not described herein.
Display unit 106 is used to show by information input by user or be supplied to the information of user.Display unit 106 can wrap Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode may be used Display panel 1061 is configured in forms such as (Organic Light-Emitting Diode, OLED).
User input unit 107 can be used for receiving the number inputted or character information and generation and the use of mobile terminal The key signals input that family is set and function control is related.Specifically, user input unit 107 include touch panel 1071 and Other input equipments 1072.Touch panel 1071, also referred to as touch screen collect user on it or neighbouring touch operation (for example user uses any suitable objects such as finger, stylus or attachment on touch panel 1071 or in touch panel 1071 Neighbouring operation).Touch panel 1071 may include both touch detecting apparatus and touch controller.Wherein, touch detection Device detects the touch orientation of user, and detects the signal that touch operation is brought, and transmits a signal to touch controller;Touch control Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 110, receiving area It manages the order that device 110 is sent and is performed.It is furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc. Type realizes touch panel 1071.In addition to touch panel 1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can include but is not limited to physical keyboard, function key (such as volume control button, Switch key etc.), trace ball, mouse, operating lever, details are not described herein.
Further, touch panel 1071 can be covered on display panel 1061, when touch panel 1071 is detected at it On or near touch operation after, send to processor 110 with determine touch event type, be followed by subsequent processing device 110 according to touch The type for touching event provides corresponding visual output on display panel 1061.Although in the figure 7, touch panel 1071 and display Panel 1061 is the component independent as two to realize the function that outputs and inputs of mobile terminal, but in some embodiments In, can be integrated by touch panel 1071 and display panel 1061 and realize the function that outputs and inputs of mobile terminal, it is specific this Place does not limit.
Interface unit 108 is the interface that external device (ED) is connect with mobile terminal 100.For example, external device (ED) can include Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end Mouth, port, audio input/output (I/O) port, video i/o port, earphone end for connecting the device with identification module Mouthful etc..Interface unit 108 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and One or more elements that the input received is transferred in mobile terminal 100 can be used in 100 He of mobile terminal Data are transmitted between external device (ED).
Memory 109 can be used for storage software program and various data.Memory 109 can mainly include storing program area And storage data field, wherein, storing program area can storage program area, application program (such as the sound needed at least one function Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 109 can include high-speed random access memory, can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection A part is stored in storage by running or performing the software program being stored in memory 109 and/or module and call Data in device 109 perform the various functions of mobile terminal and processing data, so as to carry out integral monitoring to mobile terminal.Place Reason device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated Device is managed, wherein, the main processing operation system of application processor, user interface and application program etc., modem processor is main Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111 Can be logically contiguous by power-supply management system and processor 110, so as to realize management charging by power-supply management system, put The functions such as electricity and power managed.
In addition, mobile terminal 100 includes some unshowned function modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of mobile terminal, and including processor 110, memory 109 is stored in On memory 109 and the computer program that can be run on the processor 110, the computer program are performed by processor 110 Each process of Shi Shixian above application operating status control method embodiments, and identical technique effect can be reached, to avoid It repeats, which is not described herein again.
Further, the application operation condition control method that corresponding above-described embodiment provides, the embodiment of the present invention also provide A kind of computer readable storage medium is stored with computer program on the computer readable storage medium, the computer program quilt Each step such as above-mentioned application operation condition control method embodiment is realized when processor 110 performs, and identical skill can be reached Art effect is repeated to avoid, and which is not described herein again.Wherein, the computer readable storage medium, such as read-only memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM), magnetic disc Or CD etc..
It should be understood by those skilled in the art that, the embodiment of the present invention can be provided as method, system or computer program Product.Therefore, the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware can be used in the present invention Apply the form of example.Moreover, the computer for wherein including computer usable program code in one or more can be used in the present invention The computer program production that usable storage medium is implemented on (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of product.
The present invention be with reference to according to the method for the embodiment of the present invention, the flow of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that it can be realized by computer program instructions every first-class in flowchart and/or the block diagram The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided The processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that the instruction performed by computer or the processor of other programmable data processing devices is generated for real The device of function specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that the instruction generation being stored in the computer-readable memory includes referring to Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or The function of being specified in multiple boxes.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted Series of operation steps are performed on calculation machine or other programmable devices to generate computer implemented processing, so as in computer or The instruction offer performed on other programmable devices is used to implement in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in a box or multiple boxes.
In a typical configuration, computing device includes one or more processors (CPU), input/output interface, net Network interface and memory.
Memory may include computer-readable medium in volatile memory, random access memory (RAM) and/or The forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable medium Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method Or technology come realize information store.Information can be computer-readable instruction, data structure, the module of program or other data. The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), moves State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable Programmable read only memory (EEPROM), fast flash memory bank or other memory techniques, CD-ROM read-only memory (CD-ROM), Digital versatile disc (DVD) or other optical storages, magnetic tape cassette, the storage of tape magnetic rigid disk or other magnetic storage apparatus Or any other non-transmission medium, available for storing the information that can be accessed by a computing device.It defines, calculates according to herein Machine readable medium does not include temporary computer readable media (transitory media), such as data-signal and carrier wave of modulation.
It is understood that the embodiment of the present invention description these embodiments can use hardware, software, firmware, middleware, Microcode or combination is realized.For hardware realization, processing unit can be realized in one or more application-specific integrated circuits (Application Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing, DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable Logic Device, PLD), field programmable gate array (Field-Programmable Gate Array, FPGA), general place Reason device, controller, microcontroller, microprocessor, for performing in other electronic unit or combinations of function of the present invention.
For software implementations, can by perform the module (such as process, function etc.) of function described in the embodiment of the present invention come Realize the technology described in the embodiment of the present invention.Software code is storable in memory and is performed by processor.Memory can With portion realizes in the processor or outside the processor.
It should also be noted that, herein, term " comprising ", "comprising" or its any other variant are intended to non- It is exclusive to include, so that process, method, commodity or equipment including a series of elements not only include those elements, But also it including other elements that are not explicitly listed or further includes solid by this process, method, commodity or equipment Some elements.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including Also there are other identical elements in the process of the element, method, commodity or equipment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on such understanding, technical scheme of the present invention substantially in other words does the prior art Going out the part of contribution can be embodied in the form of software product, which is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), used including some instructions so that a station terminal (can be mobile phone, computer services Device, air conditioner or network equipment etc.) perform method described in each embodiment of the present invention.
The embodiment of the present invention is described above in conjunction with attached drawing, but the invention is not limited in above-mentioned specific Embodiment, above-mentioned specific embodiment is only schematical rather than restricted, those of ordinary skill in the art Under the enlightenment of the present invention, present inventive concept and scope of the claimed protection are not being departed from, the present invention can have Various modifications and variations.All any modification, equivalent replacement, improvement and so within spirit and principles of the present invention, should all Within scope of the presently claimed invention.

Claims (19)

1. a kind of application operation condition control method, applied to mobile terminal, which is characterized in that the method includes:
The first handover request for the first application and the second application is received, wherein, first application is operates in foreground Using;
If second application is default application, in response to first handover request, by first application switching to rear Platform simultaneously remains operational, by second application switching to front stage operation.
2. according to the method described in claim 1, it is characterized in that, described receive first applied for the first application and second Before handover request, further include:
After setting request is received, default application will be set as with the setting corresponding application of request.
3. according to the method described in claim 2, it is characterized in that, it is described receive setting request after, will be with the setting Corresponding application is asked to be set as default application, including:
On the display screen of the mobile terminal, the first suspension control is shown;
If detecting, a certain icon moves to the first suspension control position, and the corresponding application of the icon is set as Default application.
4. according to the method described in claim 2, it is characterized in that, it is described receive setting request after, will be with the setting Corresponding application is asked to be set as default application, including:
When determining that a certain application has pending information, generate and show the second suspension control;
If detecting clicking operation of the user to the second suspension control, the application with pending information is set as pre- If using.
5. according to the method described in claim 2, it is characterized in that, described to backstage and keep transporting by first application switching Row, after second application switching to front stage operation, further includes:
The second handover request for the first application and the second application is received, wherein, second application is operates in foreground Using;
In response to second handover request, by second application switching to backstage and by first application switching extremely Front stage operation.
6. according to the method described in claim 5, it is characterized in that, the setting request is adding on a display screen based on user Add what gesture generated;
It is described to be set as default application with the setting corresponding application of request after setting request is received, including:
If detecting the addition gesture and third application being just in front stage operation, the third application is set as default and is answered With.
7. according to the method described in claim 6, it is characterized in that, described be set as default using it by the third application Afterwards, it further includes:
Cancellation request is received, wherein, the cancellation request is generated based on the removal gesture of user on a display screen, described to add Add gesture different with the removal gesture;
If detecting the removal gesture and third application being just in front stage operation, the third application is carried out to cancel default answer Setting.
8. the method according to the description of claim 7 is characterized in that first handover request is given birth to based on the first touch control operation Into, second handover request is generated based on the second touch control operation;
First touch control operation is identical with the removal gesture, and second touch control operation is identical with the addition gesture.
9. according to the method described in claim 2, it is characterized in that, it is described receive setting request after, will be with the setting Corresponding application is asked to be set as default application, including:
After setting request is received, judge whether the quantity of current preset application is equal to preset quantity threshold value;
If so, choosing an application from the default application added, the application of selection is carried out to cancel setting for default application It puts, and default application will be set as with the setting corresponding application of request.
10. a kind of mobile terminal, which is characterized in that including:
First request receiving module, for receiving the first handover request for the first application and the second application, wherein, described the One application is to operate in the application on foreground;
First control module, if being default application for the described second application, in response to first handover request, by described in First application switching is to backstage and remains operational, by second application switching to front stage operation.
11. mobile terminal according to claim 10, which is characterized in that further include:
First setup module, for before receiving for the first handover request of the first application and the second application, receiving After setting request, default application will be set as with the setting corresponding application of request.
12. mobile terminal according to claim 11, which is characterized in that first setup module is specifically used for:
On the display screen of the mobile terminal, the first suspension control is shown;
If detecting, a certain icon moves to the first suspension control position, and the corresponding application of the icon is set as Default application.
13. mobile terminal according to claim 11, which is characterized in that first setup module, also particularly useful for:
When determining that a certain application has pending information, generate and show the second suspension control;
If detecting clicking operation of the user to the second suspension control, the application with pending information is set as pre- If using.
14. mobile terminal according to claim 11, which is characterized in that further include:
For to backstage and being remained operational by first application switching, described second is applied for second request receiving module It switches to after front stage operation, receives the second handover request for the first application and the second application, wherein, second application To operate in the application on foreground;
Second control module, in response to second handover request, by second application switching to backstage and by institute The first application switching is stated to front stage operation.
15. mobile terminal according to claim 14, which is characterized in that the setting request is in display screen based on user On addition gesture generation;First setup module, also particularly useful for:
If detecting the addition gesture and third application being just in front stage operation, the third application is set as default and is answered With.
16. mobile terminal according to claim 15, which is characterized in that further include:
Cancellation request receiving module, for receiving cancellation request, wherein, the cancellation request be based on user on a display screen Gesture generation is removed, the addition gesture is different with the removal gesture;
Second setup module, if for detecting the removal gesture and third application is just in front stage operation, to the third Using the setting for cancel default application.
17. mobile terminal according to claim 16, which is characterized in that first handover request is based on the first touch-control Operation generation, second handover request is generated based on the second touch control operation;
First touch control operation is identical with the removal gesture, and second touch control operation is identical with the addition gesture.
18. mobile terminal according to claim 11, which is characterized in that first setup module, also particularly useful for:
After setting request is received, judge whether the quantity of current preset application is equal to preset quantity threshold value;
If so, choosing an application from the default application added, the application of selection is carried out to cancel setting for default application It puts, and default application will be set as with the setting corresponding application of request.
19. a kind of mobile terminal, which is characterized in that including:It processor, memory and is stored on the memory and can be in institute The computer program run on processor is stated, such as claim 1 to 9 is realized when the computer program is performed by the processor Any one of described in application operation condition control method the step of.
CN201711458803.1A 2017-12-28 2017-12-28 A kind of application operation condition control method and mobile terminal Pending CN108200278A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711458803.1A CN108200278A (en) 2017-12-28 2017-12-28 A kind of application operation condition control method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711458803.1A CN108200278A (en) 2017-12-28 2017-12-28 A kind of application operation condition control method and mobile terminal

Publications (1)

Publication Number Publication Date
CN108200278A true CN108200278A (en) 2018-06-22

Family

ID=62584909

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711458803.1A Pending CN108200278A (en) 2017-12-28 2017-12-28 A kind of application operation condition control method and mobile terminal

Country Status (1)

Country Link
CN (1) CN108200278A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109213402A (en) * 2018-09-26 2019-01-15 徐文娟 A kind of method and mobile terminal of the interface display of mobile terminal
CN110288776A (en) * 2019-06-19 2019-09-27 深圳市丰巢科技有限公司 Pickup switching method, device, equipment and storage medium are sent based on express delivery cabinet
CN110442437A (en) * 2019-07-18 2019-11-12 维沃移动通信有限公司 A kind of application switching method and mobile terminal
CN111352558A (en) * 2020-02-28 2020-06-30 维沃移动通信有限公司 Application program switching method and electronic equipment
CN111988463A (en) * 2020-07-10 2020-11-24 未来穿戴技术有限公司 Massage equipment control method and system, massage equipment and mobile terminal

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103870119A (en) * 2014-02-21 2014-06-18 联想(北京)有限公司 Information processing method and electronic equipment
CN104461242A (en) * 2014-12-08 2015-03-25 深圳市嘉乐派科技有限公司 Multiwindow interface realization method based on Android operating system
CN105393205A (en) * 2013-06-04 2016-03-09 三星电子株式会社 Electronic device and method for controlling applications in the electronic device
CN105426082A (en) * 2015-12-03 2016-03-23 魅族科技(中国)有限公司 Application interface window switching method and terminal
CN105516767A (en) * 2015-12-01 2016-04-20 海信集团有限公司 Smart television and application switching method thereof
CN105549819A (en) * 2015-12-11 2016-05-04 努比亚技术有限公司 Method and device for displaying background application information
CN105700776A (en) * 2016-02-25 2016-06-22 努比亚技术有限公司 Device and method for switching background programs
CN106028124A (en) * 2016-07-04 2016-10-12 北京金山安全软件有限公司 Video playing method and device and electronic equipment
CN106325508A (en) * 2016-08-18 2017-01-11 北京小米移动软件有限公司 Method and device for processing application
CN106371901A (en) * 2015-07-24 2017-02-01 东莞酷派软件技术有限公司 Application switching method and apparatus
CN106921883A (en) * 2017-04-25 2017-07-04 珠海市魅族科技有限公司 A kind of method and device of video playback treatment

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105393205A (en) * 2013-06-04 2016-03-09 三星电子株式会社 Electronic device and method for controlling applications in the electronic device
CN103870119A (en) * 2014-02-21 2014-06-18 联想(北京)有限公司 Information processing method and electronic equipment
CN104461242A (en) * 2014-12-08 2015-03-25 深圳市嘉乐派科技有限公司 Multiwindow interface realization method based on Android operating system
CN106371901A (en) * 2015-07-24 2017-02-01 东莞酷派软件技术有限公司 Application switching method and apparatus
CN105516767A (en) * 2015-12-01 2016-04-20 海信集团有限公司 Smart television and application switching method thereof
CN105426082A (en) * 2015-12-03 2016-03-23 魅族科技(中国)有限公司 Application interface window switching method and terminal
CN105549819A (en) * 2015-12-11 2016-05-04 努比亚技术有限公司 Method and device for displaying background application information
CN105700776A (en) * 2016-02-25 2016-06-22 努比亚技术有限公司 Device and method for switching background programs
CN106028124A (en) * 2016-07-04 2016-10-12 北京金山安全软件有限公司 Video playing method and device and electronic equipment
CN106325508A (en) * 2016-08-18 2017-01-11 北京小米移动软件有限公司 Method and device for processing application
CN106921883A (en) * 2017-04-25 2017-07-04 珠海市魅族科技有限公司 A kind of method and device of video playback treatment

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109213402A (en) * 2018-09-26 2019-01-15 徐文娟 A kind of method and mobile terminal of the interface display of mobile terminal
CN110288776A (en) * 2019-06-19 2019-09-27 深圳市丰巢科技有限公司 Pickup switching method, device, equipment and storage medium are sent based on express delivery cabinet
CN110442437A (en) * 2019-07-18 2019-11-12 维沃移动通信有限公司 A kind of application switching method and mobile terminal
CN111352558A (en) * 2020-02-28 2020-06-30 维沃移动通信有限公司 Application program switching method and electronic equipment
CN111988463A (en) * 2020-07-10 2020-11-24 未来穿戴技术有限公司 Massage equipment control method and system, massage equipment and mobile terminal

Similar Documents

Publication Publication Date Title
CN108021321B (en) A kind of application operating status control method and mobile terminal
CN108062190A (en) A kind of application operation condition control method and mobile terminal
CN108200278A (en) A kind of application operation condition control method and mobile terminal
EP3617861A1 (en) Method of displaying graphic user interface and electronic device
CN108200289A (en) A kind of unread message processing method and mobile terminal
CN107992244A (en) The control method and terminal device of a kind of application program
CN108055408A (en) A kind of application control method and mobile terminal
CN111092990B (en) Application program sharing method, electronic device and storage medium
CN108196947A (en) A kind of application operation condition control method and mobile terminal
CN108170361A (en) A kind of application operation condition control method and mobile terminal
CN107992263A (en) A kind of information sharing method and mobile terminal
CN110502163A (en) The control method and terminal device of terminal device
CN110971970B (en) Video processing method and electronic equipment
CN108762869A (en) A kind of information processing method and mobile terminal
CN109040441A (en) Using display methods of attending to anything else, mobile terminal and computer readable storage medium
CN110007822A (en) A kind of interface display method and terminal device
CN108184021A (en) A kind of application operation condition control method and mobile terminal
CN108616771A (en) Video broadcasting method and mobile terminal
CN108052258B (en) Terminal task processing method, task processing device and mobile terminal
CN108076229A (en) A kind of application operation condition control method and mobile terminal
CN108320148A (en) A kind of resource transfers method and relevant device
CN108681427A (en) A kind of method and terminal device of access privilege control
CN107992342A (en) A kind of application configuration change method and mobile terminal
CN108920054A (en) A kind of application recommended method and terminal
CN108287745A (en) A kind of display methods and terminal device at the interfaces WebApp

Legal Events

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

Application publication date: 20180622

RJ01 Rejection of invention patent application after publication