CN106776683A - A kind of browser window changing method and terminal - Google Patents

A kind of browser window changing method and terminal Download PDF

Info

Publication number
CN106776683A
CN106776683A CN201610972530.1A CN201610972530A CN106776683A CN 106776683 A CN106776683 A CN 106776683A CN 201610972530 A CN201610972530 A CN 201610972530A CN 106776683 A CN106776683 A CN 106776683A
Authority
CN
China
Prior art keywords
window
terminal screen
edge
terminal
currently
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610972530.1A
Other languages
Chinese (zh)
Inventor
何新求
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201610972530.1A priority Critical patent/CN106776683A/en
Publication of CN106776683A publication Critical patent/CN106776683A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Data Mining & Analysis (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a kind of browser window changing method and terminal, by detecting that user obtains edge gesture in the slide that terminal screen edge is carried out, further according to the edge gesture for obtaining and default windows exchange strategy, corresponding target window is extracted from window list, the windows exchange that will be shown on present terminal screen again is target window, allow that user directly carries out slide to complete the switching of target window at terminal screen edge, button without removing to click on corresponding toolbar, again target window is switched in the selection of corresponding sliding window list interface, such that it is able to accelerate the speed of windows exchange, save the windows exchange time, so as to further save the time of user, improve the satisfaction of Consumer's Experience.

Description

A kind of browser window changing method and terminal
Technical field
The present invention relates to communication technical field, more specifically to a kind of browser window changing method and terminal.
Background technology
Development and the fast growth of mobile Internet with smart mobile phone, browser become user and use smart mobile phone Indispensable application.Video can be played by browser, information and news is browsed, seen novel, social activity, transceiver electronicses postal Part, download application, even simple web game etc. can be completed by browser.
Current browser nearly all on the market all supports multiwindow, is easy to complete different functions in different windows, For example user can see video in window 1, and information is browsed in window 2, thus reach and see video and browse information and do not interfere with each other. All it is the window button by click tools column but the switching between current window is almost stereotyped, sliding window list, then Selection switches to target window, and the window list interface on terminal screen may refer to shown in Fig. 1, including window 11 and terminal 12, but which operation is cumbersome, also compares and loses time, by the time-consuming of the current switch window by this way of statistics About 3s, so being switching to major issue to be solved between how being rapidly completed browser window.
The content of the invention
The technical problem to be solved in the present invention is:When window to browser is switched over, since it is desired that click tools The window button on column, then sliding window list is to select to switch to target window, so as to cause the problem lost time, for this Technical problem, there is provided a kind of browser window changing method and terminal.
In order to solve the above technical problems, the present invention provides a kind of browser window changing method, including:
The slide that detection user is carried out at terminal screen edge, obtains edge gesture;
According to edge gesture and default windows exchange strategy, corresponding target window, window are extracted from window list Mouthful switchover policy includes the corresponding windows exchange rule of different edge gestures, browser is preserved in window list is currently at and beat Each window of open state;
The windows exchange that currently will be shown on a terminal screen is target window.
Wherein, detection user includes in the slide that terminal screen edge is carried out:
The slide that detection user is carried out in terminal screen left side edge and/or right side edge.
Wherein, windows exchange strategy is:
It is when edge gesture is to be operated from terminal screen left side edge or right side edge slide downward and current in terminal screen When there is at least one window after the window of upper display, then first after the window that currently will be shown on a terminal screen Window is used as target window;
And/or,
It is when edge gesture is to be operated from terminal screen left side edge or right side edge upward sliding and current in terminal screen When there is at least one window before the window of upper display, then first before the window that currently will be shown on a terminal screen Window is used as target window;
And/or,
It is when edge gesture is to be operated from terminal screen left side edge and right side edge slide downward and current in terminal screen When there is n window after the window of upper display, then i-th window after the window that currently will be shown on a terminal screen is made It is target window, the n>=2, described 1<i<=n, and n, i are positive integer;
And/or,
It is when edge gesture is to be operated from terminal screen left side edge and right side edge upward sliding and current in terminal screen J-th window before the window that currently will then be shown on a terminal screen when there is m window before the window of upper display is made It is target window, the m>=2, described 1<j<=m, and m, j are positive integer.
Wherein, the value of the i and the j is equal to 2;Or, the value of the i is equal to the n, the value of the j is equal to The m.
Wherein, the storage rule of each window for being currently at open mode of preservation is in window list:
Sequencing according to each window opening time is sequentially stored in the window list;
Or,
It is stored in successively in the window list according to the frequency size that each window shows on the terminal screen;
Or,
It is stored in successively in the window list according to the time length that each window shows on the terminal screen.
Further, present invention also offers a kind of terminal, including:
Window maintenance module, preserves browser and is currently at open mode for maintenance window list, in window list Window;
Gesture detection module, for detecting that user obtains edge gesture in the slide that terminal screen edge is carried out;
Matching module, for according to the edge gesture and default windows exchange strategy for obtaining, being carried from window list Corresponding target window is taken, windows exchange strategy includes the corresponding windows exchange rule of different edge gestures;
Handover module, the windows exchange for that currently will show on a terminal screen is target window.
Wherein, gesture detection module is used to detect the cunning that user is carried out in terminal screen left side edge and/or right side edge Dynamic operation.
Wherein, windows exchange strategy is:
It is when edge gesture is to be operated from terminal screen left side edge or right side edge slide downward and current in terminal screen When there is at least one window after the window of upper display, then first after the window that currently will be shown on a terminal screen Window is used as target window;
And/or,
It is when edge gesture is to be operated from terminal screen left side edge or right side edge upward sliding and current in terminal screen When there is at least one window before the window of upper display, then first before the window that currently will be shown on a terminal screen Window is used as target window;
And/or,
It is when edge gesture is to be operated from terminal screen left side edge and right side edge slide downward and current in terminal screen When there is n window after the window of upper display, then i-th window after the window that currently will be shown on a terminal screen is made It is target window, the n>=2, described 1<i<=n, and n, i are positive integer;
And/or,
It is when edge gesture is to be operated from terminal screen left side edge and right side edge upward sliding and current in terminal screen J-th window before the window that currently will then be shown on a terminal screen when there is m window before the window of upper display is made It is target window, the m>=2, described 1<j<=m, and m, j are positive integer.
Wherein, the value of the i and the j is equal to 2;Or, the value of the i is equal to the n, the value of the j is equal to The m.
Wherein, the window maintenance module is used for maintenance window list, and the browser preserved in the window list is current The storage rule of the window in open mode is:
Sequencing according to each window opening time is sequentially stored in the window list;
Or,
It is stored in successively in the window list according to the frequency size that each window shows on the terminal screen;
Or,
It is stored in successively in the window list according to the time length that each window shows on the terminal screen.
Beneficial effect
Browser window changing method proposed by the invention and terminal, according to the edge gesture for obtaining and default window Mouth switchover policy, extracts corresponding target window, then be by the windows exchange shown on present terminal screen from window list Target window so that user directly can carry out slide to complete the switching of target window at terminal screen edge, without Needs go to click on the button of corresponding toolbar, then switch to target window in the selection of corresponding sliding window list interface, from And the speed of windows exchange can be accelerated, the time switched between each window of browser is reduced to 1S by original 3S Within, the time of user is further saved, improve the satisfaction of Consumer's Experience.
Brief description of the drawings
Below in conjunction with drawings and Examples, the invention will be further described, in accompanying drawing:
Fig. 1 is the window list interface schematic diagram on terminal screen in the present invention;
Fig. 2 is the hardware architecture diagram for realizing the optional mobile terminal of each embodiment one of the invention.
Fig. 3 is the schematic flow sheet of browser window changing method in the embodiment of the present invention one;
Fig. 4 is that the interface schematic diagram of rectangular coordinate system is set up based on terminal screen in the embodiment of the present invention two;
Fig. 5 is the first interface schematic diagram of windows exchange on terminal screen in the embodiment of the present invention two;
Fig. 6 is the second contact surface schematic diagram of windows exchange on terminal screen in the embodiment of the present invention two;
Fig. 7 is the 3rd interface schematic diagram of windows exchange on terminal screen in the embodiment of the present invention two;
Fig. 8 is the 4th interface schematic diagram of windows exchange on terminal screen in the embodiment of the present invention two;
Fig. 9 is the schematic flow sheet of browser window changing method in the embodiment of the present invention two;
Figure 10 is the structural representation of terminal in the embodiment of the present invention three.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The mobile terminal of each embodiment of the invention is realized referring now to Description of Drawings.In follow-up description, use For represent element such as " module ", " part " or " unit " suffix only for being conducive to explanation of the invention, itself Not specific meaning.Therefore, " module " can be used mixedly with " part ".
Mobile terminal can be implemented in a variety of manners.For example, the terminal described in the present invention can include such as moving Phone, smart phone, notebook computer, digit broadcasting receiver, PDA (personal digital assistant), PAD (panel computer), PMP The mobile terminal of (portable media player), guider etc. and such as numeral TV, desktop computer etc. are consolidated Determine terminal.Hereinafter it is assumed that terminal is mobile terminal, however, it will be understood by those skilled in the art that, except being used in particular for movement Outside the element of purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Fig. 2 is the hardware architecture diagram for realizing the optional mobile terminal of each embodiment one of the invention.
Mobile terminal 200 can include wireless communication unit 220, A/V (audio/video) input block 220, user input Unit 230, sensing unit 240, output unit 250, memory 260, interface unit 270, controller 280 and power subsystem 290 Etc..Fig. 2 shows the mobile terminal with various assemblies, it should be understood that being not required for implementing all groups for showing Part, can alternatively implement more or less component, and the element of mobile terminal will be discussed in more detail below.
Wireless communication unit 220 generally includes one or more assemblies, and it allows mobile terminal 200 and wireless communication system Or the radio communication between network.For example, wireless communication unit can include broadcasting reception module, mobile communication module, nothing At least one of line the Internet module, short range communication module and location information module.
A/V input blocks 220 are used to receive audio or video signal.A/V input blocks 220 can include the He of camera 221 Microphone 222, the static images that 221 pairs, camera is obtained in Video Capture pattern or image capture mode by image capture apparatus Or the view data of video is processed.Picture frame after treatment may be displayed on display module 251.Processed through camera 221 Picture frame afterwards can be stored in memory 160 (or other storage mediums) or sent out via wireless communication unit 210 Send, two or more cameras 221 can be provided according to the construction of mobile terminal.Microphone 222 can be in telephone calling model, note Sound (voice data) is received via microphone in record pattern, speech recognition mode etc. operational mode, and can be by so Acoustic processing be voice data.Audio (voice) data after treatment can be converted in the case of telephone calling model can The form for being sent to mobile communication base station via mobile communication module is exported.Microphone 222 can implement various types of noises (or suppression) algorithm is eliminated to eliminate noise or the interference that (or suppression) produces during reception and transmission audio signal.
User input unit 230 can generate key input data to control each of mobile terminal according to the order of user input Plant slide.User input unit 230 allow the various types of information of user input, and can include keyboard, metal dome, Touch pad (for example, detection due to being touched caused by resistance, pressure, electric capacity etc. change sensitive component), roller, shake Bar etc..Especially, when touch pad is superimposed upon on display module 251 in the form of layer, touch-screen can be formed, user can be with Operated with various gestures on the touchscreen, for example, user can be slided on the touch platen edge of terminal in the present invention Dynamic operation.
Sensing unit 240 detects the current state of mobile terminal 200, (for example, mobile terminal 200 opens or closes shape State), the presence or absence of the contact (that is, touch input) of the position of mobile terminal 200, user for mobile terminal 200, mobile terminal The acceleration or deceleration movement of 200 orientation, mobile terminal 200 and direction etc., and generate for controlling mobile terminal 200 The order of slide or signal.For example, when mobile terminal 200 is embodied as sliding-type mobile phone, sensing unit 240 can be with The sliding-type phone is sensed to open or close.In addition, sensing unit 240 can detect whether power subsystem 290 provides electricity Whether power or interface unit 270 couple with external device (ED).Sensing unit 240 can include proximity transducer 241.
Interface unit 270 is connected the interface that can pass through with mobile terminal 200 as at least one external device (ED).For example, External device (ED) can include wired or wireless head-band earphone port, external power source (or battery charger) port, wired or nothing Line FPDP, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Identification module can be that storage uses each of mobile terminal 200 for verifying user Kind of information and subscriber identification module (UIM), client identification module (SIM), Universal Subscriber identification module (USIM) can be included Etc..In addition, the device (hereinafter referred to as " identifying device ") with identification module can take the form of smart card, therefore, know Other device can be connected via port or other attachment means with mobile terminal 200.Interface unit 270 can be used for reception and come from The input (for example, data message, electric power etc.) of the external device (ED) and input that will be received is transferred in mobile terminal 200 One or more elements can be used for transmitting data between mobile terminal and external device (ED).
In addition, when mobile terminal 200 is connected with external base, interface unit 270 can serve as allowing by it by electricity Power provides to the path of mobile terminal 200 from base or can serve as allowing the various command signals being input into from base to pass through it It is transferred to the path of mobile terminal.Be can serve as recognizing that mobile terminal is from the various command signals or electric power of base input The no signal being accurately fitted within base.Output unit 250 is configured to provide defeated with vision, audio and/or tactile manner Go out signal (for example, audio signal, vision signal, alarm signal, vibration signal etc.).
Output unit 250 can include display module 251, dio Output Modules 252, alarm modules 253 etc..
Display module 251 may be displayed on the information processed in mobile terminal 200.For example, when mobile terminal 200 is in electricity During words call mode, display module 251 can show and converse or other communicate (for example, text messaging, multimedia file Download etc.) related user interface (UI) or graphic user interface (GUI).When mobile terminal 200 is in video calling pattern Or during image capture mode, display module 251 can show the image of capture and/or the image of reception, show video or figure UI or GUI of picture and correlation function etc..
Meanwhile, when display module 251 and touch pad in the form of layer it is superposed on one another to form touch-screen when, display module 251 can serve as input unit and output device.Display module 251 can include liquid crystal display (LCD), thin film transistor (TFT) In LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc. at least It is a kind of.Some in these displays may be constructed such that transparence to allow user to be watched from outside, and this is properly termed as transparent Display, typical transparent display can be, for example, TOLED (transparent organic light emitting diode) display etc..According to specific Desired implementation method, mobile terminal 200 can include two or more display modules (or other display devices), for example, moving Dynamic terminal can include outside display module (not shown) and internal display module (not shown).Touch-screen can be used to detect touch Input pressure and touch input position and touch input area.
Dio Output Modules 252 can mobile terminal be in call signal reception pattern, call mode, logging mode, It is that wireless communication unit 210 is received or in memory 260 when under the isotypes such as speech recognition mode, broadcast reception mode The voice data transducing audio signal of middle storage and it is output as sound.And, dio Output Modules 252 can be provided and movement The audio output (for example, call signal receives sound, message sink sound etc.) of the specific function correlation that terminal 200 is performed. Dio Output Modules 252 can include loudspeaker, buzzer etc..
Alarm modules 253 can provide output and be notified to mobile terminal 200 with by event.Typical event can be with Including calling reception, message sink, key signals input, touch input etc..In addition to audio or video is exported, alarm modules 253 can in a different manner provide output with the generation of notification event.For example, alarm modules 253 can be in the form of vibrating Output is provided, when calling, message or some other entrance communication (incoming communication) are received, alarm mould Block 253 can provide tactile output (that is, vibrating) to notify to user.Exported by providing such tactile, even if When in pocket of the mobile phone of user in user, user also can recognize that the generation of various events.Alarm modules 253 The output of the generation of notification event can be provided via display module 251 or dio Output Modules 252.
Memory 260 can store software program for the treatment and control slide performed by controller 280 etc., or Person can temporarily store oneself data (for example, telephone directory, message, still image, video etc.) through exporting or will export. And, memory 260 can store vibration and the audio signal of the various modes on being exported when touching and being applied to touch-screen Data.
Memory 260 can include the storage medium of at least one type, and the storage medium includes flash memory, hard disk, many Media card, card-type memory (for example, SD or DX memories etc.), random access storage device (RAM), static random-access storage Device (SRAM), read-only storage (ROM), Electrically Erasable Read Only Memory (EEPROM), programmable read only memory (PROM), magnetic storage, disk, CD etc..And, mobile terminal 200 can perform memory with by network connection The network storage device cooperation of 260 store function.
The overall slide of the generally control mobile terminal of controller 280.For example, controller 280 perform with voice call, Data communication, video calling etc. related control and treatment.In addition, controller 280 can be included for reproducing (or playback) The multi-media module 281 of multi-medium data, multi-media module 281 can be constructed in controller 280, or can be structured as with Controller 280 is separated.Controller 280 can with execution pattern identifying processing, the handwriting input that will be performed on the touchscreen or Picture draws input and is identified as character or image.
Power subsystem 290 receives external power or internal power under the control of controller 280 and provides slide Appropriate electric power needed for each element and component.
Various implementation methods described herein can be with use such as computer software, hardware or its any combination of calculating Machine computer-readable recording medium is implemented.Implement for hardware, implementation method described herein can be by using application-specific IC (ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), scene can Programming gate array (FPGA), processor, controller, microcontroller, microprocessor, it is designed to perform function described herein At least one in electronic unit is implemented, and in some cases, such implementation method can be implemented in controller 280. For software implementation, the implementation method of such as process or function can be with the list for allowing to perform at least one function or slide Only software module is implemented.Software code can be by software application (or the journey write with any appropriate programming language Sequence) to implement, software code can store in memory 260 and be performed by controller 280.
Based on above-mentioned mobile terminal hardware configuration, browser window changing method of the invention and terminal are proposed.
It is described in detail below by way of specific embodiment.
Embodiment one
For the speed for accelerating mutually to switch between browser window, the time of user, first embodiment of the invention are saved A kind of browser window changing method for providing, it is shown in Figure 3, including:
S301:Detection user obtains edge gesture in the slide that terminal screen edge is carried out.
It should be appreciated that the terminal screen edge in the present embodiment includes any side in terminal screen upper and lower, left and right Edge, but for the use habit of the user that fits, often select terminal screen arranged on left and right sides edge, namely detection user to exist The slide that terminal screen edge is carried out includes the slide that detection user is carried out at terminal screen arranged on left and right sides edge, But in some cases, it is also possible to the slide of selection detection terminal screen upper edge, because the lower side of terminal screen Edge often has function key, so the general slide for not selecting to detect terminal screen lower edge, specifically, can basis Specific application scenarios and user's use habit set the fringe region of detection.It should be noted that the end in the present embodiment End includes various mobile terminals, for example, can be smart mobile phone, panel computer, intelligent watch etc..
S302:According to the edge gesture for obtaining and default windows exchange strategy, extract corresponding from window list Target window.
Windows exchange strategy includes the corresponding windows exchange rule of different edge gestures, and browser is preserved in window list It is currently at each window of open mode.Edge gesture has corresponding relation with default windows exchange strategy, when detecting use Family is after the slide that terminal screen edge is carried out obtains edge gesture just according to edge gesture and preset window switchover policy Corresponding relation, corresponding target window is extracted from window list by corresponding windows exchange strategy.Wherein, edge gesture Corresponding relation with windows exchange strategy can flexibly be set by developer, it is also possible to support that User Defined is set.
S303:The windows exchange that currently will be shown on a terminal screen is target window.
In the present embodiment, when the slide that user is carried out at terminal screen arranged on left and right sides edge is detected, windows exchange Strategy at least includes at least one in following windows exchange rule:
Edge gesture is from terminal screen edge side slide downward, and after the current window for showing on a terminal screen During in the presence of at least one window, first window after the window that currently will be shown on a terminal screen is used as target window;
Edge gesture is from terminal screen edge side upward sliding, and before the current window for showing on a terminal screen During in the presence of at least one window, first window before the window that currently will be shown on a terminal screen is used as target window;
Edge gesture is from terminal screen both sides of edges slide downward, and after the current window for showing on a terminal screen When there is n window, i-th window after the window that currently will be shown on a terminal screen is used as target window, n>=2,1 <i<=n, and n, i are positive integer;
Edge gesture is from terminal screen both sides of edges upward sliding, and before the current window for showing on a terminal screen When there is m window, j-th window before the window that currently will be shown on a terminal screen is used as target window, m>=2,1 <j<=m, and m, j are positive integer.
It should be appreciated that above-mentioned terminal screen edge side can be left side edge, or the end of terminal screen Hold the right side edge of screen.For example, the windows exchange strategy in the present embodiment can include following switching laws:
Edge gesture is from terminal screen left side edge slide downward, and after the current window for showing on a terminal screen During in the presence of at least one window, first window after the window that currently will be shown on a terminal screen is used as target window; Edge gesture is exist at least from terminal screen left side edge upward sliding, and before the current window for showing on a terminal screen During one window, first window before the window that currently will be shown on a terminal screen is used as target window;Edge gesture Be from terminal screen both sides of edges slide downward, and when there is n window after the current window for showing on a terminal screen, general I-th window after the current window for showing on a terminal screen as target window, wherein, n>=2,1<i<=n;Edge Gesture is there is m window from terminal screen both sides of edges upward sliding, and before the current window for showing on a terminal screen When, j-th window before the window that currently will be shown on a terminal screen as target window, wherein, m>=2,1<j<= m。
If specifically, for example, the current window for showing on a terminal screen is the 3rd window (abbreviation window 3), working as edge When gesture is terminal screen both sides of edges slide downward, if n is 4, represent after window 3 there are 4 windows, then i can take 2, Any one in 3,4, when i takes 3, namely represent after the window (window 3) that currently will be shown on a terminal screen the 3rd Individual window is used as target window;There are 2 windows before edge gesture is terminal screen both sides of edges upward sliding, window 3, Namely m is 2, then j can only take 2, namely represent the 2nd window before the window (window 3) that currently will be shown on a terminal screen Mouth is used as target window.
Above-mentioned windows exchange strategy is when edge gesture is from terminal screen edge slide downward, by current in end panel Window after the window shown on curtain, when edge gesture is from terminal screen edge upward sliding, is incited somebody to action as target window Window before the current window for showing on a terminal screen is used as target window.In addition it is also necessary to explanation, the present embodiment In windows exchange control strategy can also be when edge gesture is from terminal screen edge slide downward, will be current in terminal On screen show window before window as target window, when edge gesture is from terminal screen edge upward sliding, Window after the window that currently will be shown on a terminal screen is used as target window.
Specifically, for example, when the slide that user is carried out at terminal screen arranged on left and right sides edge is detected, window is cut Changing strategy can be:Edge gesture is and the current window for showing on a terminal screen from terminal screen edge side slide downward When there is at least one window before mouthful, first window before the window that currently will be shown on a terminal screen is used as target Window;Edge gesture is to be deposited from terminal screen edge side upward sliding, and after the current window for showing on a terminal screen In at least one window, first window after the window that currently will be shown on a terminal screen is used as target window;Side Edge gesture is there is n window from terminal screen both sides of edges slide downward, and before the current window for showing on a terminal screen Mouthful when, i-th window before the window that currently will be shown on a terminal screen is used as target window, n>=2,1<i<=n;Side Edge gesture is there is m window from terminal screen both sides of edges upward sliding, and after the current window for showing on a terminal screen Mouthful when, j-th window after the window that currently will be shown on a terminal screen is used as target window, m>=2,1<j<=m.
Additionally, in the present embodiment, when the slide that user is carried out at terminal screen arranged on left and right sides edge is detected, Windows exchange strategy can also at least include at least one in following windows exchange rule:
Edge gesture is from terminal screen edge right side slide downward, and after the current window for showing on a terminal screen During in the presence of at least one window, first window after the window that currently will be shown on a terminal screen is used as target window;
Edge gesture is from terminal screen edge right side upward sliding, and before the current window for showing on a terminal screen During in the presence of at least one window, first window before the window that currently will be shown on a terminal screen is used as target window;
Edge gesture is from terminal screen edge left side slide downward, and after the current window for showing on a terminal screen When there is n window, i-th window after the window that currently will be shown on a terminal screen is used as target window, n>=2,1 <i<=n;
Edge gesture is from terminal screen edge left side upward sliding, and before the current window for showing on a terminal screen When there is m window, j-th window before the window that currently will be shown on a terminal screen is used as target window, m>=2,1 <j<=m.
I, j, m, n can take arbitrary value in the case where above-mentioned condition requirement is met, in order to more conform to the use of user Custom, allows user to use more convenient, and the value of i and j can be 2, or the value of i is equal to n, and the value of j is equal to m.
Illustrated by taking a kind of specific windows exchange strategy as an example, it is when the value of i and j is 2 and current in end panel When the window number existed after the window shown on curtain is more than or equal to 2, if edge gesture is downward from terminal screen both sides of edges Slide, then the 2nd window after the window that currently will be shown on a terminal screen is used as target window;When the value of i is equal to When the value of n, j is equal to m, if edge gesture is from terminal screen both sides of edges slide downward, will currently on a terminal screen Last window after the window of display is used as target window.
Because the slide of user's lateral edges on a terminal screen can be detected, so, when detection user is in end panel So as to obtain during edge gesture, windows exchange strategy can be included in following windows exchange rule the slide of curtain upper edge At least one:
Edge gesture is to be slided to the right from terminal screen upper edge, and after the current window for showing on a terminal screen During in the presence of at least one window, first window after the window that currently will be shown on a terminal screen is used as target window;
Edge gesture is to be slided to the left from terminal screen upper edge, and before the current window for showing on a terminal screen During in the presence of at least one window, first window before the window that currently will be shown on a terminal screen is used as target window.
Or can also be including at least one in following windows exchange rule:
Edge gesture is to be slided to the right from terminal screen upper edge, and after the current window for showing on a terminal screen When there is n window, i-th window after the window that currently will be shown on a terminal screen is used as target window, n>=2,1 <i<=n;
Edge gesture is to be slided to the left from terminal screen upper edge, and before the current window for showing on a terminal screen When there is m window, j-th window before the window that currently will be shown on a terminal screen is used as target window, m>=2,1 <j<=m.
In addition it is also necessary to explanation, the browser of preservation is currently at open mode in window list in the present embodiment Each window storage rule for being be:
Sequencing according to each window opening time is sequentially stored in the window list;Or existed according to each window The frequency size shown on the terminal screen is stored in the window list successively;Or according to each window in terminal screen The time length of upper display is stored in window list successively.
According to the browser window changing method that the present embodiment is provided, user directly can be slided at terminal screen edge It is dynamic to operate to complete the switching of browser window, without opening sliding window list by clicking on the button of corresponding toolbar Interface reselection switches to target window, such that it is able to lift the speed that user switches browser window, further saves use The time at family.
Embodiment two
In order to be better understood from the present invention, the present embodiment provides a kind of specific browser window changing method, applies On mobile terminal, including:Detection user obtains edge gesture in the slide that terminal screen edge is carried out;According to the side for obtaining Edge gesture and default windows exchange strategy, extract corresponding target window from window list;Will be current in terminal screen The windows exchange of upper display is target window.It should be noted that browser is saved in window list in the present embodiment working as Preceding each window in open mode, wherein, each window is that the frequency size shown on a terminal screen according to it is carried out successively Preserve.
In the present embodiment, it is to detect the slide that user is carried out at terminal screen edge, wherein, windows exchange strategy For:Edge gesture is exist from slide downward on the right side of terminal screen edge, and after the current window for showing on a terminal screen During at least one window, first window after the window that currently will be shown on a terminal screen is used as target window;Edge Gesture is have at least one from upward sliding on the right side of terminal screen edge, and before the current window for showing on a terminal screen During window, first window before the window that currently will be shown on a terminal screen is used as target window;Edge gesture be from Window number after terminal screen both sides of edges slide downward, and the window shown on the present terminal screen is more than or equal to 2 When, the 2nd window after the window that currently will be shown on a terminal screen is used as target window;Edge gesture is from end panel When window number before curtain both sides of edges upward sliding, and the window shown on present terminal screen is more than or equal to 2, ought The 2nd window before the preceding window for showing on a terminal screen is used as target window.
The browser control method in the present embodiment is specifically described below.
Slide of the detection user at terminal screen arranged on left and right sides edge obtains edge gesture, specifically can be under The mode of stating carries out detection judgement:
For example, can be detected by system on Touch (touch) event, and on can be based in the present embodiment With terminal screen boundary, (border where X-axis in Fig. 4, another border relative with the border is then for Touch event establishments It is terminal screen downside border) (border where Y-axis in Fig. 4, another border relative with the border is then with left border Terminal screen right side boundary) intersection point be the two-dimensional Cartesian coordinate system of origin, it is shown in Figure 4, wherein from origin terminal Direction where screen boundary is the positive direction of the X-axis of rectangular coordinate system, from origin terminal screen left border institute Direction for rectangular coordinate system Y-axis positive direction.It should be noted that above-mentioned rectangular coordinate system can be in terminal screen Arbitrarily set up on position.It is Move (movement) when event type is detected if mobile terminal is by system on Touch events, And the absolute value of the difference of the X values and terminal screen width of touch event is in certain threshold range, while Y value is reducing always When, then can consider user from terminal screen right side edge upward sliding;If likewise, mobile terminal passes through system on Touch events, when detecting touch event type for Move, and the absolute value of the difference of the X values and terminal screen width of event exists In certain threshold range, while when Y value is increasing always, then it is considered that user is from terminal screen right side edge to downslide Dynamic, wherein X values are vertical range of the finger to Y-axis, and Y value is vertical range of the finger to X-axis.If mobile terminal passes through system On Touch events, when detecting event type for Move, and touch point event statistics function event.getPointerCount:The value of () is 2, that is to say there are two touch points on present terminal screen, that is to say two Individual touch event, while the X of one of event1The absolute value of the difference of value and terminal screen width is in certain threshold range It is interior, its Y2Value reducing always, and another event X2It is worth in certain threshold range, its Y2Value is reducing always, then may be used To think user from terminal screen both sides of edges upward sliding;Likewise, if mobile terminal is by system onTouch events, When detecting event type for Move, and touch point event statistics function event.getPointerCount:The value of () is 2, While the X of one of event1Value and terminal screen width difference absolute value in certain threshold range, its Y2Value is always Increase, and another event X2It is worth in certain threshold range, its Y2Value increase always, then can consider user from Terminal screen both sides of edges slide downward, wherein X1Value, X2It is worth the vertical range to Y-axis, Y for finger1Value, Y2It is finger to X to be worth The vertical range of axle.
In order to judge the quantity of the window existed before and after the window shown on terminal screen, can be to window in the present embodiment Each window for the browser preserved in list sets a corresponding index value, and index value is illustrated where the window of preservation The order of position.If that is, the index value of current window is d, then it represents that before the current window for showing on a terminal screen There is d-1 window, if saving e window altogether, the index value of last window is just e in window list.If for example, 6 windows are saved in window list altogether, and the index value of the current window for showing on a terminal screen is 3, then it represents that when There are 2 windows before the preceding window for showing on a terminal screen, and window behind the window shown on present terminal screen Index value be followed successively by 4,5,6.
So in the present embodiment, if mobile terminal detects user in terminal screen right side edge upward sliding, will Judge whether at least there is 1 window before the current window for showing on a terminal screen, if specifically, current in terminal screen The index value of the window of upper display is more than or equal to 1, then it is assumed that at least have 1 before the current window for showing on a terminal screen Window.If mobile terminal detects user in terminal screen right side edge slide downward, will judge currently on a terminal screen Whether at least there is 1 window behind the window of display, if specifically, the index value of the current window for showing on a terminal screen Subtract 1 less than current window number, then it is assumed that at least 1 window behind the current window for showing on a terminal screen.If mobile whole End detects user in terminal screen both sides of edges upward sliding, will judge before the current window for showing on a terminal screen Whether 2 windows at least be present, if specifically, the index value of the current window for showing on a terminal screen is recognized more than or equal to 2 At least to there are 2 windows before the window that currently shows on a terminal screen.If mobile terminal detects user in end panel Whether curtain both sides of edges slide downward, will judge at least there are 2 windows behind the window for currently showing on a terminal screen, If specifically, the index value of the current window for showing on a terminal screen subtracts 2 less than current window number, then it is assumed that current in terminal At least there are 2 windows behind the window shown on screen.
In order to the browser control method provided the present embodiment is described in detail, it is assumed that the current window of browser Mouth number is 6, A windows, B windows, C windows, D windows, E windows, F windows is followed successively by from top to bottom, and assume present terminal screen Window D is shown on curtain:
If detecting user in terminal screen right side edge upward sliding, the window shown on terminal screen is by window D Window C is switched to, specifically be may refer to shown in Fig. 5;
If detecting user in terminal screen right side edge slide downward, the window shown on terminal screen is by window D Window E is switched to, it is shown in Figure 6;
If detecting user in terminal screen both sides of edges upward sliding, the window shown on terminal screen is by window D Window B is switched to, specifically be may refer to shown in Fig. 7;
If detecting user in terminal screen both sides of edges slide downward, the window shown on terminal screen is by window D Window F is switched to, specifically be may refer to shown in Fig. 8.
Below to user in terminal screen right side edge upward sliding, the window shown on terminal screen is switched by window D Shown in Figure 9 for the flow of window C is illustrated, remaining flow is by that analogy.
S901:Detect user's right side edge upward sliding on a terminal screen.
S902:Determine at least there is a window before current window D.
S903:The edge gesture obtained according to detection and default windows exchange strategy, exit window is extracted from window list Window C before mouth D.
S904:Window D is switched into window C.
According to the browser window changing method that the present embodiment is provided, the speed that user switches browser window can be lifted Degree, further saves the time of user, and then improve the satisfaction of Consumer's Experience.
The browser window changing method in the embodiment of the present invention is described above, below to the embodiment of the present invention In terminal be described.
Embodiment three
The present embodiment provides a kind of terminal 1000, shown in Figure 10, including:Window maintenance module 1001, gestures detection Module 1002, matching module 1003 and handover module 1004, wherein, window maintenance module 1001 is used for maintenance window list, window The window that browser is currently at open mode is preserved in mouth list;Gesture detection module 1002 is used to detect user in end panel The slide that curtain edge is carried out obtains edge gesture;Matching module 1003 is used for according to the edge gesture that obtains and default Windows exchange strategy, extracts corresponding target window from window list, and windows exchange strategy includes different edge gestures correspondence Windows exchange rule;The windows exchange that handover module 1004 is used to currently to show on a terminal screen is target window, its In, edge gesture has corresponding relation with default windows exchange strategy, when gesture detection module detects user in end panel After the slide that curtain edge is carried out obtains edge gesture, matching module is just according to edge gesture and preset window switchover policy Corresponding relation, corresponding target window is extracted by corresponding windows exchange strategy from window list.Wherein, edge gesture and The corresponding relation of windows exchange strategy can flexibly be set by developer.
It should be noted that window maintenance module 1001, gesture detection module 1002, matching module in the present embodiment 1003 and the function of handover module 1004 can be realized by the processor in terminal or controller, realize above-mentioned each module work( The code of energy can be stored in memory and performed by processor or controller.
It should be appreciated that the terminal screen edge in the present embodiment includes any side in terminal screen upper and lower, left and right Edge, but for the use habit of the user that fits, often select terminal screen arranged on left and right sides edge, namely detection user to exist The slide that terminal screen edge is carried out includes the slide that detection user is carried out at terminal screen arranged on left and right sides edge, But in some cases, it is also possible to the slide of selection detection terminal screen upper edge, because the lower side of terminal screen Edge often has function key, so the general slide for not selecting to detect terminal screen lower edge, specifically, can basis Specific application scenarios and user's use habit set the fringe region of detection.It should be noted that the end in the present embodiment End includes various mobile terminals, for example, can be smart mobile phone, panel computer, intelligent watch etc..
In the present embodiment, the slip that the detection user of gesture detection module 1002 is carried out at terminal screen arranged on left and right sides edge During operation, windows exchange strategy at least includes at least one in following windows exchange rule:
Edge gesture is from terminal screen edge side slide downward, and after the current window for showing on a terminal screen During in the presence of at least one window, first window after the window that currently will be shown on a terminal screen is used as target window;
Edge gesture is from terminal screen edge side upward sliding, and before the current window for showing on a terminal screen During in the presence of at least one window, first window before the window that currently will be shown on a terminal screen is used as target window;
Edge gesture is from terminal screen both sides of edges slide downward, and after the current window for showing on a terminal screen When there is n window, i-th window after the window that currently will be shown on a terminal screen is used as target window, n>=2,1 <i<=n;
Edge gesture is from terminal screen both sides of edges upward sliding, and before the current window for showing on a terminal screen When there is m window, j-th window before the window that currently will be shown on a terminal screen is used as target window, m>=2,1 <j<=m.
In the present embodiment, the slip that the detection user of gesture detection module 1002 is carried out at terminal screen arranged on left and right sides edge During operation, windows exchange strategy can also at least include at least one in following windows exchange rule:
Edge gesture is from terminal screen edge right side slide downward, and after the current window for showing on a terminal screen During in the presence of at least one window, first window after the window that currently will be shown on a terminal screen is used as target window;
Edge gesture is from terminal screen edge right side upward sliding, and before the current window for showing on a terminal screen During in the presence of at least one window, first window before the window that currently will be shown on a terminal screen is used as target window;
Edge gesture is from terminal screen edge left side slide downward, and after the current window for showing on a terminal screen When there is n window, i-th window after the window that currently will be shown on a terminal screen is used as target window, n>=2,1 <i<=n;
Edge gesture is from terminal screen edge left side upward sliding, and before the current window for showing on a terminal screen When there is m window, j-th window before the window that currently will be shown on a terminal screen is used as target window, m>=2,1 <j<=m.
Above-mentioned windows exchange control strategy is when edge gesture is from terminal screen edge slide downward, by current at end The window after the window shown on screen is held as target window, when edge gesture is from terminal screen edge upward sliding When, window before the window that currently will be shown on a terminal screen is used as target window.In addition it is also necessary to explanation, this Windows exchange control strategy in embodiment can also be when edge gesture is from terminal screen edge slide downward, by currently Window before the window for showing on a terminal screen as target window, when edge gesture is to be slid up from terminal screen edge When dynamic, window after the window that currently will be shown on a terminal screen is used as target window.
However, it should be understood that i, j, m, n can take arbitrary value in the case where above-mentioned condition requirement is met, but it is The use habit of user is more conformed to, allows user using more convenient, the value of i and j can be 2, or the value of i is equal to n, The value of j is equal to m.
When gesture detection module 1002 detects user's slide of lateral edges on a terminal screen, preset window switching Control strategy can also include at least one in following windows exchange rule:
Edge gesture is to be slided to the right from terminal screen upper edge, and after the current window for showing on a terminal screen During in the presence of at least one window, first window after the window that currently will be shown on a terminal screen is used as target window;
Edge gesture is to be slided to the left from terminal screen upper edge, and before the current window for showing on a terminal screen During in the presence of at least one window, first window before the window that currently will be shown on a terminal screen is used as target window.
Or can also be including at least one in following windows exchange rule:
Edge gesture is to be slided to the right from terminal screen upper edge, and after the current window for showing on a terminal screen When there is n window, i-th window after the window that currently will be shown on a terminal screen is used as target window, n>=2,1 <i<=n;
Edge gesture is to be slided to the left from terminal screen upper edge, and before the current window for showing on a terminal screen When there is m window, j-th window before the window that currently will be shown on a terminal screen is used as target window, m>=2,1 <j<=m.
Furthermore, it is necessary to illustrate, the window maintenance module 1001 in the present embodiment can be used for being opened according to each window Be stored in each window in window list successively by the sequencing of time;
Or, for the frequency size that is shown on a terminal screen according to each window for being currently at open mode by each window Mouth is stored in window list successively;
Or, for the time length that is shown on a terminal screen according to each window for being currently at open mode by each window Mouth is stored in window list successively.
The terminal provided by the present embodiment, can improve the speed mutually switched between each window of browser, enter one Step can save the time of user, and easy to operate, user is obtained more preferable experience sense.
Example IV
In order to be better understood from the present invention, a kind of more specific terminal is present embodiments provided, including:
Window maintenance module, preserves browser and is currently at open mode for maintenance window list, in window list Window;
Gesture detection module, for detecting that user obtains edge gesture in the slide that terminal screen edge is carried out;
Matching module, for according to the edge gesture and default windows exchange strategy for obtaining, being carried from window list Corresponding target window is taken, windows exchange strategy includes the corresponding windows exchange rule of different edge gestures;
Handover module, the windows exchange for that currently will show on a terminal screen is target window.
Furthermore, it is necessary to explanation, window maintenance module, gesture detection module, matching module in the present embodiment and cut The function of changing the mold block can realize the code of above-mentioned each functions of modules by the processor on mobile terminal or controller realization Can store in memory and be performed by processor or controller.
In the present embodiment, gesture detection module is used to detect the slip that user is carried out in the left and right both sides of edges of terminal screen Operation obtains edge gesture.Wherein, default windows exchange strategy is:Edge gesture is from terminal screen edge right side to downslide It is dynamic, and when there is at least one window after the current window for showing on a terminal screen, currently will show on a terminal screen Window after first window as target window;Edge gesture be from terminal screen edge right side upward sliding, and work as Before the preceding window for showing on a terminal screen exist at least one window when, the window that currently will be shown on a terminal screen it First preceding window is used as target window;Edge gesture is from terminal screen edge left side slide downward and current in terminal When there is n window after the window shown on screen, n-th window after the window that currently will be shown on a terminal screen As target window, wherein, n>=2;Edge gesture is from terminal screen edge left side upward sliding and current in terminal screen When there is m window before the window of upper display, m-th window before the window that currently will be shown on a terminal screen as Target window, wherein, m>=2.
The slide at gesture detection module detection user terminal screen arranged on left and right sides edge obtains edge gesture, specifically Detection judgement can be carried out by following manner:
By system onTouch events, when event type is Move, and set up with terminal screen boundary and left side The intersection point on boundary is the two-dimensional Cartesian coordinate system of origin, wherein the direction from where origin terminal screen boundary is right angle The positive direction of the X-axis of coordinate system, direction from where origin terminal screen left border for rectangular coordinate system Y-axis just During direction, if the absolute value of the difference of the X values of event and terminal screen width is in certain threshold range, while Y value is always When reducing, then user from terminal screen right side edge upward sliding is can consider;If the X values and terminal screen width of event Difference absolute value in certain threshold range, while when Y value is increasing always, then it is considered that user is right from terminal screen Lateral edges slide downward, wherein X values are vertical range of the finger to Y-axis, and Y value is vertical range of the finger to X-axis.If event.getPointerCount:() is 2, that is to say there are two touch points on present terminal screen, that is to say that two are touched Event is touched, in certain threshold range, its Y value is reducing the X values of simultaneous events always, then can consider user from end panel Curtain left side edge upward sliding;If event.getPointerCount:() is 2, and the X values of simultaneous events are in certain threshold value In the range of, its Y value is increasing always, then can consider user from terminal screen edge left side slide downward, wherein X1Value, X2Value It is the vertical range of finger to Y-axis, Y1Value, Y2It is worth the vertical range to X-axis for finger.
In order to judge the quantity of the window existed before and after the window shown on terminal screen, can be to window in the present embodiment Each window for the browser preserved in list sets a corresponding index value, and index value is illustrated where the window of preservation The order of position.
So in the present embodiment, if mobile terminal detects user in terminal screen right side edge upward sliding, will Judge whether at least there is 1 window before the current window for showing on a terminal screen, if specifically, current in terminal screen The index value of the window of upper display is more than or equal to 1, then it is assumed that at least have 1 before the current window for showing on a terminal screen Window.If mobile terminal detects user in terminal screen right side edge slide downward, will judge currently on a terminal screen Whether at least there is 1 window behind the window of display, if specifically, the index value of the current window for showing on a terminal screen Subtract 1 less than current window number, then it is assumed that at least 1 window behind the current window for showing on a terminal screen.If mobile whole End detects user and is slided in terminal screen left side edge, will judge be before the current window for showing on a terminal screen It is no at least to there are 2 windows, if specifically, the index value of the current window for showing on a terminal screen is more than or equal to 2, then it is assumed that At least there are 2 windows before the current window for showing on a terminal screen.If mobile terminal detects user in terminal screen Whether right side edge slide downward, will judge at least there are 2 windows, tool behind the window for currently showing on a terminal screen Body, if the index value of the current window for showing on a terminal screen subtracts 2 less than current window number, then it is assumed that current in end panel At least there are 2 windows behind the window shown on curtain.
The terminal provided by the present embodiment, can improve browser window switching rate, save cutting for browser window Change the time.
It should be noted that herein, term " including ", "comprising" or its any other variant be intended to non-row His property is included, so that process, method, article or device including a series of key elements not only include those key elements, and And also include other key elements being not expressly set out, or also include for this process, method, article or device institute are intrinsic Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this Also there is other identical element in the process of key element, method, article or device.
The embodiments of the present invention are for illustration only, and the quality of embodiment is not represented.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably implementation method.Based on such understanding, technical scheme is substantially done to prior art in other words The part for going out contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions are used to so that a station terminal equipment (can be mobile phone, computer, clothes Business device, air-conditioner, or network equipment etc.) perform method described in each embodiment of the invention.
Embodiments of the invention are described above in conjunction with accompanying drawing, but the invention is not limited in above-mentioned specific Implementation method, above-mentioned specific embodiment is only schematical, rather than restricted, one of ordinary skill in the art Under enlightenment of the invention, in the case of present inventive concept and scope of the claimed protection is not departed from, can also make a lot Form, these are belonged within protection of the invention.

Claims (10)

1. a kind of browser window changing method, it is characterised in that including:
The slide that detection user is carried out at terminal screen edge, obtains edge gesture;
According to the edge gesture and default windows exchange strategy, corresponding target window, institute are extracted from window list Stating windows exchange strategy includes the corresponding windows exchange rule of different edge gestures, browser is preserved in the window list and is worked as Preceding each window in open mode;
The windows exchange that currently will be shown on the terminal screen is the target window.
2. the method for claim 1, it is characterised in that the slip behaviour that the detection user is carried out at terminal screen edge Work includes:
The slide that detection user is carried out in the terminal screen left side edge and/or right side edge.
3. method as claimed in claim 2, it is characterised in that the windows exchange strategy is:
It is when the edge gesture is to be operated from terminal screen left side edge or right side edge slide downward and current in the terminal When there is at least one window after the window shown on screen, then after the window that currently will be shown on a terminal screen the One window is used as target window;
And/or,
It is when the edge gesture is to be operated from terminal screen left side edge or right side edge upward sliding and current in terminal screen When there is at least one window before the window of upper display, then first before the window that currently will be shown on a terminal screen Window is used as target window;
And/or,
It is when the edge gesture is to be operated from terminal screen left side edge and right side edge slide downward and current in terminal screen When there is n window after the window of upper display, then i-th window after the window that currently will be shown on a terminal screen is made It is target window, the n>=2, described 1<i<=n, and n, i are positive integer;
And/or,
It is when the edge gesture is to be operated from terminal screen left side edge and right side edge upward sliding and current in terminal screen J-th window before the window that currently will then be shown on a terminal screen when there is m window before the window of upper display is made It is target window, the m>=2, described 1<j<=m, and m, j are positive integer.
4. method as claimed in claim 3, it is characterised in that the value of the i and the j is equal to 2;
Or,
The value of the i is equal to the n, and the value of the j is equal to the m.
5. the method as described in claim any one of 1-4, it is characterised in that being currently at for being preserved in the window list is beaten The storage rule of each window of open state is:
Sequencing according to each window opening time is sequentially stored in the window list;
Or,
It is stored in successively in the window list according to the frequency size that each window shows on the terminal screen;
Or,
It is stored in successively in the window list according to the time length that each window shows on the terminal screen.
6. a kind of terminal, it is characterised in that including:
Window maintenance module, preserves browser and is currently at open mode for maintenance window list, in the window list Window;
Gesture detection module, for detecting that user obtains edge gesture in the slide that terminal screen edge is carried out;
Matching module, for according to the edge gesture and default windows exchange strategy for obtaining, from the window list Middle to extract corresponding target window, the windows exchange strategy includes the corresponding windows exchange rule of different edge gestures;
Handover module, the windows exchange for that currently will be shown on the terminal screen is the target window.
7. terminal as claimed in claim 6, it is characterised in that the gesture detection module is used to detect user in the terminal The slide that screen left side edge and/or right side edge are carried out.
8. terminal as claimed in claim 7, it is characterised in that the windows exchange strategy is:
It is when the edge gesture is to be operated from terminal screen left side edge or right side edge slide downward and current in the terminal When there is at least one window after the window shown on screen, then after the window that currently will be shown on a terminal screen the One window is used as target window;
And/or,
It is when the edge gesture is to be operated from terminal screen left side edge or right side edge upward sliding and current in terminal screen When there is at least one window before the window of upper display, then first before the window that currently will be shown on a terminal screen Window is used as target window;
And/or,
It is when the edge gesture is to be operated from terminal screen left side edge and right side edge slide downward and current in terminal screen When there is n window after the window of upper display, then i-th window after the window that currently will be shown on a terminal screen is made It is target window, the n>=2, described 1<i<=n, and n, i are positive integer;
And/or,
It is when the edge gesture is to be operated from terminal screen left side edge and right side edge upward sliding and current in terminal screen J-th window before the window that currently will then be shown on a terminal screen when there is m window before the window of upper display is made It is target window, the m>=2, described 1<j<=m, and m, j are positive integer.
9. terminal as claimed in claim 8, it is characterised in that the value of the i and the j is equal to 2;
Or,
The value of the i is equal to the n, and the value of the j is equal to the m.
10. the terminal as described in claim any one of 6-9, it is characterised in that the window maintenance module is used for maintenance window List, the storage rule of the window that the browser of preservation is currently at open mode is in the window list:
Sequencing according to each window opening time is sequentially stored in the window list;
Or,
It is stored in successively in the window list according to the frequency size that each window shows on the terminal screen;
Or,
It is stored in successively in the window list according to the time length that each window shows on the terminal screen.
CN201610972530.1A 2016-10-28 2016-10-28 A kind of browser window changing method and terminal Pending CN106776683A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610972530.1A CN106776683A (en) 2016-10-28 2016-10-28 A kind of browser window changing method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610972530.1A CN106776683A (en) 2016-10-28 2016-10-28 A kind of browser window changing method and terminal

Publications (1)

Publication Number Publication Date
CN106776683A true CN106776683A (en) 2017-05-31

Family

ID=58972488

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610972530.1A Pending CN106776683A (en) 2016-10-28 2016-10-28 A kind of browser window changing method and terminal

Country Status (1)

Country Link
CN (1) CN106776683A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107368250A (en) * 2017-06-22 2017-11-21 深圳市爱培科技术股份有限公司 A kind of screen edge slip detecting method, storage medium and device
CN109151179A (en) * 2018-07-27 2019-01-04 珠海格力电器股份有限公司 A kind of page switching method and intelligent terminal of intelligent terminal
CN112416281A (en) * 2020-11-20 2021-02-26 上海合合信息科技股份有限公司 Screen projection method and device based on voice recognition

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103995660A (en) * 2013-02-20 2014-08-20 腾讯科技(深圳)有限公司 Window switching method and device for touch screen browser
CN105224159A (en) * 2014-05-28 2016-01-06 腾讯科技(深圳)有限公司 The method of display window, device and terminal
US20160044088A1 (en) * 2011-03-03 2016-02-11 Citrix Systems, Inc. Reverse Seamless Integration Between Local and Remote Computing Environments
CN105867813A (en) * 2016-03-25 2016-08-17 乐视控股(北京)有限公司 Method for switching page and terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160044088A1 (en) * 2011-03-03 2016-02-11 Citrix Systems, Inc. Reverse Seamless Integration Between Local and Remote Computing Environments
CN103995660A (en) * 2013-02-20 2014-08-20 腾讯科技(深圳)有限公司 Window switching method and device for touch screen browser
CN105224159A (en) * 2014-05-28 2016-01-06 腾讯科技(深圳)有限公司 The method of display window, device and terminal
CN105867813A (en) * 2016-03-25 2016-08-17 乐视控股(北京)有限公司 Method for switching page and terminal

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107368250A (en) * 2017-06-22 2017-11-21 深圳市爱培科技术股份有限公司 A kind of screen edge slip detecting method, storage medium and device
CN109151179A (en) * 2018-07-27 2019-01-04 珠海格力电器股份有限公司 A kind of page switching method and intelligent terminal of intelligent terminal
CN112416281A (en) * 2020-11-20 2021-02-26 上海合合信息科技股份有限公司 Screen projection method and device based on voice recognition

Similar Documents

Publication Publication Date Title
US9167059B2 (en) Mobile terminal and control method thereof
US11675442B2 (en) Image processing method and flexible-screen terminal
CN107896279A (en) Screenshotss processing method, device and the mobile terminal of a kind of mobile terminal
CN107943390B (en) Character copying method and mobile terminal
WO2020238449A1 (en) Notification message processing method and terminal
WO2021083092A1 (en) Notification message processing method and apparatus, and electronic device and storage medium
CN108184070A (en) A kind of image pickup method and terminal
CN105830351A (en) Mobile terminal and method of controlling the same
CN109525710B (en) Method and device for accessing application program
CN103823618A (en) Mobile terminal and control method thereof
CN108763540B (en) File browsing method and terminal
CN111610904B (en) Icon arrangement method, electronic device and storage medium
CN111045591A (en) Display method of virtual keyboard and electronic equipment
CN109753202B (en) Screen capturing method and mobile terminal
CN107704630A (en) File operation method, mobile terminal and storage medium
CN107958161A (en) A kind of multitask display methods and mobile terminal
CN106527928A (en) Screen capturing control device and method and intelligent terminal
CN106802808A (en) Suspension button control method and device
CN107526493A (en) A kind of small tool display methods, equipment and computer-readable recording medium
CN106843642A (en) The exchange method and mobile terminal of a kind of mobile terminal
CN107704190A (en) Gesture identification method, device, terminal and storage medium
CN107016273A (en) A kind of method of fingerprint recognition, device and terminal
CN106878509A (en) A kind of control method of mobile terminal, mobile terminal and storage medium
CN106293464A (en) Mobile terminal and gesture processing method
CN106776683A (en) A kind of browser window changing method and terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170531

RJ01 Rejection of invention patent application after publication