Specific embodiment
Embodiments herein is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end
Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached
The embodiment of figure description is exemplary, it is intended to for explaining the application, and should not be understood as the limitation to the application.
Below with reference to the accompanying drawings the page switching method and device of the aobvious application program of the embodiment of the present application are described.
Fig. 1 is the flow chart of the page switching method of the application program of the application one embodiment, as shown in Figure 1, this is answered
Include: with the page switching method of program
S101 receives the first trigger action of user, and is provided in the interface of application program according to the first trigger action
Guide the page.
Wherein, the index in the page comprising the page is guided to navigate, the index of the page navigates according to user in the application
Browsing record generate, index navigation in index entry number it is identical as the number of user's browsing pages.Above-mentioned index navigation
Including at least one index entry, each index entry includes call number and historical record title.
Specifically, during user's viewer applications page, it can record the browsing record of user and remember browsing
Record is added to history stack manager.
For example, including 21 pages in application program, indicated respectively with A, B, C, D, E, F ... Z, if user is clear in sequence
The page of application program is look at, at this point, the browsing record of user will be added into history stack manager, to facilitate subsequent basis to go through
Browsing record in history stack-manager, which generates, guides the page, and then facilitates user by guiding the page to realize cutting between the page
It changes.Wherein, history stack manager saves the historical record title of the page and corresponding page according to the browsing sequence of user.
In the current page of user's viewer applications, if receiving the first trigger action of user, first can determine whether
Whether trigger action be predetermined registration operation, if predetermined registration operation, then obtains user in the application from history stack manager
Browsing record, and record to generate according to browsing and guide the page, and show corresponding guide in the current page of application program
The page.
For example, it is long-pressing touch screen that the predetermined registration operation of the page is guided in exhalation, it is assumed that process of the user in browsing current page
In need to switch the page, at this point, user can long-pressing touch screen, after the trigger action for judging user is identical as predetermined registration operation,
The browsing record of user in the application can be obtained from history stack manager, and is recorded to generate according to browsing and guided the page,
And shown in current page and guide the page, wherein guides the form of the page as shown in Fig. 2, the index of the page navigates in Fig. 2
In contain call number 5-16 and its corresponding historical record title.Specifically, in the touching for receiving user's click call number
After hair operation, the corresponding historical record title of the call number can be obtained, and show that the call number is corresponding in the form of prompting frame
Title.It should be noted that the page is guided in quick closedown for convenience, a touch point control is added in guiding the page, is used
Family by point touching point can quick closedown retract guide navigation page, continue to browse the page currently browsed.
S102 receives user in the second trigger action guided in the page, and is determined according to the second trigger action to be returned
The page, and current page is switched to the page to be returned.
In the embodiment of the present application, after providing the guide page, if receiving user in the second triggering behaviour guided in the page
Make, then can determine the call number of the page to be returned according to the position of the second trigger action, and shows the history note of the page to be returned
Record title.
User can know the related content of corresponding page by historical record title, receive user to historical record
After the trigger action of title, the corresponding page of historical record title is opened according to the trigger action of user, hereby it is achieved that the page
Between switching, user by guide the page can realize the switching between any two page, reduce user switch page institute
The operation needed, improves the efficiency of page switching, facilitates user and switches the page.
It should be noted that the screen size due to intelligent mobile terminal is limited, the index entry shown in the page is guided
Number is limited, can also receive the slide of user, and determine sliding distance according to the slide of user, and according to cunning
Dynamic distance controlling guides the identical distance of page movement, to facilitate user to check other index entries.
For example, the page is guided as shown in Fig. 2, showing call number 5-16 as seen in Figure 2, in current page, if
User needs to check call number 1-4, at this point, user can upward sliding touch screen.After the upward sliding operation for receiving user,
Corresponding sliding distance is determined according to slide, and is controlled according to sliding distance and guided the identical distance of page upward sliding,
Face after sliding, which retracts, guides the form of navigation page as shown in figure 3, if user clicks the historical record title of call number 3, when
The preceding page is directly switched to the corresponding page of call number 3.
The page switching method of the application program of the embodiment of the present application receives the first trigger action of user, and according to
One trigger action provides in the interface of application program guides the page, wherein guides the index in the page comprising the page to navigate, page
The index navigation in face is recorded according to the browsing of user in the application and is generated;And user is received in second guided in the page
Trigger action, and the page to be returned is determined according to the second trigger action, and current page is switched to the page to be returned.The reality
It applies example and the guide page is shown according to the trigger action of user, and cutting between the page is realized in the operation for guiding the page according to user
It changes, reduces operating procedure needed for user switches the page, improve the efficiency of page switching, facilitate user and switch the page.
In order to realize above-described embodiment, the application also proposes a kind of page switching device of application program.
Fig. 4 is the structural schematic diagram of the page switching device of the application program of the application one embodiment.
As shown in figure 4, the page switching device of the application program includes providing module 41 and switching module 42, in which:
The first trigger action that module 41 is used to receive user is provided, and according to the first trigger action on the boundary of application program
It is provided in face and guides the page;And switching module 42 is used to receive user in the second trigger action guided in the page, and according to
Second trigger action determines the page to be returned, and current page is switched to the page to be returned.
Wherein, the index in the page comprising the page is guided to navigate, the index of the page navigates according to user in the application
Browsing record generate.The number of index entry in index navigation is identical as the number of user's browsing pages.Above-mentioned index navigation
Including at least one index entry, each index entry includes call number and historical record title.
Specifically, in the current page of user's viewer applications, if receiving the first trigger action of user, judgement
Whether the first trigger action is predetermined registration operation;If predetermined registration operation, then user is obtained in application program from history stack manager
In browsing record;And it is recorded to generate according to browsing and guides the page and provided in the interface of application program.
For example, it is long-pressing touch screen that the predetermined registration operation of the page is guided in exhalation, it is assumed that process of the user in browsing current page
In need to switch the page, at this point, user can long-pressing touch screen, provide module 41 in the trigger action of judging user and default behaviour
Make it is identical after, can from history stack manager obtain user in the application browsing record, and according to browsing record generate
The page is guided, and show in current page the guide page, wherein guides the form of the page as shown in Fig. 2, the page in Fig. 2
Index navigation in contain call number 5-16 and its corresponding historical record title.Specifically, being clicked receiving user
After the trigger action of call number, the corresponding historical record title of the call number can be obtained, and the rope is shown in the form of prompting frame
The corresponding title of quotation marks.It should be noted that the page is guided in quick closedown for convenience, one touch of addition in guiding the page
Point control, user by point touching point can quick closedown retract guide navigation page, continue to browse the page currently browsed.
In addition, the adding module 43 is used in switching mould as shown in figure 5, above-mentioned apparatus can also include adding module 43
Block 42 provided in the interface of application program according to the first trigger action guide the page before, the browsing for recording user record and incite somebody to action
Browsing record is added to history stack manager.
For example, including 21 pages in application program, indicated respectively with A, B, C, D, E, F ... Z, if user is clear in sequence
It lookes at the page of application program, at this point, adding module 43 records the browsing record of user, and the browsing of user record is added to and is gone through
History stack-manager guides the page to facilitate the subsequent browsing record according in history stack manager to generate, and then facilitates page
Switching between face.Wherein, history stack manager is remembered according to the history that the browsing sequence of user saves the page and corresponding page
Record title
If receiving user in the second trigger action guided in the page, above-mentioned switching module 42 can be according to the second trigger action
Position determine the call number of the page to be returned, and show the historical record title of the page to be returned;User is received to history
The trigger action of record header, and open the corresponding page of historical record title.
Page switching device comprising providing the application program of module 41, switching module 42 and adding module 43 is applied
The process of the page switching of program can be found in Fig. 1 and its corresponding verbal description, not repeat herein.
The page switching device of the application program of the embodiment of the present application, the first triggering that user is received by providing module are grasped
Make, and provided in the interface of application program according to the first trigger action and guide the page, wherein guiding includes the page in the page
Index navigation, the index navigation of the page is recorded according to the browsing of user in the application to be generated;And it is connect by switching module
User is received in the second trigger action guided in the page, and the page to be returned is determined according to the second trigger action, and will be current
Page switching is the page to be returned.The embodiment is shown according to the trigger action of user guides the page, and is being guided according to user
The switching between the page is realized in the operation of the page, is reduced operating procedure needed for user switches the page, is improved page switching
Efficiency, facilitate user switch the page.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example
Point is contained at least one embodiment or example of the application.In the present specification, schematic expression of the above terms are not
It must be directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be in office
It can be combined in any suitable manner in one or more embodiment or examples.In addition, without conflicting with each other, the skill of this field
Art personnel can tie the feature of different embodiments or examples described in this specification and different embodiments or examples
It closes and combines.
In addition, term " first ", " second " are used for descriptive purposes only and cannot be understood as indicating or suggesting relative importance
Or implicitly indicate the quantity of indicated technical characteristic.Define " first " as a result, the feature of " second " can be expressed or
Implicitly include at least one this feature.In the description of the present application, the meaning of " plurality " is at least two, such as two, three
It is a etc., unless otherwise specifically defined.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes
It is one or more for realizing specific logical function or process the step of executable instruction code module, segment or portion
Point, and the range of the preferred embodiment of the application includes other realization, wherein can not press shown or discussed suitable
Sequence, including according to related function by it is basic simultaneously in the way of or in the opposite order, Lai Zhihang function, this should be by the application
Embodiment person of ordinary skill in the field understood.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use
In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for
Instruction execution system, device or equipment (such as computer based system, including the system of processor or other can be held from instruction
The instruction fetch of row system, device or equipment and the system executed instruction) it uses, or combine these instruction execution systems, device or set
It is standby and use.For the purpose of this specification, " computer-readable medium ", which can be, any may include, stores, communicates, propagates or pass
Defeated program is for instruction execution system, device or equipment or the dress used in conjunction with these instruction execution systems, device or equipment
It sets.The more specific example (non-exhaustive list) of computer-readable medium include the following: there is the electricity of one or more wirings
Interconnecting piece (electronic device), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory
(ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable optic disk is read-only deposits
Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other are suitable
Medium, because can then be edited, be interpreted or when necessary with it for example by carrying out optical scanner to paper or other media
His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each section of the application can be realized with hardware, software, firmware or their combination.Above-mentioned
In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage
Or firmware is realized.It, and in another embodiment, can be under well known in the art for example, if realized with hardware
Any one of column technology or their combination are realized: having a logic gates for realizing logic function to data-signal
Discrete logic, with suitable combinational logic gate circuit specific integrated circuit, programmable gate array (PGA), scene
Programmable gate array (FPGA) etc..
Those skilled in the art are understood that realize all or part of step that above-described embodiment method carries
It suddenly is that relevant hardware can be instructed to complete by program, the program can store in a kind of computer-readable storage medium
In matter, which when being executed, includes the steps that one or a combination set of embodiment of the method.
It, can also be in addition, can integrate in a processing module in each functional unit in each embodiment of the application
It is that each unit physically exists alone, can also be integrated in two or more units in a module.Above-mentioned integrated mould
Block both can take the form of hardware realization, can also be realized in the form of software function module.The integrated module is such as
Fruit is realized and when sold or used as an independent product in the form of software function module, also can store in a computer
In read/write memory medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..Although having been shown and retouching above
Embodiments herein is stated, it is to be understood that above-described embodiment is exemplary, and should not be understood as the limit to the application
System, those skilled in the art can be changed above-described embodiment, modify, replace and become within the scope of application
Type.