Summary of the invention
In order to solve complex operation and the problem not intuitively when switching between front view and other view, the embodiment of the present invention provides a kind of view changing method and device.Described technical scheme is as follows:
According to an aspect of the present invention, the embodiment of the present invention provides a kind of view changing method, and described method comprises:
Reception acts on the slip signals of presumptive area, and described presumptive area comprises at least two trigger positions, and described trigger position is corresponding one by one with view;
Show the thumbnail of at least two views at the sliding process of described presumptive area according to described slip signals;
The final position that judges described slip signals whether with described trigger position in somely be complementary;
If one in the final position of described slip signals and described trigger position is complementary, will works as the corresponding view of trigger position that front view switches to coupling and show.
Further, the described thumbnail of at least two views that shows at the sliding process of described presumptive area according to described slip signals specifically comprises:
When receiving described slip signals, will work as the thumbnail that front view switches at least two views and show, described at least two views are all or part of in all views.
Further, described working as after thumbnail that front view switches at least two views shows, also comprise:
The thumbnail of described at least two views is followed described slip signals carry out mobile display at the sliding process of described presumptive area.
Further, described thumbnail with described at least two views is followed described slip signals and is carried out mobile display at the sliding process of described presumptive area, specifically comprises:
The current location that judges described slip signals whether with described trigger position in somely be complementary;
If one in the current location of described slip signals and described trigger position is complementary, the thumbnail of the corresponding view of trigger position with coupling highlights, and described highlighting comprises at least a in following mode: with described thumbnail according to predetermined ratio be enlarged into new thumbnail, with the frame of described thumbnail carry out overstriking, change described thumbnail border color, change described thumbnail tone, change the foreground of described thumbnail and described thumbnail added dynamic effect.
Further, described slip signals is to carry out two point to touch the signal that produces on touch-screen;
Described presumptive area is the rectangular area that is positioned at screen edge;
Described trigger position is that the sub-rectangular area that obtains after decile is carried out in described rectangular area according to the number of all views;
Described final position is described slip signals in the stop place of described presumptive area or the disappearance position.
According to a further aspect in the invention, the embodiment of the present invention also provides a kind of view switching device shifter, and described device comprises:
Signal receiving module is used for receiving the slip signals that acts on presumptive area, and described presumptive area comprises at least two trigger positions, and described trigger position is corresponding one by one with view;
The thumbnail display module is used for showing at the sliding process of described presumptive area according to described slip signals the thumbnail of at least two views;
Position judging module is used for judging whether the final position of described slip signals is complementary with the some of described trigger position;
Switch display module, if be used for the final position of described slip signals and of described trigger position is complementary, will work as the corresponding view of trigger position that front view switches to coupling and show.
Further, described thumbnail display module specifically comprises:
The thumbnail display unit;
Described thumbnail display unit is used for when receiving described slip signals, will work as the thumbnail that front view switches at least two views and show, described at least two views be in all views in whole or in part.
Further, described thumbnail display module specifically comprises:
Follow display unit;
The described display unit of following is used for that the thumbnail of described at least two views is followed described slip signals and carries out mobile display at the sliding process of described presumptive area.
Further, the described display unit of following specifically comprises:
Location matches subelement and highlight subelement;
Described location matches subelement is used for judging whether the current location of described slip signals is complementary with the some of described trigger position;
The described subelement that highlights, if being used for the current location of described slip signals and of described trigger position is complementary, the thumbnail of the corresponding view of trigger position with coupling highlights, and described highlighting comprises at least a in following mode: with described thumbnail according to predetermined ratio be enlarged into new thumbnail, with the frame of described thumbnail carry out overstriking, change described thumbnail border color, change described thumbnail tone, change the foreground of described thumbnail and described thumbnail added dynamic effect.
Further, described slip signals is to carry out two point to touch the signal that produces on touch-screen;
Described presumptive area is the rectangular area that is positioned at screen edge;
Described trigger position is that the sub-rectangular area that obtains after decile is carried out in described rectangular area according to the number of all views;
Described final position is described slip signals in the stop place of described presumptive area or the disappearance position.
The beneficial effect that the technical scheme that the embodiment of the present invention provides is brought is:
By the thumbnail of each view is provided, can make the user see intuitively the displaying contents of each view when switch view; Simultaneously by the coupling between the trigger position corresponding with each view of the position of slip signals, the user is just completed in a sliding process when front view to the switching between other view, the complex operation of original view handoff procedure and problem have not intuitively been solved, having reached the user can just can complete the effect that view switches intuitively by single job, has improved user's experience.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, embodiment of the present invention is described further in detail below in conjunction with accompanying drawing.
For convenience of description, the content that will show on mobile terminal herein is called works as front view, when front view can be window of a page, application program in browser or a mail in Mail Clients etc.When mobile terminal when synchronization has a plurality of views to show, when front view can and other view between switch to show.
Embodiment one
Please refer to Fig. 2, it shows the method flow diagram of the view changing method that the embodiment of the present invention one provides.This view changing method can use in the terminal such as panel computer, smart mobile phone or notebook.This view changing method can comprise:
Step 202 receives the slip signals that acts on presumptive area, and presumptive area comprises at least two trigger positions, and trigger position is corresponding one by one with view;
It is the panel computer of just using at running browser with running environment, view is that the page in browser is example, panel computer can receive the slip signals that the user acts on presumptive area, such as, this slip signals can be the signal that two fingers of user produce on the touch-screen of panel computer, this presumptive area can be therectangular area 302 that is positioned at the screen lower limb of panel computer, as shown in Figure 3.
Browser, assumed has 5 pages when front opening, be also panel computer can show 5 views are arranged, can have so 5 views of 5 trigger positions and this corresponding one by one inrectangular area 302, as shown in dotted line frame in figure.But need to prove, aboutrectangular area 302 and 5 trigger positions can when receiving slip signals, be shown to the user clearly; Also can never show, Fig. 3 has just carried out concrete illustrating for convenience of description.
Step 204 shows the thumbnail of at least two views at the sliding process of presumptive area according to slip signals;
Panel computer can switch to the view that initially shows thethumbnail 304 of whole 5 views after receiving slip signals.And when slip signals horizontally slipped inrectangular area 302, thethumbnail 304 of 5 views also can be followed the demonstration that the sliding process of slip signals moves left and right.
Step 206, the final position that judges slip signals whether with trigger position in somely be complementary;
When resting on a position or slip signals when slip signals disappearing inrectangular area 302, can think that the stop place of slip signals and disappearance position are the final positions of slip signals.At this moment, the final position that judges slip signals whether with all trigger positions in somely be complementary.In other words, can judge whether the final position of slip signals has fallen into some trigger positions, such as slip signals disappears, can think that namely the final position of slip signals has fallen intotrigger position 306 when sliding intotrigger position 306.
Step 208 if in the final position of slip signals and trigger position is complementary, will be worked as the corresponding view of trigger position that front view switches to coupling and show.
When the final position of slip signals and triggerposition 306 were complementary, panel computer can show switching to the corresponding view oftrigger position 306 when front view.Because corresponding the 3rd view oftrigger position 306, panel computer can show switching to the 3rd view when front view.In whole process, user's mode of operation can be summarized as follows: two fingers slide to produce slip signals in presumptive area, when then sliding into corresponding trigger position, unclamp two slip signals of instigating and disappear.
The view changing method that the embodiment of the present invention one provides can make the user see intuitively the displaying contents of each view when switch view by the thumbnail of each view is provided; Simultaneously by the coupling between the trigger position corresponding with each view of the position of slip signals, the user is just completed in a sliding process when front view to the switching between other view, the complex operation of original view handoff procedure and problem have not intuitively been solved, having reached the user can just can complete the effect that view switches intuitively by single job, has improved user's experience.
Embodiment two
Please refer to Fig. 4, it shows the method flow diagram of the view changing method that the embodiment of the present invention two provides.This view changing method can use in the terminal such as panel computer, smart mobile phone or notebook.This view changing method can comprise:
Step 401 receives the slip signals that acts on presumptive area, and presumptive area comprises at least two trigger positions, and trigger position is corresponding one by one with view;
Still be the panel computer of just using at running browser with running environment, view is that the page in browser is example, and under initial situation, what panel computer showed is when front view (being assumed to beview 5).At this moment, panel computer can receive the slip signals that the user acts on presumptive area, such as, this slip signals can be the signal that user's finger produces on the touch-screen of panel computer, this presumptive area can be therectangular area 502 that is positioned at the screen lower limb of panel computer, as shown in Fig. 5 A.Certainly, in different embodiment, this presumptive area can be also the zone that is positioned at screen coboundary, left hand edge or the right hand edge of panel computer, or even whole screen area, and this presumptive area shape also can be not limited to rectangle.
Browser, assumed is worked as front opening 9 pages, be also panel computer can show 9 views are arranged, can there be so 9 views of 9 trigger positions and this corresponding one by one inrectangular area 502, as shown in dotted line frame in figure (dotted line only for signal, can not exist in practical application).Each trigger position can berectangular area 502 to be carried out the sub-rectangular area that obtains after decile according to the number of all views.Certainly, trigger position also can be not limited to the rectangular area, and adopts other shape such as round dot or lines.
Step 402 when receiving slip signals, will be worked as the thumbnail that front view switches at least two views and show, at least two views are all or part of in all views;
Panel computer can show switch to a predetermined thumbnail when front view when receiving this slip signals, and each thumbnail can corresponding displayable view.This predetermined number can be 4, even if be also that panel computer has 9 views that can show now, but only shows simultaneously the thumbnail of 4 views on screen, as shown in Fig. 5 B.Certainly, if panel computer only has 2 displayable views now, panel computer can only show two thumbnails.
Step 403 is followed slip signals with the thumbnail of at least two views and is carried out mobile display at the sliding process of presumptive area;
Because slip signals has also been indicated sliding process, panel computer can be followed the thumbnail that has shown slip signals and be carried out mobile display at the sliding process of presumptive area, such as, when slip signals is slided for turning left, panel computer can be cancelled demonstration with the 4th thumbnail in 4 thumbnails that originally showed, and original another thumbnail that does not show is shown, as shown in Fig. 5 C.
In sliding process, panel computer can also highlight a thumbnail.Specifically,
The first, the current location that judges slip signals whether with trigger position in somely be complementary;
Panel computer can judge the current location of slip signals in sliding process whether with all trigger positions in somely be complementary, such as in Fig. 5 C, slip signals current location and the4th trigger position 504 couplings in sliding process.
Second, if one in the current location of slip signals and trigger position is complementary, the thumbnail of the corresponding view of trigger position with coupling highlights, and highlights to comprise at least a in following mode: when thumbnail according to predetermined ratio be enlarged into new thumbnail, with the frame of thumbnail carry out overstriking, change thumbnail border color, change thumbnail tone, change the foreground of thumbnail and thumbnail added dynamic effect.
In scene shown in Fig. 5 C, slip signals current location and the4th trigger position 504 couplings in sliding process, so panel computer highlights thethumbnail 506 of the4th trigger position 504 corresponding views, the mode that highlights is: when thumbnail according to predetermined ratio be enlarged into new thumbnail, the frame with thumbnail carries out overstriking simultaneously.
Step 404, the final position that judges slip signals whether with trigger position in somely be complementary;
When resting on a position or slip signals when slip signals disappearing in presumptive area, can think that the stop place of slip signals and disappearance position are the final positions of slip signals.At this moment, the final position that judges slip signals whether with all trigger positions in somely be complementary.In other words, can judge whether the final position of slip signals has fallen into some trigger positions, such as slip signals disappears, can think that namely the final position of slip signals has fallen intotrigger position 508, as shown in Fig. 5 D when sliding intotrigger position 508.
Step 405 if in the final position of slip signals and trigger position is complementary, will be worked as the corresponding view of trigger position that front view switches to coupling and show.
When the final position of slip signals and triggerposition 508 were complementary, panel computer can show switching to the corresponding view oftrigger position 508 when front view.Because corresponding the 2nd view oftrigger position 508, panel computer can switch to the 2nd view and shows.
The view changing method that the embodiment of the present invention two provides can make the user see intuitively the displaying contents of each view when switch view by the thumbnail of each view is provided; Simultaneously by the coupling between the trigger position corresponding with each view of the position of slip signals, the user is just completed in a sliding process when front view to the switching between other view, the complex operation of original view handoff procedure and problem have not intuitively been solved, having reached the user can just can complete the effect that view switches intuitively by single job, has improved user's experience.
Embodiment three
Please refer to Fig. 6, it shows the block diagram of the view switching device shifter that the embodiment of the present invention three provides.This view switching device shifter can use in the terminal such as panel computer, smart mobile phone or notebook.This view switching device shifter can comprisesignal receiving module 620,thumbnail display module 640,position judging module 660 andswitch display module 680.
Signal receivingmodule 620 is used for receiving the slip signals that acts on presumptive area, and presumptive area comprises at least two trigger positions, and trigger position is corresponding one by one with view.Slip signals can be to carry out two point to touch the signal that produces on touch-screen.Presumptive area can be the rectangular area that is positioned at screen edge.
Thumbnail display module 640 is used for showing at the sliding process of presumptive area according to described slip signals the thumbnail of at least two views.
Position judging module 660 is used for judging whether the final position of described slip signals is complementary with the some of trigger position.Trigger position can be that the sub-rectangular area that obtains after decile is carried out in the rectangular area according to the number of all views.
Display module 680 is used for the final position of slip signals and of trigger position is complementary if switch, and will work as the corresponding view of trigger position that front view switches to coupling and show.The final position can be slip signals in the stop place of presumptive area or the disappearance position.
Specifically,thumbnail display module 620 can specifically comprise: thumbnail display unit 622 and follow display unit 624, as shown in Figure 7.Wherein, thumbnail display unit 622 is used for when receiving slip signals, will work as the thumbnail that front view switches at least two views and show, at least two views be in all views in whole or in part.Follow display unit 624 and carry out mobile display for the thumbnail of at least two views is followed slip signals at the sliding process of presumptive area.Following display unit 624 can specifically comprise again: location matches subelement 624a and highlight subelement 624b, as shown in Figure 8.Location matches subelement 624a is used for judging whether the current location of slip signals is complementary with the some of trigger position; Subelement 624b is used for the current location of slip signals and of trigger position is complementary if highlight, the thumbnail of the corresponding view of trigger position with coupling highlights, and highlights to comprise at least a in following mode: with thumbnail according to predetermined ratio be enlarged into new thumbnail, with the frame of thumbnail carry out overstriking, change thumbnail border color, change thumbnail tone, change the foreground of thumbnail and thumbnail added dynamic effect.
The view switching device shifter that the embodiment of the present invention three provides can make the user see intuitively the displaying contents of each view when switch view by the thumbnail of each view is provided; Simultaneously by the coupling between the trigger position corresponding with each view of the position of slip signals, the user is just completed in a sliding process when front view to the switching between other view, the complex operation of original view handoff procedure and problem have not intuitively been solved, having reached the user can just can complete the effect that view switches intuitively by single job, has improved user's experience.
Need to prove: the view switching device shifter that above-described embodiment provides is when switch view, only the division with above-mentioned each functional module is illustrated, in practical application, can as required above-mentioned functions be distributed and be completed by different functional modules, the inner structure that is about to device is divided into different functional modules, to complete all or part of function described above.In addition, the view switching device shifter that above-described embodiment provides and view changing method embodiment belong to same design, and its specific implementation process sees embodiment of the method for details, repeats no more here.
One of ordinary skill in the art will appreciate that all or part of step that realizes above-described embodiment can complete by hardware, also can come the relevant hardware of instruction to complete by program, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium of mentioning can be ROM (read-only memory), disk or CD etc.
The above is only preferred embodiment of the present invention, and is in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, is equal to replacement, improvement etc., within all should being included in protection scope of the present invention.