WO2015043185A1 - Browsing and page turning method and device - Google Patents

Browsing and page turning method and device Download PDF

Info

Publication number
WO2015043185A1
WO2015043185A1 PCT/CN2014/076785 CN2014076785W WO2015043185A1 WO 2015043185 A1 WO2015043185 A1 WO 2015043185A1 CN 2014076785 W CN2014076785 W CN 2014076785W WO 2015043185 A1 WO2015043185 A1 WO 2015043185A1
Authority
WO
WIPO (PCT)
Prior art keywords
page turning
terminal device
angle
motion vector
preset
Prior art date
Application number
PCT/CN2014/076785
Other languages
French (fr)
Chinese (zh)
Inventor
樊邵婷
李东原
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2015043185A1 publication Critical patent/WO2015043185A1/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/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
    • 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
    • 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/017Gesture based interaction, e.g. based on a set of recognized hand gestures
    • 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/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0483Interaction with page-structured environments, e.g. book metaphor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2200/00Indexing scheme relating to G06F1/04 - G06F1/32
    • G06F2200/16Indexing scheme relating to G06F1/16 - G06F1/18
    • G06F2200/163Indexing scheme relating to constructional details of the computer
    • G06F2200/1637Sensing arrangement for detection of housing movement or orientation, e.g. for controlling scrolling or cursor movement on the display of an handheld computer
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/038Indexing scheme relating to G06F3/038
    • G06F2203/0381Multimodal input, i.e. interface arrangements enabling the user to issue commands by simultaneous use of input devices of different nature, e.g. voice plus gesture on digitizer

Definitions

  • the embodiments of the present invention relate to communication technologies, and in particular, to a method and device for browsing pages. Background technique
  • the embodiment of the invention provides a method and a device for browsing and turning pages, which are used for quickly and efficiently implementing page turning and simplifying operations.
  • the first aspect provides a method for browsing page turning, including:
  • the receiving a page turning instruction includes:
  • the page turning instruction is issued when the angle between the angles is greater than or equal to the preset first trigger threshold.
  • the preset correspondence between the angle of the angle and the page turning speed includes: the larger the angle, the greater the page turning speed; or, the larger the angle , the page turning speed is smaller.
  • the method further includes: after receiving the stop instruction, stopping page turning of the file displayed by the terminal device.
  • the receiving the stop instruction includes:
  • the stop command issued by the second preset direction is smaller than the preset first trigger threshold.
  • the motion vector comprises a speed vector or an acceleration vector of the terminal device.
  • the second aspect provides a terminal device, including: a receiving module, configured to receive a page turning instruction; and an acquiring module, configured to acquire motion information of the terminal device after the receiving module receives the page turning instruction, The motion information of the terminal device extracts a motion vector; the determining module is configured to determine an angle between the direction of the motion vector and the first preset direction according to the motion vector acquired by the acquiring module; a module, configured to determine, according to a preset correspondence relationship between the angle of the angle and the page turning speed, a page turning speed corresponding to an angle between the direction of the motion vector and the first preset direction, and determine the page turning speed Turning the page displayed by the terminal device.
  • the receiving module is specifically configured to receive the page turning instruction that is sent by a user by using a voice; or
  • the receiving module is specifically configured to receive the page turning instruction that is sent by a user through a trigger area on a touch screen of the terminal device; or the receiving module is specifically configured to receive the user that rotates the terminal device and rotates the
  • the page turning instruction issued by the terminal device and the second preset direction is greater than or equal to a preset first trigger threshold.
  • the larger the angle, the preset of the angle and the page turning speed Correspondences include: The larger the angle, the greater the page turning speed; or, the larger the angle, the lower the page turning speed.
  • the determining module is further used to Determining whether an angle between the direction of the motion vector and the first preset direction is greater than a preset second trigger threshold;
  • the page turning control module is specifically configured to determine, in the determining module, the motion vector Determining a page turning speed corresponding to an angle between the direction of the motion vector and the first preset direction when the angle between the direction and the first preset direction is greater than the second trigger threshold, and determining The page turning speed is page turning of a file displayed by the terminal device.
  • the receiving module is further configured to receive a stop instruction
  • the page turning control module further uses After the receiving module receives the stop instruction, stopping page turning of the file displayed by the terminal device.
  • the receiving module is specifically configured to receive the stop instruction that is sent by a user by using a voice; or the receiving module Specifically, the receiving module is configured to receive the stop command that is sent by a user through a trigger area on a touch screen of the terminal device; or the receiving module is specifically configured to receive, by the user, the terminal device and rotate the terminal device and the second device The stop command issued by the angle between the preset directions being smaller than the preset first trigger threshold.
  • the motion vector includes a speed vector or an acceleration vector of the terminal device.
  • the method and device for browsing and paging provided by the embodiment of the present invention acquires motion information of the terminal device after receiving the page turning instruction, extracts a motion vector from the acquired motion information, and determines a direction of the motion vector and a first preset direction.
  • FIG. 1 is a flowchart of a method for browsing page turning according to an embodiment of the present invention
  • FIG. 2A is a schematic diagram of an X, Y, and ⁇ directions of a terminal device according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of an acceleration vector of a terminal device according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of an angle between a terminal device and a horizontal positive direction according to an embodiment of the present invention
  • FIG. 5 is a flowchart of still another method for browsing page turning according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of a terminal device according to an embodiment of the present invention
  • FIG. 7 is a schematic structural diagram of another terminal device according to an embodiment of the present invention. detailed description
  • FIG. 1 is a flowchart of a method for browsing page turning according to an embodiment of the present invention. As shown in FIG. 1, the method includes:
  • a page turning instruction may be issued to the terminal device. After receiving the page turning instruction issued by the user, the terminal device knows that the user needs to page the current browsing content. After receiving the page turning instruction, the terminal device acquires motion information of the terminal device, and further extracts a motion vector from the acquired motion information, and then determines, according to the extracted motion vector, a direction between the motion vector and the first preset direction.
  • the motion vector according to the embodiment of the present invention may be, but not limited to, a speed vector or an acceleration vector of the terminal device.
  • the extracted motion vector is specifically an acceleration vector of the terminal device.
  • the terminal device has an accelerometer for determining the acceleration vector of the terminal device.
  • the accelerometer is mainly used to detect the magnitude of the acceleration received by the terminal device in three directions.
  • the three directions are the three directions on the terminal device, and the terminal device is in the vertical position, and the terminal device is long.
  • the three sides are perpendicular to each other and can be recorded as X, ⁇ , ⁇ .
  • the three directions of X, ⁇ , and ⁇ on the terminal device are as shown in FIG. 2A.
  • the acceleration vector obtained by the accelerometer is (0, -1, 0) with the direction of the X, ⁇ , and ⁇ directions shown in FIG. 2A, and the direction is directed to the center of the earth;
  • the acceleration vector obtained by the accelerometer becomes (1, 0, 0).
  • the first preset direction is not limited in the embodiments of the present invention, and may be specifically set according to actual applications. In an optional implementation manner, the first preset direction may be a horizontal positive direction, but is not limited thereto. This.
  • the horizontal positive direction can be defined in the following manner: Considering that the accelerometer is based on the X, ⁇ , ⁇ directions of the terminal device to determine the acceleration vector of the terminal device; since the acceleration vector is determined based on the gravity of the terminal device Therefore, in this embodiment, the direction perpendicular to the direction of gravity is the horizontal direction, that is, the horizontal direction described in the nature, and a certain direction in the horizontal direction is predetermined to be a positive direction, so as to be defined based on the horizontal positive direction.
  • the inclination of the terminal device As shown in FIG. 3A, it is a schematic diagram of the angle a between the terminal device and the horizontal positive direction.
  • the preset correspondence relationship between the above-mentioned angle and the page turning speed may be: the larger the angle is, the larger the page turning speed is; or the larger the angle is, the smaller the page turning speed is, but is not limited thereto.
  • the file displayed by the terminal device is turned over at a determined page turning speed, and the file may be a text file, a photo file, a video file, a music file, but is not limited thereto.
  • the page turning speed can be changed by adjusting the angle between the direction of the motion vector of the terminal device and the first predetermined direction, for example, the horizontal positive direction, Flexible, easy to implement, and efficient.
  • receiving the page turning instruction includes: receiving a page turning instruction issued by the user by voice.
  • a trigger area can be set on the touch screen of the terminal device, and the user can issue a page turning instruction, and the user can issue a page turning instruction through the trigger area on the touch screen, for example, by clicking, double clicking, touching or sliding.
  • the page instruction based on the receiving the page turning instruction, comprises: receiving the page turning instruction issued by the user through a trigger area on the touch screen of the terminal device.
  • the user can issue a page turning instruction by rotating the terminal device, for example, when the terminal device is rotated to a certain angle (the certain angle can be referred to as a first trigger threshold), which is equivalent to issuing a page turning instruction, based on which, the page turning is received.
  • Instructions include: Receiving user rotation And the page turning instruction issued by the end device and the angle between the rotated terminal device and the second preset direction is greater than or equal to a preset first trigger threshold.
  • the second preset direction may be the same as the first preset direction, or may be other directions different from the first preset direction, and is not specifically limited.
  • FIG. 4 is a flowchart of another method for browsing page turning according to an embodiment of the present invention. As shown in FIG. 4, the method includes:
  • Filter out interference components included in the motion vector and perform angle conversion on the motion vector that filters the interference component by using the first preset direction as a reference, and determine a direction between the direction of the motion vector and the first preset direction. Angle.
  • the page turning speed corresponding to the angle between the direction of the motion vector and the first preset direction is determined, and the determined page turning is determined.
  • the speed turns the page displayed on the terminal device.
  • the motion vector of the terminal device may contain interference components.
  • the interference components described here are usually high-frequency interference components.
  • the interference component contained in the motion vector may be filtered out, and then the motion vector filtering the interference component is angled based on the first preset direction.
  • the determining, determining an angle between a direction of the motion vector of the terminal device and the first preset direction is beneficial to improving the accuracy of the determined angle.
  • the manner of filtering out the interference component contained in the motion vector may be different.
  • the interference component is primarily a high frequency component
  • the motion vector can be low pass filtered to filter out the interference components contained in the motion vector.
  • the low pass filtering described herein may be a software-style low-pass filter or a hardware-based low-pass filter.
  • FIG. 5 is a flowchart of still another method for browsing page turning according to an embodiment of the present invention. As shown in FIG. 5, the method includes: 501. After receiving the page turning instruction, obtain motion information of the terminal device, and extract motion vectors from motion information of the terminal device.
  • the page turning speed corresponding to the angle between the direction of the motion vector and the first preset direction is determined according to the preset correspondence relationship between the angle of the angle and the page turning speed, and the page turning is determined.
  • the terminal device stops the page turning operation of the file displayed by the terminal device.
  • the terminal device can be controlled to stop page turning by issuing a stop command.
  • the manner in which the user issues the stop command can be referred to the manner in which the user issues a page turning command.
  • the user can issue the stop command by voice, or the user can issue the stop command through the trigger area on the touch screen of the terminal device;
  • the user can rotate the terminal device and cause the stop command to be generated when the angle between the rotated terminal device and the second preset direction is less than a preset first trigger threshold.
  • the browsing page turning method provided by the embodiment of the present invention can be applied to a browsing terminal device.
  • a browsing terminal device In the process of calendar, notepad, memo, message book, etc., it has broad application prospects.
  • the browsing and paging method provided by the embodiment of the present invention has low requirements on the terminal device, and can be widely applied to various terminal devices, for example, a touch screen terminal device, a non-touch screen terminal device, or a terminal device without a screen.
  • FIG. 6 is a schematic structural diagram of a terminal device according to an embodiment of the present invention.
  • the terminal device includes: a receiving module 61, an obtaining module 62, a determining module 63, and a page turning control module 64.
  • the receiving module 61 is configured to receive a page turning instruction.
  • the obtaining module 62 is configured to acquire motion information of the terminal device after the receiving module 61 receives the page turning instruction, and extract a motion vector from the motion information of the terminal device.
  • the determining module 63 is configured to determine an angle between the direction of the motion vector and the first preset direction according to the motion vector acquired by the obtaining module 62.
  • the page turning control module 64 is configured to determine, according to a preset correspondence relationship between the angle of the angle and the page turning speed, the page turning corresponding to the angle between the direction of the motion vector determined by the determining module 63 and the first preset direction The speed, and the determined page turning speed, page through the files displayed by the terminal device.
  • the motion vector involved in this embodiment may include: a speed vector or an acceleration vector of the terminal device, but is not limited thereto.
  • the terminal device may further include an accelerometer.
  • the obtaining module 62 is configured to acquire the motion information of the terminal device after the receiving module 61 receives the page turning instruction, and extract the motion vector from the motion information of the terminal device, where the acquiring module 62 is specifically configured to receive at the receiving module 61.
  • the motion information of the terminal device may be acquired by an accelerometer on the terminal device, and the acceleration vector of the terminal device is extracted from the motion information, wherein the acceleration vector is an accelerometer according to three directions on the terminal device.
  • the three directions on the terminal device are determined based on the long side or the short side of the terminal device in a state in which the terminal device is placed vertically, and the three directions are perpendicular to each other, and can be recorded as X and Y.
  • in the embodiment, the three directions of X, ⁇ , and ⁇ on the terminal device are as shown in FIG. 2A.
  • the first predetermined direction may be a horizontal positive direction.
  • the horizontal positive direction refers to a certain direction preset in a direction perpendicular to the direction of gravity. For details, refer to the method implementation.
  • the file displayed by the terminal device is turned over at a determined page turning speed, and the file may be a text file, a photo file, a video file, a music file, but is not limited thereto.
  • the receiving module 61 is specifically configured to receive the page turning instruction issued by the user by voice. Alternatively, the receiving module 61 is specifically configured to receive the page turning instruction issued by a user through a trigger area on a touch screen of the terminal device. Alternatively, the receiving module 61 is specifically configured to receive, by the user, rotating the terminal device and causing the angle between the rotated terminal device and the second preset direction to be greater than or equal to a preset first trigger threshold. Turn page instructions. It is to be noted that the second preset method may be the same as the first preset direction, or may be a method different from the first preset direction, and is not limited in detail. In an optional implementation manner, the preset correspondence relationship between the angle of the angle and the page turning speed may be: the larger the angle, the larger the page turning speed, or the larger the angle, the smaller the page turning speed.
  • the motion vector acquired by the acquisition module 62 includes an interference component.
  • the determining module 63 is specifically configured to filter out interference components included in the motion vector, and perform angle conversion on the motion vector of the filtering interference component based on the first preset direction, and determine the direction of the motion vector and the first preset. The angle between the directions.
  • the determining module 63 performs angle conversion on the motion vector for filtering the interference component, and determines the angle between the direction of the motion vector and the first preset direction, which is advantageous for improving the accuracy of the determined angle.
  • the determining module 63 is further configured to determine, between the direction of the motion vector determined by the determining module 63 and the first preset direction, according to a preset correspondence relationship between the angle of the angle and the page turning speed. Whether the angle between the direction of the motion vector and the first preset direction is greater than a preset value before the page turning speed is determined by the angle corresponding to the page turning speed and the page turning speed is determined.
  • the second trigger threshold corresponds the page turning control module 64 is specifically configured to determine the movement when the determining module 63 determines that the angle between the direction of the motion vector and the first preset direction is greater than a preset second triggering threshold.
  • the page turning speed corresponding to the angle between the direction of the vector and the first preset direction, and the document displayed by the terminal device is turned over at the determined page turning speed.
  • the page turning control module 64 determines the direction between the direction of the motion vector and the first preset direction only when the angle between the direction of the motion vector and the first preset direction is greater than the preset second trigger threshold.
  • the page turning speed corresponding to the angle, and determining the page turning speed to the file displayed by the terminal device Page turning is beneficial to reduce unnecessary page turning operations caused by slight shaking of the terminal device.
  • the receiving module 61 is further configured to receive a stop instruction.
  • the page turning control module 64 is further configured to stop page turning of the file displayed by the terminal device after the receiving module 61 receives the stopping instruction.
  • the receiving module 61 may receive the stop command by using the following methods: The receiving module 61 is specifically configured to receive the stop command sent by the user by using a voice; or the receiving module 61 is specifically configured to receive the user through the terminal device. The stop command issued by the trigger area on the touch screen; or
  • the receiving module 61 is specifically configured to receive the stop command issued by the user rotating the terminal device and causing an angle between the rotated terminal device and the second preset direction to be less than a preset first trigger threshold.
  • the terminal device provided in this embodiment may be a device such as a mobile phone or an ipad having functions such as browsing a calendar, a notepad, a memo, a guestbook, and the like.
  • the function modules of the terminal device provided in this embodiment may be used to perform the process of the method embodiment shown in FIG. 1 or FIG. 4 or FIG. 5, and the specific working principle is not described here. For details, refer to the description of the method embodiment.
  • the terminal device provided in this embodiment acquires motion information of the terminal device after receiving the page turning instruction, extracts a motion vector from the acquired motion information, and determines an angle between a direction of the motion vector and the first preset direction.
  • FIG. 7 is a schematic structural diagram of another terminal device according to an embodiment of the present invention.
  • the terminal device includes: an input device 71, a processor 72, and a memory 73.
  • the input device 71 is configured to receive a page turning instruction.
  • the input device 71 may specifically be an input/output (I/O) interface, a wireless-fidelity (Wi-Fi) communication interface, a Bluetooth communication interface, Ethernet communication interface, Universal Serial Bus (USB) communication interface, etc., but not limited to this.
  • I/O input/output
  • Wi-Fi wireless-fidelity
  • Bluetooth Bluetooth communication interface
  • Ethernet Ethernet communication interface
  • USB Universal Serial Bus
  • the memory 73 may include a Read-Only Memory (ROM) and a Random Access Memory (RAM), and provides instructions and data to the processor 72. A portion of the memory 73 may also include a Non-Volat Ile Random Access Memory (NVRAM).
  • the memory 73 stores the following elements, executable modules or data structures, or a subset thereof, or an extended set thereof: Operational instructions: Includes various operational instructions for implementing various operations. Operating System: Includes a variety of system programs for implementing basic services and handling hardware-based tasks.
  • the processor 72 performs the following operations by calling an operation instruction stored in the memory 73 (the operation instruction can be stored in the operating system): after the input device 71 receives the page turning instruction, acquiring the terminal device The motion information, extracting a motion vector from the motion information of the terminal device; determining an angle between the direction of the motion vector and the first preset direction according to the motion vector; according to the angle of the angle and the page turning speed Determining a correspondence relationship, determining a page turning speed corresponding to an angle between the direction of the motion vector and the first preset direction, and page turning the file displayed by the terminal device at the determined page turning speed.
  • the processor 72 can control the operation of the terminal device, and the processor 72 can also be referred to as a central processing unit (CPU).
  • Memory 73 can include read only memory and random access memory and provides instructions and data to processor 72. A portion of the memory 73 may also include non-volatile random access memory (NVRAM).
  • NVRAM non-volatile random access memory
  • the components of the terminal device are coupled together by a bus system 75.
  • the bus system 75 may include a power bus, a control bus, a status signal bus, and the like in addition to the data bus. However, for clarity of description, various buses are labeled as bus system 75 in the figure.
  • the method disclosed in the foregoing embodiments of the present invention may be applied to the processor 72 or implemented by the processor 72.
  • Processor 72 may be an integrated circuit chip with signal processing capabilities.
  • each step of the above method may be through an integrated logic circuit of hardware in the processor 72 or The instructions in the form of software are completed.
  • the processor 72 described above may be a general purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware. Component.
  • the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
  • the steps of the method disclosed in the embodiments of the present invention may be directly implemented as a hardware decoding processor, or may be performed by a combination of hardware and software modules in the decoding processor.
  • the software modules can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like.
  • the storage medium is located in the memory 73.
  • the processor 72 reads the information in the memory 73 and combines the hardware to complete the steps of the above method.
  • the motion vector involved in this embodiment may include: a speed vector or an acceleration vector of the terminal device, but is not limited thereto.
  • the terminal device further includes an accelerometer 74, configured to detect a magnitude of acceleration received by the terminal device in three directions, where the three directions are terminal devices.
  • the upper three directions are determined based on the long side or the short side of the terminal device in a state in which the terminal device is placed vertically, and the three directions are perpendicular to each other, and can be recorded as X, Y, ⁇ , and In the embodiment, the three directions of X, ⁇ , and ⁇ on the terminal device are as shown in FIG. 2A.
  • the processor 72 acquires the motion information of the terminal device, and extracts the motion vector from the motion information of the terminal device, including: the processor 72 may acquire the motion information of the terminal device by using the accelerometer 74, and the motion information of the slave terminal device. Extract the acceleration vector of the terminal device.
  • the first preset direction may be a horizontal positive direction, but is not limited thereto.
  • the horizontal positive direction refers to a certain direction set in a direction perpendicular to the direction of gravity, and may be specifically referred to in the method embodiment.
  • the file displayed by the terminal device is turned over at a determined page turning speed, and the file may be a text file, a photo file, a video file, a music file, but is not limited thereto.
  • the terminal device may include: a voice input and output device 76.
  • the voice input/output device 76 is configured to receive the page turning instruction issued by the user by voice.
  • the input device 71 is specifically operable to receive, by the voice input/output device 76, the page turning instruction issued by the user by voice.
  • the terminal device may include: a display device 77.
  • the display device includes a touch screen, and the touch screen is used for a touch operation by a user in addition to the display function.
  • the input device 71 is specifically configured to receive the page turning instruction issued by the user through the trigger area on the touch screen of the terminal device.
  • the input device 71 is specifically configured to receive, by the user, the terminal device, and the angle between the rotated terminal device and the second preset direction is greater than or equal to a preset first trigger. The page turning instruction issued by the threshold.
  • the second preset method may be the same as the first preset direction, or may be a method different from the first preset direction, and is not specifically limited.
  • the preset correspondence relationship between the angle of the angle and the page turning speed may be: the larger the angle, the larger the page turning speed, or the larger the angle, the smaller the page turning speed.
  • the terminal device may further include a power module 78 and the like.
  • the extracted motion vector comprises an interference component.
  • the processor 72 is specifically configured to filter out the interference component included in the motion vector, and perform angle conversion on the motion vector that filters the interference component based on the first preset direction, and determine the direction of the motion vector and the first preset direction. The angle between.
  • the processor 72 performs angle conversion on the motion vector that filters out the interference component, and determines an angle between the direction of the motion vector and the first preset direction, which is beneficial to improving the accuracy of the determined angle.
  • the processor 72 is further configured to determine, according to a preset correspondence relationship between the angle of the angle and the page turning speed, an angle corresponding to an angle between the direction of the motion vector and the first preset direction. Determining whether an angle between the direction of the motion vector and the first preset direction is greater than a preset second trigger before turning a page speed and determining a page turning speed to page the file displayed by the terminal device Threshold.
  • the processor 72 is configured to determine, according to a preset correspondence relationship between the angle of the angle and the page turning speed, a page turning speed corresponding to an angle between the direction of the motion vector and the first preset direction, and determine the turning speed
  • the page speed is used to page the file displayed by the terminal device, and the processor 72 is specifically configured to determine that an angle between the direction of the motion vector and the first preset direction is greater than a preset second trigger gate. Limiting the time, according to the preset correspondence relationship between the angle of the angle and the page turning speed, determining the page turning speed corresponding to the angle between the direction of the motion vector and the first preset direction, and determining the page turning Speed scans the file displayed by the terminal device.
  • the processor 72 determines the angle between the direction of the motion vector and the first preset direction only when the angle between the direction of the motion vector and the first preset direction is greater than the preset second trigger threshold. Corresponding page turning speed, and the determined turning The page speed flips the page displayed by the terminal device, which is beneficial to reduce unnecessary page turning operations caused by the terminal device being slightly shaken.
  • the input device 71 is also operative to receive a stop command.
  • the processor 72 is further configured to stop page turning of the file displayed by the terminal device after the input device 71 receives the stop instruction.
  • the input device 71 can receive the stop command by using the following methods: The input device 71 is specifically configured to receive, by the voice input and output device 76, the stop command sent by the user by using a voice; or the input device 71 is specifically configured to receive the user. The stop command issued by the trigger area on the touch screen of the terminal device; or the input device 71 is specifically configured to receive a rotation between the terminal device and the second preset direction The stop command is issued when the angle is less than a preset first trigger threshold.
  • the terminal device provided in this embodiment may be a device such as a mobile phone or an ipad having functions such as browsing a calendar, a notepad, a memo, a guestbook, and the like.
  • the terminal device provided in this embodiment may be used to perform the process of the method embodiment shown in FIG. 1 or FIG. 4 or FIG. 5. The specific working principle is not described here. For details, refer to the description of the method embodiment.
  • the terminal device provided in this embodiment acquires motion information of the terminal device after receiving the page turning instruction, extracts a motion vector from the acquired motion information, and determines an angle between a direction of the motion vector and the first preset direction.
  • the displayed document is turned over, and the automatic page turning can be realized due to the angle between the direction of the motion vector of the terminal device and the first preset direction, and the page turning speed can also be changed by adjusting the angle of the angle. It does not need to slide on the touch screen with fingers as in the prior art, and has the advantages of fast page turning speed, high efficiency, and simple operation. It will be understood by those skilled in the art that all or part of the steps of implementing the above method embodiments may be performed by hardware related to the program instructions.
  • the aforementioned program can be stored in a computer readable storage medium.
  • the program when executed, performs the steps including the above method embodiments;
  • the foregoing storage medium includes: various media that can store program codes, such as ROM, RAM, disk or optical disk.

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)
  • Telephone Function (AREA)

