WO2014075582A1 - Method and apparatus for storing webpage access records - Google Patents

Method and apparatus for storing webpage access records Download PDF

Info

Publication number
WO2014075582A1
WO2014075582A1 PCT/CN2013/086730 CN2013086730W WO2014075582A1 WO 2014075582 A1 WO2014075582 A1 WO 2014075582A1 CN 2013086730 W CN2013086730 W CN 2013086730W WO 2014075582 A1 WO2014075582 A1 WO 2014075582A1
Authority
WO
WIPO (PCT)
Prior art keywords
page
displayed
touch screen
sliding operation
sub
Prior art date
Application number
PCT/CN2013/086730
Other languages
French (fr)
Inventor
Yongzhe CAO
Yiju MOU
Original Assignee
Tencent Technology (Shenzhen) Company Limited
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology (Shenzhen) Company Limited filed Critical Tencent Technology (Shenzhen) Company Limited
Publication of WO2014075582A1 publication Critical patent/WO2014075582A1/en

Links

Classifications

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

Definitions

  • One method for switching displayed pages includes: clicking a tag of a corresponding page, sliding on a touch screen along a certain direction, and clicking a corresponding position of the touch screen so as to turn pages forward or backward, etc.
  • this method if it is needed to switch from a first page to a last page or from the last page to the first page, this can be achieved through switching page by page. Since it needs to take some time to load a new page after one page is switched, thus, switching from the first page to the last page by page or from the last page to the first page by page will spend a lot of time in waiting for loading pages, and this will also cause many unnecessary operations for users.
  • the terminal responds to the page switching when a finger or stylus implementing the sliding operation leaves the touch screen.
  • the terminal is in an idle state of waiting for loading page in many time, this will give users the feeling that the terminal is unresponsive and the page switching is not smooth.
  • one example of the present disclosure provides a page switching method and apparatus, which can timely respond to the page switching when a sliding operation produces a certain displacement on a touch screen, thereby accelerating response speed of page switching. Further, pages can also be cyclically switched to be displayed on the touch screen according to the sliding operation, thereby saving time for loading pages.
  • a page switching method includes: collecting sliding touch signal on a touch screen; analyzing a sliding operation on the touch screen according to the sliding touch signal; determining a page to be displayed when a displacement of the sliding operation in a preset direction reaches a preset threshold value; switching a current page displayed on the touch screen to the page to be displayed.
  • the above page switching apparatus can be implemented through following technical solution:
  • the page switching method, apparatus and the terminal device can timely respond to the page switching when a sliding operation produces a certain displacement on a touch screen, thereby accelerating response speed of page switching. Further, pages can also be cyclically switched to be displayed on the touch screen according to the sliding operation, thereby saving time for loading pages.
  • Fig. 4 is a flow chart of a page switching method according to a second example of the present disclosure
  • Fig. 5 is a flow chart of sliding left and right on a touch screen to switch page
  • Fig. 9 is a block diagram of a page switching apparatus according to a third example of the present disclosure
  • Fig. 10 is a block diagram of a determination module of the page switching apparatus according to the third example of the present disclosure
  • a page switching method includes following steps: Step SI : collecting sliding touch signal on a touch screen;
  • the touch screen of the step SI can be an input and output device of a terminal device such as smart phone, tablet PC, etc.
  • the terminal device can control the touch screen to display pages of a display object to a user.
  • the display object can be a file such as images, text, video files, etc., stored in a storage device in the terminal device.
  • the page can be a playback page or a preview page of the file. Further, the page can also be a webpage accessed by the terminal device through network.
  • the page can also be a page of a software client terminal installed in the client terminal device, for example, a "personal information" page displayed in a microblogging client terminal shown in Fig. 2.
  • the sliding touch signal can be detected on a surface of the touch screen by the touch screen.
  • the sliding touch signal can be electronic signal, or other signals that can be identified.
  • the sliding operation of the step S2 can be an operation that a user's finger touches the touch screen, and can also be an operation that a stylus touches the touch screen.
  • the sliding operation includes contact position, sliding direction and sliding distance on the touch screen. Since the sliding touch signal includes coordinates of the contact position on the touch screen, contact positions, sliding direction and sliding distance of the sliding operation on the touch screen can be obtained according to changes in coordinates of the contact position on the touch screen.
  • the first sub-direction is towards left of the horizontal direction of the touch screen
  • the second-sub-direction is towards right of the horizontal direction of the touch screen.
  • step S3 specifically can include following steps shown in Fig. 3:
  • Step S3.1 judging whether a displacement direction of the sliding operation is the first sub-direction or the second sub-direction, when the displacement of the sliding operation in the preset direction reaches the preset threshold value.
  • Step S3.2 When the displacement direction of the sliding operation is the first sub-direction, performing step S3.2.
  • step S3.3 When the displacement direction of the sliding operation is the second sub-direction, performing step S3.3.
  • the step S4 can include: first capturing a picture of the page to be displayed in form of screenshot, loading the captured picture into a memory of the terminal device, playing the captured picture on the touch screen in animation manner, and then displaying the page to be displayed on the touch screen. Before switching the current page to the page to be displayed, playing in animation manner the screenshot of the picture to be displayed can increase the fun of page switching, and attract the user's interest.
  • Step S3.2.3 determining the next page of the current page as the page to be displayed.
  • step S3.3 can further include following steps: Step S3.3.1: judging whether the current page displayed on the touch screen is the first page of the display object; if the current page is the first page of the display object, performing step S3.3.2; if the current page is not the first page of the display object, performing step S3.3.3;
  • Step S3.3.2 determining the last page of the display object as the page to be displayed
  • the page switching method of this example when the page is switched to two ends of the display object, i.e., first or last page, the page switching method of this example can switch directly from the first page of the display object to the last page, or switch directly from the last page of the display object to the first page, without switching from the first page to the last page by page or from the last page to the first page by page, thereby saving time for loading pages when switching page by page.
  • Fig. 5 is a flow chart of sliding left and right on a touch screen to switch page, which integrates the page switching methods of the above first example and the second example.
  • Step Sll collecting sliding touch signal on a touch screen and analyzing a sliding operation on the touch screen.
  • the sliding operation includes contact position, sliding direction and sliding distance on the touch screen.
  • Step S12 judging whether a displacement of the sliding operation in a horizontal direction of the touch screen reaches a first preset threshold value; if the displacement of the sliding operation in the horizontal direction of the touch screen reaches the first preset threshold value, performing step S13. If the displacement of the sliding operation in the horizontal direction of the touch screen does not reach the first preset threshold value, returning to the step Sll.
  • the first preset threshold value can be, for example, lOOpix.
  • the step S12 can further include a judgment condition: judging whether a displacement of the sliding operation in a vertical direction of the touch screen reaches a second preset threshold value.
  • the second preset threshold value can be equal to the first preset threshold value.
  • Step S13 judging whether a displacement direction of the sliding operation is towards left of the horizontal direction of the touch screen or towards right of the horizontal direction of the touch screen; if the displacement direction of the sliding operation is towards left of the horizontal direction of the touch screen, performing step S14; if the displacement direction of the sliding operation is towards right of the horizontal direction of the touch screen, performing step S17.
  • Step S14 judging whether the current page is the last page of the display object on the touch screen; if the current page is the last page of the display object on the touch screen, performing step SI 5; if the current page is not the last page of the display object on the touch screen, performing step SI 6.
  • Step S15 switching the current page of the display object on the touch screen to the first page of the display object, as shown in Fig. 6.
  • Step S16 switching the current page of the display object on the touch screen to the next page.
  • Step S17 judging whether the current page is the first page of the display object on the touch screen; if the current page is the first page of the display object on the touch screen, performing step SI 8; if the current page is not the first page of the display object on the touch screen, performing step SI 9.
  • Step SI 8 switching the current page of the display object on the touch screen to the last page of the display object, as shown in Fig.7.
  • Step S19 switching the current page of the display object on the touch screen to the previous page, as shown in Fig.8.
  • the page switching apparatus includes a collection module 11, an analysis module 12, a determination module 13 and a switching module 14.
  • the collection module 11 is configured to collect sliding touch signal on a touch screen.
  • the analysis module 12 is configured to analyze a sliding operation on the touch screen according to the sliding touch signal.
  • the determination module 13 is configured to determine a page to be displayed when a displacement of the sliding operation in a preset direction reaches a preset threshold value.
  • the switching module 14 is configured to switch a current page displayed on the touch screen to the page to be displayed.
  • the determination module 13 includes: a direction judgment module 131 configured to, when the displacement of the sliding operation in the preset direction reaches the preset threshold value, judge whether a displacement direction of the sliding operation is the first sub-direction or the second sub-direction; a first page determination module 132 configured to, when the displacement direction of the sliding operation is the first sub-direction, determine a next page of the current page displayed on the touch screen as the page to be displayed; a second page determination module 133 configured to, when the displacement direction of the sliding operation is the second sub-direction, determine a previous page of the current page displayed on the touch screen as the page to be displayed.
  • a fourth example of the present disclosure provides a page switching apparatus 20.
  • the first page determination module 132 of the page switching apparatus 20 further includes: a first page judgment module 1321 configured to judge whether the current page displayed on the touch screen is the last page of the display object; a first page determination sub-module 1322 configured to, when the current page is the last page of the display object, determine the first page of the display object as the page to be displayed; a second page determination sub-module 1323 configured to, when the current page is not the last page of the display object, determine the next page of the current page as the page to be displayed.
  • the above second page determination module 133 can further include: a second page judgment module 1331 configured to judge whether the current page displayed on the touch screen is the first page of the display object; a third page determination sub-module 1332 configured to, when the current page is the first page of the display object, determine the last page of the display object as the page to be displayed; a fourth page determination sub-module 1333 configured to, when the current page is not the first page of the display object, determine the previous page of the current page as the page to be displayed.
  • the computing device (such as a server or other computing device) includes a processor 60 and a memory 70.
  • the processor 60 and the memory 70 are connected with each other via an internal bus.
  • the memory 70 may be a non-transitory computer-readable storage medium, and stores units of machine readable instructions executable by the processor 60, including a collection module 71, an analysis module 72, a determination module 73 and a switching module 74. Functions of the collection module 71, the analysis module 72, the determination module 73 and the switching module 74 are similar with the functions of the collection module 11, the analysis module 12, the determination module 13 and the switching module 14, respectively.
  • the functions may be implemented with the assistance of other modules, and may involve cooperation of multiple modules, e.g., may utilize processing functions of the processor 60, may relay on the internal bus for data transmission, and etc.
  • the methods, module, apparatus and device described herein may be implemented by hardware, machine-readable instructions or a combination of hardware and machine -readable instructions.
  • Machine-readable instructions used in the examples disclosed herein may be stored in storage medium readable by multiple processors, such as hard drive, CD-ROM, DVD, compact disk, floppy disk, magnetic tape drive, ROM or other proper storage device. Or, at least part of the machine -readable instructions may be substituted by specific-purpose hardware, such as custom integrated circuits, gate array, FPGA, PLD and specific-purpose computers and so on.
  • a machine-readable storage medium is also provided to store instructions to cause a machine to execute a process as described according to examples herein.
  • a system or apparatus having a storage medium that stores machine-readable program codes for implementing functions of any of the above examples and that may cause the system or the apparatus (or processor such as CPU or MPU) read and execute the program codes stored in the storage medium.
  • the program codes read from the storage medium may implement any one of the above examples, thus the program codes and the storage medium storing the program codes are part of the technical scheme.
  • the storage medium for providing the program codes may include floppy disk, hard drive, magneto-optical disk, compact disk (such as CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD+RW), magnetic tape drive, Flash card, ROM and so on.
  • the program code may be downloaded from a server computer via a communication network.
  • program codes implemented from a storage medium are written in a storage in an extension board inserted in the computer or in a storage in an extension unit connected to the computer.
  • a CPU in the extension board or the extension unit executes at least part of the operations according to the instructions based on the program codes to implement any of the above examples.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

