CN109739593B - Multi-webpage switching browsing method, mobile terminal and computer readable storage medium - Google Patents
Multi-webpage switching browsing method, mobile terminal and computer readable storage medium Download PDFInfo
- Publication number
- CN109739593B CN109739593B CN201811389828.5A CN201811389828A CN109739593B CN 109739593 B CN109739593 B CN 109739593B CN 201811389828 A CN201811389828 A CN 201811389828A CN 109739593 B CN109739593 B CN 109739593B
- Authority
- CN
- China
- Prior art keywords
- pulse signal
- switching
- switched
- user
- webpage
- 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.)
- Active
Links
Images
Landscapes
- Telephone Function (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a multi-webpage switching browsing method applied to a mobile terminal, the mobile terminal and a computer readable storage medium, wherein the method comprises the following steps: sequentially opening a plurality of webpages and sequentially acquiring pulse signals corresponding to the webpages, wherein each webpage uniquely corresponds to one pulse signal, and the acquired pulse signals are sequentially increased or decreased along with the sequence of opening the webpages; acquiring a current browsing webpage corresponding to the current pulse signal; acquiring a pulse signal to be switched corresponding to the switching action of a user; the absolute difference value between the pulse signal to be switched and the current pulse signal is minimum; acquiring a webpage to be browsed corresponding to the pulse signal to be switched; and switching the current pulse signal to the pulse signal to be switched, so that the current browsed webpage is switched to the webpage to be browsed. The invention discloses a multi-webpage switching browsing method, a mobile terminal and a computer readable storage medium, and aims to realize quick switching among a plurality of opened webpages and improve user experience.
Description
Technical Field
The invention relates to the technical field of mobile terminals, in particular to a multi-webpage switching browsing method applied to a mobile terminal, the mobile terminal and a computer readable storage medium.
Background
Currently, when a user browses a webpage on a mobile terminal, the user usually clicks a title in a directory interface, and the mobile terminal loads a link and opens webpage content matched with the clicked title for browsing and reading; when a user needs to browse other webpages, the user needs to quit the current webpage, return to a directory interface, select a new title to click and load for browsing, so that the user cannot switch and quickly browse a plurality of webpages to be browsed, and only can use the traditional opening-closing-opening-closing mode, thereby greatly prolonging the browsing time and influencing the user experience; and sometimes, there is a misoperation by the user, for example, when the current webpage is browsed, the current webpage is closed carelessly, the user needs to search the original corresponding title again through the directory interface and reload and open the webpage, or search a link under the corresponding title in the history browsing record and open the link to realize browsing again, such browsing process is not only complicated and has long response time, which greatly affects the user experience.
Disclosure of Invention
In order to solve the problems in the prior art, the invention provides a multi-webpage switching browsing method applied to a mobile terminal, the mobile terminal and a computer readable storage medium, so as to realize quick switching among a plurality of opened webpages and improve user experience.
In order to achieve the purpose of the invention, the invention adopts the following technical scheme:
in one general aspect, the present invention provides a multi-web page switching browsing method applied to a mobile terminal, the method including:
sequentially opening a plurality of webpages and sequentially collecting pulse signals corresponding to the webpages, wherein each webpage uniquely corresponds to one pulse signal, and the collected pulse signals are sequentially increased or decreased along with the sequence of opening the webpages;
acquiring a current browsing webpage corresponding to the current pulse signal;
acquiring a pulse signal to be switched corresponding to the switching action of a user; wherein, the absolute difference value between the pulse signal to be switched and the current pulse signal is minimum;
acquiring a webpage to be browsed corresponding to the pulse signal to be switched;
and switching the current pulse signal to a pulse signal to be switched, so that the current browsed webpage is switched to the webpage to be browsed.
Preferably, the handover action includes a down handover and an up handover.
Preferably, when the collected plurality of pulse signals sequentially increase with the sequence of opening the web page, acquiring the pulse signal to be switched corresponding to the switching action of the user includes:
acquiring a current pulse signal;
if the switching action is down switching, acquiring a minimum pulse signal larger than the current pulse signal as a pulse signal to be switched;
and if the switching action is up switching, acquiring the maximum pulse signal smaller than the current pulse signal as the pulse signal to be switched.
Preferably, before acquiring the pulse signal to be switched, the method further comprises:
judging whether the current pulse signal is the maximum or minimum pulse signal;
if the current signal is the maximum pulse signal and the switching action is down switching, the current pulse signal is a pulse signal to be switched; or
And if the current signal is the minimum pulse signal and the switching action is up switching, the current pulse signal is a pulse signal to be switched.
Preferably, when the collected multiple pulse signals are sequentially decreased with the sequence of opening the web page, acquiring the pulse signal to be switched corresponding to the switching action of the user includes:
Acquiring a current pulse signal;
if the switching action is down switching, acquiring a pulse signal smaller than the maximum pulse signal in the current pulse signal as a pulse signal to be switched;
and if the switching action is up switching, acquiring the minimum pulse signal larger than the current pulse signal as a pulse signal to be switched.
Preferably, before acquiring the pulse signal to be switched, the method further comprises:
judging whether the current pulse signal is the maximum or minimum pulse signal;
if the current signal is the minimum pulse signal and the switching action is down switching, the current pulse signal is a pulse signal to be switched; or
And if the current signal is the maximum pulse signal and the switching action is up switching, the current pulse signal is a pulse signal to be switched.
Preferably, the method for determining that the switching action of the user is an up-switching/down-switching comprises:
capturing a touch path of a user and positioning a starting point of the path;
establishing a virtual Cartesian coordinate system by taking the starting point as a center origin and the width and the length of a touch interface of the mobile terminal as a horizontal axis and a vertical axis respectively;
judging the position of the extending direction of the touch path of the user in the virtual Cartesian coordinates;
If the extending direction of the touch path of the user is located in a second quadrant or a fourth quadrant of the coordinate, judging that the switching action of the user is down-switching; and if the switching action of the user is located in the first quadrant or the fourth quadrant in the coordinate, judging that the switching action of the user is up-switching.
Preferably, if the extending direction of the touch path of the user is located on the horizontal axis between the second quadrant and the fourth quadrant, it is determined that the switching action of the user is down-switching; if the switching action of the user is positioned on the horizontal axis between the first quadrant and the fourth quadrant, judging that the switching action of the user is up-switching;
if the extending direction of the touch path of the user is located on the longitudinal axis between the first quadrant and the second quadrant, judging that the switching action of the user is up-switching; and if the switching action of the user is positioned on the vertical axis between the third quadrant and the fourth quadrant, judging that the switching action of the user is down switching.
In another general aspect, the present invention also provides a mobile terminal including: the multi-web page switching browsing program comprises a memory, a processor and a multi-web page switching browsing program which is stored on the memory and can run on the processor, wherein the multi-web page switching browsing program realizes the following steps when being executed by the processor:
Sequentially opening a plurality of webpages and sequentially collecting pulse signals corresponding to the webpages, wherein each webpage uniquely corresponds to one pulse signal, and the collected pulse signals are sequentially increased or decreased progressively along with the sequence of opening the webpages;
acquiring a current browsing webpage corresponding to the current pulse signal;
acquiring a pulse signal to be switched corresponding to the switching action of a user; wherein, the absolute difference value between the pulse signal to be switched and the current pulse signal is minimum;
acquiring a webpage to be browsed corresponding to the pulse signal to be switched;
and switching the current pulse signal to a pulse signal to be switched, so that the current browsed webpage is switched to the webpage to be browsed.
In yet another general aspect, the present invention also provides a computer readable storage medium, on which a multi-page switching browsing program is stored, which when executed by a processor implements the steps of the multi-page switching browsing method applied to a mobile terminal as described in any one of the above.
According to the multi-webpage switching browsing method, the mobile terminal and the computer readable storage medium, pulse signals of the webpages are respectively collected in the process that a user opens the plurality of webpages, and the webpages are virtually connected according to the pulse signals; after receiving the signals to be switched, the current pulse signals and the pulse signals to be switched are positioned, and the current browsing webpages corresponding to the signals to be switched are switched to the webpages to be browsed respectively, so that the switching browsing among the webpages is realized, the browsing process of a plurality of webpages is simplified, the power consumption of a user for checking the webpages is saved, and the user experience is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a block diagram of a mobile terminal according to a first exemplary embodiment of the present invention;
FIG. 2 is a block diagram of a multi-page switching browsing system according to a second exemplary embodiment of the present invention;
fig. 3 is a flowchart of a multi-web page switching browsing method according to a third exemplary embodiment of the present invention;
FIG. 4 is a diagram illustrating exemplary connections between multiple web pages and pulse signals.
Detailed Description
Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings. This invention may, however, be embodied in many different forms and should not be construed as limited to the specific embodiments set forth herein. Rather, these embodiments are provided to explain the principles of the invention and its practical application to thereby enable others skilled in the art to understand the invention for various embodiments and with various modifications as are suited to the particular use contemplated.
It should be understood that the specific embodiments described herein are merely illustrative of the invention and do not limit the invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
Example one
Fig. 1 is a block diagram of a mobile terminal according to an exemplary embodiment of the present invention.
Referring to fig. 1, an embodiment of the invention provides a mobile terminal 100. The mobile terminal 100 includes a memory 110, a processor 120, and a multi-web page switching browsing system 130.
The mobile terminal 100 may be a human-mounted device such as a mobile phone or a tablet computer, or a vehicle-mounted device carried by a vehicle, or an airborne device carried by a machine device, for example, a device carried by a mobile robot or a device carried by a flying robot.
The memory 110 includes at least one type of readable storage medium for storing an operating system and various types of application software installed in the mobile terminal 100, such as program codes of the multi-web page switching browsing system 130. In addition, the memory 110 may also be used to temporarily store various types of data that have been output or are to be output.
The processor 120 may be referred to as a Central Processing Unit (CPU), a controller, a microcontroller, a microprocessor, or other data Processing chip in some embodiments. The processor 120 generally serves to control the overall operation of the mobile terminal 100. In this embodiment, the processor 120 is configured to run the program codes stored in the memory 110 or process data, such as running the multi-web page switching browsing system.
Those skilled in the art will appreciate that the configuration shown in fig. 1 is not intended to be limiting of the mobile terminal 100, and that the mobile terminal 100 may include other necessary components, or some components may be combined, or a different arrangement of components.
Example two
Fig. 2 is a schematic block diagram of a multi-web switching browsing system according to a second exemplary embodiment of the present invention.
As shown in fig. 2, a second embodiment of the invention provides a multi-web page switching browsing system. Specifically, the multi-web page switching browsing system includes:
the pulse signal acquisition module 131 is configured to sequentially acquire pulse signals corresponding to the webpages when the plurality of webpages are sequentially opened, where each webpage uniquely corresponds to one pulse signal, and the acquired pulse signals sequentially increase or decrease with the sequence of opening the webpages.
Specifically, the pulse signal acquiring module 131 includes a pulse signal acquiring unit 1311 and a virtual connecting unit 1312. The pulse signal acquisition unit 1311 is configured to acquire pulse signals of opened web pages when a plurality of web pages are opened in sequence. The virtual connection unit 1312 is configured to virtually connect the web pages according to the acquired pulse signals, and the virtual connection enables one acquired pulse signal to uniquely correspond to one web page.
The multi-web page switching browsing of the embodiment of the invention is established by that a user opens a plurality of web pages in sequence in advance and then switches and browses the opened web pages, and the difference is that in the process of opening the web pages in advance by the user, the mobile terminal generates periodic electric signals, and when one web page is opened, the pulse signal acquisition unit 1311 acquires pulse signals corresponding to the opened web page; for example, as shown in fig. 4, when the generated periodic electric signal is V [ y (n) ], a > -1, 360 ° + a +0< ax <360 ° + a +180 °, and a is an integer equal to or greater than 0. When the first webpage is opened, acquiring a pulse signal of the first webpage, wherein the acquired pulse signal of the first webpage is Vp (1), and the virtual connection unit 1312 virtually connects the first webpage according to the Vp (1) to form a unique first virtual connection; opening a second webpage, and collecting a pulse signal of the second webpage, wherein the collected pulse signal of the second webpage is Vp (2) ], so as to form a unique second virtual connection; opening a third webpage, and collecting a pulse signal of the third webpage, wherein the collected pulse signal of the third webpage is Vp (3), so as to form a unique third virtual connection; and analogizing in sequence to obtain a plurality of pulse signals, wherein each webpage is uniquely corresponding to one pulse signal.
It is worth to be noted that the acquisition of the pulse signals of the multiple web pages selects an increasing part or a decreasing part of the periodic electric signal, so that the acquired multiple pulse signals sequentially increase or decrease along with the sequence of opening the web pages. For example, when incrementally harvested, V [ p (3) ] > V [ p (2) ] > V [ p (1) ]; when degressive harvesting, harvested Vp (3) ] < Vp (2) ] < Vp (1) ]. Preferably, the acquisition process may be periodic acquisition or non-periodic acquisition. When periodically acquired, then the absolute value of V [ p (3) ] -V [ p (2) ] is equal to the absolute value of V [ p (2) ] -V [ p (1) ].
And the pulse signal positioning module 132 is used for positioning the current pulse signal and the signal to be switched. The current pulse signal is unique, so that the current pulse signal can be directly obtained by positioning. Since the multiple webpages in this example are sequentially switched and browsed, in the process of positioning the signal to be switched, a switching action needs to be recognized first, and a switching direction is determined; and then positioning the pulse signals of the web pages adjacent to the currently browsed web page on the basis of the determined switching direction, wherein the pulse signals of a plurality of web pages are sequentially increased or decreased, so that the nearest pulse signal adjacent to the current pulse signal is the web page which corresponds to the switching direction and is adjacent to the current web page, namely the pulse signal to be switched, and the difference is the absolute value of the difference.
The web page acquiring module 133 is configured to acquire a currently browsed web page according to the positioned current pulse signal, and acquire a web page to be browsed according to the positioned signal to be switched. The web page is connected to the pulse signal through a unique virtual connection, and the web page obtaining module 133 can obtain the corresponding web page through the positioned pulse signal.
The switching module 134 is configured to switch the current pulse signal to a pulse signal to be switched, so that the currently browsed webpage is switched to the webpage to be browsed, thereby implementing switching browsing of an adjacent webpage. Specifically, the current pulse signal corresponding to the currently browsed webpage is switched to the to-be-switched pulse signal corresponding to the to-be-browsed webpage, so that the current virtual connection is switched to the to-be-switched virtual connection, the currently browsed webpage is switched to the to-be-browsed webpage, the to-be-browsed webpage becomes a new currently browsed webpage, and switching of the webpage is achieved.
EXAMPLE III
Fig. 3 is a flowchart of a multi-web page switching browsing method according to a third exemplary embodiment of the present invention.
Referring to fig. 3, a third embodiment of the present invention provides a multi-web page switching browsing method applied to a mobile terminal, where the method includes:
S100, sequentially opening a plurality of webpages and sequentially collecting pulse signals corresponding to the webpages, wherein each webpage uniquely corresponds to one pulse signal, and the collected pulse signals are sequentially increased or decreased along with the sequence of opening the webpages.
Specifically, the multi-web page switching browsing of the embodiment of the invention is established by opening a plurality of web pages in sequence in advance by a user, and then switching and browsing the opened web pages, except that in the process of opening the plurality of web pages in advance by the user, the mobile terminal generates periodic electric signals, and pulse signals corresponding to the opened web pages are collected when one web page is opened; for example, as shown in fig. 4, when the generated periodic electric signal is V [ y (n) ], a > -1, 360 ° + a +0< ax <360 ° + a +180 °, and a is an integer equal to or greater than 0. When a first webpage is opened, acquiring a pulse signal of the first webpage, wherein the acquired pulse signal of the first webpage is Vp (1), and forming a unique first virtual connection; opening a second webpage, and collecting a pulse signal of the second webpage, wherein the collected pulse signal of the second webpage is Vp (2) ], so as to form a unique second virtual connection; opening a third webpage, and collecting a pulse signal of the third webpage, wherein the collected pulse signal of the third webpage is Vp (3), so as to form a unique third virtual connection; and analogizing in sequence to obtain a plurality of pulse signals, wherein each webpage is uniquely corresponding to one pulse signal.
The acquisition of the pulse signals of the multiple webpages selects an increasing part or a decreasing part of the periodic electric signals, so that the acquired pulse signals sequentially increase or decrease along with the sequence of opening the webpages. For example, when acquisition is incremental, acquired V [ p (3) ] > V [ p (2) ] > V [ p (1) ]; when collected in decreasing increments, Vp (3) ] < Vp (2) ] < Vp (1) ]. Preferably, the acquisition process may be periodic acquisition or non-periodic acquisition. When periodically acquired, then the absolute value of V [ p (3) ] -V [ p (2) ] is equal to the absolute value of V [ p (2) ] -V [ p (1) ].
And S200, acquiring a current browsing webpage corresponding to the current pulse signal. Because each webpage is uniquely corresponding to one pulse signal, when the current pulse signal is obtained through positioning, the current browsing webpage uniquely corresponding to the current pulse signal can be obtained. For example, when the located current pulse signal is V [ p (2) ], the obtained current browsing webpage is the second webpage.
S300, acquiring a pulse signal to be switched corresponding to the switching action of the user; and the absolute difference value between the pulse signal to be switched and the current pulse signal is minimum.
Specifically, since the multiple webpages are sequentially switched and browsed in this example, in the process of positioning the signal to be switched, a switching action needs to be recognized first, and a switching direction is determined; and then positioning the pulse signals of the web pages adjacent to the currently browsed web page on the basis of the determined switching direction, wherein the pulse signals of a plurality of web pages are sequentially increased or decreased, so that the nearest pulse signal adjacent to the current pulse signal is the pulse signal with the minimum difference value, namely positioning the pulse signal of the web page adjacent to the current web page, which corresponds to the switching direction, namely the pulse signal to be switched, wherein the difference value is the absolute value of the difference value.
Specifically, the switching action includes a down-switch and an up-switch, and the switching directions of the down-switch and the up-switch are opposite. Preferably, the lower switch is slid to the left and the upper switch is slid to the right, but the present invention is not limited thereto. For example, the operation may be triggered by shaking the mobile terminal, for example, shaking one end of the mobile terminal to the left is down-switch, and shaking to the right is up-switch.
When the switching action is left sliding or right sliding through the user touch mobile terminal interface, a touch gesture may not be right or left, but a certain randomness may exist in the touch gesture, so to improve the switching accuracy, it is important to determine how to determine the switching action of the user is up-switching/down-switching, for which, for example, the method for determining that the switching action of the user is up-switching/down-switching includes:
capturing a touch path of a touch gesture of a user, and positioning a starting point of the path.
And establishing a virtual Cartesian coordinate system by taking the starting point as a center origin point and taking the width and the length of the touch interface of the mobile terminal as a horizontal axis and a vertical axis respectively, and judging the extending direction of the touch path of the user.
If the extending direction of the touch path of the user is located in the second or fourth quadrant, judging that the switching action of the user is down switching; and if the switching action of the user is located in the first quadrant or the fourth quadrant, judging that the switching action of the user is up switching.
If the extending direction of the touch path of the user is located on the horizontal axis between the second quadrant and the fourth quadrant, judging that the switching action of the user is down switching; and if the switching action of the user is positioned on the horizontal axis between the first quadrant and the fourth quadrant, judging that the switching action of the user is up-switching.
If the extending direction of the touch path of the user is located on the longitudinal axis between the first quadrant and the second quadrant, judging that the switching action of the user is up-switching; and if the switching action of the user is positioned on the vertical axis between the third quadrant and the fourth quadrant, judging that the switching action of the user is down switching.
By the method, the switching direction corresponding to the touch gesture of the user can be accurately identified, and the pulse signal to be switched is further positioned based on the determined switching direction.
Specifically, in the process of positioning the pulse signal to be switched, there are two cases:
(1) when the pulse signals are sequentially increased along with the sequence of opening the webpage, the positioning process is as follows: firstly, acquiring a current pulse signal; judging a switching action, and if the switching action is down switching (for example, leftward sliding), acquiring a minimum pulse signal larger than the current pulse signal as a pulse signal to be switched; and if the switching action is up switching (for example, rightward sliding), acquiring the maximum pulse signal smaller than the current pulse signal as the pulse signal to be switched. When the gesture slides leftwards, the pulse signal of the webpage on the right side of the currently browsed webpage needs to be acquired, all signals larger than the current pulse signal are acquired, then the minimum pulse signal larger than the current pulse signal is acquired, and the acquired pulse signal is the pulse signal of the right adjacent webpage of the currently browsed webpage, namely the pulse signal to be switched. When the gesture slides to the right, the pulse signal of the left webpage of the current browsed webpage needs to be acquired, all signals smaller than the current pulse signal are acquired, then all the pulse signals smaller than the maximum pulse signal in the current pulse signal are acquired, and the acquired pulse is the pulse signal of the left-adjacent webpage of the current browsed webpage, namely the pulse signal to be switched.
In the process of positioning the pulse signal to be switched under this condition, the obtained current pulse signal is the first pulse or the last pulse signal, and therefore, before obtaining the pulse signal to be switched, the method further includes: judging whether the current pulse signal is the maximum or minimum pulse signal; if the current signal is the maximum pulse signal and the switching action is down switching (namely the current signal is at the last webpage and the gesture is leftward sliding), the current pulse signal is a pulse signal to be switched (namely backward switching can not be performed); or if the current signal is the minimum pulse signal and the switching action is up switching (i.e. at the first webpage and the gesture is rightward sliding), the current pulse signal is the pulse signal to be switched (i.e. forward switching can not be performed any more).
(2) When the pulse signals are sequentially decreased along with the sequence of opening the webpage, the positioning process is as follows: firstly, acquiring a current pulse signal; judging a switching action, and if the switching action is down switching (for example, leftward sliding), acquiring a pulse signal to be switched, wherein the pulse signal is smaller than the maximum pulse signal in the current pulse signal; and if the switching action is up switching (for example, rightward sliding), acquiring the minimum pulse signal which is greater than the current pulse signal as the pulse signal to be switched.
In the process of positioning the pulse signal to be switched, the obtained current pulse signal is the first pulse or the last pulse signal, and therefore, before obtaining the pulse signal to be switched, the method further includes: judging whether the current pulse signal is the maximum or minimum pulse signal; if the current signal is the minimum pulse signal and the switching action is down switching (namely the current signal is positioned at the last webpage and the gesture slides leftwards), the current pulse signal is a pulse signal to be switched (namely the current signal can not be switched backwards); or if the current signal is the maximum pulse signal and the switching action is up switching (namely, the current signal is in the first webpage and the gesture slides to the right), the current pulse signal is the pulse signal to be switched (namely, the current signal cannot be switched forwards any more).
S400, acquiring a webpage to be browsed corresponding to the pulse signal to be switched.
Specifically, according to the pulse signal to be switched determined in step S300, a webpage virtually connected to the pulse signal to be switched is obtained, that is, the webpage to be browsed is obtained. For example, when the determined pulse signal to be switched is vp (3), the acquired webpage to be browsed is a third webpage.
S500, switching the current pulse signal to a pulse signal to be switched, and switching the current browsed webpage to the webpage to be browsed. The current pulse signal in step S200 is switched to the pulse signal to be switched in step S300, so that the current virtual connection is switched to the virtual connection to be switched, and the current browsing webpage corresponding to the current pulse signal is switched to the webpage to be browsed corresponding to the pulse signal to be switched, so that the webpage to be browsed becomes a new current browsing webpage, switching between adjacent webpages is realized, and switching and browsing of multiple webpages is further realized.
According to the multi-webpage switching browsing method, the mobile terminal and the computer readable storage medium, pulse signals of the webpages are respectively collected in the process that a user opens the plurality of webpages, and the webpages are virtually connected according to the pulse signals; after receiving the signals to be switched, the current pulse signals and the signals to be switched are positioned, and the current browsing webpages corresponding to the signals to be switched are switched to the webpages to be browsed respectively, so that the switching browsing among the webpages is realized, the browsing process of a plurality of webpages is simplified, the power consumption of a user for watching the webpages is saved, and the user experience is improved.
Example four
The present invention provides another embodiment, which provides a computer readable storage medium, wherein the computer readable storage medium stores a multi-web switching browsing program, and when the multi-web switching browsing program is executed by a processor, the multi-web switching browsing program implements the steps of any one of the above multi-web switching browsing methods applied to a mobile terminal.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element identified by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are only for description, and do not represent the advantages and disadvantages of the embodiments.
Through the description of the foregoing embodiments, it is clear to those skilled in the art that the method of the foregoing embodiments may be implemented by software plus a necessary general hardware platform, and certainly may also be implemented by hardware, but in many cases, the former is a better implementation. Based on such understanding, the technical solutions of the present invention or portions thereof contributing to the prior art may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the methods according to the embodiments of the present invention.
While the present invention has been described with reference to the particular illustrative embodiments, it is to be understood that the invention is not limited to the disclosed embodiments, but is intended to cover various modifications, equivalent arrangements, and equivalents thereof, which may be made by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.
Claims (8)
1. A multi-web page switching browsing method applied to a mobile terminal is characterized by comprising the following steps:
sequentially opening a plurality of webpages and sequentially collecting pulse signals corresponding to the webpages, wherein each webpage uniquely corresponds to one pulse signal, and the collected pulse signals are sequentially increased or decreased progressively along with the sequence of opening the webpages;
acquiring a current browsing webpage corresponding to the current pulse signal;
acquiring a pulse signal to be switched corresponding to the switching action of a user; wherein, the absolute difference value between the pulse signal to be switched and the current pulse signal is minimum;
acquiring a webpage to be browsed corresponding to the pulse signal to be switched;
switching the current pulse signal to a pulse signal to be switched to switch the currently browsed webpage to the webpage to be browsed;
wherein the switching action comprises a down-switch and an up-switch;
the method for judging whether the switching action of the user is up switching or down switching comprises the following steps:
capturing a touch path of a user and positioning a starting point of the path;
establishing a virtual Cartesian coordinate system by taking the starting point as a center origin and the width and the length of a touch interface of the mobile terminal as a horizontal axis and a vertical axis respectively;
Judging the position of the extending direction of the touch path of the user in the virtual Cartesian coordinate;
if the extending direction of the touch path of the user is located in a second quadrant or a fourth quadrant in the coordinate, judging that the switching action of the user is down-switching; and if the switching action of the user is located in the first quadrant or the fourth quadrant in the coordinate, judging that the switching action of the user is up-switching.
2. The method according to claim 1, wherein when the collected plurality of pulse signals sequentially increase with the sequence of opening the webpage, acquiring the pulse signal to be switched corresponding to the switching action of the user comprises:
acquiring a current pulse signal;
if the switching action is down switching, acquiring a minimum pulse signal larger than the current pulse signal as a pulse signal to be switched;
and if the switching action is up switching, acquiring the maximum pulse signal smaller than the current pulse signal as the pulse signal to be switched.
3. The method according to claim 2, further comprising, before acquiring the pulse signal to be switched:
judging whether the current pulse signal is the maximum or minimum pulse signal;
if the current pulse signal is the maximum pulse signal and the switching action is down switching, the current pulse signal is a pulse signal to be switched; or
And if the current pulse signal is the minimum pulse signal and the switching action is up switching, the current pulse signal is a pulse signal to be switched.
4. The method according to claim 1, wherein when the collected plurality of pulse signals are sequentially decreased with the sequence of opening the webpage, acquiring the pulse signal to be switched corresponding to the switching action of the user comprises:
acquiring a current pulse signal;
if the switching action is down switching, acquiring a pulse signal smaller than the maximum pulse signal in the current pulse signal as a pulse signal to be switched;
and if the switching action is up switching, acquiring the minimum pulse signal larger than the current pulse signal as a pulse signal to be switched.
5. The method according to claim 4, further comprising, before acquiring the pulse signal to be switched:
judging whether the current pulse signal is the maximum or minimum pulse signal;
if the current pulse signal is the minimum pulse signal and the switching action is down switching, the current pulse signal is a pulse signal to be switched; or
And if the current pulse signal is the maximum pulse signal and the switching action is up switching, the current pulse signal is a pulse signal to be switched.
6. The method according to any one of claims 1 to 5,
if the extending direction of the touch path of the user is located on the horizontal axis between the second quadrant and the fourth quadrant, judging that the switching action of the user is down switching; if the switching action of the user is positioned on the horizontal axis between the first quadrant and the fourth quadrant, judging that the switching action of the user is up-switching;
if the extending direction of the touch path of the user is located on the longitudinal axis between the first quadrant and the second quadrant, judging that the switching action of the user is up-switching; and if the switching action of the user is positioned on the vertical axis between the third quadrant and the fourth quadrant, judging that the switching action of the user is down switching.
7. A mobile terminal, characterized in that the mobile terminal comprises: the multi-web page switching browsing program comprises a memory, a processor and a multi-web page switching browsing program which is stored on the memory and can run on the processor, wherein the multi-web page switching browsing program realizes the following steps when being executed by the processor:
sequentially opening a plurality of webpages and sequentially collecting pulse signals corresponding to the webpages, wherein each webpage uniquely corresponds to one pulse signal, and the collected pulse signals are sequentially increased or decreased along with the sequence of opening the webpages;
Acquiring a current browsing webpage corresponding to the current pulse signal;
acquiring a pulse signal to be switched corresponding to the switching action of a user; wherein, the absolute difference value between the pulse signal to be switched and the current pulse signal is minimum;
acquiring a webpage to be browsed corresponding to the pulse signal to be switched;
switching the current pulse signal to a pulse signal to be switched to switch the current browsed webpage to the webpage to be browsed;
wherein the switching action comprises a down-switch and an up-switch;
the method for judging whether the switching action of the user is up switching or down switching comprises the following steps:
capturing a touch path of a user and positioning a starting point of the path;
establishing a virtual Cartesian coordinate system by taking the starting point as a center origin and the width and the length of a touch interface of the mobile terminal as a horizontal axis and a vertical axis respectively;
judging the position of the extending direction of the touch path of the user in the virtual Cartesian coordinates;
if the extending direction of the touch path of the user is located in a second quadrant or a fourth quadrant in the coordinate, judging that the switching action of the user is down-switching; and if the switching action of the user is located in the first quadrant or the fourth quadrant in the coordinate, judging that the switching action of the user is up-switching.
8. A computer-readable storage medium, wherein a multi-page switching browsing program is stored on the computer-readable storage medium, and when the multi-page switching browsing program is executed by a processor, the steps of the multi-page switching browsing method applied to a mobile terminal according to any one of claims 1 to 6 are implemented.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811389828.5A CN109739593B (en) | 2018-11-21 | 2018-11-21 | Multi-webpage switching browsing method, mobile terminal and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811389828.5A CN109739593B (en) | 2018-11-21 | 2018-11-21 | Multi-webpage switching browsing method, mobile terminal and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109739593A CN109739593A (en) | 2019-05-10 |
CN109739593B true CN109739593B (en) | 2022-06-10 |
Family
ID=66356967
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811389828.5A Active CN109739593B (en) | 2018-11-21 | 2018-11-21 | Multi-webpage switching browsing method, mobile terminal and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109739593B (en) |
Citations (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6034517A (en) * | 1998-10-27 | 2000-03-07 | Linear Technology Corporation | High efficiency step-down switching regulators |
CN101364227A (en) * | 2008-09-12 | 2009-02-11 | 深圳市茁壮网络技术有限公司 | Page switching method and system and digital television processing apparatus |
CN102902546A (en) * | 2012-10-12 | 2013-01-30 | 重庆亚德科技股份有限公司 | Common report list assembly |
CN103077170A (en) * | 2011-10-26 | 2013-05-01 | 腾讯科技(深圳)有限公司 | Method and device for browsing webpage based on physical movement |
CN103412923A (en) * | 2013-08-12 | 2013-11-27 | 网际傲游(北京)科技有限公司 | Web browser state switching method and web browser |
CN103561334A (en) * | 2013-10-30 | 2014-02-05 | 乐视致新电子科技(天津)有限公司 | Browse operation method and device based on browser on intelligent television |
CN103631487A (en) * | 2012-08-21 | 2014-03-12 | 腾讯科技(深圳)有限公司 | Method and device for page configuration |
CN104035676A (en) * | 2014-06-25 | 2014-09-10 | 百度在线网络技术(北京)有限公司 | Page switching method and page switching device |
CN104581485A (en) * | 2014-12-31 | 2015-04-29 | 周祥宇 | Remote sensing control earphone system and command identification and execution method thereof |
CN105007298A (en) * | 2015-05-27 | 2015-10-28 | 江西师范大学 | Internet remote control socket system |
CN105223865A (en) * | 2015-09-23 | 2016-01-06 | 敲敲科技(北京)有限公司 | Based on data processing method and the device of intelligent control device |
CN105453681A (en) * | 2014-07-28 | 2016-03-30 | 华为技术有限公司 | A data scheduling method and apparatus |
CN106131630A (en) * | 2016-06-27 | 2016-11-16 | 乐视控股(北京)有限公司 | Web page browsing control method based on television set and relevant apparatus |
CN106155454A (en) * | 2015-03-30 | 2016-11-23 | 阿里巴巴集团控股有限公司 | A kind of interface display method, device and electronic equipment |
CN106775227A (en) * | 2016-12-06 | 2017-05-31 | 福建天泉教育科技有限公司 | A kind of method and system of page layout switch |
CN107229341A (en) * | 2017-06-30 | 2017-10-03 | 努比亚技术有限公司 | The control method and computer-readable recording medium of terminal control finger ring, terminal |
CN107544727A (en) * | 2017-07-11 | 2018-01-05 | 广州视源电子科技股份有限公司 | Cursor positioning method and system, readable storage medium and computer equipment |
CN107590281A (en) * | 2017-09-29 | 2018-01-16 | 惠州Tcl移动通信有限公司 | Control method, mobile terminal and the storage medium that a kind of webpage is switched fast |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7366519B2 (en) * | 2002-10-21 | 2008-04-29 | Hong Kong Applied Science And Technology Research Institute Co., Ltd. | Systems and methods for managing wireless communications using link space information |
US7366526B2 (en) * | 2005-03-31 | 2008-04-29 | Lucent Technologies Inc. | Method and apparatus for providing improved border paging in a wireless network |
US8954698B2 (en) * | 2012-04-13 | 2015-02-10 | International Business Machines Corporation | Switching optically connected memory |
-
2018
- 2018-11-21 CN CN201811389828.5A patent/CN109739593B/en active Active
Patent Citations (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6034517A (en) * | 1998-10-27 | 2000-03-07 | Linear Technology Corporation | High efficiency step-down switching regulators |
CN101364227A (en) * | 2008-09-12 | 2009-02-11 | 深圳市茁壮网络技术有限公司 | Page switching method and system and digital television processing apparatus |
CN103077170A (en) * | 2011-10-26 | 2013-05-01 | 腾讯科技(深圳)有限公司 | Method and device for browsing webpage based on physical movement |
CN103631487A (en) * | 2012-08-21 | 2014-03-12 | 腾讯科技(深圳)有限公司 | Method and device for page configuration |
CN102902546A (en) * | 2012-10-12 | 2013-01-30 | 重庆亚德科技股份有限公司 | Common report list assembly |
CN103412923A (en) * | 2013-08-12 | 2013-11-27 | 网际傲游(北京)科技有限公司 | Web browser state switching method and web browser |
CN103561334A (en) * | 2013-10-30 | 2014-02-05 | 乐视致新电子科技(天津)有限公司 | Browse operation method and device based on browser on intelligent television |
CN104035676A (en) * | 2014-06-25 | 2014-09-10 | 百度在线网络技术(北京)有限公司 | Page switching method and page switching device |
CN105453681A (en) * | 2014-07-28 | 2016-03-30 | 华为技术有限公司 | A data scheduling method and apparatus |
CN104581485A (en) * | 2014-12-31 | 2015-04-29 | 周祥宇 | Remote sensing control earphone system and command identification and execution method thereof |
CN106155454A (en) * | 2015-03-30 | 2016-11-23 | 阿里巴巴集团控股有限公司 | A kind of interface display method, device and electronic equipment |
CN105007298A (en) * | 2015-05-27 | 2015-10-28 | 江西师范大学 | Internet remote control socket system |
CN105223865A (en) * | 2015-09-23 | 2016-01-06 | 敲敲科技(北京)有限公司 | Based on data processing method and the device of intelligent control device |
CN106131630A (en) * | 2016-06-27 | 2016-11-16 | 乐视控股(北京)有限公司 | Web page browsing control method based on television set and relevant apparatus |
CN106775227A (en) * | 2016-12-06 | 2017-05-31 | 福建天泉教育科技有限公司 | A kind of method and system of page layout switch |
CN107229341A (en) * | 2017-06-30 | 2017-10-03 | 努比亚技术有限公司 | The control method and computer-readable recording medium of terminal control finger ring, terminal |
CN107544727A (en) * | 2017-07-11 | 2018-01-05 | 广州视源电子科技股份有限公司 | Cursor positioning method and system, readable storage medium and computer equipment |
CN107590281A (en) * | 2017-09-29 | 2018-01-16 | 惠州Tcl移动通信有限公司 | Control method, mobile terminal and the storage medium that a kind of webpage is switched fast |
Also Published As
Publication number | Publication date |
---|---|
CN109739593A (en) | 2019-05-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102917023B (en) | A kind of method based on Quick Response Code accessed web page and mobile terminal | |
RU2522103C2 (en) | Update notification method and browser | |
CN106294648B (en) | A processing method and device for a page access path | |
CN107247722B (en) | File scanning method and device and intelligent terminal | |
CN109117039B (en) | Display method and terminal equipment | |
US12313671B2 (en) | Fault detection circuit, method and power adapter | |
US9195761B2 (en) | System and method for navigating documents | |
CN113190741B (en) | Search method, search device, electronic equipment and storage medium | |
US8553259B2 (en) | Intelligent print options for search engine results | |
CN110069739B (en) | Page preloading method and device | |
CN102622423A (en) | Method, device, browser and user terminal for displaying webpage | |
US10095671B2 (en) | Browser plug-in with content blocking and feedback capability | |
JP2019520625A (en) | Human computer interaction method and device thereof | |
CN106851758B (en) | Communication network switching method and terminal device | |
CN102222021A (en) | Input method panel switching method and device | |
CN109739593B (en) | Multi-webpage switching browsing method, mobile terminal and computer readable storage medium | |
CN113254500B (en) | A paging query method, device, electronic device and storage medium | |
CN110309460A (en) | Result of page searching methods of exhibiting, device, equipment and readable storage medium storing program for executing | |
CN104572413B (en) | A kind of electronic equipment preserves the method and electronic equipment of system journal | |
US20160117392A1 (en) | Information search method and apparatus | |
CN111538453A (en) | Book detail page display method, terminal and computer storage medium | |
CN104850608A (en) | Method for searching keywords on information exhibiting page | |
CN104615686A (en) | Searching method and device | |
CN112541136A (en) | Method and device for acquiring network address information, storage medium and electronic equipment | |
CN118227899B (en) | Linkage navigation method and device for joint data, electronic equipment and storage medium |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |