Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
One embodiment of the invention provides a kind of method of interface processing, and this method is applied to electric terminal, such as Fig. 1 institute
Show, this method comprises:
101, electric terminal receives the instruction information of user's input.
Wherein, the mode that user inputs instruction information includes, but are not limited to: inputting on the touch screen of electric terminal
It clicks or stroke, electric terminal triggers interface by the instruction information and restore, the display of electric terminal includes the touch screen.
102, electric terminal passes through instruction information searching task stack information corresponding with interface to be restored.
Wherein, the application path information in task stack information including interface to be restored and interface to be restored are corresponding
User's history operation information, application path information are the routing information during interface to be restored is applied belonging to it.
103, electric terminal carries out interface recovery using task stack information.
A kind of method of interface processing provided in an embodiment of the present invention carries out interface using electric terminal in user and restored
Cheng Zhong, the instruction information inputted first by user, finds task stack information corresponding with interface to be restored, thus by should
Task stack information directly carries out interface recovery.With in the prior art, user must be re-executed before opening interface to be restored
All operations could open interface to be restored and compare, technical solution provided by the invention can be used family quickly open it is to be restored
Interface simplifies operating process, improves the service efficiency of user.
Another embodiment of the present invention provides a kind of methods of interface processing, and this method is applied to electric terminal, such as Fig. 2 institute
Show, this method comprises:
201, electric terminal receives the collection instruction of user's input.
Wherein, the mode of the collection instruction of user's input includes, but are not limited to: inputting on the touch screen of electric terminal
Click or sliding, input on the touchscreen maintenance specified time pressing, such as can by user display screen receipts
It hides input on icon and clicks realization, collection instruction collects interface to be restored for triggering.
202, electric terminal is according to collection instruction store tasks stack information and interface information.
Wherein, task stack information is identical as the associated description in above-mentioned steps 102, and this will not be repeated here, task stack
Information and interface information are one-to-one relationships, interface information may include: the corresponding icon of application belonging to interface to be restored and/
Or the corresponding title in interface to be restored, in embodiments of the present invention, the particular content for including to the interface information is not construed as limiting.
It is worth noting that above-mentioned steps 201 and 202 are to collect the process at interface to be restored, user is in browser interface
Interface is collected as needed, when user needs to reopen the interface to be restored that above-mentioned steps were collected, executes subsequent step
Suddenly restore interface to be restored.
203, in predeterminable area, electric terminal receives the instruction information of user's input.
The instruction information involved in this step 203 is identical to the instruction associated description of information with above-mentioned steps 101,
This is not repeated to illustrate, and predeterminable area shows the corresponding interface information in interface to be restored.Wherein, interface information and above-mentioned step
Associated description in rapid 202 is identical, is not repeated to illustrate.
It is worth noting that since instruction information is for triggering interface recovery, and each interface to be restored is in display
On have display area belonging to it, in order to be accurately obtained interface to be restored by the instruction information, user needs at this
Input indicates information in display area belonging to interface to be restored, and display area belonging to interface to be restored therein is as above-mentioned
Predeterminable area, correspondingly, electric terminal receives instruction information in the predeterminable area, and trigger corresponding to the predeterminable area
Interface to be restored interface restore.
In a kind of implementation of the invention, the corresponding icon in interface to be restored can be answered with belonging to the interface to be restored
Icon is identical, and the title at interface to be restored can be user for the title of interface to be restored input, be also possible to be
System is directed to the title of the interface setting to be restored.Specific table of the embodiment of the present invention to the corresponding interface information in the interface to be restored
Existing form is not construed as limiting.
204, display position of the electric terminal according to predeterminable area over the display determines the storage road of task stack information
Diameter.
Wherein, there is corresponding display position in each interface to be restored over the display, while store in electric terminal
There is the task stack information at the interface to be restored, each task stack information has respective store path, and predeterminable area is in display
On display position and task stack information store path correspond.For example, a large interface can be passed through over the display
Show that a plurality of interface information, the corresponding predeterminable area of every interface information arrange on the large interface, put in order including but
It is not limited to determine according to the time sequencing for adding interface information on the large interface, in the optional realization side of one kind of the present embodiment
In formula, the display mode of interface information can be form, and every interface information corresponds to a line in table, correspondingly,
It when storing the corresponding task stack information in interface to be restored, can equally store in a tabular form, each task stack information is corresponding should
A line in table is stored, the position of foregoing description and the one-to-one correspondence of store path may is that display interface information form
Arrangement row is corresponding with the arrangement row of table of store tasks stack information, for example, the first row and storage of display interface information form
The first row of the table of task stack information is corresponding.So as to according to the corresponding relationship of the display position and store path,
Corresponding task stack information can be got.
It is worth noting that the related content of task stack information is identical as the associated description in above-mentioned 101.
Furthermore it is worth noting that, due to when storing the corresponding interface information in interface to be restored, the interface institute to be restored
The application of category is open state, but subsequent when receiving instruction information triggering interface recovery, is answered belonging to the interface to be restored
With can be the state of opening or closing, the particular content at the interface to be restored shown accordingly is different, and the interface to be restored
Shown particular content is determined by the corresponding user's history operation information in interface to be restored in task stack information, so at this
The corresponding user's history operation information dynamic in interface to be restored updates in embodiment, and to be restored as corresponding to task stack information
The state applied belonging to interface triggers the update.
For the different conditions of application, the particular content of the operation information has following two kinds of situations:
The first situation: using when being in off state belonging to the interface to be restored, the corresponding user's history in interface to be restored
Operation information are as follows: when starting the initial interface of application program to the original interface for being loaded into interface to be restored, user's input is gone through
History operation information.
Second situation: when belonging to the interface to be restored using for open state, the corresponding user's history in interface to be restored
Operation information are as follows: start the initial interface of application to when being loaded into interface to be restored, the historical operation information of user's input.
In conjunction with the above-mentioned description updated to task stack information dynamic, storage and renewal process be can be described as: initial
The state of state application is open state, and user's history operation information is the content described under second situation at this time, when application
When state is in off state, user's history operation information is retouched in the case of the first by the content update described under second situation
The content stated.In the present embodiment, the primary storage of task stack information corresponding to interface to be restored for one, the task stack
User's history operation information in information only by the content update described under second situation be describe in the case of the first in
Hold.
Furthermore it is worth noting that, the interface to be restored of foregoing description can be the initial interface of application belonging to it, and should
Interface to be restored is identical as the original interface at the interface to be restored, but since there are following situations: the original at interface to be restored
On beginning interface, electric terminal has received the information of user's input, so that having obtained the user wants the interface to be restored restored,
The interface to be restored obtained after user's operation is namely received based on original interface, in order to distinguish this case, in the present embodiment
In the original interface for restoring interface and interface to be restored is distinguished.
In conjunction with foregoing description, carrying out needing to judge the interface to be restored in the recovery process of interface by task stack information
Affiliated application is to open or close state, which, which will restore process, to be described in detail in following 204.
205, electric terminal obtains task stack information by the store path of task stack information.
206, electric terminal carries out interface recovery using task stack information.
It is worth noting that including the following steps: in realizing the specific execution process that the interface is restored
Step 1: electric terminal judges this to the current state for restoring to apply belonging to interface.
Wherein, the current state of application includes: closed state and open state.
Step 2: current state of the electric terminal according to determining application, it is determined whether to the operation in task stack information
Information is updated.
It is worth noting that the update of the task stack information is not repeated herein referring to the associated description in above-mentioned 204
Explanation.
Step 3: electric terminal passes through updated task stack acquisition of information interface to be restored.
Further by this 206 get interface to be restored after, electric terminal show over the display this to extensive
Multiple interface.
Furthermore it is worth noting that, is carried out in the recovery process of interface in user using electric terminal, there are certain to be restored
Application belonging to interface is after shutdown, it is necessary to carry out logging in the application that authentication can just reopen again, for this feelings
Shape, after getting task stack information by 205, electric terminal triggering display is reflected by the login that task stack acquisition of information arrives
Interface is weighed, and then receives the information to be verified of user's input, after the authentication is passed, electric terminal is directly obtained by task stack information
Interface to be restored is taken, and shows the interface to be restored over the display.
In an implementation of the embodiment of the present invention in conjunction with foregoing description, when the display of electric terminal has split screen
When display function, multiple interfaces to be restored can be shown simultaneously on the display, concrete methods of realizing is referring to above-mentioned as schemed
1, method flow shown in Fig. 2, this will not be repeated here.
A kind of method of interface processing is provided in another implementation of the embodiment of the present invention, when user thinks to have deposited
When the relevant information at the interface to be restored of storage is no longer required, wherein the relevant information at interface to be restored includes the interface to be restored
Corresponding interface information and task stack information, for the relevant information for needing to delete the interface to be restored that economizes on resources, in the party
In method, the deletion process of the relevant information at stored interface to be restored is described, as shown in figure 3, this method packet
It includes:
301, electric terminal receives the deletion instruction of user's input.
Wherein, user inputs the mode deleted and indicated and includes, but are not limited to: inputting on the touch screen of electric terminal
Sliding, the pressing of the maintenance specified time inputted on the touchscreen, deletion instruction delete interface to be restored for triggering.
302, electric terminal deletes interface to be restored interface information shown over the display and task by deleting instruction
Stack information.
In conjunction with above-mentioned 301 description, in embodiments of the present invention, when electric terminal receives on the different location of display
To when deleting instruction, different deletion processes can be triggered.When in the electric terminal region that interface information is shown over the display
When receiving the deletion instruction of user's input, then triggers and delete the single interface information;Refer to furthermore according to the deletion that user inputs
Show, it is also an option that deleting multiple interface informations, when deleting multiple interface informations, can be user in electric terminal display
On any position press touch screen, and then trigger electric terminal by display show may be selected deletion interface information newly
Interface, and then after receiving the further selection instruction of user's input, delete the multiple interface informations selected;Electric terminal
All interface informations can also be deleted by deleting instruction, for example receive the deletion instruction of user's input in predetermined region, then
All interface informations are deleted according to deletion instruction, wherein predetermined region is the position on display where whole delete buttons.
The embodiment of the present invention is for deleting the specific input form indicated and input area with no restriction, as long as can be realized corresponding
It is within the scope of the present invention to delete function.
It is worth noting that searching corresponding in conjunction with the instruction information inputted in above-mentioned 102,203,204 by user
The description of business stack information flow can indicate that get corresponding task stack believes according to the same process that executes by the deletion
Breath, and corresponding task stack information is deleted while deleting interface information.
In addition, deleting some or certain interface informations and task stack letter in the deletion process of the step 302 description
After breath, for storing the resource of these information, space is just idle, and is also possible to same time in the subsequent lookup for carrying out information
These idle spaces are gone through, in order to preferably economize on resources, using space, are needed again corresponding to remaining interface to be restored
The store path of the display position of interface information and corresponding task stack information is updated, and needs to be implemented following 303 thus.
303, after deleting the corresponding interface information in interface to be restored and task stack information, remaining interface to be restored is updated
The store path of the display position of corresponding interface information task stack information corresponding with remaining interface to be restored.
In conjunction with 303 description, by executing above-mentioned 303, so that the corresponding task in remaining updated interface to be restored
The display position of the store path of stack information, interface information corresponding with remaining updated interface to be restored corresponds.
It is worth noting that in the present embodiment, do not limit to the corresponding interface information in remaining a interface to be replied
The update mode of the store path of display position and this remaining corresponding task stack information in interface to be restored, as long as can be
After deleting information, the relevant information at remaining interface to be restored is substituted into corresponding storage resource position, and make updated
The display position of corresponding information or store path meet the description in above-mentioned 303.
In the present embodiment, update mode includes, but are not limited to the mode of following A, B description:
A, electric terminal by be located at the display position of the corresponding interface information in interface to be restored over the display under its
The display position of remaining interface information to be restored successively moves up.
Wherein, the locational space number that the display position of the interface information at remaining interface to be restored moves up refers to by deleting
Show that the number at the interface to be restored of deletion is identical, which is the memory space for the distribution of single interface information.
It is worth noting that also needing to execute step B while executing step A.
B, electric terminal updates the store path of the corresponding task stack information in remaining interface to be restored.
The store path for updating the corresponding task stack information in remaining interface to be restored, can make updated interface to be restored
The store path of corresponding task stack information, it is a pair of with the display position one of the interface information at remaining interface to be restored adjusted
It answers.
In conjunction with the description of above-mentioned A, B, update mode be can also be the display position of remaining interface information to be restored
It moves down or moves left and right, and update the store path of the corresponding task stack information in remaining interface to be restored accordingly, the present invention
Embodiment is not construed as limiting specific update mode.
Another embodiment of the present invention provides a kind of methods of interface processing, and present embodiment describes complete interface processings
Process, as shown in figure 4, this method comprises:
User is carried out in the recovery process of interface using electric terminal, is collected executing 201 to 202 pairs of interfaces of above-mentioned steps
Later, the interface collected is reopened if necessary, then executes method flow described in above-mentioned steps 203 to 206, in turn
The corresponding interface information in interface to be restored can be directly shown over the display.It should be noted that, although in Fig. 1 step 101 to
103, which equally describe whole interface, restores process, but process described in Fig. 1 is described with step 203 in Fig. 2 to 206
Correspondence process it is identical, and step 203 is to more detailed execution process described by 206, then to execute step in the Fig. 4
It is indicated for 203 to 206.
It is further specifically executed in process in this programme, for the interface to be restored collected, if wherein including
User does not need the interface opened again, then executes above-mentioned steps 301 to 303, by the relevant information at unwanted interface to be restored
It deletes or empties.
It is worth noting that in conjunction with the process of 201 to 206 descriptions, for the deletion process of Fig. 3 description, in the present embodiment
In do not limit in process step shown in process shown in Fig. 3 and Fig. 2 and execute sequence, for example, delete operation of the step 301 to 303
It can execute before step 203, certain this kind of situation is executed under the premise of having stored the relevant information at interface to be restored, step
Rapid 301 to 303 can also execute after performing step 206, in the corresponding Fig. 4 of the present embodiment, with delete operation in step
It is illustrated for being executed before 203.
Another embodiment of the present invention provides a kind of method of interface processing, this method can be applied to electric terminal, and
In the present embodiment by taking the electric terminal is mobile phone as an example, and multiple applications are mounted in mobile phone, there are multiple for each application
Operation interface.The present embodiment uses the setting function of mobile phone with user, is illustrated for replacement wallpaper, is realizing the setting function
When energy, at least need to be implemented following step: electric terminal receives user instructions opening set interface first, and then electric terminal connects
The click that user inputs " display " is received, then electric terminal shows that a correspondence is somebody's turn to do the boundary of " display " to user by display
Face, and then electric terminal receives the click that user inputs " wallpaper ", then electric terminal shows one to user by display
The corresponding interface for being somebody's turn to do " wallpaper ", then receives the click that user inputs " picture library ", and electric terminal is aobvious to user by display
Diagram library interface, so that user can choose the picture shown in the picture library interface as cell phone wallpaper.In the present embodiment
In, by taking interface to be restored is picture library interface as an example, the method that describes the interface processing.
It should be noted that the premise for executing this method is to have had been switched on interface collection function in mobile phone, i.e. mobile phone exists
During operation application, by the interface, collection function can store any operation interface in the application.The collection function
Display format on mobile phone can be with are as follows: after opening the function, shows application window widget on a display of the handset
Interface, while can assist completing collection function in one collection function icon of all interface displays.Wherein, the interface widget
For showing the interface information collected, be equivalent to 204 described in for showing the corresponding interface information in interface to be restored
Large interface.
In conjunction with the above-mentioned description for the interface processing method application scenarios, on the basis of the application scenarios, such as Fig. 5 institute
Show, describe the process for realizing above-mentioned interface processing method in the application scenarios, comprising:
501, mobile phone receives the collection instruction of user's input.
Wherein, the collection instruction for receiving user's input, can be inputted on the collection function icon of display screen by user
It clicks and realizes.
502, mobile phone passes through collection instruction storage picture library interface information and the task stack information at picture library interface.
It is worth noting that picture library interface information can be the icon of " setting " this application and the title at picture library interface.
Picture library interface information herein corresponds to the corresponding interface information in interface to be restored in above-mentioned steps 202, and correlation tool description is identical,
This will not be repeated here.
Wherein, task stack information is routing information of the picture library interface that gets of mobile phone in " setting " this application, and
The operation information of the user's input got.In the present embodiment, the operation information of user's input is user in " display ", " wall
The information inputted on the interfaces such as paper ", for example, determining information to the click of " next step " input on " display " interface.
503, mobile phone shows picture library interface information in the interface widget.
In a kind of optional implementation of this step, whenever the display screen of mobile phone shows the interface widget, mobile phone all can
The list in the interface widget is updated, which is used to show the interface information including picture library interface information.
504, when receiving the instruction information of user's input on the position that picture library interface information is shown when mobile phone, pass through finger
Show information searching task stack information corresponding with picture library interface.
505, mobile phone passes through the corresponding task stack acquisition of information picture library interface in picture library interface.
It is worth noting that in the present embodiment if user chooses in picture library interface when collecting the picture library interface
One picture A determines that " setting " belonging to the picture library interface is applied after getting the corresponding task stack information in picture library interface
When being in off state, the picture library interface that mobile phone is shown on a display screen according to task stack information is the original state at picture library interface,
The picture not being selected in picture library interface at this time.
When determining " setting " application belonging to the picture library interface is open state, mobile phone is being shown according to task stack information
The picture library interface of screen display includes: that the picture A in the picture library interface is selected state.
506, mobile phone shows picture library interface on a display screen.
Another embodiment of the present invention provides a kind of devices of interface processing, as shown in fig. 6, the device includes: to receive list
First 61, searching unit 62, interface recovery unit 63.
Receiving unit 61, for receiving the instruction information of user's input.
Wherein, instruction information is for triggering interface recovery.
Searching unit 62, corresponding with interface to be restored of the instruction information searching for being received using receiving unit 61
Business stack information.
Wherein, task stack information includes the corresponding use of application path information and interface to be restored at interface to be restored
Family historical operation information.
Interface recovery unit 63, the task stack information for being got using searching unit 62 carry out interface recovery.
In a kind of optional constituted mode of the present apparatus, as shown in fig. 7, the device further include: storage unit 64.
Receiving unit 61 is also used to before receiving instruction information, receives the collection instruction of user's input.
Wherein, collection instruction collects interface to be restored for triggering.
Storage unit 64, collection instruction store tasks stack information and interface information for being received according to receiving unit.
Wherein, interface information includes the corresponding title of the corresponding icon in interface to be restored and/or interface to be restored.
Receiving unit 61, is also used in predeterminable area, receives the instruction information of user's input.
Wherein, predeterminable area shows the corresponding interface information in interface to be restored.
In the optional constituted mode of another kind of the present apparatus, as shown in figure 8, searching unit 62 further include: determine subelement
621。
It determines subelement 621, for the display position according to predeterminable area over the display, determines depositing for task stack information
Store up path.
Wherein, the store path of the display position of predeterminable area over the display and task stack information corresponds.
It is worth noting that in conjunction with the above-mentioned description to task stack information, which is that dynamic updates, when to
Restore application belonging to interface when being in off state, the corresponding user's history operation information in interface to be restored are as follows: starting application program
Initial interface to the original interface for being loaded into interface to be restored when, the historical operation information of user's input;When interface to be restored
When affiliated application is open state, the corresponding user's history operation information in interface to be restored are as follows: the initial interface for starting application arrives
When being loaded into interface to be restored, the historical operation information of user's input.
As shown in figure 9, the device further include: delete unit 65, updating unit 66.
Receiving unit 61 is also used to receive the deletion instruction of user's input.
Wherein, it deletes instruction and deletes interface to be restored for triggering.
Unit 65 is deleted, the corresponding boundary in interface to be restored is deleted in the deletion instruction for receiving according to receiving unit 61
Face information and task stack information.
Updating unit 66, for delete unit 65 delete the corresponding interface information in interface to be restored and task stack information it
Afterwards, the display position of the corresponding interface information in remaining interface to be restored task stack letter corresponding with remaining interface to be restored is updated
The store path of breath, and the store path of the corresponding task stack information in remaining updated interface to be restored, with it is updated its
The display position of the corresponding interface information in remaining interface to be restored corresponds.
It is worth noting that above-mentioned device as shown in Figures 6 to 9, for realizing above-mentioned side as shown in Figures 1 to 5
Method process.
The embodiment of the invention provides a kind of device of interface processing, receiving unit receives the instruction information of user's input
Afterwards, searching unit is according to instruction information searching task stack information corresponding with interface to be restored, so that interface recovery unit is logical
It crosses the task stack information and directly carries out interface recovery, all behaviour before opening interface to be restored are re-executed without user
Make, allows user to be quickly returning to interface to be restored, simplify the operating process of user.
Through the above description of the embodiments, it is apparent to those skilled in the art that the present invention can borrow
Help software that the mode of required common hardware is added to realize, naturally it is also possible to which the former is more preferably by hardware, but in many cases
Embodiment.Based on this understanding, the portion that technical solution of the present invention substantially in other words contributes to the prior art
Dividing can be embodied in the form of software products, which stores in a readable storage medium, such as count
The floppy disk of calculation machine, hard disk or CD etc., including some instructions are used so that computer equipment (it can be personal computer,
Server or the network equipment etc.) execute method described in each embodiment of the present invention.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain
Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.