A page switching method includes: collecting sliding touch signal on a touch screen; analyzing a sliding operation on the touch screen according to the sliding touch signal; determining a page to be displayed when a displacement of the sliding operation in a preset direction reaches a preset threshold value; switching a current page displayed on the touch screen to the page to be displayed. A page switching apparatus is also provided.

Description

METHOD AND APPARATUS FOR STORING WEBPAGE
ACCESS RECORDS
This application claims the benefit of priority from Chinese Patent Application No. 201210460120.0, filed on November 15, 2012, the entire contents of which are hereby incorporated by reference.
Field of the Disclosure
The present disclosure relates to touch screen control technology and more particularly to a page switching method and apparatus.
Background
In recent years, with continuously complex and optimized functions of various terminals such as smart phones, tablet PCs, touch screens which instead of keywords can achieve human-computer interaction, have been widely used in a variety of terminals. Currently, the technique of implementing a touch operation on a touch screen to switch pages displayed on the touch screen has been very common. The touch operation usually includes clicking, sliding and so on.
One method for switching displayed pages includes: clicking a tag of a corresponding page, sliding on a touch screen along a certain direction, and clicking a corresponding position of the touch screen so as to turn pages forward or backward, etc. In this method, if it is needed to switch from a first page to a last page or from the last page to the first page, this can be achieved through switching page by page. Since it needs to take some time to load a new page after one page is switched, thus, switching from the first page to the last page by page or from the last page to the first page by page will spend a lot of time in waiting for loading pages, and this will also cause many unnecessary operations for users. Further, in the method for switching page through sliding operation, usually, the terminal responds to the page switching when a finger or stylus implementing the sliding operation leaves the touch screen. Thus, the terminal is in an idle state of waiting for loading page in many time, this will give users the feeling that the terminal is unresponsive and the page switching is not smooth. Summary
In view of this, one example of the present disclosure provides a page switching method and apparatus, which can timely respond to the page switching when a sliding operation produces a certain displacement on a touch screen, thereby accelerating response speed of page switching. Further, pages can also be cyclically switched to be displayed on the touch screen according to the sliding operation, thereby saving time for loading pages.
The above page switching method can be implemented through following technical solution: A page switching method includes: collecting sliding touch signal on a touch screen; analyzing a sliding operation on the touch screen according to the sliding touch signal; determining a page to be displayed when a displacement of the sliding operation in a preset direction reaches a preset threshold value; switching a current page displayed on the touch screen to the page to be displayed. The above page switching apparatus can be implemented through following technical solution:
A page switching apparatus includes: a collection module configured to collect sliding touch signal on a touch screen; an analysis module configured to analyze a sliding operation on the touch screen according to the sliding touch signal; a determination module configured to determine a page to be displayed when a displacement of the sliding operation in a preset direction reaches a preset threshold value; a switching module configured to switch a current page displayed on the touch screen to the page to be displayed.
Another example of the present disclosure provides a terminal device which includes a processor and a memory; wherein the processor and the memory are connected with each other; the memory stores a set of instructions for performing a page switching method, the set of instructions to direct the processor to perform acts of: collecting sliding touch signal on a touch screen when a sliding operation is implemented on the touch screen; judging whether a displacement of the sliding operation in a preset direction reaches a preset threshold value via analyzing the sliding touch signal; determining a page to be displayed when the displacement of the sliding operation in the preset direction reaches the preset threshold value; switching a current page displayed on the touch screen to the page to be displayed before an end of the sliding operation.
Compared with related art, in one example of the present disclosure, the page switching method, apparatus and the terminal device can timely respond to the page switching when a sliding operation produces a certain displacement on a touch screen, thereby accelerating response speed of page switching. Further, pages can also be cyclically switched to be displayed on the touch screen according to the sliding operation, thereby saving time for loading pages.
Brief Description of Drawings
Fig. 1 is a flow chart of a page switching method according to a first example of the present disclosure; Fig. 2 is a schematic diagram of a page displayed on a touch screen;
Fig. 3 is a specific flow chart of a method of determining a page to be displayed according to the first example of the present disclosure;
Fig. 4 is a flow chart of a page switching method according to a second example of the present disclosure; Fig. 5 is a flow chart of sliding left and right on a touch screen to switch page;
Fig. 6 is a schematic diagram showing a sliding direction which switches pages of a display object from the last page to the first page on the touch screen;
Fig. 7 is a schematic diagram showing a sliding direction which switches pages of a display object from the first page to the last page on the touch screen; Fig. 8 is a schematic diagram showing a sliding direction which switches pages between a non-first page and a non-last page of the display object;
Fig. 9 is a block diagram of a page switching apparatus according to a third example of the present disclosure; Fig. 10 is a block diagram of a determination module of the page switching apparatus according to the third example of the present disclosure;
Fig. 11 is a block diagram of a page switching apparatus according to a fourth example of the present disclosure; Fig. 12 is a block diagram of a computing device according to one example of the present disclosure.
Detailed Description
For simplicity and illustrative purposes, the present disclosure is described by referring mainly to examples thereof. In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present disclosure. It will be readily apparent however, that the present disclosure may be practiced without limitation to these specific details. In other instances, some methods and structures have not been described in detail so as not to unnecessarily obscure the present disclosure. Throughout the present disclosure, the terms "a" and "an" are intended to denote at least one of a particular element. As used herein, the term "includes" means includes but not limited to, the term "including" means including but not limited to. The term "based on" means based at least in part on.
Referring to Fig. 1, a page switching method according to one example of the present disclosure includes following steps: Step SI : collecting sliding touch signal on a touch screen;
Step S2: analyzing a sliding operation on the touch screen according to the sliding touch signal;
Step S3: determining a page to be displayed when a displacement of the sliding operation in a preset direction reaches a preset threshold value; Step S4: switching a current page displayed on the touch screen to the page to be displayed.
The above method will be described in details hereinafter with reference to examples.
The touch screen of the step SI can be an input and output device of a terminal device such as smart phone, tablet PC, etc. The terminal device can control the touch screen to display pages of a display object to a user. The display object can be a file such as images, text, video files, etc., stored in a storage device in the terminal device. The page can be a playback page or a preview page of the file. Further, the page can also be a webpage accessed by the terminal device through network. In addition, the page can also be a page of a software client terminal installed in the client terminal device, for example, a "personal information" page displayed in a microblogging client terminal shown in Fig. 2.
The sliding touch signal can be detected on a surface of the touch screen by the touch screen. The sliding touch signal can be electronic signal, or other signals that can be identified.
The sliding operation of the step S2 can be an operation that a user's finger touches the touch screen, and can also be an operation that a stylus touches the touch screen. The sliding operation includes contact position, sliding direction and sliding distance on the touch screen. Since the sliding touch signal includes coordinates of the contact position on the touch screen, contact positions, sliding direction and sliding distance of the sliding operation on the touch screen can be obtained according to changes in coordinates of the contact position on the touch screen.
The preset direction of the step S3 can be divided into a first sub-direction and a second sub-direction which is opposite to the first sub-direction. For example, if the preset direction is a horizontal direction of the touch screen, then, the first sub-direction can be towards left of the horizontal direction, and the second-sub-direction can be towards right of the horizontal direction. If the preset direction is a vertical direction of the touch screen, then, the first sub-direction can be towards up of the vertical direction, and the second-sub-direction can be towards down of the vertical direction.
The sliding distance of the sliding operation on the touch screen along the preset direction can be decomposed into the preset direction, that is, the displacement of the sliding operation in the preset direction can be obtained.
The page to be displayed can be a previous page or a next page of the current page. The first sub-direction corresponds to a next page of the current page, and the second sub-direction corresponds to a previous page of the current page. Specifically, when a displacement of the sliding operation in the first sub-direction reaches a preset threshold value, a next page of the current page can be determined as the page to be displayed. When a displacement of the sliding operation in the second sub-direction reaches a preset threshold value, a previous page of the current page can be determined as the page to be displayed. The preset threshold value can be, for example, lOOpix.
For example, the first sub-direction is towards left of the horizontal direction of the touch screen, and the second-sub-direction is towards right of the horizontal direction of the touch screen. For a user, when the user slides a finger or stylus towards left on the touch screen and a sliding distance of the finger or stylus towards left on the touch screen reaches the presser threshold value, the current page displayed on the touch screen is switched to the next page. When the user slides the finger or stylus towards right on the touch screen and a sliding distance of the finger or stylus towards right on the touch screen reaches the presser threshold value, the current page displayed on the touch screen is switched to the previous page.
Thus, the above step S3 specifically can include following steps shown in Fig. 3:
Step S3.1 : judging whether a displacement direction of the sliding operation is the first sub-direction or the second sub-direction, when the displacement of the sliding operation in the preset direction reaches the preset threshold value. When the displacement direction of the sliding operation is the first sub-direction, performing step S3.2. When the displacement direction of the sliding operation is the second sub-direction, performing step S3.3.
Step S3.2: determining a next page of the current page displayed on the touch screen as the page to be displayed. Step S3.3: determining a previous page of the current page displayed on the touch screen as the page to be displayed.
The step S4 can include: first capturing a picture of the page to be displayed in form of screenshot, loading the captured picture into a memory of the terminal device, playing the captured picture on the touch screen in animation manner, and then displaying the page to be displayed on the touch screen. Before switching the current page to the page to be displayed, playing in animation manner the screenshot of the picture to be displayed can increase the fun of page switching, and attract the user's interest.
From the above, the page switching method of this example can switch the current page displayed on the touch screen to a previous or next page when the displacement of the sliding operation in the preset direction reaches the preset threshold value, without waiting for the contact disappearing, i.e., switching pages after the user's finger or stylus leaves the touch screen. In one example of the present disclosure, usually, when the user's finger or stylus leaves the touch screen, page switching has been completed; this can give the user the feeling that the sliding operation and the page switching are simultaneously executed and the page switching is very smooth, and the user would not consider the terminal unresponsive.
Second example
When switching pages according to the page switching method of the first example, if the current page is the first page of the display object and it is needed to switch the first page to a previous page, or if the current page is the last page of the display object and it is needed to switch the last page to a next page, the problem that the page cannot be switched will occur.
In order to further solve the above problem, referring to Fig. 4, the second example provide a page switching method, compared with the page switching method of the first example, the above step S3.2 in the page switching method of the second example can further include following steps:
Step S3.2.1: judging whether the current page displayed on the touch screen is the last page of the display object; if the current page is the last page of the display object, performing step S3.2.2; if the current page is not the last page of the display object, performing step S3.2.3; Step S3.2.2: determining the first page of the display object as the page to be displayed;
Step S3.2.3: determining the next page of the current page as the page to be displayed.
The above step S3.3 can further include following steps: Step S3.3.1: judging whether the current page displayed on the touch screen is the first page of the display object; if the current page is the first page of the display object, performing step S3.3.2; if the current page is not the first page of the display object, performing step S3.3.3;
Step S3.3.2: determining the last page of the display object as the page to be displayed;
Step S3.3.3: determining the previous page of the current page as the page to be displayed.
In the page switching method of this example, when the page is switched to two ends of the display object, i.e., first or last page, the page switching method of this example can switch directly from the first page of the display object to the last page, or switch directly from the last page of the display object to the first page, without switching from the first page to the last page by page or from the last page to the first page by page, thereby saving time for loading pages when switching page by page.
Fig. 5 is a flow chart of sliding left and right on a touch screen to switch page, which integrates the page switching methods of the above first example and the second example.
Step Sll: collecting sliding touch signal on a touch screen and analyzing a sliding operation on the touch screen. The sliding operation includes contact position, sliding direction and sliding distance on the touch screen.
Step S12: judging whether a displacement of the sliding operation in a horizontal direction of the touch screen reaches a first preset threshold value; if the displacement of the sliding operation in the horizontal direction of the touch screen reaches the first preset threshold value, performing step S13. If the displacement of the sliding operation in the horizontal direction of the touch screen does not reach the first preset threshold value, returning to the step Sll. The first preset threshold value can be, for example, lOOpix. Further, in order to avoid accidental contacts, the step S12 can further include a judgment condition: judging whether a displacement of the sliding operation in a vertical direction of the touch screen reaches a second preset threshold value. The second preset threshold value can be equal to the first preset threshold value. Thus, the above step S12 can further include: if the displacement of the sliding operation in the horizontal direction of the touch screen reaches the first preset threshold value and the displacement of the sliding operation in the vertical direction of the touch screen does not reach the second preset threshold value, performing step S13; if the displacement of the sliding operation in the horizontal direction of the touch screen does not reach the first preset threshold value or the displacement of the sliding operation in the vertical direction of the touch screen reaches the second preset threshold value, returning to the step Sll .
Step S13: judging whether a displacement direction of the sliding operation is towards left of the horizontal direction of the touch screen or towards right of the horizontal direction of the touch screen; if the displacement direction of the sliding operation is towards left of the horizontal direction of the touch screen, performing step S14; if the displacement direction of the sliding operation is towards right of the horizontal direction of the touch screen, performing step S17.
Step S14: judging whether the current page is the last page of the display object on the touch screen; if the current page is the last page of the display object on the touch screen, performing step SI 5; if the current page is not the last page of the display object on the touch screen, performing step SI 6.
Step S15: switching the current page of the display object on the touch screen to the first page of the display object, as shown in Fig. 6. Step S16: switching the current page of the display object on the touch screen to the next page.
Step S17: judging whether the current page is the first page of the display object on the touch screen; if the current page is the first page of the display object on the touch screen, performing step SI 8; if the current page is not the first page of the display object on the touch screen, performing step SI 9.
Step SI 8: switching the current page of the display object on the touch screen to the last page of the display object, as shown in Fig.7.
Step S19: switching the current page of the display object on the touch screen to the previous page, as shown in Fig.8. Third example Referring to Fig. 9, a third example of the present disclosure provides a page switching apparatus. The page switching apparatus includes a collection module 11, an analysis module 12, a determination module 13 and a switching module 14.
The collection module 11 is configured to collect sliding touch signal on a touch screen.
The analysis module 12 is configured to analyze a sliding operation on the touch screen according to the sliding touch signal.
The determination module 13 is configured to determine a page to be displayed when a displacement of the sliding operation in a preset direction reaches a preset threshold value.
The switching module 14 is configured to switch a current page displayed on the touch screen to the page to be displayed.
Referring to Fig. 10, the determination module 13 includes: a direction judgment module 131 configured to, when the displacement of the sliding operation in the preset direction reaches the preset threshold value, judge whether a displacement direction of the sliding operation is the first sub-direction or the second sub-direction; a first page determination module 132 configured to, when the displacement direction of the sliding operation is the first sub-direction, determine a next page of the current page displayed on the touch screen as the page to be displayed; a second page determination module 133 configured to, when the displacement direction of the sliding operation is the second sub-direction, determine a previous page of the current page displayed on the touch screen as the page to be displayed.
The specific working processes of the above modules can further refer to the page switching method provided in the first example of the present disclosure, and will not repeated here.
Fourth example
Referring to Fig. 11, a fourth example of the present disclosure provides a page switching apparatus 20. Compared with the page switching apparatus 10 of the third example, the first page determination module 132 of the page switching apparatus 20 further includes: a first page judgment module 1321 configured to judge whether the current page displayed on the touch screen is the last page of the display object; a first page determination sub-module 1322 configured to, when the current page is the last page of the display object, determine the first page of the display object as the page to be displayed; a second page determination sub-module 1323 configured to, when the current page is not the last page of the display object, determine the next page of the current page as the page to be displayed. The above second page determination module 133 can further include: a second page judgment module 1331 configured to judge whether the current page displayed on the touch screen is the first page of the display object; a third page determination sub-module 1332 configured to, when the current page is the first page of the display object, determine the last page of the display object as the page to be displayed; a fourth page determination sub-module 1333 configured to, when the current page is not the first page of the display object, determine the previous page of the current page as the page to be displayed.
The specific working processes of the above modules can further refer to the page switching method provided in the second example of the present disclosure, and will not repeated here.
The above apparatus can run in a computing device shown in Fig. 12. As shown in Fig. 12, the computing device (such as a server or other computing device) includes a processor 60 and a memory 70. The processor 60 and the memory 70 are connected with each other via an internal bus. The memory 70 may be a non-transitory computer-readable storage medium, and stores units of machine readable instructions executable by the processor 60, including a collection module 71, an analysis module 72, a determination module 73 and a switching module 74. Functions of the collection module 71, the analysis module 72, the determination module 73 and the switching module 74 are similar with the functions of the collection module 11, the analysis module 12, the determination module 13 and the switching module 14, respectively. The functions may be implemented with the assistance of other modules, and may involve cooperation of multiple modules, e.g., may utilize processing functions of the processor 60, may relay on the internal bus for data transmission, and etc. The methods, module, apparatus and device described herein may be implemented by hardware, machine-readable instructions or a combination of hardware and machine -readable instructions. Machine-readable instructions used in the examples disclosed herein may be stored in storage medium readable by multiple processors, such as hard drive, CD-ROM, DVD, compact disk, floppy disk, magnetic tape drive, ROM or other proper storage device. Or, at least part of the machine -readable instructions may be substituted by specific-purpose hardware, such as custom integrated circuits, gate array, FPGA, PLD and specific-purpose computers and so on.
A machine-readable storage medium is also provided to store instructions to cause a machine to execute a process as described according to examples herein. Specifically, a system or apparatus having a storage medium that stores machine-readable program codes for implementing functions of any of the above examples and that may cause the system or the apparatus (or processor such as CPU or MPU) read and execute the program codes stored in the storage medium.
In this situation, the program codes read from the storage medium may implement any one of the above examples, thus the program codes and the storage medium storing the program codes are part of the technical scheme.
The storage medium for providing the program codes may include floppy disk, hard drive, magneto-optical disk, compact disk (such as CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD+RW), magnetic tape drive, Flash card, ROM and so on. The program code may be downloaded from a server computer via a communication network.
It should be noted that, alternatively to the program codes being executed by a computer, at least part of the operations performed by the program codes may be implemented by an operation system running in a computer following instructions based on the program codes to implement any of the above examples.
In addition, the program codes implemented from a storage medium are written in a storage in an extension board inserted in the computer or in a storage in an extension unit connected to the computer. In this example, a CPU in the extension board or the extension unit executes at least part of the operations according to the instructions based on the program codes to implement any of the above examples. Although described specifically throughout the entirety of the instant disclosure, representative examples of the present disclosure have utility over a wide range of applications, and the above discussion is not intended and should not be construed to be limiting, but is offered as an illustrative discussion of aspects of the disclosure.
What has been described and illustrated herein is an example along with some of its variations. The terms, descriptions and figures used herein are set forth by way of illustration only and are not meant as limitations. Many variations are possible within the spirit and scope of the subject matter, which is intended to be defined by the following claims— and their equivalents— in which all terms are meant in their broadest reasonable sense unless otherwise indicated.

