Summary of the invention
For solving the problem, the embodiment of the invention discloses a kind of crumbs air navigation aid and device.Technical scheme is as follows:
A kind of crumbs air navigation aid, is applied to mobile terminal, comprises:
Crumbs navigation is represented in the interface of the current display of mobile terminal screen;
Receive the slide preset of user's input;
The target interface corresponding with described slide is determined in the position at interface according to described slide;
Described target interface is presented in described mobile terminal screen.
In the preferred embodiment of the present invention, the described crumbs that represent in the interface of the current display of mobile terminal screen navigate, and comprising:
Detect user and whether have input default crumbs navigation triggering command;
When described triggering command being detected, in the interface of the current display of mobile terminal screen, represent crumbs navigation.
In the preferred embodiment of the present invention, describedly determine the target interface corresponding with described slide according to described slide in the position at interface, comprising:
When target interface label during described slide is for the navigation of described crumbs being detected, according to the track of described slide, mobile described target interface label;
When detecting that the displacement of described target interface label reaches predetermined threshold value, determine that the interface that described target interface label is corresponding or upper level interface are target interface.
In the preferred embodiment of the present invention, in the process of mobile described target interface label, between described target interface label and upper level interface tab, show rubber-band animation.
In the preferred embodiment of the present invention, describedly determine the target interface corresponding with described slide according to described slide in the position at interface, also comprise:
When described slide being detected at non-crumbs navigation area, determine that the upper level interface of current display interface is described target interface.
In the preferred embodiment of the present invention, described described target interface is presented in described mobile terminal screen before, comprise further:
Whether inquiry user opens described target interface;
When receiving user and confirming operation, described target interface is presented at the step in described mobile terminal screen by continuation execution.
A kind of crumbs guider, is applied to mobile terminal, comprises:
Crumbs navigation represents unit, for representing crumbs navigation in the interface of the current display of mobile terminal screen;
Slide receiving element, for receiving the slide preset of user's input;
Target interface determining unit, for determining the target interface corresponding with described slide according to described slide in the position at interface;
Target interface display unit, for being presented at described target interface in described mobile terminal screen.
In the preferred embodiment of the present invention, the navigation of described crumbs represents unit and comprises:
Whether triggering command detection sub-unit, have input default crumbs navigation triggering command for detecting user;
Crumbs navigation display subelement, for when described triggering command detection sub-unit detects described triggering command, represents crumbs navigation in the interface of the current display of mobile terminal screen.
In the preferred embodiment of the present invention, described target interface determining unit specifically for:
When target interface label during described slide is for the navigation of described crumbs being detected, according to the track of described slide, mobile described target interface label;
When detecting that the displacement of described target interface label reaches predetermined threshold value, determine that the interface that described target interface label is corresponding or upper level interface are target interface.
In the preferred embodiment of the present invention, described target interface determining unit also for:
In the process of mobile described target interface label, between described target interface label and upper level interface tab, show rubber-band animation.
In the preferred embodiment of the present invention, described target interface determining unit also for:
When described slide being detected at non-crumbs navigation area, determine that the upper level interface of current display interface is described target interface.
In the preferred embodiment of the present invention, also comprise:
Inquiry unit, before described target interface being presented in described mobile terminal screen at described target interface display unit, whether inquiry user opens described target interface, when receiving user and confirming operation, trigger described target interface display unit and described target interface is presented in described mobile terminal screen.
After the slide preset of technical scheme of the present invention by reception user input, determine the target interface corresponding with described slide according to described slide in the position at interface, and described target interface is presented in described mobile terminal screen.Compared with prior art, the hot zone areas due to slide is greater than the hot zone areas of clicking operation, therefore requires lower to the precision of the operation of user, not easily produces maloperation.
Embodiment
Crumbs navigation is a kind of interface element being used for expression content attaching relation, it can demonstrate current accessed interface and the hierarchical relationship at other interface to user very intuitively, and makes user just can turn back to other interface by minimum click or number of operations.
Now, crumbs navigation is mainly used on the larger electronic equipment of the screens such as PC, is used for showing the interface of hierarchical relationship, such as web browser, multi-level file, multi-level label etc.
Crumbs navigation is less in the application of mobile terminal.Main cause is exactly because the screen of mobile terminal is less, if show crumbs navigation on mobile terminal screen, the region that then interface tab corresponding to each interface of crumbs navigation is shared on screen is often very little, when user adopts clicking operation to carry out trigger target interface tab, hot zone areas corresponding to clicking operation is less again, therefore, is easy to false touch to other interface tab, thus turn back in other interface, cause maloperation.
For the problems referred to above, the invention provides a kind of crumbs air navigation aid, can comprise:
Crumbs navigation is represented in the interface of the current display of mobile terminal screen;
Receive the slide preset of user's input;
The target interface corresponding with described slide is determined in the position at interface according to described slide;
Described target interface is presented in described mobile terminal screen.
Above-mentioned crumbs navigation can be applied to there is multi-layer relation interface on, such as web browser, multi-level file, multi-level label etc.Crumbs navigation provided by the invention can be incorporated in relevant application by those skilled in the art according to actual needs, and the present invention does not do concrete restriction at this.
After the slide preset of technical scheme of the present invention by reception user input, determine the target interface corresponding with described slide according to described slide in the position at interface, and described target interface is presented in described mobile terminal screen.Compared with prior art, the hot zone areas due to slide is greater than the hot zone areas of clicking operation, therefore requires lower to the precision of the operation of user, not easily produces maloperation.
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
For convenience, below to be applied to the crumbs navigation in web browser, be described, be understandable that, by crumbs navigation application in other scene, such as, be applied in multi-level file, also can reach the beneficial effect of phase sample.Therefore not to repeat here in the present invention.
As shown in Figure 2, a kind of crumbs air navigation aid, can comprise:
S101, represents crumbs navigation in the interface of the current display of mobile terminal screen.
The interface of the current display in this step can be a page in the web browser shown in mobile terminal screen.Crumbs navigation can represent on this page, and its form can be as shown in Figure 3.In figure 3, each page-tag in crumbs navigation is combined, and the pattern forming a strip is presented in the bottom of the page.
It should be noted that, in the specific implementation process of this step, crumbs navigation can be presented in the bottom of the page, also can be presented in the other parts of the page, such as, can also be presented in the top of the page, or the left side of the page, the page right side can.
Crumbs navigation can be fixed on the page, such as can be fixed on the bottom of the page, also the mobile operational order that can navigate at the crumbs receiving user preset is moved to the position that user specifies, such as, crumbs navigation longly can be activated into removable state by operation by one by user, and then drags its other parts to the page.
Concrete pattern due to crumbs navigation does not affect the enforcement of technical solution of the present invention, and therefore the present invention there is no need to do concrete restriction at this, and those skilled in the art can select a kind of pattern according to actual conditions.Also multiple pattern can be provided to select for user, the pattern selecting crumbs to navigate according to the hobby of oneself by user, the participation carrying out adding users with this is sexy and interesting.
When showing crumbs navigation in mobile terminal screen, because crumbs navigation can take certain screen area, therefore, region for display web page main contents will reduce accordingly, thus the content that every one page can be made to show reduces, or font diminishes, which kind of situation brings some inconvenience all can to the reading of user.
For addressing this problem, in the preferred embodiment of the present invention, as shown in Figure 4, first can perform S101a, detect user and whether have input default crumbs navigation triggering command, when when described triggering command being detected, performing S101b, in the interface of the current display of mobile terminal screen, representing crumbs navigation.After executing S101b, more successively perform S102 and S103.
In this embodiment, such as, user is when browsing webpage, and crumbs navigation is not presented in the page.Like this, the region for display web page main contents will be corresponding comparatively large, thus the content that every one page can be made to show increases, or font is comparatively large, user friendly reading.When user wants that utilizing crumbs to navigate turns back to certain first level pages, just can input default crumbs navigation triggering command, crumbs navigation triggering command mentioned here can be a default operational motion, such as on screen, length is pressed, or on screen, draw a triangle, can also be input crumbs navigation triggering command by clicking a virtual or physical button, concrete form the present invention of crumbs navigation triggering command does not do concrete restriction at this, and those skilled in the art can determine according to actual conditions.
After user inputs default crumbs navigation triggering command, crumbs navigation just appears in preposition, the bottom of the such as page; Now, the region of display web page main contents diminishes, but now the main target of user is navigated by crumbs to return certain page, instead of carries out page browsing, therefore, the region of display web page main contents diminishes can't make troubles to the use of user.Also just because of this, can also crumbs navigation area be designed larger, operate for crumbs navigation more accurately to facilitate user.
When user does not need crumbs to navigate, default crumbs navigation can also be inputted and hide instruction, can be such as long by crumbs navigation area, or the default virtual or physical button of click one can be passed through, crumbs navigation is hidden, now, the region for display web page main contents becomes large, and user just can browsed web content easily.
S102, receives the slide preset of user's input;
S103, determines the target interface corresponding with described slide according to described slide in the position at interface.
S104, is presented at described target interface in described mobile terminal screen.
When crumbs navigation is presented in interface, user can input default slide, and mobile terminal can determine the target interface corresponding with described slide according to the diverse location of slide in interface.
When slide is the crumbs navigation area in interface, two kinds of specific embodiments can be had.
The first embodiment can be: mobile terminal when target interface label during described slide is for the navigation of described crumbs being detected, according to the track of described slide, mobile described target interface label;
When detecting that the displacement of described target interface label reaches predetermined threshold value, determine that the interface that described target interface label is corresponding is target interface.
In this scheme, target interface label can independently move, and user can directly slide for target interface label, also can be first grow according to target interface tab, when target interface label becomes removable state, then slides.
In this scheme, the slide direction of user can be preset, crumbs navigation as shown in Figure 3, the slide direction that can set user is the direction along next stage interface tab, such as, when user wants the page browsing " level2 " correspondence, can be slided in the direction of interface tab " level2 " to interface tab " level3 ", certainly, also can be designed to slide to " level1 " interface tab direction, or slide to the region direction of display web page main contents; When sliding into default distance, the page that " level2 " is corresponding just can be shown.
Certainly, also can not set the glide direction of user, that is, user can slide to any direction, as long as when detecting that the displacement of target interface label reaches predetermined threshold value, just determine that the interface that target interface label is corresponding is target interface.
The second embodiment is: mobile terminal when target interface label during described slide is for the navigation of described crumbs being detected, according to the track of described slide, mobile described target interface label;
When detecting that the displacement of described target interface label reaches predetermined threshold value, determine that the upper level interface at the corresponding interface of described target interface label is target interface.
In this scheme, target interface label can independently movement, and also can combine movement, user can directly slide to target interface label, also can be first grow according to target interface tab, when target interface label becomes removable state, then slides.And, when mobile terminal is according to the track of described slide, during mobile described target interface label, animation can also be added, to strengthen visual effect, such as, can add a dynamic rubber-band animation, this rubber-band animation is specifically as follows: when starting moving target interface tab, display color lines between described target interface label and upper level interface tab, displacement along with target interface label becomes large, and described colored lines attenuate.Certainly, can add other animation, concrete form the present invention of animation does not do concrete restriction at this, and those skilled in the art can select according to actual conditions yet.
It should be noted that, add animation just in order to strengthen visual effect, which make user can experience target interface label more intuitively moving, be construed as be one preferred embodiment, when not adding animation, the technical program also can reach default beneficial effect.
Below in conjunction with the crumbs navigation shown in Fig. 3, above-mentioned first scheme is described in detail.
When user wants to browse the page corresponding to " level2 " interface tab, " level3 " interface tab can be set as target interface label, and slide for " level3 " interface tab, as shown in Figure 5, direction those skilled in the art of slide can set according to actual conditions, are set as the glide direction to next stage interface tab here.Namely to the glide direction on the right side of " level3 " interface tab.When " level3 " interface tab moves to the right side of " level3 " interface tab according to the track of slide, rubber-band animation can also be demonstrated in the left side of " level3 " interface tab, along with the displacement of " level3 " interface tab is elongated, bungee becomes more and more thinner, when the displacement of " level3 " interface tab reaches default distance, just can determine the upper level page of the corresponding page of " level3 " interface tab, namely the page that " level2 " interface tab is corresponding is target interface, and be presented in described mobile terminal screen.
When user wants to browse the page corresponding to " level1 " interface tab, " level2 " interface tab can be set as target interface label by user, and by " level2 " interface tab to level3 " direction of interface tab slides; as shown in Figure 6; because " level2 " interface tab also has the interface tab " level3 " of subordinate; therefore, when reality moves, can combine to level3 for " level2 ", " level3 " " direction of interface tab moves.Demonstrate rubber-band animation in the left side of " level2 " interface tab simultaneously, along with the displacement of " level2 " interface tab is elongated, bungee becomes more and more thinner, when the displacement of " level2 " interface tab reaches default distance, just can determine the upper level page of the corresponding page of " level2 " interface tab, namely the page that " level1 " interface tab is corresponding is target interface, and is presented in described mobile terminal screen.
The above is described technical scheme of the present invention for the crumbs navigation in Fig. 3.It should be noted that, crumbs navigation in Fig. 3 and to the description of its glide direction be only in order to can be vivider description technical scheme of the present invention and for example, can not be interpreted as that technical scheme of the present invention is only limitted to crumbs navigation in Fig. 3 and the glide direction of its correspondence.Every other scheme drawn under the enlightenment of the technical program, all in the claims in the present invention scope required for protection.
In addition, in the embodiment of the present invention, when slide is the non-crumbs navigation area in interface, can determine that the upper level interface at the interface of current display is described target interface, and be presented in described mobile terminal screen.
It should be noted that, the threshold value preset mentioned in such scheme can be selected according to actual conditions by those skilled in the art, because the enforcement of threshold value on technical solution of the present invention itself does not affect, therefore the present invention does not do concrete restriction at this.
In above-mentioned scheme, when the dynamic distance that target interface label moves reaches predetermined threshold value, just can determine target interface, be then presented in the screen of mobile terminal.
But in some cases, user, after sliding for target interface label, may not want for a certain reason to return to upper level interface, still wants to rest in the current page.This is not attainable in above-mentioned scheme, and user, after sliding for target interface label, if also want to rest on current interface, can only be again get back to this interface by operation.
Therefore, under the circumstances, in the preferred embodiment of the present invention, can increase an inquiry mechanism, concrete scheme can comprise:
Before being presented in described mobile terminal screen by described target interface, whether inquiry user opens described target interface, when receiving user and confirming operation, described target interface is presented in described mobile terminal screen.
The concrete form of inquiry can adopt the form of dialog box, and namely when the displacement of target interface label reaches predeterminable range, screen shows inquiry session frame, the content in dialog box can be, such as, " whether open target interface ".When user clicks "Yes", proceed the step described target interface be presented in described mobile terminal screen.When user clicks "No", still rest on current interface.
Adopt this embodiment, user just can increase a chance selected, user-friendly.
It should be noted that, above-mentioned various embodiments, both can implement separately, and also can partly or entirely combine enforcement, and concrete which kind of embodiment of employing, those skilled in the art can select according to actual conditions.
Corresponding to embodiment of the method above, present invention also offers a kind of crumbs guider, be applied to mobile terminal, as shown in Figure 7, this device can comprise:
Crumbs navigation represents unit 101, for representing crumbs navigation in the interface of the current display of mobile terminal screen;
Slide receiving element 102, for receiving the slide preset of user's input;
Target interface determining unit 103, for determining the target interface corresponding with described slide according to described slide in the position at interface;
Target interface display unit 104, for being presented at described target interface in described mobile terminal screen.
After technical scheme of the present invention receives the slide preset of user's input by slide receiving element 102, determine with described slide corresponding target interface according to described slide in the position at interface by target interface determining unit 103, and described target interface is presented in described mobile terminal screen by trigger target interface display unit 104.Compared with prior art, the hot zone areas due to slide is greater than the hot zone areas of clicking operation, therefore requires lower to the precision of the operation of user, not easily produces maloperation.
In the preferred embodiment of the present invention, as shown in Figure 8, the navigation of described crumbs represents unit 101 and comprises:
Whether triggering command detection sub-unit 101a, have input default crumbs navigation triggering command for detecting user;
Crumbs navigation display subelement 101b, for when described triggering command detection sub-unit detects described triggering command, represents crumbs navigation in the interface of the current display of mobile terminal screen.
In the preferred embodiment of the present invention, described target interface determining unit 103 specifically for:
When target interface label during described slide is for the navigation of described crumbs being detected, according to the track of described slide, mobile described target interface label;
When detecting that the displacement of described target interface label reaches predetermined threshold value, determine that the interface that described target interface label is corresponding is target interface.
In the preferred embodiment of the present invention, described target interface determining unit 103 specifically for:
When target interface label during described slide is for the navigation of described crumbs being detected, according to the track of described slide, mobile described target interface label;
When detecting that the displacement of described target interface label reaches predetermined threshold value, determine that the upper level interface at the corresponding interface of described target interface label is target interface.
In the preferred embodiment of the present invention, described target interface determining unit 103 also for:
When described slide being detected at non-crumbs navigation area, determine that the upper level interface of current display interface is described target interface.
In the preferred embodiment of the present invention, can also comprise: inquiry unit, before described target interface being presented in described mobile terminal screen at described target interface display unit 104,
Whether inquiry user opens described target interface, when receiving user and confirming operation, triggers described target interface display unit and described target interface is presented in described mobile terminal screen.
Be understandable that, above-mentioned various embodiments, both can implement separately, and also can partly or entirely combine enforcement, and concrete which kind of embodiment of employing, those skilled in the art can select according to actual conditions.
It should be noted that, in this article, the such as relational terms of first and second grades and so on is only used for an entity or operation to separate with another entity or operational zone, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or equipment.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment comprising described key element and also there is other identical element.
Each embodiment in this instructions all adopts relevant mode to describe, between each embodiment identical similar part mutually see, what each embodiment stressed is the difference with other embodiments.Especially, for device embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, relevant part illustrates see the part of embodiment of the method.
One of ordinary skill in the art will appreciate that all or part of step realized in said method embodiment is that the hardware that can carry out instruction relevant by program has come, described program can be stored in computer read/write memory medium, here the alleged storage medium obtained, as: ROM/RAM, magnetic disc, CD etc.
The foregoing is only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention.All any amendments done within the spirit and principles in the present invention, equivalent replacement, improvement etc., be all included in protection scope of the present invention.