Abstract

A browsing and page turning method and device. The method comprises: after a page turning instruction is received, acquiring motion information about a terminal device, and extracting a motion vector from the acquired motion information; according to the motion vector, determining an included angle between a direction of the motion vector and a first pre-set direction; and according to a pre-set corresponding relationship between the size of the included angle and a page turning speed, determining a page turning speed corresponding to the included angle between the direction of the motion vector and the first pre-set direction, and conducting page turning on a file displayed on the terminal device based on the determined page turning speed. The technical solution of the browsing and page turning method and device can quickly and efficiently realize browsing and page turning, thereby simplifying an operation.

Description

浏览翻页方法及设备  Browse page turning methods and equipment
技术领域 Technical field
本发明实施例涉及通信技术, 尤其涉及一种浏览翻页方法及设备。 背景技术  The embodiments of the present invention relate to communication technologies, and in particular, to a method and device for browsing pages. Background technique
在电子产品的使用中, 许多情况下都需要浏览翻页, 例如看照片、 看电 子书等。 现有浏览翻页的方法是用户用手指在电子产品的触摸屏上滑动, 实 现翻页。 这种操作方式速度慢, 效率低, 且操作不便。 发明内容  In the use of electronic products, in many cases, you need to browse through pages, such as looking at photos, reading e-books, and so on. The existing method of browsing pages is to slide the page on the touch screen of the electronic product with a finger to achieve page turning. This mode of operation is slow, inefficient, and inconvenient to operate. Summary of the invention
本发明实施例提供一种浏览翻页方法及设备, 用以快速、 高效地实现浏 览翻页, 简化操作。 第一方面提供一种浏览翻页方法, 包括:  The embodiment of the invention provides a method and a device for browsing and turning pages, which are used for quickly and efficiently implementing page turning and simplifying operations. The first aspect provides a method for browsing page turning, including:
在接收到翻页指令后, 获取终端设备的运动信息, 从所述终端设备的运 动信息提取运动向量; 根据所述运动向量, 确定所述运动向量的方向与第一预设方向之间的夹 角;  After receiving the page turning instruction, acquiring motion information of the terminal device, extracting a motion vector from the motion information of the terminal device, and determining, according to the motion vector, a clip between the direction of the motion vector and the first preset direction Horn
按照夹角大小和翻页速度的预设对应关系, 确定与所述运动向量的方向 与第一预设方向之间的夹角对应的翻页速度, 并以确定的翻页速度对所述终 端设备显示的文件进行翻页。 结合第一方面, 在第一方面的第一种可能的实现方式中, 所述接收翻页 指令, 包括:  Determining, according to a preset correspondence relationship between the angle of the angle and the page turning speed, a page turning speed corresponding to an angle between the direction of the motion vector and the first preset direction, and determining the page turning speed to the terminal The file displayed by the device is turned over. In conjunction with the first aspect, in a first possible implementation manner of the first aspect, the receiving a page turning instruction includes:
接收用户通过语音发出的所述翻页指令; 或者  Receiving the page turning instruction issued by the user by voice; or
接收用户通过所述终端设备的触摸屏上的触发区域发出的所述翻页指 令; 或者 接收用户转动所述终端设备并使转动后的所述终端设备与第二预设方向 之间的夹角大于或等于预设的第一触发门限而发出的所述翻页指令。 结合第一方面或第一方面的第一种可能的实现方式, 所述夹角大小和翻 页速度的预设对应关系包括: 夹角越大, 翻页速度越大; 或者, 夹角越大, 翻页速度越小。 Receiving, by the user, the page turning instruction issued by the trigger area on the touch screen of the terminal device; or receiving the user rotating the terminal device and rotating the terminal device with a second preset direction The page turning command is issued when the angle between the angles is greater than or equal to the preset first trigger threshold. In combination with the first aspect or the first possible implementation manner of the first aspect, the preset correspondence between the angle of the angle and the page turning speed includes: the larger the angle, the greater the page turning speed; or, the larger the angle , the page turning speed is smaller.
结合第一方面或第一方面的第一种可能的实现方式或第一方面的第二种 可能的实现方式, 在第一方面的第三种可能的实现方式中, 所述按照夹角大 小和翻页速度的预设对应关系, 确定与所述运动向量的方向与第一预设方向 之间的夹角对应的翻页速度, 并以确定的翻页速度对所述终端设备显示的文 件进行翻页之前, 所述方法还包括: 判断所述运动向量的方向与第一预设方 向之间的夹角是否大于预设的第二触发门限; 在判断所述运动向量的方向与第一预设方向之间的夹角大于所述第二触 发门限时, 才确定与所述运动向量的方向与第一预设方向之间的夹角对应的 翻页速度, 并以确定的所述翻页速度对所述终端设备显示的文件进行翻页。 结合第一方面或第一方面的第一种可能的实现方式或第一方面的第二种 可能的实现方式或第一方面的第三种可能的实现方式, 在第一方面的第四种 可能的实现方式中, 所述方法还包括: 在接收到停止指令后, 停止对所述终端设备显示的文件进行翻页。 结合第一方面的第四种可能的实现方式, 在第一方面的第五种可能的实 现方式中, 所述接收停止指令, 包括:  With reference to the first aspect, or the first possible implementation manner of the first aspect, or the second possible implementation manner of the first aspect, in a third possible implementation manner of the first aspect, a preset correspondence relationship of the page turning speed, determining a page turning speed corresponding to an angle between the direction of the motion vector and the first preset direction, and determining the file displayed by the terminal device by the determined page turning speed Before the page is turned, the method further includes: determining whether an angle between the direction of the motion vector and the first preset direction is greater than a preset second trigger threshold; determining the direction of the motion vector and the first pre- And determining, when the angle between the directions is greater than the second trigger threshold, determining a page turning speed corresponding to an angle between the direction of the motion vector and the first preset direction, and determining the page turning Speed scans the file displayed by the terminal device. In combination with the first aspect or the first possible implementation of the first aspect or the second possible implementation of the first aspect or the third possible implementation of the first aspect, the fourth possibility in the first aspect In an implementation manner, the method further includes: after receiving the stop instruction, stopping page turning of the file displayed by the terminal device. In conjunction with the fourth possible implementation of the first aspect, in the fifth possible implementation manner of the first aspect, the receiving the stop instruction includes:
接收用户通过语音发出的所述停止指令; 或者 接收用户通过所述终端设备的触摸屏上的触发区域发出的所述停止指 令; 或者 接收用户转动所述终端设备并使转动后的所述终端设备与第二预设方向 之间的夹角小于预设的第一触发门限而发出的所述停止指令。  Receiving the stop command issued by the user by voice; or receiving the stop instruction sent by the user through a trigger area on the touch screen of the terminal device; or receiving the user rotating the terminal device and rotating the terminal device The stop command issued by the second preset direction is smaller than the preset first trigger threshold.
结合第一方面或第一方面的第一种可能的实现方式或第一方面的第二种 可能的实现方式或第一方面的第三种可能的实现方式或第一方面的第四种可 能的实现方式或第一方面的第五种可能的实现方式, 在第一方面的第六种可 能的实现方式中,所述运动向量包括所述终端设备的速度向量或加速度向量。 第二方面提供一种终端设备, 包括: 接收模块, 用于接收翻页指令; 获取模块, 用于在所述接收模块接收到所述翻页指令后, 获取所述终端 设备的运动信息, 从所述终端设备的运动信息提取运动向量; 确定模块, 用于根据所述获取模块获取的所述运动向量, 确定所述运动 向量的方向与第一预设方向之间的夹角; 翻页控制模块, 用于按照夹角大小和翻页速度的预设对应关系, 确定与 所述运动向量的方向与第一预设方向之间的夹角对应的翻页速度, 并以确定 的翻页速度对所述终端设备显示的文件进行翻页。 结合第二方面, 在第二方面的第一种可能的实现方式中, 所述接收模块 具体用于接收用户通过语音发出的所述翻页指令; 或者 Combining the first aspect or the first possible implementation of the first aspect or the second possible implementation of the first aspect or the third possible implementation of the first aspect or the fourth possible implementation of the first aspect The implementation or the fifth possible implementation of the first aspect, in a sixth possible implementation of the first aspect, the motion vector comprises a speed vector or an acceleration vector of the terminal device. The second aspect provides a terminal device, including: a receiving module, configured to receive a page turning instruction; and an acquiring module, configured to acquire motion information of the terminal device after the receiving module receives the page turning instruction, The motion information of the terminal device extracts a motion vector; the determining module is configured to determine an angle between the direction of the motion vector and the first preset direction according to the motion vector acquired by the acquiring module; a module, configured to determine, according to a preset correspondence relationship between the angle of the angle and the page turning speed, a page turning speed corresponding to an angle between the direction of the motion vector and the first preset direction, and determine the page turning speed Turning the page displayed by the terminal device. With reference to the second aspect, in a first possible implementation manner of the second aspect, the receiving module is specifically configured to receive the page turning instruction that is sent by a user by using a voice; or
所述接收模块具体用于接收用户通过所述终端设备的触摸屏上的触发区 域发出的所述翻页指令; 或者 所述接收模块具体用于接收用户转动所述终端设备并使转动后的所述终 端设备与第二预设方向之间的夹角大于或等于预设的第一触发门限而发出的 所述翻页指令。 结合第二方面或第二方面的第一种可能的实现方式, 在第二方面的第二 种可能的实现方式中, 所述夹角越大, 所述夹角大小和翻页速度的预设对应 关系包括: 夹角越大, 翻页速度越大; 或者, 夹角越大, 翻页速度越小。 结合第二方面或第二方面的第一种可能的实现方式或第二方面的第二种 可能的实现方式, 在第二方面的第三种可能的实现方式中, 所述确定模块还 用于, 判断所述运动向量的方向与第一预设方向之间的夹角是否大于预设的 第二触发门限; 所述翻页控制模块具体用于在所述确定模块判断出所述运动向量的方向 与第一预设方向之间的夹角大于所述第二触发门限时, 才确定与所述运动向 量的方向与第一预设方向之间的夹角对应的翻页速度, 并以确定的所述翻页 速度对所述终端设备显示的文件进行翻页。 可能的实现方式或第二方面的第三种可能的实现方式, 在第二方面的第四种 可能的实现方式中, 所述接收模块还用于接收停止指令; 所述翻页控制模块还用于在所述接收模块接收到所述停止指令后, 停止 对所述终端设备显示的文件进行翻页。 结合第二方面的第四种可能的实现方式, 在第二方面的第五种可能的实 现方式中, 所述接收模块具体用于接收用户通过语音发出的所述停止指令; 或者 所述接收模块具体用于接收用户通过所述终端设备的触摸屏上的触发区 域发出的所述停止指令; 或者 所述接收模块具体用于接收用户转动所述终端设备并使转动后的所述终 端设备与第二预设方向之间的夹角小于预设的第一触发门限而发出的所述停 止指令。 结合第二方面或第二方面的第一种可能的实现方式或第二方面的第二种 可能的实现方式或第二方面的第三种可能的实现方式或第二方面的第四种可 能的实现方式或第二方面的第五种可能的实现方式, 在第二方面的第六种可 能的实现方式中,所述运动向量包括所述终端设备的速度向量或加速度向量。 本发明实施例提供的浏览翻页方法及设备, 在接收到翻页指令后, 获取 终端设备的运动信息, 从所获取的运动信息中提取运动向量, 确定运动向量 的方向与第一预设方向之间的夹角, 然后按照夹角大小与翻页速度的预设对 应关系, 确定与上述运动向量的方向与第一预设方向之间的夹角对应的翻页 速度, 然后以所确定的翻页速度对终端设备显示的文件进行翻页。 本发明实 施例通过确定终端设备的运动向量的方向与第一预设方向之间的夹角, 即可 实现自动翻页, 并且还可以通过调整该夹角大小来改变翻页速度, 不需要像 现有技术那样用手指在触摸屏上滑动, 具有翻页速度快、 效率高、 操作简单 等优势。 附图说明 The receiving module is specifically configured to receive the page turning instruction that is sent by a user through a trigger area on a touch screen of the terminal device; or the receiving module is specifically configured to receive the user that rotates the terminal device and rotates the The page turning instruction issued by the terminal device and the second preset direction is greater than or equal to a preset first trigger threshold. With reference to the second aspect or the first possible implementation manner of the second aspect, in a second possible implementation manner of the second aspect, the larger the angle, the preset of the angle and the page turning speed Correspondences include: The larger the angle, the greater the page turning speed; or, the larger the angle, the lower the page turning speed. With reference to the second aspect or the first possible implementation of the second aspect or the second possible implementation of the second aspect, in a third possible implementation manner of the second aspect, the determining module is further used to Determining whether an angle between the direction of the motion vector and the first preset direction is greater than a preset second trigger threshold; the page turning control module is specifically configured to determine, in the determining module, the motion vector Determining a page turning speed corresponding to an angle between the direction of the motion vector and the first preset direction when the angle between the direction and the first preset direction is greater than the second trigger threshold, and determining The page turning speed is page turning of a file displayed by the terminal device. A possible implementation manner, or a third possible implementation manner of the second aspect, in a fourth possible implementation manner of the second aspect, the receiving module is further configured to receive a stop instruction, and the page turning control module further uses After the receiving module receives the stop instruction, stopping page turning of the file displayed by the terminal device. With the fourth possible implementation of the second aspect, in a fifth possible implementation manner of the second aspect, the receiving module is specifically configured to receive the stop instruction that is sent by a user by using a voice; or the receiving module Specifically, the receiving module is configured to receive the stop command that is sent by a user through a trigger area on a touch screen of the terminal device; or the receiving module is specifically configured to receive, by the user, the terminal device and rotate the terminal device and the second device The stop command issued by the angle between the preset directions being smaller than the preset first trigger threshold. Combining the second aspect or the first possible implementation of the second aspect or the second possible implementation of the second aspect or the third possible implementation of the second aspect or the fourth possible implementation of the second aspect In a sixth possible implementation manner of the second aspect, the motion vector includes a speed vector or an acceleration vector of the terminal device. The method and device for browsing and paging provided by the embodiment of the present invention acquires motion information of the terminal device after receiving the page turning instruction, extracts a motion vector from the acquired motion information, and determines a direction of the motion vector and a first preset direction. Between the angles, and then according to the preset relationship between the angle of the angle and the page turning speed, determining the page turning speed corresponding to the angle between the direction of the motion vector and the first preset direction, and then determining The page turning speed turns the page displayed by the terminal device. In the embodiment of the present invention, by automatically determining the angle between the direction of the motion vector of the terminal device and the first preset direction, automatic page turning can be realized, and the page turning speed can also be changed by adjusting the angle of the angle, without In the prior art, sliding on the touch screen with a finger has the advantages of fast page turning speed, high efficiency, and simple operation. DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对实 施例或现有技术描述中所需要使用的附图作一简单地介绍, 显而易见地, 下 面描述中的附图是本发明的一些实施例, 对于本领域普通技术人员来讲, 在 不付出创造性劳动性的前提下, 还可以根据这些附图获得其他的附图。 In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, a brief description of the drawings used in the embodiments or the prior art description will be briefly described below, obviously, The drawings in the above description are some embodiments of the present invention, and those skilled in the art can obtain other drawings based on these drawings without any inventive labor.
图 1为本发明实施例提供的一种浏览翻页方法的流程图;  FIG. 1 is a flowchart of a method for browsing page turning according to an embodiment of the present invention;
图 2A为本发明实施例提供的终端设备的 X、 Y、 Ζ三方向示意图; 图 2Β为本发明实施例提供的终端设备的加速度向量的一种示意图; 图 3Α为本发明实施例提供的终端设备的加速度向量的另一种示意图; 图 3Β为本发明实施例提供的终端设备与水平正方向夹角 a的一种示意 图;  2A is a schematic diagram of an X, Y, and 方向 directions of a terminal device according to an embodiment of the present invention; FIG. 2 is a schematic diagram of an acceleration vector of a terminal device according to an embodiment of the present invention; FIG. 3 is a schematic diagram of an angle between a terminal device and a horizontal positive direction according to an embodiment of the present invention;
图 4为本发明实施例提供的另一种浏览翻页方法的流程图;  4 is a flowchart of another method for browsing page turning according to an embodiment of the present invention;
图 5为本发明实施例提供的又一种浏览翻页方法的流程图;  FIG. 5 is a flowchart of still another method for browsing page turning according to an embodiment of the present invention;
图 6为本发明实施例提供的一种终端设备的结构示意图; 图 7为本发明实施例提供的另一种终端设备的结构示意图。 具体实施方式  FIG. 6 is a schematic structural diagram of a terminal device according to an embodiment of the present invention; FIG. 7 is a schematic structural diagram of another terminal device according to an embodiment of the present invention. detailed description
为使本发明实施例的目的、 技术方案和优点更加清楚, 下面将结合本发 明实施例中的附图, 对本发明实施例中的技术方案进行清楚、 完整地描述, 显然, 所描述的实施例是本发明一部分实施例, 而不是全部的实施例。 基于 本发明中的实施例, 本领域普通技术人员在没有作出创造性劳动前提下所获 得的所有其他实施例, 都属于本发明保护的范围。  The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is a partial embodiment of the invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
图 1为本发明实施例提供的一种浏览翻页方法的流程图。 如图 1所示, 所述方法包括:  FIG. 1 is a flowchart of a method for browsing page turning according to an embodiment of the present invention. As shown in FIG. 1, the method includes:
101、 在接收到翻页指令后, 获取终端设备的运动信息, 从终端设备的运 动信息提取运动向量。  101. After receiving the page turning instruction, obtain motion information of the terminal device, and extract motion vectors from the motion information of the terminal device.
102、根据所述运动向量, 确定所述运动向量的方向与第一预设方向之间 的夹角。  102. Determine an angle between a direction of the motion vector and a first preset direction according to the motion vector.
103、按照夹角大小和翻页速度的预设对应关系, 确定与所述运动向量的 方向与第一预设方向之间的夹角对应的翻页速度, 并以确定的翻页速度对所 述终端设备显示的文件进行翻页。 在本实施例中, 当用户在浏览终端设备上的内容的过程中需要翻页时, 可以向终端设备发出翻页指令。 终端设备接收到用户发出的翻页指令后, 获 知用户需要对当前浏览内容进行翻页。 当终端设备接收到翻页指令后, 获取 终端设备的运动信息, 进而从获取的运动信息中提取运动向量, 然后根据所 提取的运动向量, 确定运动向量的方向与第一预设方向之间的夹角, 再按照 夹角大小和翻页速度的预设对应关系, 确定与上述运动向量的方向与第一预 设方向之间的夹角对应的翻页速度, 并以所确定的翻页速度对终端设备上显 示的文件进行翻页, 其中, 运动向量的方向与第一预设方向之间的夹角的大 小可以决定翻页速度的大小,不需要像现有技术那样用手指在触摸屏上滑动, 具有翻页速度快、 效率高、 操作简单等优势。 在此说明, 本发明实施例涉及的运动向量可以是但不限于: 终端设备的 速度向量或加速度向量。 在一可选实施方式中,所提取的运动向量具体为终端设备的加速度向量。 通常, 终端设备具有加速度计, 用于确定终端设备的加速度向量。 加速度计 主要用于检测终端设备在三个方向所受到的加速度的大小, 所述三个方向是 终端设备上的三个方向, 是在终端设备处于竖向放置的状态下, 以终端设备 的长边或短边为基准确定的, 所述三个方向相互垂直, 可以记为 X、 Υ、 ζ, 本实施例中终端设备上 X、 Υ、 Ζ三个方向如图 2Α所示。 其中, 当 X、 Υ、 Ζ三 个轴上的加速度矢量和为零时, 可以认为加速度计所在的终端设备进入了失 重状态, 即自由落体状态; 终端设备静置的时候只受到重力加速度。 例如, 假设终端设备按照图 2Β所示方向放置, 则以图 2Α所示 X、 Υ、 Ζ方向为基准, 加速度计得到的加速度矢量为 (0, -1, 0 ) , 方向指向地心; 当终端设备顺 时针旋转 90度, 即按照图 3Α所示方向放置, 则加速度计得到的加速度矢量 变为 (1, 0, 0 ) 。 关于加速度计的原理和 ΧΥΖ值的得到方法, 在各种智能手 机或终端中都有应用, 此处不再重复。 在此说明, 本发明各实施例对第一预设方向不做限定, 可以根据实际应 用具体设定。 在一可选实施方式中, 所述第一预设方向可以是水平正方向, 但不限于 此。 关于水平正方向可以采用以下方式来定义: 考虑到加速度计是依据终端 设备的 X、 Υ、 ζ三个方向来确定终端设备的加速度向量的; 由于加速度向量 是以终端设备所受重力为依据确定的, 所以本实施例将与重力方向垂直的方 向成为水平方向, 也就是自然界中所述的水平方向, 并预先规定该水平方向 中的某个方向为正方向, 以便于基于该水平正方向定义终端设备的倾角。 如 图 3Β所示, 为终端设备与水平正方向之间的夹角 a示意图。 基于上述可选实施方式, 在确定终端设备的加速度向量后, 确定加速度 向量的方向与水平正方向之间的夹角, 这里终端设备的加速度向量的方向与 水平正方向之间的夹角也就体现了终端设备的倾角。 在确定加速度向量的方 向与水平正方向之间的夹角后, 按照夹角大小与翻页速度的预设对应关系, 确定与该加速度向量的方向和水平正方向之间的夹角对应的翻页速度, 以所 确定的翻页速度对终端设备上显示的文件进行翻页。 上述夹角大小与翻页速度的预设对应关系可以是: 夹角越大, 翻页速度 越大; 或者, 也可以是夹角越大, 翻页速度越小, 但不限于此。 在本发明的实施例中, 以确定的翻页速度对所述终端设备显示的文件进 行翻页, 所述文件可以是文本文件, 照片文件, 视频文件、 音乐文件, 但不 限于此。 在上述过程中, 如果用户感觉翻页太快或太慢, 可以通过调整终端设备 的运动向量的方向与第一预设方向, 例如水平正方向, 之间的夹角来改变翻 页速度, 具有灵活易于实现、 效率高等优势。 在本实施例中, 接收翻页指令的方式可以有多种, 下面举例说明。 例如, 用户可以通过语音向终端设备发出翻页指令, 基于此, 接收翻页指令包括: 接收用户通过语音发出的翻页指令。 又例如, 终端设备的触摸屏上可以设置 触发区域, 专门供用户发出翻页指令, 则用户可以通过该触摸屏上的触发区 域发出翻页指令, 例如可以通过点击、 双击、 触摸或滑动等方式发出翻页指 令, 基于此, 接收翻页指令包括: 接收用户通过终端设备的触摸屏上的触发 区域发出的所述翻页指令。 又例如, 用户可以通过转动终端设备而发出翻页 指令, 例如当终端设备被转动到一定角度 (该一定角度可以称为第一触发门 限) , 相当于发出翻页指令, 基于此, 接收翻页指令包括: 接收用户转动终 端设备并使转动后的终端设备与第二预设方向之间的夹角大于或等于预设的 第一触发门限而发出的所述翻页指令。 在此说明, 第二预设方向可以与第一 预设方向相同, 也可以是不同于第一预设方向的其它方向, 具体不做限定。 103. Determine, according to a preset correspondence relationship between the angle of the angle and the page turning speed, a page turning speed corresponding to an angle between the direction of the motion vector and the first preset direction, and determine a page turning speed The file displayed by the terminal device is turned over. In this embodiment, when the user needs to turn pages in the process of browsing the content on the terminal device, a page turning instruction may be issued to the terminal device. After receiving the page turning instruction issued by the user, the terminal device knows that the user needs to page the current browsing content. After receiving the page turning instruction, the terminal device acquires motion information of the terminal device, and further extracts a motion vector from the acquired motion information, and then determines, according to the extracted motion vector, a direction between the motion vector and the first preset direction. An angle corresponding to the angle between the angle of the angle and the page turning speed, determining a page turning speed corresponding to an angle between the direction of the motion vector and the first preset direction, and determining the page turning speed Turning a page displayed on the terminal device, wherein the angle between the direction of the motion vector and the first preset direction determines the page turning speed, and does not need to use a finger on the touch screen as in the prior art. Sliding, with the advantages of fast page turning speed, high efficiency and simple operation. It is to be noted that the motion vector according to the embodiment of the present invention may be, but not limited to, a speed vector or an acceleration vector of the terminal device. In an alternative embodiment, the extracted motion vector is specifically an acceleration vector of the terminal device. Typically, the terminal device has an accelerometer for determining the acceleration vector of the terminal device. The accelerometer is mainly used to detect the magnitude of the acceleration received by the terminal device in three directions. The three directions are the three directions on the terminal device, and the terminal device is in the vertical position, and the terminal device is long. The three sides are perpendicular to each other and can be recorded as X, Υ, ζ. In the embodiment, the three directions of X, Υ, and 终端 on the terminal device are as shown in FIG. 2A. Wherein, when the acceleration vector sum on the three axes of X, Υ, Ζ is zero, it can be considered that the terminal device where the accelerometer is located enters the weightless state, that is, the free fall state; when the terminal device is stationary, only the gravity acceleration is received. For example, assuming that the terminal device is placed in the direction shown in FIG. 2A, the acceleration vector obtained by the accelerometer is (0, -1, 0) with the direction of the X, Υ, and Ζ directions shown in FIG. 2A, and the direction is directed to the center of the earth; When the terminal device is rotated 90 degrees clockwise, that is, placed in the direction shown in FIG. 3A, the acceleration vector obtained by the accelerometer becomes (1, 0, 0). The principle of accelerometer and the method of obtaining the threshold value are applied in various smart phones or terminals, and will not be repeated here. It is to be noted that the first preset direction is not limited in the embodiments of the present invention, and may be specifically set according to actual applications. In an optional implementation manner, the first preset direction may be a horizontal positive direction, but is not limited thereto. This. The horizontal positive direction can be defined in the following manner: Considering that the accelerometer is based on the X, Υ, ζ directions of the terminal device to determine the acceleration vector of the terminal device; since the acceleration vector is determined based on the gravity of the terminal device Therefore, in this embodiment, the direction perpendicular to the direction of gravity is the horizontal direction, that is, the horizontal direction described in the nature, and a certain direction in the horizontal direction is predetermined to be a positive direction, so as to be defined based on the horizontal positive direction. The inclination of the terminal device. As shown in FIG. 3A, it is a schematic diagram of the angle a between the terminal device and the horizontal positive direction. Based on the foregoing optional implementation manner, after determining the acceleration vector of the terminal device, determining an angle between the direction of the acceleration vector and the horizontal positive direction, where the angle between the direction of the acceleration vector of the terminal device and the horizontal positive direction is It reflects the inclination of the terminal equipment. After determining the angle between the direction of the acceleration vector and the horizontal positive direction, according to the preset correspondence relationship between the angle of the angle and the page turning speed, determining the angle corresponding to the angle between the direction of the acceleration vector and the positive direction of the horizontal direction Page speed, page turning of the file displayed on the terminal device at the determined page turning speed. The preset correspondence relationship between the above-mentioned angle and the page turning speed may be: the larger the angle is, the larger the page turning speed is; or the larger the angle is, the smaller the page turning speed is, but is not limited thereto. In an embodiment of the present invention, the file displayed by the terminal device is turned over at a determined page turning speed, and the file may be a text file, a photo file, a video file, a music file, but is not limited thereto. In the above process, if the user feels that the page turning is too fast or too slow, the page turning speed can be changed by adjusting the angle between the direction of the motion vector of the terminal device and the first predetermined direction, for example, the horizontal positive direction, Flexible, easy to implement, and efficient. In this embodiment, there are various ways of receiving the page turning instruction, which are illustrated below. For example, the user may issue a page turning instruction to the terminal device by using a voice, and based on this, receiving the page turning instruction includes: receiving a page turning instruction issued by the user by voice. For example, a trigger area can be set on the touch screen of the terminal device, and the user can issue a page turning instruction, and the user can issue a page turning instruction through the trigger area on the touch screen, for example, by clicking, double clicking, touching or sliding. The page instruction, based on the receiving the page turning instruction, comprises: receiving the page turning instruction issued by the user through a trigger area on the touch screen of the terminal device. For another example, the user can issue a page turning instruction by rotating the terminal device, for example, when the terminal device is rotated to a certain angle (the certain angle can be referred to as a first trigger threshold), which is equivalent to issuing a page turning instruction, based on which, the page turning is received. Instructions include: Receiving user rotation And the page turning instruction issued by the end device and the angle between the rotated terminal device and the second preset direction is greater than or equal to a preset first trigger threshold. It is noted that the second preset direction may be the same as the first preset direction, or may be other directions different from the first preset direction, and is not specifically limited.
图 4为本发明实施例提供的另一种浏览翻页方法的流程图。如图 4所示, 所述方法包括:  FIG. 4 is a flowchart of another method for browsing page turning according to an embodiment of the present invention. As shown in FIG. 4, the method includes:
401、 在接收到翻页指令后, 获取终端设备的运动信息, 从终端设备的运 动信息提取运动向量。 401. After receiving the page turning instruction, obtain motion information of the terminal device, and extract motion vectors from the motion information of the terminal device.
402、 滤除所述运动向量包含的干扰分量, 并以第一预设方向为基准, 对 滤除干扰分量的运动向量进行角度换算, 确定该运动向量的方向与第一预设 方向之间的夹角。  402. Filter out interference components included in the motion vector, and perform angle conversion on the motion vector that filters the interference component by using the first preset direction as a reference, and determine a direction between the direction of the motion vector and the first preset direction. Angle.
403、按照夹角大小和翻页速度的预设对应关系, 确与所述运动向量的的 方向与第一预设方向之间的夹角对应的定翻页速度, 并以所确定的翻页速度 对终端设备显示的文件进行翻页。 403. According to a preset correspondence relationship between the angle of the angle and the page turning speed, the page turning speed corresponding to the angle between the direction of the motion vector and the first preset direction is determined, and the determined page turning is determined. The speed turns the page displayed on the terminal device.
上述歩骤 401和 403可参见前述实施例的描述, 在此不再赘述。 在本实施例中, 充分考虑一些因素会对终端设备的运动向量产生影响, 例如如果用户是用手拿着终端设备, 则用户的手会抖动, 如果用户处于走动 状态, 则用户走动的速度通常是时快时慢, 这些因素都会导致终端设备的运 动向量包含干扰分量, 这里所述的干扰分量通常是一些高频干扰分量。 为了 提高确定出的夹角的精度, 在获取终端设备的运动向量后, 可以滤除运动向 量包含的干扰分量, 然后再以第一预设方向为基准, 对滤除干扰分量的运动 向量进行角度换算, 确定所述终端设备的运动向量的方向与所述第一预设方 向之间的夹角, 有利于提高所确定的夹角的精度。 其中, 根据干扰分量的性质, 滤除运动向量包含的干扰分量的方式可以 不同。 例如, 如果干扰分量主要是高频分量, 则可以对运动向量进行低通滤 波, 从而滤除运动向量包含的干扰分量。 这里所述的低通滤波可以是软件方 式的低通滤波, 也可以是硬件方式的低通滤波。  For the foregoing steps 401 and 403, reference may be made to the description of the foregoing embodiments, and details are not described herein again. In this embodiment, sufficient consideration is made for some factors to affect the motion vector of the terminal device. For example, if the user is holding the terminal device by hand, the user's hand will be shaken. If the user is in the walking state, the speed at which the user walks is usually It is fast and slow. These factors will cause the motion vector of the terminal device to contain interference components. The interference components described here are usually high-frequency interference components. In order to improve the accuracy of the determined angle, after acquiring the motion vector of the terminal device, the interference component contained in the motion vector may be filtered out, and then the motion vector filtering the interference component is angled based on the first preset direction. The determining, determining an angle between a direction of the motion vector of the terminal device and the first preset direction, is beneficial to improving the accuracy of the determined angle. Among them, according to the nature of the interference component, the manner of filtering out the interference component contained in the motion vector may be different. For example, if the interference component is primarily a high frequency component, the motion vector can be low pass filtered to filter out the interference components contained in the motion vector. The low pass filtering described herein may be a software-style low-pass filter or a hardware-based low-pass filter.
图 5为本发明实施例提供的又一种浏览翻页方法的流程图。如图 5所示, 所述方法包括: 501、 在接收到翻页指令后, 获取终端设备的运动信息, 从终端设备的运 动信息提取运动向量。 FIG. 5 is a flowchart of still another method for browsing page turning according to an embodiment of the present invention. As shown in FIG. 5, the method includes: 501. After receiving the page turning instruction, obtain motion information of the terminal device, and extract motion vectors from motion information of the terminal device.
502 滤除所述运动向量包含的干扰分量, 并以第一预设方向为基准, 对 滤除干扰分量的运动向量进行角度换算, 确定运动向量的方向与第一预设方 向之间的夹角。  502 filtering out the interference component included in the motion vector, and performing angle conversion on the motion vector filtering the interference component based on the first preset direction, determining an angle between the direction of the motion vector and the first preset direction .
503、如果所述运动向量的方向与第一预设方向之间的夹角大于预设的第 二触发门限, 按照夹角大小和翻页速度的预设对应关系, 确定与所述运动向 量的方向与第一预设方向之间的夹角对应的翻页速度, 并以所确定的翻页速 度对终端设备显示的文件进行翻页。 503. If an angle between the direction of the motion vector and the first preset direction is greater than a preset second trigger threshold, determining the motion vector according to the preset correspondence between the angle of the angle and the page turning speed. The page turning speed corresponding to the angle between the direction and the first preset direction, and turning the page displayed by the terminal device at the determined page turning speed.
歩骤 501和歩骤 502可参见前述歩骤 401和 402, 在此不再赘述。 在本实施例中, 在按照夹角大小和翻页速度的预设对应关系, 确定与运 动向量的方向与第一预设方向之间的夹角对应的翻页速度, 并以确定的翻页 速度对终端设备显示的文件进行翻页之前, 判断所述运动向量的方向与第一 预设方向之间的夹角是否大于预设的第二触发门限, 在判断出所述运动向量 的方向与第一预设方向之间的夹角大于预设的第二触发门限时, 才确定与所 述运动向量的方向与第一预设方向之间的夹角对应的翻页速度, 并以确定的 所述翻页速度对所述终端设备显示的文件进行翻页, 有利于减少终端设备由 于轻微晃动而引起的不必要的翻页操作。  For the steps 501 and 502, reference may be made to the foregoing steps 401 and 402, and details are not described herein again. In this embodiment, the page turning speed corresponding to the angle between the direction of the motion vector and the first preset direction is determined according to the preset correspondence relationship between the angle of the angle and the page turning speed, and the page turning is determined. Before the page is turned over by the file displayed by the terminal device, determining whether the angle between the direction of the motion vector and the first preset direction is greater than a preset second trigger threshold, determining the direction of the motion vector When the angle between the first preset directions is greater than the preset second trigger threshold, determining the page turning speed corresponding to the angle between the direction of the motion vector and the first preset direction, and determining The page turning speed page turning the file displayed by the terminal device, which is beneficial to reducing unnecessary page turning operations caused by the terminal device being slightly shaken.
进一歩, 基于上述各实施例, 终端设备在接收到停止指令后, 停止对终 端设备显示的文件进行翻页操作。 具体的, 当用户不需要继续翻页时, 可以 通过发出停止指令来控制终端设备停止翻页。 其中, 用户发出停止指令的方式可参见用户发出翻页指令的方式, 例如 用户可以通过语音发出所述停止指令, 或者, 用户可以通过终端设备的触摸 屏上的触发区域发出所述停止指令; 又或者, 用户可以转动终端设备并使转 动后的终端设备与第二预设方向之间的夹角小于预设的第一触发门限而发出 所述停止指令。 通过上述操作, 用户可以方便、 灵活、 及时控制终端设备停止翻页。 在此说明, 本发明实施例提供的浏览翻页方法可以应用于浏览终端设备 上的日历、 记事本、 备忘录、 留言册等过程中, 具有广泛的应用前景。 另外, 本发明实施例提供的浏览翻页方法对终端设备的要求较低, 可以广泛应用于 各种终端设备上, 例如可以是触屏终端设备、 非触屏终端设备或者没有屏幕 的终端设备。 Further, based on the above embodiments, after receiving the stop command, the terminal device stops the page turning operation of the file displayed by the terminal device. Specifically, when the user does not need to continue page turning, the terminal device can be controlled to stop page turning by issuing a stop command. The manner in which the user issues the stop command can be referred to the manner in which the user issues a page turning command. For example, the user can issue the stop command by voice, or the user can issue the stop command through the trigger area on the touch screen of the terminal device; The user can rotate the terminal device and cause the stop command to be generated when the angle between the rotated terminal device and the second preset direction is less than a preset first trigger threshold. Through the above operations, the user can control the terminal device to stop page turning conveniently, flexibly and in time. The browsing page turning method provided by the embodiment of the present invention can be applied to a browsing terminal device. In the process of calendar, notepad, memo, message book, etc., it has broad application prospects. In addition, the browsing and paging method provided by the embodiment of the present invention has low requirements on the terminal device, and can be widely applied to various terminal devices, for example, a touch screen terminal device, a non-touch screen terminal device, or a terminal device without a screen.
图 6为本发明实施例提供的一种终端设备的结构示意图。 如图 6所示, 所述终端设备包括: 接收模块 61、 获取模块 62、 确定模块 63和翻页控制模 块 64。 接收模块 61, 用于接收翻页指令。 获取模块 62, 用于在接收模块 61接收到所述翻页指令后, 获取所述终 端设备的运动信息, 从所述终端设备的运动信息提取运动向量。  FIG. 6 is a schematic structural diagram of a terminal device according to an embodiment of the present invention. As shown in FIG. 6, the terminal device includes: a receiving module 61, an obtaining module 62, a determining module 63, and a page turning control module 64. The receiving module 61 is configured to receive a page turning instruction. The obtaining module 62 is configured to acquire motion information of the terminal device after the receiving module 61 receives the page turning instruction, and extract a motion vector from the motion information of the terminal device.
确定模块 63, 用于根据获取模块 62获取的所述运动向量, 确定所述运 动向量的方向与第一预设方向之间的夹角。  The determining module 63 is configured to determine an angle between the direction of the motion vector and the first preset direction according to the motion vector acquired by the obtaining module 62.
翻页控制模块 64, 用于按照夹角大小和翻页速度的预设对应关系, 确定 与确定模块 63 确定的所述运动向量的方向与第一预设方向之间的夹角对应 的翻页速度, 并以确定的翻页速度对终端设备显示的文件进行翻页。 可选的, 本实施例涉及的运动向量可以包括: 终端设备的速度向量或加 速度向量, 但不限于此。 在一可选实施方式中, 所述终端设备还可以包括加速度计。 获取模块 62 用于在接收模块 61接收到所述翻页指令后, 获取所述终端设备的运动信息, 从终端设备的运动信息提取运动向量, 包括: 获取模块 62具体用于在接收模 块 61接收到所述翻页指令后,可以通过终端设备上的加速度计获取终端设备 的运动信息, 从运动信息中提取终端设备的加速度向量, 其中, 该加速度向 量是加速度计按照终端设备上的三个方向确定的。 所述终端设备上的三个方 向, 是在终端设备处于竖向放置的状态下, 以终端设备的长边或短边为基准 确定的, 所述三个方向相互垂直, 可以记为 X、 Y、 Ζ, 本实施例中终端设备 上 X、 Υ、 Ζ三个方向如图 2Α所示。 在一可选实施方式中, 第一预设方向可以是水平正方向。 所述水平正方 向是指与重力方向垂直的方向中预先设定的某个方向, 具体可参见方法实施 例中的定义。 在本实施例中, 以确定的翻页速度对所述终端设备显示的文件进行翻页, 所述文件可以是文本文件, 照片文件, 视频文件、 音乐文件, 但不限于此。 The page turning control module 64 is configured to determine, according to a preset correspondence relationship between the angle of the angle and the page turning speed, the page turning corresponding to the angle between the direction of the motion vector determined by the determining module 63 and the first preset direction The speed, and the determined page turning speed, page through the files displayed by the terminal device. Optionally, the motion vector involved in this embodiment may include: a speed vector or an acceleration vector of the terminal device, but is not limited thereto. In an optional implementation manner, the terminal device may further include an accelerometer. The obtaining module 62 is configured to acquire the motion information of the terminal device after the receiving module 61 receives the page turning instruction, and extract the motion vector from the motion information of the terminal device, where the acquiring module 62 is specifically configured to receive at the receiving module 61. After the page turning instruction, the motion information of the terminal device may be acquired by an accelerometer on the terminal device, and the acceleration vector of the terminal device is extracted from the motion information, wherein the acceleration vector is an accelerometer according to three directions on the terminal device. definite. The three directions on the terminal device are determined based on the long side or the short side of the terminal device in a state in which the terminal device is placed vertically, and the three directions are perpendicular to each other, and can be recorded as X and Y. Ζ, in the embodiment, the three directions of X, Υ, and 终端 on the terminal device are as shown in FIG. 2A. In an alternative embodiment, the first predetermined direction may be a horizontal positive direction. The horizontal positive direction refers to a certain direction preset in a direction perpendicular to the direction of gravity. For details, refer to the method implementation. The definition in the example. In this embodiment, the file displayed by the terminal device is turned over at a determined page turning speed, and the file may be a text file, a photo file, a video file, a music file, but is not limited thereto.
在一可选实施方式中,接收模块 61具体可用于接收用户通过语音发出的 所述翻页指令。或者, 接收模块 61具体用于接收用户通过所述终端设备的触 摸屏上的触发区域发出的所述翻页指令。或者, 接收模块 61具体用于接收用 户转动所述终端设备并使转动后的所述终端设备与第二预设方向之间的夹角 大于或等于预设的第一触发门限而发出的所述翻页指令。 在此说明, 第二预 设方法可以与第一预设方向相同, 也可以是不同于第一预设方向的方法, 具 体不做限定。 在一可选实施方式中,上述夹角大小和翻页速度的预设对应关系可以是: 夹角越大, 翻页速度越大, 或者可以是夹角越大, 翻页速度越小。  In an optional implementation, the receiving module 61 is specifically configured to receive the page turning instruction issued by the user by voice. Alternatively, the receiving module 61 is specifically configured to receive the page turning instruction issued by a user through a trigger area on a touch screen of the terminal device. Alternatively, the receiving module 61 is specifically configured to receive, by the user, rotating the terminal device and causing the angle between the rotated terminal device and the second preset direction to be greater than or equal to a preset first trigger threshold. Turn page instructions. It is to be noted that the second preset method may be the same as the first preset direction, or may be a method different from the first preset direction, and is not limited in detail. In an optional implementation manner, the preset correspondence relationship between the angle of the angle and the page turning speed may be: the larger the angle, the larger the page turning speed, or the larger the angle, the smaller the page turning speed.
在一可选实施方式中, 获取模块 62获取的运动向量包含干扰分量。基于 此, 确定模块 63具体用于滤除运动向量包含的干扰分量, 以第一预设方向为 基准, 对滤除干扰分量的运动向量进行角度换算, 确定该运动向量的方向与 第一预设方向之间的夹角。确定模块 63对滤除干扰分量的运动向量进行角度 换算, 确定运动向量的方向与第一预设方向之间的夹角, 有利于提高所确定 的夹角的精度。  In an alternative embodiment, the motion vector acquired by the acquisition module 62 includes an interference component. Based on this, the determining module 63 is specifically configured to filter out interference components included in the motion vector, and perform angle conversion on the motion vector of the filtering interference component based on the first preset direction, and determine the direction of the motion vector and the first preset. The angle between the directions. The determining module 63 performs angle conversion on the motion vector for filtering the interference component, and determines the angle between the direction of the motion vector and the first preset direction, which is advantageous for improving the accuracy of the determined angle.
在一可选实施方式中,确定模块 63还用于在按照夹角大小和翻页速度的 预设对应关系,确定与确定模块 63确定的所述运动向量的方向与第一预设方 向之间的夹角对应的翻页速度, 并以确定的翻页速度对终端设备显示的文件 进行翻页之前, 判断所述运动向量的方向与第一预设方向之间的夹角是否大 于预设的第二触发门限。 相应的, 翻页控制模块 64具体用于在确定模块 63 判断出所述运动向量的方向与第一预设方向之间的夹角大于预设的第二触发 门限时, 才确定与所述运动向量的方向与第一预设方向之间的夹角对应的翻 页速度, 并以确定的所述翻页速度对所述终端设备显示的文件进行翻页。 翻 页控制模块 64 只有在所述运动向量的方向与第一预设方向的夹角大于预设 的第二触发门限时, 才确定与所述运动向量的方向与第一预设方向之间的夹 角对应的翻页速度, 并以确定的所述翻页速度对所述终端设备显示的文件进 行翻页, 有利于减少终端设备由于轻微晃动而引起的不必要的翻页操作。 在一可选实施方式中, 接收模块 61还用于接收停止指令。 相应的, 翻页 控制模块 64还用于在接收模块 61接收到所述停止指令后, 停止对所述终端 设备显示的文件进行翻页。 In an optional implementation manner, the determining module 63 is further configured to determine, between the direction of the motion vector determined by the determining module 63 and the first preset direction, according to a preset correspondence relationship between the angle of the angle and the page turning speed. Whether the angle between the direction of the motion vector and the first preset direction is greater than a preset value before the page turning speed is determined by the angle corresponding to the page turning speed and the page turning speed is determined. The second trigger threshold. Correspondingly, the page turning control module 64 is specifically configured to determine the movement when the determining module 63 determines that the angle between the direction of the motion vector and the first preset direction is greater than a preset second triggering threshold. The page turning speed corresponding to the angle between the direction of the vector and the first preset direction, and the document displayed by the terminal device is turned over at the determined page turning speed. The page turning control module 64 determines the direction between the direction of the motion vector and the first preset direction only when the angle between the direction of the motion vector and the first preset direction is greater than the preset second trigger threshold. The page turning speed corresponding to the angle, and determining the page turning speed to the file displayed by the terminal device Page turning is beneficial to reduce unnecessary page turning operations caused by slight shaking of the terminal device. In an optional implementation, the receiving module 61 is further configured to receive a stop instruction. Correspondingly, the page turning control module 64 is further configured to stop page turning of the file displayed by the terminal device after the receiving module 61 receives the stopping instruction.
其中, 接收模块 61可以采用但不限于以下几种方式接收停止指令: 接收模块 61具体用于接收用户通过语音发出的所述停止指令; 或者 接收模块 61 具体用于接收用户通过所述终端设备的触摸屏上的触发区 域发出的所述停止指令; 或者  The receiving module 61 may receive the stop command by using the following methods: The receiving module 61 is specifically configured to receive the stop command sent by the user by using a voice; or the receiving module 61 is specifically configured to receive the user through the terminal device. The stop command issued by the trigger area on the touch screen; or
接收模块 61 具体用于接收用户转动所述终端设备并使转动后的所述终 端设备与第二预设方向之间的夹角小于预设的第一触发门限而发出的所述停 止指令。  The receiving module 61 is specifically configured to receive the stop command issued by the user rotating the terminal device and causing an angle between the rotated terminal device and the second preset direction to be less than a preset first trigger threshold.
本实施例提供的终端设备可以是手机、 ipad等具有浏览日历、 记事本、 备忘录、 留言册等功能的设备。  The terminal device provided in this embodiment may be a device such as a mobile phone or an ipad having functions such as browsing a calendar, a notepad, a memo, a guestbook, and the like.
本实施例提供的终端设备的各功能模块可用于执行图 1或图 4或图 5所 示方法实施例的流程, 其具体工作原理不再赘述, 详见方法实施例的描述。 本实施例提供的终端设备, 在接收到翻页指令后, 获取终端设备的运动 信息, 从所获取的运动信息中提取运动向量, 确定运动向量的方向与第一预 设方向之间的夹角, 然后按照夹角大小与翻页速度的预设对应关系, 确定与 运动向量的方向与第一预设方向之间的夹角对应的翻页速度, 然后以所确定 的翻页速度对终端设备显示的文件进行翻页, 由于通过终端设备的运动向量 的方向与第一预设方向之间的夹角, 即可实现自动翻页, 并且还可以通过调 整该夹角的大小来改变翻页速度, 不需要像现有技术那样用手指在触摸屏上 滑动, 具有翻页速度快、 效率高、 操作简单等优势。  The function modules of the terminal device provided in this embodiment may be used to perform the process of the method embodiment shown in FIG. 1 or FIG. 4 or FIG. 5, and the specific working principle is not described here. For details, refer to the description of the method embodiment. The terminal device provided in this embodiment acquires motion information of the terminal device after receiving the page turning instruction, extracts a motion vector from the acquired motion information, and determines an angle between a direction of the motion vector and the first preset direction. And determining a page turning speed corresponding to an angle between the direction of the motion vector and the first preset direction according to a preset correspondence relationship between the angle of the angle and the page turning speed, and then using the determined page turning speed to the terminal device The displayed document is turned over, and the automatic page turning can be realized due to the angle between the direction of the motion vector of the terminal device and the first preset direction, and the page turning speed can also be changed by adjusting the angle of the angle. It does not need to slide on the touch screen with fingers as in the prior art, and has the advantages of fast page turning speed, high efficiency, and simple operation.
图 7为本发明实施例提供的另一种终端设备的结构示意图。如图 7所示, 所述终端设备包括: 输入设备 71、 处理器 72和存储器 73。 输入设备 71, 用于接收翻页指令。  FIG. 7 is a schematic structural diagram of another terminal device according to an embodiment of the present invention. As shown in FIG. 7, the terminal device includes: an input device 71, a processor 72, and a memory 73. The input device 71 is configured to receive a page turning instruction.
输入设备 71具体可以是输入输出 (Input/Output , 简称为 I/O ) 接口, 无线保真 (Wireless-Fidel ity, 简称为 Wi-Fi ) 通信接口、 蓝牙通信接口、 以太网通信接口、 通用串行总线 (Universal Serial Bus , 简称为 USB ) 通 信接口等, 但不限于此。 The input device 71 may specifically be an input/output (I/O) interface, a wireless-fidelity (Wi-Fi) communication interface, a Bluetooth communication interface, Ethernet communication interface, Universal Serial Bus (USB) communication interface, etc., but not limited to this.
存储器 73可以包括只读存储器 (Read-Only Memory, 简称为 ROM) 和随 机存取存储器 (Random Access Memory, 简称为 RAM) , 并向处理器 72提供 指令和数据。 存储器 73 的一部分还可以包括非易失性随机存取存储器 (Non-Volat i le Random Access Memory, 简称为 NVRAM) 。 存储器 73存储了如下的元素, 可执行模块或者数据结构, 或者它们的子 集, 或者它们的扩展集: 操作指令: 包括各种操作指令, 用于实现各种操作。 操作系统: 包括各种系统程序, 用于实现各种基础业务以及处理基于硬 件的任务。  The memory 73 may include a Read-Only Memory (ROM) and a Random Access Memory (RAM), and provides instructions and data to the processor 72. A portion of the memory 73 may also include a Non-Volat Ile Random Access Memory (NVRAM). The memory 73 stores the following elements, executable modules or data structures, or a subset thereof, or an extended set thereof: Operational instructions: Includes various operational instructions for implementing various operations. Operating System: Includes a variety of system programs for implementing basic services and handling hardware-based tasks.
在本发明实施例中, 处理器 72通过调用存储器 73存储的操作指令 (该 操作指令可存储在操作系统中) , 执行如下操作: 在输入设备 71接收到所述翻页指令后, 获取终端设备的运动信息, 从所 述终端设备的运动信息提取运动向量; 根据所述运动向量, 确定所述运动向 量的方向与第一预设方向之间的夹角; 按照夹角大小和翻页速度的预设对应 关系, 确定与所述运动向量的方向与第一预设方向之间的夹角对应的翻页速 度, 并以确定的翻页速度对所述终端设备显示的文件进行翻页。  In the embodiment of the present invention, the processor 72 performs the following operations by calling an operation instruction stored in the memory 73 (the operation instruction can be stored in the operating system): after the input device 71 receives the page turning instruction, acquiring the terminal device The motion information, extracting a motion vector from the motion information of the terminal device; determining an angle between the direction of the motion vector and the first preset direction according to the motion vector; according to the angle of the angle and the page turning speed Determining a correspondence relationship, determining a page turning speed corresponding to an angle between the direction of the motion vector and the first preset direction, and page turning the file displayed by the terminal device at the determined page turning speed.
其中, 处理器 72可以控制所述终端设备的操作, 处理器 72还可以称为 中央处理单元 (Central Processing Unit , 简称为 CPU ) 。 存储器 73可以 包括只读存储器和随机存取存储器, 并向处理器 72提供指令和数据。存储器 73的一部分还可以包括非易失性随机存取存储器 (NVRAM) 。 具体的应用中, 终端设备的各个组件通过总线系统 75耦合在一起, 其中总线系统 75除包括 数据总线之外, 还可以包括电源总线、 控制总线和状态信号总线等。 但是为 了清楚说明起见, 在图中将各种总线都标为总线系统 75。 上述本发明实施例揭示的方法可以应用于处理器 72 中, 或者由处理器 72实现。 处理器 72可能是一种集成电路芯片, 具有信号的处理能力。 在实 现过程中,上述方法的各歩骤可以通过处理器 72中的硬件的集成逻辑电路或 者软件形式的指令完成。上述的处理器 72可以是通用处理器、数字信号处理 器(DSP ) 、 专用集成电路 (ASIC ) 、 现成可编程门阵列 (FPGA ) 或者其他可 编程逻辑器件、 分立门或者晶体管逻辑器件、 分立硬件组件。 通用处理器可 以是微处理器或者该处理器也可以是任何常规的处理器等。 结合本发明实施 例所公开的方法的歩骤可以直接体现为硬件译码处理器执行完成, 或者用译 码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器, 闪存、 只读存储器, 可编程只读存储器或者电可擦写可编程存储器、 寄存器 等本领域成熟的存储介质中。 该存储介质位于存储器 73, 处理器 72读取存 储器 73中的信息, 结合其硬件完成上述方法的歩骤。 可选的, 本实施例涉及的运动向量可以包括: 终端设备的速度向量或加 速度向量, 但不限于此。 The processor 72 can control the operation of the terminal device, and the processor 72 can also be referred to as a central processing unit (CPU). Memory 73 can include read only memory and random access memory and provides instructions and data to processor 72. A portion of the memory 73 may also include non-volatile random access memory (NVRAM). In a specific application, the components of the terminal device are coupled together by a bus system 75. The bus system 75 may include a power bus, a control bus, a status signal bus, and the like in addition to the data bus. However, for clarity of description, various buses are labeled as bus system 75 in the figure. The method disclosed in the foregoing embodiments of the present invention may be applied to the processor 72 or implemented by the processor 72. Processor 72 may be an integrated circuit chip with signal processing capabilities. In an implementation process, each step of the above method may be through an integrated logic circuit of hardware in the processor 72 or The instructions in the form of software are completed. The processor 72 described above may be a general purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware. Component. The general purpose processor may be a microprocessor or the processor or any conventional processor or the like. The steps of the method disclosed in the embodiments of the present invention may be directly implemented as a hardware decoding processor, or may be performed by a combination of hardware and software modules in the decoding processor. The software modules can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like. The storage medium is located in the memory 73. The processor 72 reads the information in the memory 73 and combines the hardware to complete the steps of the above method. Optionally, the motion vector involved in this embodiment may include: a speed vector or an acceleration vector of the terminal device, but is not limited thereto.
在一可选实施方式中, 如图 7所示, 所述终端设备还包括加速度计 74, 用于检测所述终端设备在三个方向所受到的加速度的大小, 所述三个方向是 终端设备上的三个方向, 是在终端设备处于竖向放置的状态下, 以终端设备 的长边或短边为基准确定的, 所述三个方向相互垂直, 可以记为 X、 Y、 Ζ, 本实施例中终端设备上 X、 Υ、 Ζ三个方向如图 2Α所示。 基于此, 处理器 72 获取终端设备的运动信息, 从终端设备的运动信息中提取运动向量, 包括: 处理器 72具体可以通过加速度计 74获取所述终端设备的运动信息, 从终端 设备的运动信息提取终端设备的加速度向量。 在一可选实施方式中, 第一预设方向可以是水平正方向, 但不限于此。 所述水平正方向是指与重力方向垂直的方向中预先设定的某个方向, 具体可 以参见方法实施例中的定义。 在本实施例中, 以确定的翻页速度对所述终端设备显示的文件进行翻页, 所述文件可以是文本文件, 照片文件, 视频文件、 音乐文件, 但不限于此。  In an optional implementation, as shown in FIG. 7, the terminal device further includes an accelerometer 74, configured to detect a magnitude of acceleration received by the terminal device in three directions, where the three directions are terminal devices. The upper three directions are determined based on the long side or the short side of the terminal device in a state in which the terminal device is placed vertically, and the three directions are perpendicular to each other, and can be recorded as X, Y, Ζ, and In the embodiment, the three directions of X, Υ, and 终端 on the terminal device are as shown in FIG. 2A. Based on this, the processor 72 acquires the motion information of the terminal device, and extracts the motion vector from the motion information of the terminal device, including: the processor 72 may acquire the motion information of the terminal device by using the accelerometer 74, and the motion information of the slave terminal device. Extract the acceleration vector of the terminal device. In an optional implementation manner, the first preset direction may be a horizontal positive direction, but is not limited thereto. The horizontal positive direction refers to a certain direction set in a direction perpendicular to the direction of gravity, and may be specifically referred to in the method embodiment. In this embodiment, the file displayed by the terminal device is turned over at a determined page turning speed, and the file may be a text file, a photo file, a video file, a music file, but is not limited thereto.
在一可选实施方式中, 如图 7所示, 所述终端设备可以包括: 语音输入 输出设备 76。语音输入输出设备 76, 用于接收用户通过语音发出的所述翻页 指令。 基于此, 输入设备 71具体可用于通过语音输入输出设备 76接收用户 通过语音发出的所述翻页指令。  In an optional implementation manner, as shown in FIG. 7, the terminal device may include: a voice input and output device 76. The voice input/output device 76 is configured to receive the page turning instruction issued by the user by voice. Based on this, the input device 71 is specifically operable to receive, by the voice input/output device 76, the page turning instruction issued by the user by voice.
在一可选实施方式中, 如图 7所示, 所述终端设备可以包括: 显示设备 77, 所述显示设备包括触摸屏, 该触摸屏除了具备显示功能之外, 还用于供 用户进行触控操作。基于此, 输入设备 71具体用于接收用户通过所述终端设 备的触摸屏上的触发区域发出的所述翻页指令。 在一可选实施方式中,输入设备 71具体用于接收用户转动所述终端设备 并使转动后的所述终端设备与第二预设方向之间的夹角大于或等于预设的第 一触发门限而发出的所述翻页指令。 在此说明, 第二预设方法可以与第一预 设方向相同, 也可以是不同于第一预设方向的方法, 具体不做限定。 在一可选实施方式中,上述夹角大小和翻页速度的预设对应关系可以是: 夹角越大, 翻页速度越大, 或者可以是夹角越大, 翻页速度越小。 In an optional implementation manner, as shown in FIG. 7, the terminal device may include: a display device 77. The display device includes a touch screen, and the touch screen is used for a touch operation by a user in addition to the display function. Based on this, the input device 71 is specifically configured to receive the page turning instruction issued by the user through the trigger area on the touch screen of the terminal device. In an optional implementation, the input device 71 is specifically configured to receive, by the user, the terminal device, and the angle between the rotated terminal device and the second preset direction is greater than or equal to a preset first trigger. The page turning instruction issued by the threshold. It is to be noted that the second preset method may be the same as the first preset direction, or may be a method different from the first preset direction, and is not specifically limited. In an optional implementation manner, the preset correspondence relationship between the angle of the angle and the page turning speed may be: the larger the angle, the larger the page turning speed, or the larger the angle, the smaller the page turning speed.
进一歩, 所述终端设备还可以包括电源模块 78等。 在一可选实施方式中, 上述提取的运动向量包含干扰分量。 基于此, 处 理器 72具体用于滤除运动向量包含的干扰分量, 以第一预设方向为基准, 对 滤除干扰分量的运动向量进行角度换算, 确定运动向量的方向与第一预设方 向之间的夹角。 处理器 72对滤除干扰分量的运动向量进行角度换算, 确定所 述运动向量的方向与第一预设方向之间的夹角, 有利于提高所确定的夹角的 精度。 在一可选实施方式中,处理器 72还用于在按照夹角大小和翻页速度的预 设对应关系, 确定与所述运动向量的方向与第一预设方向之间的夹角对应的 翻页速度, 并以确定的翻页速度对所述终端设备显示的文件进行翻页之前, 判断所述运动向量的方向与第一预设方向之间的夹角是否大于预设的第二触 发门限。 处理器 72用于在按照夹角大小和翻页速度的预设对应关系, 确定与 所述运动向量的方向与第一预设方向之间的夹角对应的翻页速度, 并以确定 的翻页速度对所述终端设备显示的文件进行翻页, 包括: 处理器 72具体用于 在判断出所述运动向量的方向与第一预设方向之间的夹角大于预设的第二触 发门限时, 按照夹角大小和翻页速度的预设对应关系, 才确定与所述运动向 量的方向与第一预设方向之间的夹角对应的翻页速度, 并以确定的所述翻页 速度对所述终端设备显示的文件进行翻页。处理器 72只有在所述运动向量的 方向与第一预设方向的夹角大于预设的第二触发门限时, 才确定与所述运动 向量的方向与第一预设方向之间的夹角对应的翻页速度, 并以确定的所述翻 页速度对所述终端设备显示的文件进行翻页, 有利于减少终端设备由于轻微 晃动而引起的不必要的翻页操作。 在一可选实施方式中, 输入设备 71还用于接收停止指令。 相应的, 处理 器 72还用于在输入设备 71接收到所述停止指令后, 停止对所述终端设备显 示的文件进行翻页。 其中, 输入设备 71可以采用但不限于以下几种方式接收停止指令: 输入设备 71具体可用于通过语音输入输出设备 76接收用户通过语音发 出的所述停止指令; 或者 输入设备 71 具体可用于接收用户通过所述终端设备的触摸屏上的触发 区域发出的所述停止指令; 或者 输入设备 71 具体可用于接收用户转动所述终端设备并使转动后的所述 终端设备与第二预设方向之间的夹角小于预设的第一触发门限而发出的所述 停止指令。 Further, the terminal device may further include a power module 78 and the like. In an alternative embodiment, the extracted motion vector comprises an interference component. Based on this, the processor 72 is specifically configured to filter out the interference component included in the motion vector, and perform angle conversion on the motion vector that filters the interference component based on the first preset direction, and determine the direction of the motion vector and the first preset direction. The angle between. The processor 72 performs angle conversion on the motion vector that filters out the interference component, and determines an angle between the direction of the motion vector and the first preset direction, which is beneficial to improving the accuracy of the determined angle. In an optional implementation manner, the processor 72 is further configured to determine, according to a preset correspondence relationship between the angle of the angle and the page turning speed, an angle corresponding to an angle between the direction of the motion vector and the first preset direction. Determining whether an angle between the direction of the motion vector and the first preset direction is greater than a preset second trigger before turning a page speed and determining a page turning speed to page the file displayed by the terminal device Threshold. The processor 72 is configured to determine, according to a preset correspondence relationship between the angle of the angle and the page turning speed, a page turning speed corresponding to an angle between the direction of the motion vector and the first preset direction, and determine the turning speed The page speed is used to page the file displayed by the terminal device, and the processor 72 is specifically configured to determine that an angle between the direction of the motion vector and the first preset direction is greater than a preset second trigger gate. Limiting the time, according to the preset correspondence relationship between the angle of the angle and the page turning speed, determining the page turning speed corresponding to the angle between the direction of the motion vector and the first preset direction, and determining the page turning Speed scans the file displayed by the terminal device. The processor 72 determines the angle between the direction of the motion vector and the first preset direction only when the angle between the direction of the motion vector and the first preset direction is greater than the preset second trigger threshold. Corresponding page turning speed, and the determined turning The page speed flips the page displayed by the terminal device, which is beneficial to reduce unnecessary page turning operations caused by the terminal device being slightly shaken. In an alternative embodiment, the input device 71 is also operative to receive a stop command. Correspondingly, the processor 72 is further configured to stop page turning of the file displayed by the terminal device after the input device 71 receives the stop instruction. The input device 71 can receive the stop command by using the following methods: The input device 71 is specifically configured to receive, by the voice input and output device 76, the stop command sent by the user by using a voice; or the input device 71 is specifically configured to receive the user. The stop command issued by the trigger area on the touch screen of the terminal device; or the input device 71 is specifically configured to receive a rotation between the terminal device and the second preset direction The stop command is issued when the angle is less than a preset first trigger threshold.
本实施例提供的终端设备可以是手机、 ipad等具有浏览日历、 记事本、 备忘录、 留言册等功能的设备。 本实施例提供的终端设备可用于执行图 1或图 4或图 5所示方法实施例 的流程, 其具体工作原理不再赘述, 详见方法实施例的描述。 本实施例提供的终端设备, 在接收到翻页指令后, 获取终端设备的运动 信息, 从所获取的运动信息中提取运动向量, 确定运动向量的方向与第一预 设方向之间的夹角, 然后按照夹角大小与翻页速度的预设对应关系, 确定与 运动向量的方向与第一预设方向之间的夹角对应的翻页速度, 然后以所确定 的翻页速度对终端设备显示的文件进行翻页, 由于通过终端设备的运动向量 的方向与第一预设方向之间的夹角, 即可实现自动翻页, 并且还可以通过调 整该夹角的大小来改变翻页速度, 不需要像现有技术那样用手指在触摸屏上 滑动, 具有翻页速度快、 效率高、 操作简单等优势。 本领域普通技术人员可以理解: 实现上述各方法实施例的全部或部分歩 骤可以通过程序指令相关的硬件来完成。 前述的程序可以存储于一计算机可 读取存储介质中。 该程序在执行时, 执行包括上述各方法实施例的歩骤; 而 前述的存储介质包括: R0M、 RAM, 磁碟或者光盘等各种可以存储程序代码的 介质。 The terminal device provided in this embodiment may be a device such as a mobile phone or an ipad having functions such as browsing a calendar, a notepad, a memo, a guestbook, and the like. The terminal device provided in this embodiment may be used to perform the process of the method embodiment shown in FIG. 1 or FIG. 4 or FIG. 5. The specific working principle is not described here. For details, refer to the description of the method embodiment. The terminal device provided in this embodiment acquires motion information of the terminal device after receiving the page turning instruction, extracts a motion vector from the acquired motion information, and determines an angle between a direction of the motion vector and the first preset direction. And determining a page turning speed corresponding to an angle between the direction of the motion vector and the first preset direction according to a preset correspondence relationship between the angle of the angle and the page turning speed, and then using the determined page turning speed to the terminal device The displayed document is turned over, and the automatic page turning can be realized due to the angle between the direction of the motion vector of the terminal device and the first preset direction, and the page turning speed can also be changed by adjusting the angle of the angle. It does not need to slide on the touch screen with fingers as in the prior art, and has the advantages of fast page turning speed, high efficiency, and simple operation. It will be understood by those skilled in the art that all or part of the steps of implementing the above method embodiments may be performed by hardware related to the program instructions. The aforementioned program can be stored in a computer readable storage medium. The program, when executed, performs the steps including the above method embodiments; The foregoing storage medium includes: various media that can store program codes, such as ROM, RAM, disk or optical disk.
最后应说明的是: 以上各实施例仅用以说明本发明的技术方案, 而非对 其限制; 尽管参照前述各实施例对本发明进行了详细的说明, 本领域的普通 技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改, 或者对其中部分或者全部技术特征进行等同替换; 而这些修改或者替换, 并 不使相应技术方案的本质脱离本发明各实施例技术方案的范围。  Finally, it should be noted that the above embodiments are only for explaining the technical solutions of the present invention, and are not intended to be limiting thereof; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art will understand that The technical solutions described in the foregoing embodiments may be modified, or some or all of the technical features may be equivalently replaced; and the modifications or substitutions do not deviate from the technical solutions of the embodiments of the present invention. range.