Claims

What is Claimed is:
1. A page switching method comprising: collecting sliding touch signal on a touch screen; analyzing a sliding operation on the touch screen according to the sliding touch signal; determining a page to be displayed when a displacement of the sliding operation in a preset direction reaches a preset threshold value; switching a current page displayed on the touch screen to the page to be displayed.
2. The method of claim 1, wherein the sliding operation comprises contact position, sliding direction and sliding distance on the touch screen.
3. The method of claim 1, wherein the preset direction is divided into a first sub-direction and a second sub-direction which is opposite to the first sub-direction.
4. The method of claim 3, wherein the determining a page to be displayed when a displacement of the sliding operation in a preset direction reaches a preset threshold value comprises: judging whether a displacement direction of the sliding operation is the first sub-direction or the second sub-direction when the displacement of the sliding operation in the preset direction reaches the preset threshold value; determining a next page of the current page displayed on the touch screen as the page to be displayed when the displacement direction of the sliding operation is the first sub-direction; determining a previous page of the current page displayed on the touch screen as the page to be displayed when the displacement direction of the sliding operation is the second sub-direction.
5. The method of claim 4, wherein when the determining a next page of the current page displayed on the touch screen as the page to be displayed when the displacement direction of the sliding operation is the first sub-direction further comprises: judging whether the current page displayed on the touch screen is the last page of the display object; determining the first page of the display object as the page to be displayed when the current page is the last page of the display object; determining the next page of the current page as the page to be displayed when the current page is not the last page of the display object.
6. The method of claim 4, wherein the determining a previous page of the current page displayed on the touch screen as the page to be displayed when the displacement direction of the sliding operation is the second sub-direction further comprises: judging whether the current page displayed on the touch screen is the first page of the display object; determining the last page of the display object as the page to be displayed when the current page is the first page of the display object; determining the previous page of the current page as the page to be displayed when the current page is not the first page of the display object.
7. The method of claim 1, wherein the switching a current page displayed on the touch screen to the page to be displayed further comprises: capturing a picture of the page to be displayed in form of screenshot; playing the captured picture on the touch screen in animation manner.
8. A page switching apparatus comprising: a collection module configured to collect sliding touch signal on a touch screen; an analysis module configured to analyze a sliding operation on the touch screen according to the sliding touch signal; a determination module configured to determine a page to be displayed when a displacement of the sliding operation in a preset direction reaches a preset threshold value; a switching module configured to switch a current page displayed on the touch screen to the page to be displayed.
9. The apparatus of claim 8, wherein the sliding operation comprises contact position, sliding direction and sliding distance on the touch screen.
10. The apparatus of claim 8, wherein the preset direction is divided into a first sub-direction and a second sub-direction which is opposite to the first sub-direction.
11. The apparatus of claim 10, wherein the determination module further comprises: a direction judgment module configured to, when the displacement of the sliding operation in the preset direction reaches the preset threshold value, judge whether a displacement direction of the sliding operation is the first sub-direction or the second sub-direction; a first page determination module configured to, when the displacement direction of the sliding operation is the first sub-direction, determine a next page of the current page displayed on the touch screen as the page to be displayed; a second page determination module configured to, when the displacement direction of the sliding operation is the second sub-direction, determine a previous page of the current page displayed on the touch screen as the page to be displayed.
12. The apparatus of claim 11, wherein the first page determination module further comprises: a first page judgment module configured to judge whether the current page displayed on the touch screen is the last page of the display object; a first page determination sub-module configured to, when the current page is the last page of the display object, determine the first page of the display object as the page to be displayed; a second page determination sub-module configured to, when the current page is not the last page of the display object, determine the next page of the current page as the page to be displayed.
13. The apparatus of claim 11, wherein the second page determination module further comprises: a second page judgment module configured to judge whether the current page displayed on the touch screen is the first page of the display object; a third page determination sub-module configured to, when the current page is the first page of the display object, determine the last page of the display object as the page to be displayed; a fourth page determination sub-module configured to, when the current page is not the first page of the display object, determine the previous page of the current page as the page to be displayed.
14. The apparatus of claim 8, wherein the switching module is further configured to: capture a picture of the page to be displayed in form of screenshot; play the captured picture on the touch screen in animation manner.
15. A terminal device comprising a processor and a memory; wherein the processor and the memory are connected with each other; the memory stores a set of instructions for performing a page switching method, the set of instructions to direct the processor to perform acts of: collecting sliding touch signal on a touch screen when a sliding operation is implemented on the touch screen; judging whether a displacement of the sliding operation in a preset direction reaches a preset threshold value via analyzing the sliding touch signal; determining a page to be displayed when the displacement of the sliding operation in the preset direction reaches the preset threshold value; switching a current page displayed on the touch screen to the page to be displayed before an end of the sliding operation.
PCT/CN2013/086730 2012-11-15 2013-11-08 Method and apparatus for storing webpage access records WO2014075582A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210460120.0A CN103809896B (en) 2012-11-15 2012-11-15 A kind of page switching method and device
CN201210460120.0 2012-11-15

