CN105843507A - Webpage switching method and terminal - Google Patents
Webpage switching method and terminal Download PDFInfo
- Publication number
- CN105843507A CN105843507A CN201610180360.3A CN201610180360A CN105843507A CN 105843507 A CN105843507 A CN 105843507A CN 201610180360 A CN201610180360 A CN 201610180360A CN 105843507 A CN105843507 A CN 105843507A
- Authority
- CN
- China
- Prior art keywords
- terminal
- user
- touch area
- edge touch
- operation information
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 36
- 238000001514 detection method Methods 0.000 claims description 32
- 230000005484 gravity Effects 0.000 description 6
- 210000003811 finger Anatomy 0.000 description 5
- 230000008859 change Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 210000004247 hand Anatomy 0.000 description 4
- 230000004044 response Effects 0.000 description 4
- 210000004936 left thumb Anatomy 0.000 description 2
- 210000004935 right thumb Anatomy 0.000 description 2
- 210000003813 thumb Anatomy 0.000 description 2
- 239000003990 capacitor Substances 0.000 description 1
- 239000013078 crystal Substances 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Human Computer Interaction (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the invention provides a webpage switching method and a terminal. The method comprises the following steps of: obtaining operation information of a user in an edge touch area of the terminal; and switching a webpage in a browser according to the operation information of the user in the edge touch area of the terminal, such that the user can switch the webpage through simple operation on the terminal. According to the webpage switching method and the terminal disclosed by the invention, the purpose of switching the webpage through one-hand operation of the user can be achieved; user operation is convenient; the operation cost of the user is reduced; the operation efficiency is increased; furthermore, because of switching operation, the user is unnecessary to re-load the webpage while wanting to re-switch to the original webpage; and thus, the time and the traffic are saved for the user.
Description
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and a terminal for switching web pages.
Background
When a user browses a web page by using a browser in a mobile phone, a plurality of web pages are often opened, and the user switches back to another web page that has been opened by using a return key or a mode of closing a current web page, specifically as shown in fig. 1, the web pages that have been opened are two web pages 1 and 2 in fig. 1, and the currently displayed web page is 2, and the user wants to use the web page 1 and needs to switch to the web page 1 by using the return key or the mode of closing the web page 2.
In the process of implementing the invention, the inventor finds that the prior art has at least the following problems:
with the increasing size of the mobile phone screen, the user needs both hands to complete the operation, which increases the operation cost and lowers the operation efficiency.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method and a terminal for switching a web page, so as to solve the problems in the prior art that as a mobile phone screen becomes larger and larger, a user needs to use both hands to complete the above operations, which increases the operation cost and reduces the operation efficiency.
To achieve the above object, in one aspect, an embodiment of the present invention provides a method for switching web pages, where the method includes:
acquiring operation information of a user in an edge touch area of the terminal;
and switching the web pages in the browser according to the operation information of the user in the edge touch area of the terminal.
The foregoing aspect and any possible implementation manner further provide an implementation manner, where switching a web page in a browser according to operation information of a user in an edge touch area of the terminal includes:
detecting whether the operation information is a designated operation of webpage switching;
and if the operation information is detected to be the designated operation of webpage switching, switching the webpage in the browser according to a preset webpage switching rule and the operation information.
The above aspect and any possible implementation manner further provide an implementation manner, before the obtaining operation information of the user in the edge touch area of the terminal, the method further includes:
detecting whether the terminal is in a horizontal screen state or a vertical screen state to obtain a detection result;
acquiring operation information of a user in an edge touch area of the terminal, wherein the operation information comprises:
and acquiring the operation information of the effective area of the user on the edge touch area of the terminal according to the detection result.
The above aspect and any possible implementation manner further provide an implementation manner, and when the screen display state is a vertical screen display, the method further includes: detecting the current handheld state of the user, wherein the handheld state comprises: a left-handed grip and a right-handed grip;
if the current holding state of the user is detected to be left-handed holding, the effective area is the edge touch area on the left side of the terminal in the vertical screen state;
and if the current holding state of the user is detected to be right-handed holding, the effective area is the edge touch area on the right side of the terminal in the vertical screen state.
In the aspect and any possible implementation manner described above, an implementation manner is further provided, where if the screen display state is a landscape screen display, the effective area is a touch area on an edge of any one of four sides of the terminal.
The above aspect and any possible implementation manner further provide an implementation manner, where the operation information of the user in the edge touch area of the terminal includes:
sliding operation of the user in an edge touch area of the terminal; or,
clicking operation of the user in an edge touch area of the terminal; or,
and the user presses the edge touch area of the terminal.
In the embodiment of the invention, the operation information of a user in the edge touch area of the terminal is acquired; and switching the web pages in the browser according to the operation information of the user in the edge touch area of the terminal. The invention can realize the purpose of webpage switching by single-hand operation of a user, facilitates the operation of the user, reduces the operation cost of the user, improves the operation efficiency, and does not need to reload the webpage when the user wants to switch to the original webpage again due to the switching operation, thereby saving the time and the flow for the user.
In order to achieve the above object, in another aspect, an embodiment of the present invention further provides a terminal, where the terminal includes:
the acquisition module is used for acquiring operation information of a user in an edge touch area of the terminal;
and the switching module is used for switching the webpage in the browser according to the operation information of the user in the edge touch area of the terminal, which is acquired by the acquisition module.
As for the above-mentioned aspect and any possible implementation manner, there is further provided an implementation manner, where the terminal further includes:
the first detection module is used for detecting whether the operation information is the designated operation of webpage switching;
the switching module is specifically configured to:
and if the operation information is detected to be the designated operation of webpage switching, switching the webpage in the browser according to a preset webpage switching rule and the operation information.
As for the above-mentioned aspect and any possible implementation manner, there is further provided an implementation manner, where the terminal further includes:
the second detection module is used for detecting whether the terminal is in a horizontal screen state or a vertical screen state before the acquisition module acquires the operation information of the user in the edge touch area of the terminal so as to acquire a detection result;
the acquisition module is specifically configured to:
and acquiring the operation information of the effective area of the user on the edge touch area of the terminal according to the detection result.
The above-mentioned aspect and any possible implementation manner further provide an implementation manner, where the detection module is further specifically configured to: when the screen display state is vertical screen display, detecting the current hand-held state of the user, wherein the hand-held state comprises: a left-handed grip and a right-handed grip;
if the current holding state of the user is detected to be left-handed holding, the effective area is the edge touch area on the left side of the terminal in the vertical screen state;
and if the current holding state of the user is detected to be right-handed holding, the effective area is the edge touch area on the right side of the terminal in the vertical screen state.
In the aspect and any possible implementation manner described above, an implementation manner is further provided, where if the screen display state is a landscape screen display, the effective area is a touch area on an edge of any one of four sides of the terminal.
The above aspect and any possible implementation manner further provide an implementation manner, where the operation information of the user in the edge touch area of the terminal includes:
sliding operation of the user in an edge touch area of the terminal; or,
clicking operation of the user in an edge touch area of the terminal; or,
and the user presses the edge touch area of the terminal.
In the embodiment of the invention, the operation information of a user in the edge touch area of the terminal is acquired through the acquisition module; and the switching module switches the webpage in the browser according to the operation information of the user in the edge touch area of the terminal, which is acquired by the acquisition module. The invention can realize the purpose of webpage switching by single-hand operation of a user, facilitates the operation of the user, reduces the operation cost of the user, improves the operation efficiency, and does not need to reload the webpage when the user wants to switch to the original webpage again due to the switching operation, thereby saving the time and the flow for the user.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 is a diagram illustrating a plurality of web pages in a browser according to the prior art;
FIG. 2 is a flowchart of a method for switching web pages according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a terminal in an embodiment of the present invention.
Detailed Description
For better understanding of the technical solutions of the present invention, the following detailed descriptions of the embodiments of the present invention are provided with reference to the accompanying drawings.
It should be understood that the described embodiments are only some embodiments of the invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terminology used in the embodiments of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the examples of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be understood that although the terms first and second may be used to describe the detection modules in the embodiments of the present invention, the detection modules should not be limited to these terms. These terms are only used to distinguish the detection modules from each other. For example, a first detection module may also be referred to as a second detection module, and similarly, a second detection module may also be referred to as a first detection module without departing from the scope of embodiments of the present invention.
The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination" or "in response to a detection", depending on the context. Similarly, the phrases "if determined" or "if detected (a stated condition or event)" may be interpreted as "when determined" or "in response to a determination" or "when detected (a stated condition or event)" or "in response to a detection (a stated condition or event)", depending on the context.
Example one
To avoid the problem of increased operation cost and low operation efficiency caused by the fact that a user needs to complete the operation of web page switching with both hands, an embodiment of the present invention provides a method for web page switching, and specifically, as shown in fig. 2, it is a schematic flow diagram of the method provided by the embodiment of the present invention, and the method may include the following steps:
step 201, obtaining operation information of a user in an edge touch area of the terminal.
It should be noted that the terminal according to the embodiments of the present invention may include, but is not limited to, a Personal Computer (PC), a Personal Digital Assistant (PDA), a wireless handheld device, a Tablet Computer (Tablet Computer), a mobile phone, an MP3 player, an MP4 player, and the like, and at least two web pages are opened on a browser of the terminal.
The edge touch provides touch input through the edge or the frame of the terminal, and the control of the mobile phone is realized by tracking the tap, the slide or the press of a finger on the edge of the terminal.
The edge touch area of the terminal can be an area which can be reached by the thumb of a user on the side surface of the terminal when the user naturally holds the terminal, and the side surface of the terminal is other four side surfaces except the front surface and the back surface.
In the embodiment of the invention, the edge touch area of the terminal can be realized by using a physical key, a virtual key, a sensor or a screen.
For example, if the terminal uses a curved screen, the edge touch area of the terminal may be implemented by using an edge screen of the curved screen. By taking a capacitive touch screen as an example for explanation, when a user touches the edge touch screen with a finger, the capacitance of the contact point changes, so that the frequency of an oscillator connected with the capacitance changes, the touch position can be determined by measuring the frequency change of the oscillator, and further, the operation information of the user in the edge touch area of the terminal can be acquired.
Alternatively, for another example, for a terminal that does not use a curved screen, the edge touch area thereof may be implemented by using a physical key, a virtual key, or a sensor. If a physical key for adjusting the volume exists on the edge of the terminal, the physical key for adjusting the volume in the terminal is taken as an example for explanation, when a user presses the physical key for adjusting the volume with a finger, the terminal can obtain whether the user presses the key for increasing the volume or the key for decreasing the volume, so that the operation information of the user in an edge touch area of the terminal is obtained; if a virtual key with a certain function exists on the edge of the terminal, taking the virtual key on the terminal as an example, and the virtual key is a capacitive virtual key, the terminal judges which virtual key the user touches through the capacitance of the capacitive virtual key, specifically, when the user touches the capacitive virtual key, a finger and an electrode plate in the capacitive virtual key form a capacitor, the terminal determines the position touched by the user through detecting the change of the capacitance, and then the terminal can determine which virtual key the user touches, and further can acquire the operation information of the user in the edge touch area of the terminal; if a sensor with a certain function exists on the edge of the terminal, taking the sensor on the terminal as an example, and the sensor is a pressure sensor, when a user presses the pressure sensor, semiconductor deformation pressure is formed on the surface of a sheet of the pressure sensor, the sheet is deformed by pressing to generate a piezoelectric impedance effect, so that the change of impedance is converted into an electric signal, and after the terminal obtains the electric signal, the pressing on which pressure sensor the user presses or the pressing on which position on the pressure sensor the user presses can be determined, so that the pressing on which pressure sensor with the function is performed by the user can be determined, and further, the operation information of the user in the edge touch area of the terminal can be acquired. Further, the sensor with certain function on the edge of the terminal can also be a light sensor.
Before obtaining operation information of a user in an edge touch area of the terminal, the method further includes:
and detecting whether the terminal is in a horizontal screen state or a vertical screen state to obtain a detection result.
Specifically, because the handheld mode of the terminal in the landscape screen state and the handheld mode of the terminal in the portrait screen state are different, and thus the operation modes are different, it is necessary to determine whether the terminal is in the landscape screen state or the portrait screen state, when it is determined that the terminal is in the landscape screen display or the portrait screen display, the determination may be made by the size of the width and height of the screen display image, when the width of the image is greater than the height, the determination may be made by the terminal as the landscape screen display, when the width of the image is less than the height, the determination may be made by the gyroscope, the gyroscope may accurately acquire the rotation and deflection actions of the terminal, the gyroscope determines whether the terminal is in the landscape screen or the portrait screen by measuring the rotation and deflection of the terminal, and of course, the determination may be made by the gravity sensor, when a gravity block changes direction due to gravity, the piezoelectric crystal below the gravity block receives the change of the resistance, therefore, the direction of gravity is judged, and whether the terminal is a horizontal screen or a vertical screen is determined according to the direction of gravity.
And the detection result is in a horizontal screen state or a vertical screen state.
Acquiring operation information of a user in an edge touch area of the terminal, wherein the operation information comprises:
and acquiring the operation information of the effective area of the user on the edge touch area of the terminal according to the detection result.
Specifically, the area that the user's finger can naturally reach when the terminal is in the horizontal screen state or the vertical screen state is different from the operation mode performed, so after the detection result is determined, the effective area on the edge touch area of the terminal device needs to be determined, and the purpose of webpage switching can be realized only through the operation in the effective area.
For example: if the terminal uses the curved screen, when the edge touch area of the terminal uses the edge screen of the curved screen to acquire the operation information of the user, the effective area of the edge screen is the edge area of the screen which can be clicked or contacted by the thumb of the user when the user naturally holds the terminal; if a physical key for adjusting the volume exists on the edge of the terminal, when the operation information of a user is acquired in the edge touch area of the terminal by using the physical key for adjusting the volume, the effective area is the physical key for adjusting the volume; if a virtual key with a certain function exists on the edge of the terminal, when the virtual key is used for acquiring the operation information of a user in the edge touch area of the terminal, the effective area is the area where the virtual key is located; if a sensor with a certain function exists on the edge of the terminal, when the sensor is used in the edge touch area of the terminal to acquire the operation information of the user, the effective area is the area where the sensor is located.
When the screen display state is vertical screen display, the method further comprises: detecting the current handheld state of the user, wherein the handheld state comprises: a left-handed grip and a right-handed grip.
Specifically, when the vertical screen displays, the user may be held by a left-handed object or a right-handed object, and in different holding states, the areas that the user can touch when performing one-handed operation are different, such as: when the current hand-held state of the user is that the user holds the terminal by the left hand, the user can flexibly use the left thumb, and the left edge touch area of the terminal can be touched by the left thumb; when the current holding state of the user is right-handed holding, the user can flexibly use the right thumb, and what the right thumb can touch is the right edge touch area of the terminal, so that it is required to detect whether the user is currently left-handed holding or right-handed holding.
The invention aims to determine the current hand-held state of a user, and therefore, the methods for detecting the current hand-held state of the user belong to the protection scope of the invention.
If the current holding state of the user is detected to be left-handed holding, the effective area is the edge touch area on the left side of the terminal in the vertical screen state;
and if the current holding state of the user is detected to be right-handed holding, the effective area is the edge touch area on the right side of the terminal in the vertical screen state.
Specifically, the edge touch areas that the user can touch when holding the left hand and the right hand are different, and therefore the effective areas for holding the left hand and the right hand are different.
And if the screen display state is horizontal screen display, the effective area is an edge touch area on any one of the four side surfaces of the terminal.
Specifically, when the screen display state is the horizontal screen display state, the state that the user holds the device is special at this time, the user can hold the device with both hands, at this time, the user can touch four sides of the device, all the four sides of the terminal device can be effective areas, but in order to avoid extra operation errors caused by redundant operation and extra webpage switching caused by misoperation, a side edge touch area in the four sides can be determined to be an effective area according to a preset effective area rule, and which side is specifically selected to be the effective area can be determined according to actual requirements.
The operation information of the user in the edge touch area of the terminal comprises:
sliding operation of the user in an edge touch area of the terminal; or,
clicking operation of the user in an edge touch area of the terminal; or,
and the user presses the edge touch area of the terminal.
Specifically, since the edge touch area may be a side surface of the terminal, a screen edge, or some physical keys, when the edge touch area is a side surface of the terminal or a screen edge, the user may slide or press the edge touch area up and down, and press the edge touch area for the number of times to switch the web page, for example: when the edge touch area is the side face of the terminal and the edge of the screen, and the edge touch area is divided into two partial areas, one partial area is switched to the previous webpage, and the other partial area is switched to the next webpage, wherein the previous webpage and the next webpage are determined according to the sequence of opening the webpages, for example: current browsers include: the method comprises the following steps of webpage 1, webpage 2, webpage 3 and webpage 4, and the sequence of arrangement is as follows: 1. the method comprises the following steps that web pages 1, 2, 3, 4 and 4 are provided, the current web page of a user is web page 2, the user wants to switch to web page 1 or web page 3, the edge touch area corresponding to the previous web page is switched to web page 1 by clicking once, the edge touch area corresponding to the next web page is switched to web page 2 by clicking once, if the user wants to switch to web page 4, the user can switch by clicking twice the corresponding edge touch areas, and the user can realize the purpose of web page switching by pressing one of the areas according to the own requirements; when the edge touch area is some entity keys of the terminal, the user can switch the web pages by clicking the entity keys, and the switching mode is consistent with the method, which is not described in detail herein.
Step 202, switching the web pages in the browser according to the operation information of the user in the edge touch area of the terminal.
Specifically, the user can switch the web page on the terminal by operating on the edge touch area of the terminal.
Switching the web pages in the browser according to the operation information of the user in the edge touch area of the terminal, which specifically comprises:
detecting whether the operation information is a designated operation of webpage switching;
and if the operation information is detected to be the designated operation of webpage switching, switching the webpage in the browser according to a preset webpage switching rule and the operation information.
Specifically, the specified operation of the web page switching is to determine whether the user's operation in the effective area can trigger the web page switching. If the specified operation of the web page switching is upward sliding and downward sliding in the effective area, after the terminal acquires the operation information, whether the operation is upward sliding or downward sliding is judged, and if the operation information is upward sliding or downward sliding, the device can determine how to switch the web page according to the sliding direction, such as: switching the current webpage 1 to the webpage 2, and switching according to a preset webpage switching rule when switching the webpage, wherein if the preset webpage switching rule is as follows: switching to the previous webpage when sliding upwards along the edge touch area; and switching to the next webpage when sliding downwards along the edge touch area, switching to the previous webpage if the acquired operation information is sliding upwards, and switching to the next webpage if the acquired operation information is sliding downwards. The specific preset webpage switching rule can be determined according to actual needs.
When the webpage is switched, if the operation is switched to the previous webpage, if the previous webpage does not exist, the switching is not performed, if the operation is switched to the next webpage, and if the next webpage does not exist, the switching is not performed.
The designated operation may include a pressing operation, a sliding operation, and a clicking operation, the operation information includes a pressed, clicked, or slid region, if the operation information is a pressed or clicked region, the operation information further includes the number of times of pressing or clicking, the preset web page switching rule may be switching according to the pressed, clicked, or slid region and according to a preset sequence of the web pages, or may be switching according to a preset correspondence between the number of times of clicking and the web pages, for example: the webpage 1 needs to be clicked or pressed for 1 time, the webpage 2 needs to be clicked or pressed for 2 times continuously, the webpage 3 needs to be clicked or pressed for 3 times, the webpage 4 needs to be clicked or pressed for 4 times continuously, and switching of different webpages is achieved through the number of times of continuous clicking; in the embodiment of the present invention, different web pages may also be corresponding to different areas, for example: the webpage 1 corresponds to the edge touch area 1, the webpage 2 corresponds to the edge touch area 2, the webpage 3 corresponds to the edge touch area 3, the webpage 4 corresponds to the edge touch area 4, and switching of the webpages is achieved by clicking different edge touch areas. The embodiment of the invention aims to realize the switching of the web pages according to the edge touch, so that all the web pages switched according to the edge touch and the switching rule belong to the protection scope of the embodiment of the invention.
After the switching is completed, the terminal can switch the webpage back to the original webpage according to the preset webpage switching rule and the operation information, and can also switch the webpage back to the original webpage according to the specific operation mode.
In the embodiment of the invention, the operation information of a user in the edge touch area of the terminal is acquired; and switching the webpage in the browser according to the acquired operation information of the user in the edge touch area of the terminal. The invention can realize the purpose of webpage switching by single-hand operation of a user, facilitates the operation of the user, reduces the operation cost of the user, improves the operation efficiency, and does not need to reload the webpage when the user wants to switch to the original webpage again due to the switching operation, thereby saving the time and the flow for the user.
Example two
An embodiment of the present invention further provides a terminal embodiment for implementing the steps and methods in the foregoing method embodiment, and as shown in fig. 3, the terminal embodiment is a functional block diagram of the terminal provided in the embodiment of the present invention, and the terminal includes:
an obtaining module 31, configured to obtain operation information of a user in an edge touch area of the terminal;
and the switching module 32 is configured to switch the web page in the browser according to the operation information of the user in the edge touch area of the terminal, which is acquired by the acquisition module.
The terminal further comprises:
the first detection module is used for detecting whether the operation information is the designated operation of webpage switching;
the switching module is specifically configured to:
and if the operation information is detected to be the designated operation of webpage switching, switching the webpage in the browser according to a preset webpage switching rule and the operation information.
The terminal further comprises:
the second detection module is used for detecting whether the terminal is in a horizontal screen state or a vertical screen state before the acquisition module acquires the operation information of the user in the edge touch area of the terminal so as to acquire a detection result;
the acquisition module is specifically configured to:
and acquiring the operation information of the effective area of the user on the edge touch area of the terminal according to the detection result.
The second detection module is further specifically configured to: when the screen display state is vertical screen display, detecting the current hand-held state of the user, wherein the hand-held state comprises: a left-handed grip and a right-handed grip;
if the current holding state of the user is detected to be left-handed holding, the effective area is the edge touch area on the left side of the terminal in the vertical screen state;
and if the current holding state of the user is detected to be right-handed holding, the effective area is the edge touch area on the right side of the terminal in the vertical screen state.
And if the screen display state is horizontal screen display, the effective area is an edge touch area on any one of the four side surfaces of the terminal.
The operation information of the user in the edge touch area of the terminal comprises:
sliding operation of the user in an edge touch area of the terminal; or,
clicking operation of the user in an edge touch area of the terminal; or,
and the user presses the edge touch area of the terminal.
Since each unit in the embodiment of the present invention can execute the method shown in fig. 1, reference may be made to the related description of fig. 1 for a part not described in detail in the embodiment of the present invention.
In the embodiment of the invention, the operation information of a user in the edge touch area of the terminal is acquired through the acquisition module; and the switching module switches the webpage in the browser according to the operation information of the user in the edge touch area of the terminal, which is acquired by the acquisition module. The invention can realize the purpose of webpage switching by single-hand operation of a user, facilitates the operation of the user, reduces the operation cost of the user, improves the operation efficiency, and does not need to reload the webpage when the user wants to switch to the original webpage again due to the switching operation, thereby saving the time and the flow for the user.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on at least two network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment of the present invention. One of ordinary skill in the art can understand and implement it without inventive effort.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.
Claims (12)
1. A method for switching web pages, the method comprising:
acquiring operation information of a user in an edge touch area of a terminal;
and switching the web pages in the browser according to the operation information of the user in the edge touch area of the terminal.
2. The method of claim 1, wherein switching the web page in the browser according to the operation information of the user in the edge touch area of the terminal comprises:
detecting whether the operation information is a designated operation of webpage switching;
and if the operation information is detected to be the designated operation of webpage switching, switching the webpage in the browser according to a preset webpage switching rule and the operation information.
3. The method of claim 1, wherein before the obtaining operation information of the user in the edge touch area of the terminal, the method further comprises:
detecting whether the terminal is in a horizontal screen state or a vertical screen state to obtain a detection result;
acquiring operation information of a user in an edge touch area of the terminal, wherein the operation information comprises:
and acquiring the operation information of the effective area of the user on the edge touch area of the terminal according to the detection result.
4. The method of claim 3, wherein when the screen display state is a portrait screen display, the method further comprises: detecting the current handheld state of the user, wherein the handheld state comprises: a left-handed grip and a right-handed grip;
if the current holding state of the user is detected to be left-handed holding, the effective area is the edge touch area on the left side of the terminal in the vertical screen state;
and if the current holding state of the user is detected to be right-handed holding, the effective area is the edge touch area on the right side of the terminal in the vertical screen state.
5. The method of claim 3, wherein if the screen display status is landscape screen display, the active area is a touch area at an edge of any one of four sides of the terminal.
6. The method of claim 1, wherein the operation information of the user in the edge touch area of the terminal comprises:
sliding operation of the user in an edge touch area of the terminal; or,
clicking operation of the user in an edge touch area of the terminal; or,
and the user presses the edge touch area of the terminal.
7. A terminal, characterized in that the terminal comprises:
the acquisition module is used for acquiring operation information of a user in an edge touch area of the terminal;
and the switching module is used for switching the webpage in the browser according to the operation information of the user in the edge touch area of the terminal, which is acquired by the acquisition module.
8. The terminal of claim 7, wherein the terminal further comprises:
the first detection module is used for detecting whether the operation information is the designated operation of webpage switching;
the switching module is specifically configured to:
and if the operation information is detected to be the designated operation of webpage switching, switching the webpage in the browser according to a preset webpage switching rule and the operation information.
9. The terminal of claim 7, wherein the terminal further comprises:
the second detection module is used for detecting whether the terminal is in a horizontal screen state or a vertical screen state before the acquisition module acquires the operation information of the user in the edge touch area of the terminal so as to acquire a detection result;
the acquisition module is specifically configured to:
and acquiring the operation information of the effective area of the user on the edge touch area of the terminal according to the detection result.
10. The terminal of claim 9, wherein the second detection module is further specifically configured to: when the screen display state is vertical screen display, detecting the current hand-held state of the user, wherein the hand-held state comprises: a left-handed grip and a right-handed grip;
if the current holding state of the user is detected to be left-handed holding, the effective area is the edge touch area on the left side of the terminal in the vertical screen state;
and if the current holding state of the user is detected to be right-handed holding, the effective area is the edge touch area on the right side of the terminal in the vertical screen state.
11. The terminal of claim 9, wherein if the screen display status is landscape screen display, the active area is a touch area at an edge of any one of four sides of the terminal.
12. The terminal of claim 7, wherein the operation information of the user in the edge touch area of the terminal comprises:
sliding operation of the user in an edge touch area of the terminal; or,
clicking operation of the user in an edge touch area of the terminal; or,
and the user presses the edge touch area of the terminal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610180360.3A CN105843507A (en) | 2016-03-25 | 2016-03-25 | Webpage switching method and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610180360.3A CN105843507A (en) | 2016-03-25 | 2016-03-25 | Webpage switching method and terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105843507A true CN105843507A (en) | 2016-08-10 |
Family
ID=56583589
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610180360.3A Pending CN105843507A (en) | 2016-03-25 | 2016-03-25 | Webpage switching method and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105843507A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106354414A (en) * | 2016-09-09 | 2017-01-25 | 惠州Tcl移动通信有限公司 | Webpage browsing method and system based on mobile terminal side edge pressure induction |
CN106445341A (en) * | 2016-09-23 | 2017-02-22 | 珠海市魅族科技有限公司 | Method and device for displaying page with information details |
CN106997308A (en) * | 2017-02-28 | 2017-08-01 | 珠海市魅族科技有限公司 | Target switching method and device |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103853493A (en) * | 2012-12-03 | 2014-06-11 | 三星电子株式会社 | Mobile terminal and information handling method for the same |
CN103885697A (en) * | 2012-12-20 | 2014-06-25 | 深圳富泰宏精密工业有限公司 | Page operating system and method |
CN104346093A (en) * | 2013-08-02 | 2015-02-11 | 腾讯科技(深圳)有限公司 | Touch screen interface gesture recognizing method, touch screen interface gesture recognizing device and mobile terminal |
CN104598157A (en) * | 2015-02-28 | 2015-05-06 | 联想(北京)有限公司 | Touch method and electronic equipment |
CN104991819A (en) * | 2015-05-27 | 2015-10-21 | 努比亚技术有限公司 | Terminal application switching method and apparatus |
CN105120160A (en) * | 2015-08-27 | 2015-12-02 | 努比亚技术有限公司 | Shooting device and shooting method |
-
2016
- 2016-03-25 CN CN201610180360.3A patent/CN105843507A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103853493A (en) * | 2012-12-03 | 2014-06-11 | 三星电子株式会社 | Mobile terminal and information handling method for the same |
CN103885697A (en) * | 2012-12-20 | 2014-06-25 | 深圳富泰宏精密工业有限公司 | Page operating system and method |
CN104346093A (en) * | 2013-08-02 | 2015-02-11 | 腾讯科技(深圳)有限公司 | Touch screen interface gesture recognizing method, touch screen interface gesture recognizing device and mobile terminal |
CN104598157A (en) * | 2015-02-28 | 2015-05-06 | 联想(北京)有限公司 | Touch method and electronic equipment |
CN104991819A (en) * | 2015-05-27 | 2015-10-21 | 努比亚技术有限公司 | Terminal application switching method and apparatus |
CN105120160A (en) * | 2015-08-27 | 2015-12-02 | 努比亚技术有限公司 | Shooting device and shooting method |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106354414A (en) * | 2016-09-09 | 2017-01-25 | 惠州Tcl移动通信有限公司 | Webpage browsing method and system based on mobile terminal side edge pressure induction |
CN106354414B (en) * | 2016-09-09 | 2020-05-08 | 惠州Tcl移动通信有限公司 | Webpage browsing method and system based on side pressure induction of mobile terminal |
CN106445341A (en) * | 2016-09-23 | 2017-02-22 | 珠海市魅族科技有限公司 | Method and device for displaying page with information details |
CN106997308A (en) * | 2017-02-28 | 2017-08-01 | 珠海市魅族科技有限公司 | Target switching method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105867813A (en) | Method for switching page and terminal | |
CN105867732A (en) | Method and terminal for display mode switching | |
CN105867810A (en) | Menu switching method and terminal | |
CN109428969B (en) | Edge touch method and device of double-screen terminal and computer readable storage medium | |
CN105892907A (en) | Use method of rolling screen capture, and terminal | |
CN105824535A (en) | Setting adjusting method and terminal | |
CN105843543A (en) | Function control method and terminal | |
CN105867654A (en) | Method for adjusting focal length of camera and terminal | |
CN101727261A (en) | Page operation method and electronic device | |
CN105867916A (en) | Terminal control method and device | |
CN105867816A (en) | Method for adjusting page and terminal | |
CN105892927A (en) | Mobile terminal control method and device | |
CN105912208A (en) | Method and apparatus for switching display interfaces | |
CN106657472A (en) | handheld terminal and control method thereof | |
CN105867684A (en) | Object controlling method and device | |
CN105824564A (en) | Method for using function of return key and terminal | |
CN105843507A (en) | Webpage switching method and terminal | |
CN105892909A (en) | Information checking method and terminal | |
CN105867809A (en) | Terminal control method and device | |
CN105824565A (en) | Terminal control method and terminal | |
CN105867814A (en) | Terminal unlocking method and terminal | |
CN105893125A (en) | Application switching method and terminal | |
CN105867786A (en) | Terminal control method and device | |
US20160070428A1 (en) | Method for Scrolling a Displayed Image in a Touch System | |
US10318131B2 (en) | Method for scaling down effective display area of screen, and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20160810 |