Claims

权 利 要 求 书 claims
1、 一种浏览翻页方法, 其特征在于, 包括: 在接收到翻页指令后, 获取终端设备的运动信息, 从所述终端设备的运 动信息提取运动向量; 1. A browsing page turning method, characterized by comprising: after receiving a page turning instruction, obtaining motion information of a terminal device, and extracting a motion vector from the motion information of the terminal device;
根据所述运动向量, 确定所述运动向量的方向与第一预设方向之间的夹 角; According to the motion vector, determine the angle between the direction of the motion vector and the first preset direction;
按照夹角大小和翻页速度的预设对应关系, 确定与所述运动向量的方向 与第一预设方向之间的夹角对应的翻页速度, 并以确定的翻页速度对所述终 端设备显示的文件进行翻页。 According to the preset corresponding relationship between the angle size and the page turning speed, determine the page turning speed corresponding to the angle between the direction of the motion vector and the first preset direction, and determine the page turning speed for the terminal The files displayed by the device are turned over.
2、根据权利要求 1所述的方法, 其特征在于,所述接收翻页指令,包括: 接收用户通过语音发出的所述翻页指令; 或者 接收用户通过所述终端设备的触摸屏上的触发区域发出的所述翻页指 令; 或者 接收用户转动所述终端设备并使转动后的所述终端设备与第二预设方向 之间的夹角大于或等于预设的第一触发门限而发出的所述翻页指令。 2. The method according to claim 1, wherein the receiving a page turning instruction includes: receiving the page turning instruction issued by the user through voice; or receiving the user's trigger area on the touch screen of the terminal device. The page turning instruction issued; or receiving all the page turning instructions issued by the user when the user rotates the terminal device and makes the angle between the rotated terminal device and the second preset direction greater than or equal to the preset first trigger threshold. Describe the page turning command.
3、 根据权利要求 1或 2所述的方法, 其特征在于, 所述夹角大小和翻页 速度的预设对应关系包括: 夹角越大, 翻页速度越大; 或者, 夹角越大, 翻 页速度越小。 3. The method according to claim 1 or 2, characterized in that the preset corresponding relationship between the included angle and the page turning speed includes: the larger the included angle, the greater the page turning speed; or, the larger the included angle , the smaller the page turning speed is.
4、 根据权利要求 1-3任一项所述的方法, 其特征在于, 所述按照夹角大 小和翻页速度的预设对应关系, 确定与所述运动向量的方向与第一预设方向 之间的夹角对应的翻页速度, 并以确定的翻页速度对所述终端设备显示的文 件进行翻页之前, 所述方法还包括: 判断所述运动向量的方向与第一预设方 向之间的夹角是否大于预设的第二触发门限; 在判断所述运动向量的方向与第一预设方向之间的夹角大于所述第二触 发门限时, 才确定与所述运动向量的方向与第一预设方向之间的夹角对应的 翻页速度, 并以确定的所述翻页速度对所述终端设备显示的文件进行翻页。 4. The method according to any one of claims 1 to 3, characterized in that, according to the preset corresponding relationship between the angle size and the page turning speed, the direction of the motion vector and the first preset direction are determined. The page turning speed corresponding to the angle between the pages, and before turning the pages of the file displayed on the terminal device at the determined page turning speed, the method further includes: judging the direction of the motion vector and the first preset direction. Whether the angle between the two is greater than the preset second trigger threshold; when it is determined that the angle between the direction of the motion vector and the first preset direction is greater than the second trigger threshold, the motion vector is determined to be The page turning speed corresponds to the angle between the direction and the first preset direction, and the files displayed on the terminal device are turned at the determined page turning speed.
5、 根据权利要求 1-4任一项所述的方法, 其特征在于, 还包括: 在接收到停止指令后, 停止对所述终端设备显示的文件进行翻页。 5. The method according to any one of claims 1 to 4, further comprising: After receiving the stop instruction, page turning of files displayed by the terminal device is stopped.
6、根据权利要求 5所述的方法, 其特征在于,所述接收停止指令,包括: 接收用户通过语音发出的所述停止指令; 或者 接收用户通过所述终端设备的触摸屏上的触发区域发出的所述停止指 令; 或者 接收用户转动所述终端设备并使转动后的所述终端设备与第二预设方向 之间的夹角小于预设的第一触发门限而发出的所述停止指令。 6. The method according to claim 5, wherein the receiving a stop instruction includes: receiving the stop instruction issued by the user through voice; or receiving the stop instruction issued by the user through a trigger area on the touch screen of the terminal device. The stop instruction; or receive the stop instruction issued by the user when the terminal device is rotated so that the angle between the rotated terminal device and the second preset direction is less than a preset first trigger threshold.
7、 根据权利要求 1-6任一项所述的方法, 其特征在于, 所述运动向量包 括所述终端设备的速度向量或加速度向量。 7. The method according to any one of claims 1 to 6, characterized in that the motion vector includes a speed vector or an acceleration vector of the terminal device.
8、 一种终端设备, 其特征在于, 包括: 接收模块, 用于接收翻页指令; 获取模块, 用于在所述接收模块接收到所述翻页指令后, 获取所述终端 设备的运动信息, 从所述终端设备的运动信息提取运动向量; 确定模块, 用于根据所述获取模块获取的所述运动向量, 确定所述运动 向量的方向与第一预设方向之间的夹角; 翻页控制模块, 用于按照夹角大小和翻页速度的预设对应关系, 确定与 所述运动向量的方向与第一预设方向之间的夹角对应的翻页速度, 并以确定 的翻页速度对所述终端设备显示的文件进行翻页。 8. A terminal device, characterized in that it includes: a receiving module, configured to receive a page turning instruction; and an acquisition module, configured to obtain motion information of the terminal device after the receiving module receives the page turning instruction. , extract a motion vector from the motion information of the terminal device; a determination module, configured to determine the angle between the direction of the motion vector and the first preset direction according to the motion vector obtained by the acquisition module; turn The page control module is configured to determine the page turning speed corresponding to the angle between the direction of the motion vector and the first preset direction according to the preset corresponding relationship between the angle size and the page turning speed, and determine the page turning speed. The page speed turns pages of files displayed on the terminal device.
9、 根据权利要求 8所述的终端设备, 其特征在于, 所述接收模块具体用 于接收用户通过语音发出的所述翻页指令; 或者 所述接收模块具体用于接收用户通过所述终端设备的触摸屏上的触发区 域发出的所述翻页指令; 或者 所述接收模块具体用于接收用户转动所述终端设备并使转动后的所述终 端设备与第二预设方向之间的夹角大于或等于预设的第一触发门限而发出的 所述翻页指令。 9. The terminal device according to claim 8, characterized in that: the receiving module is specifically configured to receive the page turning instruction issued by the user through voice; or the receiving module is specifically configured to receive the page turning instruction issued by the user through the terminal device. The page turning instruction issued by the trigger area on the touch screen; or the receiving module is specifically configured to receive the user's rotation of the terminal device so that the angle between the rotated terminal device and the second preset direction is greater than Or the page turning instruction is issued when equal to the preset first trigger threshold.
10、 根据权利要求 8或 9所述的终端设备, 其特征在于, 所述夹角大小 和翻页速度的预设对应关系包括: 夹角越大, 翻页速度越大; 或者, 夹角越 大, 翻页速度越小。 10. The terminal device according to claim 8 or 9, characterized in that the preset corresponding relationship between the included angle and the page turning speed includes: the larger the included angle, the greater the page turning speed; or, the greater the included angle. The larger the value, the slower the page turning speed.
11、 根据权利要求 8-10任一项所述的终端设备, 其特征在于, 所述确定 模块还用于, 判断所述运动向量的方向与第一预设方向之间的夹角是否大于 预设的第二触发门限; 11. The terminal device according to any one of claims 8 to 10, characterized in that the determination module is further configured to determine whether the angle between the direction of the motion vector and the first preset direction is greater than a preset direction. Set the second trigger threshold;
所述翻页控制模块具体用于在所述确定模块判断出所述运动向量的方向 与第一预设方向之间的夹角大于所述第二触发门限时, 才确定与所述运动向 量的方向与第一预设方向之间的夹角对应的翻页速度, 并以确定的所述翻页 速度对所述终端设备显示的文件进行翻页。 The page turning control module is specifically configured to determine the angle between the direction of the motion vector and the first preset direction when the determination module determines that the angle between the direction of the motion vector and the first preset direction is greater than the second trigger threshold. The page turning speed corresponds to the angle between the direction and the first preset direction, and the files displayed on the terminal device are turned at the determined page turning speed.
12、 根据权利要求 8-11任一项所述的终端设备, 其特征在于, 所述接收 模块还用于接收停止指令; 所述翻页控制模块还用于在所述接收模块接收到所述停止指令后, 停止 对所述终端设备显示的文件进行翻页。 12. The terminal device according to any one of claims 8-11, characterized in that: the receiving module is also used to receive a stop instruction; the page turning control module is also used to receive the After the stop instruction, page turning of files displayed by the terminal device is stopped.
13、 根据权利要求 12所述的终端设备, 其特征在于, 所述接收模块具体 用于接收用户通过语音发出的所述停止指令; 或者 13. The terminal device according to claim 12, wherein the receiving module is specifically configured to receive the stop instruction issued by the user through voice; or
所述接收模块具体用于接收用户通过所述终端设备的触摸屏上的触发区 域发出的所述停止指令; 或者 The receiving module is specifically configured to receive the stop instruction issued by the user through the trigger area on the touch screen of the terminal device; or
所述接收模块具体用于接收用户转动所述终端设备并使转动后的所述终 端设备与第二预设方向之间的夹角小于预设的第一触发门限而发出的所述停 止指令。 The receiving module is specifically configured to receive the stop instruction issued by the user when the user rotates the terminal device so that the angle between the rotated terminal device and the second preset direction is less than a preset first trigger threshold.
14、 根据权利要求 8-13任一项所述的终端设备, 其特征在于, 所述运动 向量包括所述终端设备的速度向量或加速度向量。 14. The terminal device according to any one of claims 8 to 13, characterized in that the motion vector includes a velocity vector or an acceleration vector of the terminal device.
PCT/CN2014/076785 2013-09-29 2014-05-05 Browsing and page turning method and device WO2015043185A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310459432.4 2013-09-29
CN201310459432.4A CN104516663B (en) 2013-09-29 2013-09-29 Browse page turning method and equipment