Publications (1)

Publication Number Publication Date
WO2014075582A1 true WO2014075582A1 (en) 2014-05-22

Family

ID=50706752

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/086730 WO2014075582A1 (en) 2012-11-15 2013-11-08 Method and apparatus for storing webpage access records

Country Status (2)

Country Link
CN (1) CN103809896B (en)
WO (1) WO2014075582A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105488051A (en) * 2014-09-17 2016-04-13 腾讯科技(深圳)有限公司 Webpage processing method and apparatus
CN110032308A (en) * 2019-03-15 2019-07-19 努比亚技术有限公司 A kind of page display method, terminal and computer readable storage medium
CN111857452A (en) * 2019-04-25 2020-10-30 北京小米移动软件有限公司 Interface display method, device and storage medium

Families Citing this family (38)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104035681B (en) * 2014-06-30 2017-08-25 可牛网络技术(北京)有限公司 Method and browser that a kind of page is slided
CN104111782B (en) * 2014-07-04 2018-01-12 可牛网络技术(北京)有限公司 The method and browser that a kind of webpage slides
CN104182533B (en) * 2014-08-28 2018-05-08 北京金山安全软件有限公司 Browser label switching method and device and terminal
CN105446640B (en) * 2014-09-30 2019-07-12 上海彩亿信息技术有限公司 A kind of the switching display methods and its system at interface
CN104407774B (en) * 2014-11-21 2018-03-02 厦门美图移动科技有限公司 A kind of screens switch equipment, method and mobile terminal
CN105739843B (en) * 2014-12-08 2019-03-19 阿里巴巴集团控股有限公司 Information displaying method and device, electronic equipment
CN104536652B (en) * 2014-12-10 2018-01-23 广东欧珀移动通信有限公司 A kind of list display method and terminal
CN104536791A (en) * 2014-12-29 2015-04-22 北京奇虎科技有限公司 Page resource loading method and device based on mobile terminal
CN104778198B (en) * 2014-12-30 2020-11-13 北京奇虎科技有限公司 Method and device for checking page information of mobile terminal
CN105843594A (en) * 2015-01-13 2016-08-10 阿里巴巴集团控股有限公司 Method and device for displaying application program page of mobile terminal
CN105988703A (en) * 2015-03-03 2016-10-05 阿里巴巴集团控股有限公司 Business object display method and apparatus
CN104679434A (en) * 2015-03-17 2015-06-03 北京合生共济投资咨询有限责任公司 Method for switching client pages
CN106155524A (en) * 2015-03-23 2016-11-23 阿里巴巴集团控股有限公司 Page control method and device
CN106293432A (en) * 2015-05-26 2017-01-04 深圳市腾讯计算机系统有限公司 A kind of page display processing method and device
CN105183336A (en) * 2015-06-05 2015-12-23 努比亚技术有限公司 Switching method for multimedia interface and terminal thereof
CN105094548A (en) * 2015-07-20 2015-11-25 联想(北京)有限公司 Information processing method and electronic equipment
CN105183327B (en) * 2015-07-30 2019-10-08 努比亚技术有限公司 A kind of method of terminal and terminal operation
CN106527914A (en) * 2015-09-09 2017-03-22 阿里巴巴集团控股有限公司 A page turning method and device and an electronic apparatus
CN105335089A (en) * 2015-10-15 2016-02-17 桂林电子科技大学 Page switch method and device based on intelligent terminal
CN105511729B (en) * 2015-12-16 2019-07-16 魅族科技(中国)有限公司 A kind of page switching control method and mobile terminal
CN105975189A (en) * 2016-04-29 2016-09-28 乐视控股(北京)有限公司 Screen touch sliding method and system of mobile equipment
CN106201313A (en) * 2016-06-30 2016-12-07 宇龙计算机通信科技(深圳)有限公司 A kind of method for information display and system
CN106354404B (en) * 2016-08-15 2019-11-05 合一网络技术(北京)有限公司 Page operation method and device
CN106484286A (en) * 2016-09-26 2017-03-08 广东小天才科技有限公司 A kind of display packing of number of pages labelling and device, terminal unit
CN106775221B (en) * 2016-12-01 2020-05-05 广州视源电子科技股份有限公司 Display method and system for screen page turning process
CN108228044B (en) * 2016-12-15 2021-02-09 北大方正集团有限公司 Method, system and terminal for turning pages in electronic book reading
CN106990907A (en) * 2017-04-05 2017-07-28 深圳天珑无线科技有限公司 A kind of method and device for changing application skins based upon bidding
CN108958595A (en) * 2017-05-24 2018-12-07 北京京东尚科信息技术有限公司 Slide display control method, device, medium and electronic equipment
CN107273031B (en) * 2017-06-23 2020-10-16 阿里巴巴(中国)有限公司 Information flow page loading method and device
CN107562354A (en) * 2017-08-02 2018-01-09 努比亚技术有限公司 A kind of function button interface deployment method, terminal and computer-readable recording medium
JP6667732B2 (en) * 2017-10-11 2020-03-18 三菱電機株式会社 Display control device, display control method, display control program, and electronic device
CN110673775B (en) * 2018-07-02 2022-09-06 北京京东尚科信息技术有限公司 Picture display method and device and terminal
CN109324742B (en) * 2018-07-30 2020-12-18 上海哔哩哔哩科技有限公司 Object display method and device based on interface sliding and storage medium
CN109492178A (en) * 2018-11-05 2019-03-19 腾讯科技(深圳)有限公司 A kind of method and device of switch view
CN110058646A (en) * 2019-03-15 2019-07-26 努比亚技术有限公司 A kind of desktop display method, wearable device and storage medium
CN111580718A (en) * 2020-04-30 2020-08-25 北京字节跳动网络技术有限公司 Page switching method and device of application program, electronic equipment and storage medium
CN112732394A (en) * 2021-01-22 2021-04-30 深圳市欧瑞博科技股份有限公司 Intelligent control method and device for interface display, electronic equipment and storage medium
CN115421634A (en) * 2021-05-14 2022-12-02 华为技术有限公司 Interface display method and system and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101281443A (en) * 2008-05-13 2008-10-08 宇龙计算机通信科技(深圳)有限公司 Page switching method, system as well as mobile communication terminal
CN101398739A (en) * 2007-09-25 2009-04-01 博思天地(北京)科技有限公司 Page browsing method, device based on touch screen and mobile communication terminal thereof
CN101976169A (en) * 2010-10-22 2011-02-16 鸿富锦精密工业(深圳)有限公司 Electronic reading device and page turning method thereof

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI366776B (en) * 2008-04-21 2012-06-21 Htc Corp Operating method and system and stroage device using the same
DE602008006738D1 (en) * 2008-10-29 2011-06-16 Giga Byte Comm Inc A method and apparatus for switching a touch screen of a portable electronic device
CN101923425B (en) * 2009-06-10 2012-10-31 中国移动通信集团公司 Method and device thereof for realizing window switching based on sliding terminal screen
CN102221966B (en) * 2011-05-20 2013-12-25 广州市动景计算机科技有限公司 Content browsing method and device based on sliding operation on touch screen of mobile terminal
CN102520864A (en) * 2011-12-16 2012-06-27 北京新媒传信科技有限公司 Method for continuously playing images and device
CN102662598A (en) * 2012-04-25 2012-09-12 深圳市中兴移动通信有限公司 Session checking method and session checking device based on gesture sliding and intelligent touch screen terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101398739A (en) * 2007-09-25 2009-04-01 博思天地(北京)科技有限公司 Page browsing method, device based on touch screen and mobile communication terminal thereof
CN101281443A (en) * 2008-05-13 2008-10-08 宇龙计算机通信科技(深圳)有限公司 Page switching method, system as well as mobile communication terminal
CN101976169A (en) * 2010-10-22 2011-02-16 鸿富锦精密工业(深圳)有限公司 Electronic reading device and page turning method thereof

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105488051A (en) * 2014-09-17 2016-04-13 腾讯科技(深圳)有限公司 Webpage processing method and apparatus
CN110032308A (en) * 2019-03-15 2019-07-19 努比亚技术有限公司 A kind of page display method, terminal and computer readable storage medium
CN111857452A (en) * 2019-04-25 2020-10-30 北京小米移动软件有限公司 Interface display method, device and storage medium
CN111857452B (en) * 2019-04-25 2022-06-17 北京小米移动软件有限公司 Interface display method, device and storage medium

