Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Describe, it is clear that described embodiment is a part of embodiment of the present invention rather than whole embodiments wholely.Based on this
Embodiment in bright, the every other enforcement that those of ordinary skill in the art are obtained under not making creative work premise
Example, broadly falls into the scope of protection of the invention.
The embodiment of the present invention provides a kind of windows switching method and device, can improve the efficiency of windows exchange.Hereinafter divide
It is not described in detail.
The problem relatively low for solving the switching efficiency of above-mentioned window, in one embodiment, spy proposes a kind of mobile whole
The windows switching method of end, the execution of this windows switching method can be dependent on computer program, and this computer program can run on
On the operating system of von Neumann system.This operating system may operate on the mobile terminal such as smart mobile phone, panel computer.
Refer to the schematic flow sheet that Fig. 1, Fig. 1 are a kind of windows switching methods that the embodiment of the present invention provides.Wherein, should
Windows switching method is to describe from the angle being provided with the mobile terminals such as the smart mobile phone of touch screen, panel computer.Such as Fig. 1
Shown in, this windows switching method may comprise steps of.
101, display stacking stereo window.
In the present embodiment, stacking stereo window includes that at least two window, at least two window belong to same browser.Example
In the application scenarios of windows exchange in a smart mobile phone browser, as shown in Figure 2.Fig. 2 illustrates a kind of windows exchange
The interface schematic diagram of method, in the multi-window interface of this browser, all windows opened show in the way of stacking is three-dimensional,
Window layer overlaps mistake, shows the partial content on each window, and window is stacked together with 3 D stereo form, so may be used
In limited screen ranges, the content of the window that displaying as much as possible is opened.
In the present embodiment, it should be noted that user with the mobile terminals such as smart mobile phone carry out window browse time, often
Only one window of display, when needs carry out windows exchange, sends multi-window operation instruction, could enter multi-window operation circle
Face, therefore, mobile terminal, after multi-window operation instruction being detected, just enters the multi-window interface of stacking stereo display, its
In, multi-window operation instruction can be click on multiwindow button, it is also possible to is that Multi-contact scales gesture, it is also possible to is other behaviour
Make.
In the present embodiment, can arrange cross button on the left of each window page title, user can press by clicking on cross
Button cuts out the window of correspondence, it is possible to arrange new window button in another location, and user can be by clicking on new window button
Carry out a newly-built window.
In the present embodiment, putting in order of the window of stacking stereo display can depend on according to opening the sequencing of window
According to the use habit of general user, the window opened at first can be arranged in the bottom of stacking stereo window, be arranged in order,
After the window arrangement opened in the top of stacking stereo window, when i.e. entering multiwindow operation interface, show window at first
Mouth is the window finally opened.If the number of windows opened is a lot, for not affecting window display effect, at mobile terminal screen
Can not simultaneously show whole windows on interface, the window that only display user currently slides into, remaining window is hidden, and hides
On window and current screen, the window of display still arranges according to former order.
102, it is same skin by the window ID belonging to same information type at least two window.
In the present embodiment, all windows opened are classified by mobile terminal by different information types.By identical letter
The window ID of breath type is identical skin.Such as, information type classification can comprise shopping, novel, news, video display and its
It etc., the skin of the window that information type is game can be set to the skin of a kind of color containing game element, specifically
, can with redness be the theme color, window skin containing various game article cartoon pictures represent game information type
Window.Same, for the window of remaining information type, user can be facilitated by arranging the skin containing coherent element
Quickly identify different window information types.
103, detection slide.
In the present embodiment, the slide for switch window mainly includes upwards, downward two kinds of slides.Moving
Detecting slide on the touch screen of terminal can be to detect that touch operation, as original position, terminates as cunning with touch operation
Dynamic operation end position.Such as when detect on terminal touch screen curtain, have touch operation time, terminal inner i.e. starts touch
Point captures, when touch point touch on screen the most a little at the end of, this slide terminates, and detects slide mistake
Touch point path length on the touchscreen and the direction of motion etc. in journey.
104, each window at least two window is translated along the glide direction of slide.
In the present embodiment, can come at least two window by judging the glide direction of the slide of above-mentioned detection
In each window translate.Be specially when touch point the glide direction touched on screen be from top to bottom time, will at least
Each window pan-down in two windows.Furthermore it is possible to according to the path length of the above-mentioned slide detected, near
Each window in few two windows translates equal distance.
In the windows switching method described by Fig. 1, display belongs to same browser and includes the layer of at least two window
Folded stereo window, is same skin by the window ID belonging to same information type at least two window, detects slide,
Each window at least two window is translated along the direction of operating of slide, it is seen then that by different information types
Skin that window ID is different the window stacking stereo display that will open, can reduce window seeking scope, can improve window
Mouth switch speed, such that it is able to improve the switching efficiency of window.
Refer to the schematic flow sheet that Fig. 3, Fig. 3 are a kind of windows switching methods that the embodiment of the present invention provides.Wherein, should
Windows switching method is to describe from the angle being provided with the mobile terminals such as the smart mobile phone of touch screen, panel computer.Such as Fig. 3
Shown in, this windows switching method may comprise steps of.
301, display stacking stereo window.
In the present embodiment, stacking stereo window includes that at least two window, at least two window belong to same browser.Example
In the application scenarios of windows exchange in a smart mobile phone browser, as shown in Figure 4.Fig. 4 illustrates a kind of windows exchange
The interface schematic diagram of method, in the multi-window interface of this browser, all windows opened show in the way of stacking is three-dimensional,
Window layer overlaps mistake, shows the partial content on each window, and window is stacked together with 3 D stereo form, so may be used
In limited screen ranges, the content of the window that displaying as much as possible is opened.
In the present embodiment, it should be noted that user with the mobile terminals such as smart mobile phone carry out window browse time, often
Only one window of display, when needs carry out windows exchange, sends multi-window operation instruction, could enter multi-window operation circle
Face, therefore, mobile terminal, after multi-window operation instruction being detected, just enters the multi-window interface of stacking stereo display, its
In, multi-window operation instruction can be click on multiwindow button, it is also possible to is that Multi-contact scales gesture, it is also possible to is other behaviour
Make.
In the present embodiment, can arrange cross button on the left of each window page title, user can press by clicking on cross
Button cuts out the window of correspondence, it is possible to arrange new window button in another location, and user can be by clicking on new window button
Carry out a newly-built window.
In the present embodiment, if the number of windows opened is a lot, for not affecting window display effect, at mobile terminal screen circle
Can not simultaneously show whole windows on face, the window that only display user currently slides into, remaining window is hiding, and multiwindow depends on
Old arrange according to former order.
302, from least two window, choose the window comprising video content.
In the present embodiment, if the multiple windows opened have the window comprising video content, then will comprise video content
Window is chosen out.
303, it is same skin by the window ID belonging to same information type at least two window.
In the present embodiment, all windows opened are classified by mobile terminal by different information types.By identical letter
The window ID of breath type is identical skin.Such as, information type classification can comprise shopping, novel, news, video display and its
It etc., the skin of the window that information type is game can be set to the skin of a kind of color containing game element, specifically
, can with redness be the theme color, window skin containing various game article cartoon pictures represent game information type
Window.Same, for the window of remaining information type, user can be facilitated by arranging the skin containing coherent element
Quickly identify different window information types.
In the present embodiment, step 302 and step 303 can executed in parallel, it is possible to successively performing, step 303 also can be in step
Performed before 302.
304, the video thumbnails of the window that display is chosen.
In the present embodiment, video thumbnails is the thumbnail of video clip in corresponding window, and video thumbnails is with corresponding
Window establish a connection.Video thumbnails is shown separately with stacking stereo window, and as shown in Figure 4, video thumbnails is permissible
Display is in the side of stacking stereo window, it is possible to show other white spaces at multi-window interface.Video thumbnails is with corresponding
The annexation set up of window can be that video thumbnails points to corresponding video window, to reach window and corresponding breviary
Figure one_to_one corresponding.If window corresponding to certain window thumbnail be not within indication range, corresponding window institute can be pointed to dotted line
Direction, as shown in Figure 4.All video thumbnails putting in order from the bottom up can be according to window from front to back suitable
Sequence.
305, for every kind of information type, the corresponding relation of the skin of display information type and identification information type.
In the present embodiment, the corresponding relation of the skin of display information type and identification information type can pass through suspended window
Mouth, label or other display modes show.
306, at least two window will belong to the adjacent display of window of same information type.
In the present embodiment, by adjacent for the window that belongs to same information type at least two window display needs will at least
Two windows belong to after the window ID of same information type is same skin, and before detection slide.Adjacent
Display refers to, when entering multiwindow operation interface, the window of same information type is arranged in one when stacking stereo display
Rise, for ease of when windows exchange, carry out window lookup, no longer cascading windows are arranged according to the order opening window,
But according to window information type, by the window arrangement of identical information type together, the still stacking stereo display of all windows exists
Together.Can by the window finally opened and the window arrangement identical with its information type stacking stereo window before
Face.Such as, in the browser of a mobile terminal, the information type of the multiple windows opened comprise news, play, do shopping,
Novel, video display and other, and the information type of the window finally opened is novel, then show in multiwindow operation interface stacking solid
When showing multiwindow, by information type be news, play, do shopping, together with novel, video display are individually placed to other window, every kind
The still stacking stereo display of the window of information type together, and by the window of novel information type stacking stereo window before
Face shows.
In the present embodiment, step 304, step 305 and step 306 can perform the most simultaneously, it is possible to successively perform, and successively hold
During row, step 304, step 305 and step 306 execution sequence can arbitrary arrangements.
307, when the operation for target video thumbnail being detected, the window that display target video thumbnail is corresponding.
In the present embodiment, target video thumbnail is the arbitrary video thumbnails in the video thumbnails shown.For mesh
The operation of mark video thumbnails can be touch, slip etc..When the above-mentioned operation for target video thumbnail being detected, can
Directly to exit windows display interface, it is switched to the window that target video thumbnail is corresponding.
308, when the hiding instruction for hiding corresponding relation being detected, perform to hide instruction.
In the present embodiment, hiding instruction can be corresponding relation outstanding showing information type and identification information type-skin
The hiding button arranged under floating window, when user clicks on hiding button, will display information type and identification information type
The suspension window of the corresponding relation of skin is hidden.Can also be that other hide instruction, such as display information type and mark
The slide of the suspension window of the corresponding relation of information type skin.
309, detection slide.
In the present embodiment, the slide for switch window mainly includes upwards, downward two kinds of slides.Moving
Detecting slide on the touch screen of terminal can be to detect that touch operation, as original position, terminates as cunning with touch operation
Dynamic operation end position.Such as when detect on mobile terminal touch screen curtain, have touch operation time, i.e. open inside mobile terminal
Begin touch point is captured, when touch point touch on screen the most a little at the end of, this slide terminates, and detection is sliding
Touch point path length on the touchscreen and the direction of motion etc. in dynamic operating process.
In the present embodiment, step 307, step 308 and step 309 can perform the most simultaneously, it is possible to successively perform, and successively hold
During row, step 307, step 308 and step 309 execution sequence can arbitrary arrangements.
310, the translation mode that browser is arranged is obtained.
In the present embodiment, window translation mode formula can arrange one of which from multiple window translation mode in a browser,
Such as, may be configured as each window translation mode at least two window is arc translation, i.e. three dimensional display at least two window
Each window translation track in Kou is camber line, it is possible to be set to rectilinear translation, it addition, may be configured as cycle spinning or the most flat
Moving, under cycle spinning mode, the window foremost of stacking stereo display and the most end to end, circulation shows.
311, according to translation mode, each window at least two window is translated along the glide direction of slide.
In the present embodiment, according to the translation mode arranged in the browser of above-mentioned acquisition, carry out the translation of multiwindow.Permissible
By judging the glide direction of the slide of above-mentioned detection, each window at least two window is translated.Tool
Body be when touch point in the glide direction touched on screen for time from top to bottom, by downward for each window at least two window
Translation.Furthermore it is possible to according to the path length of the above-mentioned slide detected, each window at least two window is put down
The distance of phase shift etc..
In the windows switching method described by Fig. 3, display belongs to same browser and includes the layer of at least two window
Folded stereo window, is same skin by the window ID belonging to same information type at least two window, detects slide,
Each window at least two window is translated along the direction of operating of slide, it is seen then that by different information types
Skin that window ID is different the window stacking stereo display that will open, can reduce window seeking scope, can improve window
Mouth switch speed, such that it is able to improve the switching efficiency of window.
Refer to the structural representation that Fig. 5, Fig. 5 are a kind of windows exchange devices that the embodiment of the present invention provides.Wherein, should
Device can be provided with the mobile terminals such as the smart mobile phone of touch screen, panel computer.As it is shown in figure 5, this device may include that
First display unit 501, is used for showing that stacking stereo window, stacking stereo window include at least two window, extremely
Few two windows belong to same browser;
Mark unit 502, belongs to same information type at least two window shown by the first display unit 501
Window ID be same skin;
Detector unit 503, is used for detecting slide;
Translation unit 504, each window at least two window shown by the first display unit 501 is along detection
The glide direction translation of the slide of unit 503 detection.
In the windows exchange device described by Fig. 5, display belongs to same browser and includes the layer of at least two window
Folded stereo window, is same skin by the window ID belonging to same information type at least two window, detects slide,
Each window at least two window is translated along the direction of operating of slide, it is seen then that by different information types
Skin that window ID is different the window stacking stereo display that will open, can reduce window seeking scope, can improve window
Mouth switch speed, such that it is able to improve the switching efficiency of window.
Refer to the structural representation that Fig. 6, Fig. 6 are the another kind of windows exchange devices that the embodiment of the present invention provides.Wherein,
Device shown in Fig. 6 is that installation optimization as shown in Figure 5 obtains, and wherein, this device can also include:
Choose unit 505, comprise video content for choosing from least two window of the first display unit 501 display
Window;
First display unit 501, is additionally operable to show the video thumbnails choosing the window that unit 505 is chosen, video breviary
Figure is the thumbnail of video clip in corresponding window, and video thumbnails establishes a connection with corresponding window.
As a kind of possible embodiment, this device can also include:
Second display unit 506, for when the target video thumbnail for the first display unit 501 display being detected
During operation, the window that display target video thumbnail is corresponding, target video thumbnail is the arbitrary video contracting in video thumbnails
Sketch map.
As a kind of possible embodiment, the first display unit 501, it is additionally operable to for every kind of information type, display letter
The corresponding relation of the skin of the identification information type that breath type identifies with mark unit 502;
This device can also include:
Hidden unit 507, for when the hiding finger of the corresponding relation detected for hiding the first display unit 501 display
When making, perform this and hide instruction.
As a kind of possible embodiment, this device can also include:
Acquiring unit 508, for obtaining the translation mode that browser is arranged;
Translation unit 504, specifically for the translation mode obtained according to acquiring unit 508, shows the first display unit 501
Each window at least two window shown translates along the glide direction of slide.
As a kind of possible embodiment, this device can also include:
Sequencing unit 509, belongs to same information type at least two window shown by the first display unit 501
The adjacent display of window.
In the windows exchange device described by Fig. 6, display belongs to same browser and includes the layer of at least two window
Folded stereo window, is same skin by the window ID belonging to same information type at least two window, detects slide,
Each window at least two window is translated along the direction of operating of slide, it is seen then that by different information types
Skin that window ID is different the window stacking stereo display that will open, can reduce window seeking scope, can improve window
Mouth switch speed, such that it is able to improve the switching efficiency of window.
If described integrated unit realizes and as independent production marketing or use using the form of SFU software functional unit
Time, can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially
The part in other words prior art contributed, or this technical scheme completely or partially can be with the form of software product
Embodying, this computer software product is stored in a storage medium, including some instructions with so that one mobile whole
End equipment (can be smart mobile phone, server, or the network equipment etc.) performs the complete of method described in each embodiment of the present invention
Portion or part steps.And aforesaid storage medium includes: USB flash disk, portable hard drive, read only memory (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey
The medium of sequence code.
The windows switching method and the device that there is provided the embodiment of the present invention above are described in detail, used herein
Principle and the embodiment of the present invention are set forth by specific case, and the explanation of above example is only intended to help to understand this
The method of invention and core concept thereof;Simultaneously for one of ordinary skill in the art, according to the thought of the present invention, specifically
All will change on embodiment and range of application, in sum, this specification content should not be construed as the present invention's
Limit.