Publications (1)

Publication Number Publication Date
WO2015043185A1 true WO2015043185A1 (en) 2015-04-02

Family

ID=52741947

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/076785 WO2015043185A1 (en) 2013-09-29 2014-05-05 Browsing and page turning method and device

Country Status (2)

Country Link
CN (1) CN104516663B (en)
WO (1) WO2015043185A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107656681A (en) * 2016-07-26 2018-02-02 中兴通讯股份有限公司 A kind of method and device of slide on simulated touch screen
CN110413119A (en) * 2019-07-25 2019-11-05 四川康佳智能终端科技有限公司 A kind of automatic page turning method, mobile terminal and storage medium
CN110413177B (en) * 2019-07-31 2021-06-25 上海连尚网络科技有限公司 A method and device for turning pages of an electronic book

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070176898A1 (en) * 2006-02-01 2007-08-02 Memsic, Inc. Air-writing and motion sensing input for portable devices
CN101813982A (en) * 2010-03-10 2010-08-25 鸿富锦精密工业(深圳)有限公司 Electronic device with motion response function and method for excusing input operation using same
CN102156555A (en) * 2011-03-08 2011-08-17 惠州Tcl移动通信有限公司 Page browsing method and electronic equipment using same
CN102375660A (en) * 2010-08-20 2012-03-14 国基电子(上海)有限公司 Electronic device and method for controlling user interface
US20120188154A1 (en) * 2011-01-20 2012-07-26 Samsung Electronics Co., Ltd. Method and apparatus for changing a page in e-book terminal
CN103076880A (en) * 2012-12-28 2013-05-01 深圳市金立通信设备有限公司 Method and terminal for controlling flipping-over of page when page browsed by terminal
CN103207737A (en) * 2012-01-12 2013-07-17 深圳富泰宏精密工业有限公司 Electronic device page display control method and system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012203433A (en) * 2011-03-23 2012-10-22 Sharp Corp Information processing device, control method for information processing device, information processing device control program, and computer-readable storage medium for storing program
CN102566886A (en) * 2011-09-30 2012-07-11 北京飞漫软件技术有限公司 Method of switching intelligent terminal screen content through gravity sensing
CN102984369A (en) * 2012-11-20 2013-03-20 广东欧珀移动通信有限公司 A method and system for viewing photo albums on a mobile terminal
CN103019549A (en) * 2012-11-28 2013-04-03 深圳市中兴移动通信有限公司 Method and device for scrolling contents based on mobile terminal

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070176898A1 (en) * 2006-02-01 2007-08-02 Memsic, Inc. Air-writing and motion sensing input for portable devices
CN101813982A (en) * 2010-03-10 2010-08-25 鸿富锦精密工业(深圳)有限公司 Electronic device with motion response function and method for excusing input operation using same
CN102375660A (en) * 2010-08-20 2012-03-14 国基电子(上海)有限公司 Electronic device and method for controlling user interface
US20120188154A1 (en) * 2011-01-20 2012-07-26 Samsung Electronics Co., Ltd. Method and apparatus for changing a page in e-book terminal
CN102156555A (en) * 2011-03-08 2011-08-17 惠州Tcl移动通信有限公司 Page browsing method and electronic equipment using same
CN103207737A (en) * 2012-01-12 2013-07-17 深圳富泰宏精密工业有限公司 Electronic device page display control method and system
CN103076880A (en) * 2012-12-28 2013-05-01 深圳市金立通信设备有限公司 Method and terminal for controlling flipping-over of page when page browsed by terminal