Also Published As

Publication number Publication date
CN103809896A (en) 2014-05-21
CN103809896B (en) 2018-11-09

Similar Documents

Publication Publication Date Title
WO2014075582A1 (en) Method and apparatus for storing webpage access records
US20200058270A1 (en) Bullet screen display method and electronic device
JP5947131B2 (en) Search input method and system by region selection method
CN106156066B (en) Page switching method, device and client
KR102047568B1 (en) Measuring web page rendering time
CN108170342B (en) Application program interface display method and device, terminal and readable storage medium
CN104834637B (en) Webpage picture display method and device
US20140082498A1 (en) Method and mobile terminal device for independently playing a video
CN111857508B (en) Task management method and device and electronic equipment
CN105791352B (en) Message pushing method and system for application
CN103914523A (en) Page rollback controlling method and page rollback controlling device
CN105095221B (en) The method and its device of information record are searched in a kind of touch screen terminal
CN108984094B (en) Switch method, apparatus, terminal device and the storage medium of global special efficacy
US20180181295A1 (en) Method for displaying information, and terminal equipment
CN108121493B (en) Display control method and related product
CN103425382B (en) Icon lookup method, device and terminal
WO2017193639A1 (en) Method and apparatus for displaying application program icon, and electronic device
CN112416201B (en) Application cache cleaning method and device, electronic equipment and medium
CN112667118A (en) Method, apparatus and computer readable medium for displaying historical chat messages
US9959010B1 (en) Method for displaying information, and terminal equipment
CN110618904A (en) Stuck detection method and device
CN104424270B (en) Picture display method and device
US20160085408A1 (en) Information processing method and electronic device thereof
CN104537049A (en) Picture browsing method and device
CN112181252B (en) Screen capturing method and device and electronic equipment

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13854544

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205N DATED 25.09.2015)

122 Ep: pct application non-entry in european phase

Ref document number: 13854544

Country of ref document: EP

Kind code of ref document: A1