Embodiment
Fig. 1 is many application windows display packing schematic flow sheet in a kind of Android system provided by the invention.As shown in Figure 1, the method comprises:
10, receive the request of opening application, described request comprises the mark of described application.
In the present embodiment, the request of opening application is triggered by user, and such as user triggers the request of opening application by the icon clicking application, or user triggers the request of opening application by the mode of the mark of selective gist in list of application.In the Android system that this method embodiment is provided by the embodiment of the present invention, counter management apparatus performs, and counter management apparatus can be window management server Window ManagerService, usually arranges in the terminal.
The mark of application can be the Apply Names symbol that the provider applied provides, such as, by QQ, Fetion, Wechat mark respectively as QQ application, Fetion application, micro-letter application, also can according to the set-up time priority of each application, or the size etc. in each application space used distributes different application identities for each application, such as identify QQ application with mark token1, identify Fetion application with mark token2, with mark token5 identifier calculator application etc., the present embodiment does not limit this.
11, according to the mark of described application, determine the layer that described application is corresponding.
Particularly, the described mark according to described application, determine to comprise the layer that described application is corresponding:
The mapping relations table of inquiry application identities and layer, determines the layer that described application is corresponding.
In counter management apparatus, store the mapping relations table of application identities and layer, the layer that an application is corresponding unique, namely same application only can show on unique layer, and a layer can corresponding multiple application.Counter management apparatus, after receiving the request of opening application, by inquiring about the mapping relations table of application identities and layer, determines the layer of the mark correspondence of this application, i.e. the layer of this application correspondence.
12, if the layer of described application correspondence is wicket layer, be then presented on described wicket layer by described application with the form of wicket, the numerical value of described wicket layer is higher than application layer.
Counter management apparatus is the different numerical value of different Layer assignment, and the display priority of this layer of the larger expression of numerical value is higher.The numerical value such as distributed for application layer is 2, the numerical value then distributed for the wicket of definition is at least certain numerical value of more than 3 or 3, thus when user opens the application of wicket layer correspondence and application corresponding to application layer simultaneously, the application of wicket layer correspondence can be presented at the upper end of application corresponding to application layer, i.e. the display interface of the application of wicket layer correspondence is superimposed upon the display interface last layer of application corresponding to application layer.For example, if after user opens the application of a wicket layer correspondence, counter management apparatus opens again application corresponding to a certain application layer according to request, and the application of front opening wicket layer correspondence now will be presented at the upper end of application corresponding to the application layer newly opened.
Under some scenes, when user has opened application corresponding to application layer, the application corresponding due to application layer is presented on screen in full frame mode, if user wishes the application of opening wicket layer correspondence again, then need first to close application corresponding to application layer, just can open the application of wicket layer correspondence.Therefore, a physical button can being set on mobile terminals as wicket utility key, to facilitate user when opening application corresponding to application layer, when not closing application corresponding to the application layer opened, the application of wicket layer correspondence can being opened.
Correspondingly, the request of application is opened in described reception, comprising:
When wicket utility key is triggered, at the list of application of wicket layer display wicket layer correspondence;
Receive the request of opening the application of described wicket layer correspondence that user sends based on described list of application.
For example, calculator application is the application of wicket layer correspondence, if current display is applied as the shopping application corresponding with application layer on terminal screen, user wishes to determine that whether Payment Amount is accurate before payment, then can wicket utility key in triggering terminal, then the mark that seletion calculation device is applied in the list of application of the wicket layer correspondence opened is to open calculator application, because the numerical value of the wicket layer that calculator application is corresponding is higher than the numerical value of the application layer of shopping application correspondence, so calculator application can be presented at the upper end of shopping application, thus make user can adjust the Payment Amount of the upper display of shopping application corresponding to application layer by the calculator application of wicket layer correspondence.
Particularly, described described application to be presented on described wicket layer with the form of wicket, to comprise:
Judge whether the quantity of the application shown on described wicket layer has reached default threshold value, described threshold value is the maximal value of the quantity of the application that described wicket layer can show;
If do not reach, then described application is presented on described wicket layer with the form of wicket.
Usually, consider that the needs that user uses and application display completely need clearly, the maximal value of the quantity of the application that a wicket layer can show can be preset in counter management apparatus, the quantity such as presetting the application that wicket layer can show is 5 to the maximum, after then counter management apparatus receives the request of opening application, if the quantity judging the application that wicket layer shows is 4, also do not reach 5, then will the application of opening be asked to be presented on wicket layer with the form of wicket.
Correspondingly, the quantity of the application that described judgement shows on described wicket layer also comprises after whether having reached default threshold value:
If reach, be then closed in the application shown the earliest in described wicket layer, and described application is presented on described wicket layer with the form of wicket.
Concrete, the priority of the mark of the application that wicket layer shows according to opening time can sort by counter management apparatus successively, if counter management apparatus is by judging that the quantity finding the application that wicket layer shows is 5, reach the maximal value of the quantity of the application that wicket layer can show, then counter management apparatus is according to the sequencing of the application of opening, close the wicket of application corresponding to the application identities opened the earliest, the application of opening then will be asked to be presented on wicket layer with the form of wicket.
Preferably, counter management apparatus is before closing application according to the opening time of the application that wicket layer shows, can inquire user whether close described in the application that shows the earliest, the application shown the earliest is closed again confirmed to close the application shown the earliest by user after, if user selects not close the application shown the earliest, then inquire and whether will close time application of early display, if user still selects not close, then continue inquiry, until user selects to close after a certain application shown, to the application of opening be asked to be presented on wicket layer with the form of wicket again, if traveled through all application shown, user does not still select to close a certain application shown, then can reach maximal value when the application wicket quantity of front opening by reminding user, new application can not be opened again.
Further, described described application is presented on described wicket layer with the form of wicket before, also comprise:
If when having the application shown in described wicket layer, the focus of the application shown described in cancellation;
Described described application is presented on described wicket layer with the form of wicket after, also comprise:
By focal point settings in described application.
Usually, on wicket layer, the application of last display is in acquisition focus condition, so that user can operate this application, if the application of another wicket is opened in now user's request, then counter management apparatus is before the wicket application that this request of display is opened, first cancel the focus of the application shown, then by ask the application of opening with after the display of the form of wicket by focal point settings in this application so that user can operate this application.
Preferably, described described application to be presented on described wicket layer with the form of wicket, to comprise:
The display size on corresponding described wicket layer is applied in described in determining;
Described application is presented on described wicket layer with the form of wicket according to described display size.
Usually, the operation that user can carry out different application is different, and the complexity that can operate this application according to user, for this application arranges different display sizes.For example, for calculator application and music player application, to consider in calculator application that user to need to select in this application different digital key to calculate, and music player application user only needs to select to play (stopping)/last head/rear head, so the display size of the comparable music player application of the display size of calculator application is large.
Many application windows display packing in the Android system that the present embodiment provides, counter management apparatus is determined to apply corresponding layer according to asking the application identities opened, if the layer of application correspondence is wicket layer, then application is presented on wicket layer with the form of wicket, and because the numerical value of wicket layer is higher than application layer, make the application of wicket layer correspondence be presented at application upper end corresponding to application layer always, achieve show multiple application simultaneously in Android system, be convenient for users to operate, improve Consumer's Experience, the difference with carrying out operating is may correspond in addition according to user, the display size of the application of wicket layer correspondence is set, the operation of user to application is also ensure that while meeting the application of user's windows display.
Fig. 2 is the structural representation of many application windows management devices in a kind of Android system provided by the invention.As shown in Figure 2, this counter management apparatus comprises: receiver module 20, determination module 21, processing module 22, wherein, receiver module, for receiving the request of opening application, described request comprises the mark of described application; Determination module, for the mark according to described application, determines the layer that described application is corresponding; Processing module, if be wicket layer for the layer that described application is corresponding, be then presented on described wicket layer by described application with the form of wicket, the numerical value of described wicket layer is higher than application layer.
Particularly, described receiver module, specifically for:
When wicket utility key is triggered, at the list of application of wicket layer display wicket layer correspondence;
Receive the request of opening the application of described wicket layer correspondence that user sends based on described list of application.
Particularly, described determination module, specifically for: the mapping relations table of inquiry application identities and layer, determine the layer that described application is corresponding.
Further, described processing module, specifically for:
Judge whether the quantity of the application shown on described wicket layer has reached default threshold value, described threshold value is the maximal value of the quantity of the application that described wicket layer can show;
If do not reach, then described application is presented on described wicket layer with the form of wicket.
Correspondingly, after whether described processing module has also reached default threshold value specifically for the quantity of: the application shown on described wicket layer in described judgement, if reach, then be closed in the application shown the earliest in described wicket layer, and described application is presented on described wicket layer with the form of wicket.
Especially, described processing module also for: described described application is presented on described wicket layer with the form of wicket before, if when having the application shown in described wicket layer, the focus of the application shown described in cancellation;
After described application is presented on described wicket layer with the form of wicket, by focal point settings in described application.
Preferably, described processing module, specifically for: be applied in the display size on corresponding described wicket layer described in determining;
Described application is presented on described wicket layer with the form of wicket according to described display size.
In the Android system that the present embodiment provides, the function of counter management apparatus and treatment scheme can refer to the embodiment of many application windows display packing in the Android system that the embodiment of the present invention provides, and repeat no more herein.
Counter management apparatus in the Android system that the present embodiment provides, determine according to asking the application identities opened to apply corresponding layer, if the layer of application correspondence is wicket layer, then application is presented on wicket layer with the form of wicket, and because the numerical value of wicket layer is higher than application layer, make the application of wicket layer correspondence be presented at application upper end corresponding to application layer always, achieve show multiple application simultaneously in Android system, be convenient for users to operate, improve Consumer's Experience, the difference with carrying out operating is may correspond in addition according to user, the display size of the application of wicket layer correspondence is set, the operation of user to application is also ensure that while meeting the application of user's windows display.
One of ordinary skill in the art will appreciate that: all or part of step realizing above-mentioned each embodiment of the method can have been come by the hardware that programmed instruction is relevant.Aforesaid program can be stored in a computer read/write memory medium.This program, when performing, performs the step comprising above-mentioned each embodiment of the method; And aforesaid storage medium comprises: ROM, RAM, magnetic disc or CD etc. various can be program code stored medium.
Last it is noted that above each embodiment is only in order to illustrate technical scheme of the present invention, be not intended to limit; Although with reference to foregoing embodiments to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein some or all of technical characteristic; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the scope of various embodiments of the present invention technical scheme.