Also Published As

Publication number Publication date
CN104516663B (en) 2018-10-12
CN104516663A (en) 2015-04-15

Similar Documents

Publication Publication Date Title
US10712925B2 (en) Infinite bi-directional scrolling
US10191643B2 (en) Using clamping to modify scrolling
JP7437400B2 (en) Reduce CPU overhead per I/O by queuing and batching read requests and read completion notifications
CN103246476B (en) The spinning solution of a kind of screen content, device and terminal unit
CN107562345B (en) Information storage method and mobile terminal
CN105260093A (en) Method and device for intelligently setting screen rotation and mobile terminal
CN103116458A (en) Wallpaper display method of electronic equipment, device and electronic equipment
CN103106109A (en) Mobile device and method for running two platform systems or application programs thereon
WO2019085653A1 (en) Page information display method, device, and client
EP2874063A2 (en) Method and apparatus for allocating computing resources in touch-based mobile device
CN106843665A (en) A kind of screenshot method, device and terminal device
CN102087604A (en) Computer and method for acquiring hardware configuration information
WO2015043185A1 (en) Browsing and page turning method and device
CN105790999B (en) A kind of equipment configuration method and device
CN103136354A (en) Linux system folder comparison method
CN105204766A (en) A method, device and mobile terminal for opening a shortcut setting menu
KR102203131B1 (en) Method for management file and electronic device thereof
CN114461312B (en) Display method, electronic device and storage medium
CN108541311B (en) Method for displaying character string and terminal equipment
CN104408209A (en) File processing method, file processing device and electronic equipment in start-up process of mobile operating system
CN108509125B (en) Page turning method, device, terminal and computer readable storage medium
TW201619801A (en) Method and system for displaying files
CN113946208B (en) Touch control panel control method and electronic equipment
CN111294519A (en) A shooting control method, device, terminal and storage medium
CN108027673B (en) Extended user touch input

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: 14846885

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14846885

Country of ref document: EP

Kind code of ref document: A1