Summary of the invention
The purpose of the embodiment of the invention is to provide a kind of window arranging method, and it is single to be intended to solve in the prior art spread pattern of a plurality of windows, and can not realize the problem that the quickly and orderly of polytype window is arranged.
The embodiment of the invention is achieved in that a kind of window arranging method, may further comprise the steps:
Receive the user through the trace information that touch-screen or cursor trigger, judge trajectory shape according to said trace information;
Obtain the number of application window in the current display interface;
When the trajectory shape of judging is a N limit shape, and N need rejudge trajectory shape during greater than the number of window in the display interface;
According to the number of said trajectory shape, window and the number of the trajectory shape combined window that is provided with in advance and the corresponding relation of window arrangement position obtain a plurality of window arrangement positions;
Move at least one window according to said a plurality of window arrangement positions, the corresponding window arrangement position of each window is arranged.
Another purpose of the embodiment of the invention is to provide a kind of window arranging system, and system comprises:
The trajectory shape judging unit is used to receive the user through the trace information that touch-screen or cursor trigger, and judges trajectory shape according to said trace information;
Rejudge control module, be used for when the trajectory shape of judging be N limit shape, and N need rejudge trajectory shape during greater than the number of window in the display interface;
Arrangement units is used for the trajectory shape according to said trajectory shape judgment unit judges, and the trajectory shape that is provided with in advance and the corresponding relation of window arrangement position are arranged a plurality of windows;
Said arrangement units further comprises:
Window number acquisition module is used for obtaining the number of current display interface application window;
Window arrangement position acquisition module; The number that is used for the window that the trajectory shape according to said trajectory shape judgment unit judges, said window number acquisition module obtain, and the number of the trajectory shape combined window that is provided with in advance and the corresponding relation of window arrangement position obtain a plurality of window arrangement positions;
Arrange module, be used for moving at least one window, the corresponding window arrangement position of each window is arranged according to a plurality of window arrangement positions that said window arrangement position acquisition module obtains.
The present invention is through receiving the trace information that the user triggers through touch-screen or cursor; Judge trajectory shape according to trace information; According to trajectory shape and the trajectory shape that is provided with in advance and the corresponding relation of window arrangement position a plurality of windows are arranged; Realized the variation arrangement of two dimension or a plurality of dissimilar windows in three-dimensional interface, the user has more direct, convenient and lively operating experience in operating process simultaneously.
Embodiment
In order to make the object of the invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with accompanying drawing and embodiment.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
In embodiments of the present invention; Receive the trace information that the user triggers through touch-screen or cursor; Judge trajectory shape according to trace information; According to trajectory shape and the trajectory shape that is provided with in advance with the corresponding relation of window arrangement position a plurality of windows are arranged, realized the variation arrangement of a plurality of dissimilar windows.
The process flow diagram that the window that Fig. 1 shows the embodiment of the invention to be provided is arranged.
In step S101, receive the user through the trace information that touch-screen or cursor trigger, judge trajectory shape according to trace information;
In embodiments of the present invention, trace information is the trajectory coordinates value, and trajectory shape comprises straight line, and regular polygon and circle can certainly be oval or other irregular changeable shapes.
In step S102, according to trajectory shape and the trajectory shape that is provided with in advance and the corresponding relation of window arrangement position a plurality of windows are arranged.
During concrete the application; The number of window is two or more in the current display interface; Window can comprise dissimilar; For example contact manager, browser, schedule, player, digital atlas etc., the corresponding relation of trajectory shape and window arrangement position is specially: the corresponding relation of the number of trajectory shape combined window and window arrangement position, step S102 is specially: the number of obtaining window; According to the number of trajectory shape, window and the number of the trajectory shape combined window that is provided with in advance and the corresponding relation of window arrangement position obtain a plurality of window arrangement positions; Move at least one window according to a plurality of window arrangement positions, the corresponding window arrangement position of each window is arranged.Before step S102, window is arranged disposal route and is also comprised: the corresponding a plurality of window arrangement positions of number that trajectory shape and window are set.Wherein, the window arrangement position is two-dimensional coordinate value or D coordinates value.
In order to make current display interface have better level effect, after step S102, window is arranged disposal route and is also comprised: the size of adjustment window; Specifically comprise: the equal and opposite in direction of the window that same direction is arranged; Perhaps increase gradually, perhaps reduce gradually, perhaps symmetrical both sides reduce gradually; Perhaps symmetrical both sides increase gradually, can be provided with according to user's needs.
What deserves to be mentioned is that the trajectory shape of in step S101, judging is a N limit shape, and N is during greater than the number of window in the display interface; Need rejudge trajectory shape, can be the polygon of limit number less than the window number, also possibly be circular or oval certainly; When the trajectory shape of judging is a N limit shape, N is less than the number of window in the display interface, and the number of window is an odd number; And polygonal limit number is when being even number; The number of the window of arranging on each limit can be different, at this moment, and can be according to the nearby principle moving window.
In embodiments of the present invention; Portable terminal is controlled arrangement and the demonstration of a plurality of windows in display interface through trajectory shape, and display interface can be two-dimentional display interface, also can be three-dimensional display interface; After a plurality of windows are arranged according to trajectory shape; The user can also be provided with the different 2d or the 3d display effect of window according to the hobby of oneself, and such as projection and perspective, the depth of color or brightness changes or the like.
Fig. 2 provides 5 synoptic diagram that window shows according to touch track in the display interface for example of the present invention.
In this example of the present invention, shown window 1, window 2, window 3, window 4, window 5 on the current display interface of portable terminal, they are respectively player window, browser window; Address list window, notepad window, digital atlas; In this example of the present invention, the user is through the hand various tracks that on touch-screen, draw, and trajectory shape comprises horizontal line; Oblique line, triangle etc.; Portable terminal is arranged 5 position of window according to the drawn various tracks of user, obtains different 3D effects and switches.
In Fig. 2 (a), window 1~5 is arranged successively from front to back, and window size reduces successively;
In Fig. 2 (b), the user is through the touch-screen horizontal line that draws from left to right;
In Fig. 2 (c), window 1~5 is positive on same surface level to show that window 1 moves to the middle of display interface; Window 2 moves to window 1 both sides respectively with window 3, and arranges with reference to window 1 left-right symmetric, and window 4 moves to window 2 left sides and window 3 the right respectively with window 5; And arrange with reference to window 1 left-right symmetric, wherein, the size of window 1 remains unchanged; Window 3 increases to and window 2 equal sizes, and window 5 increases to and window 4 equal sizes;
In Fig. 2 (d), the user is through the touch-screen triangular trajectory of drawing;
In Fig. 2 (e), window 1 big or small constant, the moving up of window 2~5, window 2 moves to the upper left side behind the window 1, and window 3 moves to the upper right side behind the window 1, and window 4 moves to the upper left side behind the window 2, and window 5 moves to the upper right side behind the window 3;
In Fig. 2 (f), the user is through the touch-screen perpendicular line that from top to bottom draws;
In Fig. 2 (g), window 1~5 big or small constant is moved into row of vertical direction, and window 1~5 is arranged successively from front to back;
In Fig. 2 (h), the user through touch-screen from lower to upper to the left side oblique line that draws;
In Fig. 2 (i), window 1, window 2 and window 4 big or small constant, window 3 reduces with window 5, is moved into the delegation of horizontal direction, and window 1~5 is arranged in order from right to left from big to small;
In Fig. 2 (j), the user through touch-screen from lower to upper to the right oblique line that draws;
In Fig. 2 (k), window 1~5 big or small constant is moved to the left into the delegation of horizontal direction, and window 1~5 is arranged in order from left to right from big to small.
Can find out from Fig. 2 (d) and Fig. 2 (e), when the user through touch-screen portable terminal to mark trajectory shape be a leg-of-mutton touch track time, current display interface is arranged 5 windows according to leg-of-mutton shape.
A plurality of windows move according to nearby principle, for example, and when trajectory shape is horizontal linear; A plurality of windows only need move up and down, and need not move left and right, make a plurality of windows be in a horizontal line and get final product; And when trajectory shape is vertical line; A plurality of windows only need move left and right, need not to move up and down, and make a plurality of windows be in a perpendicular line and get final product.
The user can also directly change position of window through touch track, for example drags the place ahead or the rear position that digital atlas window can drag to this position of window other windows, the switching of completing place according to touch track.In addition, in order to strengthen sense of experience of users, when the trajectory shape that marks through touch-screen as the user is a point, single or a plurality of windows carry out up and down or about shake.
Fig. 3 is the structural drawing of the window arranging system that provides of the embodiment of the invention; For the ease of explanation; Only show the part relevant with the embodiment of the invention; This system is built in the unit that software unit, hardware cell or the software and hardware of display terminal or other-end equipment combine, and this display terminal can be mobile phone or computing machine etc.
In embodiments of the present invention, the window arranging system mainly comprises trajectoryshape judging unit 31 andarrangement units 32.
Trajectoryshape judging unit 31 receives the user through the trace information that touch-screen or cursor trigger, and judges trajectory shape according to trace information; The trajectory shape thatarrangement units 32 is judged according to trajectoryshape judging unit 31, and the trajectory shape that is provided with in advance and the corresponding relation of window arrangement position are arranged a plurality of windows.
Wherein, the corresponding relation of trajectory shape and window arrangement position is specially: the corresponding relation of the number of trajectory shape combined window and window arrangement position, andarrangement units 32 further comprises:
Window number acquisition module is used to obtain the number of window;
Window arrangement position acquisition module; The number of the trajectory shape that is used for judging, the window that said window number acquisition module obtains according to trajectoryshape judging unit 31, and the number of the trajectory shape combined window that is provided with in advance and the corresponding relation of window arrangement position obtain a plurality of window arrangement positions;
Arrange module, be used for moving at least one window, the corresponding window arrangement position of each window is arranged according to a plurality of window arrangement positions that window arrangement position acquisition module obtains.
In order to show better level effect, window is arranged disposal system and is also comprised:
The window size adjustment unit is used to adjust the size of the window thatarrangement units 32 arranges.
Wherein trajectory shape comprises straight line, and regular polygon and circle can certainly be oval or other irregular changeable shapes, and the type of a plurality of windows of arrangement can be the same or different.Its embodiment repeats no more as stated.
In embodiments of the present invention; Through receiving the trace information that the user triggers through touch-screen or cursor; Judge trajectory shape according to trace information; According to trajectory shape and the trajectory shape that is provided with in advance with the corresponding relation of window arrangement position a plurality of windows are arranged and are shown that realized that the variation of two dimension or a plurality of dissimilar windows in three-dimensional interface is arranged, the user can be provided with different two-dimentional perhaps 3-D effects according to oneself hobby; Ease for use is strong, interesting higher, and the user has more direct, convenient and lively operating experience in operating process.
The above is merely preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of within spirit of the present invention and principle, being done, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.