A kind of method and apparatus for switching the page
Technical field
The present invention relates to field of computer technology, more particularly to a kind of switching page method and device.
Background technology
With the development of mobile terminal technology, the application of mobile terminal is more and more extensive, and function is also stronger and stronger.User
Video can be watched on mobile terminals, carry out mobile communication, it can also browsing network information on mobile terminals.
User can open some application program in mobile terminal, and terminal can then show the initial page of the application program,
The corresponding option of other pages is provided in the initial page, user can click on the option, be switched to the next stage page, next
The corresponding option of other pages can also be provided in the grade page, family can click on the option, be switched to the next stage page again, with
This analogizes, in this way, user can be operated by multiple page layout switch, browses some page currently shown.For example, user can be with
Open some video playing application program, mobile terminal can then show the homepage of the video playing application program, and user can be
" game " corresponding option is selected in homepage, mobile terminal then can switch to game from the homepage of the video playing application program and regard
Frequency catalog page, user click on the corresponding option of some video in game video catalog page, and terminal then can be from game video
Catalog page switches to the video playing page of the video.In the page that mobile terminal is shown, return option can be provided with, is used
After return option is clicked at family, mobile terminal can then switch to the upper level page of current display page, and the upper level page is to cut
Shift to the previous page of current display page.
In the implementation of the present invention, inventor has found that the prior art has at least the following problems:
User is operated by multiple page layout switch, after browsing some page currently shown, if the user desired that returning to certain
A more forward page, user, which needs repeatedly to click on, returns to option, until mobile terminal switches to the page, can so cause
Switch the less efficient of the page.
The content of the invention
In order to solve problem of the prior art, an embodiment of the present invention provides a kind of method and apparatus for switching the page.Institute
It is as follows to state technical solution:
In a first aspect, a kind of method for switching the page is provided, the described method includes:
First page is shown in the first application program, return option, the first page are provided in the first page
Face is the local page finally shown after multiple page layout switch;
The corresponding click signal for returning to option is received, when the duration of the click signal reaches preset duration threshold
During value, the initial page of first application program is switched to from the first page.
Second aspect, provides a kind of device for switching the page, and described device includes:
Display module for showing first page in the first application program, is provided with return choosing in the first page
, the first page is the local page finally shown after multiple page layout switch;
Handover module, for receiving the corresponding click signal for returning to option, when the duration of the click signal
When reaching preset duration threshold value, the initial page of first application program is switched to from the first page.
The advantageous effect that technical solution provided in an embodiment of the present invention is brought is:
In the embodiment of the present invention, first page is shown in the first application program, return option is provided in first page,
First page is the local page finally shown after multiple page layout switch, receives the corresponding click signal for returning to option, when
When the duration of click signal reaches preset duration threshold value, the initial page of the first application program is switched to from first page,
By the above-mentioned means, the initial page of application program can be returned quickly, if user want to return to some it is more forward
During the page, by this way, number of operations can be effectively reduced, so as to improve the efficiency of the switching page.
Description of the drawings
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is only some embodiments of the present invention, for
For those of ordinary skill in the art, without creative efforts, other are can also be obtained according to these attached drawings
Attached drawing.
Fig. 1 is a kind of method flow diagram for switching the page provided in an embodiment of the present invention;
Fig. 2 is a kind of interface display schematic diagram provided in an embodiment of the present invention;
Fig. 3 is a kind of apparatus structure schematic diagram for switching the page provided in an embodiment of the present invention;
Fig. 4 is a kind of structure diagram of terminal provided in an embodiment of the present invention.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention
Formula is described in further detail.
Embodiment one
An embodiment of the present invention provides a kind of method for switching the page, as shown in Figure 1, the process flow of this method can wrap
Include the steps:
Step 101, first page is shown in the first application program, return option, first page are provided in first page
Face is the local page finally shown after multiple page layout switch.
Step 102, the corresponding click signal for returning to option is received, when the duration of click signal reaches preset duration threshold
During value, the initial page of the first application program is switched to from first page.
In the embodiment of the present invention, first page is shown in the first application program, return option is provided in first page,
First page is the local page finally shown after multiple page layout switch, receives the corresponding click signal for returning to option, when
When the duration of click signal reaches preset duration threshold value, the initial page of the first application program is switched to from first page,
By the above-mentioned means, the initial page of application program can be returned quickly, if user want to return to some it is more forward
During the page, by this way, number of operations can be effectively reduced, so as to improve the efficiency of the switching page.
Embodiment two
An embodiment of the present invention provides a kind of method for switching the page, the executive agent of this method is terminal.Wherein, it is described
Terminal can be the terminal for having the function of page layout switch, such as mobile phone or tablet computer mobile terminal.It can pacify in the terminal
Equipped at least one application program for being related to multi-interface, the terminal can include input unit, and the input unit can be with
It is button, can is touch-screen or mouse, user can be operated by input unit in terminal, and terminal is then
Corresponding input signal can be received;The terminal can include processor, and the processor can be used for what basis received
Input signal is handled accordingly, is such as opened application program or is carried out page layout switch etc.;The terminal can include display
Unit, the display unit can be liquid crystal displays, and display unit can show information input by user or be supplied to user
Information.In addition, the terminal can also include the components such as memory, sensor, voicefrequency circuit and power supply.
Below in conjunction with specific embodiment, process flow shown in FIG. 1 is described in detail, content can be as
Under:
Step 101, first page is shown in the first application program, return option, first page are provided in first page
Face is the local page finally shown after multiple page layout switch.
In force, user can open some application program (i.e. first is used for program) in terminal, and terminal can then be shown
Show first page (i.e. initial page) of the first application program, such as the homepage of the first application program.It can be set in initial page
The corresponding option of other pages is equipped with, user can click on some corresponding choosing of the page (can be referred to as the A pages) in initial page
, terminal can then switch to the A pages from initial page, can also equally, in the A pages be provided with the corresponding option of other pages.
User can carry out repeatedly above-mentioned page layout switch operation, the page that then browsing terminal is currently shown in the first application program
(i.e. first page).Return option can be provided in first page, to facilitate the page that user's browsing switches before, such as Fig. 2
It is shown.For example, user opens video playing application program in terminal, terminal can then show the master of the video playing application program
Page, user can select " game " corresponding option in homepage, and terminal can then switch from the homepage of video playing application program
To game video catalog page, user clicks on the corresponding option of some video in game video catalog page, and terminal then can be from
Game video catalog page switches to the video playing page of the video.
Step 102, the corresponding click signal for returning to option is received, when the duration of click signal reaches preset duration threshold
During value, the initial page of the first application program is switched to from first page.
In force, after user opens the first application program, terminal can establish a stack, and user often opens level-one page
The page that user currently opens can be pressed into stack by face, terminal.When user wants the initial page of the first application program of return
When, user can click in first page returns to option, and terminal can then receive the corresponding click signal for returning to option, terminal
After receiving click signal, timing can be carried out, when the duration of the click signal reaches preset duration threshold value, terminal can
To switch to the page (i.e. the initial page of the first application program) of first record in stack from first page.For shiftings such as mobile phones
Dynamic terminal, user can be touched with finger and return to option, and triggering terminal switches to the initial of the first application program from first page
The page;For the PC such as laptop (personal computer, personal computer) terminal, user can be defeated with mouse etc.
Enter equipment and click on return option, triggering terminal switches to the initial page of the first application program from first page.For example, user exists
It is clicked in the video playing page and returns to selection, terminal can then receive the corresponding click signal for returning to option, when click signal
When duration reaches preset duration threshold value, terminal can be from video playing page layout switch to the master of video playing application program
Page.
Optionally, user can open the multi-interface under different domain names, correspondingly, the processing procedure of step 102 can be with
It is as follows:The corresponding click signal for returning to option is received, when the duration of click signal reaches preset duration threshold value, if more
Do not include the page identical with first page domain name in multi-interface involved by secondary page layout switch, then switched to from first page
The initial page of first application program.
In force, user can carry out multiple page layout switch operation in the first application program, and then browsing terminal is worked as
The page (i.e. first page) of preceding display, terminal can then deposit the domain name of the multi-interface involved by multiple page layout switch
Storage.User can click in first page returns to option, and terminal can then receive the corresponding click signal for returning to option, terminal
After receiving click signal, timing can be carried out, when the duration of the click signal reaches preset duration threshold value, terminal can
It to obtain the domain name of first page, then can inquire about in the multi-interface involved by multiple page layout switch, if including with
The identical page of one page domain name, if in above-mentioned multi-interface, not including the page identical with first page domain name, then terminal
The initial page of the first application program can be switched to from first page.
For example, user opens wechat in terminal, terminal can then show the homepage of wechat, and user can select in the homepage
The corresponding option of some contact person, terminal can then switch to the corresponding Chat page of the contact person, Yong Hu from the homepage of wechat
The link of some webpage is clicked in the Chat page, terminal can then show the corresponding page of the link, and user can be in the page
Middle click on returns to option, and terminal can then receive the corresponding click signal for returning to option, when the duration of click signal reaches
During preset duration threshold value, terminal can be from the page layout switch to the homepage of wechat.
Optionally, for multi-interface include multiple pages it is identical with first page domain name in the case of, it is corresponding to handle
Process can be as follows:The corresponding click signal for returning to option is received, when the duration of click signal reaches preset duration threshold value
When, if repeatedly to include multiple pages identical with first page domain name for the multi-interface involved by page layout switch, from first
First level pages at first in page layout switch to multiple pages.
In force, user can carry out page layout switch operation under certain domain name (can be referred to as a domain names), and then user can
In the page of display, to click on the corresponding option of the page of other domain names (can be referred to as b domain names), terminal can then show b domain names
The corresponding page (i.e. the first level pages at first of b domain names), user can be in the pages, and the multiple page carried out under b domain names is cut
Operation is changed, the page (i.e. first page) that then browsing terminal is currently shown, terminal then can be to involved by multiple page layout switch
The domain name of multi-interface stored.User can click in first page returns to option, and terminal can then receive correspondence
The click signal of option is returned, after terminal receives click signal, timing can be carried out, when the duration of the click signal reaches
During to preset duration threshold value, terminal can obtain the domain name of first page, and then can inquire involved by multiple page layout switch
Multi-interface in, identical with first page domain name including multiple pages, then terminal can switch to multiple from first page
First level pages at first (first level pages at first of i.e. above-mentioned b domain names) in the page.
For example, user opens certain browser in terminal, then open certain website (can be referred to as B websites) and browsed, user
Multi-interface can be opened in B websites, it is corresponding that another website (can be referred to as C websites) is then clicked in the page currently shown
Option, terminal can then show that the webpage of C websites (can be referred to as C1The page), user can pass through C1Page open multi-interface, then
It is clicked in the page (i.e. first page) currently shown and returns to option, terminal can then receive the corresponding click letter for returning to option
Number, when the duration of click signal reaches preset duration threshold value, terminal can switch to C from first page1The page.
Optionally, user can only open the page in the first application program, correspondingly, the processing procedure of step 102 can
With as follows:The corresponding click signal for returning to option is received, when the duration of click signal reaches preset duration threshold value, if
In multi-interface involved by multiple page layout switch, there is no the page of the second application program, then the is switched to from first page
The initial page of one application program.
In force, user can carry out multiple page layout switch operation, the page (i.e. that then browsing terminal is currently shown
One page), terminal can then record the mark of the application program belonging to the multi-interface involved by multiple page layout switch.User can
Option is returned to be clicked in first page, terminal can then receive the corresponding click signal for returning to option, and terminal receives a little
After hitting signal, timing can be carried out, when the duration of the click signal reaches preset duration threshold value, terminal can obtain
The mark (can be referred to as the first application identities) of application program belonging to one page, then can obtain involved by multiple page layout switch
The corresponding application program of multi-interface mark, and then can inquire about with the presence or absence of and other applications (i.e. second apply
Program) mark (can be referred to as the second application identities), if there is no the second application identities, i.e., there is no the second application programs
The page, then terminal the initial page of the first application program can be switched to from first page.
Optionally, user can open the page in other applications, accordingly by the page in some application program
Processing procedure can be as follows:The corresponding click signal for returning to option is received, when the duration of click signal reaches default
During long threshold value, if repeatedly in the multi-interface involved by page layout switch, there are the page of the second application program, then from first page
Face switches in multi-interface the afterbody page for belonging to the second application program.
In force, user can carry out page layout switch operation, so in some application program (i.e. the second application program)
User in the page of display, can click on the corresponding option of the page of other applications (i.e. the first application program) afterwards, eventually
The page (i.e. the afterbody page of the second application program) that holding can then show from the second application program switches to the first application
The page of program, user can carry out multiple page layout switch operation in the first application program, and then browsing terminal is currently shown
The page (i.e. first page).Terminal can record the mark of the application program belonging to the multi-interface involved by multiple page layout switch
Know.User can click in first page returns to option, and terminal can then receive the corresponding click signal for returning to option, terminal
After receiving click signal, timing can be carried out, when the duration of the click signal reaches preset duration threshold value, terminal can
To obtain the mark of the application program belonging to first page (can be referred to as the first application identities), it then can obtain the multiple page and cut
Change the mark of the involved corresponding application program of multi-interface, so can inquire in the presence of with other applications (i.e. the
Two application programs) mark (in the multi-interface involved by i.e. multiple page layout switch, there are the pages of the second application program), then
Terminal can switch in multi-interface the afterbody page for belonging to the second application program from first page.
For example, user opens some video playing application program in terminal, terminal can then show the video playing application journey
The homepage of sequence, user can select " game " corresponding option in homepage, and terminal then can be from the video playing application program
Homepage switches to game video catalog page, and user clicks on the corresponding option of some video in game video catalog page, eventually
End can then show the video playing page of the video, and user clicks on the corresponding option of some advertisement in the video playing page, then
Terminal can start the application program of browser, show the corresponding page of the advertisement in a browser, it is wide that user can click on this
The purchase option of commodity in announcement, terminal can then show the payment page, after user is paid, terminal can also show payment into
The prompting page of work(, user can hit return option at the prompting page midpoint, and terminal can then receive corresponding return option
Click signal, when the duration of click signal reaches preset duration threshold value, terminal can be switched to from the prompting page and regarded
Frequency plays the page.
Optionally, it can open from first page when page series is more than predetermined threshold value and switch to the first application program
Initial page function, correspondingly, the processing procedure of step 102 can be as follows:The corresponding click signal for returning to option is received,
When the duration of click signal reaches preset duration threshold value, if repeatedly the page series involved by page layout switch is more than pre-
If threshold value, then the initial page of the first application program is switched to from first page.
In force, terminal can also record the series of the multi-interface involved by multiple page layout switch, when terminal receives
To after the corresponding click signal for returning to option, timing can be carried out, when the duration of the click signal reaches preset duration threshold
During value, terminal may determine that whether the page series involved by multiple page layout switch is more than predetermined threshold value, if repeatedly the page is cut
It is more than predetermined threshold value to change involved page series, then the initial page of the first application program is switched to from first page.
Optionally, can option can be returned to short-press with user, it is corresponding to handle to return to the previous page of first page
Process can be as follows:At the end of click signal, if the duration of click signal is not up to preset duration threshold value, by
One page switches to the previous page of first page.
In force, after terminal receives the click signal of corresponding return option, timing can be carried out, works as click signal
At the end of, if the duration of click signal is not up to preset duration threshold value, first page is switched into first page
The previous page.
In the embodiment of the present invention, first page is shown in the first application program, return option is provided in first page,
First page is the local page finally shown after multiple page layout switch, receives the corresponding click signal for returning to option, when
When the duration of click signal reaches preset duration threshold value, the initial page of the first application program is switched to from first page,
By the above-mentioned means, the initial page of application program can be returned quickly, if user want to return to some it is more forward
During the page, by this way, number of operations can be effectively reduced, so as to improve the efficiency of the switching page.
Embodiment three
Based on identical technical concept, the embodiment of the present invention additionally provides a kind of device for switching the page, as shown in figure 3,
The device includes:
Display module 310 for showing first page in the first application program, is provided with return in the first page
Option, the first page are the local pages finally shown after multiple page layout switch;
Handover module 320, for receiving the corresponding click signal for returning to option, when the click signal it is lasting when
When length reaches preset duration threshold value, the initial page of first application program is switched to from the first page.
Optionally, the handover module 320, is used for:
The corresponding click signal for returning to option is received, when the duration of the click signal reaches preset duration threshold
During value, if not including the page identical with the first page domain name in multi-interface involved by the multiple page layout switch
Face then switches to the initial page of first application program from the first page;
The handover module 320, is additionally operable to:
The corresponding click signal for returning to option is received, when the duration of the click signal reaches preset duration threshold
During value, if the multi-interface involved by the multiple page layout switch includes multiple pages and the first page domain name phase
Together, then the first level pages at first in the multiple page are switched to from the first page.
Optionally, the handover module 320, is used for:
The corresponding click signal for returning to option is received, when the duration of the click signal reaches preset duration threshold
During value, if in multi-interface involved by the multiple page layout switch, there is no the page of the second application program, then from described
First page switches to the initial page of first application program;
The handover module 320, is additionally operable to:
The corresponding click signal for returning to option is received, when the duration of the click signal reaches preset duration threshold
During value, if in multi-interface involved by the multiple page layout switch, there are the page of the second application program, then from described
One page switches in the multi-interface afterbody page for belonging to second application program.
Optionally, the handover module 320, is used for:
The corresponding click signal for returning to option is received, when the duration of the click signal reaches preset duration threshold
During value, if the page series involved by the multiple page layout switch is more than predetermined threshold value, switched to from the first page
The initial page of first application program.
Optionally, the handover module 320, is additionally operable to:
At the end of the click signal, if the duration of the click signal is not up to preset duration threshold value,
The first page is switched to the previous page of the first page.
In the embodiment of the present invention, first page is shown in the first application program, return option is provided in first page,
First page is the local page finally shown after multiple page layout switch, receives the corresponding click signal for returning to option, when
When the duration of click signal reaches preset duration threshold value, the initial page of the first application program is switched to from first page,
By the above-mentioned means, the initial page of application program can be returned quickly, if user want to return to some it is more forward
During the page, by this way, number of operations can be effectively reduced, so as to improve the efficiency of the switching page.
It should be noted that:The device for the switching page that above-described embodiment provides is when switching the page, only with above-mentioned each work(
Can module division progress for example, in practical application, can be as needed and by above-mentioned function distribution by different functions
Module is completed, i.e., the internal structure of equipment is divided into different function modules, described above all or part of to complete
Function.In addition, the device for the switching page that above-described embodiment provides and the embodiment of the method for the switching page belong to same design,
Specific implementation process refers to embodiment of the method, and which is not described herein again.
Example IV
Fig. 4 is the structure diagram according to a kind of terminal shown in an exemplary embodiment.The terminal can be used for implementing
The method of the switching page provided in above-described embodiment.
Terminal 400 can include RF (Radio Frequency, radio frequency) circuit 110, include one or more meters
The memory 120 of calculation machine readable storage medium storing program for executing, input unit 130, display unit 140, sensor 150, voicefrequency circuit 160,
WiFi (wireless fidelity, Wireless Fidelity) module 170, including there are one or more than one processing core processing
The components such as device 180 and power supply 190.It will be understood by those skilled in the art that the terminal structure shown in Fig. 4 is not formed pair
The restriction of terminal can include either combining some components or different component cloth than illustrating more or fewer components
It puts.Wherein:
RF circuits 110 can be used for receive and send messages or communication process in, signal sends and receivees, particularly, by base station
After downlink information receives, transfer to one or more than one processor 180 is handled;In addition, will be related to the data sending of uplink to
Base station.In general, RF circuits 110 include but not limited to antenna, at least one amplifier, tuner, one or more oscillators, use
Family identity module (SIM) card, transceiver, coupler, LNA (Low Noise Amplifier, low-noise amplifier), duplex
Device etc..In addition, RF circuits 110 can also be communicated by wireless communication with network and other equipment.The wireless communication can make
With any communication standard or agreement, include but not limited to GSM (Global System of Mobile communication, entirely
Ball mobile communcations system), GPRS (General Packet Radio Service, general packet radio service), CDMA (Code
Division Multiple Access, CDMA), WCDMA (Wideband Code Division Multiple
Access, wideband code division multiple access), LTE (Long Term Evolution, Long Term Evolution), Email, SMS (Short
Messaging Service, Short Message Service) etc..
Memory 120 can be used for storage software program and module, and processor 180 is stored in memory 120 by operation
Software program and module, so as to perform various functions application and data processing.Memory 120 can mainly include storage journey
Sequence area and storage data field, wherein, storing program area can storage program area, the application program (ratio needed at least one function
Such as sound-playing function, image player function) etc.;Storage data field can be stored uses created number according to terminal 400
According to (such as voice data, phone directory etc.) etc..In addition, memory 120 can include high-speed random access memory, can also wrap
Include nonvolatile memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Correspondingly, memory 120 can also include Memory Controller, to provide processor 180 and input unit 130 to memory
120 access.
Input unit 130 can be used for the number for receiving input or character information and generate and user setting and function
Control related keyboard, mouse, operation lever, optics or the input of trace ball signal.Specifically, input unit 130 may include to touch
Sensitive surfaces 131 and other input equipments 132.Touch sensitive surface 131, also referred to as touch display screen or Trackpad, collect and use
Family on it or neighbouring touch operation (such as user using any suitable object such as finger, stylus or attachment in touch-sensitive table
Operation on face 131 or near touch sensitive surface 131), and corresponding attachment device is driven according to preset formula.It is optional
, touch sensitive surface 131 may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus detection is used
The touch orientation at family, and the signal that touch operation is brought is detected, transmit a signal to touch controller;Touch controller is from touch
Touch information is received in detection device, and is converted into contact coordinate, then gives processor 180, and processor 180 can be received
The order sent simultaneously is performed.Furthermore, it is possible to using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves
Realize touch sensitive surface 131.Except touch sensitive surface 131, input unit 130 can also include other input equipments 132.Specifically,
Other input equipments 132 can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.),
One or more in trace ball, mouse, operation lever etc..
Display unit 140 is available for the information and terminal 400 for showing by information input by user or being supplied to user
Various graphical user interface, these graphical user interface can be made of figure, text, icon, video and its any combination.
Display unit 140 may include display panel 141, optionally, LCD (Liquid Crystal Display, liquid crystal may be employed
Show device), the forms such as OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) configure display panel
141.Further, touch sensitive surface 131 can cover display panel 141, when touch sensitive surface 131 detects on it or neighbouring touches
After touching operation, processor 180 is sent to determine the type of touch event, is followed by subsequent processing type of the device 180 according to touch event
Corresponding visual output is provided on display panel 141.Although in Fig. 4, touch sensitive surface 131 and display panel 141 are conducts
Two independent components realize input and input function, but in some embodiments it is possible to by touch sensitive surface 131 and display
Panel 141 is integrated and realizes and outputs and inputs function.
Terminal 400 may also include at least one sensor 150, such as optical sensor, motion sensor and other sensings
Device.Specifically, optical sensor may include 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 141, and proximity sensor can close display when terminal 400 is moved in one's ear
Panel 141 and/or backlight.As one kind of motion sensor, gravity accelerometer can detect in all directions (generally
Three axis) acceleration size, size and the direction of gravity are can detect that when static, available for identification mobile phone posture application (ratio
Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);Extremely
In other sensors such as gyroscope, barometer, hygrometer, thermometer, the infrared ray sensors that terminal 400 can also configure, herein
It repeats no more.
Voicefrequency circuit 160, loud speaker 161, microphone 162 can provide the audio interface between user and terminal 400.Audio
The transformed electric signal of the voice data received can be transferred to loud speaker 161, sound is converted to by loud speaker 161 by circuit 160
Sound signal exports;On the other hand, the voice signal of collection is converted to electric signal by microphone 162, after being received by voicefrequency circuit 160
Voice data is converted to, then after voice data output processor 180 is handled, through RF circuits 110 to be sent to such as another end
Voice data is exported to memory 120 to be further processed by end.Voicefrequency circuit 160 is also possible that earphone jack,
To provide the communication of peripheral hardware earphone and terminal 400.
WiFi belongs to short range wireless transmission technology, and terminal 400 can help user's transceiver electronics by WiFi module 170
Mail, browsing webpage and access streaming video etc., it has provided wireless broadband internet to the user and has accessed.Although Fig. 4 is shown
WiFi module 170, but it is understood that, and must be configured into for terminal 400 is not belonging to, completely it can exist as needed
Do not change in the scope of the essence of invention and omit.
Processor 180 is the control centre of terminal 400, utilizes various interfaces and each portion of connection whole mobile phone
Point, it is stored in memory 120 by running or performing the software program being stored in memory 120 and/or module and call
Interior data perform the various functions of terminal 400 and processing data, so as to carry out integral monitoring to mobile phone.Optionally, processor
180 may include one or more processing cores;Preferably, processor 180 can integrate application processor and modem processor,
Wherein, the main processing operation system of application processor, user interface and application program etc., modem processor mainly handles nothing
Line communicates.It is understood that above-mentioned modem processor can not also be integrated into processor 180.
Terminal 400 is further included to the power supply 190 (such as battery) of all parts power supply, it is preferred that power supply can pass through electricity
Management system and processor 180 are logically contiguous, so as to realize management charging, electric discharge and power consumption by power-supply management system
The functions such as management.Power supply 190 can also include one or more direct current or AC power, recharging system, power supply event
Hinder the random components such as detection circuit, power supply changeover device or inverter, power supply status indicator.
Although being not shown, terminal 400 can also include camera, bluetooth module etc., and details are not described herein.Specifically in this reality
It applies in example, the display unit of terminal 400 is touch-screen display, and terminal 400 has further included memory and one or one
Above program, one of them either more than one program storage in memory and be configured to by one or one with
Upper processor execution states one or more than one program includes the instruction operated below:
First page is shown in the first application program, return option, the first page are provided in the first page
Face is the local page finally shown after multiple page layout switch;
The corresponding click signal for returning to option is received, when the duration of the click signal reaches preset duration threshold
During value, the initial page of first application program is switched to from the first page.
Optionally, it is described to receive the corresponding click signal for returning to option, when the duration of the click signal reaches
During to preset duration threshold value, the initial page of first application program is switched to from the first page, including:
The corresponding click signal for returning to option is received, when the duration of the click signal reaches preset duration threshold
During value, if not including the page identical with the first page domain name in multi-interface involved by the multiple page layout switch
Face then switches to the initial page of first application program from the first page;
The method further includes:
The corresponding click signal for returning to option is received, when the duration of the click signal reaches preset duration threshold
During value, if the multi-interface involved by the multiple page layout switch includes multiple pages and the first page domain name phase
Together, then the first level pages at first in the multiple page are switched to from the first page.
Optionally, it is described to receive the corresponding click signal for returning to option, when the duration of the click signal reaches
During to preset duration threshold value, the initial page of first application program is switched to from the first page, including:
The corresponding click signal for returning to option is received, when the duration of the click signal reaches preset duration threshold
During value, if in multi-interface involved by the multiple page layout switch, there is no the page of the second application program, then from described
First page switches to the initial page of first application program;
The method further includes:
The corresponding click signal for returning to option is received, when the duration of the click signal reaches preset duration threshold
During value, if in multi-interface involved by the multiple page layout switch, there are the page of the second application program, then from described
One page switches in the multi-interface afterbody page for belonging to second application program.
Optionally, it is described to receive the corresponding click signal for returning to option, when the duration of the click signal reaches
During to preset duration threshold value, the initial page of first application program is switched to from the first page, including:
The corresponding click signal for returning to option is received, when the duration of the click signal reaches preset duration threshold
During value, if the page series involved by the multiple page layout switch is more than predetermined threshold value, switched to from the first page
The initial page of first application program.
Optionally, the method further includes:
At the end of the click signal, if the duration of the click signal is not up to preset duration threshold value,
The first page is switched to the previous page of the first page.
In the embodiment of the present invention, first page is shown in the first application program, return option is provided in first page,
First page is the local page finally shown after multiple page layout switch, receives the corresponding click signal for returning to option, when
When the duration of click signal reaches preset duration threshold value, the initial page of the first application program is switched to from first page,
By the above-mentioned means, the initial page of application program can be returned quickly, if user want to return to some it is more forward
During the page, by this way, number of operations can be effectively reduced, so as to improve the efficiency of the switching page.
One of ordinary skill in the art will appreciate that hardware can be passed through by realizing all or part of step of above-described embodiment
It completes, relevant hardware can also be instructed to complete by program, the program can be stored in a kind of computer-readable
In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all the present invention spirit and
Within principle, any modifications, equivalent replacements and improvements are made should all be included in the protection scope of the present invention.